vue-laravel-crud 1.6.19 → 1.6.21

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-373bb24e]:last-child,\ntr td[data-v-373bb24e]:first-child {\n width: 1%;\n white-space: nowrap; }\n\n.crud-pagination[data-v-373bb24e] {\n display: flex;\n align-items: center;\n width: 100%;\n justify-content: center;\n margin-top: 1rem; }\n\n.crud-header[data-v-373bb24e] {\n display: flex;\n justify-content: space-between;\n max-height: 3rem; }\n .crud-header[data-v-373bb24e] .crud-title[data-v-373bb24e] {\n margin: 0; }\n .crud-header[data-v-373bb24e] .crud-search[data-v-373bb24e] {\n max-width: 15rem; }\n .crud-header[data-v-373bb24e] .crud-search[data-v-373bb24e] .btn[data-v-373bb24e] {\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-373bb24e] .crud-search[data-v-373bb24e] .btn[data-v-373bb24e].open[data-v-373bb24e] {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0; }\n .crud-header[data-v-373bb24e] .table-options[data-v-373bb24e] {\n margin-bottom: 1rem;\n display: flex;\n align-items: center;\n justify-content: flex-end; }\n\n.custom-control[data-v-373bb24e] {\n position: relative; }\n\n@media (min-width: 992px) {\n .table[data-v-373bb24e] {\n table-layout: auto; }\n .table[data-v-373bb24e] tbody[data-v-373bb24e] td[data-v-373bb24e] {\n overflow: scroll;\n -ms-overflow-style: none;\n /* IE and Edge */\n scrollbar-width: none;\n /* Firefox */ }\n .table[data-v-373bb24e] tbody[data-v-373bb24e] td[data-v-373bb24e]::-webkit-scrollbar {\n display: none; } }\n";
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-f43a8553]:last-child,\ntr td[data-v-f43a8553]:first-child {\n width: 1%;\n white-space: nowrap; }\n\n.crud-pagination[data-v-f43a8553] {\n display: flex;\n align-items: center;\n width: 100%;\n justify-content: center;\n margin-top: 1rem; }\n\n.crud-header[data-v-f43a8553] {\n display: flex;\n justify-content: space-between;\n max-height: 3rem; }\n .crud-header[data-v-f43a8553] .crud-title[data-v-f43a8553] {\n margin: 0; }\n .crud-header[data-v-f43a8553] .crud-search[data-v-f43a8553] {\n max-width: 15rem; }\n .crud-header[data-v-f43a8553] .crud-search[data-v-f43a8553] .btn[data-v-f43a8553] {\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-f43a8553] .crud-search[data-v-f43a8553] .btn[data-v-f43a8553].open[data-v-f43a8553] {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0; }\n .crud-header[data-v-f43a8553] .table-options[data-v-f43a8553] {\n margin-bottom: 1rem;\n display: flex;\n align-items: center;\n justify-content: flex-end; }\n\n.custom-control[data-v-f43a8553] {\n position: relative; }\n\n@media (min-width: 992px) {\n .table[data-v-f43a8553] {\n table-layout: auto; }\n .table[data-v-f43a8553] tbody[data-v-f43a8553] td[data-v-f43a8553] {\n overflow: scroll;\n -ms-overflow-style: none;\n /* IE and Edge */\n scrollbar-width: none;\n /* Firefox */ }\n .table[data-v-f43a8553] tbody[data-v-f43a8553] td[data-v-f43a8553]::-webkit-scrollbar {\n display: none; } }\n";
12536
12536
  n(css, {});function normalizeComponent (
12537
12537
  scriptExports,
12538
12538
  render,
@@ -14925,6 +14925,8 @@ var _sfc_render = function render() {
14925
14925
  }, [!_vm.loading ? _c('div', {
14926
14926
  staticClass: "text-center"
14927
14927
  }, [_vm._v(_vm._s(_vm.items.length == 0 ? _vm.messageEmptyResults : _vm.messageNoMore))]) : _vm._e()])]) : _vm._e(), !_vm.infiniteScroll ? _c('div', {
14928
+ staticClass: "paginator-data"
14929
+ }, [_vm._v(" Filas: " + _vm._s(_vm.pagination.total) + " |xPág: " + _vm._s(_vm.pagination.per_page) + " |Pág: " + _vm._s(_vm.pagination.current_page) + " |Seleccionados: " + _vm._s(_vm.selectedItems.length) + " ")]) : _vm._e(), !_vm.infiniteScroll ? _c('div', {
14928
14930
  staticClass: "crud-paginator"
14929
14931
  }, [_vm.showPaginator ? _c('b-pagination', {
14930
14932
  attrs: {
@@ -15062,7 +15064,7 @@ var _sfc_render = function render() {
15062
15064
  }) : _vm._e()], 2)], 1);
15063
15065
  };
15064
15066
  var _sfc_staticRenderFns = [];
15065
- var __component__ = /*#__PURE__*/normalizeComponent(_sfc_main, _sfc_render, _sfc_staticRenderFns, false, null, "373bb24e", null, null);
15067
+ var __component__ = /*#__PURE__*/normalizeComponent(_sfc_main, _sfc_render, _sfc_staticRenderFns, false, null, "f43a8553", null, null);
15066
15068
  var component$1 = __component__.exports;// Import vue component
15067
15069
 
15068
15070
  // Default export is installable instance of component.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-laravel-crud",
3
- "version": "1.6.19",
3
+ "version": "1.6.21",
4
4
  "description": "",
5
5
  "homepage": "https://github.com/clonixdev/vue-laravel-crud",
6
6
  "main": "dist/vue-laravel-crud.ssr.js",
@@ -1831,7 +1831,9 @@ export default /*#__PURE__*/ {
1831
1831
  <div class="text-center" v-if="!loading">{{ items.length == 0 ? messageEmptyResults : messageNoMore }}</div>
1832
1832
  </div>
1833
1833
  </infinite-loading>
1834
-
1834
+ <div class="paginator-data" v-if="!infiniteScroll">
1835
+ Filas: {{ pagination.total }} |xPág: {{ pagination.per_page }} |Pág: {{ pagination.current_page }} |Seleccionados: {{ selectedItems.length }}
1836
+ </div>
1835
1837
  <div class="crud-paginator" v-if="!infiniteScroll">
1836
1838
  <b-pagination v-if="showPaginator" v-model="pagination.current_page" :total-rows="pagination.total"
1837
1839
  :per-page="pagination.per_page" @change="onPaginationChange($event)"></b-pagination>