vi-grid-builder 2.3.51 → 2.3.53

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/style.css CHANGED
@@ -1 +1 @@
1
- .vi-grid-badge{font-size:.85em;line-height:1;border:1px solid var(--vi-grid-neutral-color-light);color:var(--vi-grid-neutral-color-light);padding:4px 7px;text-transform:capitalize;border-radius:6px}.vi-grid-image{display:flex;align-items:center;justify-content:center;transition:.3s ease-in-out}.vi-grid-image:hover{scale:4;transition:.3s ease-in-out}.vi-grid-image img{max-width:100%;object-fit:contain;height:23px}.vi-grid-text.editable input{width:100%;background-color:transparent;border:none;border-bottom:1px solid var(--vi-grid-neutral-color-light)}.vi-grid-text.editable input:focus{outline:none}.vi-grid-kebab-menu{cursor:pointer;min-height:10px;width:100%;position:relative;text-align:right}.vi-grid-kebab-menu .actions-menu-button{box-sizing:border-box;position:relative;display:block;width:4px;height:4px;background:currentColor;border-radius:100%}.vi-grid-kebab-menu .actions-menu-button:after,.vi-grid-kebab-menu .actions-menu-button:before{content:"";position:absolute;top:0;box-sizing:border-box;display:block;width:4px;height:4px;background:currentColor;border-radius:100%}.vi-grid-kebab-menu .actions-menu-button:after{left:-6px}.vi-grid-kebab-menu .actions-menu-button:before{right:-6px}.vi-grid-kebab-menu .actions-menu{padding:5px;white-space:nowrap;position:absolute;right:0;z-index:1000;background-color:#fff;border:1px solid #ddd;box-shadow:0 4px 6px #0000001a;border-radius:5px;min-width:140px;overflow:hidden}.vi-grid-kebab-menu .actions-menu .actions-menu-item{padding:10px 15px;cursor:pointer;text-align:left;display:flex;align-items:center;gap:15px;transition:.3s ease-in-out}.vi-grid-kebab-menu .actions-menu .actions-menu-item:hover{color:var(--vi-grid-primary-color);transition:.3s ease-in-out}.vi-grid-kebab-menu .actions-menu .actions-menu-item:hover span svg path{fill:var(--vi-grid-primary-color);transition:.3s ease-in-out}.vi-grid-kebab-menu .actions-menu .actions-menu-item span{width:10px;height:10px;display:flex;margin-top:-2px}.vi-grid-kebab-menu .actions-menu .actions-menu-item span svg{width:100%;height:100%}.vi-grid-kebab-menu .actions-menu .actions-menu-item span svg path{transition:.3s ease-in-out}.vi-grid-kebab-menu .actions-menu .actions-menu-item:hover{background-color:#f9f9fa}.actions-menu-button{cursor:pointer;transform:scale(var(--ggs, 1))}.actions-menu-button,.actions-menu-button:after,.actions-menu-button:before{box-sizing:border-box;position:relative;display:block;width:4px;height:4px;background:currentColor;border-radius:100%}.actions-menu-button:after,.actions-menu-button:before{content:"";position:absolute;top:0}.actions-menu-button:after{left:-6px}.actions-menu-button:before{right:-6px}.vi-grid-builder-actions{display:flex;align-items:center;gap:5px;justify-content:flex-end}.vi-grid-link a{color:var(--vi-grid-primary-text-color);cursor:pointer;transition:all .5s ease-out}.vi-grid-link a:hover{color:var(--vi-grid-primary-color)}.vi-grid-checkbox{padding:0;margin:0;display:flex;align-items:center}.vi-grid-checkbox input[type=checkbox]{width:16px;height:16px;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid var(--vi-grid-neutral-color-light);background-color:#fff;cursor:pointer;transition:background .3s ease;margin:0;padding:0;border-radius:4px}.vi-grid-checkbox input[type=checkbox]:checked{background-color:var(--vi-grid-primary-color);border-color:var(--vi-grid-primary-color);position:relative}.vi-grid-checkbox input[type=checkbox]:checked:before{content:"";background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj48IS0tIUZvbnQgQXdlc29tZSBGcmVlIDYuNy4yIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlL2ZyZWUgQ29weXJpZ2h0IDIwMjUgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZmlsbD0iI2ZmZmZmZiIgZD0iTTQzOC42IDEwNS40YzEyLjUgMTIuNSAxMi41IDMyLjggMCA0NS4zbC0yNTYgMjU2Yy0xMi41IDEyLjUtMzIuOCAxMi41LTQ1LjMgMGwtMTI4LTEyOGMtMTIuNS0xMi41LTEyLjUtMzIuOCAwLTQ1LjNzMzIuOC0xMi41IDQ1LjMgMEwxNjAgMzM4LjcgMzkzLjQgMTA1LjRjMTIuNS0xMi41IDMyLjgtMTIuNSA0NS4zIDB6Ii8+PC9zdmc+);background-repeat:no-repeat;background-position:center;width:10px;height:10px;position:absolute;top:50%;left:50%;transform:translate(-45%,-50%)}.vi-grid-header-column-cell .sort-button[data-v-506beebe]{margin-left:5px}:root{--vi-grid-primary-color: #5C67F7;--vi-grid-primary-color-light: color-mix(in srgb, var(--vi-grid-primary-color) 70%, white 80%);--vi-grid-neutral-color: #c8c8c8;--vi-grid-neutral-color-light: color-mix(in srgb, var(--vi-grid-neutral-color) 70%, white 60%);--vi-grid-neutral-color-light-2: color-mix(in srgb, var(--vi-grid-neutral-color) 50%, white 65%);--vi-grid-neutral-color-light-3: color-mix(in srgb, var(--vi-grid-neutral-color) 30%, white 80%);--vi-grid-input-font-family: "Poppins", serif;--vi-grid-primary-text-color: black}.vi-grid-builder{width:100%;box-sizing:border-box}.vi-grid-builder .top-container{padding:10px 0;background-color:#fff;display:flex;justify-content:flex-end;gap:10px}.vi-grid-builder .vi-table-container{overflow-x:auto;position:relative;width:100%;max-width:100%;box-sizing:border-box;background-color:#fff}.vi-grid-builder .vi-table-container.loading:before{position:absolute;top:0;left:0;bottom:0;width:100%;height:100%;content:"";backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px);pointer-events:none}.vi-grid-builder .vi-table-container .vi-table{width:auto;min-width:100%;overflow-x:auto;box-sizing:border-box;border-collapse:collapse;table-layout:auto}.vi-grid-builder .vi-table-container .vi-table .vi-table-head .vi-header-row{border-bottom:1px solid var(--vi-grid-neutral-color-light-2)}.vi-grid-builder .vi-table-container .vi-table .vi-cell{word-wrap:break-word;border:none;font-size:13px;color:var(--vi-grid-primary-text-color);white-space:nowrap;padding:8px}.vi-grid-builder .vi-table-container .vi-table .vi-cell.unsorted .sort-button{visibility:hidden}.vi-grid-builder .vi-table-container .vi-table .vi-cell.unsorted:hover .sort-button{visibility:visible;opacity:.5}.vi-grid-builder .vi-table-container .vi-table .vi-drag-handle-cell{cursor:grab;text-align:center}.vi-grid-builder .vi-table-container .vi-table .vi-drag-handle-cell .drag-handle{color:var(--vi-grid-neutral-color)}.vi-grid-builder .vi-table-container .vi-table .vi-drag-handle-cell:hover .drag-handle{color:var(--vi-grid-primary-color)}.vi-grid-builder .vi-table-container .vi-table.stripped tbody tr:nth-child(2n):not(.vi-footer-row){background:var(--vi-grid-neutral-color-light-3)}.vi-grid-builder .vi-table-container .vi-table.bordered .vi-table-body .vi-table-row{border-bottom:1px solid var(--vi-grid-neutral-color-light-2)}.vi-grid-builder .vi-table-container .vi-table.bordered .vi-table-body .vi-table-row:last-child:not(.vi-footer-row),.vi-grid-builder .vi-table-container .vi-table.bordered .vi-table-body .vi-table-row:nth-last-child(2):has(+.vi-footer-row:last-child){border:none}.vi-grid-builder .vi-table-container .vi-table .vi-grid-field.left,.vi-grid-builder .vi-table-container .vi-table .vi-header-cell-content.left{display:flex;align-items:center;justify-content:flex-start}.vi-grid-builder .vi-table-container .vi-table .vi-grid-field.right,.vi-grid-builder .vi-table-container .vi-table .vi-header-cell-content.right{display:flex;justify-content:flex-end}.vi-grid-builder .vi-table-container .vi-table .vi-grid-field.center,.vi-grid-builder .vi-table-container .vi-table .vi-header-cell-content.center{display:flex;justify-content:center}.vi-grid-builder .vi-table-container .vi-table .vi-header-cell-content .sort-button{margin-right:4px}.vi-grid-builder .vi-table-container .vi-table .vi-body-row:hover:not(.vi-footer-row){background-color:var(--vi-grid-neutral-color-light-3)}.vi-grid-builder .vi-table-container .vi-table .vi-body-row.clickable{cursor:pointer}.vi-grid-builder .vi-table-container .vi-table .vi-loading-row{height:0!important}.vi-grid-builder .vi-table-container .vi-table .vi-loading-cell{padding:0;position:relative}.vi-grid-builder .vi-table-container .vi-table .vi-loading-cell .loading-bar-container{width:100%;height:2px;background-color:transparent;overflow:hidden;position:absolute}.vi-grid-builder .vi-table-container .vi-table .vi-loading-cell .loading-bar{width:100%;height:100%;background-color:var(--vi-grid-primary-color);position:absolute;transform:translate(-100%);animation:moveBar 3s linear infinite}@keyframes moveBar{0%{transform:translate(-100%)}to{transform:translate(100%)}}@media (max-width: 600px){.vi-grid-builder .vi-table-container .vi-cell{padding:8px 10px;font-size:.9em}}.vi-row-details-cell:empty{display:none}:root{--vi-pagination-primary-color: rgba(0, 0, 255, .65);--vi-pagination-primary-text-color: rgb(255,255,255);--vi-pagination-text-color: rgb(0,0,0);--vi-pagination-color: rgb(200, 198, 198)}.vi-pagination{display:flex;align-items:center;justify-content:space-between;color:var(--vi-pagination-text-color);background-color:inherit}.vi-pagination .vi-rows-per-page select{cursor:pointer;padding:5px;background:var(--vi-pagination-primary-color);text-align:center;border-radius:5px;border:none;color:var(--vi-pagination-primary-text-color)}.vi-pagination .vi-rows-per-page select:active{border:none}.vi-pagination .vi-pages-navigator,.vi-pagination .vi-pages-navigator .page-actions{display:flex;align-items:center}.vi-pagination .vi-pages-navigator .page-actions .vi-page-nav{cursor:pointer}.vi-pagination .vi-pages-navigator .page-actions .vi-page-nav.vi-page-prev,.vi-pagination .vi-pages-navigator .page-actions .vi-page-nav.vi-page-next{margin:0 5px}.vi-pagination .vi-pages-navigator .page-numbers-container{margin:0 5px;display:flex}.vi-pagination .vi-pages-navigator .page-numbers-container .vi-page-number{padding:2px 10px;margin-right:5px;cursor:pointer;background-color:var(--vi-pagination-color);border-radius:5px}.vi-pagination .vi-pages-navigator .page-numbers-container .vi-page-number.active,.vi-pagination .vi-pages-navigator .page-numbers-container .vi-page-number:hover{background-color:var(--vi-pagination-primary-color);color:var(--vi-pagination-primary-text-color)}
1
+ .vi-grid-badge{font-size:.85em;line-height:1;border:1px solid var(--vi-grid-neutral-color-light);color:var(--vi-grid-neutral-color-light);padding:4px 7px;text-transform:capitalize;border-radius:6px}.vi-grid-image{display:flex;align-items:center;justify-content:center;transition:.3s ease-in-out}.vi-grid-image:hover{scale:4;transition:.3s ease-in-out}.vi-grid-image img{max-width:100%;object-fit:contain;height:23px}.vi-grid-text.editable input{width:100%;background-color:transparent;border:none;border-bottom:1px solid var(--vi-grid-neutral-color-light)}.vi-grid-text.editable input:focus{outline:none}.vi-grid-kebab-menu{cursor:pointer;min-height:10px;width:100%;position:relative;text-align:right}.vi-grid-kebab-menu .toggle-menu-icon{padding:3px 6px}.vi-grid-kebab-menu.right .actions-menu{left:0}.vi-grid-kebab-menu .actions-menu{padding:20px;position:absolute;top:20px;right:0;height:max-content;z-index:10;background:white;box-shadow:0 2px 12px #0000001a;display:flex;justify-content:center;gap:8px;max-width:max-content;width:max-content;box-sizing:border-box;flex-direction:column}.vi-grid-kebab-menu .actions-menu .actions-menu-item{cursor:pointer;text-align:left;display:flex;align-items:center;gap:15px;transition:.3s ease-in-out}.actions-menu-button{cursor:pointer;transform:scale(var(--ggs, 1))}.actions-menu-button,.actions-menu-button:after,.actions-menu-button:before{box-sizing:border-box;position:relative;display:block;width:4px;height:4px;background:currentColor;border-radius:100%}.actions-menu-button:after,.actions-menu-button:before{content:"";position:absolute;top:0}.actions-menu-button:after{left:-6px}.actions-menu-button:before{right:-6px}.vi-grid-builder-actions{display:flex;align-items:center;gap:5px;justify-content:flex-end}.vi-grid-link a{color:var(--vi-grid-primary-text-color);cursor:pointer;transition:all .5s ease-out}.vi-grid-link a:hover{color:var(--vi-grid-primary-color)}.vi-grid-checkbox{padding:0;margin:0;display:flex;align-items:center}.vi-grid-checkbox input[type=checkbox]{width:16px;height:16px;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid var(--vi-grid-neutral-color-light);background-color:#fff;cursor:pointer;transition:background .3s ease;margin:0;padding:0;border-radius:4px}.vi-grid-checkbox input[type=checkbox]:checked{background-color:var(--vi-grid-primary-color);border-color:var(--vi-grid-primary-color);position:relative}.vi-grid-checkbox input[type=checkbox]:checked:before{content:"";background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj48IS0tIUZvbnQgQXdlc29tZSBGcmVlIDYuNy4yIGJ5IEBmb250YXdlc29tZSAtIGh0dHBzOi8vZm9udGF3ZXNvbWUuY29tIExpY2Vuc2UgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbS9saWNlbnNlL2ZyZWUgQ29weXJpZ2h0IDIwMjUgRm9udGljb25zLCBJbmMuLS0+PHBhdGggZmlsbD0iI2ZmZmZmZiIgZD0iTTQzOC42IDEwNS40YzEyLjUgMTIuNSAxMi41IDMyLjggMCA0NS4zbC0yNTYgMjU2Yy0xMi41IDEyLjUtMzIuOCAxMi41LTQ1LjMgMGwtMTI4LTEyOGMtMTIuNS0xMi41LTEyLjUtMzIuOCAwLTQ1LjNzMzIuOC0xMi41IDQ1LjMgMEwxNjAgMzM4LjcgMzkzLjQgMTA1LjRjMTIuNS0xMi41IDMyLjgtMTIuNSA0NS4zIDB6Ii8+PC9zdmc+);background-repeat:no-repeat;background-position:center;width:10px;height:10px;position:absolute;top:50%;left:50%;transform:translate(-45%,-50%)}.vi-grid-header-column-cell .sort-button[data-v-506beebe]{margin-left:5px}:root{--vi-grid-primary-color: #5C67F7;--vi-grid-primary-color-light: color-mix(in srgb, var(--vi-grid-primary-color) 70%, white 80%);--vi-grid-neutral-color: #c8c8c8;--vi-grid-neutral-color-light: color-mix(in srgb, var(--vi-grid-neutral-color) 70%, white 60%);--vi-grid-neutral-color-light-2: color-mix(in srgb, var(--vi-grid-neutral-color) 50%, white 65%);--vi-grid-neutral-color-light-3: color-mix(in srgb, var(--vi-grid-neutral-color) 30%, white 80%);--vi-grid-input-font-family: "Poppins", serif;--vi-grid-primary-text-color: black}.vi-grid-builder{width:100%;box-sizing:border-box}.vi-grid-builder .top-container{padding:10px 0;background-color:#fff;display:flex;justify-content:flex-end;gap:10px}.vi-grid-builder .vi-table-container{overflow-x:auto;position:relative;width:100%;max-width:100%;box-sizing:border-box;background-color:#fff}.vi-grid-builder .vi-table-container.loading:before{position:absolute;top:0;left:0;bottom:0;width:100%;height:100%;content:"";backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px);pointer-events:none}.vi-grid-builder .vi-table-container .vi-table{width:auto;min-width:100%;overflow-x:auto;box-sizing:border-box;border-collapse:collapse;table-layout:auto}.vi-grid-builder .vi-table-container .vi-table .vi-table-head .vi-header-row{border-bottom:1px solid var(--vi-grid-neutral-color-light-2)}.vi-grid-builder .vi-table-container .vi-table .vi-cell{word-wrap:break-word;border:none;font-size:13px;color:var(--vi-grid-primary-text-color);white-space:nowrap;padding:8px}.vi-grid-builder .vi-table-container .vi-table .vi-cell.vi-header-cell{padding:12px 8px}.vi-grid-builder .vi-table-container .vi-table .vi-cell.unsorted .sort-button{visibility:hidden}.vi-grid-builder .vi-table-container .vi-table .vi-cell.unsorted:hover .sort-button{visibility:visible;opacity:.5}.vi-grid-builder .vi-table-container .vi-table .vi-drag-handle-cell{cursor:grab;text-align:center}.vi-grid-builder .vi-table-container .vi-table .vi-drag-handle-cell .drag-handle{color:var(--vi-grid-neutral-color)}.vi-grid-builder .vi-table-container .vi-table .vi-drag-handle-cell:hover .drag-handle{color:var(--vi-grid-primary-color)}.vi-grid-builder .vi-table-container .vi-table.stripped tbody tr:nth-child(2n):not(.vi-footer-row){background:var(--vi-grid-neutral-color-light-3)}.vi-grid-builder .vi-table-container .vi-table.bordered .vi-table-body .vi-table-row{border-bottom:1px solid var(--vi-grid-neutral-color-light-2)}.vi-grid-builder .vi-table-container .vi-table.bordered .vi-table-body .vi-table-row:last-child:not(.vi-footer-row),.vi-grid-builder .vi-table-container .vi-table.bordered .vi-table-body .vi-table-row:nth-last-child(2):has(+.vi-footer-row:last-child){border:none}.vi-grid-builder .vi-table-container .vi-table .vi-grid-field.left,.vi-grid-builder .vi-table-container .vi-table .vi-header-cell-content.left{display:flex;align-items:center;justify-content:flex-start}.vi-grid-builder .vi-table-container .vi-table .vi-grid-field.right,.vi-grid-builder .vi-table-container .vi-table .vi-header-cell-content.right{display:flex;justify-content:flex-end}.vi-grid-builder .vi-table-container .vi-table .vi-grid-field.center,.vi-grid-builder .vi-table-container .vi-table .vi-header-cell-content.center{display:flex;justify-content:center}.vi-grid-builder .vi-table-container .vi-table .vi-header-cell-content .sort-button{margin-right:4px}.vi-grid-builder .vi-table-container .vi-table .vi-body-row:hover:not(.vi-footer-row){background-color:var(--vi-grid-neutral-color-light-3)}.vi-grid-builder .vi-table-container .vi-table .vi-body-row.clickable{cursor:pointer}.vi-grid-builder .vi-table-container .vi-table .vi-loading-row{height:0!important}.vi-grid-builder .vi-table-container .vi-table .vi-loading-cell{padding:0;position:relative}.vi-grid-builder .vi-table-container .vi-table .vi-loading-cell .loading-bar-container{width:100%;height:2px;background-color:transparent;overflow:hidden;position:absolute}.vi-grid-builder .vi-table-container .vi-table .vi-loading-cell .loading-bar{width:100%;height:100%;background-color:var(--vi-grid-primary-color);position:absolute;transform:translate(-100%);animation:moveBar 3s linear infinite}@keyframes moveBar{0%{transform:translate(-100%)}to{transform:translate(100%)}}@media (max-width: 600px){.vi-grid-builder .vi-table-container .vi-cell{padding:8px 10px;font-size:.9em}}.vi-row-details-cell:empty{display:none}:root{--vi-pagination-primary-color: rgba(0, 0, 255, .65);--vi-pagination-primary-text-color: rgb(255,255,255);--vi-pagination-text-color: rgb(0,0,0);--vi-pagination-color: rgb(200, 198, 198)}.vi-pagination{display:flex;align-items:center;justify-content:space-between;color:var(--vi-pagination-text-color);background-color:inherit}.vi-pagination .vi-rows-per-page select{cursor:pointer;padding:5px;background:var(--vi-pagination-primary-color);text-align:center;border-radius:5px;border:none;color:var(--vi-pagination-primary-text-color)}.vi-pagination .vi-rows-per-page select:active{border:none}.vi-pagination .vi-pages-navigator,.vi-pagination .vi-pages-navigator .page-actions{display:flex;align-items:center}.vi-pagination .vi-pages-navigator .page-actions .vi-page-nav{cursor:pointer}.vi-pagination .vi-pages-navigator .page-actions .vi-page-nav.vi-page-prev,.vi-pagination .vi-pages-navigator .page-actions .vi-page-nav.vi-page-next{margin:0 5px}.vi-pagination .vi-pages-navigator .page-numbers-container{margin:0 5px;display:flex}.vi-pagination .vi-pages-navigator .page-numbers-container .vi-page-number{padding:2px 10px;margin-right:5px;cursor:pointer;background-color:var(--vi-pagination-color);border-radius:5px}.vi-pagination .vi-pages-navigator .page-numbers-container .vi-page-number.active,.vi-pagination .vi-pages-navigator .page-numbers-container .vi-page-number:hover{background-color:var(--vi-pagination-primary-color);color:var(--vi-pagination-primary-text-color)}
@@ -1,4 +1,4 @@
1
- import { openBlock as C, createElementBlock as E, mergeProps as Oe, toDisplayString as be, createElementVNode as z, defineComponent as qe, computed as O, watch as st, h as $e, reactive as pn, createVNode as B, toRaw as Be, nextTick as An, resolveComponent as ie, createBlock as ce, createCommentVNode as H, renderSlot as oe, normalizeClass as Ve, ref as j, Fragment as We, createTextVNode as cu, Teleport as uu, normalizeStyle as fu, isVNode as tl, createApp as du, onMounted as Ka, onUnmounted as Vo, shallowRef as mu, getCurrentScope as gu, onScopeDispose as hu, shallowReadonly as Kt, unref as pu, watchEffect as pa, cloneVNode as vu, withModifiers as Qa, renderList as kt, withCtx as Vt, resolveDynamicComponent as va, getCurrentInstance as yu } from "vue";
1
+ import { openBlock as C, createElementBlock as E, mergeProps as Oe, toDisplayString as be, createElementVNode as z, defineComponent as qe, computed as O, watch as st, h as $e, reactive as pn, createVNode as B, toRaw as Ve, nextTick as An, resolveComponent as ie, createBlock as ce, createCommentVNode as H, renderSlot as oe, normalizeClass as ze, ref as j, Fragment as We, createTextVNode as cu, Teleport as uu, normalizeStyle as fu, isVNode as tl, createApp as du, onMounted as Ka, onUnmounted as Vo, shallowRef as mu, getCurrentScope as gu, onScopeDispose as hu, shallowReadonly as Kt, unref as pu, watchEffect as pa, cloneVNode as vu, withModifiers as Qa, renderList as kt, withCtx as Vt, resolveDynamicComponent as va, getCurrentInstance as yu } from "vue";
2
2
  const Ee = (e, t) => {
3
3
  const n = e.__vccOpts || e;
4
4
  for (const [a, r] of t)
@@ -3380,7 +3380,7 @@ function im(e, t, n, a, r, o) {
3380
3380
  const i = ie("vi-button");
3381
3381
  return n.modelValue ? (C(), E("div", nm, [
3382
3382
  z("div", {
3383
- class: Ve(["dialog-container", [o.dialogEnterAnimationPosition, o.dialogSize]])
3383
+ class: ze(["dialog-container", [o.dialogEnterAnimationPosition, o.dialogSize]])
3384
3384
  }, [
3385
3385
  z("div", am, be(n.label), 1),
3386
3386
  z("div", rm, [
@@ -3449,7 +3449,7 @@ function mm(e, t, n, a, r, o) {
3449
3449
  const i = ie("font-awesome-icon");
3450
3450
  return n.modelValue ? (C(), E("div", cm, [
3451
3451
  z("div", {
3452
- class: Ve(["dialog-container", [o.dialogEnterAnimationPosition, o.dialogSize]])
3452
+ class: ze(["dialog-container", [o.dialogEnterAnimationPosition, o.dialogSize]])
3453
3453
  }, [
3454
3454
  z("div", um, [
3455
3455
  z("div", {
@@ -4657,7 +4657,7 @@ function Pg(e) {
4657
4657
  }
4658
4658
  function ls(e) {
4659
4659
  var t;
4660
- return (tl(e.content) ? Be(e.content.props) : null) ?? Be((t = e.data) != null ? t : {});
4660
+ return (tl(e.content) ? Ve(e.content.props) : null) ?? Ve((t = e.data) != null ? t : {});
4661
4661
  }
4662
4662
  function Eg(e) {
4663
4663
  return e ? rt.items.filter((t) => t.containerId === e).length > 0 : rt.items.length > 0;
@@ -4672,7 +4672,7 @@ const he = pn({}), rt = pn({
4672
4672
  items: []
4673
4673
  });
4674
4674
  function ea() {
4675
- const e = Be(he);
4675
+ const e = Ve(he);
4676
4676
  return Object.values(e).reduce((t, n) => [...t, ...n], []);
4677
4677
  }
4678
4678
  function Tg(e) {
@@ -5152,7 +5152,7 @@ function Yg({
5152
5152
  theme: e,
5153
5153
  type: t
5154
5154
  };
5155
- return n ? r = po.spinner() : a === !1 ? r = void 0 : xa(a) ? r = Be(a) : ln(a) ? r = a(o) : tl(a) ? r = vu(a, o) : ho(a) || Dg(a) ? r = a : Ug(t) && (r = po[t](o)), r;
5155
+ return n ? r = po.spinner() : a === !1 ? r = void 0 : xa(a) ? r = Ve(a) : ln(a) ? r = a(o) : tl(a) ? r = vu(a, o) : ho(a) || Dg(a) ? r = a : Ug(t) && (r = po[t](o)), r;
5156
5156
  }
5157
5157
  const $g = () => {
5158
5158
  };
@@ -5270,7 +5270,7 @@ const qg = /* @__PURE__ */ qe({
5270
5270
  }, [r.value != null && B("div", {
5271
5271
  "data-testid": "toast-icon-".concat(e.type),
5272
5272
  class: ["".concat(Y.CSS_NAMESPACE, "__toast-icon"), e.isLoading ? "" : "".concat(Y.CSS_NAMESPACE, "--animate-icon ").concat(Y.CSS_NAMESPACE, "__zoom-enter")].join(" ")
5273
- }, [xa(r.value) ? $e(Be(r.value), {
5273
+ }, [xa(r.value) ? $e(Ve(r.value), {
5274
5274
  theme: e.theme,
5275
5275
  type: e.type
5276
5276
  }) : ln(r.value) ? r.value({
@@ -5278,12 +5278,12 @@ const qg = /* @__PURE__ */ qe({
5278
5278
  type: e.type
5279
5279
  }) : r.value]), B("div", {
5280
5280
  "data-testid": "toast-content"
5281
- }, [xa(e.content) ? $e(Be(e.content), {
5282
- toastProps: Be(e),
5281
+ }, [xa(e.content) ? $e(Ve(e.content), {
5282
+ toastProps: Ve(e),
5283
5283
  closeToast: l,
5284
5284
  data: e.data
5285
5285
  }) : ln(e.content) ? e.content({
5286
- toastProps: Be(e),
5286
+ toastProps: Ve(e),
5287
5287
  closeToast: l,
5288
5288
  data: e.data
5289
5289
  }) : e.dangerouslyHTMLString ? $e("div", {
@@ -5293,7 +5293,7 @@ const qg = /* @__PURE__ */ qe({
5293
5293
  closeToast: (u) => {
5294
5294
  u.stopPropagation(), u.preventDefault(), l();
5295
5295
  }
5296
- }, null), xa(e.closeButton) ? $e(Be(e.closeButton), {
5296
+ }, null), xa(e.closeButton) ? $e(Ve(e.closeButton), {
5297
5297
  closeToast: l,
5298
5298
  type: e.type,
5299
5299
  theme: e.theme
@@ -5367,7 +5367,7 @@ function Lt(e, t, n = {}) {
5367
5367
  return;
5368
5368
  n = ur(Ig(), {
5369
5369
  type: t
5370
- }, Be(n)), (!n.toastId || typeof n.toastId != "string" && typeof n.toastId != "number") && (n.toastId = nc()), n = {
5370
+ }, Ve(n)), (!n.toastId || typeof n.toastId != "string" && typeof n.toastId != "number") && (n.toastId = nc()), n = {
5371
5371
  ...n,
5372
5372
  content: e,
5373
5373
  containerId: n.containerId || String(n.position)
@@ -5421,7 +5421,7 @@ K.update = (e, t = {}) => {
5421
5421
  setTimeout(() => {
5422
5422
  const n = Tg(e);
5423
5423
  if (n) {
5424
- const a = Be(n), {
5424
+ const a = Ve(n), {
5425
5425
  content: r
5426
5426
  } = a, o = {
5427
5427
  ...a,
@@ -10222,6 +10222,10 @@ const f0 = {
10222
10222
  },
10223
10223
  showMenu: {
10224
10224
  type: Boolean
10225
+ },
10226
+ position: {
10227
+ type: String,
10228
+ position: "left"
10225
10229
  }
10226
10230
  }
10227
10231
  // setup() {
@@ -10245,11 +10249,14 @@ const f0 = {
10245
10249
  function g0(e, t, n, a, r, o) {
10246
10250
  const i = ie("font-awesome-icon");
10247
10251
  return C(), E("div", {
10248
- class: "vi-grid-kebab-menu",
10252
+ class: ze(["vi-grid-kebab-menu", { [n.position]: !0 }]),
10249
10253
  ref: "kebabMenu",
10250
10254
  onClick: t[0] || (t[0] = Qa((s) => e.$emit("toggleMenu"), ["stop"]))
10251
10255
  }, [
10252
- B(i, { icon: ["fas", "ellipsis"] }),
10256
+ B(i, {
10257
+ class: "toggle-menu-icon",
10258
+ icon: ["fas", "ellipsis-v"]
10259
+ }),
10253
10260
  n.showMenu ? (C(), E("div", d0, [
10254
10261
  (C(!0), E(We, null, kt(n.actions, (s) => (C(), E("div", {
10255
10262
  key: s.action,
@@ -10257,7 +10264,7 @@ function g0(e, t, n, a, r, o) {
10257
10264
  class: "actions-menu-item"
10258
10265
  }, be(s.name), 9, m0))), 128))
10259
10266
  ])) : H("", !0)
10260
- ], 512);
10267
+ ], 2);
10261
10268
  }
10262
10269
  const h0 = /* @__PURE__ */ Ee(f0, [["render", g0]]);
10263
10270
  const p0 = {
@@ -10278,7 +10285,7 @@ function y0(e, t, n, a, r, o) {
10278
10285
  label: s.name,
10279
10286
  mode: s.mode,
10280
10287
  action: s.action,
10281
- class: Ve({ [s.actionClass]: s.actionClass }),
10288
+ class: ze({ [s.actionClass]: s.actionClass }),
10282
10289
  size: "small",
10283
10290
  onClick: Qa((c) => e.$emit("action-clicked", s.action), ["prevent"])
10284
10291
  }, null, 8, ["label", "mode", "action", "class", "onClick"]))), 128))
@@ -10312,7 +10319,11 @@ const x0 = {
10312
10319
  return [];
10313
10320
  }
10314
10321
  },
10315
- rowMenuOpened: {}
10322
+ rowMenuOpened: {},
10323
+ position: {
10324
+ type: String,
10325
+ default: "left"
10326
+ }
10316
10327
  },
10317
10328
  setup(e, { emit: t }) {
10318
10329
  const { visibleActions: n, onActionClicked: a, toggleRowMenu: r } = w0(e, t);
@@ -10339,13 +10350,14 @@ function _0(e, t, n, a, r, o) {
10339
10350
  return C(), E("div", S0, [
10340
10351
  n.kebab ? (C(), ce(i, {
10341
10352
  key: 0,
10353
+ position: n.position,
10342
10354
  actions: a.visibleActions,
10343
10355
  "row-key": n.rowKey,
10344
10356
  row: n.row,
10345
10357
  "show-menu": n.row[n.rowKey] === n.rowMenuOpened,
10346
10358
  onActionClicked: a.onActionClicked,
10347
10359
  onToggleMenu: t[0] || (t[0] = (l) => a.toggleRowMenu(n.row))
10348
- }, null, 8, ["actions", "row-key", "row", "show-menu", "onActionClicked"])) : (C(), ce(s, {
10360
+ }, null, 8, ["position", "actions", "row-key", "row", "show-menu", "onActionClicked"])) : (C(), ce(s, {
10349
10361
  key: 1,
10350
10362
  actions: a.visibleActions,
10351
10363
  "row-key": n.rowKey,
@@ -10663,7 +10675,7 @@ function J0(e, t, n, a, r, o) {
10663
10675
  colspan: n.colspan
10664
10676
  }, [
10665
10677
  z("div", {
10666
- class: Ve(["vi-header-cell-content", n.align])
10678
+ class: ze(["vi-header-cell-content", n.align])
10667
10679
  }, [
10668
10680
  oe(e.$slots, "default")
10669
10681
  ], 2)
@@ -10731,7 +10743,7 @@ const ey = {
10731
10743
  function ny(e, t, n, a, r, o) {
10732
10744
  const i = ie("vi-tooltip"), s = ie("font-awesome-icon"), l = ie("vi-grid-head-cell");
10733
10745
  return C(), ce(l, {
10734
- class: Ve([n.sortableState, "vi-grid-header-column-cell"]),
10746
+ class: ze([n.sortableState, "vi-grid-header-column-cell"]),
10735
10747
  align: n.column.align ?? n.align
10736
10748
  }, {
10737
10749
  default: Vt(() => [
@@ -11274,7 +11286,7 @@ function ke(e) {
11274
11286
  newDraggableIndex: _t
11275
11287
  }, e));
11276
11288
  }
11277
- var S, ae, R, ee, Bt, Oa, re, Ct, rn, Ie, Bn, _t, da, ge, en = !1, Ga = !1, Ha = [], Rt, ze, Rr, jr, Xs, Ks, On, Zt, Vn, Wn = !1, ma = !1, Pa, pe, zr = [], Lo = !1, qa = [], yr = typeof document < "u", ga = Qc, Qs = aa || vt ? "cssFloat" : "float", _y = yr && !my && !Qc && "draggable" in document.createElement("div"), au = function() {
11289
+ var S, ae, R, ee, Bt, Oa, re, Ct, rn, Ie, Bn, _t, da, ge, en = !1, Ga = !1, Ha = [], Rt, Be, Rr, jr, Xs, Ks, On, Zt, Vn, Wn = !1, ma = !1, Pa, pe, zr = [], Lo = !1, qa = [], yr = typeof document < "u", ga = Qc, Qs = aa || vt ? "cssFloat" : "float", _y = yr && !my && !Qc && "draggable" in document.createElement("div"), au = function() {
11278
11290
  if (yr) {
11279
11291
  if (vt)
11280
11292
  return !1;
@@ -11521,17 +11533,17 @@ M.prototype = /** @lends Sortable.prototype */
11521
11533
  this._nulling();
11522
11534
  },
11523
11535
  _emulateDragOver: function() {
11524
- if (ze) {
11525
- this._lastX = ze.clientX, this._lastY = ze.clientY, iu();
11526
- for (var t = document.elementFromPoint(ze.clientX, ze.clientY), n = t; t && t.shadowRoot && (t = t.shadowRoot.elementFromPoint(ze.clientX, ze.clientY), t !== n); )
11536
+ if (Be) {
11537
+ this._lastX = Be.clientX, this._lastY = Be.clientY, iu();
11538
+ for (var t = document.elementFromPoint(Be.clientX, Be.clientY), n = t; t && t.shadowRoot && (t = t.shadowRoot.elementFromPoint(Be.clientX, Be.clientY), t !== n); )
11527
11539
  n = t;
11528
11540
  if (S.parentNode[Me]._isOutsideThisEl(t), n)
11529
11541
  do {
11530
11542
  if (n[Me]) {
11531
11543
  var a = void 0;
11532
11544
  if (a = n[Me]._onDragOver({
11533
- clientX: ze.clientX,
11534
- clientY: ze.clientY,
11545
+ clientX: Be.clientX,
11546
+ clientY: Be.clientY,
11535
11547
  target: t,
11536
11548
  rootEl: n
11537
11549
  }), a && !this.options.dragoverBubble)
@@ -11560,7 +11572,7 @@ M.prototype = /** @lends Sortable.prototype */
11560
11572
  f
11561
11573
  };
11562
11574
  var d = "matrix(".concat(i.a, ",").concat(i.b, ",").concat(i.c, ",").concat(i.d, ",").concat(i.e, ",").concat(i.f, ")");
11563
- I(R, "webkitTransform", d), I(R, "mozTransform", d), I(R, "msTransform", d), I(R, "transform", d), Rr = u, jr = f, ze = o;
11575
+ I(R, "webkitTransform", d), I(R, "mozTransform", d), I(R, "msTransform", d), I(R, "transform", d), Rr = u, jr = f, Be = o;
11564
11576
  }
11565
11577
  t.cancelable && t.preventDefault();
11566
11578
  }
@@ -11743,7 +11755,7 @@ M.prototype = /** @lends Sortable.prototype */
11743
11755
  }), this.save()))), this._nulling();
11744
11756
  },
11745
11757
  _nulling: function() {
11746
- De("nulling", this), ee = S = ae = R = Bt = re = Oa = Ct = Rt = ze = On = Ie = _t = rn = Bn = Zt = Vn = ge = da = M.dragged = M.ghost = M.clone = M.active = null, qa.forEach(function(t) {
11758
+ De("nulling", this), ee = S = ae = R = Bt = re = Oa = Ct = Rt = Be = On = Ie = _t = rn = Bn = Zt = Vn = ge = da = M.dragged = M.ghost = M.clone = M.active = null, qa.forEach(function(t) {
11747
11759
  t.checked = !0;
11748
11760
  }), qa.length = Rr = jr = 0;
11749
11761
  },
@@ -12365,6 +12377,9 @@ const Wy = {
12365
12377
  FontAwesomeIcon: Xt
12366
12378
  },
12367
12379
  props: {
12380
+ id: {
12381
+ type: String
12382
+ },
12368
12383
  rows: {
12369
12384
  type: Array
12370
12385
  },
@@ -12596,55 +12611,56 @@ const Wy = {
12596
12611
  }, Uy = { class: "vi-grid-builder" }, Yy = {
12597
12612
  key: 0,
12598
12613
  class: "top-container"
12599
- }, $y = {
12614
+ }, $y = ["id"], Gy = {
12600
12615
  key: 0,
12601
12616
  class: "draggable-column"
12602
- }, Gy = {
12617
+ }, Hy = {
12603
12618
  key: 1,
12604
12619
  class: "selectable-column"
12605
- }, Hy = { class: "vi-table-head" }, qy = {
12620
+ }, qy = { class: "vi-table-head" }, Xy = {
12606
12621
  key: 0,
12607
12622
  class: "vi-header-row vi-table-row vi-title-row"
12608
- }, Xy = { class: "vi-header-row vi-table-row" }, Ky = {
12623
+ }, Ky = { class: "vi-header-row vi-table-row" }, Qy = {
12609
12624
  key: 1,
12610
12625
  class: "vi-body-row vi-table-row vi-loading-row"
12611
- }, Qy = {
12626
+ }, Jy = {
12612
12627
  key: 1,
12613
12628
  class: "loading-bar-container"
12614
- }, Jy = {
12629
+ }, Zy = {
12615
12630
  key: 0,
12616
12631
  class: "vi-table-body"
12617
- }, Zy = { class: "vi-body-row vi-table-row vi-no-data-row" }, eb = ["colspan"], tb = { key: 1 }, nb = ["onClick"], ab = {
12632
+ }, eb = { class: "vi-body-row vi-table-row vi-no-data-row" }, tb = ["colspan"], nb = { key: 1 }, ab = ["onClick"], rb = {
12618
12633
  key: 0,
12619
12634
  class: "vi-cell vi-drag-handle-cell"
12620
- }, rb = {
12635
+ }, ob = {
12621
12636
  key: 1,
12622
12637
  class: "vi-cell vi-select-cell"
12623
- }, ob = ["colspan"], ib = {
12638
+ }, ib = ["colspan"], sb = {
12624
12639
  key: 0,
12625
12640
  class: "vi-body-row vi-table-row vi-footer-row"
12626
- }, sb = ["colspan"];
12627
- function lb(e, t, n, a, r, o) {
12641
+ }, lb = ["colspan"];
12642
+ function cb(e, t, n, a, r, o) {
12628
12643
  const i = ie("vi-grid-head-cell"), s = ie("vi-grid-checkbox"), l = ie("vi-grid-head-column-cell"), c = ie("font-awesome-icon"), u = ie("vi-grid-field"), f = ie("vi-pagination"), d = ie("draggable");
12629
12644
  return C(), E("div", Uy, [
12630
12645
  e.$slots.top ? (C(), E("div", Yy, [
12631
12646
  oe(e.$slots, "top")
12632
12647
  ])) : H("", !0),
12633
12648
  z("div", {
12634
- class: Ve(["vi-table-container", { loading: a.isDataLoading }])
12649
+ class: ze(["vi-table-container", { loading: a.isDataLoading }])
12635
12650
  }, [
12636
12651
  z("table", {
12637
- class: Ve(["vi-table", { stripped: a.settings.stripped, bordered: a.settings.bordered }])
12652
+ id: n.id,
12653
+ class: ze(["vi-table", { stripped: a.settings.stripped, bordered: a.settings.bordered }])
12638
12654
  }, [
12639
12655
  z("colgroup", null, [
12640
- n.enableDraggable ? (C(), E("col", $y)) : H("", !0),
12641
- n.selectable ? (C(), E("col", Gy)) : H("", !0),
12656
+ n.enableDraggable ? (C(), E("col", Gy)) : H("", !0),
12657
+ n.selectable ? (C(), E("col", Hy)) : H("", !0),
12642
12658
  (C(!0), E(We, null, kt(a.visibleColumns, (h, p) => (C(), E("col", {
12643
- class: Ve({ "first-column": p === 0, "last-column": p === a.visibleColumns.length - 1, ["column-" + p]: !0, [h.type]: !0, ["column-" + h.name]: !0 })
12659
+ class: ze({ "first-column": p === 0, "last-column": p === a.visibleColumns.length - 1, ["column-" + p]: !0, [h.type]: !0, ["column-" + h.name]: !0 })
12644
12660
  }, null, 2))), 256))
12645
12661
  ]),
12646
- z("thead", Hy, [
12647
- n.title ? (C(), E("tr", qy, [
12662
+ z("thead", qy, [
12663
+ n.title ? (C(), E("tr", Xy, [
12648
12664
  n.title ? (C(), ce(i, {
12649
12665
  key: 0,
12650
12666
  colspan: a.visibleColumns.length,
@@ -12659,7 +12675,7 @@ function lb(e, t, n, a, r, o) {
12659
12675
  _: 3
12660
12676
  }, 8, ["colspan"])) : H("", !0)
12661
12677
  ])) : H("", !0),
12662
- z("tr", Xy, [
12678
+ z("tr", Ky, [
12663
12679
  n.enableDraggable ? (C(), ce(i, {
12664
12680
  key: 0,
12665
12681
  class: "vi-select-cell",
@@ -12692,14 +12708,14 @@ function lb(e, t, n, a, r, o) {
12692
12708
  _: 2
12693
12709
  }, 1032, ["column", "align", "sortable-state", "onSort"]))), 128))
12694
12710
  ]),
12695
- a.isDataLoading ? (C(), E("tr", Ky, [
12711
+ a.isDataLoading ? (C(), E("tr", Qy, [
12696
12712
  B(i, {
12697
12713
  colspan: a.totalColumns,
12698
12714
  class: "vi-loading-cell"
12699
12715
  }, {
12700
12716
  default: Vt(() => [
12701
12717
  oe(e.$slots, "loading", {}, () => [
12702
- a.settings.defaultSlots.loading ? (C(), ce(va(a.settings.defaultSlots.loading), { key: 0 })) : (C(), E("div", Qy, [...t[3] || (t[3] = [
12718
+ a.settings.defaultSlots.loading ? (C(), ce(va(a.settings.defaultSlots.loading), { key: 0 })) : (C(), E("div", Jy, [...t[3] || (t[3] = [
12703
12719
  z("div", { class: "loading-bar" }, null, -1)
12704
12720
  ])]))
12705
12721
  ])
@@ -12708,16 +12724,16 @@ function lb(e, t, n, a, r, o) {
12708
12724
  }, 8, ["colspan"])
12709
12725
  ])) : H("", !0)
12710
12726
  ]),
12711
- !a.currentVisibleRows.length && !a.isDataLoading ? (C(), E("tbody", Jy, [
12712
- z("tr", Zy, [
12727
+ !a.currentVisibleRows.length && !a.isDataLoading ? (C(), E("tbody", Zy, [
12728
+ z("tr", eb, [
12713
12729
  z("td", {
12714
12730
  class: "vi-body-cell vi-cell",
12715
12731
  colspan: a.totalColumns
12716
12732
  }, [
12717
12733
  oe(e.$slots, "empty-data", {}, () => [
12718
- a.settings.defaultSlots.noRows ? (C(), ce(va(a.settings.defaultSlots.noRows), { key: 0 })) : (C(), E("span", tb, be(a.settings.noDataLabel), 1))
12734
+ a.settings.defaultSlots.noRows ? (C(), ce(va(a.settings.defaultSlots.noRows), { key: 0 })) : (C(), E("span", nb, be(a.settings.noDataLabel), 1))
12719
12735
  ])
12720
- ], 8, eb)
12736
+ ], 8, tb)
12721
12737
  ])
12722
12738
  ])) : (C(), ce(d, {
12723
12739
  key: 1,
@@ -12734,7 +12750,7 @@ function lb(e, t, n, a, r, o) {
12734
12750
  default: Vt(() => [
12735
12751
  (C(!0), E(We, null, kt(a.dragList, (h) => (C(), E("tr", {
12736
12752
  key: h[n.rowKey],
12737
- class: Ve([{ clickable: n.clickableRow && !h.isExtraRow, selected: a.isRowSelected(h) }, "vi-body-row vi-table-row"]),
12753
+ class: ze([{ clickable: n.clickableRow && !h.isExtraRow, selected: a.isRowSelected(h) }, "vi-body-row vi-table-row"]),
12738
12754
  onClick: (p) => a.onRowClicked(h)
12739
12755
  }, [
12740
12756
  h.isExtraRow ? (C(), E("td", {
@@ -12743,16 +12759,16 @@ function lb(e, t, n, a, r, o) {
12743
12759
  class: "vi-body-cell vi-cell vi-row-details-cell"
12744
12760
  }, [
12745
12761
  oe(e.$slots, "row-details", { row: h })
12746
- ], 8, ob)) : (C(), E(We, { key: 0 }, [
12747
- n.enableDraggable ? (C(), E("td", ab, [
12762
+ ], 8, ib)) : (C(), E(We, { key: 0 }, [
12763
+ n.enableDraggable ? (C(), E("td", rb, [
12748
12764
  B(c, {
12749
12765
  icon: ["fa", "arrows-up-down-left-right"],
12750
12766
  class: "drag-handle"
12751
12767
  })
12752
12768
  ])) : H("", !0),
12753
- n.selectable ? (C(), E("td", rb, [
12769
+ n.selectable ? (C(), E("td", ob, [
12754
12770
  z("div", {
12755
- class: Ve(["vi-grid-field", a.settings.align])
12771
+ class: ze(["vi-grid-field", a.settings.align])
12756
12772
  }, [
12757
12773
  B(s, {
12758
12774
  row: h,
@@ -12780,8 +12796,8 @@ function lb(e, t, n, a, r, o) {
12780
12796
  }), null, 16, ["row-menu-opened", "class", "field", "field-value", "row-value", "row-key", "onActionClicked", "onCheckboxClicked"])
12781
12797
  ]))), 128))
12782
12798
  ], 64))
12783
- ], 10, nb))), 128)),
12784
- a.settings.disablePagination ? H("", !0) : (C(), E("tr", ib, [
12799
+ ], 10, ab))), 128)),
12800
+ a.settings.disablePagination ? H("", !0) : (C(), E("tr", sb, [
12785
12801
  z("td", {
12786
12802
  colspan: a.totalColumns,
12787
12803
  class: "vi-body-cell vi-cell vi-footer-cell"
@@ -12803,17 +12819,17 @@ function lb(e, t, n, a, r, o) {
12803
12819
  onUpdate: a.onPaginationChange
12804
12820
  }, null, 8, ["rows-per-page", "current-page", "total-rows", "compact", "rows-per-page-options", "onUpdate"])
12805
12821
  ])
12806
- ], 8, sb)
12822
+ ], 8, lb)
12807
12823
  ]))
12808
12824
  ]),
12809
12825
  _: 3
12810
12826
  }, 8, ["modelValue", "item-key", "onStart", "onChange"]))
12811
- ], 2)
12827
+ ], 10, $y)
12812
12828
  ], 2),
12813
12829
  oe(e.$slots, "bottom")
12814
12830
  ]);
12815
12831
  }
12816
- const cb = /* @__PURE__ */ Ee(Wy, [["render", lb]]), el = {
12832
+ const ub = /* @__PURE__ */ Ee(Wy, [["render", cb]]), el = {
12817
12833
  format: {
12818
12834
  date: "yyyy-MM-dd",
12819
12835
  dateTime: "yyyy-MM-dd HH:mm:ss",
@@ -12821,7 +12837,7 @@ const cb = /* @__PURE__ */ Ee(Wy, [["render", lb]]), el = {
12821
12837
  },
12822
12838
  mode: "dateTime"
12823
12839
  };
12824
- const ub = {
12840
+ const fb = {
12825
12841
  name: "ViPagination",
12826
12842
  components: { FontAwesomeIcon: Xt },
12827
12843
  // inject: ['ViPaginationSettings'],
@@ -12924,14 +12940,14 @@ const ub = {
12924
12940
  this.$emit("update:rowsPerPage", parseInt(t)), this.paginationChange({ rowsPerPage: t, currentPage: 1 });
12925
12941
  }
12926
12942
  }
12927
- }, fb = { class: "vi-pagination" }, db = { class: "vi-rows-per-page" }, mb = ["value"], gb = ["value"], hb = { key: 0 }, pb = { class: "vi-pages-navigator" }, vb = { class: "page-actions" }, yb = {
12943
+ }, db = { class: "vi-pagination" }, mb = { class: "vi-rows-per-page" }, gb = ["value"], hb = ["value"], pb = { key: 0 }, vb = { class: "vi-pages-navigator" }, yb = { class: "page-actions" }, bb = {
12928
12944
  key: 0,
12929
12945
  class: "page-numbers-container"
12930
- }, bb = ["onClick"], wb = { class: "page-actions" };
12931
- function xb(e, t, n, a, r, o) {
12946
+ }, wb = ["onClick"], xb = { class: "page-actions" };
12947
+ function Sb(e, t, n, a, r, o) {
12932
12948
  const i = ie("font-awesome-icon");
12933
- return C(), E("div", fb, [
12934
- z("div", db, [
12949
+ return C(), E("div", db, [
12950
+ z("div", mb, [
12935
12951
  oe(e.$slots, "rows-per-page", {
12936
12952
  rowsPerPage: o.rowsOnPage,
12937
12953
  rowsPerPageUpdate: o.rowsPerPageChange
@@ -12944,8 +12960,8 @@ function xb(e, t, n, a, r, o) {
12944
12960
  (C(!0), E(We, null, kt(n.rowsPerPageOptions, (s) => (C(), E("option", {
12945
12961
  key: s.value,
12946
12962
  value: s.value
12947
- }, be(s.label), 9, gb))), 128))
12948
- ], 40, mb)
12963
+ }, be(s.label), 9, hb))), 128))
12964
+ ], 40, gb)
12949
12965
  ])
12950
12966
  ]),
12951
12967
  oe(e.$slots, "visible-rows-info", {
@@ -12953,11 +12969,11 @@ function xb(e, t, n, a, r, o) {
12953
12969
  firstVisibleRow: o.firstVisibleRow,
12954
12970
  lastVisibleRow: o.lastVisibleRow
12955
12971
  }, () => [
12956
- n.totalRows > 0 ? (C(), E("div", hb, " Showing " + be(o.firstVisibleRow) + " - " + be(o.lastVisibleRow) + " of " + be(n.totalRows), 1)) : H("", !0)
12972
+ n.totalRows > 0 ? (C(), E("div", pb, " Showing " + be(o.firstVisibleRow) + " - " + be(o.lastVisibleRow) + " of " + be(n.totalRows), 1)) : H("", !0)
12957
12973
  ]),
12958
- z("div", pb, [
12974
+ z("div", vb, [
12959
12975
  oe(e.$slots, "navigation-prev", {}, () => [
12960
- z("div", vb, [
12976
+ z("div", yb, [
12961
12977
  z("div", {
12962
12978
  onClick: t[1] || (t[1] = (s) => o.pageChange(1)),
12963
12979
  class: "vi-page-nav vi-page-first"
@@ -12975,15 +12991,15 @@ function xb(e, t, n, a, r, o) {
12975
12991
  ])
12976
12992
  ])
12977
12993
  ]),
12978
- o.compactPagination ? H("", !0) : (C(), E("div", yb, [
12994
+ o.compactPagination ? H("", !0) : (C(), E("div", bb, [
12979
12995
  (C(!0), E(We, null, kt(o.visiblePages, (s) => (C(), E("div", {
12980
- class: Ve(["vi-page-number", { active: s === n.currentPage }]),
12996
+ class: ze(["vi-page-number", { active: s === n.currentPage }]),
12981
12997
  key: s,
12982
12998
  onClick: (l) => o.pageChange(s)
12983
- }, be(s), 11, bb))), 128))
12999
+ }, be(s), 11, wb))), 128))
12984
13000
  ])),
12985
13001
  oe(e.$slots, "navigation-next", {}, () => [
12986
- z("div", wb, [
13002
+ z("div", xb, [
12987
13003
  z("div", {
12988
13004
  onClick: t[3] || (t[3] = (s) => o.pageChange(n.currentPage + 1)),
12989
13005
  class: "vi-page-nav vi-page-next"
@@ -13004,55 +13020,55 @@ function xb(e, t, n, a, r, o) {
13004
13020
  ])
13005
13021
  ]);
13006
13022
  }
13007
- const Sb = /* @__PURE__ */ Ee(ub, [["render", xb]]);
13023
+ const _b = /* @__PURE__ */ Ee(fb, [["render", Sb]]);
13008
13024
  /*!
13009
13025
  * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
13010
13026
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
13011
13027
  * Copyright 2024 Fonticons, Inc.
13012
13028
  */
13013
- const _b = {
13029
+ const Cb = {
13014
13030
  prefix: "fas",
13015
13031
  iconName: "chevron-up",
13016
13032
  icon: [512, 512, [], "f077", "M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"]
13017
- }, Cb = {
13033
+ }, kb = {
13018
13034
  prefix: "fas",
13019
13035
  iconName: "angle-right",
13020
13036
  icon: [320, 512, [8250], "f105", "M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"]
13021
- }, kb = {
13037
+ }, Ob = {
13022
13038
  prefix: "fas",
13023
13039
  iconName: "angles-right",
13024
13040
  icon: [512, 512, [187, "angle-double-right"], "f101", "M470.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L402.7 256 265.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160zm-352 160l160-160c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L210.7 256 73.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0z"]
13025
- }, Ob = {
13041
+ }, Pb = {
13026
13042
  prefix: "fas",
13027
- iconName: "ellipsis",
13028
- icon: [448, 512, ["ellipsis-h"], "f141", "M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z"]
13029
- }, Pb = Ob, Eb = {
13043
+ iconName: "ellipsis-vertical",
13044
+ icon: [128, 512, ["ellipsis-v"], "f142", "M64 360a56 56 0 1 0 0 112 56 56 0 1 0 0-112zm0-160a56 56 0 1 0 0 112 56 56 0 1 0 0-112zM120 96A56 56 0 1 0 8 96a56 56 0 1 0 112 0z"]
13045
+ }, Eb = Pb, Ab = {
13030
13046
  prefix: "fas",
13031
13047
  iconName: "chevron-down",
13032
13048
  icon: [512, 512, [], "f078", "M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]
13033
- }, Ab = {
13049
+ }, Tb = {
13034
13050
  prefix: "fas",
13035
13051
  iconName: "arrows-up-down-left-right",
13036
13052
  icon: [512, 512, ["arrows"], "f047", "M278.6 9.4c-12.5-12.5-32.8-12.5-45.3 0l-64 64c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l9.4-9.4L224 224l-114.7 0 9.4-9.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-64 64c-12.5 12.5-12.5 32.8 0 45.3l64 64c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-9.4-9.4L224 288l0 114.7-9.4-9.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l64 64c12.5 12.5 32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-9.4 9.4L288 288l114.7 0-9.4 9.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3l-64-64c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l9.4 9.4L288 224l0-114.7 9.4 9.4c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-64-64z"]
13037
- }, Tb = {
13053
+ }, Db = {
13038
13054
  prefix: "fas",
13039
13055
  iconName: "angles-left",
13040
13056
  icon: [512, 512, [171, "angle-double-left"], "f100", "M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160zm352-160l-160 160c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L301.3 256 438.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0z"]
13041
- }, Db = {
13057
+ }, Nb = {
13042
13058
  prefix: "fas",
13043
13059
  iconName: "angle-left",
13044
13060
  icon: [320, 512, [8249], "f104", "M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"]
13045
- }, Nb = {
13061
+ }, Ib = {
13046
13062
  install(e, t = {}, n = {}) {
13047
- if (Hc.add(Cb, Db, kb, Tb), n)
13063
+ if (Hc.add(kb, Nb, Ob, Db), n)
13048
13064
  for (const [a, r] of Object.entries(n))
13049
13065
  document.documentElement.style.setProperty(`--vi-pagination-${a}`, r);
13050
- e.component("FontAwesomeIcon", Xt), e.component("ViPagination", Sb);
13066
+ e.component("FontAwesomeIcon", Xt), e.component("ViPagination", _b);
13051
13067
  }
13052
- }, Mb = {
13068
+ }, Lb = {
13053
13069
  install(e, t) {
13054
13070
  const { fieldComponents: n, dateFormats: a, dateMode: r, style: o, toastify: i, tooltipSettings: s, ...l } = t;
13055
- if (Hc.add(Eb, _b, Pb, Ab), e.use(ih, {
13071
+ if (Hc.add(Ab, Cb, Eb, Tb), e.use(ih, {
13056
13072
  style: {},
13057
13073
  toastify: {
13058
13074
  autoClose: 2e3,
@@ -13074,11 +13090,11 @@ const _b = {
13074
13090
  }), o)
13075
13091
  for (const [c, u] of Object.entries(o))
13076
13092
  document.documentElement.style.setProperty(`--vi-grid-${c}`, u);
13077
- e.use(Nb, {}, o), e.component("FontAwesomeIcon", Xt), yi.value = l, n && Object.keys(n).forEach((c) => {
13093
+ e.use(Ib, {}, o), e.component("FontAwesomeIcon", Xt), yi.value = l, n && Object.keys(n).forEach((c) => {
13078
13094
  e.component(`ViGrid${c}`, n[c]);
13079
- }), e.component("ViGridBuilder", cb);
13095
+ }), e.component("ViGridBuilder", ub);
13080
13096
  }
13081
13097
  };
13082
13098
  export {
13083
- Mb as default
13099
+ Lb as default
13084
13100
  };