mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-13 16:41:07 +03:30
change Ticket
This commit is contained in:
@@ -5,33 +5,84 @@ namespace App\Http\Controllers;
|
|||||||
use Illuminate\Http\Request;
|
use Illuminate\Http\Request;
|
||||||
use App\Http\Requests\StoreMessageRequest;
|
use App\Http\Requests\StoreMessageRequest;
|
||||||
use App\Message;
|
use App\Message;
|
||||||
|
use App\User;
|
||||||
|
|
||||||
class MessageController extends Controller
|
class MessageController extends Controller
|
||||||
{
|
{
|
||||||
public function index()
|
public function index()
|
||||||
{
|
{
|
||||||
$Messages = Message::with('recipient_user', 'sender_user')->paginate(10);
|
// $Messages = Message::with('recipient_user', 'sender_user')->paginate(10);
|
||||||
// $User = auth('api')->user();
|
$User = auth('api')->user();
|
||||||
// $MyReceivedMessages = $User->messagesReceived;
|
// $ReceivedMessages = $User->messagesReceived;
|
||||||
// $MySentMessages = $User->messagesSent;
|
// $SentMessages = $User->messagesSent;
|
||||||
// dd($MyMessages);
|
// //
|
||||||
return \MessageResponse::data($Messages);
|
// $Messages = $SentMessages->merge($ReceivedMessages);
|
||||||
|
|
||||||
|
// $Users = User::whereHas('messagesSent')
|
||||||
|
$role = null;
|
||||||
|
$medical_center_id = null;
|
||||||
|
|
||||||
|
$User = auth('api')->user();
|
||||||
|
if ($User->hasRole('Supervisor') || $User->hasRole('User')) {
|
||||||
|
$medical_center_id = $User->medical_center_id;
|
||||||
|
$role = 'Admin';
|
||||||
|
}
|
||||||
|
|
||||||
|
$Users = User::whereHas('messagesSent', function($q) use($User){
|
||||||
|
$q->where('sender_user_id', $User->id)->orWhere('recipient_user_id', $User->id);
|
||||||
|
})->orWhereHas('messagesReceived', function($q) use($User){
|
||||||
|
$q->where('sender_user_id', $User->id)->orWhere('recipient_user_id', $User->id);
|
||||||
|
})
|
||||||
|
->when($medical_center_id, function($query) use ($medical_center_id){
|
||||||
|
$query->where('medical_center_id', $medical_center_id);
|
||||||
|
})
|
||||||
|
->when($role, function($query) use($role){
|
||||||
|
$query->role($role);
|
||||||
|
})
|
||||||
|
->paginate(10);
|
||||||
|
|
||||||
|
|
||||||
|
return \MessageResponse::data($Users);
|
||||||
}
|
}
|
||||||
public function create()
|
public function create()
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
public function show(Message $Message)
|
public function show($UserID)
|
||||||
{
|
{
|
||||||
return \MessageResponse::data($Message);
|
// if (!auth('api')->user()->can('show', $Message)) {
|
||||||
|
// return \MessageResponse::error(trans('messages.access_denied'));
|
||||||
|
// }
|
||||||
|
// $Message->status = 'Read';
|
||||||
|
// $Message->save();
|
||||||
|
$User = User::findOrFail($UserID);
|
||||||
|
// dd($UserID);
|
||||||
|
$SendMessages = Message::where('sender_user_id', auth('api')->user()->id)->where('recipient_user_id', $UserID)->get();
|
||||||
|
$ReceivedMessages = Message::where('sender_user_id', $UserID)->where('recipient_user_id', auth('api')->user()->id)->get();
|
||||||
|
|
||||||
|
// foreach ($ReceivedMessages as $ReceivedMessage) {
|
||||||
|
// $ReceivedMessage->status = 'Read';
|
||||||
|
// // $SendMessage->save();
|
||||||
|
// }
|
||||||
|
$Messages = Message::whereHas('sender_user', function($q) use($User){
|
||||||
|
$q->where('id', $User->id);
|
||||||
|
})->orWhereHas('recipient_user', function($q) use($User){
|
||||||
|
$q->where('id', $User->id);
|
||||||
|
})->get();
|
||||||
|
// $Messages = $SendMessages->merge($ReceivedMessages)->sortby('created_at');
|
||||||
|
|
||||||
|
|
||||||
|
// $Messages =
|
||||||
|
return \MessageResponse::data($Messages);
|
||||||
}
|
}
|
||||||
public function store(StoreMessageRequest $request)
|
public function store(StoreMessageRequest $request)
|
||||||
{
|
{
|
||||||
$MessageData = [
|
$MessageData = [
|
||||||
'title' => $request->title,
|
// 'title' => $request->title,
|
||||||
'text' => $request->text,
|
'text' => $request->message,
|
||||||
'sender_user_id' => auth('api')->user()->id,
|
'sender_user_id' => auth('api')->user()->id,
|
||||||
'recipient_user_id' => $request->recipient_user_id,
|
'recipient_user_id' => $request->user_id,
|
||||||
|
'status' => 'UnRead',
|
||||||
];
|
];
|
||||||
Message::create($MessageData);
|
Message::create($MessageData);
|
||||||
return \MessageResponse::success(trans('messages.success'));
|
return \MessageResponse::success(trans('messages.success'));
|
||||||
|
|||||||
@@ -8,9 +8,18 @@ use App\Package;
|
|||||||
|
|
||||||
class PackageController extends Controller
|
class PackageController extends Controller
|
||||||
{
|
{
|
||||||
public function index()
|
public function index(Request $request)
|
||||||
{
|
{
|
||||||
$Packages = Package::paginate(10);
|
$Packages = Package::when($request->has('name') && $request->name, function($query) use($request){
|
||||||
|
$query->where('name', 'LIKE', '%'.$request->name.'%');
|
||||||
|
})
|
||||||
|
->when($request->has('result') && $request->result, function($query) use($request){
|
||||||
|
$query->where('result', $request->result);
|
||||||
|
})
|
||||||
|
->when($request->has('unique_id') && $request->unique_id, function($query) use($request){
|
||||||
|
$query->where('unique_id', $request->unique_id);
|
||||||
|
})
|
||||||
|
->with('user')->paginate(10);
|
||||||
return \MessageResponse::data($Packages);
|
return \MessageResponse::data($Packages);
|
||||||
}
|
}
|
||||||
public function create()
|
public function create()
|
||||||
@@ -29,6 +38,8 @@ class PackageController extends Controller
|
|||||||
'unique_id' => $UniqueID,
|
'unique_id' => $UniqueID,
|
||||||
'result' => $request->result,
|
'result' => $request->result,
|
||||||
'description' => $request->description,
|
'description' => $request->description,
|
||||||
|
'user_id' => auth('api')->user()->id,
|
||||||
|
'verified' => 'NotVerified',
|
||||||
];
|
];
|
||||||
Package::create($PackageData);
|
Package::create($PackageData);
|
||||||
return \MessageResponse::success(trans('messages.success'));
|
return \MessageResponse::success(trans('messages.success'));
|
||||||
@@ -50,4 +61,18 @@ class PackageController extends Controller
|
|||||||
$Package->delete();
|
$Package->delete();
|
||||||
return \MessageResponse::success(trans('messages.success'));
|
return \MessageResponse::success(trans('messages.success'));
|
||||||
}
|
}
|
||||||
|
public function verifyPackage(Package $Package)
|
||||||
|
{
|
||||||
|
if (auth('api')->user()->cant('verifyPackage', $Package)) {
|
||||||
|
return \MessageResponse::error(trans('You dont have permission'));
|
||||||
|
}
|
||||||
|
if ($Package->verified == 'Verified') {
|
||||||
|
$Package->verified = 'NotVerified';
|
||||||
|
} else {
|
||||||
|
$Package->verified = 'Verified';
|
||||||
|
}
|
||||||
|
$Package->save();
|
||||||
|
$Package = $Package->load('user');
|
||||||
|
return \MessageResponse::success(trans('messages.success'), null, $Package);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ use Illuminate\Http\Request;
|
|||||||
use App\Http\Requests\StoreUserRequest;
|
use App\Http\Requests\StoreUserRequest;
|
||||||
use App\MedicalCenter;
|
use App\MedicalCenter;
|
||||||
use App\User;
|
use App\User;
|
||||||
|
use App\Message;
|
||||||
|
|
||||||
|
|
||||||
class UserController extends Controller
|
class UserController extends Controller
|
||||||
@@ -157,5 +157,42 @@ class UserController extends Controller
|
|||||||
{
|
{
|
||||||
return \MessageResponse::data([ 'user' => auth('api')->user(), 'roles' => auth('api')->user()->getRoleNames() ]);
|
return \MessageResponse::data([ 'user' => auth('api')->user(), 'roles' => auth('api')->user()->getRoleNames() ]);
|
||||||
}
|
}
|
||||||
|
public function getMessages()
|
||||||
|
{
|
||||||
|
$User = auth('api')->user();
|
||||||
|
// $ReceivedMessages = $User->messagesReceived;
|
||||||
|
// $SentMessages = $User->messagesSent;
|
||||||
|
$SentMessages = Message::with('recipient_user')->where('sender_user_id', $User->id)->get();
|
||||||
|
$ReceivedMessages = Message::with('sender_user')->where('recipient_user_id', $User->id)->get();
|
||||||
|
|
||||||
|
return \MessageResponse::data(['ReceivedMessages' => $ReceivedMessages, 'SentMessages' => $SentMessages]);
|
||||||
|
}
|
||||||
|
public function searchUser(Request $request)
|
||||||
|
{
|
||||||
|
// if (auth('api')->user()->cant('searchUser', User::class)) {
|
||||||
|
// return \MessageResponse::error(trans('messages.access_denied'));
|
||||||
|
// }
|
||||||
|
$role = null;
|
||||||
|
$medical_center_id = null;
|
||||||
|
|
||||||
|
$User = auth('api')->user();
|
||||||
|
if ($User->hasRole('Supervisor') || $User->hasRole('User')) {
|
||||||
|
$medical_center_id = $User->medical_center_id;
|
||||||
|
if ($User->hasRole('Supervisor')){
|
||||||
|
$role = 'Admin';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$users = User::select('id', 'name')->where('name', 'LIKE', '%'.$request->name.'%')
|
||||||
|
->when($medical_center_id, function($query) use ($medical_center_id){
|
||||||
|
$query->where('medical_center_id', $medical_center_id);
|
||||||
|
})
|
||||||
|
->when($role, function($query) use($role){
|
||||||
|
$query->role($role);
|
||||||
|
})
|
||||||
|
->get();
|
||||||
|
return \MessageResponse::data($users);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ class StorePackageRequest extends FormRequest
|
|||||||
$Package = $this->route('Package');
|
$Package = $this->route('Package');
|
||||||
return [
|
return [
|
||||||
'name' => 'required|max:100|unique:packages,id,'.$Package->id,
|
'name' => 'required|max:100|unique:packages,id,'.$Package->id,
|
||||||
|
'unique_id' => 'required|max:100|unique:packages,id,'.$Package->id,
|
||||||
'result' => 'required',
|
'result' => 'required',
|
||||||
];
|
];
|
||||||
break;
|
break;
|
||||||
|
|||||||
+1
-1
@@ -5,7 +5,7 @@ use Illuminate\Database\Eloquent\Model;
|
|||||||
|
|
||||||
class Message extends Model
|
class Message extends Model
|
||||||
{
|
{
|
||||||
public $fillable = ['title', 'text', 'recipient_user_id', 'sender_user_id'];
|
public $fillable = ['title', 'text', 'status', 'recipient_user_id', 'sender_user_id'];
|
||||||
public function sender_user()
|
public function sender_user()
|
||||||
{
|
{
|
||||||
return $this->belongsTo('App\User', 'sender_user_id');
|
return $this->belongsTo('App\User', 'sender_user_id');
|
||||||
|
|||||||
+5
-1
@@ -6,6 +6,10 @@ use Illuminate\Database\Eloquent\Model;
|
|||||||
|
|
||||||
class Package extends Model
|
class Package extends Model
|
||||||
{
|
{
|
||||||
public $fillable = ['name', 'unique_id', 'result', 'description'];
|
public $fillable = ['name', 'unique_id', 'user_id', 'result', 'description'];
|
||||||
|
public function user()
|
||||||
|
{
|
||||||
|
return $this->belongsTo('App\User');
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,24 +6,18 @@ use App\User;
|
|||||||
use App\Message;␍
|
use App\Message;␍
|
||||||
use Doctrine\Tests\Common\Inflector\InflectorTest;␍
|
use Doctrine\Tests\Common\Inflector\InflectorTest;␍
|
||||||
␍
|
␍
|
||||||
class MessagePolicy
|
class Message␍
|
||||||
{␍
|
{␍
|
||||||
public function delete(User $User, Message $Message)␍
|
public function delete(User $User, Message $Message)␍
|
||||||
{␍
|
{␍
|
||||||
// if($User->hasRole('Admin') && $Message->users->count() == 0)
|
// if($Message->sender_user_id == $User->id || $Message->recipient_user_id == $User->id)␍
|
||||||
return true;␍
|
return true;␍
|
||||||
}␍
|
}␍
|
||||||
␍
|
␍
|
||||||
public function update(User $User, Message $Message)
|
|
||||||
{
|
|
||||||
// if($User->hasRole('Admin'))
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
␍
|
␍
|
||||||
public function store(User $User)␍
|
public function store(User $User)␍
|
||||||
{␍
|
{␍
|
||||||
// if($User->hasRole('Admin'))␍
|
// if($User->hasRole('Admin'))␍
|
||||||
return true;␍
|
return true;␍
|
||||||
}␍
|
}␍
|
||||||
|
|
||||||
}␍
|
}␍
|
||||||
|
|||||||
@@ -25,5 +25,10 @@ class PackagePolicy
|
|||||||
// if($User->hasRole('Admin'))
|
// if($User->hasRole('Admin'))
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
public function verifyPackage(User $User, Package $Package)
|
||||||
|
{
|
||||||
|
// if($User->hasRole('Admin'))
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -65,4 +65,8 @@ class User extends Authenticatable
|
|||||||
{
|
{
|
||||||
return $this->hasMany('App\Message', 'recipient_user_id');
|
return $this->hasMany('App\Message', 'recipient_user_id');
|
||||||
}
|
}
|
||||||
|
public function packages()
|
||||||
|
{
|
||||||
|
return $this->hasMany('App\Package');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Vendored
+1
-66881
File diff suppressed because one or more lines are too long
-32329
File diff suppressed because it is too large
Load Diff
-1122
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
-168
@@ -1,168 +0,0 @@
|
|||||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[10],{
|
|
||||||
|
|
||||||
/***/ "./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/NotWorking/Maps.vue?vue&type=style&index=0&lang=css&":
|
|
||||||
/*!********************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/css-loader/dist/cjs.js??ref--5-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--5-2!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/NotWorking/Maps.vue?vue&type=style&index=0&lang=css& ***!
|
|
||||||
\********************************************************************************************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! no static exports found */
|
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
|
||||||
|
|
||||||
exports = module.exports = __webpack_require__(/*! ../../../../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js")(false);
|
|
||||||
// Module
|
|
||||||
exports.push([module.i, "\n.mapouter {\r\n text-align:right;\r\n height:100%;\r\n width:100%;\r\n position: absolute;\n}\n.gmap_canvas {\r\n overflow:hidden;\r\n background:none!important;\r\n height:100%;\r\n width:100%;\n}\r\n", ""]);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/style-loader/index.js!./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/NotWorking/Maps.vue?vue&type=style&index=0&lang=css&":
|
|
||||||
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/style-loader!./node_modules/css-loader/dist/cjs.js??ref--5-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--5-2!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/NotWorking/Maps.vue?vue&type=style&index=0&lang=css& ***!
|
|
||||||
\************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! no static exports found */
|
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
|
||||||
|
|
||||||
|
|
||||||
var content = __webpack_require__(/*! !../../../../../node_modules/css-loader/dist/cjs.js??ref--5-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src??ref--5-2!../../../../../node_modules/vue-loader/lib??vue-loader-options!./Maps.vue?vue&type=style&index=0&lang=css& */ "./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/NotWorking/Maps.vue?vue&type=style&index=0&lang=css&");
|
|
||||||
|
|
||||||
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
||||||
|
|
||||||
var transform;
|
|
||||||
var insertInto;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
var options = {"hmr":true}
|
|
||||||
|
|
||||||
options.transform = transform
|
|
||||||
options.insertInto = undefined;
|
|
||||||
|
|
||||||
var update = __webpack_require__(/*! ../../../../../node_modules/style-loader/lib/addStyles.js */ "./node_modules/style-loader/lib/addStyles.js")(content, options);
|
|
||||||
|
|
||||||
if(content.locals) module.exports = content.locals;
|
|
||||||
|
|
||||||
if(false) {}
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/NotWorking/Maps.vue?vue&type=template&id=4c4b6c30&":
|
|
||||||
/*!*****************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/NotWorking/Maps.vue?vue&type=template&id=4c4b6c30& ***!
|
|
||||||
\*****************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
|
|
||||||
var render = function() {
|
|
||||||
var _vm = this
|
|
||||||
var _h = _vm.$createElement
|
|
||||||
var _c = _vm._self._c || _h
|
|
||||||
return _vm._m(0)
|
|
||||||
}
|
|
||||||
var staticRenderFns = [
|
|
||||||
function() {
|
|
||||||
var _vm = this
|
|
||||||
var _h = _vm.$createElement
|
|
||||||
var _c = _vm._self._c || _h
|
|
||||||
return _c("div", [
|
|
||||||
_c("div", { staticClass: "mapouter" }, [
|
|
||||||
_c("div", { staticClass: "gmap_canvas" }, [
|
|
||||||
_c("iframe", {
|
|
||||||
attrs: {
|
|
||||||
id: "gmap_canvas",
|
|
||||||
width: "100%",
|
|
||||||
height: "100%",
|
|
||||||
src:
|
|
||||||
"https://maps.google.com/maps?q=google&t=&z=13&ie=UTF8&iwloc=&output=embed",
|
|
||||||
frameborder: "0",
|
|
||||||
scrolling: "no",
|
|
||||||
marginheight: "0",
|
|
||||||
marginwidth: "0"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
])
|
|
||||||
])
|
|
||||||
])
|
|
||||||
}
|
|
||||||
]
|
|
||||||
render._withStripped = true
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/NotWorking/Maps.vue":
|
|
||||||
/*!****************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/NotWorking/Maps.vue ***!
|
|
||||||
\****************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _Maps_vue_vue_type_template_id_4c4b6c30___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Maps.vue?vue&type=template&id=4c4b6c30& */ "./resources/js/vue/views/NotWorking/Maps.vue?vue&type=template&id=4c4b6c30&");
|
|
||||||
/* harmony import */ var _Maps_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Maps.vue?vue&type=style&index=0&lang=css& */ "./resources/js/vue/views/NotWorking/Maps.vue?vue&type=style&index=0&lang=css&");
|
|
||||||
/* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
|
||||||
|
|
||||||
var script = {}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* normalize component */
|
|
||||||
|
|
||||||
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
|
||||||
script,
|
|
||||||
_Maps_vue_vue_type_template_id_4c4b6c30___WEBPACK_IMPORTED_MODULE_0__["render"],
|
|
||||||
_Maps_vue_vue_type_template_id_4c4b6c30___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
|
||||||
false,
|
|
||||||
null,
|
|
||||||
null,
|
|
||||||
null
|
|
||||||
|
|
||||||
)
|
|
||||||
|
|
||||||
/* hot reload */
|
|
||||||
if (false) { var api; }
|
|
||||||
component.options.__file = "resources/js/vue/views/NotWorking/Maps.vue"
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/NotWorking/Maps.vue?vue&type=style&index=0&lang=css&":
|
|
||||||
/*!*************************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/NotWorking/Maps.vue?vue&type=style&index=0&lang=css& ***!
|
|
||||||
\*************************************************************************************/
|
|
||||||
/*! no static exports found */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_Maps_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/style-loader!../../../../../node_modules/css-loader/dist/cjs.js??ref--5-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src??ref--5-2!../../../../../node_modules/vue-loader/lib??vue-loader-options!./Maps.vue?vue&type=style&index=0&lang=css& */ "./node_modules/style-loader/index.js!./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/NotWorking/Maps.vue?vue&type=style&index=0&lang=css&");
|
|
||||||
/* harmony import */ var _node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_Maps_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_Maps_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
||||||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_Maps_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_Maps_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (_node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_Maps_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/NotWorking/Maps.vue?vue&type=template&id=4c4b6c30&":
|
|
||||||
/*!***********************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/NotWorking/Maps.vue?vue&type=template&id=4c4b6c30& ***!
|
|
||||||
\***********************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Maps_vue_vue_type_template_id_4c4b6c30___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../node_modules/vue-loader/lib??vue-loader-options!./Maps.vue?vue&type=template&id=4c4b6c30& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/NotWorking/Maps.vue?vue&type=template&id=4c4b6c30&");
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Maps_vue_vue_type_template_id_4c4b6c30___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
|
||||||
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Maps_vue_vue_type_template_id_4c4b6c30___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ })
|
|
||||||
|
|
||||||
}]);
|
|
||||||
-372
@@ -1,372 +0,0 @@
|
|||||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[11],{
|
|
||||||
|
|
||||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Auth/ForgotPassword.vue?vue&type=script&lang=js&":
|
|
||||||
/*!*****************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/Auth/ForgotPassword.vue?vue&type=script&lang=js& ***!
|
|
||||||
\*****************************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ "./node_modules/@babel/runtime/regenerator/index.js");
|
|
||||||
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);
|
|
||||||
/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vuex */ "./node_modules/vuex/dist/vuex.esm.js");
|
|
||||||
/* harmony import */ var _services__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/services */ "./resources/js/vue/services/index.js");
|
|
||||||
/* harmony import */ var _config_urls__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/config/urls */ "./resources/js/vue/config/urls.js");
|
|
||||||
|
|
||||||
|
|
||||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
||||||
|
|
||||||
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
||||||
|
|
||||||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
|
|
||||||
|
|
||||||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
||||||
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
||||||
data: function data() {
|
|
||||||
return {
|
|
||||||
form: {
|
|
||||||
cell_number: ""
|
|
||||||
},
|
|
||||||
rules: {
|
|
||||||
required: function required(value) {
|
|
||||||
return !!value || "Required.";
|
|
||||||
},
|
|
||||||
cellNumberCounter: function cellNumberCounter(value) {
|
|
||||||
return value && value.length == 11 || "must 11 characters";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
|
||||||
},
|
|
||||||
methods: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_1__["mapActions"])("auth", ["forgotPassword"]), {
|
|
||||||
handleSubmit: function () {
|
|
||||||
var _handleSubmit = _asyncToGenerator(
|
|
||||||
/*#__PURE__*/
|
|
||||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee() {
|
|
||||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee$(_context) {
|
|
||||||
while (1) {
|
|
||||||
switch (_context.prev = _context.next) {
|
|
||||||
case 0:
|
|
||||||
if (this.$refs.form.validate()) {
|
|
||||||
this.forgotPassword({
|
|
||||||
form: this.form
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
case 1:
|
|
||||||
case "end":
|
|
||||||
return _context.stop();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}, _callee, this);
|
|
||||||
}));
|
|
||||||
|
|
||||||
function handleSubmit() {
|
|
||||||
return _handleSubmit.apply(this, arguments);
|
|
||||||
}
|
|
||||||
|
|
||||||
return handleSubmit;
|
|
||||||
}()
|
|
||||||
})
|
|
||||||
});
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Auth/ForgotPassword.vue?vue&type=template&id=384f72a6&":
|
|
||||||
/*!*********************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/Auth/ForgotPassword.vue?vue&type=template&id=384f72a6& ***!
|
|
||||||
\*********************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
|
|
||||||
var render = function() {
|
|
||||||
var _vm = this
|
|
||||||
var _h = _vm.$createElement
|
|
||||||
var _c = _vm._self._c || _h
|
|
||||||
return _c(
|
|
||||||
"v-form",
|
|
||||||
{ ref: "form" },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-container",
|
|
||||||
{ attrs: { "grid-list-xs": "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{ staticClass: "justify-center", attrs: { row: "", wrap: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{
|
|
||||||
staticClass: "WM-WidthScreen-SM WM-WidthScreen-XS",
|
|
||||||
attrs: { xs12: "", md3: "", sm3: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"material-card",
|
|
||||||
{ attrs: { color: "black", title: "Login Page" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{ staticClass: "px-3", attrs: { row: "", wrap: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", md12: "", sm12: "" } },
|
|
||||||
[
|
|
||||||
_c("v-text-field", {
|
|
||||||
attrs: {
|
|
||||||
name: "cellnumber",
|
|
||||||
label: "Cell Number",
|
|
||||||
color: "black",
|
|
||||||
rules: [
|
|
||||||
_vm.rules.required,
|
|
||||||
_vm.rules.cellNumberCounter
|
|
||||||
],
|
|
||||||
mask: "#### ### ####"
|
|
||||||
},
|
|
||||||
model: {
|
|
||||||
value: _vm.form.cell_number,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.$set(_vm.form, "cell_number", $$v)
|
|
||||||
},
|
|
||||||
expression: "form.cell_number"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{ staticClass: "px-3", attrs: { row: "", wrap: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"text-md-left text-sm-center text-xs-center",
|
|
||||||
attrs: { xs12: "", md6: "", sm6: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass: "WM-CyanBlueGradient-BG",
|
|
||||||
staticStyle: { padding: "10px 60px" },
|
|
||||||
on: { click: _vm.handleSubmit }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{ staticClass: "white--text mr-2 caption" },
|
|
||||||
[_vm._v("fas fa-sign-in-alt")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("span", { staticClass: "white--text" }, [
|
|
||||||
_vm._v("Send")
|
|
||||||
])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"text-md-right text-sm-center text-xs-center",
|
|
||||||
attrs: { xs12: "", md6: "", sm6: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"router-link",
|
|
||||||
{
|
|
||||||
staticClass: "black--text",
|
|
||||||
attrs: { to: { name: "Login" } }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black"
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"black--text mr-2 caption"
|
|
||||||
},
|
|
||||||
[_vm._v("fas fa-sign-in-alt")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"span",
|
|
||||||
{ staticClass: "black--text" },
|
|
||||||
[_vm._v("Login")]
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
}
|
|
||||||
var staticRenderFns = []
|
|
||||||
render._withStripped = true
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/Auth/ForgotPassword.vue":
|
|
||||||
/*!********************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/Auth/ForgotPassword.vue ***!
|
|
||||||
\********************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _ForgotPassword_vue_vue_type_template_id_384f72a6___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ForgotPassword.vue?vue&type=template&id=384f72a6& */ "./resources/js/vue/views/Auth/ForgotPassword.vue?vue&type=template&id=384f72a6&");
|
|
||||||
/* harmony import */ var _ForgotPassword_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ForgotPassword.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/Auth/ForgotPassword.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* normalize component */
|
|
||||||
|
|
||||||
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
|
||||||
_ForgotPassword_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
||||||
_ForgotPassword_vue_vue_type_template_id_384f72a6___WEBPACK_IMPORTED_MODULE_0__["render"],
|
|
||||||
_ForgotPassword_vue_vue_type_template_id_384f72a6___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
|
||||||
false,
|
|
||||||
null,
|
|
||||||
null,
|
|
||||||
null
|
|
||||||
|
|
||||||
)
|
|
||||||
|
|
||||||
/* hot reload */
|
|
||||||
if (false) { var api; }
|
|
||||||
component.options.__file = "resources/js/vue/views/Auth/ForgotPassword.vue"
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/Auth/ForgotPassword.vue?vue&type=script&lang=js&":
|
|
||||||
/*!*********************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/Auth/ForgotPassword.vue?vue&type=script&lang=js& ***!
|
|
||||||
\*********************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ForgotPassword_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/babel-loader/lib??ref--4-0!../../../../../node_modules/vue-loader/lib??vue-loader-options!./ForgotPassword.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Auth/ForgotPassword.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ForgotPassword_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/Auth/ForgotPassword.vue?vue&type=template&id=384f72a6&":
|
|
||||||
/*!***************************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/Auth/ForgotPassword.vue?vue&type=template&id=384f72a6& ***!
|
|
||||||
\***************************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_ForgotPassword_vue_vue_type_template_id_384f72a6___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../node_modules/vue-loader/lib??vue-loader-options!./ForgotPassword.vue?vue&type=template&id=384f72a6& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Auth/ForgotPassword.vue?vue&type=template&id=384f72a6&");
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_ForgotPassword_vue_vue_type_template_id_384f72a6___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
|
||||||
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_ForgotPassword_vue_vue_type_template_id_384f72a6___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ })
|
|
||||||
|
|
||||||
}]);
|
|
||||||
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
|||||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{ks58:function(t,e,r){"use strict";r.r(e);var n=r("o0o1"),a=r.n(n),s=r("L2JU");r("Y8XJ"),r("85lN");function l(t,e,r,n,a,s,l){try{var o=t[s](l),c=o.value}catch(t){return void r(t)}o.done?e(c):Promise.resolve(c).then(n,a)}function o(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var c={data:function(){return{form:{cell_number:""},rules:{required:function(t){return!!t||"Required."},cellNumberCounter:function(t){return t&&11==t.length||"must 11 characters"}}}},methods:function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),n.forEach(function(e){o(t,e,r[e])})}return t}({},Object(s.b)("auth",["forgotPassword"]),{handleSubmit:function(){var t,e=(t=a.a.mark(function t(){return a.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:this.$refs.form.validate()&&this.forgotPassword({form:this.form});case 1:case"end":return t.stop()}},t,this)}),function(){var e=this,r=arguments;return new Promise(function(n,a){var s=t.apply(e,r);function o(t){l(s,n,a,o,c,"next",t)}function c(t){l(s,n,a,o,c,"throw",t)}o(void 0)})});return function(){return e.apply(this,arguments)}}()})},i=r("KHd+"),u=Object(i.a)(c,function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("v-form",{ref:"form"},[r("v-container",{attrs:{"grid-list-xs":""}},[r("v-layout",{staticClass:"justify-center",attrs:{row:"",wrap:""}},[r("v-flex",{staticClass:"WM-WidthScreen-SM WM-WidthScreen-XS",attrs:{xs12:"",md3:"",sm3:""}},[r("material-card",{attrs:{color:"black",title:"Login Page"}},[r("v-layout",{staticClass:"px-3",attrs:{row:"",wrap:""}},[r("v-flex",{attrs:{xs12:"",md12:"",sm12:""}},[r("v-text-field",{attrs:{name:"cellnumber",label:"Cell Number",color:"black",rules:[t.rules.required,t.rules.cellNumberCounter],mask:"#### ### ####"},model:{value:t.form.cell_number,callback:function(e){t.$set(t.form,"cell_number",e)},expression:"form.cell_number"}})],1)],1),t._v(" "),r("v-layout",{staticClass:"px-3",attrs:{row:"",wrap:""}},[r("v-flex",{staticClass:"text-md-left text-sm-center text-xs-center",attrs:{xs12:"",md6:"",sm6:""}},[r("v-btn",{staticClass:"WM-CyanBlueGradient-BG",staticStyle:{padding:"10px 60px"},on:{click:t.handleSubmit}},[r("v-icon",{staticClass:"white--text mr-2 caption"},[t._v("fas fa-sign-in-alt")]),t._v(" "),r("span",{staticClass:"white--text"},[t._v("Send")])],1)],1),t._v(" "),r("v-flex",{staticClass:"text-md-right text-sm-center text-xs-center",attrs:{xs12:"",md6:"",sm6:""}},[r("router-link",{staticClass:"black--text",attrs:{to:{name:"Login"}}},[r("v-btn",{staticClass:"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black"},[r("v-icon",{staticClass:"black--text mr-2 caption"},[t._v("fas fa-sign-in-alt")]),t._v(" "),r("span",{staticClass:"black--text"},[t._v("Login")])],1)],1)],1)],1)],1)],1)],1)],1)],1)},[],!1,null,null,null);e.default=u.exports}}]);
|
|
||||||
-432
@@ -1,432 +0,0 @@
|
|||||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[12],{
|
|
||||||
|
|
||||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Auth/Login.vue?vue&type=script&lang=js&":
|
|
||||||
/*!********************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/Auth/Login.vue?vue&type=script&lang=js& ***!
|
|
||||||
\********************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ "./node_modules/@babel/runtime/regenerator/index.js");
|
|
||||||
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);
|
|
||||||
/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vuex */ "./node_modules/vuex/dist/vuex.esm.js");
|
|
||||||
|
|
||||||
|
|
||||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
||||||
|
|
||||||
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
||||||
|
|
||||||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
|
|
||||||
|
|
||||||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
||||||
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
||||||
data: function data() {
|
|
||||||
return {
|
|
||||||
cell_number: "",
|
|
||||||
password: "",
|
|
||||||
show1: false,
|
|
||||||
rules: {
|
|
||||||
required: function required(value) {
|
|
||||||
return !!value || "Required.";
|
|
||||||
},
|
|
||||||
passCounter: function passCounter(value) {
|
|
||||||
return value && value.length >= 8 || "Min 8 characters";
|
|
||||||
},
|
|
||||||
cellNumberCounter: function cellNumberCounter(value) {
|
|
||||||
return value && value.length == 11 || "must 11 characters";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
|
||||||
},
|
|
||||||
computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_1__["mapGetters"])('auth', ['authenticating', 'authenticationError', 'authenticationErrorCode'])),
|
|
||||||
methods: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_1__["mapActions"])('auth', ['login']), {
|
|
||||||
handleSubmit: function () {
|
|
||||||
var _handleSubmit = _asyncToGenerator(
|
|
||||||
/*#__PURE__*/
|
|
||||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee() {
|
|
||||||
var response;
|
|
||||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee$(_context) {
|
|
||||||
while (1) {
|
|
||||||
switch (_context.prev = _context.next) {
|
|
||||||
case 0:
|
|
||||||
if (!this.$refs.form.validate()) {
|
|
||||||
_context.next = 5;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
_context.next = 3;
|
|
||||||
return this.login({
|
|
||||||
cell_number: this.cell_number,
|
|
||||||
password: this.password
|
|
||||||
});
|
|
||||||
|
|
||||||
case 3:
|
|
||||||
response = _context.sent;
|
|
||||||
|
|
||||||
if (!response.status || response.status !== 200) {
|
|
||||||
this.password = "";
|
|
||||||
}
|
|
||||||
|
|
||||||
case 5:
|
|
||||||
case "end":
|
|
||||||
return _context.stop();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}, _callee, this);
|
|
||||||
}));
|
|
||||||
|
|
||||||
function handleSubmit() {
|
|
||||||
return _handleSubmit.apply(this, arguments);
|
|
||||||
}
|
|
||||||
|
|
||||||
return handleSubmit;
|
|
||||||
}()
|
|
||||||
})
|
|
||||||
});
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Auth/Login.vue?vue&type=template&id=36ebd76a&scoped=true&":
|
|
||||||
/*!************************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/Auth/Login.vue?vue&type=template&id=36ebd76a&scoped=true& ***!
|
|
||||||
\************************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
|
|
||||||
var render = function() {
|
|
||||||
var _vm = this
|
|
||||||
var _h = _vm.$createElement
|
|
||||||
var _c = _vm._self._c || _h
|
|
||||||
return _c(
|
|
||||||
"v-form",
|
|
||||||
{ ref: "form" },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-container",
|
|
||||||
{ attrs: { "grid-list-xs": "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{ staticClass: "justify-center", attrs: { row: "", wrap: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{
|
|
||||||
staticClass: "WM-WidthScreen-SM WM-WidthScreen-XS",
|
|
||||||
attrs: { xs12: "", md3: "", sm3: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"material-card",
|
|
||||||
{ attrs: { color: "black", title: "Login Page" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{ staticClass: "px-3", attrs: { row: "", wrap: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", md12: "", sm12: "" } },
|
|
||||||
[
|
|
||||||
_c("v-text-field", {
|
|
||||||
attrs: {
|
|
||||||
name: "cellnumber",
|
|
||||||
label: "Cell Number",
|
|
||||||
color: "black",
|
|
||||||
rules: [
|
|
||||||
_vm.rules.required,
|
|
||||||
_vm.rules.cellNumberCounter
|
|
||||||
],
|
|
||||||
mask: "#### ### ####"
|
|
||||||
},
|
|
||||||
model: {
|
|
||||||
value: _vm.cell_number,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.cell_number = $$v
|
|
||||||
},
|
|
||||||
expression: "cell_number"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{ staticClass: "px-3", attrs: { row: "", wrap: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", md12: "", sm12: "" } },
|
|
||||||
[
|
|
||||||
_c("v-text-field", {
|
|
||||||
staticClass: "pa-2",
|
|
||||||
attrs: {
|
|
||||||
name: "password",
|
|
||||||
label: "Password",
|
|
||||||
type: _vm.show1 ? "text" : "password",
|
|
||||||
"append-icon": _vm.show1
|
|
||||||
? "visibility"
|
|
||||||
: "visibility_off",
|
|
||||||
rules: [
|
|
||||||
_vm.rules.required,
|
|
||||||
_vm.rules.passCounter
|
|
||||||
],
|
|
||||||
color: "black"
|
|
||||||
},
|
|
||||||
on: {
|
|
||||||
"click:append": function($event) {
|
|
||||||
_vm.show1 = !_vm.show1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
model: {
|
|
||||||
value: _vm.password,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.password = $$v
|
|
||||||
},
|
|
||||||
expression: "password"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{ staticClass: "px-3", attrs: { row: "", wrap: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"text-md-left text-sm-center text-xs-center",
|
|
||||||
attrs: { xs12: "", md6: "", sm6: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass: "WM-CyanBlueGradient-BG",
|
|
||||||
staticStyle: { padding: "10px 60px" },
|
|
||||||
on: { click: _vm.handleSubmit }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{ staticClass: "white--text mr-2 caption" },
|
|
||||||
[_vm._v("fas fa-sign-in-alt")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("span", { staticClass: "white--text" }, [
|
|
||||||
_vm._v("Login")
|
|
||||||
])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"text-md-left text-sm-center text-xs-center",
|
|
||||||
attrs: { row: "", wrap: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{
|
|
||||||
staticClass: "px-4 py-3",
|
|
||||||
attrs: { xs12: "", md6: "", sm6: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"router-link",
|
|
||||||
{ attrs: { to: { name: "ForgotPassword" } } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"span",
|
|
||||||
{
|
|
||||||
staticClass: "black--text",
|
|
||||||
staticStyle: {
|
|
||||||
"border-bottom": "1px solid #000"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[_vm._v("Forgot Password ?")]
|
|
||||||
)
|
|
||||||
]
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
}
|
|
||||||
var staticRenderFns = []
|
|
||||||
render._withStripped = true
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/Auth/Login.vue":
|
|
||||||
/*!***********************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/Auth/Login.vue ***!
|
|
||||||
\***********************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _Login_vue_vue_type_template_id_36ebd76a_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Login.vue?vue&type=template&id=36ebd76a&scoped=true& */ "./resources/js/vue/views/Auth/Login.vue?vue&type=template&id=36ebd76a&scoped=true&");
|
|
||||||
/* harmony import */ var _Login_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Login.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/Auth/Login.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* normalize component */
|
|
||||||
|
|
||||||
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
|
||||||
_Login_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
||||||
_Login_vue_vue_type_template_id_36ebd76a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
|
|
||||||
_Login_vue_vue_type_template_id_36ebd76a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
|
||||||
false,
|
|
||||||
null,
|
|
||||||
"36ebd76a",
|
|
||||||
null
|
|
||||||
|
|
||||||
)
|
|
||||||
|
|
||||||
/* hot reload */
|
|
||||||
if (false) { var api; }
|
|
||||||
component.options.__file = "resources/js/vue/views/Auth/Login.vue"
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/Auth/Login.vue?vue&type=script&lang=js&":
|
|
||||||
/*!************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/Auth/Login.vue?vue&type=script&lang=js& ***!
|
|
||||||
\************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Login_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/babel-loader/lib??ref--4-0!../../../../../node_modules/vue-loader/lib??vue-loader-options!./Login.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Auth/Login.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Login_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/Auth/Login.vue?vue&type=template&id=36ebd76a&scoped=true&":
|
|
||||||
/*!******************************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/Auth/Login.vue?vue&type=template&id=36ebd76a&scoped=true& ***!
|
|
||||||
\******************************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Login_vue_vue_type_template_id_36ebd76a_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../node_modules/vue-loader/lib??vue-loader-options!./Login.vue?vue&type=template&id=36ebd76a&scoped=true& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Auth/Login.vue?vue&type=template&id=36ebd76a&scoped=true&");
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Login_vue_vue_type_template_id_36ebd76a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
|
||||||
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Login_vue_vue_type_template_id_36ebd76a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ })
|
|
||||||
|
|
||||||
}]);
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{"9Tbo":function(t,e,r){"use strict";r.r(e);var s=r("o0o1"),a=r.n(s),n=r("L2JU");function o(t,e,r,s,a,n,o){try{var l=t[n](o),i=l.value}catch(t){return void r(t)}l.done?e(i):Promise.resolve(i).then(s,a)}function l(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},s=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(s=s.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),s.forEach(function(e){i(t,e,r[e])})}return t}function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var c={data:function(){return{cell_number:"",password:"",show1:!1,rules:{required:function(t){return!!t||"Required."},passCounter:function(t){return t&&t.length>=8||"Min 8 characters"},cellNumberCounter:function(t){return t&&11==t.length||"must 11 characters"}}}},computed:l({},Object(n.c)("auth",["authenticating","authenticationError","authenticationErrorCode"])),methods:l({},Object(n.b)("auth",["login"]),{handleSubmit:function(){var t,e=(t=a.a.mark(function t(){var e;return a.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.$refs.form.validate()){t.next=5;break}return t.next=3,this.login({cell_number:this.cell_number,password:this.password});case 3:(e=t.sent).status&&200===e.status||(this.password="");case 5:case"end":return t.stop()}},t,this)}),function(){var e=this,r=arguments;return new Promise(function(s,a){var n=t.apply(e,r);function l(t){o(n,s,a,l,i,"next",t)}function i(t){o(n,s,a,l,i,"throw",t)}l(void 0)})});return function(){return e.apply(this,arguments)}}()})},u=r("KHd+"),p=Object(u.a)(c,function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("v-form",{ref:"form"},[r("v-container",{attrs:{"grid-list-xs":""}},[r("v-layout",{staticClass:"justify-center",attrs:{row:"",wrap:""}},[r("v-flex",{staticClass:"WM-WidthScreen-SM WM-WidthScreen-XS",attrs:{xs12:"",md3:"",sm3:""}},[r("material-card",{attrs:{color:"black",title:"Login Page"}},[r("v-layout",{staticClass:"px-3",attrs:{row:"",wrap:""}},[r("v-flex",{attrs:{xs12:"",md12:"",sm12:""}},[r("v-text-field",{attrs:{name:"cellnumber",label:"Cell Number",color:"black",rules:[t.rules.required,t.rules.cellNumberCounter],mask:"#### ### ####"},model:{value:t.cell_number,callback:function(e){t.cell_number=e},expression:"cell_number"}})],1)],1),t._v(" "),r("v-layout",{staticClass:"px-3",attrs:{row:"",wrap:""}},[r("v-flex",{attrs:{xs12:"",md12:"",sm12:""}},[r("v-text-field",{staticClass:"pa-2",attrs:{name:"password",label:"Password",type:t.show1?"text":"password","append-icon":t.show1?"visibility":"visibility_off",rules:[t.rules.required,t.rules.passCounter],color:"black"},on:{"click:append":function(e){t.show1=!t.show1}},model:{value:t.password,callback:function(e){t.password=e},expression:"password"}})],1)],1),t._v(" "),r("v-layout",{staticClass:"px-3",attrs:{row:"",wrap:""}},[r("v-flex",{staticClass:"text-md-left text-sm-center text-xs-center",attrs:{xs12:"",md6:"",sm6:""}},[r("v-btn",{staticClass:"WM-CyanBlueGradient-BG",staticStyle:{padding:"10px 60px"},on:{click:t.handleSubmit}},[r("v-icon",{staticClass:"white--text mr-2 caption"},[t._v("fas fa-sign-in-alt")]),t._v(" "),r("span",{staticClass:"white--text"},[t._v("Login")])],1)],1)],1),t._v(" "),r("v-layout",{staticClass:"text-md-left text-sm-center text-xs-center",attrs:{row:"",wrap:""}},[r("v-flex",{staticClass:"px-4 py-3",attrs:{xs12:"",md6:"",sm6:""}},[r("router-link",{attrs:{to:{name:"ForgotPassword"}}},[r("span",{staticClass:"black--text",staticStyle:{"border-bottom":"1px solid #000"}},[t._v("Forgot Password ?")])])],1)],1)],1)],1)],1)],1)],1)},[],!1,null,"060ceeba",null);e.default=p.exports}}]);
|
|
||||||
-520
@@ -1,520 +0,0 @@
|
|||||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[13],{
|
|
||||||
|
|
||||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Auth/Register.vue?vue&type=script&lang=js&":
|
|
||||||
/*!***********************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/Auth/Register.vue?vue&type=script&lang=js& ***!
|
|
||||||
\***********************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ "./node_modules/@babel/runtime/regenerator/index.js");
|
|
||||||
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);
|
|
||||||
/* harmony import */ var _services__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/services */ "./resources/js/vue/services/index.js");
|
|
||||||
|
|
||||||
|
|
||||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
||||||
|
|
||||||
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
||||||
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
||||||
data: function data() {
|
|
||||||
var defaultForm = Object.freeze({
|
|
||||||
cell_number: "",
|
|
||||||
password: "",
|
|
||||||
name: "",
|
|
||||||
gender: "",
|
|
||||||
medical_center_id: this.$route.params.medicalCenter ? this.$route.params.medicalCenter : ''
|
|
||||||
});
|
|
||||||
return {
|
|
||||||
form: Object.assign({}, defaultForm),
|
|
||||||
show1: false,
|
|
||||||
items: ["Male", "FeMale"],
|
|
||||||
isLogin: _services__WEBPACK_IMPORTED_MODULE_1__["TokenService"].getInfo(),
|
|
||||||
rules: {
|
|
||||||
required: function required(value) {
|
|
||||||
return !!value || "Required.";
|
|
||||||
},
|
|
||||||
nameCounter: function nameCounter(value) {
|
|
||||||
return value && value.length >= 5 || "Min 5 characters";
|
|
||||||
},
|
|
||||||
passCounter: function passCounter(value) {
|
|
||||||
return value && value.length >= 8 || "Min 8 characters";
|
|
||||||
},
|
|
||||||
cellNumberCounter: function cellNumberCounter(value) {
|
|
||||||
return value && value.length == 11 || "must 11 characters";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
register: function () {
|
|
||||||
var _register = _asyncToGenerator(
|
|
||||||
/*#__PURE__*/
|
|
||||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee() {
|
|
||||||
var result;
|
|
||||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee$(_context) {
|
|
||||||
while (1) {
|
|
||||||
switch (_context.prev = _context.next) {
|
|
||||||
case 0:
|
|
||||||
if (!this.$refs.form.validate()) {
|
|
||||||
_context.next = 5;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
_context.next = 3;
|
|
||||||
return _services__WEBPACK_IMPORTED_MODULE_1__["ApiService"].post("register", this.form);
|
|
||||||
|
|
||||||
case 3:
|
|
||||||
result = _context.sent;
|
|
||||||
|
|
||||||
if (result && result.status == 200) {
|
|
||||||
this.$router.push({
|
|
||||||
name: "OperatorList",
|
|
||||||
params: {
|
|
||||||
medicalCenter: this.form.medical_center_id
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
case 5:
|
|
||||||
case "end":
|
|
||||||
return _context.stop();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}, _callee, this);
|
|
||||||
}));
|
|
||||||
|
|
||||||
function register() {
|
|
||||||
return _register.apply(this, arguments);
|
|
||||||
}
|
|
||||||
|
|
||||||
return register;
|
|
||||||
}()
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Auth/Register.vue?vue&type=template&id=051bdd9c&":
|
|
||||||
/*!***************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/Auth/Register.vue?vue&type=template&id=051bdd9c& ***!
|
|
||||||
\***************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
|
|
||||||
var render = function() {
|
|
||||||
var _vm = this
|
|
||||||
var _h = _vm.$createElement
|
|
||||||
var _c = _vm._self._c || _h
|
|
||||||
return _c(
|
|
||||||
"v-form",
|
|
||||||
{ ref: "form" },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-container",
|
|
||||||
{ attrs: { "grid-list-xs": "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{ staticClass: "justify-center", attrs: { row: "", wrap: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{
|
|
||||||
staticClass: "WM-WidthScreen-SM WM-WidthScreen-XS",
|
|
||||||
attrs: { xs12: "", md3: "", sm6: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"material-card",
|
|
||||||
{ attrs: { color: "black", title: "Register Page" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{ attrs: { column: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", md2: "", sm2: "" } },
|
|
||||||
[
|
|
||||||
_c("v-text-field", {
|
|
||||||
staticClass: "pa-2",
|
|
||||||
attrs: {
|
|
||||||
name: "name",
|
|
||||||
label: "Name",
|
|
||||||
color: "black",
|
|
||||||
rules: [
|
|
||||||
_vm.rules.required,
|
|
||||||
_vm.rules.nameCounter
|
|
||||||
]
|
|
||||||
},
|
|
||||||
model: {
|
|
||||||
value: _vm.form.name,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.$set(_vm.form, "name", $$v)
|
|
||||||
},
|
|
||||||
expression: "form.name"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", md2: "", sm2: "" } },
|
|
||||||
[
|
|
||||||
_c("v-select", {
|
|
||||||
staticClass: "pa-2",
|
|
||||||
attrs: {
|
|
||||||
items: _vm.items,
|
|
||||||
label: "Gender",
|
|
||||||
name: "gender",
|
|
||||||
"single-line": "",
|
|
||||||
color: "black",
|
|
||||||
rules: [_vm.rules.required]
|
|
||||||
},
|
|
||||||
model: {
|
|
||||||
value: _vm.form.gender,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.$set(_vm.form, "gender", $$v)
|
|
||||||
},
|
|
||||||
expression: "form.gender"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", md2: "", sm2: "" } },
|
|
||||||
[
|
|
||||||
_c("v-text-field", {
|
|
||||||
staticClass: "pa-2",
|
|
||||||
attrs: {
|
|
||||||
name: "cell_number",
|
|
||||||
label: "Cell Number",
|
|
||||||
color: "black",
|
|
||||||
rules: [
|
|
||||||
_vm.rules.required,
|
|
||||||
_vm.rules.cellNumberCounter
|
|
||||||
],
|
|
||||||
mask: "#### ### ####"
|
|
||||||
},
|
|
||||||
model: {
|
|
||||||
value: _vm.form.cell_number,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.$set(_vm.form, "cell_number", $$v)
|
|
||||||
},
|
|
||||||
expression: "form.cell_number"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", md2: "", sm2: "" } },
|
|
||||||
[
|
|
||||||
_c("v-text-field", {
|
|
||||||
staticClass: "pa-2",
|
|
||||||
attrs: {
|
|
||||||
name: "password",
|
|
||||||
label: "Password",
|
|
||||||
type: _vm.show1 ? "text" : "password",
|
|
||||||
"append-icon": _vm.show1
|
|
||||||
? "visibility"
|
|
||||||
: "visibility_off",
|
|
||||||
color: "black",
|
|
||||||
rules: [
|
|
||||||
_vm.rules.required,
|
|
||||||
_vm.rules.passCounter
|
|
||||||
]
|
|
||||||
},
|
|
||||||
on: {
|
|
||||||
"click:append": function($event) {
|
|
||||||
_vm.show1 = !_vm.show1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
model: {
|
|
||||||
value: _vm.form.password,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.$set(_vm.form, "password", $$v)
|
|
||||||
},
|
|
||||||
expression: "form.password"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{ attrs: { row: "", wrap: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"text-md-left text-sm-center text-xs-center",
|
|
||||||
attrs: { xs12: "", md6: "", sm6: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass: "WM-CyanBlueGradient-BG",
|
|
||||||
staticStyle: { padding: "10px 60px" },
|
|
||||||
on: { click: _vm.register }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{ staticClass: "white--text mr-2 caption" },
|
|
||||||
[_vm._v("fas fa-plus")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("span", { staticClass: "white--text" }, [
|
|
||||||
_vm._v("Register")
|
|
||||||
])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
!_vm.isLogin
|
|
||||||
? _c(
|
|
||||||
"v-flex",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"text-md-right text-sm-center text-xs-center",
|
|
||||||
attrs: { xs12: "", md6: "", sm6: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"router-link",
|
|
||||||
{ attrs: { to: "/login" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black"
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"black--text mr-2 caption"
|
|
||||||
},
|
|
||||||
[_vm._v("fas fa-sign-in-alt")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"span",
|
|
||||||
{ staticClass: "black--text" },
|
|
||||||
[_vm._v("Login")]
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
: _vm._e()
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
}
|
|
||||||
var staticRenderFns = []
|
|
||||||
render._withStripped = true
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/Auth/Register.vue":
|
|
||||||
/*!**************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/Auth/Register.vue ***!
|
|
||||||
\**************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _Register_vue_vue_type_template_id_051bdd9c___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Register.vue?vue&type=template&id=051bdd9c& */ "./resources/js/vue/views/Auth/Register.vue?vue&type=template&id=051bdd9c&");
|
|
||||||
/* harmony import */ var _Register_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Register.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/Auth/Register.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* normalize component */
|
|
||||||
|
|
||||||
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
|
||||||
_Register_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
||||||
_Register_vue_vue_type_template_id_051bdd9c___WEBPACK_IMPORTED_MODULE_0__["render"],
|
|
||||||
_Register_vue_vue_type_template_id_051bdd9c___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
|
||||||
false,
|
|
||||||
null,
|
|
||||||
null,
|
|
||||||
null
|
|
||||||
|
|
||||||
)
|
|
||||||
|
|
||||||
/* hot reload */
|
|
||||||
if (false) { var api; }
|
|
||||||
component.options.__file = "resources/js/vue/views/Auth/Register.vue"
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/Auth/Register.vue?vue&type=script&lang=js&":
|
|
||||||
/*!***************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/Auth/Register.vue?vue&type=script&lang=js& ***!
|
|
||||||
\***************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Register_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/babel-loader/lib??ref--4-0!../../../../../node_modules/vue-loader/lib??vue-loader-options!./Register.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Auth/Register.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Register_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/Auth/Register.vue?vue&type=template&id=051bdd9c&":
|
|
||||||
/*!*********************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/Auth/Register.vue?vue&type=template&id=051bdd9c& ***!
|
|
||||||
\*********************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Register_vue_vue_type_template_id_051bdd9c___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../node_modules/vue-loader/lib??vue-loader-options!./Register.vue?vue&type=template&id=051bdd9c& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Auth/Register.vue?vue&type=template&id=051bdd9c&");
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Register_vue_vue_type_template_id_051bdd9c___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
|
||||||
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Register_vue_vue_type_template_id_051bdd9c___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ })
|
|
||||||
|
|
||||||
}]);
|
|
||||||
-280
@@ -1,280 +0,0 @@
|
|||||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[14],{
|
|
||||||
|
|
||||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Dashboard.vue?vue&type=script&lang=js&":
|
|
||||||
/*!*******************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/Dashboard.vue?vue&type=script&lang=js& ***!
|
|
||||||
\*******************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
||||||
data: function data() {
|
|
||||||
return {
|
|
||||||
Cards: [{
|
|
||||||
title: 'My Info',
|
|
||||||
text: 'You can easily edit your registration information',
|
|
||||||
icon: '/img/Static/Dashboard/darkmug.png',
|
|
||||||
color: 'WM-OrangeGradient-BG',
|
|
||||||
route: {
|
|
||||||
name: 'MyInfo'
|
|
||||||
},
|
|
||||||
aligntext: 'text-md-left',
|
|
||||||
alignimg: 'text-md-right',
|
|
||||||
column: 'xs12 md6 sm6'
|
|
||||||
}, {
|
|
||||||
title: 'All Test Result',
|
|
||||||
text: 'You can see all user tests and own tests',
|
|
||||||
icon: '/img/Static/Dashboard/pad.png',
|
|
||||||
color: 'WM-GreenGradient-BG',
|
|
||||||
route: {
|
|
||||||
name: 'AllResultTest'
|
|
||||||
},
|
|
||||||
aligntext: 'text-md-left',
|
|
||||||
alignimg: 'text-md-right',
|
|
||||||
column: 'xs12 md6 sm6'
|
|
||||||
}, {
|
|
||||||
title: 'Manage Users',
|
|
||||||
text: 'You can edit the medical center information',
|
|
||||||
icon: '/img/Static/Dashboard/ipad.png',
|
|
||||||
color: 'WM-YellowPinkGradient-BG',
|
|
||||||
route: {
|
|
||||||
name: 'ManageUsers'
|
|
||||||
},
|
|
||||||
aligntext: 'text-md-center',
|
|
||||||
alignimg: 'text-md-left',
|
|
||||||
column: 'xs12 md12 sm12',
|
|
||||||
role: 'Admin|Supervisor'
|
|
||||||
}, {
|
|
||||||
title: 'Manage Medical Center',
|
|
||||||
text: 'Managing users very fast by ...',
|
|
||||||
icon: '/img/Static/Dashboard/Macbook.png',
|
|
||||||
color: 'WM-MuskGradient-BG',
|
|
||||||
route: {
|
|
||||||
name: 'ManageMedicalCenter'
|
|
||||||
},
|
|
||||||
aligntext: 'text-md-left',
|
|
||||||
alignimg: 'text-md-right',
|
|
||||||
column: 'xs12 md7 sm7',
|
|
||||||
role: 'Admin'
|
|
||||||
}, {
|
|
||||||
title: 'List Test Type',
|
|
||||||
text: 'You can simply add your own test type',
|
|
||||||
icon: '/img/Static/Dashboard/Book-and-Pen.png',
|
|
||||||
color: 'WM-GreyGradient-BG',
|
|
||||||
route: {
|
|
||||||
name: 'ListTestType'
|
|
||||||
},
|
|
||||||
aligntext: 'text-md-left',
|
|
||||||
alignimg: 'text-md-right',
|
|
||||||
column: 'xs12 md5 sm5',
|
|
||||||
role: 'Admin'
|
|
||||||
}, {
|
|
||||||
title: 'Test to Verify',
|
|
||||||
text: 'You can simply add your own test type in this section of website',
|
|
||||||
icon: '/img/Static/Dashboard/notepad-colorful.png',
|
|
||||||
color: 'WM-PinkGradient-BG',
|
|
||||||
route: {
|
|
||||||
name: 'NotVerifyTestResult'
|
|
||||||
},
|
|
||||||
aligntext: 'text-md-center',
|
|
||||||
alignimg: 'text-md-left',
|
|
||||||
column: 'xs12 md12 sm12',
|
|
||||||
role: 'Admin|Supervisor'
|
|
||||||
}, {
|
|
||||||
title: 'Add a Test Result',
|
|
||||||
text: 'You can edit the medical center information',
|
|
||||||
icon: '/img/Static/Dashboard/ipad.png',
|
|
||||||
color: 'WM-YellowPinkGradient-BG',
|
|
||||||
route: {
|
|
||||||
name: 'SubmitTestResult'
|
|
||||||
},
|
|
||||||
aligntext: 'text-md-center',
|
|
||||||
alignimg: 'text-md-left',
|
|
||||||
column: 'xs12 md12 sm12'
|
|
||||||
}]
|
|
||||||
};
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Dashboard.vue?vue&type=template&id=1e64fb7c&":
|
|
||||||
/*!***********************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/Dashboard.vue?vue&type=template&id=1e64fb7c& ***!
|
|
||||||
\***********************************************************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
|
|
||||||
var render = function() {
|
|
||||||
var _vm = this
|
|
||||||
var _h = _vm.$createElement
|
|
||||||
var _c = _vm._self._c || _h
|
|
||||||
return _c(
|
|
||||||
"v-container",
|
|
||||||
{ attrs: { fluid: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"material-card",
|
|
||||||
{
|
|
||||||
attrs: {
|
|
||||||
color: "black",
|
|
||||||
title: "Material Dashboard Heading",
|
|
||||||
text: ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{ attrs: { row: "", wrap: "" } },
|
|
||||||
[
|
|
||||||
_vm._l(_vm.Cards, function(Card, Key) {
|
|
||||||
return [
|
|
||||||
!Card.role || _vm.$hasRole(Card.role)
|
|
||||||
? _c(
|
|
||||||
"v-flex",
|
|
||||||
{ key: Key, class: [Card.column, "pa-2"] },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"router-link",
|
|
||||||
{ attrs: { to: Card.route } },
|
|
||||||
[
|
|
||||||
_c("material-cards", {
|
|
||||||
attrs: {
|
|
||||||
title: Card.title,
|
|
||||||
icon: Card.icon,
|
|
||||||
color: Card.color,
|
|
||||||
text: Card.text,
|
|
||||||
aligntext: Card.aligntext,
|
|
||||||
alignimg: Card.alignimg
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
: _vm._e()
|
|
||||||
]
|
|
||||||
})
|
|
||||||
],
|
|
||||||
2
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
}
|
|
||||||
var staticRenderFns = []
|
|
||||||
render._withStripped = true
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/Dashboard.vue":
|
|
||||||
/*!**********************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/Dashboard.vue ***!
|
|
||||||
\**********************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _Dashboard_vue_vue_type_template_id_1e64fb7c___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Dashboard.vue?vue&type=template&id=1e64fb7c& */ "./resources/js/vue/views/Dashboard.vue?vue&type=template&id=1e64fb7c&");
|
|
||||||
/* harmony import */ var _Dashboard_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Dashboard.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/Dashboard.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* normalize component */
|
|
||||||
|
|
||||||
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
|
||||||
_Dashboard_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
||||||
_Dashboard_vue_vue_type_template_id_1e64fb7c___WEBPACK_IMPORTED_MODULE_0__["render"],
|
|
||||||
_Dashboard_vue_vue_type_template_id_1e64fb7c___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
|
||||||
false,
|
|
||||||
null,
|
|
||||||
null,
|
|
||||||
null
|
|
||||||
|
|
||||||
)
|
|
||||||
|
|
||||||
/* hot reload */
|
|
||||||
if (false) { var api; }
|
|
||||||
component.options.__file = "resources/js/vue/views/Dashboard.vue"
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/Dashboard.vue?vue&type=script&lang=js&":
|
|
||||||
/*!***********************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/Dashboard.vue?vue&type=script&lang=js& ***!
|
|
||||||
\***********************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Dashboard_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/babel-loader/lib??ref--4-0!../../../../node_modules/vue-loader/lib??vue-loader-options!./Dashboard.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Dashboard.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Dashboard_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/Dashboard.vue?vue&type=template&id=1e64fb7c&":
|
|
||||||
/*!*****************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/Dashboard.vue?vue&type=template&id=1e64fb7c& ***!
|
|
||||||
\*****************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Dashboard_vue_vue_type_template_id_1e64fb7c___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/vue-loader/lib??vue-loader-options!./Dashboard.vue?vue&type=template&id=1e64fb7c& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Dashboard.vue?vue&type=template&id=1e64fb7c&");
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Dashboard_vue_vue_type_template_id_1e64fb7c___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
|
||||||
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Dashboard_vue_vue_type_template_id_1e64fb7c___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ })
|
|
||||||
|
|
||||||
}]);
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{NLmH:function(e,t,r){"use strict";r.r(t);var s=r("o0o1"),a=r.n(s),n=r("Y8XJ");function l(e,t,r,s,a,n,l){try{var i=e[n](l),o=i.value}catch(e){return void r(e)}i.done?t(o):Promise.resolve(o).then(s,a)}var i={data:function(){var e=Object.freeze({cell_number:"",password:"",name:"",gender:"",medical_center_id:this.$route.params.medicalCenter?this.$route.params.medicalCenter:""});return{form:Object.assign({},e),show1:!1,items:["Male","FeMale"],isLogin:n.c.getInfo(),rules:{required:function(e){return!!e||"Required."},nameCounter:function(e){return e&&e.length>=5||"Min 5 characters"},passCounter:function(e){return e&&e.length>=8||"Min 8 characters"},cellNumberCounter:function(e){return e&&11==e.length||"must 11 characters"}}}},methods:{register:function(){var e,t=(e=a.a.mark(function e(){var t;return a.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.$refs.form.validate()){e.next=5;break}return e.next=3,n.a.post("register",this.form);case 3:(t=e.sent)&&200==t.status&&this.$router.push({name:"OperatorList",params:{medicalCenter:this.form.medical_center_id}});case 5:case"end":return e.stop()}},e,this)}),function(){var t=this,r=arguments;return new Promise(function(s,a){var n=e.apply(t,r);function i(e){l(n,s,a,i,o,"next",e)}function o(e){l(n,s,a,i,o,"throw",e)}i(void 0)})});return function(){return t.apply(this,arguments)}}()}},o=r("KHd+"),c=Object(o.a)(i,function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("v-form",{ref:"form"},[r("v-container",{attrs:{"grid-list-xs":""}},[r("v-layout",{staticClass:"justify-center",attrs:{row:"",wrap:""}},[r("v-flex",{staticClass:"WM-WidthScreen-SM WM-WidthScreen-XS",attrs:{xs12:"",md3:"",sm6:""}},[r("material-card",{attrs:{color:"black",title:"Register Page"}},[r("v-layout",{attrs:{column:""}},[r("v-flex",{attrs:{xs12:"",md2:"",sm2:""}},[r("v-text-field",{staticClass:"pa-2",attrs:{name:"name",label:"Name",color:"black",rules:[e.rules.required,e.rules.nameCounter]},model:{value:e.form.name,callback:function(t){e.$set(e.form,"name",t)},expression:"form.name"}})],1),e._v(" "),r("v-flex",{attrs:{xs12:"",md2:"",sm2:""}},[r("v-select",{staticClass:"pa-2",attrs:{items:e.items,label:"Gender",name:"gender","single-line":"",color:"black",rules:[e.rules.required]},model:{value:e.form.gender,callback:function(t){e.$set(e.form,"gender",t)},expression:"form.gender"}})],1),e._v(" "),r("v-flex",{attrs:{xs12:"",md2:"",sm2:""}},[r("v-text-field",{staticClass:"pa-2",attrs:{name:"cell_number",label:"Cell Number",color:"black",rules:[e.rules.required,e.rules.cellNumberCounter],mask:"#### ### ####"},model:{value:e.form.cell_number,callback:function(t){e.$set(e.form,"cell_number",t)},expression:"form.cell_number"}})],1),e._v(" "),r("v-flex",{attrs:{xs12:"",md2:"",sm2:""}},[r("v-text-field",{staticClass:"pa-2",attrs:{name:"password",label:"Password",type:e.show1?"text":"password","append-icon":e.show1?"visibility":"visibility_off",color:"black",rules:[e.rules.required,e.rules.passCounter]},on:{"click:append":function(t){e.show1=!e.show1}},model:{value:e.form.password,callback:function(t){e.$set(e.form,"password",t)},expression:"form.password"}})],1)],1),e._v(" "),r("v-layout",{attrs:{row:"",wrap:""}},[r("v-flex",{staticClass:"text-md-left text-sm-center text-xs-center",attrs:{xs12:"",md6:"",sm6:""}},[r("v-btn",{staticClass:"WM-CyanBlueGradient-BG",staticStyle:{padding:"10px 60px"},on:{click:e.register}},[r("v-icon",{staticClass:"white--text mr-2 caption"},[e._v("fas fa-plus")]),e._v(" "),r("span",{staticClass:"white--text"},[e._v("Register")])],1)],1),e._v(" "),e.isLogin?e._e():r("v-flex",{staticClass:"text-md-right text-sm-center text-xs-center",attrs:{xs12:"",md6:"",sm6:""}},[r("router-link",{attrs:{to:"/login"}},[r("v-btn",{staticClass:"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black"},[r("v-icon",{staticClass:"black--text mr-2 caption"},[e._v("fas fa-sign-in-alt")]),e._v(" "),r("span",{staticClass:"black--text"},[e._v("Login")])],1)],1)],1)],1)],1)],1)],1)],1)],1)},[],!1,null,null,null);t.default=c.exports}}]);
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{GLrF:function(t,e,a){"use strict";a.r(e);var i={data:function(){return{Cards:[{title:"My Info",text:"You can easily edit your registration information",icon:"/img/Static/Dashboard/darkmug.png",color:"WM-OrangeGradient-BG",route:{name:"MyInfo"},aligntext:"text-md-left",alignimg:"text-md-right",column:"xs12 md6 sm6"},{title:"All Test Result",text:"You can see all user tests and own tests",icon:"/img/Static/Dashboard/pad.png",color:"WM-GreenGradient-BG",route:{name:"AllResultTest"},aligntext:"text-md-left",alignimg:"text-md-right",column:"xs12 md6 sm6"},{title:"Manage Users",text:"You can edit the medical center information",icon:"/img/Static/Dashboard/ipad.png",color:"WM-YellowPinkGradient-BG",route:{name:"ManageUsers"},aligntext:"text-md-center",alignimg:"text-md-left",column:"xs12 md12 sm12",role:"Admin|Supervisor"},{title:"Manage Medical Center",text:"Managing users very fast by ...",icon:"/img/Static/Dashboard/Macbook.png",color:"WM-MuskGradient-BG",route:{name:"ManageMedicalCenter"},aligntext:"text-md-left",alignimg:"text-md-right",column:"xs12 md7 sm7",role:"Admin"},{title:"List Test Type",text:"You can simply add your own test type",icon:"/img/Static/Dashboard/Book-and-Pen.png",color:"WM-GreyGradient-BG",route:{name:"ListTestType"},aligntext:"text-md-left",alignimg:"text-md-right",column:"xs12 md5 sm5",role:"Admin"},{title:"Test to Verify",text:"You can simply add your own test type in this section of website",icon:"/img/Static/Dashboard/notepad-colorful.png",color:"WM-PinkGradient-BG",route:{name:"NotVerifyTestResult"},aligntext:"text-md-center",alignimg:"text-md-left",column:"xs12 md12 sm12",role:"Admin|Supervisor"},{title:"Add a Test Result",text:"You can edit the medical center information",icon:"/img/Static/Dashboard/ipad.png",color:"WM-YellowPinkGradient-BG",route:{name:"SubmitTestResult"},aligntext:"text-md-center",alignimg:"text-md-left",column:"xs12 md12 sm12"}]}}},n=a("KHd+"),o=Object(n.a)(i,function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",{attrs:{fluid:""}},[a("material-card",{attrs:{color:"black",title:"Material Dashboard Heading",text:""}},[a("v-layout",{attrs:{row:"",wrap:""}},[t._l(t.Cards,function(e,i){return[!e.role||t.$hasRole(e.role)?a("v-flex",{key:i,class:[e.column,"pa-2"]},[a("router-link",{attrs:{to:e.route}},[a("material-cards",{attrs:{title:e.title,icon:e.icon,color:e.color,text:e.text,aligntext:e.aligntext,alignimg:e.alignimg}})],1)],1):t._e()]})],2)],1)],1)},[],!1,null,null,null);e.default=o.exports}}]);
|
|
||||||
-397
@@ -1,397 +0,0 @@
|
|||||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[15],{
|
|
||||||
|
|
||||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/MedicalCenter/AddEdit.vue?vue&type=script&lang=js&":
|
|
||||||
/*!*******************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/MedicalCenter/AddEdit.vue?vue&type=script&lang=js& ***!
|
|
||||||
\*******************************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ "./node_modules/@babel/runtime/regenerator/index.js");
|
|
||||||
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);
|
|
||||||
/* harmony import */ var _services__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/services */ "./resources/js/vue/services/index.js");
|
|
||||||
/* harmony import */ var _config_urls__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/config/urls */ "./resources/js/vue/config/urls.js");
|
|
||||||
|
|
||||||
|
|
||||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
||||||
|
|
||||||
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
||||||
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
|
|
||||||
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
||||||
data: function data() {
|
|
||||||
return {
|
|
||||||
medicalCenter: {
|
|
||||||
name: ""
|
|
||||||
},
|
|
||||||
rules: {
|
|
||||||
required: function required(value) {
|
|
||||||
return !!value || "Required.";
|
|
||||||
},
|
|
||||||
counter: function counter(value) {
|
|
||||||
return value.length <= 30 || "Max 30 characters";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
|
||||||
},
|
|
||||||
created: function created() {
|
|
||||||
if (this.$route.params.medicalCenter) {
|
|
||||||
this.load(this.$route.params.medicalCenter);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
load: function () {
|
|
||||||
var _load = _asyncToGenerator(
|
|
||||||
/*#__PURE__*/
|
|
||||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee(id) {
|
|
||||||
var result;
|
|
||||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee$(_context) {
|
|
||||||
while (1) {
|
|
||||||
switch (_context.prev = _context.next) {
|
|
||||||
case 0:
|
|
||||||
_context.next = 2;
|
|
||||||
return _services__WEBPACK_IMPORTED_MODULE_1__["ApiService"].get(_config_urls__WEBPACK_IMPORTED_MODULE_2__["urls"].editMedicalCenter(id));
|
|
||||||
|
|
||||||
case 2:
|
|
||||||
result = _context.sent;
|
|
||||||
|
|
||||||
if (result && result.status == 200) {
|
|
||||||
this.medicalCenter = result.data.data;
|
|
||||||
}
|
|
||||||
|
|
||||||
case 4:
|
|
||||||
case "end":
|
|
||||||
return _context.stop();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}, _callee, this);
|
|
||||||
}));
|
|
||||||
|
|
||||||
function load(_x) {
|
|
||||||
return _load.apply(this, arguments);
|
|
||||||
}
|
|
||||||
|
|
||||||
return load;
|
|
||||||
}(),
|
|
||||||
AddMedicalCenter: function () {
|
|
||||||
var _AddMedicalCenter = _asyncToGenerator(
|
|
||||||
/*#__PURE__*/
|
|
||||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee2() {
|
|
||||||
var result;
|
|
||||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee2$(_context2) {
|
|
||||||
while (1) {
|
|
||||||
switch (_context2.prev = _context2.next) {
|
|
||||||
case 0:
|
|
||||||
if (!this.$refs.form.validate()) {
|
|
||||||
_context2.next = 11;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!this.$route.params.medicalCenter) {
|
|
||||||
_context2.next = 7;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
_context2.next = 4;
|
|
||||||
return _services__WEBPACK_IMPORTED_MODULE_1__["ApiService"].put(_config_urls__WEBPACK_IMPORTED_MODULE_2__["urls"].updateMedicalCenter(this.$route.params.medicalCenter), this.medicalCenter);
|
|
||||||
|
|
||||||
case 4:
|
|
||||||
result = _context2.sent;
|
|
||||||
_context2.next = 10;
|
|
||||||
break;
|
|
||||||
|
|
||||||
case 7:
|
|
||||||
_context2.next = 9;
|
|
||||||
return _services__WEBPACK_IMPORTED_MODULE_1__["ApiService"].post(_config_urls__WEBPACK_IMPORTED_MODULE_2__["urls"].storeMedicalCenter, this.medicalCenter);
|
|
||||||
|
|
||||||
case 9:
|
|
||||||
result = _context2.sent;
|
|
||||||
|
|
||||||
case 10:
|
|
||||||
if (result && result.status == 200) {
|
|
||||||
this.$router.push({
|
|
||||||
name: "ManageMedicalCenter"
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
case 11:
|
|
||||||
case "end":
|
|
||||||
return _context2.stop();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}, _callee2, this);
|
|
||||||
}));
|
|
||||||
|
|
||||||
function AddMedicalCenter() {
|
|
||||||
return _AddMedicalCenter.apply(this, arguments);
|
|
||||||
}
|
|
||||||
|
|
||||||
return AddMedicalCenter;
|
|
||||||
}()
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/MedicalCenter/AddEdit.vue?vue&type=template&id=7e71354a&scoped=true&":
|
|
||||||
/*!***********************************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/MedicalCenter/AddEdit.vue?vue&type=template&id=7e71354a&scoped=true& ***!
|
|
||||||
\***********************************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
|
|
||||||
var render = function() {
|
|
||||||
var _vm = this
|
|
||||||
var _h = _vm.$createElement
|
|
||||||
var _c = _vm._self._c || _h
|
|
||||||
return _c(
|
|
||||||
"v-form",
|
|
||||||
{ ref: "form" },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-container",
|
|
||||||
{ attrs: { "grid-list-xs": "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"material-card",
|
|
||||||
{
|
|
||||||
attrs: { color: "black", title: "Add Medical Center", text: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{ staticClass: "px-5 mb-3", attrs: { row: "", wrap: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", md3: "", xs3: "" } },
|
|
||||||
[
|
|
||||||
_c("v-text-field", {
|
|
||||||
staticClass: "pa-2",
|
|
||||||
attrs: {
|
|
||||||
label: "Name",
|
|
||||||
color: "black",
|
|
||||||
rules: [_vm.rules.required, _vm.rules.counter]
|
|
||||||
},
|
|
||||||
model: {
|
|
||||||
value: _vm.medicalCenter.name,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.$set(_vm.medicalCenter, "name", $$v)
|
|
||||||
},
|
|
||||||
expression: "medicalCenter.name"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{
|
|
||||||
staticClass: "mt-3",
|
|
||||||
attrs: {
|
|
||||||
row: "",
|
|
||||||
wrap: "",
|
|
||||||
"align-center": "",
|
|
||||||
"justify-center": ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass: "WM-CyanBlueGradient-BG",
|
|
||||||
staticStyle: { padding: "10px 60px" },
|
|
||||||
on: { click: _vm.AddMedicalCenter }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_vm.$route.params.medicalCenter
|
|
||||||
? [
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{ staticClass: "white--text mr-2 caption" },
|
|
||||||
[_vm._v("fas fa-edit")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("span", { staticClass: "white--text" }, [
|
|
||||||
_vm._v("Edit")
|
|
||||||
])
|
|
||||||
]
|
|
||||||
: [
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{ staticClass: "white--text mr-2 caption" },
|
|
||||||
[_vm._v("fas fa-plus")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("span", { staticClass: "white--text" }, [
|
|
||||||
_vm._v("Add")
|
|
||||||
])
|
|
||||||
]
|
|
||||||
],
|
|
||||||
2
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"router-link",
|
|
||||||
{ attrs: { to: { name: "ManageMedicalCenter" } } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black ml-5"
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{ staticClass: "black--text mr-2 caption" },
|
|
||||||
[_vm._v("fas fa-chevron-left")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("span", { staticClass: "black--text" }, [
|
|
||||||
_vm._v("Back")
|
|
||||||
])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
}
|
|
||||||
var staticRenderFns = []
|
|
||||||
render._withStripped = true
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/MedicalCenter/AddEdit.vue":
|
|
||||||
/*!**********************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/MedicalCenter/AddEdit.vue ***!
|
|
||||||
\**********************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _AddEdit_vue_vue_type_template_id_7e71354a_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AddEdit.vue?vue&type=template&id=7e71354a&scoped=true& */ "./resources/js/vue/views/MedicalCenter/AddEdit.vue?vue&type=template&id=7e71354a&scoped=true&");
|
|
||||||
/* harmony import */ var _AddEdit_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AddEdit.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/MedicalCenter/AddEdit.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* normalize component */
|
|
||||||
|
|
||||||
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
|
||||||
_AddEdit_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
||||||
_AddEdit_vue_vue_type_template_id_7e71354a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
|
|
||||||
_AddEdit_vue_vue_type_template_id_7e71354a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
|
||||||
false,
|
|
||||||
null,
|
|
||||||
"7e71354a",
|
|
||||||
null
|
|
||||||
|
|
||||||
)
|
|
||||||
|
|
||||||
/* hot reload */
|
|
||||||
if (false) { var api; }
|
|
||||||
component.options.__file = "resources/js/vue/views/MedicalCenter/AddEdit.vue"
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/MedicalCenter/AddEdit.vue?vue&type=script&lang=js&":
|
|
||||||
/*!***********************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/MedicalCenter/AddEdit.vue?vue&type=script&lang=js& ***!
|
|
||||||
\***********************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_AddEdit_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/babel-loader/lib??ref--4-0!../../../../../node_modules/vue-loader/lib??vue-loader-options!./AddEdit.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/MedicalCenter/AddEdit.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_AddEdit_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/MedicalCenter/AddEdit.vue?vue&type=template&id=7e71354a&scoped=true&":
|
|
||||||
/*!*****************************************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/MedicalCenter/AddEdit.vue?vue&type=template&id=7e71354a&scoped=true& ***!
|
|
||||||
\*****************************************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_AddEdit_vue_vue_type_template_id_7e71354a_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../node_modules/vue-loader/lib??vue-loader-options!./AddEdit.vue?vue&type=template&id=7e71354a&scoped=true& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/MedicalCenter/AddEdit.vue?vue&type=template&id=7e71354a&scoped=true&");
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_AddEdit_vue_vue_type_template_id_7e71354a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
|
||||||
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_AddEdit_vue_vue_type_template_id_7e71354a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ })
|
|
||||||
|
|
||||||
}]);
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[16],{M2Tz:function(t,e,a){"use strict";a.r(e);var r=a("o0o1"),n=a.n(r),s=a("Y8XJ"),i=a("85lN");function c(t,e,a,r,n,s,i){try{var c=t[s](i),l=c.value}catch(t){return void a(t)}c.done?e(l):Promise.resolve(l).then(r,n)}function l(t){return function(){var e=this,a=arguments;return new Promise(function(r,n){var s=t.apply(e,a);function i(t){c(s,r,n,i,l,"next",t)}function l(t){c(s,r,n,i,l,"throw",t)}i(void 0)})}}var o={data:function(){return{medicalCenter:{name:""},rules:{required:function(t){return!!t||"Required."},counter:function(t){return t.length<=30||"Max 30 characters"}}}},created:function(){this.$route.params.medicalCenter&&this.load(this.$route.params.medicalCenter)},methods:{load:function(){var t=l(n.a.mark(function t(e){var a;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,s.a.get(i.a.editMedicalCenter(e));case 2:(a=t.sent)&&200==a.status&&(this.medicalCenter=a.data.data);case 4:case"end":return t.stop()}},t,this)}));return function(e){return t.apply(this,arguments)}}(),AddMedicalCenter:function(){var t=l(n.a.mark(function t(){var e;return n.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.$refs.form.validate()){t.next=11;break}if(!this.$route.params.medicalCenter){t.next=7;break}return t.next=4,s.a.put(i.a.updateMedicalCenter(this.$route.params.medicalCenter),this.medicalCenter);case 4:e=t.sent,t.next=10;break;case 7:return t.next=9,s.a.post(i.a.storeMedicalCenter,this.medicalCenter);case 9:e=t.sent;case 10:e&&200==e.status&&this.$router.push({name:"ManageMedicalCenter"});case 11:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}()}},u=a("KHd+"),d=Object(u.a)(o,function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-form",{ref:"form"},[a("v-container",{attrs:{"grid-list-xs":""}},[a("material-card",{attrs:{color:"black",title:"Add Medical Center",text:""}},[a("v-layout",{staticClass:"px-5 mb-3",attrs:{row:"",wrap:""}},[a("v-flex",{attrs:{xs12:"",md3:"",xs3:""}},[a("v-text-field",{staticClass:"pa-2",attrs:{label:"Name",color:"black",rules:[t.rules.required,t.rules.counter]},model:{value:t.medicalCenter.name,callback:function(e){t.$set(t.medicalCenter,"name",e)},expression:"medicalCenter.name"}})],1)],1),t._v(" "),a("v-layout",{staticClass:"mt-3",attrs:{row:"",wrap:"","align-center":"","justify-center":""}},[a("v-btn",{staticClass:"WM-CyanBlueGradient-BG",staticStyle:{padding:"10px 60px"},on:{click:t.AddMedicalCenter}},[t.$route.params.medicalCenter?[a("v-icon",{staticClass:"white--text mr-2 caption"},[t._v("fas fa-edit")]),t._v(" "),a("span",{staticClass:"white--text"},[t._v("Edit")])]:[a("v-icon",{staticClass:"white--text mr-2 caption"},[t._v("fas fa-plus")]),t._v(" "),a("span",{staticClass:"white--text"},[t._v("Add")])]],2),t._v(" "),a("router-link",{attrs:{to:{name:"ManageMedicalCenter"}}},[a("v-btn",{staticClass:"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black ml-5"},[a("v-icon",{staticClass:"black--text mr-2 caption"},[t._v("fas fa-chevron-left")]),t._v(" "),a("span",{staticClass:"black--text"},[t._v("Back")])],1)],1)],1)],1)],1)],1)},[],!1,null,"0423dde2",null);e.default=d.exports}}]);
|
|
||||||
-869
@@ -1,869 +0,0 @@
|
|||||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[16],{
|
|
||||||
|
|
||||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/MedicalCenter/OperatorList.vue?vue&type=script&lang=js&":
|
|
||||||
/*!************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/MedicalCenter/OperatorList.vue?vue&type=script&lang=js& ***!
|
|
||||||
\************************************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ "./node_modules/@babel/runtime/regenerator/index.js");
|
|
||||||
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);
|
|
||||||
/* harmony import */ var _services__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/services */ "./resources/js/vue/services/index.js");
|
|
||||||
/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vuex */ "./node_modules/vuex/dist/vuex.esm.js");
|
|
||||||
/* harmony import */ var _config_urls__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/config/urls */ "./resources/js/vue/config/urls.js");
|
|
||||||
/* harmony import */ var _config_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/config/utils */ "./resources/js/vue/config/utils.js");
|
|
||||||
|
|
||||||
|
|
||||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
||||||
|
|
||||||
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
||||||
|
|
||||||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
|
|
||||||
|
|
||||||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
||||||
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
||||||
data: function data() {
|
|
||||||
return {
|
|
||||||
headers: [{
|
|
||||||
sortable: true,
|
|
||||||
text: "Operator Name",
|
|
||||||
value: "name"
|
|
||||||
}, {
|
|
||||||
sortable: false,
|
|
||||||
text: "Role",
|
|
||||||
value: "role"
|
|
||||||
}, {
|
|
||||||
sortable: false,
|
|
||||||
text: "Number",
|
|
||||||
value: "number"
|
|
||||||
}, {
|
|
||||||
sortable: false,
|
|
||||||
text: "Status",
|
|
||||||
value: "status"
|
|
||||||
}, {
|
|
||||||
sortable: false,
|
|
||||||
text: "Action",
|
|
||||||
value: "action",
|
|
||||||
align: "right"
|
|
||||||
}],
|
|
||||||
filter: {
|
|
||||||
name: '',
|
|
||||||
cell_number: '',
|
|
||||||
role: ''
|
|
||||||
},
|
|
||||||
items: [],
|
|
||||||
name: "",
|
|
||||||
roles: _config_utils__WEBPACK_IMPORTED_MODULE_4__["roles"]
|
|
||||||
};
|
|
||||||
},
|
|
||||||
created: function created() {
|
|
||||||
if (this.$route.params.medicalCenter) {
|
|
||||||
this.load();
|
|
||||||
}
|
|
||||||
},
|
|
||||||
methods: _objectSpread({
|
|
||||||
load: function () {
|
|
||||||
var _load = _asyncToGenerator(
|
|
||||||
/*#__PURE__*/
|
|
||||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee() {
|
|
||||||
var medicalCenterId, filter, key, result;
|
|
||||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee$(_context) {
|
|
||||||
while (1) {
|
|
||||||
switch (_context.prev = _context.next) {
|
|
||||||
case 0:
|
|
||||||
medicalCenterId = this.$route.params.medicalCenter;
|
|
||||||
filter = "?";
|
|
||||||
|
|
||||||
for (key in this.filter) {
|
|
||||||
if (this.filter.hasOwnProperty(key)) {
|
|
||||||
filter += "".concat(key, "=").concat(this.filter[key], "&");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
_context.next = 5;
|
|
||||||
return _services__WEBPACK_IMPORTED_MODULE_1__["ApiService"].get(_config_urls__WEBPACK_IMPORTED_MODULE_3__["urls"].listOpertorMedicalCenter(medicalCenterId, filter));
|
|
||||||
|
|
||||||
case 5:
|
|
||||||
result = _context.sent;
|
|
||||||
|
|
||||||
if (result && result.status == 200) {
|
|
||||||
this.items = result.data.data.users;
|
|
||||||
this.name = result.data.data.name;
|
|
||||||
} else {
|
|
||||||
this.$router.push({
|
|
||||||
name: "Dashboard"
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
case 7:
|
|
||||||
case "end":
|
|
||||||
return _context.stop();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}, _callee, this);
|
|
||||||
}));
|
|
||||||
|
|
||||||
function load() {
|
|
||||||
return _load.apply(this, arguments);
|
|
||||||
}
|
|
||||||
|
|
||||||
return load;
|
|
||||||
}(),
|
|
||||||
changeStatus: function () {
|
|
||||||
var _changeStatus = _asyncToGenerator(
|
|
||||||
/*#__PURE__*/
|
|
||||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee2(userId) {
|
|
||||||
var result, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, user;
|
|
||||||
|
|
||||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee2$(_context2) {
|
|
||||||
while (1) {
|
|
||||||
switch (_context2.prev = _context2.next) {
|
|
||||||
case 0:
|
|
||||||
_context2.next = 2;
|
|
||||||
return _services__WEBPACK_IMPORTED_MODULE_1__["ApiService"].post(_config_urls__WEBPACK_IMPORTED_MODULE_3__["urls"].changeStatusUser(userId));
|
|
||||||
|
|
||||||
case 2:
|
|
||||||
result = _context2.sent;
|
|
||||||
|
|
||||||
if (!(result && result.status == 200)) {
|
|
||||||
_context2.next = 25;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
_iteratorNormalCompletion = true;
|
|
||||||
_didIteratorError = false;
|
|
||||||
_iteratorError = undefined;
|
|
||||||
_context2.prev = 7;
|
|
||||||
|
|
||||||
for (_iterator = this.items[Symbol.iterator](); !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
|
|
||||||
user = _step.value;
|
|
||||||
|
|
||||||
if (user.id == userId) {
|
|
||||||
user.status = result.data.data.status;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
_context2.next = 15;
|
|
||||||
break;
|
|
||||||
|
|
||||||
case 11:
|
|
||||||
_context2.prev = 11;
|
|
||||||
_context2.t0 = _context2["catch"](7);
|
|
||||||
_didIteratorError = true;
|
|
||||||
_iteratorError = _context2.t0;
|
|
||||||
|
|
||||||
case 15:
|
|
||||||
_context2.prev = 15;
|
|
||||||
_context2.prev = 16;
|
|
||||||
|
|
||||||
if (!_iteratorNormalCompletion && _iterator.return != null) {
|
|
||||||
_iterator.return();
|
|
||||||
}
|
|
||||||
|
|
||||||
case 18:
|
|
||||||
_context2.prev = 18;
|
|
||||||
|
|
||||||
if (!_didIteratorError) {
|
|
||||||
_context2.next = 21;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
throw _iteratorError;
|
|
||||||
|
|
||||||
case 21:
|
|
||||||
return _context2.finish(18);
|
|
||||||
|
|
||||||
case 22:
|
|
||||||
return _context2.finish(15);
|
|
||||||
|
|
||||||
case 23:
|
|
||||||
_context2.next = 26;
|
|
||||||
break;
|
|
||||||
|
|
||||||
case 25:
|
|
||||||
this.$router.push({
|
|
||||||
name: "Dashboard"
|
|
||||||
});
|
|
||||||
|
|
||||||
case 26:
|
|
||||||
case "end":
|
|
||||||
return _context2.stop();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}, _callee2, this, [[7, 11, 15, 23], [16,, 18, 22]]);
|
|
||||||
}));
|
|
||||||
|
|
||||||
function changeStatus(_x) {
|
|
||||||
return _changeStatus.apply(this, arguments);
|
|
||||||
}
|
|
||||||
|
|
||||||
return changeStatus;
|
|
||||||
}()
|
|
||||||
}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__["mapMutations"])("modal", ["changeCurrentModal"]), {
|
|
||||||
changeRoleModal: function changeRoleModal(user) {
|
|
||||||
this.changeCurrentModal({
|
|
||||||
modal: "modal-user-role",
|
|
||||||
properties: {
|
|
||||||
user: user
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
remove: function () {
|
|
||||||
var _remove = _asyncToGenerator(
|
|
||||||
/*#__PURE__*/
|
|
||||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee3(userId) {
|
|
||||||
var result, key;
|
|
||||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee3$(_context3) {
|
|
||||||
while (1) {
|
|
||||||
switch (_context3.prev = _context3.next) {
|
|
||||||
case 0:
|
|
||||||
_context3.next = 2;
|
|
||||||
return _services__WEBPACK_IMPORTED_MODULE_1__["ApiService"].delete(_config_urls__WEBPACK_IMPORTED_MODULE_3__["urls"].deleteUser(userId));
|
|
||||||
|
|
||||||
case 2:
|
|
||||||
result = _context3.sent;
|
|
||||||
|
|
||||||
if (result && result.status == 200) {
|
|
||||||
for (key in this.items) {
|
|
||||||
if (this.items.hasOwnProperty(key) && this.items[key].id == userId) {
|
|
||||||
this.items.splice(key, 1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
case 4:
|
|
||||||
case "end":
|
|
||||||
return _context3.stop();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}, _callee3, this);
|
|
||||||
}));
|
|
||||||
|
|
||||||
function remove(_x2) {
|
|
||||||
return _remove.apply(this, arguments);
|
|
||||||
}
|
|
||||||
|
|
||||||
return remove;
|
|
||||||
}()
|
|
||||||
}),
|
|
||||||
computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_2__["mapGetters"])("modal", ["getModalResult"])),
|
|
||||||
watch: {
|
|
||||||
getModalResult: function getModalResult(user) {
|
|
||||||
var _iteratorNormalCompletion2 = true;
|
|
||||||
var _didIteratorError2 = false;
|
|
||||||
var _iteratorError2 = undefined;
|
|
||||||
|
|
||||||
try {
|
|
||||||
for (var _iterator2 = this.items[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {
|
|
||||||
var userList = _step2.value;
|
|
||||||
|
|
||||||
if (userList.id == user.id) {
|
|
||||||
userList.roles = user.roles;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} catch (err) {
|
|
||||||
_didIteratorError2 = true;
|
|
||||||
_iteratorError2 = err;
|
|
||||||
} finally {
|
|
||||||
try {
|
|
||||||
if (!_iteratorNormalCompletion2 && _iterator2.return != null) {
|
|
||||||
_iterator2.return();
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
if (_didIteratorError2) {
|
|
||||||
throw _iteratorError2;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/MedicalCenter/OperatorList.vue?vue&type=template&id=a2d4b11a&":
|
|
||||||
/*!****************************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/MedicalCenter/OperatorList.vue?vue&type=template&id=a2d4b11a& ***!
|
|
||||||
\****************************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
|
|
||||||
var render = function() {
|
|
||||||
var _vm = this
|
|
||||||
var _h = _vm.$createElement
|
|
||||||
var _c = _vm._self._c || _h
|
|
||||||
return _c(
|
|
||||||
"v-container",
|
|
||||||
{ attrs: { "grid-list-xs": "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"material-card",
|
|
||||||
{
|
|
||||||
attrs: {
|
|
||||||
color: "black",
|
|
||||||
title: "Operator List " + _vm.name,
|
|
||||||
text: ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{ staticClass: "px-5 mb-3", attrs: { row: "", wrap: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", md3: "", xs3: "" } },
|
|
||||||
[
|
|
||||||
_c("v-text-field", {
|
|
||||||
staticClass: "pa-2",
|
|
||||||
attrs: { name: "Name", label: "Name", color: "black" },
|
|
||||||
model: {
|
|
||||||
value: _vm.filter.name,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.$set(_vm.filter, "name", $$v)
|
|
||||||
},
|
|
||||||
expression: "filter.name"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", md3: "", xs3: "" } },
|
|
||||||
[
|
|
||||||
_c("v-text-field", {
|
|
||||||
staticClass: "pa-2",
|
|
||||||
attrs: {
|
|
||||||
name: "cell_number",
|
|
||||||
label: "Cell Number",
|
|
||||||
color: "black"
|
|
||||||
},
|
|
||||||
model: {
|
|
||||||
value: _vm.filter.cell_number,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.$set(_vm.filter, "cell_number", $$v)
|
|
||||||
},
|
|
||||||
expression: "filter.cell_number"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", md2: "", xs3: "" } },
|
|
||||||
[
|
|
||||||
_c("v-select", {
|
|
||||||
staticClass: "pa-2",
|
|
||||||
attrs: {
|
|
||||||
items: _vm.roles,
|
|
||||||
name: "roles",
|
|
||||||
label: "Roles",
|
|
||||||
color: "black"
|
|
||||||
},
|
|
||||||
model: {
|
|
||||||
value: _vm.filter.role,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.$set(_vm.filter, "role", $$v)
|
|
||||||
},
|
|
||||||
expression: "filter.role"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{
|
|
||||||
staticClass: "text-xs-right",
|
|
||||||
attrs: { xs12: "", md2: "", sm2: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass: "WM-CyanBlueGradient-BG",
|
|
||||||
staticStyle: { padding: "10px 60px" },
|
|
||||||
on: { click: _vm.load }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{ staticClass: "white--text mr-2 caption" },
|
|
||||||
[_vm._v("fas fa-search")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("span", { staticClass: "white--text" }, [
|
|
||||||
_vm._v("Filter")
|
|
||||||
])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("v-spacer"),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{
|
|
||||||
staticClass: "text-xs-right",
|
|
||||||
attrs: { xs12: "", md2: "", sm2: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"router-link",
|
|
||||||
{
|
|
||||||
attrs: {
|
|
||||||
to: "/add-operator/" + _vm.$route.params.medicalCenter
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black"
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{ staticClass: "black--text mr-2 caption" },
|
|
||||||
[_vm._v("fas fa-plus")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("span", { staticClass: "black--text" }, [
|
|
||||||
_vm._v("Add")
|
|
||||||
])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{
|
|
||||||
staticClass: "px-5 mt-3",
|
|
||||||
attrs: {
|
|
||||||
row: "",
|
|
||||||
"align-center": "",
|
|
||||||
"justify-center": "",
|
|
||||||
wrap: ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { md12: "" } },
|
|
||||||
[
|
|
||||||
_c("v-data-table", {
|
|
||||||
attrs: {
|
|
||||||
headers: _vm.headers,
|
|
||||||
items: _vm.items,
|
|
||||||
"hide-actions": ""
|
|
||||||
},
|
|
||||||
scopedSlots: _vm._u([
|
|
||||||
{
|
|
||||||
key: "headerCell",
|
|
||||||
fn: function(ref) {
|
|
||||||
var header = ref.header
|
|
||||||
return [
|
|
||||||
_c("span", {
|
|
||||||
staticClass:
|
|
||||||
"subheading font-weight-light text-white text--darken-3",
|
|
||||||
domProps: { textContent: _vm._s(header.text) }
|
|
||||||
})
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
key: "items",
|
|
||||||
fn: function(ref) {
|
|
||||||
var item = ref.item
|
|
||||||
return [
|
|
||||||
_c(
|
|
||||||
"td",
|
|
||||||
{ staticClass: "headline font-weight-light" },
|
|
||||||
[_vm._v(_vm._s(item.name))]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"td",
|
|
||||||
{ staticClass: "title font-weight-light" },
|
|
||||||
_vm._l(item.roles, function(role, key) {
|
|
||||||
return _c("span", { key: key }, [
|
|
||||||
_vm._v(_vm._s(role.name))
|
|
||||||
])
|
|
||||||
}),
|
|
||||||
0
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"td",
|
|
||||||
{ staticClass: "title font-weight-light" },
|
|
||||||
[_vm._v(_vm._s(item.cell_number))]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"td",
|
|
||||||
{ staticClass: "title font-weight-light" },
|
|
||||||
[_vm._v(_vm._s(item.status))]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"td",
|
|
||||||
{ staticClass: "text-xs-right" },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass: "mr-2 WM-ActionButton",
|
|
||||||
attrs: {
|
|
||||||
color:
|
|
||||||
item.status == "Active"
|
|
||||||
? "red"
|
|
||||||
: "green"
|
|
||||||
},
|
|
||||||
on: {
|
|
||||||
click: function($event) {
|
|
||||||
return _vm.changeStatus(item.id)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
item.status == "Active"
|
|
||||||
? [
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"white--text mr-2 caption"
|
|
||||||
},
|
|
||||||
[_vm._v("fas fa-user-tag")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
item.status == "Active"
|
|
||||||
? _c("span", [_vm._v("Susspended")])
|
|
||||||
: _vm._e()
|
|
||||||
]
|
|
||||||
: [
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"white--text mr-2 caption"
|
|
||||||
},
|
|
||||||
[_vm._v("fas fa-user-tag")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("span", [_vm._v("Active")])
|
|
||||||
]
|
|
||||||
],
|
|
||||||
2
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass: "mr-2 WM-ActionButton",
|
|
||||||
attrs: { color: "orange darken-1" },
|
|
||||||
on: {
|
|
||||||
click: function($event) {
|
|
||||||
return _vm.changeRoleModal(item)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{
|
|
||||||
staticClass: "white--text mr-2 caption"
|
|
||||||
},
|
|
||||||
[_vm._v("fas fa-user-tag")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("span", [_vm._v("Role")])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass: "WM-ActionButton",
|
|
||||||
attrs: { color: "pink" },
|
|
||||||
on: {
|
|
||||||
click: function($event) {
|
|
||||||
return _vm.remove(item.id)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{
|
|
||||||
staticClass: "white--text mr-2 caption"
|
|
||||||
},
|
|
||||||
[_vm._v("fas fa-times")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("span", [_vm._v("Remove")])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
])
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("v-divider"),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{
|
|
||||||
staticClass: "mt-3",
|
|
||||||
attrs: {
|
|
||||||
row: "",
|
|
||||||
wrap: "",
|
|
||||||
"align-center": "",
|
|
||||||
"justify-center": ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"router-link",
|
|
||||||
{ attrs: { to: "/manage-medical-center" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black ml-5"
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{ staticClass: "black--text mr-2 caption" },
|
|
||||||
[_vm._v("fas fa-chevron-left")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("span", { staticClass: "black--text" }, [
|
|
||||||
_vm._v("Back")
|
|
||||||
])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
}
|
|
||||||
var staticRenderFns = []
|
|
||||||
render._withStripped = true
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/MedicalCenter/OperatorList.vue":
|
|
||||||
/*!***************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/MedicalCenter/OperatorList.vue ***!
|
|
||||||
\***************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _OperatorList_vue_vue_type_template_id_a2d4b11a___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./OperatorList.vue?vue&type=template&id=a2d4b11a& */ "./resources/js/vue/views/MedicalCenter/OperatorList.vue?vue&type=template&id=a2d4b11a&");
|
|
||||||
/* harmony import */ var _OperatorList_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./OperatorList.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/MedicalCenter/OperatorList.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* normalize component */
|
|
||||||
|
|
||||||
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
|
||||||
_OperatorList_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
||||||
_OperatorList_vue_vue_type_template_id_a2d4b11a___WEBPACK_IMPORTED_MODULE_0__["render"],
|
|
||||||
_OperatorList_vue_vue_type_template_id_a2d4b11a___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
|
||||||
false,
|
|
||||||
null,
|
|
||||||
null,
|
|
||||||
null
|
|
||||||
|
|
||||||
)
|
|
||||||
|
|
||||||
/* hot reload */
|
|
||||||
if (false) { var api; }
|
|
||||||
component.options.__file = "resources/js/vue/views/MedicalCenter/OperatorList.vue"
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/MedicalCenter/OperatorList.vue?vue&type=script&lang=js&":
|
|
||||||
/*!****************************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/MedicalCenter/OperatorList.vue?vue&type=script&lang=js& ***!
|
|
||||||
\****************************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_OperatorList_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/babel-loader/lib??ref--4-0!../../../../../node_modules/vue-loader/lib??vue-loader-options!./OperatorList.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/MedicalCenter/OperatorList.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_OperatorList_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/MedicalCenter/OperatorList.vue?vue&type=template&id=a2d4b11a&":
|
|
||||||
/*!**********************************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/MedicalCenter/OperatorList.vue?vue&type=template&id=a2d4b11a& ***!
|
|
||||||
\**********************************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_OperatorList_vue_vue_type_template_id_a2d4b11a___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../node_modules/vue-loader/lib??vue-loader-options!./OperatorList.vue?vue&type=template&id=a2d4b11a& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/MedicalCenter/OperatorList.vue?vue&type=template&id=a2d4b11a&");
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_OperatorList_vue_vue_type_template_id_a2d4b11a___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
|
||||||
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_OperatorList_vue_vue_type_template_id_a2d4b11a___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ })
|
|
||||||
|
|
||||||
}]);
|
|
||||||
-274
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-842
@@ -1,842 +0,0 @@
|
|||||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[18],{
|
|
||||||
|
|
||||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/NotWorking/Notifications.vue?vue&type=script&lang=js&":
|
|
||||||
/*!**********************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/NotWorking/Notifications.vue?vue&type=script&lang=js& ***!
|
|
||||||
\**********************************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
||||||
data: function data() {
|
|
||||||
return {
|
|
||||||
color: null,
|
|
||||||
colors: ['purple', 'info', 'success', 'warning', 'error'],
|
|
||||||
top: true,
|
|
||||||
bottom: false,
|
|
||||||
left: false,
|
|
||||||
right: false,
|
|
||||||
snackbar: false
|
|
||||||
};
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
snack: function snack() {
|
|
||||||
this.top = false;
|
|
||||||
this.bottom = false;
|
|
||||||
this.left = false;
|
|
||||||
this.right = false;
|
|
||||||
|
|
||||||
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
||||||
args[_key] = arguments[_key];
|
|
||||||
}
|
|
||||||
|
|
||||||
for (var _i = 0, _args = args; _i < _args.length; _i++) {
|
|
||||||
var loc = _args[_i];
|
|
||||||
this[loc] = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
this.color = this.colors[Math.floor(Math.random() * this.colors.length)];
|
|
||||||
this.snackbar = true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/NotWorking/Notifications.vue?vue&type=template&id=58b67e1f&":
|
|
||||||
/*!**************************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/NotWorking/Notifications.vue?vue&type=template&id=58b67e1f& ***!
|
|
||||||
\**************************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
|
|
||||||
var render = function() {
|
|
||||||
var _vm = this
|
|
||||||
var _h = _vm.$createElement
|
|
||||||
var _c = _vm._self._c || _h
|
|
||||||
return _c(
|
|
||||||
"v-container",
|
|
||||||
{ attrs: { fluid: "", "grid-list-xl": "", "fill-height": "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{ attrs: { "justify-center": "", "align-center": "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"material-card",
|
|
||||||
{ attrs: { color: "green" } },
|
|
||||||
[
|
|
||||||
_c("div", { attrs: { slot: "header" }, slot: "header" }, [
|
|
||||||
_c("div", { staticClass: "title font-weight-light mb-2" }, [
|
|
||||||
_vm._v("Notifications")
|
|
||||||
]),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"div",
|
|
||||||
{ staticClass: "category" },
|
|
||||||
[
|
|
||||||
_vm._v(
|
|
||||||
"\n Handcrafted by us with\n "
|
|
||||||
),
|
|
||||||
_c("v-icon", { attrs: { size: "17" } }, [
|
|
||||||
_vm._v("\n mdi-heart\n ")
|
|
||||||
])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
]),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-card-text",
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{ attrs: { row: "", wrap: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { md6: "", sm12: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"h2",
|
|
||||||
{ staticClass: "title font-weight-light mb-3" },
|
|
||||||
[_vm._v("Notifications Style")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"material-notification",
|
|
||||||
{
|
|
||||||
staticClass: "mb-3",
|
|
||||||
attrs: { color: "info" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_vm._v(
|
|
||||||
"\n This is a plain notification\n "
|
|
||||||
)
|
|
||||||
]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"material-notification",
|
|
||||||
{
|
|
||||||
staticClass: "mb-3",
|
|
||||||
attrs: { color: "info", dismissible: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_vm._v(
|
|
||||||
"\n This is a notification with close button.\n "
|
|
||||||
)
|
|
||||||
]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"material-notification",
|
|
||||||
{
|
|
||||||
staticClass: "mb-3",
|
|
||||||
attrs: {
|
|
||||||
color: "info",
|
|
||||||
dismissible: "",
|
|
||||||
icon: "mdi-bell-plus"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_vm._v(
|
|
||||||
"\n\n This is a notification with close button and icon.\n "
|
|
||||||
)
|
|
||||||
]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"material-notification",
|
|
||||||
{
|
|
||||||
staticClass: "mb-3",
|
|
||||||
attrs: {
|
|
||||||
color: "info",
|
|
||||||
dismissible: "",
|
|
||||||
icon: "mdi-bell-plus"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_vm._v(
|
|
||||||
"\n\n This is a notification with close button and icon and have many lines. You can see that the icon and the close button are always vertically aligned. This is a beautiful notification. So you don't have to worry about the style.\n "
|
|
||||||
)
|
|
||||||
]
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { md6: "", sm12: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"h2",
|
|
||||||
{ staticClass: "title font-weight-light" },
|
|
||||||
[_vm._v("Notifcation States")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"material-notification",
|
|
||||||
{
|
|
||||||
staticClass: "mb-3",
|
|
||||||
attrs: { color: "info", dismissible: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c("strong", [_vm._v("INFO")]),
|
|
||||||
_vm._v(
|
|
||||||
' - This is a regular notification made with `color="info"`\n '
|
|
||||||
)
|
|
||||||
]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"material-notification",
|
|
||||||
{
|
|
||||||
staticClass: "mb-3",
|
|
||||||
attrs: { color: "success", dismissible: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c("strong", [_vm._v("SUCCESS")]),
|
|
||||||
_vm._v(
|
|
||||||
' - This is a regular notification made with `color="success"`\n '
|
|
||||||
)
|
|
||||||
]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"material-notification",
|
|
||||||
{
|
|
||||||
staticClass: "mb-3",
|
|
||||||
attrs: { color: "warning", dismissible: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c("strong", [_vm._v("WARNING")]),
|
|
||||||
_vm._v(
|
|
||||||
' - This is a regular notification made with `color="warning"`\n '
|
|
||||||
)
|
|
||||||
]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"material-notification",
|
|
||||||
{
|
|
||||||
staticClass: "mb-3",
|
|
||||||
attrs: { color: "error", dismissible: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c("strong", [_vm._v("DANGER")]),
|
|
||||||
_vm._v(
|
|
||||||
' - This is a regular notification made with `color="error"`\n '
|
|
||||||
)
|
|
||||||
]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"material-notification",
|
|
||||||
{
|
|
||||||
staticClass: "mb-3",
|
|
||||||
attrs: { color: "purple", dismissible: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c("strong", [_vm._v("PRIMARY")]),
|
|
||||||
_vm._v(
|
|
||||||
' - This is a regular notification made with `color="purple"`\n '
|
|
||||||
)
|
|
||||||
]
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("div", { staticClass: "text-xs-center" }, [
|
|
||||||
_c(
|
|
||||||
"h2",
|
|
||||||
{ staticClass: "title font-weight-light mb-2" },
|
|
||||||
[_vm._v("Notification Places")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"span",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
" subheading font-weight-light grey--text"
|
|
||||||
},
|
|
||||||
[_vm._v("Click to view notifications")]
|
|
||||||
)
|
|
||||||
]),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-container",
|
|
||||||
{ attrs: { "grid-list-lg": "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{
|
|
||||||
attrs: { "justify-center": "", row: "", wrap: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", sm4: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
attrs: { block: "", color: "success" },
|
|
||||||
on: {
|
|
||||||
click: function($event) {
|
|
||||||
return _vm.snack("top", "left")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_vm._v(
|
|
||||||
"\n Top Left\n "
|
|
||||||
)
|
|
||||||
]
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", sm4: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
attrs: { block: "", color: "success" },
|
|
||||||
on: {
|
|
||||||
click: function($event) {
|
|
||||||
return _vm.snack("top")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_vm._v(
|
|
||||||
"\n Top Center\n "
|
|
||||||
)
|
|
||||||
]
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{
|
|
||||||
attrs: { "justify-center": "", row: "", wrap: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", sm4: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
attrs: { block: "", color: "success" },
|
|
||||||
on: {
|
|
||||||
click: function($event) {
|
|
||||||
return _vm.snack("top", "right")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_vm._v(
|
|
||||||
"\n Top Right\n "
|
|
||||||
)
|
|
||||||
]
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", sm4: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
attrs: { block: "", color: "success" },
|
|
||||||
on: {
|
|
||||||
click: function($event) {
|
|
||||||
return _vm.snack("bottom", "left")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_vm._v(
|
|
||||||
"\n Bottom Left\n "
|
|
||||||
)
|
|
||||||
]
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{
|
|
||||||
attrs: { "justify-center": "", row: "", wrap: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", sm4: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
attrs: { block: "", color: "success" },
|
|
||||||
on: {
|
|
||||||
click: function($event) {
|
|
||||||
return _vm.snack("bottom")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_vm._v(
|
|
||||||
"\n Bottom Center\n "
|
|
||||||
)
|
|
||||||
]
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", sm4: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
attrs: { block: "", color: "success" },
|
|
||||||
on: {
|
|
||||||
click: function($event) {
|
|
||||||
return _vm.snack("bottom", "right")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_vm._v(
|
|
||||||
"\n Bottom Right\n "
|
|
||||||
)
|
|
||||||
]
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-snackbar",
|
|
||||||
{
|
|
||||||
attrs: {
|
|
||||||
color: _vm.color,
|
|
||||||
bottom: _vm.bottom,
|
|
||||||
top: _vm.top,
|
|
||||||
left: _vm.left,
|
|
||||||
right: _vm.right,
|
|
||||||
dark: ""
|
|
||||||
},
|
|
||||||
model: {
|
|
||||||
value: _vm.snackbar,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.snackbar = $$v
|
|
||||||
},
|
|
||||||
expression: "snackbar"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{ staticClass: "mr-3", attrs: { color: "white" } },
|
|
||||||
[
|
|
||||||
_vm._v(
|
|
||||||
"\n mdi-bell-plus\n "
|
|
||||||
)
|
|
||||||
]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("div", [
|
|
||||||
_vm._v("Welcome to "),
|
|
||||||
_c("b", [_vm._v("Vue Material Dashboard")]),
|
|
||||||
_vm._v(
|
|
||||||
" - a beautiful freebie for every web developer."
|
|
||||||
)
|
|
||||||
]),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{
|
|
||||||
attrs: { size: "16" },
|
|
||||||
on: {
|
|
||||||
click: function($event) {
|
|
||||||
_vm.snackbar = false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_vm._v(
|
|
||||||
"\n mdi-close-circle\n "
|
|
||||||
)
|
|
||||||
]
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
}
|
|
||||||
var staticRenderFns = []
|
|
||||||
render._withStripped = true
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/NotWorking/Notifications.vue":
|
|
||||||
/*!*************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/NotWorking/Notifications.vue ***!
|
|
||||||
\*************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _Notifications_vue_vue_type_template_id_58b67e1f___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Notifications.vue?vue&type=template&id=58b67e1f& */ "./resources/js/vue/views/NotWorking/Notifications.vue?vue&type=template&id=58b67e1f&");
|
|
||||||
/* harmony import */ var _Notifications_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Notifications.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/NotWorking/Notifications.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* normalize component */
|
|
||||||
|
|
||||||
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
|
||||||
_Notifications_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
||||||
_Notifications_vue_vue_type_template_id_58b67e1f___WEBPACK_IMPORTED_MODULE_0__["render"],
|
|
||||||
_Notifications_vue_vue_type_template_id_58b67e1f___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
|
||||||
false,
|
|
||||||
null,
|
|
||||||
null,
|
|
||||||
null
|
|
||||||
|
|
||||||
)
|
|
||||||
|
|
||||||
/* hot reload */
|
|
||||||
if (false) { var api; }
|
|
||||||
component.options.__file = "resources/js/vue/views/NotWorking/Notifications.vue"
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/NotWorking/Notifications.vue?vue&type=script&lang=js&":
|
|
||||||
/*!**************************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/NotWorking/Notifications.vue?vue&type=script&lang=js& ***!
|
|
||||||
\**************************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Notifications_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/babel-loader/lib??ref--4-0!../../../../../node_modules/vue-loader/lib??vue-loader-options!./Notifications.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/NotWorking/Notifications.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Notifications_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/NotWorking/Notifications.vue?vue&type=template&id=58b67e1f&":
|
|
||||||
/*!********************************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/NotWorking/Notifications.vue?vue&type=template&id=58b67e1f& ***!
|
|
||||||
\********************************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Notifications_vue_vue_type_template_id_58b67e1f___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../node_modules/vue-loader/lib??vue-loader-options!./Notifications.vue?vue&type=template&id=58b67e1f& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/NotWorking/Notifications.vue?vue&type=template&id=58b67e1f&");
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Notifications_vue_vue_type_template_id_58b67e1f___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
|
||||||
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Notifications_vue_vue_type_template_id_58b67e1f___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ })
|
|
||||||
|
|
||||||
}]);
|
|
||||||
File diff suppressed because one or more lines are too long
-381
@@ -1,381 +0,0 @@
|
|||||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[19],{
|
|
||||||
|
|
||||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/NotWorking/TableList.vue?vue&type=script&lang=js&":
|
|
||||||
/*!******************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/NotWorking/TableList.vue?vue&type=script&lang=js& ***!
|
|
||||||
\******************************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
||||||
data: function data() {
|
|
||||||
return {
|
|
||||||
headers: [{
|
|
||||||
sortable: false,
|
|
||||||
text: 'Name',
|
|
||||||
value: 'name'
|
|
||||||
}, {
|
|
||||||
sortable: false,
|
|
||||||
text: 'Country',
|
|
||||||
value: 'country'
|
|
||||||
}, {
|
|
||||||
sortable: false,
|
|
||||||
text: 'City',
|
|
||||||
value: 'city'
|
|
||||||
}, {
|
|
||||||
sortable: false,
|
|
||||||
text: 'Salary',
|
|
||||||
value: 'salary',
|
|
||||||
align: 'right'
|
|
||||||
}],
|
|
||||||
items: [{
|
|
||||||
name: 'Dakota Rice',
|
|
||||||
country: 'Niger',
|
|
||||||
city: 'Oud-Tunrhout',
|
|
||||||
salary: '$35,738'
|
|
||||||
}, {
|
|
||||||
name: 'Minerva Hooper',
|
|
||||||
country: 'Curaçao',
|
|
||||||
city: 'Sinaai-Waas',
|
|
||||||
salary: '$23,738'
|
|
||||||
}, {
|
|
||||||
name: 'Sage Rodriguez',
|
|
||||||
country: 'Netherlands',
|
|
||||||
city: 'Overland Park',
|
|
||||||
salary: '$56,142'
|
|
||||||
}, {
|
|
||||||
name: 'Philip Chanley',
|
|
||||||
country: 'Korea, South',
|
|
||||||
city: 'Gloucester',
|
|
||||||
salary: '$38,735'
|
|
||||||
}, {
|
|
||||||
name: 'Doris Greene',
|
|
||||||
country: 'Malawi',
|
|
||||||
city: 'Feldkirchen in Kārnten',
|
|
||||||
salary: '$63,542'
|
|
||||||
}, {
|
|
||||||
name: 'Mason Porter',
|
|
||||||
country: 'Chile',
|
|
||||||
city: 'Gloucester',
|
|
||||||
salary: '$78,615'
|
|
||||||
}]
|
|
||||||
};
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/NotWorking/TableList.vue?vue&type=template&id=6e46e843&":
|
|
||||||
/*!**********************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/NotWorking/TableList.vue?vue&type=template&id=6e46e843& ***!
|
|
||||||
\**********************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
|
|
||||||
var render = function() {
|
|
||||||
var _vm = this
|
|
||||||
var _h = _vm.$createElement
|
|
||||||
var _c = _vm._self._c || _h
|
|
||||||
return _c(
|
|
||||||
"v-container",
|
|
||||||
{ attrs: { "fill-height": "", fluid: "", "grid-list-xl": "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{ attrs: { "justify-center": "", wrap: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { md12: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"material-card",
|
|
||||||
{
|
|
||||||
attrs: {
|
|
||||||
color: "green",
|
|
||||||
title: "Simple Table",
|
|
||||||
text: "Here is a subtitle for this table"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c("v-data-table", {
|
|
||||||
attrs: {
|
|
||||||
headers: _vm.headers,
|
|
||||||
items: _vm.items,
|
|
||||||
"hide-actions": ""
|
|
||||||
},
|
|
||||||
scopedSlots: _vm._u([
|
|
||||||
{
|
|
||||||
key: "headerCell",
|
|
||||||
fn: function(ref) {
|
|
||||||
var header = ref.header
|
|
||||||
return [
|
|
||||||
_c("span", {
|
|
||||||
staticClass:
|
|
||||||
"subheading font-weight-light text-success text--darken-3",
|
|
||||||
domProps: { textContent: _vm._s(header.text) }
|
|
||||||
})
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
key: "items",
|
|
||||||
fn: function(ref) {
|
|
||||||
var item = ref.item
|
|
||||||
return [
|
|
||||||
_c("td", [_vm._v(_vm._s(item.name))]),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("td", [_vm._v(_vm._s(item.country))]),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("td", [_vm._v(_vm._s(item.city))]),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("td", { staticClass: "text-xs-right" }, [
|
|
||||||
_vm._v(_vm._s(item.salary))
|
|
||||||
])
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
])
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { md12: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"material-card",
|
|
||||||
{
|
|
||||||
attrs: {
|
|
||||||
color: "green",
|
|
||||||
flat: "",
|
|
||||||
"full-width": "",
|
|
||||||
title: "Table on Plain Background",
|
|
||||||
text: "Here is a subtitle for this table"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c("v-data-table", {
|
|
||||||
attrs: {
|
|
||||||
headers: _vm.headers,
|
|
||||||
items: _vm.items.slice(0, 7),
|
|
||||||
"hide-actions": ""
|
|
||||||
},
|
|
||||||
scopedSlots: _vm._u([
|
|
||||||
{
|
|
||||||
key: "headerCell",
|
|
||||||
fn: function(ref) {
|
|
||||||
var header = ref.header
|
|
||||||
return [
|
|
||||||
_c("span", {
|
|
||||||
staticClass:
|
|
||||||
"subheading font-weight-light text--darken-3",
|
|
||||||
domProps: { textContent: _vm._s(header.text) }
|
|
||||||
})
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
key: "items",
|
|
||||||
fn: function(ref) {
|
|
||||||
var item = ref.item
|
|
||||||
return [
|
|
||||||
_c("td", [_vm._v(_vm._s(item.name))]),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("td", [_vm._v(_vm._s(item.country))]),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("td", [_vm._v(_vm._s(item.city))]),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("td", { staticClass: "text-xs-right" }, [
|
|
||||||
_vm._v(_vm._s(item.salary))
|
|
||||||
])
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
])
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
}
|
|
||||||
var staticRenderFns = []
|
|
||||||
render._withStripped = true
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/NotWorking/TableList.vue":
|
|
||||||
/*!*********************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/NotWorking/TableList.vue ***!
|
|
||||||
\*********************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _TableList_vue_vue_type_template_id_6e46e843___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TableList.vue?vue&type=template&id=6e46e843& */ "./resources/js/vue/views/NotWorking/TableList.vue?vue&type=template&id=6e46e843&");
|
|
||||||
/* harmony import */ var _TableList_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./TableList.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/NotWorking/TableList.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* normalize component */
|
|
||||||
|
|
||||||
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
|
||||||
_TableList_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
||||||
_TableList_vue_vue_type_template_id_6e46e843___WEBPACK_IMPORTED_MODULE_0__["render"],
|
|
||||||
_TableList_vue_vue_type_template_id_6e46e843___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
|
||||||
false,
|
|
||||||
null,
|
|
||||||
null,
|
|
||||||
null
|
|
||||||
|
|
||||||
)
|
|
||||||
|
|
||||||
/* hot reload */
|
|
||||||
if (false) { var api; }
|
|
||||||
component.options.__file = "resources/js/vue/views/NotWorking/TableList.vue"
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/NotWorking/TableList.vue?vue&type=script&lang=js&":
|
|
||||||
/*!**********************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/NotWorking/TableList.vue?vue&type=script&lang=js& ***!
|
|
||||||
\**********************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TableList_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/babel-loader/lib??ref--4-0!../../../../../node_modules/vue-loader/lib??vue-loader-options!./TableList.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/NotWorking/TableList.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TableList_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/NotWorking/TableList.vue?vue&type=template&id=6e46e843&":
|
|
||||||
/*!****************************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/NotWorking/TableList.vue?vue&type=template&id=6e46e843& ***!
|
|
||||||
\****************************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_TableList_vue_vue_type_template_id_6e46e843___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../node_modules/vue-loader/lib??vue-loader-options!./TableList.vue?vue&type=template&id=6e46e843& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/NotWorking/TableList.vue?vue&type=template&id=6e46e843&");
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_TableList_vue_vue_type_template_id_6e46e843___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
|
||||||
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_TableList_vue_vue_type_template_id_6e46e843___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ })
|
|
||||||
|
|
||||||
}]);
|
|
||||||
File diff suppressed because one or more lines are too long
-717
@@ -1,717 +0,0 @@
|
|||||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[2],{
|
|
||||||
|
|
||||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/MedicalCenter/List.vue?vue&type=script&lang=js&":
|
|
||||||
/*!****************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/MedicalCenter/List.vue?vue&type=script&lang=js& ***!
|
|
||||||
\****************************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ "./node_modules/@babel/runtime/regenerator/index.js");
|
|
||||||
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);
|
|
||||||
/* harmony import */ var _services__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/services */ "./resources/js/vue/services/index.js");
|
|
||||||
/* harmony import */ var _config_urls__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/config/urls */ "./resources/js/vue/config/urls.js");
|
|
||||||
|
|
||||||
|
|
||||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
||||||
|
|
||||||
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
||||||
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
|
|
||||||
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
||||||
data: function data() {
|
|
||||||
return {
|
|
||||||
headers: [{
|
|
||||||
sortable: false,
|
|
||||||
text: "Hospital Name",
|
|
||||||
value: "name"
|
|
||||||
}, {
|
|
||||||
sortable: false,
|
|
||||||
text: "Date",
|
|
||||||
value: "date"
|
|
||||||
}, {
|
|
||||||
sortable: false,
|
|
||||||
text: "Operator",
|
|
||||||
value: "operator"
|
|
||||||
}, {
|
|
||||||
sortable: false,
|
|
||||||
text: "Action",
|
|
||||||
value: "action",
|
|
||||||
align: "right"
|
|
||||||
}],
|
|
||||||
filter: {
|
|
||||||
name: ''
|
|
||||||
},
|
|
||||||
items: [],
|
|
||||||
currentPage: 1,
|
|
||||||
lastPage: 1
|
|
||||||
};
|
|
||||||
},
|
|
||||||
created: function created() {
|
|
||||||
this.load();
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
load: function () {
|
|
||||||
var _load = _asyncToGenerator(
|
|
||||||
/*#__PURE__*/
|
|
||||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee() {
|
|
||||||
var page,
|
|
||||||
filter,
|
|
||||||
result,
|
|
||||||
_args = arguments;
|
|
||||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee$(_context) {
|
|
||||||
while (1) {
|
|
||||||
switch (_context.prev = _context.next) {
|
|
||||||
case 0:
|
|
||||||
page = _args.length > 0 && _args[0] !== undefined ? _args[0] : 1;
|
|
||||||
filter = "?page=".concat(page, "&name=").concat(this.filter.name);
|
|
||||||
_context.next = 4;
|
|
||||||
return _services__WEBPACK_IMPORTED_MODULE_1__["ApiService"].get(_config_urls__WEBPACK_IMPORTED_MODULE_2__["urls"].listMedicalCenter(filter));
|
|
||||||
|
|
||||||
case 4:
|
|
||||||
result = _context.sent;
|
|
||||||
this.items = result.data.data.data;
|
|
||||||
this.currentPage = result.data.data.current_page;
|
|
||||||
this.lastPage = result.data.data.last_page;
|
|
||||||
|
|
||||||
case 8:
|
|
||||||
case "end":
|
|
||||||
return _context.stop();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}, _callee, this);
|
|
||||||
}));
|
|
||||||
|
|
||||||
function load() {
|
|
||||||
return _load.apply(this, arguments);
|
|
||||||
}
|
|
||||||
|
|
||||||
return load;
|
|
||||||
}(),
|
|
||||||
remove: function () {
|
|
||||||
var _remove = _asyncToGenerator(
|
|
||||||
/*#__PURE__*/
|
|
||||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee2(id) {
|
|
||||||
var result, key;
|
|
||||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee2$(_context2) {
|
|
||||||
while (1) {
|
|
||||||
switch (_context2.prev = _context2.next) {
|
|
||||||
case 0:
|
|
||||||
_context2.next = 2;
|
|
||||||
return _services__WEBPACK_IMPORTED_MODULE_1__["ApiService"].delete(_config_urls__WEBPACK_IMPORTED_MODULE_2__["urls"].deleteMedicalCenter(id));
|
|
||||||
|
|
||||||
case 2:
|
|
||||||
result = _context2.sent;
|
|
||||||
|
|
||||||
if (result && result.status == 200) {
|
|
||||||
for (key in this.items) {
|
|
||||||
if (this.items.hasOwnProperty(key) && this.items[key].id == id) {
|
|
||||||
this.items.splice(key, 1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
case 4:
|
|
||||||
case "end":
|
|
||||||
return _context2.stop();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}, _callee2, this);
|
|
||||||
}));
|
|
||||||
|
|
||||||
function remove(_x) {
|
|
||||||
return _remove.apply(this, arguments);
|
|
||||||
}
|
|
||||||
|
|
||||||
return remove;
|
|
||||||
}()
|
|
||||||
},
|
|
||||||
watch: {
|
|
||||||
currentPage: function currentPage(page) {
|
|
||||||
this.load(page);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/MedicalCenter/List.vue?vue&type=style&index=0&id=1346f0a2&lang=css&scoped=true&":
|
|
||||||
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/css-loader/dist/cjs.js??ref--5-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--5-2!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/MedicalCenter/List.vue?vue&type=style&index=0&id=1346f0a2&lang=css&scoped=true& ***!
|
|
||||||
\***********************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! no static exports found */
|
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
|
||||||
|
|
||||||
exports = module.exports = __webpack_require__(/*! ../../../../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js")(false);
|
|
||||||
// Module
|
|
||||||
exports.push([module.i, "\n.WM-ActionButton[data-v-1346f0a2] {\r\n padding: 8px 22px;\n}\r\n", ""]);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/style-loader/index.js!./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/MedicalCenter/List.vue?vue&type=style&index=0&id=1346f0a2&lang=css&scoped=true&":
|
|
||||||
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/style-loader!./node_modules/css-loader/dist/cjs.js??ref--5-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--5-2!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/MedicalCenter/List.vue?vue&type=style&index=0&id=1346f0a2&lang=css&scoped=true& ***!
|
|
||||||
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! no static exports found */
|
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
|
||||||
|
|
||||||
|
|
||||||
var content = __webpack_require__(/*! !../../../../../node_modules/css-loader/dist/cjs.js??ref--5-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src??ref--5-2!../../../../../node_modules/vue-loader/lib??vue-loader-options!./List.vue?vue&type=style&index=0&id=1346f0a2&lang=css&scoped=true& */ "./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/MedicalCenter/List.vue?vue&type=style&index=0&id=1346f0a2&lang=css&scoped=true&");
|
|
||||||
|
|
||||||
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
||||||
|
|
||||||
var transform;
|
|
||||||
var insertInto;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
var options = {"hmr":true}
|
|
||||||
|
|
||||||
options.transform = transform
|
|
||||||
options.insertInto = undefined;
|
|
||||||
|
|
||||||
var update = __webpack_require__(/*! ../../../../../node_modules/style-loader/lib/addStyles.js */ "./node_modules/style-loader/lib/addStyles.js")(content, options);
|
|
||||||
|
|
||||||
if(content.locals) module.exports = content.locals;
|
|
||||||
|
|
||||||
if(false) {}
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/MedicalCenter/List.vue?vue&type=template&id=1346f0a2&scoped=true&":
|
|
||||||
/*!********************************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/MedicalCenter/List.vue?vue&type=template&id=1346f0a2&scoped=true& ***!
|
|
||||||
\********************************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
|
|
||||||
var render = function() {
|
|
||||||
var _vm = this
|
|
||||||
var _h = _vm.$createElement
|
|
||||||
var _c = _vm._self._c || _h
|
|
||||||
return _c(
|
|
||||||
"v-container",
|
|
||||||
{ attrs: { fluid: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"material-card",
|
|
||||||
{ attrs: { color: "black", title: "Medical Centers List", text: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{ staticClass: "px-5 mb-3", attrs: { wrap: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ staticClass: "pr-3", attrs: { xs12: "", md3: "", sm3: "" } },
|
|
||||||
[
|
|
||||||
_c("v-text-field", {
|
|
||||||
attrs: { label: "Name", color: "black" },
|
|
||||||
model: {
|
|
||||||
value: _vm.filter.name,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.$set(_vm.filter, "name", $$v)
|
|
||||||
},
|
|
||||||
expression: "filter.name"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{
|
|
||||||
staticClass: "text-xs-right",
|
|
||||||
attrs: { xs12: "", md2: "", sm2: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass: "WM-CyanBlueGradient-BG",
|
|
||||||
staticStyle: { padding: "10px 60px" },
|
|
||||||
on: { click: _vm.load }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{ staticClass: "white--text mr-2 caption" },
|
|
||||||
[_vm._v("fas fa-search")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("span", { staticClass: "white--text" }, [
|
|
||||||
_vm._v("Filter")
|
|
||||||
])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("v-spacer"),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{
|
|
||||||
staticClass: "text-xs-right",
|
|
||||||
attrs: { xs12: "", md2: "", sm2: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"router-link",
|
|
||||||
{ attrs: { to: { name: "AddMedicalCenter" } } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black"
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{ staticClass: "black--text mr-2 caption" },
|
|
||||||
[_vm._v("fas fa-plus")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("span", { staticClass: "black--text" }, [
|
|
||||||
_vm._v("Add")
|
|
||||||
])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("v-layout", { staticClass: "px-4 my-3" }, [_c("v-divider")], 1),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{
|
|
||||||
staticClass: "px-5 mt-3",
|
|
||||||
attrs: { "align-center": "", "justify-center": "", wrap: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { md12: "" } },
|
|
||||||
[
|
|
||||||
_c("v-data-table", {
|
|
||||||
attrs: {
|
|
||||||
headers: _vm.headers,
|
|
||||||
items: _vm.items,
|
|
||||||
"hide-actions": ""
|
|
||||||
},
|
|
||||||
scopedSlots: _vm._u([
|
|
||||||
{
|
|
||||||
key: "headerCell",
|
|
||||||
fn: function(ref) {
|
|
||||||
var header = ref.header
|
|
||||||
return [
|
|
||||||
_c("span", {
|
|
||||||
staticClass:
|
|
||||||
"subheading font-weight-light text-white text--darken-3",
|
|
||||||
domProps: { textContent: _vm._s(header.text) }
|
|
||||||
})
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
key: "items",
|
|
||||||
fn: function(ref) {
|
|
||||||
var item = ref.item
|
|
||||||
return [
|
|
||||||
_c(
|
|
||||||
"td",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"headline font-weight-light WM-NoLetterSpacing"
|
|
||||||
},
|
|
||||||
[_vm._v(_vm._s(item.name))]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"td",
|
|
||||||
{ staticClass: "title font-weight-light" },
|
|
||||||
[_vm._v(_vm._s(item.created_at))]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"td",
|
|
||||||
{ staticClass: "title font-weight-light" },
|
|
||||||
[_vm._v(_vm._s(item.users_count) + " Operator")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"td",
|
|
||||||
{ staticClass: "text-xs-right" },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"router-link",
|
|
||||||
{
|
|
||||||
attrs: {
|
|
||||||
to: {
|
|
||||||
name: "EditMedicalCenter",
|
|
||||||
params: { medicalCenter: item.id }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass: "mr-2 WM-ActionButton",
|
|
||||||
attrs: { color: "cyan" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"white--text mr-2 caption"
|
|
||||||
},
|
|
||||||
[_vm._v("fas fa-pen")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("span", [_vm._v("Edit")])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"router-link",
|
|
||||||
{
|
|
||||||
attrs: {
|
|
||||||
to: {
|
|
||||||
name: "OperatorList",
|
|
||||||
params: { medicalCenter: item.id }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass: "mr-2 WM-ActionButton",
|
|
||||||
attrs: { color: "orange darken-1" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"white--text mr-2 caption"
|
|
||||||
},
|
|
||||||
[_vm._v("fas fa-user")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("span", [_vm._v("Operator")])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass: "WM-ActionButton",
|
|
||||||
attrs: { color: "pink" },
|
|
||||||
on: {
|
|
||||||
click: function($event) {
|
|
||||||
return _vm.remove(item.id)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{
|
|
||||||
staticClass: "white--text mr-2 caption"
|
|
||||||
},
|
|
||||||
[_vm._v("fas fa-times")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("span", [_vm._v("Remove")])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
])
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("v-divider"),
|
|
||||||
_vm._v(" "),
|
|
||||||
_vm.lastPage > 1
|
|
||||||
? _c(
|
|
||||||
"div",
|
|
||||||
{ staticClass: "text-xs-center" },
|
|
||||||
[
|
|
||||||
_c("v-pagination", {
|
|
||||||
attrs: { length: _vm.lastPage, "total-visible": 6 },
|
|
||||||
model: {
|
|
||||||
value: _vm.currentPage,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.currentPage = $$v
|
|
||||||
},
|
|
||||||
expression: "currentPage"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
: _vm._e(),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{
|
|
||||||
staticClass: "mt-3",
|
|
||||||
attrs: {
|
|
||||||
row: "",
|
|
||||||
wrap: "",
|
|
||||||
"align-center": "",
|
|
||||||
"justify-center": ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"router-link",
|
|
||||||
{ attrs: { to: { name: "Dashboard" } } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black ml-5"
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{ staticClass: "black--text mr-2 caption" },
|
|
||||||
[_vm._v("fas fa-chevron-left")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("span", { staticClass: "black--text" }, [
|
|
||||||
_vm._v("Back")
|
|
||||||
])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
}
|
|
||||||
var staticRenderFns = []
|
|
||||||
render._withStripped = true
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/MedicalCenter/List.vue":
|
|
||||||
/*!*******************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/MedicalCenter/List.vue ***!
|
|
||||||
\*******************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _List_vue_vue_type_template_id_1346f0a2_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./List.vue?vue&type=template&id=1346f0a2&scoped=true& */ "./resources/js/vue/views/MedicalCenter/List.vue?vue&type=template&id=1346f0a2&scoped=true&");
|
|
||||||
/* harmony import */ var _List_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./List.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/MedicalCenter/List.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport *//* harmony import */ var _List_vue_vue_type_style_index_0_id_1346f0a2_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./List.vue?vue&type=style&index=0&id=1346f0a2&lang=css&scoped=true& */ "./resources/js/vue/views/MedicalCenter/List.vue?vue&type=style&index=0&id=1346f0a2&lang=css&scoped=true&");
|
|
||||||
/* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* normalize component */
|
|
||||||
|
|
||||||
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
|
|
||||||
_List_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
||||||
_List_vue_vue_type_template_id_1346f0a2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
|
|
||||||
_List_vue_vue_type_template_id_1346f0a2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
|
||||||
false,
|
|
||||||
null,
|
|
||||||
"1346f0a2",
|
|
||||||
null
|
|
||||||
|
|
||||||
)
|
|
||||||
|
|
||||||
/* hot reload */
|
|
||||||
if (false) { var api; }
|
|
||||||
component.options.__file = "resources/js/vue/views/MedicalCenter/List.vue"
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/MedicalCenter/List.vue?vue&type=script&lang=js&":
|
|
||||||
/*!********************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/MedicalCenter/List.vue?vue&type=script&lang=js& ***!
|
|
||||||
\********************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/babel-loader/lib??ref--4-0!../../../../../node_modules/vue-loader/lib??vue-loader-options!./List.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/MedicalCenter/List.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/MedicalCenter/List.vue?vue&type=style&index=0&id=1346f0a2&lang=css&scoped=true&":
|
|
||||||
/*!****************************************************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/MedicalCenter/List.vue?vue&type=style&index=0&id=1346f0a2&lang=css&scoped=true& ***!
|
|
||||||
\****************************************************************************************************************/
|
|
||||||
/*! no static exports found */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_style_index_0_id_1346f0a2_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/style-loader!../../../../../node_modules/css-loader/dist/cjs.js??ref--5-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src??ref--5-2!../../../../../node_modules/vue-loader/lib??vue-loader-options!./List.vue?vue&type=style&index=0&id=1346f0a2&lang=css&scoped=true& */ "./node_modules/style-loader/index.js!./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/MedicalCenter/List.vue?vue&type=style&index=0&id=1346f0a2&lang=css&scoped=true&");
|
|
||||||
/* harmony import */ var _node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_style_index_0_id_1346f0a2_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_style_index_0_id_1346f0a2_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
||||||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_style_index_0_id_1346f0a2_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_style_index_0_id_1346f0a2_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (_node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_style_index_0_id_1346f0a2_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/MedicalCenter/List.vue?vue&type=template&id=1346f0a2&scoped=true&":
|
|
||||||
/*!**************************************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/MedicalCenter/List.vue?vue&type=template&id=1346f0a2&scoped=true& ***!
|
|
||||||
\**************************************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_template_id_1346f0a2_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../node_modules/vue-loader/lib??vue-loader-options!./List.vue?vue&type=template&id=1346f0a2&scoped=true& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/MedicalCenter/List.vue?vue&type=template&id=1346f0a2&scoped=true&");
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_template_id_1346f0a2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
|
||||||
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_template_id_1346f0a2_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ })
|
|
||||||
|
|
||||||
}]);
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{CWmP:function(t,e,a){"use strict";a.r(e);var r={data:function(){return{headers:[{sortable:!1,text:"Name",value:"name"},{sortable:!1,text:"Country",value:"country"},{sortable:!1,text:"City",value:"city"},{sortable:!1,text:"Salary",value:"salary",align:"right"}],items:[{name:"Dakota Rice",country:"Niger",city:"Oud-Tunrhout",salary:"$35,738"},{name:"Minerva Hooper",country:"Curaçao",city:"Sinaai-Waas",salary:"$23,738"},{name:"Sage Rodriguez",country:"Netherlands",city:"Overland Park",salary:"$56,142"},{name:"Philip Chanley",country:"Korea, South",city:"Gloucester",salary:"$38,735"},{name:"Doris Greene",country:"Malawi",city:"Feldkirchen in Kārnten",salary:"$63,542"},{name:"Mason Porter",country:"Chile",city:"Gloucester",salary:"$78,615"}]}}},s=a("KHd+"),n=Object(s.a)(r,function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",{attrs:{"fill-height":"",fluid:"","grid-list-xl":""}},[a("v-layout",{attrs:{"justify-center":"",wrap:""}},[a("v-flex",{attrs:{md12:""}},[a("material-card",{attrs:{color:"green",title:"Simple Table",text:"Here is a subtitle for this table"}},[a("v-data-table",{attrs:{headers:t.headers,items:t.items,"hide-actions":""},scopedSlots:t._u([{key:"headerCell",fn:function(e){var r=e.header;return[a("span",{staticClass:"subheading font-weight-light text-success text--darken-3",domProps:{textContent:t._s(r.text)}})]}},{key:"items",fn:function(e){var r=e.item;return[a("td",[t._v(t._s(r.name))]),t._v(" "),a("td",[t._v(t._s(r.country))]),t._v(" "),a("td",[t._v(t._s(r.city))]),t._v(" "),a("td",{staticClass:"text-xs-right"},[t._v(t._s(r.salary))])]}}])})],1)],1),t._v(" "),a("v-flex",{attrs:{md12:""}},[a("material-card",{attrs:{color:"green",flat:"","full-width":"",title:"Table on Plain Background",text:"Here is a subtitle for this table"}},[a("v-data-table",{attrs:{headers:t.headers,items:t.items.slice(0,7),"hide-actions":""},scopedSlots:t._u([{key:"headerCell",fn:function(e){var r=e.header;return[a("span",{staticClass:"subheading font-weight-light text--darken-3",domProps:{textContent:t._s(r.text)}})]}},{key:"items",fn:function(e){var r=e.item;return[a("td",[t._v(t._s(r.name))]),t._v(" "),a("td",[t._v(t._s(r.country))]),t._v(" "),a("td",[t._v(t._s(r.city))]),t._v(" "),a("td",{staticClass:"text-xs-right"},[t._v(t._s(r.salary))])]}}])})],1)],1)],1)],1)},[],!1,null,null,null);e.default=n.exports}}]);
|
|
||||||
-512
@@ -1,512 +0,0 @@
|
|||||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[20],{
|
|
||||||
|
|
||||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/NotWorking/UserProfile.vue?vue&type=script&lang=js&":
|
|
||||||
/*!********************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/NotWorking/UserProfile.vue?vue&type=script&lang=js& ***!
|
|
||||||
\********************************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = ({//
|
|
||||||
});
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/NotWorking/UserProfile.vue?vue&type=template&id=e1077556&":
|
|
||||||
/*!************************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/NotWorking/UserProfile.vue?vue&type=template&id=e1077556& ***!
|
|
||||||
\************************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
|
|
||||||
var render = function() {
|
|
||||||
var _vm = this
|
|
||||||
var _h = _vm.$createElement
|
|
||||||
var _c = _vm._self._c || _h
|
|
||||||
return _c(
|
|
||||||
"v-container",
|
|
||||||
{ attrs: { "fill-height": "", fluid: "", "grid-list-xl": "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{ attrs: { "justify-center": "", wrap: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", md8: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"material-card",
|
|
||||||
{
|
|
||||||
attrs: {
|
|
||||||
color: "green",
|
|
||||||
title: "Edit Profile",
|
|
||||||
text: "Complete your profile"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-form",
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-container",
|
|
||||||
{ attrs: { "py-0": "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{ attrs: { wrap: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", md4: "" } },
|
|
||||||
[
|
|
||||||
_c("v-text-field", {
|
|
||||||
attrs: {
|
|
||||||
label: "Company (disabled)",
|
|
||||||
disabled: ""
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", md4: "" } },
|
|
||||||
[
|
|
||||||
_c("v-text-field", {
|
|
||||||
staticClass: "purple-input",
|
|
||||||
attrs: { label: "User Name" }
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", md4: "" } },
|
|
||||||
[
|
|
||||||
_c("v-text-field", {
|
|
||||||
staticClass: "purple-input",
|
|
||||||
attrs: { label: "Email Address" }
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", md6: "" } },
|
|
||||||
[
|
|
||||||
_c("v-text-field", {
|
|
||||||
staticClass: "purple-input",
|
|
||||||
attrs: { label: "First Name" }
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", md6: "" } },
|
|
||||||
[
|
|
||||||
_c("v-text-field", {
|
|
||||||
staticClass: "purple-input",
|
|
||||||
attrs: { label: "Last Name" }
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", md12: "" } },
|
|
||||||
[
|
|
||||||
_c("v-text-field", {
|
|
||||||
staticClass: "purple-input",
|
|
||||||
attrs: { label: "Adress" }
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", md4: "" } },
|
|
||||||
[
|
|
||||||
_c("v-text-field", {
|
|
||||||
staticClass: "purple-input",
|
|
||||||
attrs: { label: "City" }
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", md4: "" } },
|
|
||||||
[
|
|
||||||
_c("v-text-field", {
|
|
||||||
staticClass: "purple-input",
|
|
||||||
attrs: { label: "Country" }
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", md4: "" } },
|
|
||||||
[
|
|
||||||
_c("v-text-field", {
|
|
||||||
staticClass: "purple-input",
|
|
||||||
attrs: {
|
|
||||||
label: "Postal Code",
|
|
||||||
type: "number"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "" } },
|
|
||||||
[
|
|
||||||
_c("v-textarea", {
|
|
||||||
staticClass: "purple-input",
|
|
||||||
attrs: {
|
|
||||||
label: "About Me",
|
|
||||||
value:
|
|
||||||
"Lorem ipsum dolor sit amet, consectetur adipiscing elit."
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", "text-xs-right": "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass: "mx-0 font-weight-light",
|
|
||||||
attrs: { color: "success" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_vm._v(
|
|
||||||
"\n Update Profile\n "
|
|
||||||
)
|
|
||||||
]
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", md4: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"material-card",
|
|
||||||
{ staticClass: "v-card-profile" },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-avatar",
|
|
||||||
{
|
|
||||||
staticClass: "mx-auto d-block",
|
|
||||||
attrs: { slot: "offset", size: "130" },
|
|
||||||
slot: "offset"
|
|
||||||
},
|
|
||||||
[_c("img", { attrs: { src: "/img/" } })]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-card-text",
|
|
||||||
{ staticClass: "text-xs-center" },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"h6",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"category text-gray font-weight-thin mb-3"
|
|
||||||
},
|
|
||||||
[_vm._v("CEO / CO-FOUNDER")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"h4",
|
|
||||||
{ staticClass: "card-title font-weight-light" },
|
|
||||||
[_vm._v("Alec Thompson")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"p",
|
|
||||||
{ staticClass: "card-description font-weight-light" },
|
|
||||||
[
|
|
||||||
_vm._v(
|
|
||||||
"Don't be scared of the truth because we need to restart the human foundation in truth And I love you like Kanye loves Kanye I love Rick Owens’ bed design but the back is..."
|
|
||||||
)
|
|
||||||
]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass: "font-weight-light",
|
|
||||||
attrs: { color: "success", round: "" }
|
|
||||||
},
|
|
||||||
[_vm._v("Follow")]
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
}
|
|
||||||
var staticRenderFns = []
|
|
||||||
render._withStripped = true
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/NotWorking/UserProfile.vue":
|
|
||||||
/*!***********************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/NotWorking/UserProfile.vue ***!
|
|
||||||
\***********************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _UserProfile_vue_vue_type_template_id_e1077556___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./UserProfile.vue?vue&type=template&id=e1077556& */ "./resources/js/vue/views/NotWorking/UserProfile.vue?vue&type=template&id=e1077556&");
|
|
||||||
/* harmony import */ var _UserProfile_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./UserProfile.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/NotWorking/UserProfile.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* normalize component */
|
|
||||||
|
|
||||||
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
|
||||||
_UserProfile_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
||||||
_UserProfile_vue_vue_type_template_id_e1077556___WEBPACK_IMPORTED_MODULE_0__["render"],
|
|
||||||
_UserProfile_vue_vue_type_template_id_e1077556___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
|
||||||
false,
|
|
||||||
null,
|
|
||||||
null,
|
|
||||||
null
|
|
||||||
|
|
||||||
)
|
|
||||||
|
|
||||||
/* hot reload */
|
|
||||||
if (false) { var api; }
|
|
||||||
component.options.__file = "resources/js/vue/views/NotWorking/UserProfile.vue"
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/NotWorking/UserProfile.vue?vue&type=script&lang=js&":
|
|
||||||
/*!************************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/NotWorking/UserProfile.vue?vue&type=script&lang=js& ***!
|
|
||||||
\************************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_UserProfile_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/babel-loader/lib??ref--4-0!../../../../../node_modules/vue-loader/lib??vue-loader-options!./UserProfile.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/NotWorking/UserProfile.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_UserProfile_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/NotWorking/UserProfile.vue?vue&type=template&id=e1077556&":
|
|
||||||
/*!******************************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/NotWorking/UserProfile.vue?vue&type=template&id=e1077556& ***!
|
|
||||||
\******************************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_UserProfile_vue_vue_type_template_id_e1077556___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../node_modules/vue-loader/lib??vue-loader-options!./UserProfile.vue?vue&type=template&id=e1077556& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/NotWorking/UserProfile.vue?vue&type=template&id=e1077556&");
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_UserProfile_vue_vue_type_template_id_e1077556___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
|
||||||
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_UserProfile_vue_vue_type_template_id_e1077556___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ })
|
|
||||||
|
|
||||||
}]);
|
|
||||||
-537
@@ -1,537 +0,0 @@
|
|||||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[21],{
|
|
||||||
|
|
||||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Package/AddEdit.vue?vue&type=script&lang=js&":
|
|
||||||
/*!*************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/Package/AddEdit.vue?vue&type=script&lang=js& ***!
|
|
||||||
\*************************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ "./node_modules/@babel/runtime/regenerator/index.js");
|
|
||||||
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);
|
|
||||||
/* harmony import */ var _services__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/services */ "./resources/js/vue/services/index.js");
|
|
||||||
/* harmony import */ var _config_urls__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/config/urls */ "./resources/js/vue/config/urls.js");
|
|
||||||
/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vuex */ "./node_modules/vuex/dist/vuex.esm.js");
|
|
||||||
|
|
||||||
|
|
||||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
||||||
|
|
||||||
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
||||||
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
||||||
data: function data() {
|
|
||||||
return {
|
|
||||||
formData: {
|
|
||||||
name: "",
|
|
||||||
unique_id: "",
|
|
||||||
result: "",
|
|
||||||
description: ""
|
|
||||||
},
|
|
||||||
result: ["Pass", "Fail"],
|
|
||||||
rules: {
|
|
||||||
required: function required(value) {
|
|
||||||
return !!value || "Required.";
|
|
||||||
},
|
|
||||||
counter: function counter(value) {
|
|
||||||
return !value || value.length == 0 || value.length >= 5 || "Min 5 characters";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
|
||||||
},
|
|
||||||
created: function created() {
|
|
||||||
if (this.$route.params.package) {
|
|
||||||
this.load(this.$route.params.package);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
load: function () {
|
|
||||||
var _load = _asyncToGenerator(
|
|
||||||
/*#__PURE__*/
|
|
||||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee(id) {
|
|
||||||
var result;
|
|
||||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee$(_context) {
|
|
||||||
while (1) {
|
|
||||||
switch (_context.prev = _context.next) {
|
|
||||||
case 0:
|
|
||||||
_context.next = 2;
|
|
||||||
return _services__WEBPACK_IMPORTED_MODULE_1__["ApiService"].get(_config_urls__WEBPACK_IMPORTED_MODULE_2__["urls"].editPackage(id));
|
|
||||||
|
|
||||||
case 2:
|
|
||||||
result = _context.sent;
|
|
||||||
|
|
||||||
if (result.status == 200) {
|
|
||||||
this.formData = result.data.data;
|
|
||||||
}
|
|
||||||
|
|
||||||
case 4:
|
|
||||||
case "end":
|
|
||||||
return _context.stop();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}, _callee, this);
|
|
||||||
}));
|
|
||||||
|
|
||||||
function load(_x) {
|
|
||||||
return _load.apply(this, arguments);
|
|
||||||
}
|
|
||||||
|
|
||||||
return load;
|
|
||||||
}(),
|
|
||||||
submitForm: function () {
|
|
||||||
var _submitForm = _asyncToGenerator(
|
|
||||||
/*#__PURE__*/
|
|
||||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee2() {
|
|
||||||
var result;
|
|
||||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee2$(_context2) {
|
|
||||||
while (1) {
|
|
||||||
switch (_context2.prev = _context2.next) {
|
|
||||||
case 0:
|
|
||||||
if (!this.$route.params.package) {
|
|
||||||
_context2.next = 6;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
_context2.next = 3;
|
|
||||||
return _services__WEBPACK_IMPORTED_MODULE_1__["ApiService"].put(_config_urls__WEBPACK_IMPORTED_MODULE_2__["urls"].updatePackage(this.$route.params.package), this.formData);
|
|
||||||
|
|
||||||
case 3:
|
|
||||||
result = _context2.sent;
|
|
||||||
_context2.next = 9;
|
|
||||||
break;
|
|
||||||
|
|
||||||
case 6:
|
|
||||||
_context2.next = 8;
|
|
||||||
return _services__WEBPACK_IMPORTED_MODULE_1__["ApiService"].post(_config_urls__WEBPACK_IMPORTED_MODULE_2__["urls"].storePackage, this.formData);
|
|
||||||
|
|
||||||
case 8:
|
|
||||||
result = _context2.sent;
|
|
||||||
|
|
||||||
case 9:
|
|
||||||
if (result && result.status == 200) {
|
|
||||||
this.$router.push({
|
|
||||||
name: 'AllPackage'
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
case 10:
|
|
||||||
case "end":
|
|
||||||
return _context2.stop();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}, _callee2, this);
|
|
||||||
}));
|
|
||||||
|
|
||||||
function submitForm() {
|
|
||||||
return _submitForm.apply(this, arguments);
|
|
||||||
}
|
|
||||||
|
|
||||||
return submitForm;
|
|
||||||
}()
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Package/AddEdit.vue?vue&type=template&id=74cb034a&":
|
|
||||||
/*!*****************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/Package/AddEdit.vue?vue&type=template&id=74cb034a& ***!
|
|
||||||
\*****************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
|
|
||||||
var render = function() {
|
|
||||||
var _vm = this
|
|
||||||
var _h = _vm.$createElement
|
|
||||||
var _c = _vm._self._c || _h
|
|
||||||
return _c(
|
|
||||||
"v-form",
|
|
||||||
{ ref: "form" },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-container",
|
|
||||||
{ attrs: { "grid-list-xs": "", fluid: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"material-card",
|
|
||||||
{ attrs: { color: "black", title: "Add Package" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{
|
|
||||||
staticClass: "px-5 my-3",
|
|
||||||
attrs: { "align-center": "", "justify-center": "", wrap: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", sm4: "", md4: "" } },
|
|
||||||
[
|
|
||||||
_c("v-text-field", {
|
|
||||||
staticClass: "pa-2",
|
|
||||||
attrs: {
|
|
||||||
name: "name",
|
|
||||||
label: "Name",
|
|
||||||
color: "black",
|
|
||||||
rules: [_vm.rules.required, _vm.rules.counter]
|
|
||||||
},
|
|
||||||
model: {
|
|
||||||
value: _vm.formData.name,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.$set(_vm.formData, "name", $$v)
|
|
||||||
},
|
|
||||||
expression: "formData.name"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", sm4: "", md4: "" } },
|
|
||||||
[
|
|
||||||
_c("v-text-field", {
|
|
||||||
staticClass: "pa-2",
|
|
||||||
attrs: {
|
|
||||||
name: "unique_id",
|
|
||||||
label: "UniqueID",
|
|
||||||
color: "black",
|
|
||||||
rules: [_vm.rules.required, _vm.rules.counter]
|
|
||||||
},
|
|
||||||
model: {
|
|
||||||
value: _vm.formData.unique_id,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.$set(_vm.formData, "unique_id", $$v)
|
|
||||||
},
|
|
||||||
expression: "formData.unique_id"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", sm4: "", md4: "" } },
|
|
||||||
[
|
|
||||||
_c("v-select", {
|
|
||||||
staticClass: "pa-2",
|
|
||||||
attrs: {
|
|
||||||
items: _vm.result,
|
|
||||||
label: "Result",
|
|
||||||
name: "result",
|
|
||||||
"single-line": "",
|
|
||||||
rules: [_vm.rules.required],
|
|
||||||
color: "black"
|
|
||||||
},
|
|
||||||
model: {
|
|
||||||
value: _vm.formData.result,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.$set(_vm.formData, "result", $$v)
|
|
||||||
},
|
|
||||||
expression: "formData.result"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{
|
|
||||||
staticClass: "px-5 mb-3",
|
|
||||||
attrs: { "align-center": "", "justify-center": "", wrap: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", sm12: "", md12: "" } },
|
|
||||||
[
|
|
||||||
_c("v-textarea", {
|
|
||||||
staticClass: "pa-2",
|
|
||||||
attrs: {
|
|
||||||
color: "black",
|
|
||||||
rules: [_vm.rules.counter],
|
|
||||||
name: "address"
|
|
||||||
},
|
|
||||||
scopedSlots: _vm._u([
|
|
||||||
{
|
|
||||||
key: "label",
|
|
||||||
fn: function() {
|
|
||||||
return [_c("div", [_vm._v("description")])]
|
|
||||||
},
|
|
||||||
proxy: true
|
|
||||||
}
|
|
||||||
]),
|
|
||||||
model: {
|
|
||||||
value: _vm.formData.description,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.$set(_vm.formData, "description", $$v)
|
|
||||||
},
|
|
||||||
expression: "formData.description"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{
|
|
||||||
attrs: {
|
|
||||||
row: "",
|
|
||||||
wrap: "",
|
|
||||||
"justify-center": "",
|
|
||||||
"align-center": ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{
|
|
||||||
staticClass: "text-md-center text-xs-center",
|
|
||||||
attrs: { xs12: "", md2: "", sm2: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass: "WM-CyanBlueGradient-BG",
|
|
||||||
staticStyle: { padding: "10px 60px" },
|
|
||||||
on: {
|
|
||||||
click: function($event) {
|
|
||||||
return _vm.submitForm()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{ staticClass: "white--text mr-2 caption" },
|
|
||||||
[_vm._v("fas fa-check")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("span", { staticClass: "white--text" }, [
|
|
||||||
_vm._v("SAVE")
|
|
||||||
])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"text-md-center text-sm-center text-xs-center",
|
|
||||||
attrs: { xs12: "", md2: "", sm2: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"router-link",
|
|
||||||
{ attrs: { to: { name: "AllPackage" } } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black"
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c("v-icon", { staticClass: "black--text" }, [
|
|
||||||
_vm._v("keyboard_arrow_left")
|
|
||||||
]),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("span", { staticClass: "black--text" }, [
|
|
||||||
_vm._v("Back")
|
|
||||||
])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
}
|
|
||||||
var staticRenderFns = []
|
|
||||||
render._withStripped = true
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/Package/AddEdit.vue":
|
|
||||||
/*!****************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/Package/AddEdit.vue ***!
|
|
||||||
\****************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _AddEdit_vue_vue_type_template_id_74cb034a___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AddEdit.vue?vue&type=template&id=74cb034a& */ "./resources/js/vue/views/Package/AddEdit.vue?vue&type=template&id=74cb034a&");
|
|
||||||
/* harmony import */ var _AddEdit_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AddEdit.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/Package/AddEdit.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* normalize component */
|
|
||||||
|
|
||||||
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
|
||||||
_AddEdit_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
||||||
_AddEdit_vue_vue_type_template_id_74cb034a___WEBPACK_IMPORTED_MODULE_0__["render"],
|
|
||||||
_AddEdit_vue_vue_type_template_id_74cb034a___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
|
||||||
false,
|
|
||||||
null,
|
|
||||||
null,
|
|
||||||
null
|
|
||||||
|
|
||||||
)
|
|
||||||
|
|
||||||
/* hot reload */
|
|
||||||
if (false) { var api; }
|
|
||||||
component.options.__file = "resources/js/vue/views/Package/AddEdit.vue"
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/Package/AddEdit.vue?vue&type=script&lang=js&":
|
|
||||||
/*!*****************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/Package/AddEdit.vue?vue&type=script&lang=js& ***!
|
|
||||||
\*****************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_AddEdit_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/babel-loader/lib??ref--4-0!../../../../../node_modules/vue-loader/lib??vue-loader-options!./AddEdit.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Package/AddEdit.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_AddEdit_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/Package/AddEdit.vue?vue&type=template&id=74cb034a&":
|
|
||||||
/*!***********************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/Package/AddEdit.vue?vue&type=template&id=74cb034a& ***!
|
|
||||||
\***********************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_AddEdit_vue_vue_type_template_id_74cb034a___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../node_modules/vue-loader/lib??vue-loader-options!./AddEdit.vue?vue&type=template&id=74cb034a& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Package/AddEdit.vue?vue&type=template&id=74cb034a&");
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_AddEdit_vue_vue_type_template_id_74cb034a___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
|
||||||
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_AddEdit_vue_vue_type_template_id_74cb034a___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ })
|
|
||||||
|
|
||||||
}]);
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{A1i3:function(t,e,s){"use strict";s.r(e);var a=s("KHd+"),i=Object(a.a)({},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("v-container",[s("v-layout",{attrs:{"justify-center":""}},[s("v-flex",{attrs:{xs12:"",sm10:"",md8:""}},[s("material-card",{attrs:{color:"primary",title:"Vue Material Dashboard PRO",text:"Are you looking for more components? Please check our Premium Version of Vue Material Dashboard."}},[s("table",{staticClass:"v-table"},[s("thead",[s("tr",[s("th"),t._v(" "),s("th",{staticClass:"subheading font-weight-light"},[t._v("Free")]),t._v(" "),s("th",{staticClass:"subheading font-weight-light"},[t._v("PRO")])])]),t._v(" "),s("tbody",{staticClass:"text-xs-center"},[s("tr",[s("th",{staticClass:"text-xs-left font-weight-light subheading"},[t._v("Components")]),t._v(" "),s("td",[t._v("60")]),t._v(" "),s("td",[t._v("200")])]),t._v(" "),s("tr",[s("th",{staticClass:"text-xs-left font-weight-light subheading"},[t._v("Plugins")]),t._v(" "),s("td",[t._v("2")]),t._v(" "),s("td",[t._v("15")])]),t._v(" "),s("tr",[s("th",{staticClass:"text-xs-left font-weight-light subheading"},[t._v("Example Pages")]),t._v(" "),s("td",[t._v("3")]),t._v(" "),s("td",[t._v("27")])]),t._v(" "),s("tr",[s("th",{staticClass:"text-xs-left font-weight-light subheading"},[t._v("Login, Register, Pricing, Lock Pages")]),t._v(" "),s("td",[s("v-icon",{attrs:{color:"error"}},[t._v("mdi-close")])],1),t._v(" "),s("td",[s("v-icon",{attrs:{color:"success"}},[t._v("mdi-check")])],1)]),t._v(" "),s("tr",[s("th",{staticClass:"text-xs-left font-weight-light subheading"},[t._v("Premium Support")]),t._v(" "),s("td",[s("v-icon",{attrs:{color:"error"}},[t._v("mdi-close")])],1),t._v(" "),s("td",[s("v-icon",{attrs:{color:"success"}},[t._v("mdi-check")])],1)]),t._v(" "),s("tr",[s("th"),t._v(" "),s("td",[t._v("Free")]),t._v(" "),s("td",[t._v("Just $59")])]),t._v(" "),s("tr",[s("th"),t._v(" "),s("td",[s("v-btn",{staticClass:"subheading white--text font-weight-light",attrs:{round:"",large:"",color:"grey",disabled:""}},[t._v("Current Version")])],1),t._v(" "),s("td",[s("v-btn",{staticClass:"subheading white--text font-weight-light",attrs:{round:"",large:"",color:"cyan"}},[t._v("Upgrade to Pro")])],1)])])])])],1)],1)],1)},[],!1,null,null,null);e.default=i.exports}}]);
|
|
||||||
-1026
File diff suppressed because it is too large
Load Diff
@@ -1 +0,0 @@
|
|||||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[22],{sRz2:function(t,s,e){"use strict";e.r(s);var a={},l=e("KHd+"),r=Object(l.a)(a,function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("v-container",{attrs:{"fill-height":"",fluid:"","grid-list-xl":""}},[e("v-layout",{attrs:{"justify-center":"",wrap:""}},[e("v-flex",{attrs:{xs12:"",md8:""}},[e("material-card",{attrs:{color:"green",title:"Edit Profile",text:"Complete your profile"}},[e("v-form",[e("v-container",{attrs:{"py-0":""}},[e("v-layout",{attrs:{wrap:""}},[e("v-flex",{attrs:{xs12:"",md4:""}},[e("v-text-field",{attrs:{label:"Company (disabled)",disabled:""}})],1),t._v(" "),e("v-flex",{attrs:{xs12:"",md4:""}},[e("v-text-field",{staticClass:"purple-input",attrs:{label:"User Name"}})],1),t._v(" "),e("v-flex",{attrs:{xs12:"",md4:""}},[e("v-text-field",{staticClass:"purple-input",attrs:{label:"Email Address"}})],1),t._v(" "),e("v-flex",{attrs:{xs12:"",md6:""}},[e("v-text-field",{staticClass:"purple-input",attrs:{label:"First Name"}})],1),t._v(" "),e("v-flex",{attrs:{xs12:"",md6:""}},[e("v-text-field",{staticClass:"purple-input",attrs:{label:"Last Name"}})],1),t._v(" "),e("v-flex",{attrs:{xs12:"",md12:""}},[e("v-text-field",{staticClass:"purple-input",attrs:{label:"Adress"}})],1),t._v(" "),e("v-flex",{attrs:{xs12:"",md4:""}},[e("v-text-field",{staticClass:"purple-input",attrs:{label:"City"}})],1),t._v(" "),e("v-flex",{attrs:{xs12:"",md4:""}},[e("v-text-field",{staticClass:"purple-input",attrs:{label:"Country"}})],1),t._v(" "),e("v-flex",{attrs:{xs12:"",md4:""}},[e("v-text-field",{staticClass:"purple-input",attrs:{label:"Postal Code",type:"number"}})],1),t._v(" "),e("v-flex",{attrs:{xs12:""}},[e("v-textarea",{staticClass:"purple-input",attrs:{label:"About Me",value:"Lorem ipsum dolor sit amet, consectetur adipiscing elit."}})],1),t._v(" "),e("v-flex",{attrs:{xs12:"","text-xs-right":""}},[e("v-btn",{staticClass:"mx-0 font-weight-light",attrs:{color:"success"}},[t._v("\n Update Profile\n ")])],1)],1)],1)],1)],1)],1),t._v(" "),e("v-flex",{attrs:{xs12:"",md4:""}},[e("material-card",{staticClass:"v-card-profile"},[e("v-avatar",{staticClass:"mx-auto d-block",attrs:{slot:"offset",size:"130"},slot:"offset"},[e("img",{attrs:{src:"/img/"}})]),t._v(" "),e("v-card-text",{staticClass:"text-xs-center"},[e("h6",{staticClass:"category text-gray font-weight-thin mb-3"},[t._v("CEO / CO-FOUNDER")]),t._v(" "),e("h4",{staticClass:"card-title font-weight-light"},[t._v("Alec Thompson")]),t._v(" "),e("p",{staticClass:"card-description font-weight-light"},[t._v("Don't be scared of the truth because we need to restart the human foundation in truth And I love you like Kanye loves Kanye I love Rick Owens’ bed design but the back is...")]),t._v(" "),e("v-btn",{staticClass:"font-weight-light",attrs:{color:"success",round:""}},[t._v("Follow")])],1)],1)],1)],1)],1)},[],!1,null,null,null);s.default=r.exports}}]);
|
|
||||||
-588
@@ -1,588 +0,0 @@
|
|||||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[23],{
|
|
||||||
|
|
||||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/User/MyInfo.vue?vue&type=script&lang=js&":
|
|
||||||
/*!*********************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/User/MyInfo.vue?vue&type=script&lang=js& ***!
|
|
||||||
\*********************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ "./node_modules/@babel/runtime/regenerator/index.js");
|
|
||||||
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);
|
|
||||||
/* harmony import */ var _services__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/services */ "./resources/js/vue/services/index.js");
|
|
||||||
/* harmony import */ var _config_urls__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/config/urls */ "./resources/js/vue/config/urls.js");
|
|
||||||
/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vuex */ "./node_modules/vuex/dist/vuex.esm.js");
|
|
||||||
|
|
||||||
|
|
||||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
||||||
|
|
||||||
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
||||||
|
|
||||||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
|
|
||||||
|
|
||||||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
||||||
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
||||||
data: function data() {
|
|
||||||
return {
|
|
||||||
user: {
|
|
||||||
cell_number: "",
|
|
||||||
gender: "",
|
|
||||||
name: "",
|
|
||||||
email: "",
|
|
||||||
address: ""
|
|
||||||
},
|
|
||||||
items: ["Male", "FeMale"],
|
|
||||||
rules: {
|
|
||||||
required: function required(value) {
|
|
||||||
return !!value || "Required.";
|
|
||||||
},
|
|
||||||
counter: function counter(value) {
|
|
||||||
return !value || value.length == 0 || value.length >= 5 || "Min 5 characters";
|
|
||||||
},
|
|
||||||
email: function email(value) {
|
|
||||||
if (value && value.length > 0) {
|
|
||||||
var pattern = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
|
|
||||||
return pattern.test(value) || "Invalid e-mail.";
|
|
||||||
} else {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
|
||||||
},
|
|
||||||
created: function created() {
|
|
||||||
this.user = this.$store.state.user;
|
|
||||||
},
|
|
||||||
methods: _objectSpread({
|
|
||||||
saveInfo: function () {
|
|
||||||
var _saveInfo = _asyncToGenerator(
|
|
||||||
/*#__PURE__*/
|
|
||||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee() {
|
|
||||||
var result;
|
|
||||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee$(_context) {
|
|
||||||
while (1) {
|
|
||||||
switch (_context.prev = _context.next) {
|
|
||||||
case 0:
|
|
||||||
if (!this.$refs.form.validate()) {
|
|
||||||
_context.next = 5;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
_context.next = 3;
|
|
||||||
return _services__WEBPACK_IMPORTED_MODULE_1__["ApiService"].post(_config_urls__WEBPACK_IMPORTED_MODULE_2__["urls"].updateInfo, this.user);
|
|
||||||
|
|
||||||
case 3:
|
|
||||||
result = _context.sent;
|
|
||||||
|
|
||||||
if (result && result.status == 200) {
|
|
||||||
this.$store.dispatch("info", {}, {
|
|
||||||
root: true
|
|
||||||
});
|
|
||||||
this.$router.push({
|
|
||||||
name: "Dashboard"
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
case 5:
|
|
||||||
case "end":
|
|
||||||
return _context.stop();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}, _callee, this);
|
|
||||||
}));
|
|
||||||
|
|
||||||
function saveInfo() {
|
|
||||||
return _saveInfo.apply(this, arguments);
|
|
||||||
}
|
|
||||||
|
|
||||||
return saveInfo;
|
|
||||||
}()
|
|
||||||
}, Object(vuex__WEBPACK_IMPORTED_MODULE_3__["mapMutations"])('modal', ['changeCurrentModal']), {
|
|
||||||
changePassword: function changePassword() {
|
|
||||||
this.changeCurrentModal({
|
|
||||||
modal: "modal-auth-change-password"
|
|
||||||
});
|
|
||||||
}
|
|
||||||
})
|
|
||||||
});
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/User/MyInfo.vue?vue&type=template&id=67cde174&":
|
|
||||||
/*!*************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/User/MyInfo.vue?vue&type=template&id=67cde174& ***!
|
|
||||||
\*************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
|
|
||||||
var render = function() {
|
|
||||||
var _vm = this
|
|
||||||
var _h = _vm.$createElement
|
|
||||||
var _c = _vm._self._c || _h
|
|
||||||
return _c(
|
|
||||||
"v-form",
|
|
||||||
{ ref: "form" },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-container",
|
|
||||||
{ attrs: { "grid-list-xs": "", fluid: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"material-card",
|
|
||||||
{ attrs: { color: "black", title: "My Info" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{
|
|
||||||
staticClass: "px-5 my-3",
|
|
||||||
attrs: { "align-center": "", "justify-center": "", wrap: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", sm4: "", md4: "" } },
|
|
||||||
[
|
|
||||||
_c("v-text-field", {
|
|
||||||
staticClass: "pa-2",
|
|
||||||
attrs: {
|
|
||||||
name: "name",
|
|
||||||
label: "Name",
|
|
||||||
color: "black",
|
|
||||||
rules: [_vm.rules.required, _vm.rules.counter]
|
|
||||||
},
|
|
||||||
model: {
|
|
||||||
value: _vm.user.name,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.$set(_vm.user, "name", $$v)
|
|
||||||
},
|
|
||||||
expression: "user.name"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", sm4: "", md4: "" } },
|
|
||||||
[
|
|
||||||
_c("v-select", {
|
|
||||||
staticClass: "pa-2",
|
|
||||||
attrs: {
|
|
||||||
items: _vm.items,
|
|
||||||
label: "Gender",
|
|
||||||
name: "gender",
|
|
||||||
"single-line": "",
|
|
||||||
rules: [_vm.rules.required],
|
|
||||||
color: "black"
|
|
||||||
},
|
|
||||||
model: {
|
|
||||||
value: _vm.user.gender,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.$set(_vm.user, "gender", $$v)
|
|
||||||
},
|
|
||||||
expression: "user.gender"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", sm4: "", md4: "" } },
|
|
||||||
[
|
|
||||||
_c("v-text-field", {
|
|
||||||
staticClass: "pa-2",
|
|
||||||
attrs: {
|
|
||||||
name: "cellnumber",
|
|
||||||
label: "Cell Number",
|
|
||||||
mask: "0### ### ####",
|
|
||||||
color: "black",
|
|
||||||
disabled: ""
|
|
||||||
},
|
|
||||||
model: {
|
|
||||||
value: _vm.user.cell_number,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.$set(_vm.user, "cell_number", $$v)
|
|
||||||
},
|
|
||||||
expression: "user.cell_number"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{
|
|
||||||
staticClass: "px-5 mb-3",
|
|
||||||
attrs: { "align-center": "", "justify-center": "", wrap: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", sm4: "", md4: "" } },
|
|
||||||
[
|
|
||||||
_c("v-text-field", {
|
|
||||||
staticClass: "px-2",
|
|
||||||
staticStyle: { "padding-top": "75px" },
|
|
||||||
attrs: {
|
|
||||||
name: "emailaddress",
|
|
||||||
label: "Email Address",
|
|
||||||
rules: [_vm.rules.email],
|
|
||||||
color: "black"
|
|
||||||
},
|
|
||||||
model: {
|
|
||||||
value: _vm.user.email,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.$set(_vm.user, "email", $$v)
|
|
||||||
},
|
|
||||||
expression: "user.email"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", sm8: "", md8: "" } },
|
|
||||||
[
|
|
||||||
_c("v-textarea", {
|
|
||||||
staticClass: "pa-2",
|
|
||||||
attrs: {
|
|
||||||
color: "black",
|
|
||||||
rules: [_vm.rules.counter],
|
|
||||||
name: "address"
|
|
||||||
},
|
|
||||||
scopedSlots: _vm._u([
|
|
||||||
{
|
|
||||||
key: "label",
|
|
||||||
fn: function() {
|
|
||||||
return [_c("div", [_vm._v("Address")])]
|
|
||||||
},
|
|
||||||
proxy: true
|
|
||||||
}
|
|
||||||
]),
|
|
||||||
model: {
|
|
||||||
value: _vm.user.address,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.$set(_vm.user, "address", $$v)
|
|
||||||
},
|
|
||||||
expression: "user.address"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{
|
|
||||||
attrs: {
|
|
||||||
row: "",
|
|
||||||
wrap: "",
|
|
||||||
"justify-center": "",
|
|
||||||
"align-center": ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{
|
|
||||||
staticClass: "text-md-center text-xs-center",
|
|
||||||
attrs: { xs12: "", md2: "", sm2: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass: "WM-CyanBlueGradient-BG",
|
|
||||||
staticStyle: { padding: "10px 60px" },
|
|
||||||
on: {
|
|
||||||
click: function($event) {
|
|
||||||
return _vm.saveInfo()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{ staticClass: "white--text mr-2 caption" },
|
|
||||||
[_vm._v("fas fa-check")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("span", { staticClass: "white--text" }, [
|
|
||||||
_vm._v("SAVE")
|
|
||||||
])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"text-md-center text-sm-center text-xs-center",
|
|
||||||
attrs: { xs12: "", md2: "", sm2: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black",
|
|
||||||
on: { click: _vm.changePassword }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c("v-icon", { staticClass: "black--text" }, [
|
|
||||||
_vm._v("fas fa-refresh")
|
|
||||||
]),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("span", { staticClass: "black--text" }, [
|
|
||||||
_vm._v(" Change Password ")
|
|
||||||
])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"text-md-center text-sm-center text-xs-center",
|
|
||||||
attrs: { xs12: "", md2: "", sm2: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"router-link",
|
|
||||||
{ attrs: { to: { name: "Dashboard" } } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black"
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c("v-icon", { staticClass: "black--text" }, [
|
|
||||||
_vm._v("keyboard_arrow_left")
|
|
||||||
]),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("span", { staticClass: "black--text" }, [
|
|
||||||
_vm._v("Back")
|
|
||||||
])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
}
|
|
||||||
var staticRenderFns = []
|
|
||||||
render._withStripped = true
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/User/MyInfo.vue":
|
|
||||||
/*!************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/User/MyInfo.vue ***!
|
|
||||||
\************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _MyInfo_vue_vue_type_template_id_67cde174___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./MyInfo.vue?vue&type=template&id=67cde174& */ "./resources/js/vue/views/User/MyInfo.vue?vue&type=template&id=67cde174&");
|
|
||||||
/* harmony import */ var _MyInfo_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./MyInfo.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/User/MyInfo.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* normalize component */
|
|
||||||
|
|
||||||
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
|
||||||
_MyInfo_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
||||||
_MyInfo_vue_vue_type_template_id_67cde174___WEBPACK_IMPORTED_MODULE_0__["render"],
|
|
||||||
_MyInfo_vue_vue_type_template_id_67cde174___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
|
||||||
false,
|
|
||||||
null,
|
|
||||||
null,
|
|
||||||
null
|
|
||||||
|
|
||||||
)
|
|
||||||
|
|
||||||
/* hot reload */
|
|
||||||
if (false) { var api; }
|
|
||||||
component.options.__file = "resources/js/vue/views/User/MyInfo.vue"
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/User/MyInfo.vue?vue&type=script&lang=js&":
|
|
||||||
/*!*************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/User/MyInfo.vue?vue&type=script&lang=js& ***!
|
|
||||||
\*************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MyInfo_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/babel-loader/lib??ref--4-0!../../../../../node_modules/vue-loader/lib??vue-loader-options!./MyInfo.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/User/MyInfo.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_MyInfo_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/User/MyInfo.vue?vue&type=template&id=67cde174&":
|
|
||||||
/*!*******************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/User/MyInfo.vue?vue&type=template&id=67cde174& ***!
|
|
||||||
\*******************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_MyInfo_vue_vue_type_template_id_67cde174___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../node_modules/vue-loader/lib??vue-loader-options!./MyInfo.vue?vue&type=template&id=67cde174& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/User/MyInfo.vue?vue&type=template&id=67cde174&");
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_MyInfo_vue_vue_type_template_id_67cde174___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
|
||||||
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_MyInfo_vue_vue_type_template_id_67cde174___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ })
|
|
||||||
|
|
||||||
}]);
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[23],{VhEZ:function(t,e,a){"use strict";a.r(e);var r=a("o0o1"),s=a.n(r),n=a("Y8XJ"),i=a("85lN");a("L2JU");function c(t,e,a,r,s,n,i){try{var c=t[n](i),l=c.value}catch(t){return void a(t)}c.done?e(l):Promise.resolve(l).then(r,s)}function l(t){return function(){var e=this,a=arguments;return new Promise(function(r,s){var n=t.apply(e,a);function i(t){c(n,r,s,i,l,"next",t)}function l(t){c(n,r,s,i,l,"throw",t)}i(void 0)})}}var o={data:function(){return{formData:{name:"",unique_id:"",result:"",description:""},result:["Pass","Fail"],rules:{required:function(t){return!!t||"Required."},counter:function(t){return!t||0==t.length||t.length>=5||"Min 5 characters"}}}},created:function(){this.$route.params.package&&this.load(this.$route.params.package)},methods:{load:function(){var t=l(s.a.mark(function t(e){var a;return s.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.a.get(i.a.editPackage(e));case 2:200==(a=t.sent).status&&(this.formData=a.data.data);case 4:case"end":return t.stop()}},t,this)}));return function(e){return t.apply(this,arguments)}}(),submitForm:function(){var t=l(s.a.mark(function t(){var e;return s.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.$route.params.package){t.next=6;break}return t.next=3,n.a.put(i.a.updatePackage(this.$route.params.package),this.formData);case 3:e=t.sent,t.next=9;break;case 6:return t.next=8,n.a.post(i.a.storePackage,this.formData);case 8:e=t.sent;case 9:e&&200==e.status&&this.$router.push({name:"AllPackage"});case 10:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}()}},u=a("KHd+"),m=Object(u.a)(o,function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-form",{ref:"form"},[a("v-container",{attrs:{"grid-list-xs":"",fluid:""}},[a("material-card",{attrs:{color:"black",title:"Add Package"}},[a("v-layout",{staticClass:"px-5 my-3",attrs:{"align-center":"","justify-center":"",wrap:""}},[a("v-flex",{attrs:{xs12:"",sm4:"",md4:""}},[a("v-text-field",{staticClass:"pa-2",attrs:{name:"name",label:"Name",color:"black",rules:[t.rules.required,t.rules.counter]},model:{value:t.formData.name,callback:function(e){t.$set(t.formData,"name",e)},expression:"formData.name"}})],1),t._v(" "),a("v-flex",{attrs:{xs12:"",sm4:"",md4:""}},[a("v-text-field",{staticClass:"pa-2",attrs:{name:"unique_id",label:"UniqueID",color:"black",rules:[t.rules.required,t.rules.counter]},model:{value:t.formData.unique_id,callback:function(e){t.$set(t.formData,"unique_id",e)},expression:"formData.unique_id"}})],1),t._v(" "),a("v-flex",{attrs:{xs12:"",sm4:"",md4:""}},[a("v-select",{staticClass:"pa-2",attrs:{items:t.result,label:"Result",name:"result","single-line":"",rules:[t.rules.required],color:"black"},model:{value:t.formData.result,callback:function(e){t.$set(t.formData,"result",e)},expression:"formData.result"}})],1)],1),t._v(" "),a("v-layout",{staticClass:"px-5 mb-3",attrs:{"align-center":"","justify-center":"",wrap:""}},[a("v-flex",{attrs:{xs12:"",sm12:"",md12:""}},[a("v-textarea",{staticClass:"pa-2",attrs:{color:"black",rules:[t.rules.counter],name:"address"},scopedSlots:t._u([{key:"label",fn:function(){return[a("div",[t._v("description")])]},proxy:!0}]),model:{value:t.formData.description,callback:function(e){t.$set(t.formData,"description",e)},expression:"formData.description"}})],1)],1),t._v(" "),a("v-layout",{attrs:{row:"",wrap:"","justify-center":"","align-center":""}},[a("v-flex",{staticClass:"text-md-center text-xs-center",attrs:{xs12:"",md2:"",sm2:""}},[a("v-btn",{staticClass:"WM-CyanBlueGradient-BG",staticStyle:{padding:"10px 60px"},on:{click:function(e){return t.submitForm()}}},[a("v-icon",{staticClass:"white--text mr-2 caption"},[t._v("fas fa-check")]),t._v(" "),a("span",{staticClass:"white--text"},[t._v("SAVE")])],1)],1),t._v(" "),a("v-flex",{staticClass:"text-md-center text-sm-center text-xs-center",attrs:{xs12:"",md2:"",sm2:""}},[a("router-link",{attrs:{to:{name:"AllPackage"}}},[a("v-btn",{staticClass:"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black"},[a("v-icon",{staticClass:"black--text"},[t._v("keyboard_arrow_left")]),t._v(" "),a("span",{staticClass:"black--text"},[t._v("Back")])],1)],1)],1)],1)],1)],1)],1)},[],!1,null,null,null);e.default=m.exports}}]);
|
|
||||||
-289
@@ -1,289 +0,0 @@
|
|||||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[24],{
|
|
||||||
|
|
||||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/NotWorking/Upgrade.vue?vue&type=template&id=405aec93&":
|
|
||||||
/*!********************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/NotWorking/Upgrade.vue?vue&type=template&id=405aec93& ***!
|
|
||||||
\********************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
|
|
||||||
var render = function() {
|
|
||||||
var _vm = this
|
|
||||||
var _h = _vm.$createElement
|
|
||||||
var _c = _vm._self._c || _h
|
|
||||||
return _c(
|
|
||||||
"v-container",
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{ attrs: { "justify-center": "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", sm10: "", md8: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"material-card",
|
|
||||||
{
|
|
||||||
attrs: {
|
|
||||||
color: "primary",
|
|
||||||
title: "Vue Material Dashboard PRO",
|
|
||||||
text:
|
|
||||||
"Are you looking for more components? Please check our Premium Version of Vue Material Dashboard."
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c("table", { staticClass: "v-table" }, [
|
|
||||||
_c("thead", [
|
|
||||||
_c("tr", [
|
|
||||||
_c("th"),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"th",
|
|
||||||
{ staticClass: "subheading font-weight-light" },
|
|
||||||
[_vm._v("Free")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"th",
|
|
||||||
{ staticClass: "subheading font-weight-light" },
|
|
||||||
[_vm._v("PRO")]
|
|
||||||
)
|
|
||||||
])
|
|
||||||
]),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("tbody", { staticClass: "text-xs-center" }, [
|
|
||||||
_c("tr", [
|
|
||||||
_c(
|
|
||||||
"th",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"text-xs-left font-weight-light subheading"
|
|
||||||
},
|
|
||||||
[_vm._v("Components")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("td", [_vm._v("60")]),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("td", [_vm._v("200")])
|
|
||||||
]),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("tr", [
|
|
||||||
_c(
|
|
||||||
"th",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"text-xs-left font-weight-light subheading"
|
|
||||||
},
|
|
||||||
[_vm._v("Plugins")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("td", [_vm._v("2")]),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("td", [_vm._v("15")])
|
|
||||||
]),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("tr", [
|
|
||||||
_c(
|
|
||||||
"th",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"text-xs-left font-weight-light subheading"
|
|
||||||
},
|
|
||||||
[_vm._v("Example Pages")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("td", [_vm._v("3")]),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("td", [_vm._v("27")])
|
|
||||||
]),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("tr", [
|
|
||||||
_c(
|
|
||||||
"th",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"text-xs-left font-weight-light subheading"
|
|
||||||
},
|
|
||||||
[_vm._v("Login, Register, Pricing, Lock Pages")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"td",
|
|
||||||
[
|
|
||||||
_c("v-icon", { attrs: { color: "error" } }, [
|
|
||||||
_vm._v("mdi-close")
|
|
||||||
])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"td",
|
|
||||||
[
|
|
||||||
_c("v-icon", { attrs: { color: "success" } }, [
|
|
||||||
_vm._v("mdi-check")
|
|
||||||
])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
]),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("tr", [
|
|
||||||
_c(
|
|
||||||
"th",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"text-xs-left font-weight-light subheading"
|
|
||||||
},
|
|
||||||
[_vm._v("Premium Support")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"td",
|
|
||||||
[
|
|
||||||
_c("v-icon", { attrs: { color: "error" } }, [
|
|
||||||
_vm._v("mdi-close")
|
|
||||||
])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"td",
|
|
||||||
[
|
|
||||||
_c("v-icon", { attrs: { color: "success" } }, [
|
|
||||||
_vm._v("mdi-check")
|
|
||||||
])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
]),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("tr", [
|
|
||||||
_c("th"),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("td", [_vm._v("Free")]),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("td", [_vm._v("Just $59")])
|
|
||||||
]),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("tr", [
|
|
||||||
_c("th"),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"td",
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"subheading white--text font-weight-light",
|
|
||||||
attrs: {
|
|
||||||
round: "",
|
|
||||||
large: "",
|
|
||||||
color: "grey",
|
|
||||||
disabled: ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[_vm._v("Current Version")]
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"td",
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"subheading white--text font-weight-light",
|
|
||||||
attrs: { round: "", large: "", color: "cyan" }
|
|
||||||
},
|
|
||||||
[_vm._v("Upgrade to Pro")]
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
])
|
|
||||||
])
|
|
||||||
])
|
|
||||||
]
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
}
|
|
||||||
var staticRenderFns = []
|
|
||||||
render._withStripped = true
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/NotWorking/Upgrade.vue":
|
|
||||||
/*!*******************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/NotWorking/Upgrade.vue ***!
|
|
||||||
\*******************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _Upgrade_vue_vue_type_template_id_405aec93___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Upgrade.vue?vue&type=template&id=405aec93& */ "./resources/js/vue/views/NotWorking/Upgrade.vue?vue&type=template&id=405aec93&");
|
|
||||||
/* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
|
||||||
|
|
||||||
var script = {}
|
|
||||||
|
|
||||||
|
|
||||||
/* normalize component */
|
|
||||||
|
|
||||||
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_1__["default"])(
|
|
||||||
script,
|
|
||||||
_Upgrade_vue_vue_type_template_id_405aec93___WEBPACK_IMPORTED_MODULE_0__["render"],
|
|
||||||
_Upgrade_vue_vue_type_template_id_405aec93___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
|
||||||
false,
|
|
||||||
null,
|
|
||||||
null,
|
|
||||||
null
|
|
||||||
|
|
||||||
)
|
|
||||||
|
|
||||||
/* hot reload */
|
|
||||||
if (false) { var api; }
|
|
||||||
component.options.__file = "resources/js/vue/views/NotWorking/Upgrade.vue"
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/NotWorking/Upgrade.vue?vue&type=template&id=405aec93&":
|
|
||||||
/*!**************************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/NotWorking/Upgrade.vue?vue&type=template&id=405aec93& ***!
|
|
||||||
\**************************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Upgrade_vue_vue_type_template_id_405aec93___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../node_modules/vue-loader/lib??vue-loader-options!./Upgrade.vue?vue&type=template&id=405aec93& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/NotWorking/Upgrade.vue?vue&type=template&id=405aec93&");
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Upgrade_vue_vue_type_template_id_405aec93___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
|
||||||
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Upgrade_vue_vue_type_template_id_405aec93___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ })
|
|
||||||
|
|
||||||
}]);
|
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-677
@@ -1,677 +0,0 @@
|
|||||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[3],{
|
|
||||||
|
|
||||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/NotWorking/AddNewTest.vue?vue&type=script&lang=js&":
|
|
||||||
/*!*******************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/NotWorking/AddNewTest.vue?vue&type=script&lang=js& ***!
|
|
||||||
\*******************************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
||||||
data: function data() {
|
|
||||||
return {
|
|
||||||
ArrayDiv: [],
|
|
||||||
select: {
|
|
||||||
state: 'Florida',
|
|
||||||
abbr: 'FL'
|
|
||||||
},
|
|
||||||
items: [{
|
|
||||||
state: 'Florida',
|
|
||||||
abbr: 'FL'
|
|
||||||
}, {
|
|
||||||
state: 'Georgia',
|
|
||||||
abbr: 'GA'
|
|
||||||
}, {
|
|
||||||
state: 'Nebraska',
|
|
||||||
abbr: 'NE'
|
|
||||||
}, {
|
|
||||||
state: 'California',
|
|
||||||
abbr: 'CA'
|
|
||||||
}, {
|
|
||||||
state: 'New York',
|
|
||||||
abbr: 'NY'
|
|
||||||
}]
|
|
||||||
};
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
Duplicator: function Duplicator() {
|
|
||||||
var Forms = document.getElementsByClassName('Form');
|
|
||||||
var ArrayForm = [];
|
|
||||||
|
|
||||||
for (var i = 0; i < Forms.length; i++) {
|
|
||||||
ArrayForm.push(Forms[i]);
|
|
||||||
}
|
|
||||||
|
|
||||||
this.ArrayDiv.push(ArrayForm);
|
|
||||||
},
|
|
||||||
Remove: function Remove() {
|
|
||||||
var ID = document.getElementById('RemoveFormBuilder');
|
|
||||||
var Element = ID.parentNode;
|
|
||||||
Element.remove();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/NotWorking/AddNewTest.vue?vue&type=style&index=0&id=7eb32e4a&lang=css&scoped=true&":
|
|
||||||
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/css-loader/dist/cjs.js??ref--5-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--5-2!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/NotWorking/AddNewTest.vue?vue&type=style&index=0&id=7eb32e4a&lang=css&scoped=true& ***!
|
|
||||||
\**************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! no static exports found */
|
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
|
||||||
|
|
||||||
exports = module.exports = __webpack_require__(/*! ../../../../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js")(false);
|
|
||||||
// Module
|
|
||||||
exports.push([module.i, "\n.WM-Border[data-v-7eb32e4a] {\r\n border: 1px solid;\n}\n.WM-Border-Black[data-v-7eb32e4a] {\r\n border-color: #2f353b !important;\n}\n.WM-Border-Gray[data-v-7eb32e4a] {\r\n border-color: #aaa !important;\n}\n.WM-Color-LightGrey[data-v-7eb32e4a] {\r\n background-color : #F5F5F5;\n}\n.WM-Relative[data-v-7eb32e4a] {\r\n position: relative;\n}\n.v-btn--top.v-btn--absolute.v-btn--small[data-v-7eb32e4a] {\r\n top: -25px !important;\n}\r\n", ""]);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/style-loader/index.js!./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/NotWorking/AddNewTest.vue?vue&type=style&index=0&id=7eb32e4a&lang=css&scoped=true&":
|
|
||||||
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/style-loader!./node_modules/css-loader/dist/cjs.js??ref--5-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--5-2!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/NotWorking/AddNewTest.vue?vue&type=style&index=0&id=7eb32e4a&lang=css&scoped=true& ***!
|
|
||||||
\******************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! no static exports found */
|
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
|
||||||
|
|
||||||
|
|
||||||
var content = __webpack_require__(/*! !../../../../../node_modules/css-loader/dist/cjs.js??ref--5-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src??ref--5-2!../../../../../node_modules/vue-loader/lib??vue-loader-options!./AddNewTest.vue?vue&type=style&index=0&id=7eb32e4a&lang=css&scoped=true& */ "./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/NotWorking/AddNewTest.vue?vue&type=style&index=0&id=7eb32e4a&lang=css&scoped=true&");
|
|
||||||
|
|
||||||
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
||||||
|
|
||||||
var transform;
|
|
||||||
var insertInto;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
var options = {"hmr":true}
|
|
||||||
|
|
||||||
options.transform = transform
|
|
||||||
options.insertInto = undefined;
|
|
||||||
|
|
||||||
var update = __webpack_require__(/*! ../../../../../node_modules/style-loader/lib/addStyles.js */ "./node_modules/style-loader/lib/addStyles.js")(content, options);
|
|
||||||
|
|
||||||
if(content.locals) module.exports = content.locals;
|
|
||||||
|
|
||||||
if(false) {}
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/NotWorking/AddNewTest.vue?vue&type=template&id=7eb32e4a&scoped=true&":
|
|
||||||
/*!***********************************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/NotWorking/AddNewTest.vue?vue&type=template&id=7eb32e4a&scoped=true& ***!
|
|
||||||
\***********************************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
|
|
||||||
var render = function() {
|
|
||||||
var _vm = this
|
|
||||||
var _h = _vm.$createElement
|
|
||||||
var _c = _vm._self._c || _h
|
|
||||||
return _c(
|
|
||||||
"v-container",
|
|
||||||
{ attrs: { fluid: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"material-card",
|
|
||||||
{ attrs: { color: "black", title: "Add a New Test" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{ staticClass: "ma-2", attrs: { wrap: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", md3: "", sm3: "" } },
|
|
||||||
[
|
|
||||||
_c("v-text-field", {
|
|
||||||
staticClass: "pa-2",
|
|
||||||
attrs: { label: "Test Name", color: "black" }
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", md3: "", sm3: "" } },
|
|
||||||
[
|
|
||||||
_c("v-text-field", {
|
|
||||||
staticClass: "pa-2",
|
|
||||||
attrs: { label: "Unique ID", color: "black" }
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"pa-3 my-4 mx-3 WM-Border WM-Border-Black WM-Relative",
|
|
||||||
attrs: { wrap: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"pa-3 my-4 mx-3 WM-Border WM-Border-Gray WM-Relative WM-Color-LightGrey",
|
|
||||||
attrs: { wrap: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", md3: "", sm3: "" } },
|
|
||||||
[
|
|
||||||
_c("v-text-field", {
|
|
||||||
staticClass: "pa-2",
|
|
||||||
attrs: { label: "Input Name", color: "black" }
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", md2: "", sm2: "" } },
|
|
||||||
[
|
|
||||||
_c("v-select", {
|
|
||||||
staticClass: "pa-2",
|
|
||||||
attrs: {
|
|
||||||
hint: _vm.select.state + ", " + _vm.select.abbr,
|
|
||||||
items: _vm.items,
|
|
||||||
"item-text": "state",
|
|
||||||
"item-value": "abbr",
|
|
||||||
label: "Type",
|
|
||||||
"return-object": "",
|
|
||||||
"single-line": "",
|
|
||||||
color: "black"
|
|
||||||
},
|
|
||||||
model: {
|
|
||||||
value: _vm.select,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.select = $$v
|
|
||||||
},
|
|
||||||
expression: "select"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", md2: "", sm2: "" } },
|
|
||||||
[
|
|
||||||
_c("v-select", {
|
|
||||||
staticClass: "pa-2",
|
|
||||||
attrs: {
|
|
||||||
hint: _vm.select.state + ", " + _vm.select.abbr,
|
|
||||||
items: _vm.items,
|
|
||||||
"item-text": "state",
|
|
||||||
"item-value": "abbr",
|
|
||||||
label: "Size",
|
|
||||||
"return-object": "",
|
|
||||||
"single-line": "",
|
|
||||||
color: "black"
|
|
||||||
},
|
|
||||||
model: {
|
|
||||||
value: _vm.select,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.select = $$v
|
|
||||||
},
|
|
||||||
expression: "select"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", md5: "", sm5: "" } },
|
|
||||||
[
|
|
||||||
_c("v-text-field", {
|
|
||||||
staticClass: "pa-2",
|
|
||||||
attrs: { label: "Value", color: "black" }
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_vm._l(_vm.ArrayDiv, function(Div, Key) {
|
|
||||||
return _c(
|
|
||||||
"v-layout",
|
|
||||||
{
|
|
||||||
key: Key,
|
|
||||||
staticClass:
|
|
||||||
"pa-3 my-4 mx-3 WM-Border WM-Border-Gray WM-Relative WM-Color-LightGrey Form",
|
|
||||||
attrs: { wrap: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", md3: "", sm3: "" } },
|
|
||||||
[
|
|
||||||
_c("v-text-field", {
|
|
||||||
staticClass: "pa-2",
|
|
||||||
attrs: { label: "Input Name", color: "black" }
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", md2: "", sm2: "" } },
|
|
||||||
[
|
|
||||||
_c("v-select", {
|
|
||||||
staticClass: "pa-2",
|
|
||||||
attrs: {
|
|
||||||
hint: _vm.select.state + ", " + _vm.select.abbr,
|
|
||||||
items: _vm.items,
|
|
||||||
"item-text": "state",
|
|
||||||
"item-value": "abbr",
|
|
||||||
label: "Type",
|
|
||||||
"return-object": "",
|
|
||||||
"single-line": "",
|
|
||||||
color: "black"
|
|
||||||
},
|
|
||||||
model: {
|
|
||||||
value: _vm.select,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.select = $$v
|
|
||||||
},
|
|
||||||
expression: "select"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", md2: "", sm2: "" } },
|
|
||||||
[
|
|
||||||
_c("v-select", {
|
|
||||||
staticClass: "pa-2",
|
|
||||||
attrs: {
|
|
||||||
hint: _vm.select.state + ", " + _vm.select.abbr,
|
|
||||||
items: _vm.items,
|
|
||||||
"item-text": "state",
|
|
||||||
"item-value": "abbr",
|
|
||||||
label: "Size",
|
|
||||||
"return-object": "",
|
|
||||||
"single-line": "",
|
|
||||||
color: "black"
|
|
||||||
},
|
|
||||||
model: {
|
|
||||||
value: _vm.select,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.select = $$v
|
|
||||||
},
|
|
||||||
expression: "select"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", md5: "", sm5: "" } },
|
|
||||||
[
|
|
||||||
_c("v-text-field", {
|
|
||||||
staticClass: "pa-2",
|
|
||||||
attrs: { label: "Value", color: "black" }
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
attrs: {
|
|
||||||
absolute: "",
|
|
||||||
small: "",
|
|
||||||
right: "",
|
|
||||||
top: "",
|
|
||||||
color: "pink",
|
|
||||||
id: "RemoveFormBuilder"
|
|
||||||
},
|
|
||||||
on: {
|
|
||||||
click: function($event) {
|
|
||||||
return _vm.Remove()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{ staticClass: "white--text mr-2 caption" },
|
|
||||||
[_vm._v("fas fa-times")]
|
|
||||||
),
|
|
||||||
_vm._v("\n REMOVE")
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
}),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
attrs: {
|
|
||||||
absolute: "",
|
|
||||||
small: "",
|
|
||||||
right: "",
|
|
||||||
bottom: "",
|
|
||||||
color: "cyan",
|
|
||||||
id: "FormBuilder"
|
|
||||||
},
|
|
||||||
on: { click: _vm.Duplicator }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c("v-icon", { staticClass: "white--text mr-2 caption" }, [
|
|
||||||
_vm._v("fas fa-plus")
|
|
||||||
]),
|
|
||||||
_vm._v("\n ADD")
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
2
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("div", { attrs: { id: "WM-FormBuilder" } }),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{
|
|
||||||
staticClass: "text-xs-center",
|
|
||||||
attrs: { xs12: "", md12: "", sm12: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass: "WM-CyanBlueGradient-BG",
|
|
||||||
staticStyle: { padding: "10px 60px" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c("v-icon", { staticClass: "white--text mr-2 caption" }, [
|
|
||||||
_vm._v("fas fa-plus")
|
|
||||||
]),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("span", { staticClass: "white--text" }, [_vm._v("Add")])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
}
|
|
||||||
var staticRenderFns = []
|
|
||||||
render._withStripped = true
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/NotWorking/AddNewTest.vue":
|
|
||||||
/*!**********************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/NotWorking/AddNewTest.vue ***!
|
|
||||||
\**********************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _AddNewTest_vue_vue_type_template_id_7eb32e4a_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AddNewTest.vue?vue&type=template&id=7eb32e4a&scoped=true& */ "./resources/js/vue/views/NotWorking/AddNewTest.vue?vue&type=template&id=7eb32e4a&scoped=true&");
|
|
||||||
/* harmony import */ var _AddNewTest_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./AddNewTest.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/NotWorking/AddNewTest.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport *//* harmony import */ var _AddNewTest_vue_vue_type_style_index_0_id_7eb32e4a_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./AddNewTest.vue?vue&type=style&index=0&id=7eb32e4a&lang=css&scoped=true& */ "./resources/js/vue/views/NotWorking/AddNewTest.vue?vue&type=style&index=0&id=7eb32e4a&lang=css&scoped=true&");
|
|
||||||
/* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* normalize component */
|
|
||||||
|
|
||||||
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
|
|
||||||
_AddNewTest_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
||||||
_AddNewTest_vue_vue_type_template_id_7eb32e4a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
|
|
||||||
_AddNewTest_vue_vue_type_template_id_7eb32e4a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
|
||||||
false,
|
|
||||||
null,
|
|
||||||
"7eb32e4a",
|
|
||||||
null
|
|
||||||
|
|
||||||
)
|
|
||||||
|
|
||||||
/* hot reload */
|
|
||||||
if (false) { var api; }
|
|
||||||
component.options.__file = "resources/js/vue/views/NotWorking/AddNewTest.vue"
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/NotWorking/AddNewTest.vue?vue&type=script&lang=js&":
|
|
||||||
/*!***********************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/NotWorking/AddNewTest.vue?vue&type=script&lang=js& ***!
|
|
||||||
\***********************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_AddNewTest_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/babel-loader/lib??ref--4-0!../../../../../node_modules/vue-loader/lib??vue-loader-options!./AddNewTest.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/NotWorking/AddNewTest.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_AddNewTest_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/NotWorking/AddNewTest.vue?vue&type=style&index=0&id=7eb32e4a&lang=css&scoped=true&":
|
|
||||||
/*!*******************************************************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/NotWorking/AddNewTest.vue?vue&type=style&index=0&id=7eb32e4a&lang=css&scoped=true& ***!
|
|
||||||
\*******************************************************************************************************************/
|
|
||||||
/*! no static exports found */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_AddNewTest_vue_vue_type_style_index_0_id_7eb32e4a_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/style-loader!../../../../../node_modules/css-loader/dist/cjs.js??ref--5-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src??ref--5-2!../../../../../node_modules/vue-loader/lib??vue-loader-options!./AddNewTest.vue?vue&type=style&index=0&id=7eb32e4a&lang=css&scoped=true& */ "./node_modules/style-loader/index.js!./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/NotWorking/AddNewTest.vue?vue&type=style&index=0&id=7eb32e4a&lang=css&scoped=true&");
|
|
||||||
/* harmony import */ var _node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_AddNewTest_vue_vue_type_style_index_0_id_7eb32e4a_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_AddNewTest_vue_vue_type_style_index_0_id_7eb32e4a_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
||||||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_AddNewTest_vue_vue_type_style_index_0_id_7eb32e4a_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_AddNewTest_vue_vue_type_style_index_0_id_7eb32e4a_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (_node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_AddNewTest_vue_vue_type_style_index_0_id_7eb32e4a_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/NotWorking/AddNewTest.vue?vue&type=template&id=7eb32e4a&scoped=true&":
|
|
||||||
/*!*****************************************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/NotWorking/AddNewTest.vue?vue&type=template&id=7eb32e4a&scoped=true& ***!
|
|
||||||
\*****************************************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_AddNewTest_vue_vue_type_template_id_7eb32e4a_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../node_modules/vue-loader/lib??vue-loader-options!./AddNewTest.vue?vue&type=template&id=7eb32e4a&scoped=true& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/NotWorking/AddNewTest.vue?vue&type=template&id=7eb32e4a&scoped=true&");
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_AddNewTest_vue_vue_type_template_id_7eb32e4a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
|
||||||
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_AddNewTest_vue_vue_type_template_id_7eb32e4a_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ })
|
|
||||||
|
|
||||||
}]);
|
|
||||||
-374
@@ -1,374 +0,0 @@
|
|||||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[4],{
|
|
||||||
|
|
||||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/NotWorking/Typography.vue?vue&type=script&lang=js&":
|
|
||||||
/*!*******************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/NotWorking/Typography.vue?vue&type=script&lang=js& ***!
|
|
||||||
\*******************************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
var leader = 'I will be the leader of a company that ends up being worth billions of dollars, because I got the answers. I understand culture. I am the nucleus. I think that’s a responsibility that I have, to push possibilities, to show people, this is the level that things could be at.';
|
|
||||||
var leaderShort = leader.slice(0, 105) + '...';
|
|
||||||
var material = 'The Life of Material Dashboard';
|
|
||||||
var small = 'Header with small subtitle';
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
||||||
data: function data() {
|
|
||||||
return {
|
|
||||||
typography: {
|
|
||||||
'heading-1': ['Header 1', material, 'h1'],
|
|
||||||
'heading-2': ['Header 2', material, 'h2'],
|
|
||||||
'heading-3': ['Header 3', material, 'h3'],
|
|
||||||
'heading-4': ['Header 4', material, 'h4'],
|
|
||||||
'heading-5': ['Header 5', material, 'h5'],
|
|
||||||
'heading-6 text-uppercase': ['Header 6', material, 'h6'],
|
|
||||||
'': ['Paragraph', leader, 'p'],
|
|
||||||
'quote': ['Quote', leader, 'blockquote'],
|
|
||||||
'text--disabled': ['Muted Text', leaderShort, 'p'],
|
|
||||||
'text-primary': ['Primary Text', leaderShort, 'p'],
|
|
||||||
'text-info': ['Info Text', leaderShort, 'p'],
|
|
||||||
'text-success': ['Success Text', leaderShort, 'p'],
|
|
||||||
'text-warning': ['Warning Text', leaderShort, 'p'],
|
|
||||||
'text-danger': ['Danger Text', leaderShort, 'p'],
|
|
||||||
'small': ['Small Tag', small, 'h2']
|
|
||||||
}
|
|
||||||
};
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/lib/loader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/NotWorking/Typography.vue?vue&type=style&index=0&lang=scss&":
|
|
||||||
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--6-2!./node_modules/sass-loader/lib/loader.js??ref--6-3!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/NotWorking/Typography.vue?vue&type=style&index=0&lang=scss& ***!
|
|
||||||
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! no static exports found */
|
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
|
||||||
|
|
||||||
exports = module.exports = __webpack_require__(/*! ../../../../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js")(false);
|
|
||||||
// Module
|
|
||||||
exports.push([module.i, ".tim-note {\n bottom: 10px;\n color: #c0c1c2;\n display: block;\n font-weight: 400;\n font-size: 13px;\n line-height: 13px;\n left: 0;\n margin-left: 20px;\n width: 260px;\n}", ""]);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/style-loader/index.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/lib/loader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/NotWorking/Typography.vue?vue&type=style&index=0&lang=scss&":
|
|
||||||
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/style-loader!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--6-2!./node_modules/sass-loader/lib/loader.js??ref--6-3!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/NotWorking/Typography.vue?vue&type=style&index=0&lang=scss& ***!
|
|
||||||
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! no static exports found */
|
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
|
||||||
|
|
||||||
|
|
||||||
var content = __webpack_require__(/*! !../../../../../node_modules/css-loader/dist/cjs.js!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src??ref--6-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--6-3!../../../../../node_modules/vue-loader/lib??vue-loader-options!./Typography.vue?vue&type=style&index=0&lang=scss& */ "./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/lib/loader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/NotWorking/Typography.vue?vue&type=style&index=0&lang=scss&");
|
|
||||||
|
|
||||||
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
||||||
|
|
||||||
var transform;
|
|
||||||
var insertInto;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
var options = {"hmr":true}
|
|
||||||
|
|
||||||
options.transform = transform
|
|
||||||
options.insertInto = undefined;
|
|
||||||
|
|
||||||
var update = __webpack_require__(/*! ../../../../../node_modules/style-loader/lib/addStyles.js */ "./node_modules/style-loader/lib/addStyles.js")(content, options);
|
|
||||||
|
|
||||||
if(content.locals) module.exports = content.locals;
|
|
||||||
|
|
||||||
if(false) {}
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/NotWorking/Typography.vue?vue&type=template&id=446dabf0&":
|
|
||||||
/*!***********************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/NotWorking/Typography.vue?vue&type=template&id=446dabf0& ***!
|
|
||||||
\***********************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
|
|
||||||
var render = function() {
|
|
||||||
var _vm = this
|
|
||||||
var _h = _vm.$createElement
|
|
||||||
var _c = _vm._self._c || _h
|
|
||||||
return _c(
|
|
||||||
"v-container",
|
|
||||||
{ attrs: { "fill-height": "", fluid: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{ attrs: { "justify-center": "", "align-center": "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"material-card",
|
|
||||||
{
|
|
||||||
attrs: {
|
|
||||||
color: "green",
|
|
||||||
title: "Material Dashboard Heading",
|
|
||||||
text: "Created using Roboto Font Family"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-card-text",
|
|
||||||
[
|
|
||||||
_c("h2", { staticClass: "font-weight-light mb-4" }, [
|
|
||||||
_vm._v("Typography")
|
|
||||||
]),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-container",
|
|
||||||
{
|
|
||||||
staticClass: "pa-0",
|
|
||||||
attrs: { "grid-list-xl": "", fluid: "" }
|
|
||||||
},
|
|
||||||
_vm._l(_vm.typography, function(t, i) {
|
|
||||||
return _c(
|
|
||||||
"v-layout",
|
|
||||||
{ key: i, attrs: { "align-end": "", wrap: "" } },
|
|
||||||
[
|
|
||||||
_c("v-flex", { attrs: { xs1: "", md3: "" } }, [
|
|
||||||
_c("span", {
|
|
||||||
staticClass: "tim-note",
|
|
||||||
domProps: { textContent: _vm._s(t[0]) }
|
|
||||||
})
|
|
||||||
]),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs8: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
t[2],
|
|
||||||
{ tag: "component", class: i },
|
|
||||||
[
|
|
||||||
i !== "quote"
|
|
||||||
? [
|
|
||||||
_vm._v(
|
|
||||||
"\n " +
|
|
||||||
_vm._s(t[1]) +
|
|
||||||
"\n "
|
|
||||||
)
|
|
||||||
]
|
|
||||||
: _vm._e(),
|
|
||||||
_vm._v(" "),
|
|
||||||
i === "quote"
|
|
||||||
? _c("p", [_vm._v(_vm._s(t[1]))])
|
|
||||||
: _vm._e(),
|
|
||||||
_vm._v(" "),
|
|
||||||
i === "quote"
|
|
||||||
? _c("small", [
|
|
||||||
_vm._v("Kanye West, Musician")
|
|
||||||
])
|
|
||||||
: _vm._e(),
|
|
||||||
_vm._v(" "),
|
|
||||||
i === "small"
|
|
||||||
? [
|
|
||||||
_c("br"),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("small", [
|
|
||||||
_vm._v(
|
|
||||||
"Use 'small' tag for the headers"
|
|
||||||
)
|
|
||||||
])
|
|
||||||
]
|
|
||||||
: _vm._e()
|
|
||||||
],
|
|
||||||
2
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
}),
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
}
|
|
||||||
var staticRenderFns = []
|
|
||||||
render._withStripped = true
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/NotWorking/Typography.vue":
|
|
||||||
/*!**********************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/NotWorking/Typography.vue ***!
|
|
||||||
\**********************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _Typography_vue_vue_type_template_id_446dabf0___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Typography.vue?vue&type=template&id=446dabf0& */ "./resources/js/vue/views/NotWorking/Typography.vue?vue&type=template&id=446dabf0&");
|
|
||||||
/* harmony import */ var _Typography_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Typography.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/NotWorking/Typography.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport *//* harmony import */ var _Typography_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Typography.vue?vue&type=style&index=0&lang=scss& */ "./resources/js/vue/views/NotWorking/Typography.vue?vue&type=style&index=0&lang=scss&");
|
|
||||||
/* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* normalize component */
|
|
||||||
|
|
||||||
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
|
|
||||||
_Typography_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
||||||
_Typography_vue_vue_type_template_id_446dabf0___WEBPACK_IMPORTED_MODULE_0__["render"],
|
|
||||||
_Typography_vue_vue_type_template_id_446dabf0___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
|
||||||
false,
|
|
||||||
null,
|
|
||||||
null,
|
|
||||||
null
|
|
||||||
|
|
||||||
)
|
|
||||||
|
|
||||||
/* hot reload */
|
|
||||||
if (false) { var api; }
|
|
||||||
component.options.__file = "resources/js/vue/views/NotWorking/Typography.vue"
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/NotWorking/Typography.vue?vue&type=script&lang=js&":
|
|
||||||
/*!***********************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/NotWorking/Typography.vue?vue&type=script&lang=js& ***!
|
|
||||||
\***********************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Typography_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/babel-loader/lib??ref--4-0!../../../../../node_modules/vue-loader/lib??vue-loader-options!./Typography.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/NotWorking/Typography.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Typography_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/NotWorking/Typography.vue?vue&type=style&index=0&lang=scss&":
|
|
||||||
/*!********************************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/NotWorking/Typography.vue?vue&type=style&index=0&lang=scss& ***!
|
|
||||||
\********************************************************************************************/
|
|
||||||
/*! no static exports found */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_2_node_modules_sass_loader_lib_loader_js_ref_6_3_node_modules_vue_loader_lib_index_js_vue_loader_options_Typography_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/style-loader!../../../../../node_modules/css-loader/dist/cjs.js!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src??ref--6-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--6-3!../../../../../node_modules/vue-loader/lib??vue-loader-options!./Typography.vue?vue&type=style&index=0&lang=scss& */ "./node_modules/style-loader/index.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/sass-loader/lib/loader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/NotWorking/Typography.vue?vue&type=style&index=0&lang=scss&");
|
|
||||||
/* harmony import */ var _node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_2_node_modules_sass_loader_lib_loader_js_ref_6_3_node_modules_vue_loader_lib_index_js_vue_loader_options_Typography_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_2_node_modules_sass_loader_lib_loader_js_ref_6_3_node_modules_vue_loader_lib_index_js_vue_loader_options_Typography_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
||||||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_2_node_modules_sass_loader_lib_loader_js_ref_6_3_node_modules_vue_loader_lib_index_js_vue_loader_options_Typography_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_2_node_modules_sass_loader_lib_loader_js_ref_6_3_node_modules_vue_loader_lib_index_js_vue_loader_options_Typography_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (_node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_2_node_modules_sass_loader_lib_loader_js_ref_6_3_node_modules_vue_loader_lib_index_js_vue_loader_options_Typography_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/NotWorking/Typography.vue?vue&type=template&id=446dabf0&":
|
|
||||||
/*!*****************************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/NotWorking/Typography.vue?vue&type=template&id=446dabf0& ***!
|
|
||||||
\*****************************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Typography_vue_vue_type_template_id_446dabf0___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../node_modules/vue-loader/lib??vue-loader-options!./Typography.vue?vue&type=template&id=446dabf0& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/NotWorking/Typography.vue?vue&type=template&id=446dabf0&");
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Typography_vue_vue_type_template_id_446dabf0___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
|
||||||
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Typography_vue_vue_type_template_id_446dabf0___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ })
|
|
||||||
|
|
||||||
}]);
|
|
||||||
File diff suppressed because one or more lines are too long
-941
@@ -1,941 +0,0 @@
|
|||||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[5],{
|
|
||||||
|
|
||||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Package/List.vue?vue&type=script&lang=js&":
|
|
||||||
/*!**********************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/Package/List.vue?vue&type=script&lang=js& ***!
|
|
||||||
\**********************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ "./node_modules/@babel/runtime/regenerator/index.js");
|
|
||||||
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);
|
|
||||||
/* harmony import */ var _services__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/services */ "./resources/js/vue/services/index.js");
|
|
||||||
/* harmony import */ var _config_urls__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/config/urls */ "./resources/js/vue/config/urls.js");
|
|
||||||
/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vuex */ "./node_modules/vuex/dist/vuex.esm.js");
|
|
||||||
|
|
||||||
|
|
||||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
||||||
|
|
||||||
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
||||||
|
|
||||||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
|
|
||||||
|
|
||||||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
||||||
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
||||||
data: function data() {
|
|
||||||
return {
|
|
||||||
headers: [{
|
|
||||||
sortable: true,
|
|
||||||
text: "Unique ID",
|
|
||||||
value: "Unique ID"
|
|
||||||
}, {
|
|
||||||
sortable: true,
|
|
||||||
text: "Name",
|
|
||||||
value: "name"
|
|
||||||
}, {
|
|
||||||
sortable: false,
|
|
||||||
text: "Result",
|
|
||||||
value: "result"
|
|
||||||
}, {
|
|
||||||
sortable: false,
|
|
||||||
text: "Date",
|
|
||||||
value: "date"
|
|
||||||
}, {
|
|
||||||
sortable: false,
|
|
||||||
text: "Action",
|
|
||||||
value: "action",
|
|
||||||
align: "right"
|
|
||||||
}],
|
|
||||||
filter: {
|
|
||||||
unique_id: '',
|
|
||||||
name: '',
|
|
||||||
result: ''
|
|
||||||
},
|
|
||||||
result: ['Pass', 'Fail'],
|
|
||||||
items: [],
|
|
||||||
currentPage: 1,
|
|
||||||
lastPage: 1
|
|
||||||
};
|
|
||||||
},
|
|
||||||
created: function created() {
|
|
||||||
this.load();
|
|
||||||
},
|
|
||||||
methods: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_3__["mapMutations"])("modal", ["changeCurrentModal"]), {
|
|
||||||
load: function () {
|
|
||||||
var _load = _asyncToGenerator(
|
|
||||||
/*#__PURE__*/
|
|
||||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee() {
|
|
||||||
var page,
|
|
||||||
filter,
|
|
||||||
key,
|
|
||||||
result,
|
|
||||||
_args = arguments;
|
|
||||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee$(_context) {
|
|
||||||
while (1) {
|
|
||||||
switch (_context.prev = _context.next) {
|
|
||||||
case 0:
|
|
||||||
page = _args.length > 0 && _args[0] !== undefined ? _args[0] : 1;
|
|
||||||
filter = '?';
|
|
||||||
|
|
||||||
for (key in this.filter) {
|
|
||||||
if (this.filter.hasOwnProperty(key)) {
|
|
||||||
filter += "".concat(key, "=").concat(this.filter[key], "&");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
filter += page ? "page=".concat(page) : "page=1";
|
|
||||||
_context.next = 6;
|
|
||||||
return _services__WEBPACK_IMPORTED_MODULE_1__["ApiService"].get(_config_urls__WEBPACK_IMPORTED_MODULE_2__["urls"].listPackage(filter));
|
|
||||||
|
|
||||||
case 6:
|
|
||||||
result = _context.sent;
|
|
||||||
|
|
||||||
if (result && result.status == 200) {
|
|
||||||
this.items = result.data.data.data;
|
|
||||||
this.currentPage = result.data.data.current_page;
|
|
||||||
this.lastPage = result.data.data.last_page;
|
|
||||||
}
|
|
||||||
|
|
||||||
case 8:
|
|
||||||
case "end":
|
|
||||||
return _context.stop();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}, _callee, this);
|
|
||||||
}));
|
|
||||||
|
|
||||||
function load() {
|
|
||||||
return _load.apply(this, arguments);
|
|
||||||
}
|
|
||||||
|
|
||||||
return load;
|
|
||||||
}(),
|
|
||||||
show: function () {
|
|
||||||
var _show = _asyncToGenerator(
|
|
||||||
/*#__PURE__*/
|
|
||||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee2(testResultId) {
|
|
||||||
var result;
|
|
||||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee2$(_context2) {
|
|
||||||
while (1) {
|
|
||||||
switch (_context2.prev = _context2.next) {
|
|
||||||
case 0:
|
|
||||||
_context2.next = 2;
|
|
||||||
return _services__WEBPACK_IMPORTED_MODULE_1__["ApiService"].get(_config_urls__WEBPACK_IMPORTED_MODULE_2__["urls"].showPackage(testResultId));
|
|
||||||
|
|
||||||
case 2:
|
|
||||||
result = _context2.sent;
|
|
||||||
|
|
||||||
if (result && result.status == 200) {
|
|
||||||
this.changeCurrentModal({
|
|
||||||
modal: "modal-package-show",
|
|
||||||
properties: {
|
|
||||||
result: result
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
case 4:
|
|
||||||
case "end":
|
|
||||||
return _context2.stop();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}, _callee2, this);
|
|
||||||
}));
|
|
||||||
|
|
||||||
function show(_x) {
|
|
||||||
return _show.apply(this, arguments);
|
|
||||||
}
|
|
||||||
|
|
||||||
return show;
|
|
||||||
}(),
|
|
||||||
remove: function () {
|
|
||||||
var _remove = _asyncToGenerator(
|
|
||||||
/*#__PURE__*/
|
|
||||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee3(testResultId) {
|
|
||||||
var result, key;
|
|
||||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee3$(_context3) {
|
|
||||||
while (1) {
|
|
||||||
switch (_context3.prev = _context3.next) {
|
|
||||||
case 0:
|
|
||||||
_context3.next = 2;
|
|
||||||
return _services__WEBPACK_IMPORTED_MODULE_1__["ApiService"].delete(_config_urls__WEBPACK_IMPORTED_MODULE_2__["urls"].removePackage(testResultId));
|
|
||||||
|
|
||||||
case 2:
|
|
||||||
result = _context3.sent;
|
|
||||||
|
|
||||||
if (result && result.status == 200) {
|
|
||||||
for (key in this.items) {
|
|
||||||
if (this.items.hasOwnProperty(key) && this.items[key].id == testResultId) {
|
|
||||||
this.items.splice(key, 1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
case 4:
|
|
||||||
case "end":
|
|
||||||
return _context3.stop();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}, _callee3, this);
|
|
||||||
}));
|
|
||||||
|
|
||||||
function remove(_x2) {
|
|
||||||
return _remove.apply(this, arguments);
|
|
||||||
}
|
|
||||||
|
|
||||||
return remove;
|
|
||||||
}(),
|
|
||||||
generateBarcode: function () {
|
|
||||||
var _generateBarcode = _asyncToGenerator(
|
|
||||||
/*#__PURE__*/
|
|
||||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee4(code) {
|
|
||||||
var result;
|
|
||||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee4$(_context4) {
|
|
||||||
while (1) {
|
|
||||||
switch (_context4.prev = _context4.next) {
|
|
||||||
case 0:
|
|
||||||
_context4.next = 2;
|
|
||||||
return _services__WEBPACK_IMPORTED_MODULE_1__["ApiService"].post(_config_urls__WEBPACK_IMPORTED_MODULE_2__["urls"].Barcode(code));
|
|
||||||
|
|
||||||
case 2:
|
|
||||||
result = _context4.sent;
|
|
||||||
|
|
||||||
if (result && result.status == 200) {
|
|
||||||
this.changeCurrentModal({
|
|
||||||
modal: "modal-barcode-barcode",
|
|
||||||
properties: {
|
|
||||||
result: result
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
case 4:
|
|
||||||
case "end":
|
|
||||||
return _context4.stop();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}, _callee4, this);
|
|
||||||
}));
|
|
||||||
|
|
||||||
function generateBarcode(_x3) {
|
|
||||||
return _generateBarcode.apply(this, arguments);
|
|
||||||
}
|
|
||||||
|
|
||||||
return generateBarcode;
|
|
||||||
}()
|
|
||||||
}),
|
|
||||||
computed: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_3__["mapGetters"])("modal", ["getModalResult"])),
|
|
||||||
watch: {
|
|
||||||
currentPage: function currentPage(page) {
|
|
||||||
this.load(page);
|
|
||||||
},
|
|
||||||
getModalResult: function getModalResult(testResult) {
|
|
||||||
for (var key in this.items) {
|
|
||||||
if (this.items.hasOwnProperty(key) && this.items[key].id == testResult.id) {
|
|
||||||
this.items[key] = testResult;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Package/List.vue?vue&type=style&index=0&lang=css&":
|
|
||||||
/*!*****************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/css-loader/dist/cjs.js??ref--5-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--5-2!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/Package/List.vue?vue&type=style&index=0&lang=css& ***!
|
|
||||||
\*****************************************************************************************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! no static exports found */
|
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
|
||||||
|
|
||||||
exports = module.exports = __webpack_require__(/*! ../../../../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js")(false);
|
|
||||||
// Module
|
|
||||||
exports.push([module.i, "\n.v-btn--floating {\r\n padding: 0!important;\n}\n.theme--light.v-btn.v-btn--flat {\r\n color: rgba(0,0,0,.87)!important;\n}\n.v-btn--floating, .v-btn--icon:before {\r\n border-radius: 50%!important;\n}\r\n", ""]);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/style-loader/index.js!./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Package/List.vue?vue&type=style&index=0&lang=css&":
|
|
||||||
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/style-loader!./node_modules/css-loader/dist/cjs.js??ref--5-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--5-2!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/Package/List.vue?vue&type=style&index=0&lang=css& ***!
|
|
||||||
\*********************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! no static exports found */
|
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
|
||||||
|
|
||||||
|
|
||||||
var content = __webpack_require__(/*! !../../../../../node_modules/css-loader/dist/cjs.js??ref--5-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src??ref--5-2!../../../../../node_modules/vue-loader/lib??vue-loader-options!./List.vue?vue&type=style&index=0&lang=css& */ "./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Package/List.vue?vue&type=style&index=0&lang=css&");
|
|
||||||
|
|
||||||
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
||||||
|
|
||||||
var transform;
|
|
||||||
var insertInto;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
var options = {"hmr":true}
|
|
||||||
|
|
||||||
options.transform = transform
|
|
||||||
options.insertInto = undefined;
|
|
||||||
|
|
||||||
var update = __webpack_require__(/*! ../../../../../node_modules/style-loader/lib/addStyles.js */ "./node_modules/style-loader/lib/addStyles.js")(content, options);
|
|
||||||
|
|
||||||
if(content.locals) module.exports = content.locals;
|
|
||||||
|
|
||||||
if(false) {}
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Package/List.vue?vue&type=template&id=0d0579af&":
|
|
||||||
/*!**************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/Package/List.vue?vue&type=template&id=0d0579af& ***!
|
|
||||||
\**************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
|
|
||||||
var render = function() {
|
|
||||||
var _vm = this
|
|
||||||
var _h = _vm.$createElement
|
|
||||||
var _c = _vm._self._c || _h
|
|
||||||
return _c(
|
|
||||||
"div",
|
|
||||||
{},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-container",
|
|
||||||
{ attrs: { fluid: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"material-card",
|
|
||||||
{ attrs: { color: "black", title: "All Packages", text: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{
|
|
||||||
staticClass: "my-3",
|
|
||||||
attrs: { "align-center": "", wrap: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", md3: "", sm3: "" } },
|
|
||||||
[
|
|
||||||
_c("v-text-field", {
|
|
||||||
staticClass: "pa-2",
|
|
||||||
attrs: { label: "Name", color: "black" },
|
|
||||||
model: {
|
|
||||||
value: _vm.filter.name,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.$set(_vm.filter, "name", $$v)
|
|
||||||
},
|
|
||||||
expression: "filter.name"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", md3: "", sm3: "" } },
|
|
||||||
[
|
|
||||||
_c("v-autocomplete", {
|
|
||||||
staticClass: "pa-2",
|
|
||||||
attrs: {
|
|
||||||
label: "Result",
|
|
||||||
color: "black",
|
|
||||||
items: _vm.result
|
|
||||||
},
|
|
||||||
model: {
|
|
||||||
value: _vm.filter.result,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.$set(_vm.filter, "result", $$v)
|
|
||||||
},
|
|
||||||
expression: "filter.result"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", md3: "", sm3: "" } },
|
|
||||||
[
|
|
||||||
_c("v-text-field", {
|
|
||||||
staticClass: "pa-2",
|
|
||||||
attrs: { label: "uniqueID", color: "black" },
|
|
||||||
model: {
|
|
||||||
value: _vm.filter.unique_id,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.$set(_vm.filter, "unique_id", $$v)
|
|
||||||
},
|
|
||||||
expression: "filter.unique_id"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", md2: "", sm3: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass: "WM-CyanBlueGradient-BG",
|
|
||||||
staticStyle: { padding: "10px 60px" },
|
|
||||||
on: {
|
|
||||||
click: function($event) {
|
|
||||||
return _vm.load()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{ staticClass: "white--text mr-2 caption" },
|
|
||||||
[_vm._v("fas fa-search")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("span", { staticClass: "white--text" }, [
|
|
||||||
_vm._v("Filter")
|
|
||||||
])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("v-spacer"),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{
|
|
||||||
staticClass: "text-xs-right",
|
|
||||||
attrs: { xs12: "", md2: "", sm2: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"router-link",
|
|
||||||
{ attrs: { to: { name: "AddPackage" } } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black"
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{ staticClass: "black--text mr-2 caption" },
|
|
||||||
[_vm._v("fas fa-plus")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("span", { staticClass: "black--text" }, [
|
|
||||||
_vm._v("Add")
|
|
||||||
])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("v-divider"),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{
|
|
||||||
staticClass: "my-3",
|
|
||||||
attrs: { "align-center": "", wrap: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { md12: "" } },
|
|
||||||
[
|
|
||||||
_c("v-data-table", {
|
|
||||||
attrs: {
|
|
||||||
headers: _vm.headers,
|
|
||||||
items: _vm.items,
|
|
||||||
"hide-actions": ""
|
|
||||||
},
|
|
||||||
scopedSlots: _vm._u([
|
|
||||||
{
|
|
||||||
key: "headerCell",
|
|
||||||
fn: function(ref) {
|
|
||||||
var header = ref.header
|
|
||||||
return [
|
|
||||||
_c("span", {
|
|
||||||
staticClass:
|
|
||||||
"subheading font-weight-light text-white text--darken-3",
|
|
||||||
domProps: { textContent: _vm._s(header.text) }
|
|
||||||
})
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
key: "items",
|
|
||||||
fn: function(ref) {
|
|
||||||
var item = ref.item
|
|
||||||
return [
|
|
||||||
_c(
|
|
||||||
"td",
|
|
||||||
{ staticClass: "headline font-weight-light" },
|
|
||||||
[_vm._v(_vm._s(item.unique_id))]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"td",
|
|
||||||
{ staticClass: "title font-weight-light" },
|
|
||||||
[_vm._v(_vm._s(item.name))]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"td",
|
|
||||||
{ staticClass: "title font-weight-light" },
|
|
||||||
[_vm._v(_vm._s(item.result))]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"td",
|
|
||||||
{ staticClass: "title font-weight-light" },
|
|
||||||
[_vm._v(_vm._s(item.created_at))]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"td",
|
|
||||||
{ staticClass: "text-xs-right" },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass: "mr-2",
|
|
||||||
attrs: { color: "cyan" },
|
|
||||||
on: {
|
|
||||||
click: function($event) {
|
|
||||||
return _vm.show(item.id)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"white--text mr-1 caption"
|
|
||||||
},
|
|
||||||
[_vm._v("fas fa-eye")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("span", [_vm._v("Show")])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_vm.$hasRole("Admin") ||
|
|
||||||
item.user_id == _vm.$store.state.user.id
|
|
||||||
? _c(
|
|
||||||
"router-link",
|
|
||||||
{
|
|
||||||
attrs: {
|
|
||||||
to: {
|
|
||||||
name: "EditPackage",
|
|
||||||
params: { package: item.id }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass: "mr-2",
|
|
||||||
attrs: { color: "orange" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"white--text mr-1 caption"
|
|
||||||
},
|
|
||||||
[_vm._v("fas fa-pen")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("span", [_vm._v("Edit")])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
: _vm._e(),
|
|
||||||
_vm._v(" "),
|
|
||||||
_vm.$hasRole("Admin") ||
|
|
||||||
item.user_id == _vm.$store.state.user.id
|
|
||||||
? _c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass: "WM-ActionButton",
|
|
||||||
attrs: { color: "pink" },
|
|
||||||
on: {
|
|
||||||
click: function($event) {
|
|
||||||
return _vm.remove(item.id)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"white--text mr-2 caption"
|
|
||||||
},
|
|
||||||
[_vm._v("fas fa-times")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("span", [_vm._v("Remove")])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
: _vm._e(),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
attrs: { color: "orange darken-1" },
|
|
||||||
on: {
|
|
||||||
click: function($event) {
|
|
||||||
return _vm.generateBarcode(
|
|
||||||
item.unique_id
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"white--text mr-1 caption"
|
|
||||||
},
|
|
||||||
[_vm._v("fas fa-barcode")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("span", [_vm._v("Generate Barcode")])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
])
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("v-divider"),
|
|
||||||
_vm._v(" "),
|
|
||||||
_vm.lastPage > 1
|
|
||||||
? _c(
|
|
||||||
"div",
|
|
||||||
{ staticClass: "text-xs-center" },
|
|
||||||
[
|
|
||||||
_c("v-pagination", {
|
|
||||||
attrs: { length: _vm.lastPage, "total-visible": 6 },
|
|
||||||
model: {
|
|
||||||
value: _vm.currentPage,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.currentPage = $$v
|
|
||||||
},
|
|
||||||
expression: "currentPage"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
: _vm._e(),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{
|
|
||||||
staticClass: "mt-3",
|
|
||||||
attrs: {
|
|
||||||
row: "",
|
|
||||||
wrap: "",
|
|
||||||
"align-center": "",
|
|
||||||
"justify-center": ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"router-link",
|
|
||||||
{ attrs: { to: "/dashboard" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black ml-5"
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{ staticClass: "black--text mr-2 caption" },
|
|
||||||
[_vm._v("fas fa-chevron-left")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("span", { staticClass: "black--text" }, [
|
|
||||||
_vm._v("Back")
|
|
||||||
])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
}
|
|
||||||
var staticRenderFns = []
|
|
||||||
render._withStripped = true
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/Package/List.vue":
|
|
||||||
/*!*************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/Package/List.vue ***!
|
|
||||||
\*************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _List_vue_vue_type_template_id_0d0579af___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./List.vue?vue&type=template&id=0d0579af& */ "./resources/js/vue/views/Package/List.vue?vue&type=template&id=0d0579af&");
|
|
||||||
/* harmony import */ var _List_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./List.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/Package/List.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport *//* harmony import */ var _List_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./List.vue?vue&type=style&index=0&lang=css& */ "./resources/js/vue/views/Package/List.vue?vue&type=style&index=0&lang=css&");
|
|
||||||
/* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* normalize component */
|
|
||||||
|
|
||||||
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
|
|
||||||
_List_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
||||||
_List_vue_vue_type_template_id_0d0579af___WEBPACK_IMPORTED_MODULE_0__["render"],
|
|
||||||
_List_vue_vue_type_template_id_0d0579af___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
|
||||||
false,
|
|
||||||
null,
|
|
||||||
null,
|
|
||||||
null
|
|
||||||
|
|
||||||
)
|
|
||||||
|
|
||||||
/* hot reload */
|
|
||||||
if (false) { var api; }
|
|
||||||
component.options.__file = "resources/js/vue/views/Package/List.vue"
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/Package/List.vue?vue&type=script&lang=js&":
|
|
||||||
/*!**************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/Package/List.vue?vue&type=script&lang=js& ***!
|
|
||||||
\**************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/babel-loader/lib??ref--4-0!../../../../../node_modules/vue-loader/lib??vue-loader-options!./List.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Package/List.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/Package/List.vue?vue&type=style&index=0&lang=css&":
|
|
||||||
/*!**********************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/Package/List.vue?vue&type=style&index=0&lang=css& ***!
|
|
||||||
\**********************************************************************************/
|
|
||||||
/*! no static exports found */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/style-loader!../../../../../node_modules/css-loader/dist/cjs.js??ref--5-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src??ref--5-2!../../../../../node_modules/vue-loader/lib??vue-loader-options!./List.vue?vue&type=style&index=0&lang=css& */ "./node_modules/style-loader/index.js!./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Package/List.vue?vue&type=style&index=0&lang=css&");
|
|
||||||
/* harmony import */ var _node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
||||||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (_node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/Package/List.vue?vue&type=template&id=0d0579af&":
|
|
||||||
/*!********************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/Package/List.vue?vue&type=template&id=0d0579af& ***!
|
|
||||||
\********************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_template_id_0d0579af___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../node_modules/vue-loader/lib??vue-loader-options!./List.vue?vue&type=template&id=0d0579af& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/Package/List.vue?vue&type=template&id=0d0579af&");
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_template_id_0d0579af___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
|
||||||
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_template_id_0d0579af___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ })
|
|
||||||
|
|
||||||
}]);
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{E5QS:function(t,e,a){"use strict";a.r(e);var s={data:function(){return{ArrayDiv:[],select:{state:"Florida",abbr:"FL"},items:[{state:"Florida",abbr:"FL"},{state:"Georgia",abbr:"GA"},{state:"Nebraska",abbr:"NE"},{state:"California",abbr:"CA"},{state:"New York",abbr:"NY"}]}},methods:{Duplicator:function(){for(var t=document.getElementsByClassName("Form"),e=[],a=0;a<t.length;a++)e.push(t[a]);this.ArrayDiv.push(e)},Remove:function(){document.getElementById("RemoveFormBuilder").parentNode.remove()}}},l=(a("qH4A"),a("KHd+")),r=Object(l.a)(s,function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-container",{attrs:{fluid:""}},[a("material-card",{attrs:{color:"black",title:"Add a New Test"}},[a("v-layout",{staticClass:"ma-2",attrs:{wrap:""}},[a("v-flex",{attrs:{xs12:"",md3:"",sm3:""}},[a("v-text-field",{staticClass:"pa-2",attrs:{label:"Test Name",color:"black"}})],1),t._v(" "),a("v-flex",{attrs:{xs12:"",md3:"",sm3:""}},[a("v-text-field",{staticClass:"pa-2",attrs:{label:"Unique ID",color:"black"}})],1)],1),t._v(" "),a("v-layout",{staticClass:"pa-3 my-4 mx-3 WM-Border WM-Border-Black WM-Relative",attrs:{wrap:""}},[a("v-layout",{staticClass:"pa-3 my-4 mx-3 WM-Border WM-Border-Gray WM-Relative WM-Color-LightGrey",attrs:{wrap:""}},[a("v-flex",{attrs:{xs12:"",md3:"",sm3:""}},[a("v-text-field",{staticClass:"pa-2",attrs:{label:"Input Name",color:"black"}})],1),t._v(" "),a("v-flex",{attrs:{xs12:"",md2:"",sm2:""}},[a("v-select",{staticClass:"pa-2",attrs:{hint:t.select.state+", "+t.select.abbr,items:t.items,"item-text":"state","item-value":"abbr",label:"Type","return-object":"","single-line":"",color:"black"},model:{value:t.select,callback:function(e){t.select=e},expression:"select"}})],1),t._v(" "),a("v-flex",{attrs:{xs12:"",md2:"",sm2:""}},[a("v-select",{staticClass:"pa-2",attrs:{hint:t.select.state+", "+t.select.abbr,items:t.items,"item-text":"state","item-value":"abbr",label:"Size","return-object":"","single-line":"",color:"black"},model:{value:t.select,callback:function(e){t.select=e},expression:"select"}})],1),t._v(" "),a("v-flex",{attrs:{xs12:"",md5:"",sm5:""}},[a("v-text-field",{staticClass:"pa-2",attrs:{label:"Value",color:"black"}})],1)],1),t._v(" "),t._l(t.ArrayDiv,function(e,s){return a("v-layout",{key:s,staticClass:"pa-3 my-4 mx-3 WM-Border WM-Border-Gray WM-Relative WM-Color-LightGrey Form",attrs:{wrap:""}},[a("v-flex",{attrs:{xs12:"",md3:"",sm3:""}},[a("v-text-field",{staticClass:"pa-2",attrs:{label:"Input Name",color:"black"}})],1),t._v(" "),a("v-flex",{attrs:{xs12:"",md2:"",sm2:""}},[a("v-select",{staticClass:"pa-2",attrs:{hint:t.select.state+", "+t.select.abbr,items:t.items,"item-text":"state","item-value":"abbr",label:"Type","return-object":"","single-line":"",color:"black"},model:{value:t.select,callback:function(e){t.select=e},expression:"select"}})],1),t._v(" "),a("v-flex",{attrs:{xs12:"",md2:"",sm2:""}},[a("v-select",{staticClass:"pa-2",attrs:{hint:t.select.state+", "+t.select.abbr,items:t.items,"item-text":"state","item-value":"abbr",label:"Size","return-object":"","single-line":"",color:"black"},model:{value:t.select,callback:function(e){t.select=e},expression:"select"}})],1),t._v(" "),a("v-flex",{attrs:{xs12:"",md5:"",sm5:""}},[a("v-text-field",{staticClass:"pa-2",attrs:{label:"Value",color:"black"}})],1),t._v(" "),a("v-btn",{attrs:{absolute:"",small:"",right:"",top:"",color:"pink",id:"RemoveFormBuilder"},on:{click:function(e){return t.Remove()}}},[a("v-icon",{staticClass:"white--text mr-2 caption"},[t._v("fas fa-times")]),t._v("\n REMOVE")],1)],1)}),t._v(" "),a("v-btn",{attrs:{absolute:"",small:"",right:"",bottom:"",color:"cyan",id:"FormBuilder"},on:{click:t.Duplicator}},[a("v-icon",{staticClass:"white--text mr-2 caption"},[t._v("fas fa-plus")]),t._v("\n ADD")],1)],2),t._v(" "),a("div",{attrs:{id:"WM-FormBuilder"}}),t._v(" "),a("v-flex",{staticClass:"text-xs-center",attrs:{xs12:"",md12:"",sm12:""}},[a("v-btn",{staticClass:"WM-CyanBlueGradient-BG",staticStyle:{padding:"10px 60px"}},[a("v-icon",{staticClass:"white--text mr-2 caption"},[t._v("fas fa-plus")]),t._v(" "),a("span",{staticClass:"white--text"},[t._v("Add")])],1)],1)],1)],1)},[],!1,null,"2072d814",null);e.default=r.exports},XX4K:function(t,e,a){(t.exports=a("JPst")(!1)).push([t.i,"\n.WM-Border[data-v-2072d814] {\n border: 1px solid;\n}\n.WM-Border-Black[data-v-2072d814] {\n border-color: #2f353b !important;\n}\n.WM-Border-Gray[data-v-2072d814] {\n border-color: #aaa !important;\n}\n.WM-Color-LightGrey[data-v-2072d814] {\n background-color : #F5F5F5;\n}\n.WM-Relative[data-v-2072d814] {\n position: relative;\n}\n.v-btn--top.v-btn--absolute.v-btn--small[data-v-2072d814] {\n top: -25px !important;\n}\n",""])},dhEH:function(t,e,a){var s=a("XX4K");"string"==typeof s&&(s=[[t.i,s,""]]);var l={hmr:!0,transform:void 0,insertInto:void 0};a("aET+")(s,l);s.locals&&(t.exports=s.locals)},qH4A:function(t,e,a){"use strict";var s=a("dhEH");a.n(s).a}}]);
|
|
||||||
-1179
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
-1505
File diff suppressed because it is too large
Load Diff
-995
@@ -1,995 +0,0 @@
|
|||||||
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[8],{
|
|
||||||
|
|
||||||
/***/ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/TestType/List.vue?vue&type=script&lang=js&":
|
|
||||||
/*!***********************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/babel-loader/lib??ref--4-0!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/TestType/List.vue?vue&type=script&lang=js& ***!
|
|
||||||
\***********************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ "./node_modules/@babel/runtime/regenerator/index.js");
|
|
||||||
/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__);
|
|
||||||
/* harmony import */ var _services__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/services */ "./resources/js/vue/services/index.js");
|
|
||||||
/* harmony import */ var _config_urls__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/config/urls */ "./resources/js/vue/config/urls.js");
|
|
||||||
/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vuex */ "./node_modules/vuex/dist/vuex.esm.js");
|
|
||||||
|
|
||||||
|
|
||||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
||||||
|
|
||||||
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
||||||
|
|
||||||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
|
|
||||||
|
|
||||||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
||||||
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
||||||
data: function data() {
|
|
||||||
return {
|
|
||||||
headers: [{
|
|
||||||
sortable: false,
|
|
||||||
text: "TestType Name",
|
|
||||||
value: "name"
|
|
||||||
}, {
|
|
||||||
sortable: false,
|
|
||||||
text: "TestType UniqueId",
|
|
||||||
value: "uniqueId"
|
|
||||||
}, {
|
|
||||||
sortable: false,
|
|
||||||
text: "Register TestType",
|
|
||||||
value: "users"
|
|
||||||
}, {
|
|
||||||
sortable: false,
|
|
||||||
text: "Date",
|
|
||||||
value: "date"
|
|
||||||
}, {
|
|
||||||
sortable: false,
|
|
||||||
text: "Action",
|
|
||||||
value: "action",
|
|
||||||
align: "right"
|
|
||||||
}],
|
|
||||||
items: [],
|
|
||||||
filter: {
|
|
||||||
name: "",
|
|
||||||
unique_id: "",
|
|
||||||
user_name: "",
|
|
||||||
fromPicker: "",
|
|
||||||
upToPicker: ""
|
|
||||||
},
|
|
||||||
fromMenu: "",
|
|
||||||
upToMenu: "",
|
|
||||||
currentPage: 1,
|
|
||||||
lastPage: 1
|
|
||||||
};
|
|
||||||
},
|
|
||||||
created: function created() {
|
|
||||||
this.load();
|
|
||||||
},
|
|
||||||
methods: _objectSpread({}, Object(vuex__WEBPACK_IMPORTED_MODULE_3__["mapMutations"])("modal", ["changeCurrentModal"]), {
|
|
||||||
load: function () {
|
|
||||||
var _load = _asyncToGenerator(
|
|
||||||
/*#__PURE__*/
|
|
||||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee() {
|
|
||||||
var page,
|
|
||||||
filter,
|
|
||||||
key,
|
|
||||||
result,
|
|
||||||
_args = arguments;
|
|
||||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee$(_context) {
|
|
||||||
while (1) {
|
|
||||||
switch (_context.prev = _context.next) {
|
|
||||||
case 0:
|
|
||||||
page = _args.length > 0 && _args[0] !== undefined ? _args[0] : 1;
|
|
||||||
filter = "?";
|
|
||||||
|
|
||||||
for (key in this.filter) {
|
|
||||||
if (this.filter.hasOwnProperty(key)) {
|
|
||||||
filter += "".concat(key, "=").concat(this.filter[key], "&");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
filter += page ? "page=".concat(page) : "page=1";
|
|
||||||
_context.next = 6;
|
|
||||||
return _services__WEBPACK_IMPORTED_MODULE_1__["ApiService"].get(_config_urls__WEBPACK_IMPORTED_MODULE_2__["urls"].listTestType(filter));
|
|
||||||
|
|
||||||
case 6:
|
|
||||||
result = _context.sent;
|
|
||||||
|
|
||||||
if (result && result.status == 200) {
|
|
||||||
this.items = result.data.data.data;
|
|
||||||
this.currentPage = result.data.data.current_page;
|
|
||||||
this.lastPage = result.data.data.last_page;
|
|
||||||
}
|
|
||||||
|
|
||||||
case 8:
|
|
||||||
case "end":
|
|
||||||
return _context.stop();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}, _callee, this);
|
|
||||||
}));
|
|
||||||
|
|
||||||
function load() {
|
|
||||||
return _load.apply(this, arguments);
|
|
||||||
}
|
|
||||||
|
|
||||||
return load;
|
|
||||||
}(),
|
|
||||||
remove: function () {
|
|
||||||
var _remove = _asyncToGenerator(
|
|
||||||
/*#__PURE__*/
|
|
||||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee2(id) {
|
|
||||||
var result, key;
|
|
||||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee2$(_context2) {
|
|
||||||
while (1) {
|
|
||||||
switch (_context2.prev = _context2.next) {
|
|
||||||
case 0:
|
|
||||||
_context2.next = 2;
|
|
||||||
return _services__WEBPACK_IMPORTED_MODULE_1__["ApiService"].delete(_config_urls__WEBPACK_IMPORTED_MODULE_2__["urls"].deleteTestType(id));
|
|
||||||
|
|
||||||
case 2:
|
|
||||||
result = _context2.sent;
|
|
||||||
|
|
||||||
if (result.status == 200) {
|
|
||||||
for (key in this.items) {
|
|
||||||
if (this.items.hasOwnProperty(key) && this.items[key].id == id) {
|
|
||||||
this.items.splice(key, 1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
case 4:
|
|
||||||
case "end":
|
|
||||||
return _context2.stop();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}, _callee2, this);
|
|
||||||
}));
|
|
||||||
|
|
||||||
function remove(_x) {
|
|
||||||
return _remove.apply(this, arguments);
|
|
||||||
}
|
|
||||||
|
|
||||||
return remove;
|
|
||||||
}(),
|
|
||||||
generateBarcode: function () {
|
|
||||||
var _generateBarcode = _asyncToGenerator(
|
|
||||||
/*#__PURE__*/
|
|
||||||
_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.mark(function _callee3(id) {
|
|
||||||
var result;
|
|
||||||
return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default.a.wrap(function _callee3$(_context3) {
|
|
||||||
while (1) {
|
|
||||||
switch (_context3.prev = _context3.next) {
|
|
||||||
case 0:
|
|
||||||
_context3.next = 2;
|
|
||||||
return _services__WEBPACK_IMPORTED_MODULE_1__["ApiService"].post(_config_urls__WEBPACK_IMPORTED_MODULE_2__["urls"].TestTypeBarcode(id));
|
|
||||||
|
|
||||||
case 2:
|
|
||||||
result = _context3.sent;
|
|
||||||
|
|
||||||
if (result && result.status == 200) {
|
|
||||||
this.changeCurrentModal({
|
|
||||||
modal: "modal-barcode-barcode",
|
|
||||||
properties: {
|
|
||||||
result: result
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
case 4:
|
|
||||||
case "end":
|
|
||||||
return _context3.stop();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}, _callee3, this);
|
|
||||||
}));
|
|
||||||
|
|
||||||
function generateBarcode(_x2) {
|
|
||||||
return _generateBarcode.apply(this, arguments);
|
|
||||||
}
|
|
||||||
|
|
||||||
return generateBarcode;
|
|
||||||
}()
|
|
||||||
}),
|
|
||||||
watch: {
|
|
||||||
currentPage: function currentPage(page) {
|
|
||||||
this.load(page);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/TestType/List.vue?vue&type=style&index=0&id=b1f1b72e&lang=css&scoped=true&":
|
|
||||||
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/css-loader/dist/cjs.js??ref--5-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--5-2!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/TestType/List.vue?vue&type=style&index=0&id=b1f1b72e&lang=css&scoped=true& ***!
|
|
||||||
\******************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! no static exports found */
|
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
|
||||||
|
|
||||||
exports = module.exports = __webpack_require__(/*! ../../../../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js")(false);
|
|
||||||
// Module
|
|
||||||
exports.push([module.i, "\n.WM-ActionButton[data-v-b1f1b72e] {\r\n padding: 8px 22px;\n}\n.v-btn--floating[data-v-b1f1b72e] {\r\n padding: 0!important;\n}\n.theme--light.v-btn.v-btn--flat[data-v-b1f1b72e] {\r\n color: rgba(0,0,0,.87)!important;\n}\n.v-btn--floating[data-v-b1f1b72e], .v-btn--icon[data-v-b1f1b72e]:before {\r\n border-radius: 50%!important;\n}\r\n", ""]);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/style-loader/index.js!./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/TestType/List.vue?vue&type=style&index=0&id=b1f1b72e&lang=css&scoped=true&":
|
|
||||||
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/style-loader!./node_modules/css-loader/dist/cjs.js??ref--5-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--5-2!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/TestType/List.vue?vue&type=style&index=0&id=b1f1b72e&lang=css&scoped=true& ***!
|
|
||||||
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! no static exports found */
|
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
|
||||||
|
|
||||||
|
|
||||||
var content = __webpack_require__(/*! !../../../../../node_modules/css-loader/dist/cjs.js??ref--5-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src??ref--5-2!../../../../../node_modules/vue-loader/lib??vue-loader-options!./List.vue?vue&type=style&index=0&id=b1f1b72e&lang=css&scoped=true& */ "./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/TestType/List.vue?vue&type=style&index=0&id=b1f1b72e&lang=css&scoped=true&");
|
|
||||||
|
|
||||||
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
||||||
|
|
||||||
var transform;
|
|
||||||
var insertInto;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
var options = {"hmr":true}
|
|
||||||
|
|
||||||
options.transform = transform
|
|
||||||
options.insertInto = undefined;
|
|
||||||
|
|
||||||
var update = __webpack_require__(/*! ../../../../../node_modules/style-loader/lib/addStyles.js */ "./node_modules/style-loader/lib/addStyles.js")(content, options);
|
|
||||||
|
|
||||||
if(content.locals) module.exports = content.locals;
|
|
||||||
|
|
||||||
if(false) {}
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/TestType/List.vue?vue&type=template&id=b1f1b72e&scoped=true&":
|
|
||||||
/*!***************************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./resources/js/vue/views/TestType/List.vue?vue&type=template&id=b1f1b72e&scoped=true& ***!
|
|
||||||
\***************************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
|
|
||||||
var render = function() {
|
|
||||||
var _vm = this
|
|
||||||
var _h = _vm.$createElement
|
|
||||||
var _c = _vm._self._c || _h
|
|
||||||
return _c(
|
|
||||||
"v-container",
|
|
||||||
{ attrs: { fluid: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"material-card",
|
|
||||||
{ attrs: { color: "black", title: "Medical Centers List", text: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{ staticClass: "px-5 mb-3", attrs: { wrap: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ staticClass: "pr-3", attrs: { xs12: "", md4: "", sm3: "" } },
|
|
||||||
[
|
|
||||||
_c("v-text-field", {
|
|
||||||
attrs: { label: "Name", color: "black" },
|
|
||||||
model: {
|
|
||||||
value: _vm.filter.name,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.$set(_vm.filter, "name", $$v)
|
|
||||||
},
|
|
||||||
expression: "filter.name"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ staticClass: "pr-3", attrs: { xs12: "", md4: "", sm3: "" } },
|
|
||||||
[
|
|
||||||
_c("v-text-field", {
|
|
||||||
attrs: { label: "UniqueId", color: "black" },
|
|
||||||
model: {
|
|
||||||
value: _vm.filter.unique_id,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.$set(_vm.filter, "unique_id", $$v)
|
|
||||||
},
|
|
||||||
expression: "filter.unique_id"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ staticClass: "pr-3", attrs: { xs12: "", md4: "", sm3: "" } },
|
|
||||||
[
|
|
||||||
_c("v-text-field", {
|
|
||||||
attrs: { label: "UserName", color: "black" },
|
|
||||||
model: {
|
|
||||||
value: _vm.filter.user_name,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.$set(_vm.filter, "user_name", $$v)
|
|
||||||
},
|
|
||||||
expression: "filter.user_name"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", sm6: "", md3: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-menu",
|
|
||||||
{
|
|
||||||
attrs: {
|
|
||||||
lazy: "",
|
|
||||||
"close-on-content-click": true,
|
|
||||||
transition: "v-scale-transition",
|
|
||||||
"offset-y": ""
|
|
||||||
},
|
|
||||||
model: {
|
|
||||||
value: _vm.fromMenu,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.fromMenu = $$v
|
|
||||||
},
|
|
||||||
expression: "fromMenu"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c("v-text-field", {
|
|
||||||
attrs: {
|
|
||||||
slot: "activator",
|
|
||||||
required: "",
|
|
||||||
label: "FromDate"
|
|
||||||
},
|
|
||||||
slot: "activator",
|
|
||||||
model: {
|
|
||||||
value: _vm.filter.fromPicker,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.$set(_vm.filter, "fromPicker", $$v)
|
|
||||||
},
|
|
||||||
expression: "filter.fromPicker"
|
|
||||||
}
|
|
||||||
}),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("v-date-picker", {
|
|
||||||
attrs: {
|
|
||||||
color: "pink",
|
|
||||||
"no-title": "",
|
|
||||||
"date-format": function(date) {
|
|
||||||
return new Date(date).toDateString()
|
|
||||||
}
|
|
||||||
},
|
|
||||||
model: {
|
|
||||||
value: _vm.filter.fromPicker,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.$set(_vm.filter, "fromPicker", $$v)
|
|
||||||
},
|
|
||||||
expression: "filter.fromPicker"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { xs12: "", sm6: "", md3: "" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-menu",
|
|
||||||
{
|
|
||||||
attrs: {
|
|
||||||
lazy: "",
|
|
||||||
"close-on-content-click": true,
|
|
||||||
transition: "v-scale-transition",
|
|
||||||
"offset-y": ""
|
|
||||||
},
|
|
||||||
model: {
|
|
||||||
value: _vm.upToMenu,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.upToMenu = $$v
|
|
||||||
},
|
|
||||||
expression: "upToMenu"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c("v-text-field", {
|
|
||||||
attrs: {
|
|
||||||
slot: "activator",
|
|
||||||
required: "",
|
|
||||||
label: "FromDate"
|
|
||||||
},
|
|
||||||
slot: "activator",
|
|
||||||
model: {
|
|
||||||
value: _vm.filter.upToPicker,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.$set(_vm.filter, "upToPicker", $$v)
|
|
||||||
},
|
|
||||||
expression: "filter.upToPicker"
|
|
||||||
}
|
|
||||||
}),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("v-date-picker", {
|
|
||||||
attrs: {
|
|
||||||
color: "pink",
|
|
||||||
"no-title": "",
|
|
||||||
"date-format": function(date) {
|
|
||||||
return new Date(date).toDateString()
|
|
||||||
}
|
|
||||||
},
|
|
||||||
model: {
|
|
||||||
value: _vm.filter.upToPicker,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.$set(_vm.filter, "upToPicker", $$v)
|
|
||||||
},
|
|
||||||
expression: "filter.upToPicker"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{
|
|
||||||
staticClass: "text-xs-right",
|
|
||||||
attrs: { xs12: "", md2: "", sm2: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass: "WM-CyanBlueGradient-BG",
|
|
||||||
staticStyle: { padding: "10px 60px" },
|
|
||||||
on: {
|
|
||||||
click: function($event) {
|
|
||||||
return _vm.load(undefined)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{ staticClass: "white--text mr-2 caption" },
|
|
||||||
[_vm._v("fas fa-search")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("span", { staticClass: "white--text" }, [
|
|
||||||
_vm._v("Filter")
|
|
||||||
])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("v-spacer"),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{
|
|
||||||
staticClass: "text-xs-right",
|
|
||||||
attrs: { xs12: "", md2: "", sm2: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"router-link",
|
|
||||||
{ attrs: { to: { name: "AddTestType" } } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black"
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{ staticClass: "black--text mr-2 caption" },
|
|
||||||
[_vm._v("fas fa-plus")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("span", { staticClass: "black--text" }, [
|
|
||||||
_vm._v("Add")
|
|
||||||
])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("v-layout", { staticClass: "px-4 my-3" }, [_c("v-divider")], 1),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{
|
|
||||||
staticClass: "px-5 mt-3",
|
|
||||||
attrs: { "align-center": "", "justify-center": "", wrap: "" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-flex",
|
|
||||||
{ attrs: { md12: "" } },
|
|
||||||
[
|
|
||||||
_c("v-data-table", {
|
|
||||||
attrs: {
|
|
||||||
headers: _vm.headers,
|
|
||||||
items: _vm.items,
|
|
||||||
"hide-actions": ""
|
|
||||||
},
|
|
||||||
scopedSlots: _vm._u([
|
|
||||||
{
|
|
||||||
key: "headerCell",
|
|
||||||
fn: function(ref) {
|
|
||||||
var header = ref.header
|
|
||||||
return [
|
|
||||||
_c("span", {
|
|
||||||
staticClass:
|
|
||||||
"subheading font-weight-light text-white text--darken-3",
|
|
||||||
domProps: { textContent: _vm._s(header.text) }
|
|
||||||
})
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
key: "items",
|
|
||||||
fn: function(ref) {
|
|
||||||
var item = ref.item
|
|
||||||
return [
|
|
||||||
_c(
|
|
||||||
"td",
|
|
||||||
{ staticClass: "headline font-weight-light" },
|
|
||||||
[_vm._v(_vm._s(item.name))]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"td",
|
|
||||||
{ staticClass: "title font-weight-light" },
|
|
||||||
[_vm._v(_vm._s(item.unique_code))]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"td",
|
|
||||||
{ staticClass: "title font-weight-light" },
|
|
||||||
[_vm._v(_vm._s(item.user.name))]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"td",
|
|
||||||
{ staticClass: "title font-weight-light" },
|
|
||||||
[_vm._v(_vm._s(item.created_at))]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"td",
|
|
||||||
{ staticClass: "text-xs-right" },
|
|
||||||
[
|
|
||||||
item.test_results_count == 0
|
|
||||||
? _c(
|
|
||||||
"router-link",
|
|
||||||
{
|
|
||||||
attrs: {
|
|
||||||
to: {
|
|
||||||
name: "EditTestType",
|
|
||||||
params: { testType: item.id }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass: "mr-2 WM-ActionButton",
|
|
||||||
attrs: { color: "cyan" }
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"white--text mr-2 caption"
|
|
||||||
},
|
|
||||||
[_vm._v("fas fa-pen")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("span", [_vm._v("Edit")])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
: _vm._e(),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
attrs: { color: "orange darken-1" },
|
|
||||||
on: {
|
|
||||||
click: function($event) {
|
|
||||||
return _vm.generateBarcode(item.id)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{
|
|
||||||
staticClass: "white--text mr-1 caption"
|
|
||||||
},
|
|
||||||
[_vm._v("fas fa-barcode")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("span", [_vm._v("Generate Barcode")])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass: "mr-2",
|
|
||||||
attrs: { color: "black" },
|
|
||||||
on: {
|
|
||||||
click: function($event) {
|
|
||||||
return _vm.remove(item.id)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{
|
|
||||||
staticClass: "white--text mr-1 caption"
|
|
||||||
},
|
|
||||||
[_vm._v("fas fa-folder")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("span", [_vm._v("Archive")])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
])
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("v-divider"),
|
|
||||||
_vm._v(" "),
|
|
||||||
_vm.lastPage > 1
|
|
||||||
? _c(
|
|
||||||
"div",
|
|
||||||
{ staticClass: "text-xs-center" },
|
|
||||||
[
|
|
||||||
_c("v-pagination", {
|
|
||||||
attrs: { length: _vm.lastPage, "total-visible": 6 },
|
|
||||||
model: {
|
|
||||||
value: _vm.currentPage,
|
|
||||||
callback: function($$v) {
|
|
||||||
_vm.currentPage = $$v
|
|
||||||
},
|
|
||||||
expression: "currentPage"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
: _vm._e(),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"v-layout",
|
|
||||||
{
|
|
||||||
staticClass: "mt-3",
|
|
||||||
attrs: {
|
|
||||||
row: "",
|
|
||||||
wrap: "",
|
|
||||||
"align-center": "",
|
|
||||||
"justify-center": ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"router-link",
|
|
||||||
{ attrs: { to: "/dashboard" } },
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-btn",
|
|
||||||
{
|
|
||||||
staticClass:
|
|
||||||
"WM-NoShadow WM-Outline-Btn WM-Border WM-Border-Black ml-5"
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"v-icon",
|
|
||||||
{ staticClass: "black--text mr-2 caption" },
|
|
||||||
[_vm._v("fas fa-chevron-left")]
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("span", { staticClass: "black--text" }, [
|
|
||||||
_vm._v("Back")
|
|
||||||
])
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
}
|
|
||||||
var staticRenderFns = []
|
|
||||||
render._withStripped = true
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/TestType/List.vue":
|
|
||||||
/*!**************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/TestType/List.vue ***!
|
|
||||||
\**************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _List_vue_vue_type_template_id_b1f1b72e_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./List.vue?vue&type=template&id=b1f1b72e&scoped=true& */ "./resources/js/vue/views/TestType/List.vue?vue&type=template&id=b1f1b72e&scoped=true&");
|
|
||||||
/* harmony import */ var _List_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./List.vue?vue&type=script&lang=js& */ "./resources/js/vue/views/TestType/List.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport *//* harmony import */ var _List_vue_vue_type_style_index_0_id_b1f1b72e_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./List.vue?vue&type=style&index=0&id=b1f1b72e&lang=css&scoped=true& */ "./resources/js/vue/views/TestType/List.vue?vue&type=style&index=0&id=b1f1b72e&lang=css&scoped=true&");
|
|
||||||
/* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* normalize component */
|
|
||||||
|
|
||||||
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
|
|
||||||
_List_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
||||||
_List_vue_vue_type_template_id_b1f1b72e_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
|
|
||||||
_List_vue_vue_type_template_id_b1f1b72e_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
|
||||||
false,
|
|
||||||
null,
|
|
||||||
"b1f1b72e",
|
|
||||||
null
|
|
||||||
|
|
||||||
)
|
|
||||||
|
|
||||||
/* hot reload */
|
|
||||||
if (false) { var api; }
|
|
||||||
component.options.__file = "resources/js/vue/views/TestType/List.vue"
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/TestType/List.vue?vue&type=script&lang=js&":
|
|
||||||
/*!***************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/TestType/List.vue?vue&type=script&lang=js& ***!
|
|
||||||
\***************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/babel-loader/lib??ref--4-0!../../../../../node_modules/vue-loader/lib??vue-loader-options!./List.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/TestType/List.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_ref_4_0_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/TestType/List.vue?vue&type=style&index=0&id=b1f1b72e&lang=css&scoped=true&":
|
|
||||||
/*!***********************************************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/TestType/List.vue?vue&type=style&index=0&id=b1f1b72e&lang=css&scoped=true& ***!
|
|
||||||
\***********************************************************************************************************/
|
|
||||||
/*! no static exports found */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_style_index_0_id_b1f1b72e_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/style-loader!../../../../../node_modules/css-loader/dist/cjs.js??ref--5-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src??ref--5-2!../../../../../node_modules/vue-loader/lib??vue-loader-options!./List.vue?vue&type=style&index=0&id=b1f1b72e&lang=css&scoped=true& */ "./node_modules/style-loader/index.js!./node_modules/css-loader/dist/cjs.js?!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src/index.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/TestType/List.vue?vue&type=style&index=0&id=b1f1b72e&lang=css&scoped=true&");
|
|
||||||
/* harmony import */ var _node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_style_index_0_id_b1f1b72e_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_style_index_0_id_b1f1b72e_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
||||||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_style_index_0_id_b1f1b72e_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_style_index_0_id_b1f1b72e_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (_node_modules_style_loader_index_js_node_modules_css_loader_dist_cjs_js_ref_5_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_5_2_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_style_index_0_id_b1f1b72e_lang_css_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./resources/js/vue/views/TestType/List.vue?vue&type=template&id=b1f1b72e&scoped=true&":
|
|
||||||
/*!*********************************************************************************************!*\
|
|
||||||
!*** ./resources/js/vue/views/TestType/List.vue?vue&type=template&id=b1f1b72e&scoped=true& ***!
|
|
||||||
\*********************************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_template_id_b1f1b72e_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../node_modules/vue-loader/lib??vue-loader-options!./List.vue?vue&type=template&id=b1f1b72e&scoped=true& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./resources/js/vue/views/TestType/List.vue?vue&type=template&id=b1f1b72e&scoped=true&");
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_template_id_b1f1b72e_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
|
||||||
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_List_vue_vue_type_template_id_b1f1b72e_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ })
|
|
||||||
|
|
||||||
}]);
|
|
||||||
File diff suppressed because one or more lines are too long
-1220
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -30,54 +30,6 @@
|
|||||||
layout
|
layout
|
||||||
py-2
|
py-2
|
||||||
>
|
>
|
||||||
<!-- <v-menu
|
|
||||||
v-model="menu"
|
|
||||||
:close-on-content-click="false"
|
|
||||||
:nudge-width="200"
|
|
||||||
offset-x
|
|
||||||
>
|
|
||||||
<template v-slot:activator="{ on }">
|
|
||||||
<v-btn
|
|
||||||
class="default v-btn--simple"
|
|
||||||
dark
|
|
||||||
icon
|
|
||||||
v-on="on"
|
|
||||||
>
|
|
||||||
<v-icon color="tertiary">mdi-account</v-icon>
|
|
||||||
</v-btn>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<v-card>
|
|
||||||
<v-list>
|
|
||||||
<v-list-tile avatar>
|
|
||||||
<v-list-tile-avatar>
|
|
||||||
<img src="https://cdn.vuetifyjs.com/images/john.jpg" alt="John">
|
|
||||||
</v-list-tile-avatar>
|
|
||||||
|
|
||||||
<v-list-tile-content>
|
|
||||||
<v-list-tile-title>{{ name }}</v-list-tile-title>
|
|
||||||
<v-list-tile-sub-title>{{ cell_number }}</v-list-tile-sub-title>
|
|
||||||
</v-list-tile-content>
|
|
||||||
</v-list-tile>
|
|
||||||
</v-list>
|
|
||||||
|
|
||||||
<v-divider></v-divider>
|
|
||||||
|
|
||||||
<v-list>
|
|
||||||
<v-list-tile>
|
|
||||||
<v-list-tile-title>Enable messages</v-list-tile-title>
|
|
||||||
</v-list-tile>
|
|
||||||
|
|
||||||
<v-list-tile>
|
|
||||||
<v-list-tile-title>Enable hints</v-list-tile-title>
|
|
||||||
</v-list-tile>
|
|
||||||
|
|
||||||
<v-list-tile>
|
|
||||||
<v-list-tile-title>Enable hints</v-list-tile-title>
|
|
||||||
</v-list-tile>
|
|
||||||
</v-list>
|
|
||||||
</v-card>
|
|
||||||
</v-menu> -->
|
|
||||||
<!-- <v-text-field
|
<!-- <v-text-field
|
||||||
v-if="responsiveInput"
|
v-if="responsiveInput"
|
||||||
class="mr-4 mt-2 purple-input"
|
class="mr-4 mt-2 purple-input"
|
||||||
@@ -106,7 +58,7 @@
|
|||||||
<v-list>
|
<v-list>
|
||||||
<v-list-tile avatar>
|
<v-list-tile avatar>
|
||||||
<v-list-tile-avatar>
|
<v-list-tile-avatar>
|
||||||
<img src="https://cdn.vuetifyjs.com/images/john.jpg" alt="John">
|
<img src="https://cdn.vuetifyjs.com/images/john.jpg" :alt="name">
|
||||||
</v-list-tile-avatar>
|
</v-list-tile-avatar>
|
||||||
|
|
||||||
<v-list-tile-content>
|
<v-list-tile-content>
|
||||||
@@ -133,7 +85,7 @@
|
|||||||
<router-link
|
<router-link
|
||||||
v-ripple
|
v-ripple
|
||||||
class="toolbar-items"
|
class="toolbar-items"
|
||||||
:to="{name: 'MyTicket'}"
|
:to="{name: 'Tickets'}"
|
||||||
>
|
>
|
||||||
<v-list-tile >
|
<v-list-tile >
|
||||||
<v-list-tile-title class="black--text" >My Ticket</v-list-tile-title>
|
<v-list-tile-title class="black--text" >My Ticket</v-list-tile-title>
|
||||||
@@ -143,7 +95,7 @@
|
|||||||
</v-card>
|
</v-card>
|
||||||
</v-menu>
|
</v-menu>
|
||||||
|
|
||||||
<!-- <v-menu
|
<v-menu
|
||||||
bottom
|
bottom
|
||||||
left
|
left
|
||||||
content-class="dropdown-menu"
|
content-class="dropdown-menu"
|
||||||
|
|||||||
@@ -1,96 +1,59 @@
|
|||||||
<template>
|
<template>
|
||||||
<div id="">
|
<div>
|
||||||
<v-container>
|
<v-container>
|
||||||
<material-card class color="black" title="New Message" text>
|
<material-card class color="black" title="New Message" text>
|
||||||
<!-- <v-card> -->
|
|
||||||
|
|
||||||
<!-- <v-card-title>
|
|
||||||
<span class="headline"></span>
|
|
||||||
</v-card-title> -->
|
|
||||||
<v-layout wrap class="px-4 mb-3">
|
<v-layout wrap class="px-4 mb-3">
|
||||||
<!-- <v-toolbar-title>Search User</v-toolbar-title> -->
|
|
||||||
<v-flex xs12 sm12 md12>
|
<v-flex xs12 sm12 md12>
|
||||||
<v-autocomplete
|
<v-autocomplete
|
||||||
v-model="model"
|
|
||||||
:items="items"
|
:items="items"
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
:search-input.sync="search"
|
:search-input.sync="search"
|
||||||
|
v-model="user_id"
|
||||||
|
item-text="name"
|
||||||
|
item-value="id"
|
||||||
label="Search"
|
label="Search"
|
||||||
persistent-hint
|
persistent-hint
|
||||||
prepend-icon="fas fa-search"
|
prepend-icon="fas fa-search"
|
||||||
color="black"
|
color="black"
|
||||||
>
|
></v-autocomplete>
|
||||||
</v-autocomplete>
|
|
||||||
</v-flex>
|
</v-flex>
|
||||||
</v-layout>
|
</v-layout>
|
||||||
<v-card-text>
|
<ticket-send-message :user-id="user_id" />
|
||||||
<v-container grid-list-md>
|
|
||||||
<v-flex xs12 sm12 md12>
|
|
||||||
<v-textarea
|
|
||||||
name="input-7-1"
|
|
||||||
color="black"
|
|
||||||
label="Default style"
|
|
||||||
value="The Woodman set to work at once, and so sharp was his axe that the tree was soon chopped nearly through."
|
|
||||||
hint="Hint text"
|
|
||||||
></v-textarea>
|
|
||||||
</v-flex>
|
|
||||||
</v-container>
|
|
||||||
</v-card-text>
|
|
||||||
|
|
||||||
<v-card-actions>
|
|
||||||
<v-spacer></v-spacer>
|
|
||||||
<v-layout row wrap>
|
|
||||||
<v-btn color="pink" class="WM-ActionButton text-lg-left">
|
|
||||||
<v-icon class="white--text mr-2 caption">fas fa-times</v-icon>
|
|
||||||
<span>Cancel</span>
|
|
||||||
</v-btn>
|
|
||||||
<v-btn color="black" class="mr-2 WM-ActionButton">
|
|
||||||
<v-icon class="white--text mr-2 caption">fas fa-chevron-right</v-icon>
|
|
||||||
<span>Send</span>
|
|
||||||
</v-btn>
|
|
||||||
</v-layout>
|
|
||||||
</v-card-actions>
|
|
||||||
<!-- </v-card> -->
|
|
||||||
</v-layout>
|
|
||||||
</material-card>
|
</material-card>
|
||||||
</v-container>
|
</v-container>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
|
import { ApiService } from "@/services";
|
||||||
|
import { urls } from "@/config/urls";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
loading: false,
|
loading: false,
|
||||||
items: [],
|
items: [],
|
||||||
search: null,
|
search: "",
|
||||||
select: null,
|
user_id: 0
|
||||||
states: [
|
};
|
||||||
'Ali',
|
|
||||||
'Fatemeh',
|
|
||||||
'Mohsen',
|
|
||||||
'Sara',
|
|
||||||
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
search(val) {
|
search(val) {
|
||||||
val && val !== this.select && this.querySelections(val)
|
val && this.querySelections(val);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
querySelections (v) {
|
async querySelections(val) {
|
||||||
this.loading = true
|
if (!this.loading) {
|
||||||
// Simulated ajax query
|
this.loading = true;
|
||||||
setTimeout(() => {
|
const result = await ApiService.get(urls.userSearch(val));
|
||||||
this.items = this.states.filter(e => {
|
if (result && result.data.data) {
|
||||||
return (e || '').toLowerCase().indexOf((v || '').toLowerCase()) > -1
|
this.items = result.data.data;
|
||||||
})
|
this.loading = false;
|
||||||
this.loading = false
|
|
||||||
}, 500)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -1,72 +1,71 @@
|
|||||||
<template>
|
<template>
|
||||||
<div id="">
|
<div>
|
||||||
<v-container>
|
<v-container>
|
||||||
<material-card class color="black" title="Show Message" text max-width="600px">
|
<material-card class color="black" title="Show Message" text max-width="600px">
|
||||||
<v-layout row wrap>
|
<v-layout row wrap>
|
||||||
<v-flex xs12>
|
<v-flex xs12>
|
||||||
<div class="mx-2 my-3">
|
<div
|
||||||
<span class="Chat White">Listen to your favorite artists and albums.</span>
|
class="mx-2 my-3"
|
||||||
</div>
|
v-for="item in items"
|
||||||
<div class="mx-2 my-3" style="float:right">
|
:key="item.id"
|
||||||
<span class="Chat Cyan ">Listen to your favorite artists and albums.</span>
|
:style="(item.sender_user_id == user_id) ? '' : 'float:right' "
|
||||||
|
>
|
||||||
|
<span
|
||||||
|
v-if="item.sender_user_id == user_id"
|
||||||
|
class="Chat White"
|
||||||
|
>{{ item.text }}</span>
|
||||||
|
<span v-else class="Chat Cyan">{{ item.text }}</span>
|
||||||
</div>
|
</div>
|
||||||
</v-flex>
|
</v-flex>
|
||||||
</v-layout>
|
</v-layout>
|
||||||
<v-card-text>
|
<ticket-send-message :user-id="user_id" />
|
||||||
<v-container grid-list-md>
|
|
||||||
<h5>Send Message</h5>
|
|
||||||
<v-flex xs12 sm12 md12>
|
|
||||||
<v-textarea
|
|
||||||
name="input-7-1"
|
|
||||||
color="black"
|
|
||||||
label="Default style"
|
|
||||||
value="The Woodman set to work at once, and so sharp was his axe that the tree was soon chopped nearly through."
|
|
||||||
hint="Hint text"
|
|
||||||
></v-textarea>
|
|
||||||
</v-flex>
|
|
||||||
</v-container>
|
|
||||||
</v-card-text>
|
|
||||||
<v-card-actions>
|
|
||||||
<v-spacer></v-spacer>
|
|
||||||
<v-layout row wrap>
|
|
||||||
<v-btn color="pink" class="WM-ActionButton text-lg-left">
|
|
||||||
<v-icon class="white--text mr-2 caption">fas fa-times</v-icon>
|
|
||||||
<span>Cancel</span>
|
|
||||||
</v-btn>
|
|
||||||
<v-btn color="black" class="mr-2 WM-ActionButton">
|
|
||||||
<v-icon class="white--text mr-2 caption">fas fa-chevron-right</v-icon>
|
|
||||||
<span>Send</span>
|
|
||||||
</v-btn>
|
|
||||||
</v-layout>
|
|
||||||
</v-card-actions>
|
|
||||||
<!-- </v-card> -->
|
|
||||||
</v-layout>
|
|
||||||
</material-card>
|
</material-card>
|
||||||
</v-container>
|
</v-container>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
|
import { ApiService } from "@/services";
|
||||||
|
import { urls } from "@/config/urls";
|
||||||
|
import { mapGetters } from "vuex";
|
||||||
export default {
|
export default {
|
||||||
name: "",
|
data() {
|
||||||
data: () => ({
|
return {
|
||||||
|
user_id: 0,
|
||||||
})
|
items: {}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
created() {
|
||||||
|
this.user_id = this.getModalProperties.user_id;
|
||||||
|
this.load();
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
...mapGetters("modal", ["getModalProperties"])
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
async load() {
|
||||||
|
const result = await ApiService.get(
|
||||||
|
urls.showMessages(this.user_id)
|
||||||
|
);
|
||||||
|
if (result && result.data.data) {
|
||||||
|
this.items = result.data.data;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.Chat {
|
.Chat {
|
||||||
|
|
||||||
padding: 10px 15px;
|
padding: 10px 15px;
|
||||||
color: white;
|
color: white;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
.Chat.Cyan {
|
.Chat.Cyan {
|
||||||
background: cornflowerblue;
|
background: cornflowerblue;
|
||||||
box-shadow: 5px 15px 20px rgba(0,0,0,.2)
|
box-shadow: 5px 15px 20px rgba(0, 0, 0, 0.2);
|
||||||
}
|
}
|
||||||
.Chat.White {
|
.Chat.White {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
color: black;
|
color: black;
|
||||||
box-shadow: 5px 15px 20px rgba(0,0,0,.2)
|
box-shadow: 5px 15px 20px rgba(0, 0, 0, 0.2);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -0,0 +1,65 @@
|
|||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<v-card-text>
|
||||||
|
<v-container grid-list-md>
|
||||||
|
<v-flex xs12 sm12 md12>
|
||||||
|
<v-textarea name="input-7-1" v-model="form.message" color="black" label="Message" hint="Hint text"></v-textarea>
|
||||||
|
</v-flex>
|
||||||
|
</v-container>
|
||||||
|
</v-card-text>
|
||||||
|
|
||||||
|
<v-card-actions>
|
||||||
|
<v-spacer></v-spacer>
|
||||||
|
<v-layout row wrap>
|
||||||
|
<v-btn color="black" class="mr-2 WM-ActionButton" @click="register()">
|
||||||
|
<v-icon class="white--text mr-2 caption">fas fa-chevron-right</v-icon>
|
||||||
|
<span>Send</span>
|
||||||
|
</v-btn>
|
||||||
|
</v-layout>
|
||||||
|
</v-card-actions>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<script>
|
||||||
|
import { ApiService } from "@/services";
|
||||||
|
import { urls } from "@/config/urls";
|
||||||
|
import toast from "@/services/global/toast.service";
|
||||||
|
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
form : {
|
||||||
|
message: '',
|
||||||
|
user_id : '',
|
||||||
|
}
|
||||||
|
};
|
||||||
|
},
|
||||||
|
props: {
|
||||||
|
userId: {
|
||||||
|
type : Number,
|
||||||
|
default : 0
|
||||||
|
},
|
||||||
|
message: {
|
||||||
|
type : String,
|
||||||
|
default : ''
|
||||||
|
},
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
this.form.user_id = this.userId;
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
async register() {
|
||||||
|
if(this.userId > 0) {
|
||||||
|
const result = await ApiService.post(
|
||||||
|
urls.showMessages(this.userId), this.form
|
||||||
|
);
|
||||||
|
if (result && result.status == 200) {
|
||||||
|
this.closeModal();
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
toast.error('please Select User');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
</script>
|
||||||
Vendored
+8
@@ -14,6 +14,14 @@ const urls = {
|
|||||||
forgotPassword : `/password/phone`,
|
forgotPassword : `/password/phone`,
|
||||||
sendVerifyCode : `/password/verifyCode`,
|
sendVerifyCode : `/password/verifyCode`,
|
||||||
changePassword : `/password/reset`,
|
changePassword : `/password/reset`,
|
||||||
|
storeMessages : `/Messages`,
|
||||||
|
listMessages : `/Messages`,
|
||||||
|
userSearch : function(val) {
|
||||||
|
return `/users/search?name=${val}`;
|
||||||
|
},
|
||||||
|
showMessages : function(user_id) {
|
||||||
|
return "/Messages/" + user_id;
|
||||||
|
},
|
||||||
listTestType : function(filter) {
|
listTestType : function(filter) {
|
||||||
return "/TestTypes" + filter;
|
return "/TestTypes" + filter;
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,19 +0,0 @@
|
|||||||
<!-- <template>
|
|
||||||
<v-container grid-list-xs>
|
|
||||||
<material-card color="black">
|
|
||||||
<v-layout row wrap>
|
|
||||||
|
|
||||||
</v-layout>
|
|
||||||
</material-card>
|
|
||||||
</v-container>
|
|
||||||
</template>
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
name: "",
|
|
||||||
data: () => ({
|
|
||||||
|
|
||||||
})
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
<style lang="scss" scoped>
|
|
||||||
</style> -->
|
|
||||||
@@ -28,12 +28,12 @@
|
|||||||
</template>
|
</template>
|
||||||
<template slot="items" slot-scope="{ item }">
|
<template slot="items" slot-scope="{ item }">
|
||||||
<td class="headline font-weight-light WM-NoLetterSpacing">{{ item.name }}</td>
|
<td class="headline font-weight-light WM-NoLetterSpacing">{{ item.name }}</td>
|
||||||
<td class="title font-weight-light">{{ item.created_at }}</td>
|
<td class="title font-weight-light">{{ item.messages_count }}</td>
|
||||||
<td class="title font-weight-light">{{ item.users_count }} Operator</td>
|
<td class="title font-weight-light">{{ item.unread_messages_count }}</td>
|
||||||
<td class="text-xs-right">
|
<td class="text-xs-right">
|
||||||
<v-btn color="pink" @click="showmessages" class="WM-ActionButton">
|
<v-btn color="pink" @click="showmessages(item.id)" class="WM-ActionButton">
|
||||||
<v-icon class="white--text mr-2 caption">fas fa-chevron-right</v-icon>
|
<v-icon class="white--text mr-2 caption">fas fa-chevron-right</v-icon>
|
||||||
<span>Send Message</span>
|
<span>Show Message</span>
|
||||||
</v-btn>
|
</v-btn>
|
||||||
</td>
|
</td>
|
||||||
</template>
|
</template>
|
||||||
@@ -65,17 +65,17 @@ export default {
|
|||||||
headers: [
|
headers: [
|
||||||
{
|
{
|
||||||
sortable: false,
|
sortable: false,
|
||||||
text: "Hospital Name",
|
text: "Name",
|
||||||
value: "name"
|
value: "name"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
sortable: false,
|
sortable: false,
|
||||||
text: "Date",
|
text: "Count Messages",
|
||||||
value: "date"
|
value: "operator"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
sortable: false,
|
sortable: false,
|
||||||
text: "Operator",
|
text: "Unread Message",
|
||||||
value: "operator"
|
value: "operator"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -97,29 +97,19 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async load(page = 1) {
|
async load(page = 1) {
|
||||||
let filter = `?page=${page}&name=${this.filter.name}`;
|
const result = await ApiService.get(urls.listMessages);
|
||||||
const result = await ApiService.get(urls.listMedicalCenter(filter));
|
if(result && result.data.data) {
|
||||||
this.items = result.data.data.data;
|
this.items = result.data.data.data;
|
||||||
this.currentPage = result.data.data.current_page;
|
this.currentPage = result.data.data.current_page;
|
||||||
this.lastPage = result.data.data.last_page;
|
this.lastPage = result.data.data.last_page;
|
||||||
},
|
|
||||||
async remove(id) {
|
|
||||||
const result = await ApiService.delete(urls.deleteMedicalCenter(id));
|
|
||||||
if (result && result.status == 200) {
|
|
||||||
for (const key in this.items) {
|
|
||||||
if (this.items.hasOwnProperty(key) && this.items[key].id == id) {
|
|
||||||
this.items.splice(key, 1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
...mapMutations('modal',['changeCurrentModal']),
|
...mapMutations('modal',['changeCurrentModal']),
|
||||||
newmessage() {
|
newmessage() {
|
||||||
this.changeCurrentModal({ modal: "modal-ticket-new-message" });
|
this.changeCurrentModal({ modal: "modal-ticket-new-message" });
|
||||||
},
|
},
|
||||||
...mapMutations('modal',['changeCurrentModal']),
|
showmessages(user_id) {
|
||||||
showmessages() {
|
this.changeCurrentModal({ modal: "modal-ticket-show-messages", properties: { user_id : user_id } });
|
||||||
this.changeCurrentModal({ modal: "modal-ticket-show-messages" });
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|||||||
@@ -41,8 +41,11 @@ Route::middleware('auth:api')->group(function () {
|
|||||||
Route::post('Users/ChangeStatus/{User}', 'UserController@changeStatus');
|
Route::post('Users/ChangeStatus/{User}', 'UserController@changeStatus');
|
||||||
Route::post('Users/ChangeRole/{User}', 'UserController@changeRole');
|
Route::post('Users/ChangeRole/{User}', 'UserController@changeRole');
|
||||||
Route::post('UpdateInfo', 'UserController@updateInfo');
|
Route::post('UpdateInfo', 'UserController@updateInfo');
|
||||||
|
Route::get('Users/Search', 'UserController@searchUser');
|
||||||
Route::resource('Users', 'UserController');
|
Route::resource('Users', 'UserController');
|
||||||
|
|
||||||
|
|
||||||
Route::resource('Packages', 'PackageController');
|
Route::resource('Packages', 'PackageController');
|
||||||
Route::resource('Messages', 'MessageController');
|
Route::resource('Messages', 'MessageController');
|
||||||
|
Route::post('/Package/Verify/{Package}', 'PackageController@verifyPackage');
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user