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.
|
@@ -12532,7 +12532,7 @@ Plugin.install = function (Vue, options) {
|
|
|
12532
12532
|
|
|
12533
12533
|
if (typeof window !== 'undefined' && window.Vue) {
|
|
12534
12534
|
window.Vue.use(Plugin);
|
|
12535
|
-
}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}}var css = "tr td[data-v-
|
|
12535
|
+
}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}}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";
|
|
12536
12536
|
n(css, {});function normalizeComponent (
|
|
12537
12537
|
scriptExports,
|
|
12538
12538
|
render,
|
|
@@ -13492,7 +13492,9 @@ n(css, {});function normalizeComponent (
|
|
|
13492
13492
|
});
|
|
13493
13493
|
this.loading = true;
|
|
13494
13494
|
axios.delete(this.apiUrl + "/" + this.modelName + "/bulk-destroy", {
|
|
13495
|
-
|
|
13495
|
+
params: {
|
|
13496
|
+
ids: ids
|
|
13497
|
+
}
|
|
13496
13498
|
}).then(function (response) {
|
|
13497
13499
|
_this14.items = _this14.items.filter(function (it) {
|
|
13498
13500
|
return !ids.includes(it.id);
|
|
@@ -15021,7 +15023,7 @@ var _sfc_render = function render() {
|
|
|
15021
15023
|
}) : _vm._e()], 2)], 1);
|
|
15022
15024
|
};
|
|
15023
15025
|
var _sfc_staticRenderFns = [];
|
|
15024
|
-
var __component__ = /*#__PURE__*/normalizeComponent(_sfc_main, _sfc_render, _sfc_staticRenderFns, false, null, "
|
|
15026
|
+
var __component__ = /*#__PURE__*/normalizeComponent(_sfc_main, _sfc_render, _sfc_staticRenderFns, false, null, "0e3c8dc0", null, null);
|
|
15025
15027
|
var component$1 = __component__.exports;// Import vue component
|
|
15026
15028
|
|
|
15027
15029
|
// Default export is installable instance of component.
|
package/package.json
CHANGED
package/src/vue-laravel-crud.vue
CHANGED
|
@@ -903,7 +903,7 @@ export default /*#__PURE__*/ {
|
|
|
903
903
|
|
|
904
904
|
this.loading = true;
|
|
905
905
|
axios
|
|
906
|
-
.delete(this.apiUrl + "/" + this.modelName + "/bulk-destroy", {ids: ids} )
|
|
906
|
+
.delete(this.apiUrl + "/" + this.modelName + "/bulk-destroy", { params: {ids: ids },} )
|
|
907
907
|
.then((response) => {
|
|
908
908
|
this.items = this.items.filter(it => !ids.includes(it.id));
|
|
909
909
|
this.toastSuccess("Elemento/s eliminado.");
|