vue-laravel-crud 1.3.15 → 1.3.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vue-laravel-crud.esm.js +75 -90
- package/dist/vue-laravel-crud.min.js +2 -2
- package/dist/vue-laravel-crud.ssr.js +113 -106
- package/package.json +1 -1
- package/src/vue-laravel-crud.vue +81 -76
|
@@ -5875,6 +5875,10 @@ function commonjsRequire (target) {
|
|
|
5875
5875
|
type: String,
|
|
5876
5876
|
default: ""
|
|
5877
5877
|
},
|
|
5878
|
+
hideModalAfterSave: {
|
|
5879
|
+
type: Boolean,
|
|
5880
|
+
default: true
|
|
5881
|
+
},
|
|
5878
5882
|
refreshAfterSave: {
|
|
5879
5883
|
type: Boolean,
|
|
5880
5884
|
default: true
|
|
@@ -6041,10 +6045,10 @@ function commonjsRequire (target) {
|
|
|
6041
6045
|
return filter;
|
|
6042
6046
|
},
|
|
6043
6047
|
internalFilterByProp: function internalFilterByProp() {
|
|
6044
|
-
var
|
|
6048
|
+
var _this = this;
|
|
6045
6049
|
|
|
6046
6050
|
return function (prop) {
|
|
6047
|
-
return
|
|
6051
|
+
return _this.internalFilters.find(function (inf) {
|
|
6048
6052
|
return inf.column == prop;
|
|
6049
6053
|
});
|
|
6050
6054
|
};
|
|
@@ -6052,24 +6056,24 @@ function commonjsRequire (target) {
|
|
|
6052
6056
|
},
|
|
6053
6057
|
methods: {
|
|
6054
6058
|
setupFilters: function setupFilters() {
|
|
6055
|
-
var
|
|
6059
|
+
var _this2 = this;
|
|
6056
6060
|
|
|
6057
6061
|
this.columns.forEach(function (column) {
|
|
6058
|
-
if (
|
|
6062
|
+
if (_this2.isColumnHasFilter(column)) {
|
|
6059
6063
|
if (column.type == "date") {
|
|
6060
|
-
|
|
6064
|
+
_this2.internalFilters.push({
|
|
6061
6065
|
column: column.prop + "_from",
|
|
6062
6066
|
op: column.filterOp ? column.filterOp : "=",
|
|
6063
6067
|
value: null
|
|
6064
6068
|
});
|
|
6065
6069
|
|
|
6066
|
-
|
|
6070
|
+
_this2.internalFilters.push({
|
|
6067
6071
|
column: column.prop + "_to",
|
|
6068
6072
|
op: column.filterOp ? column.filterOp : "=",
|
|
6069
6073
|
value: null
|
|
6070
6074
|
});
|
|
6071
6075
|
} else {
|
|
6072
|
-
|
|
6076
|
+
_this2.internalFilters.push({
|
|
6073
6077
|
column: column.prop,
|
|
6074
6078
|
op: column.filterOp ? column.filterOp : "=",
|
|
6075
6079
|
value: null
|
|
@@ -6077,8 +6081,8 @@ function commonjsRequire (target) {
|
|
|
6077
6081
|
}
|
|
6078
6082
|
}
|
|
6079
6083
|
|
|
6080
|
-
if (
|
|
6081
|
-
|
|
6084
|
+
if (_this2.sortable) {
|
|
6085
|
+
_this2.internalFilters.push({
|
|
6082
6086
|
column: column.prop + "_sort",
|
|
6083
6087
|
op: column.filterOp ? column.filterOp : "=",
|
|
6084
6088
|
value: null
|
|
@@ -6107,13 +6111,13 @@ function commonjsRequire (target) {
|
|
|
6107
6111
|
}
|
|
6108
6112
|
},
|
|
6109
6113
|
resetFilters: function resetFilters() {
|
|
6110
|
-
var
|
|
6114
|
+
var _this3 = this;
|
|
6111
6115
|
|
|
6112
6116
|
this.internalFilters = [];
|
|
6113
6117
|
this.setupFilters();
|
|
6114
6118
|
this.forceRecomputeCounter++;
|
|
6115
6119
|
setTimeout(function () {
|
|
6116
|
-
|
|
6120
|
+
_this3.refresh();
|
|
6117
6121
|
}, 1);
|
|
6118
6122
|
},
|
|
6119
6123
|
toggleDisplayMode: function toggleDisplayMode() {
|
|
@@ -6134,13 +6138,13 @@ function commonjsRequire (target) {
|
|
|
6134
6138
|
}
|
|
6135
6139
|
},
|
|
6136
6140
|
onSort: function onSort() {
|
|
6137
|
-
var
|
|
6141
|
+
var _this4 = this;
|
|
6138
6142
|
|
|
6139
6143
|
var event = {};
|
|
6140
6144
|
var i = 1 + (this.pagination.current_page * this.pagination.per_page - this.pagination.per_page);
|
|
6141
6145
|
this.items.forEach(function (item, index) {
|
|
6142
6146
|
//console.debug(s, i);
|
|
6143
|
-
item[
|
|
6147
|
+
item[_this4.orderProp] = i;
|
|
6144
6148
|
i++;
|
|
6145
6149
|
});
|
|
6146
6150
|
this.$emit("sort", event);
|
|
@@ -6159,16 +6163,16 @@ function commonjsRequire (target) {
|
|
|
6159
6163
|
}
|
|
6160
6164
|
},
|
|
6161
6165
|
selectItem: function selectItem() {
|
|
6162
|
-
var
|
|
6166
|
+
var _this5 = this;
|
|
6163
6167
|
|
|
6164
6168
|
var sitem = this.selectedItems.find(function (e) {
|
|
6165
|
-
return e.id ==
|
|
6169
|
+
return e.id == _this5.item.id;
|
|
6166
6170
|
});
|
|
6167
6171
|
|
|
6168
6172
|
if (sitem) {
|
|
6169
6173
|
this.item.selected = false;
|
|
6170
6174
|
this.selectedItems = this.selectedItems.filter(function (e) {
|
|
6171
|
-
return e.id !=
|
|
6175
|
+
return e.id != _this5.item.id;
|
|
6172
6176
|
});
|
|
6173
6177
|
} else {
|
|
6174
6178
|
this.item.selected = true;
|
|
@@ -6218,13 +6222,14 @@ function commonjsRequire (target) {
|
|
|
6218
6222
|
this.$bvModal.show("modal-form-item-" + this.modelName);
|
|
6219
6223
|
},
|
|
6220
6224
|
refresh: function refresh() {
|
|
6225
|
+
this.$emit("refresh", {});
|
|
6221
6226
|
this.fetchItems();
|
|
6222
6227
|
},
|
|
6223
6228
|
isColumnHasFilter: function isColumnHasFilter(column) {
|
|
6224
6229
|
return column && !column.hideFilter && column.type != "actions";
|
|
6225
6230
|
},
|
|
6226
6231
|
setFilter: function setFilter(column, value) {
|
|
6227
|
-
var
|
|
6232
|
+
var _this6 = this;
|
|
6228
6233
|
|
|
6229
6234
|
var filter = this.filter.find(function (f) {
|
|
6230
6235
|
return f.column == column;
|
|
@@ -6232,14 +6237,13 @@ function commonjsRequire (target) {
|
|
|
6232
6237
|
filter.value = value;
|
|
6233
6238
|
this.forceRecomputeCounter++;
|
|
6234
6239
|
setTimeout(function () {
|
|
6235
|
-
|
|
6240
|
+
_this6.refresh();
|
|
6236
6241
|
}, 1);
|
|
6237
6242
|
},
|
|
6238
6243
|
fetchItems: function fetchItems() {
|
|
6239
|
-
var
|
|
6244
|
+
var _this7 = this;
|
|
6240
6245
|
|
|
6241
6246
|
var page = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;
|
|
6242
|
-
|
|
6243
6247
|
this.loading = true;
|
|
6244
6248
|
axios__default['default'].get(this.apiUrl + "/" + this.modelName, {
|
|
6245
6249
|
params: {
|
|
@@ -6248,16 +6252,16 @@ function commonjsRequire (target) {
|
|
|
6248
6252
|
filters: JSON.stringify(this.finalFilters)
|
|
6249
6253
|
}
|
|
6250
6254
|
}).then(function (response) {
|
|
6251
|
-
|
|
6255
|
+
_this7.makePagination(response.data);
|
|
6252
6256
|
|
|
6253
6257
|
var items = response.data.data;
|
|
6254
6258
|
|
|
6255
|
-
if (
|
|
6259
|
+
if (_this7.grouped) {
|
|
6256
6260
|
var itemswithgroup = [];
|
|
6257
6261
|
var lastcomparevalue = null;
|
|
6258
|
-
var compareattr =
|
|
6259
|
-
var groupLabelPre =
|
|
6260
|
-
var groupLabelAfter =
|
|
6262
|
+
var compareattr = _this7.groupedAttribute;
|
|
6263
|
+
var groupLabelPre = _this7.groupedLabelPre;
|
|
6264
|
+
var groupLabelAfter = _this7.groupedLabelAfter;
|
|
6261
6265
|
items.forEach(function (item, key) {
|
|
6262
6266
|
if (Array.isArray(item)) {
|
|
6263
6267
|
itemswithgroup.push({
|
|
@@ -6279,57 +6283,57 @@ function commonjsRequire (target) {
|
|
|
6279
6283
|
itemswithgroup.push(item);
|
|
6280
6284
|
}
|
|
6281
6285
|
});
|
|
6282
|
-
|
|
6286
|
+
_this7.items = itemswithgroup;
|
|
6283
6287
|
} else {
|
|
6284
|
-
|
|
6288
|
+
_this7.items = items;
|
|
6285
6289
|
}
|
|
6286
6290
|
|
|
6287
|
-
|
|
6291
|
+
_this7.loading = false;
|
|
6292
|
+
|
|
6293
|
+
_this7.$emit("afterFetch", {});
|
|
6288
6294
|
}).catch(function (error) {
|
|
6289
6295
|
//console.debug(error);
|
|
6290
|
-
|
|
6296
|
+
_this7.toastError(error);
|
|
6291
6297
|
|
|
6292
|
-
|
|
6298
|
+
_this7.loading = false;
|
|
6293
6299
|
});
|
|
6294
6300
|
},
|
|
6295
6301
|
removeItem: function removeItem(id, index) {
|
|
6296
|
-
var
|
|
6302
|
+
var _this8 = this;
|
|
6297
6303
|
|
|
6298
|
-
this.$bvModal.msgBoxConfirm(
|
|
6304
|
+
this.$bvModal.msgBoxConfirm(this.messageRemoveConfirm, {
|
|
6299
6305
|
size: "sm",
|
|
6300
6306
|
buttonSize: "sm",
|
|
6301
6307
|
okVariant: "danger",
|
|
6302
|
-
okTitle:
|
|
6308
|
+
okTitle: this.messageRemove,
|
|
6303
6309
|
cancelTitle: "NO",
|
|
6304
6310
|
centered: true
|
|
6305
6311
|
}).then(function (value) {
|
|
6306
6312
|
if (value) {
|
|
6307
|
-
|
|
6308
|
-
axios__default['default'].delete(
|
|
6309
|
-
|
|
6313
|
+
_this8.loading = true;
|
|
6314
|
+
axios__default['default'].delete(_this8.apiUrl + "/" + _this8.modelName + "/" + id).then(function (response) {
|
|
6315
|
+
_this8.items.splice(index, 1);
|
|
6310
6316
|
|
|
6311
|
-
|
|
6317
|
+
_this8.toastSuccess("Elemento eliminado.");
|
|
6312
6318
|
|
|
6313
|
-
|
|
6319
|
+
_this8.loading = false;
|
|
6314
6320
|
}).catch(function (error) {
|
|
6315
|
-
|
|
6321
|
+
_this8.toastError(error);
|
|
6316
6322
|
|
|
6317
|
-
|
|
6323
|
+
_this8.loading = false;
|
|
6318
6324
|
});
|
|
6319
6325
|
}
|
|
6320
6326
|
}).catch(function (error) {
|
|
6321
|
-
|
|
6327
|
+
_this8.toastError(error);
|
|
6322
6328
|
|
|
6323
|
-
|
|
6329
|
+
_this8.loading = false;
|
|
6324
6330
|
});
|
|
6325
6331
|
},
|
|
6326
6332
|
saveSort: function saveSort() {
|
|
6327
6333
|
var _this9 = this;
|
|
6328
6334
|
|
|
6329
6335
|
if (this.orderable) {
|
|
6330
|
-
|
|
6331
|
-
|
|
6332
|
-
_this.loading = true;
|
|
6336
|
+
this.loading = true;
|
|
6333
6337
|
var order = [];
|
|
6334
6338
|
this.items.forEach(function (v, k) {
|
|
6335
6339
|
order.push({
|
|
@@ -6337,20 +6341,20 @@ function commonjsRequire (target) {
|
|
|
6337
6341
|
order: v[_this9.orderProp]
|
|
6338
6342
|
});
|
|
6339
6343
|
});
|
|
6340
|
-
axios__default['default'].post(this.apiUrl + "/" +
|
|
6344
|
+
axios__default['default'].post(this.apiUrl + "/" + this.modelName + "/sort", {
|
|
6341
6345
|
order: order
|
|
6342
6346
|
}).then(function (response) {
|
|
6343
6347
|
response.data;
|
|
6344
6348
|
|
|
6345
|
-
|
|
6349
|
+
_this9.toastSuccess("Orden Actualizado");
|
|
6346
6350
|
|
|
6347
|
-
if (
|
|
6348
|
-
|
|
6351
|
+
if (_this9.refreshAfterSave) _this9.refresh();
|
|
6352
|
+
_this9.loading = false;
|
|
6349
6353
|
}).catch(function (error) {
|
|
6350
6354
|
//console.debug(error);
|
|
6351
|
-
|
|
6355
|
+
_this9.toastError(error);
|
|
6352
6356
|
|
|
6353
|
-
|
|
6357
|
+
_this9.loading = false;
|
|
6354
6358
|
});
|
|
6355
6359
|
}
|
|
6356
6360
|
},
|
|
@@ -6392,18 +6396,16 @@ function commonjsRequire (target) {
|
|
|
6392
6396
|
_this10 = this;
|
|
6393
6397
|
|
|
6394
6398
|
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
|
6395
|
-
var event,
|
|
6396
|
-
|
|
6399
|
+
var event, validation_result, validation_error_message, formData;
|
|
6397
6400
|
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
6398
6401
|
while (1) {
|
|
6399
6402
|
switch (_context.prev = _context.next) {
|
|
6400
6403
|
case 0:
|
|
6401
6404
|
event = _arguments.length > 0 && _arguments[0] !== undefined ? _arguments[0] : null;
|
|
6402
|
-
|
|
6403
|
-
_this.loading = true;
|
|
6405
|
+
_this10.loading = true;
|
|
6404
6406
|
|
|
6405
6407
|
if (!_this10.validate) {
|
|
6406
|
-
_context.next =
|
|
6408
|
+
_context.next = 10;
|
|
6407
6409
|
break;
|
|
6408
6410
|
}
|
|
6409
6411
|
|
|
@@ -6411,7 +6413,7 @@ function commonjsRequire (target) {
|
|
|
6411
6413
|
validation_error_message = _this10.messageDefaultValidationError;
|
|
6412
6414
|
|
|
6413
6415
|
if (validation_result) {
|
|
6414
|
-
_context.next =
|
|
6416
|
+
_context.next = 8;
|
|
6415
6417
|
break;
|
|
6416
6418
|
}
|
|
6417
6419
|
|
|
@@ -6419,56 +6421,59 @@ function commonjsRequire (target) {
|
|
|
6419
6421
|
|
|
6420
6422
|
return _context.abrupt("return");
|
|
6421
6423
|
|
|
6422
|
-
case
|
|
6423
|
-
_context.next =
|
|
6424
|
+
case 8:
|
|
6425
|
+
_context.next = 11;
|
|
6424
6426
|
break;
|
|
6425
6427
|
|
|
6426
|
-
case
|
|
6428
|
+
case 10:
|
|
6427
6429
|
if (event) event.preventDefault();
|
|
6428
6430
|
|
|
6429
|
-
case
|
|
6431
|
+
case 11:
|
|
6430
6432
|
if (_this10.item.id) {
|
|
6431
|
-
axios__default['default'].put(_this10.apiUrl + "/" +
|
|
6432
|
-
|
|
6433
|
+
axios__default['default'].put(_this10.apiUrl + "/" + _this10.modelName + "/" + _this10.item.id, _this10.item).then(function (response) {
|
|
6434
|
+
if (_this10.hideModalAfterSave) {
|
|
6435
|
+
_this10.$bvModal.hide("modal-form-item-" + _this10.modelName);
|
|
6436
|
+
}
|
|
6433
6437
|
|
|
6434
6438
|
var itemSv = response.data;
|
|
6435
6439
|
|
|
6436
|
-
var itemIndex =
|
|
6437
|
-
return item.id ==
|
|
6440
|
+
var itemIndex = _this10.items.findIndex(function (item) {
|
|
6441
|
+
return item.id == _this10.item.id;
|
|
6438
6442
|
});
|
|
6439
6443
|
|
|
6440
|
-
|
|
6441
|
-
|
|
6442
|
-
|
|
6443
|
-
if (
|
|
6444
|
+
_this10.items[itemIndex] = itemSv;
|
|
6445
|
+
_this10.item = itemSv;
|
|
6446
|
+
_this10.loading = false;
|
|
6447
|
+
if (_this10.refreshAfterSave) _this10.refresh();
|
|
6444
6448
|
|
|
6445
|
-
|
|
6449
|
+
_this10.toastSuccess("Elemento Modificado");
|
|
6446
6450
|
}).catch(function (error) {
|
|
6447
|
-
|
|
6451
|
+
_this10.toastError(error);
|
|
6448
6452
|
|
|
6449
|
-
|
|
6453
|
+
_this10.loading = false;
|
|
6450
6454
|
});
|
|
6451
6455
|
} else {
|
|
6452
6456
|
if (_this10.createMultipart) {
|
|
6453
6457
|
formData = new FormData();
|
|
6454
|
-
Object.keys(
|
|
6455
|
-
if (
|
|
6456
|
-
|
|
6457
|
-
var files = _this.item[key];
|
|
6458
|
+
Object.keys(_this10.item).forEach(function (key) {
|
|
6459
|
+
if (_this10.item[key][0] && _this10.item[key][0].name) {
|
|
6460
|
+
var files = _this10.item[key];
|
|
6458
6461
|
|
|
6459
6462
|
for (var x = 0; x < files.length; x++) {
|
|
6460
|
-
formData.append(key + "[]",
|
|
6463
|
+
formData.append(key + "[]", _this10.item[key][x], _this10.item[key][x].name);
|
|
6461
6464
|
}
|
|
6462
|
-
} else formData.append(key,
|
|
6465
|
+
} else formData.append(key, _this10.item[key]);
|
|
6463
6466
|
});
|
|
6464
|
-
axios__default['default'].post(_this10.apiUrl + "/" +
|
|
6465
|
-
|
|
6467
|
+
axios__default['default'].post(_this10.apiUrl + "/" + _this10.modelName, formData).then(function (response) {
|
|
6468
|
+
_this10.loading = false;
|
|
6466
6469
|
|
|
6467
|
-
|
|
6470
|
+
if (_this10.hideModalAfterSave) {
|
|
6471
|
+
_this10.$bvModal.hide("modal-form-item-" + _this10.modelName);
|
|
6472
|
+
}
|
|
6468
6473
|
|
|
6469
6474
|
if (response.data.success) {
|
|
6470
6475
|
if (response.data.message) {
|
|
6471
|
-
|
|
6476
|
+
_this10.toastSuccess(response.data.message);
|
|
6472
6477
|
}
|
|
6473
6478
|
|
|
6474
6479
|
return;
|
|
@@ -6476,26 +6481,28 @@ function commonjsRequire (target) {
|
|
|
6476
6481
|
|
|
6477
6482
|
var itemSv = response.data;
|
|
6478
6483
|
|
|
6479
|
-
|
|
6484
|
+
_this10.items.push(itemSv);
|
|
6480
6485
|
|
|
6481
|
-
|
|
6482
|
-
if (
|
|
6486
|
+
_this10.item = itemSv;
|
|
6487
|
+
if (_this10.refreshAfterSave) _this10.refresh();
|
|
6483
6488
|
|
|
6484
|
-
|
|
6489
|
+
_this10.toastSuccess("Elemento Creado");
|
|
6485
6490
|
}).catch(function (error) {
|
|
6486
|
-
|
|
6491
|
+
_this10.toastError(error);
|
|
6487
6492
|
|
|
6488
|
-
|
|
6493
|
+
_this10.loading = false;
|
|
6489
6494
|
});
|
|
6490
6495
|
} else {
|
|
6491
|
-
axios__default['default'].post(_this10.apiUrl + "/" +
|
|
6492
|
-
|
|
6496
|
+
axios__default['default'].post(_this10.apiUrl + "/" + _this10.modelName, _this10.item).then(function (response) {
|
|
6497
|
+
_this10.loading = false;
|
|
6493
6498
|
|
|
6494
|
-
|
|
6499
|
+
if (_this10.hideModalAfterSave) {
|
|
6500
|
+
_this10.$bvModal.hide("modal-form-item-" + _this10.modelName);
|
|
6501
|
+
}
|
|
6495
6502
|
|
|
6496
6503
|
if (response.data.success) {
|
|
6497
6504
|
if (response.data.message) {
|
|
6498
|
-
|
|
6505
|
+
_this10.toastSuccess(response.data.message);
|
|
6499
6506
|
}
|
|
6500
6507
|
|
|
6501
6508
|
return;
|
|
@@ -6503,23 +6510,23 @@ function commonjsRequire (target) {
|
|
|
6503
6510
|
|
|
6504
6511
|
var itemSv = response.data;
|
|
6505
6512
|
|
|
6506
|
-
|
|
6513
|
+
_this10.items.push(itemSv);
|
|
6507
6514
|
|
|
6508
|
-
|
|
6509
|
-
if (
|
|
6515
|
+
_this10.item = itemSv;
|
|
6516
|
+
if (_this10.refreshAfterSave) _this10.refresh();
|
|
6510
6517
|
|
|
6511
|
-
|
|
6518
|
+
_this10.toastSuccess("Elemento Creado");
|
|
6512
6519
|
}).catch(function (error) {
|
|
6513
|
-
|
|
6520
|
+
_this10.toastError(error);
|
|
6514
6521
|
|
|
6515
|
-
|
|
6522
|
+
_this10.loading = false;
|
|
6516
6523
|
});
|
|
6517
6524
|
}
|
|
6518
6525
|
}
|
|
6519
6526
|
|
|
6520
6527
|
if (event) event.preventDefault();
|
|
6521
6528
|
|
|
6522
|
-
case
|
|
6529
|
+
case 13:
|
|
6523
6530
|
case "end":
|
|
6524
6531
|
return _context.stop();
|
|
6525
6532
|
}
|
|
@@ -6719,7 +6726,7 @@ var __vue_render__ = function __vue_render__() {
|
|
|
6719
6726
|
|
|
6720
6727
|
return _c('div', {
|
|
6721
6728
|
staticClass: "crud"
|
|
6722
|
-
}, [_vm.showHeader ? _vm._ssrNode("<div class=\"crud-header\" data-v-
|
|
6729
|
+
}, [_vm.showHeader ? _vm._ssrNode("<div class=\"crud-header\" data-v-18175b74>", "</div>", [_vm._ssrNode((_vm.showTitle ? "<h4 class=\"crud-title\" data-v-18175b74>" + _vm._ssrEscape(_vm._s(_vm.title)) + "</h4>" : "<!---->") + " "), _c('b-sidebar', {
|
|
6723
6730
|
attrs: {
|
|
6724
6731
|
"title": "Filtrar",
|
|
6725
6732
|
"right": "",
|
|
@@ -6933,7 +6940,7 @@ var __vue_render__ = function __vue_render__() {
|
|
|
6933
6940
|
"loading": _vm.loading,
|
|
6934
6941
|
"isColumnHasFilter": _vm.isColumnHasFilter,
|
|
6935
6942
|
"setFilter": _vm.setFilter
|
|
6936
|
-
})], 2), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"table-options\" data-v-
|
|
6943
|
+
})], 2), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"table-options\" data-v-18175b74>", "</div>", [_c('b-button-group', {
|
|
6937
6944
|
staticClass: "mr-1"
|
|
6938
6945
|
}, [_vm._t("tableActions", [_vm._t("tableActionsPrepend", null, {
|
|
6939
6946
|
"loading": _vm.loading
|
|
@@ -7432,7 +7439,7 @@ var __vue_render__ = function __vue_render__() {
|
|
|
7432
7439
|
}, [_vm._t("card", null, {
|
|
7433
7440
|
"item": item
|
|
7434
7441
|
})], 2);
|
|
7435
|
-
})], 2)]) : _vm._e()]), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"crud-paginator\" data-v-
|
|
7442
|
+
})], 2)]) : _vm._e()]), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"crud-paginator\" data-v-18175b74>", "</div>", [_vm.showPaginator ? _c('b-pagination', {
|
|
7436
7443
|
attrs: {
|
|
7437
7444
|
"total-rows": _vm.pagination.total,
|
|
7438
7445
|
"per-page": _vm.pagination.per_page
|
|
@@ -7553,8 +7560,8 @@ var __vue_staticRenderFns__ = [];
|
|
|
7553
7560
|
|
|
7554
7561
|
var __vue_inject_styles__ = function __vue_inject_styles__(inject) {
|
|
7555
7562
|
if (!inject) return;
|
|
7556
|
-
inject("data-v-
|
|
7557
|
-
source: "tr td[data-v-
|
|
7563
|
+
inject("data-v-18175b74_0", {
|
|
7564
|
+
source: "tr td[data-v-18175b74]:first-child,tr td[data-v-18175b74]:last-child{width:1%;white-space:nowrap}.crud-pagination[data-v-18175b74]{display:flex;justify-content:center}.crud-header[data-v-18175b74]{display:flex;justify-content:space-between;max-height:3rem}.crud-header .crud-title[data-v-18175b74]{margin:0}.crud-header .crud-search[data-v-18175b74]{max-width:15rem}.crud-header .crud-search .btn[data-v-18175b74]{border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}.crud-header .crud-search .btn.open[data-v-18175b74]{border-top-right-radius:0;border-bottom-right-radius:0}.crud-header .table-options[data-v-18175b74]{margin-bottom:1rem;display:flex;align-items:center;justify-content:flex-end}.custom-control[data-v-18175b74]{position:relative;top:-15px}@media (min-width:992px){.table[data-v-18175b74]{table-layout:auto}.table tbody td[data-v-18175b74]{overflow:scroll;-ms-overflow-style:none;scrollbar-width:none}.table tbody td[data-v-18175b74]::-webkit-scrollbar{display:none}}",
|
|
7558
7565
|
map: undefined,
|
|
7559
7566
|
media: undefined
|
|
7560
7567
|
});
|
|
@@ -7562,10 +7569,10 @@ var __vue_inject_styles__ = function __vue_inject_styles__(inject) {
|
|
|
7562
7569
|
/* scoped */
|
|
7563
7570
|
|
|
7564
7571
|
|
|
7565
|
-
var __vue_scope_id__ = "data-v-
|
|
7572
|
+
var __vue_scope_id__ = "data-v-18175b74";
|
|
7566
7573
|
/* module identifier */
|
|
7567
7574
|
|
|
7568
|
-
var __vue_module_identifier__ = "data-v-
|
|
7575
|
+
var __vue_module_identifier__ = "data-v-18175b74";
|
|
7569
7576
|
/* functional template */
|
|
7570
7577
|
|
|
7571
7578
|
var __vue_is_functional_template__ = false;
|