vue-laravel-crud 1.4.21 → 1.4.23
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.
|
@@ -17017,7 +17017,7 @@ var moment = momentExports;
|
|
|
17017
17017
|
|
|
17018
17018
|
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}}
|
|
17019
17019
|
|
|
17020
|
-
var css = "tr td[data-v-
|
|
17020
|
+
var css = "tr td[data-v-e5ddc85d]:last-child,\ntr td[data-v-e5ddc85d]:first-child {\n width: 1%;\n white-space: nowrap; }\n\n.crud-pagination[data-v-e5ddc85d] {\n display: flex;\n justify-content: center; }\n\n.crud-header[data-v-e5ddc85d] {\n display: flex;\n justify-content: space-between;\n max-height: 3rem; }\n .crud-header[data-v-e5ddc85d] .crud-title[data-v-e5ddc85d] {\n margin: 0; }\n .crud-header[data-v-e5ddc85d] .crud-search[data-v-e5ddc85d] {\n max-width: 15rem; }\n .crud-header[data-v-e5ddc85d] .crud-search[data-v-e5ddc85d] .btn[data-v-e5ddc85d] {\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-e5ddc85d] .crud-search[data-v-e5ddc85d] .btn[data-v-e5ddc85d].open[data-v-e5ddc85d] {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0; }\n .crud-header[data-v-e5ddc85d] .table-options[data-v-e5ddc85d] {\n margin-bottom: 1rem;\n display: flex;\n align-items: center;\n justify-content: flex-end; }\n\n.custom-control[data-v-e5ddc85d] {\n position: relative;\n top: -15px; }\n\n@media (min-width: 992px) {\n .table[data-v-e5ddc85d] {\n table-layout: auto; }\n .table[data-v-e5ddc85d] tbody[data-v-e5ddc85d] td[data-v-e5ddc85d] {\n overflow: scroll;\n -ms-overflow-style: none;\n /* IE and Edge */\n scrollbar-width: none;\n /* Firefox */ }\n .table[data-v-e5ddc85d] tbody[data-v-e5ddc85d] td[data-v-e5ddc85d]::-webkit-scrollbar {\n display: none; } }\n";
|
|
17021
17021
|
n(css, {});
|
|
17022
17022
|
|
|
17023
17023
|
function normalizeComponent (
|
|
@@ -17908,11 +17908,12 @@ const _sfc_main = {
|
|
|
17908
17908
|
}
|
|
17909
17909
|
if (error.response.data) {
|
|
17910
17910
|
if (typeof error.response.data === "object") {
|
|
17911
|
-
if (error.response.data.
|
|
17912
|
-
error_message = error.response.data.message;
|
|
17913
|
-
} else if (error.response.data.errors) {
|
|
17911
|
+
if (error.response.data.errors) {
|
|
17914
17912
|
let errors = error.response.data.errors;
|
|
17913
|
+
this.responseErrors = errors;
|
|
17915
17914
|
error_message = Object.values(errors)[0][0];
|
|
17915
|
+
} else if (error.response.data.message) {
|
|
17916
|
+
error_message = error.response.data.message;
|
|
17916
17917
|
}
|
|
17917
17918
|
} else if (typeof error.response.data === "string") {
|
|
17918
17919
|
error_message = error.response.data;
|
|
@@ -17944,6 +17945,7 @@ const _sfc_main = {
|
|
|
17944
17945
|
},
|
|
17945
17946
|
onChangeFilter(event) {
|
|
17946
17947
|
this.forceRecomputeCounter++;
|
|
17948
|
+
console.debug("Filters debug ", this.finalFilters, this.internalFilter, this.internalFilters, this.filter, this.filters);
|
|
17947
17949
|
setTimeout(() => {
|
|
17948
17950
|
this.refresh();
|
|
17949
17951
|
}, 1);
|
|
@@ -18841,7 +18843,7 @@ var _sfc_render = function render() {
|
|
|
18841
18843
|
}) : _vm._e()], 2)], 1);
|
|
18842
18844
|
};
|
|
18843
18845
|
var _sfc_staticRenderFns = [];
|
|
18844
|
-
var __component__ = /*#__PURE__*/normalizeComponent(_sfc_main, _sfc_render, _sfc_staticRenderFns, false, null, "
|
|
18846
|
+
var __component__ = /*#__PURE__*/normalizeComponent(_sfc_main, _sfc_render, _sfc_staticRenderFns, false, null, "e5ddc85d", null, null);
|
|
18845
18847
|
var component = __component__.exports;
|
|
18846
18848
|
|
|
18847
18849
|
// Import vue component
|