vue-laravel-crud 1.6.13 → 1.6.14
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.
|
@@ -12115,7 +12115,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
12115
12115
|
|
|
12116
12116
|
var e=[],t=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r.prepend?"prepend":"append",d=!0===r.singleTag,i="string"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName("head")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c();}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n));}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a="prepend"===s?"afterbegin":"beforeend";return i.insertAdjacentElement(a,e),e}}
|
|
12117
12117
|
|
|
12118
|
-
var css = "tr td[data-v-
|
|
12118
|
+
var css = "tr td[data-v-0e3c8dc0]:last-child,\ntr td[data-v-0e3c8dc0]:first-child {\n width: 1%;\n white-space: nowrap; }\n\n.crud-pagination[data-v-0e3c8dc0] {\n display: flex;\n align-items: center;\n width: 100%;\n justify-content: center;\n margin-top: 1rem; }\n\n.crud-header[data-v-0e3c8dc0] {\n display: flex;\n justify-content: space-between;\n max-height: 3rem; }\n .crud-header[data-v-0e3c8dc0] .crud-title[data-v-0e3c8dc0] {\n margin: 0; }\n .crud-header[data-v-0e3c8dc0] .crud-search[data-v-0e3c8dc0] {\n max-width: 15rem; }\n .crud-header[data-v-0e3c8dc0] .crud-search[data-v-0e3c8dc0] .btn[data-v-0e3c8dc0] {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-top-right-radius: 0.375rem;\n border-bottom-right-radius: 0.375rem; }\n .crud-header[data-v-0e3c8dc0] .crud-search[data-v-0e3c8dc0] .btn[data-v-0e3c8dc0].open[data-v-0e3c8dc0] {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0; }\n .crud-header[data-v-0e3c8dc0] .table-options[data-v-0e3c8dc0] {\n margin-bottom: 1rem;\n display: flex;\n align-items: center;\n justify-content: flex-end; }\n\n.custom-control[data-v-0e3c8dc0] {\n position: relative; }\n\n@media (min-width: 992px) {\n .table[data-v-0e3c8dc0] {\n table-layout: auto; }\n .table[data-v-0e3c8dc0] tbody[data-v-0e3c8dc0] td[data-v-0e3c8dc0] {\n overflow: scroll;\n -ms-overflow-style: none;\n /* IE and Edge */\n scrollbar-width: none;\n /* Firefox */ }\n .table[data-v-0e3c8dc0] tbody[data-v-0e3c8dc0] td[data-v-0e3c8dc0]::-webkit-scrollbar {\n display: none; } }\n";
|
|
12119
12119
|
n(css, {});
|
|
12120
12120
|
|
|
12121
12121
|
function normalizeComponent (
|
|
@@ -13018,7 +13018,9 @@ const _sfc_main = {
|
|
|
13018
13018
|
let ids = this.selectedItems.map(it => it.id);
|
|
13019
13019
|
this.loading = true;
|
|
13020
13020
|
axios.delete(this.apiUrl + "/" + this.modelName + "/bulk-destroy", {
|
|
13021
|
-
|
|
13021
|
+
params: {
|
|
13022
|
+
ids: ids
|
|
13023
|
+
}
|
|
13022
13024
|
}).then(response => {
|
|
13023
13025
|
this.items = this.items.filter(it => !ids.includes(it.id));
|
|
13024
13026
|
this.toastSuccess("Elemento/s eliminado.");
|
|
@@ -14385,7 +14387,7 @@ var _sfc_render = function render() {
|
|
|
14385
14387
|
}) : _vm._e()], 2)], 1);
|
|
14386
14388
|
};
|
|
14387
14389
|
var _sfc_staticRenderFns = [];
|
|
14388
|
-
var __component__ = /*#__PURE__*/normalizeComponent(_sfc_main, _sfc_render, _sfc_staticRenderFns, false, null, "
|
|
14390
|
+
var __component__ = /*#__PURE__*/normalizeComponent(_sfc_main, _sfc_render, _sfc_staticRenderFns, false, null, "0e3c8dc0", null, null);
|
|
14389
14391
|
var component = __component__.exports;
|
|
14390
14392
|
|
|
14391
14393
|
// Import vue component
|