v-sistec-features 1.18.0-beta.3 → 1.18.0-beta.4
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/core.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/v-sistec-features.css +1 -1
- package/dist/vDataTable.d.ts +1 -0
- package/dist/vDataTable.js +121 -119
- package/package.json +1 -1
- package/src/DatatableVue/components/VDataTable.vue +13 -9
- package/src/DatatableVue/types/v-data-table.ts +2 -1
package/dist/core.d.ts
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
* Copyright 2018-2025 The Tabler Authors
|
|
9
9
|
* Copyright 2018-2025 codecalm.net Paweł Kuna
|
|
10
10
|
* Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE)
|
|
11
|
-
*/[data-bs-theme-base=slate]{--tblr-gray-50:#f8fafc;--tblr-gray-100:#f1f5f9;--tblr-gray-200:#e2e8f0;--tblr-gray-300:#cbd5e1;--tblr-gray-400:#94a3b8;--tblr-gray-500:#64748b;--tblr-gray-600:#475569;--tblr-gray-700:#334155;--tblr-gray-800:#1e293b;--tblr-gray-900:#0f172a;--tblr-gray-950:#020617}[data-bs-theme-base=gray]{--tblr-gray-50:#f9fafb;--tblr-gray-100:#f3f4f6;--tblr-gray-200:#e5e7eb;--tblr-gray-300:#d1d5db;--tblr-gray-400:#9ca3af;--tblr-gray-500:#6b7280;--tblr-gray-600:#4b5563;--tblr-gray-700:#374151;--tblr-gray-800:#1f2937;--tblr-gray-900:#111827;--tblr-gray-950:#030712}[data-bs-theme-base=zinc]{--tblr-gray-50:#fafafa;--tblr-gray-100:#f4f4f5;--tblr-gray-200:#e4e4e7;--tblr-gray-300:#d4d4d8;--tblr-gray-400:#a1a1aa;--tblr-gray-500:#71717a;--tblr-gray-600:#52525b;--tblr-gray-700:#3f3f46;--tblr-gray-800:#27272a;--tblr-gray-900:#18181b;--tblr-gray-950:#09090b}[data-bs-theme-base=neutral]{--tblr-gray-50:#fafafa;--tblr-gray-100:#f5f5f5;--tblr-gray-200:#e5e5e5;--tblr-gray-300:#d4d4d4;--tblr-gray-400:#a3a3a3;--tblr-gray-500:#737373;--tblr-gray-600:#525252;--tblr-gray-700:#404040;--tblr-gray-800:#262626;--tblr-gray-900:#171717;--tblr-gray-950:#0a0a0a}[data-bs-theme-base=stone]{--tblr-gray-50:#fafaf9;--tblr-gray-100:#f5f5f4;--tblr-gray-200:#e7e5e4;--tblr-gray-300:#d6d3d1;--tblr-gray-400:#a8a29e;--tblr-gray-500:#78716c;--tblr-gray-600:#57534e;--tblr-gray-700:#44403c;--tblr-gray-800:#292524;--tblr-gray-900:#1c1917;--tblr-gray-950:#0c0a09}[data-bs-theme-base=pink]{--tblr-gray-50:#fdf2f8;--tblr-gray-100:#fce7f3;--tblr-gray-200:#fbcfe8;--tblr-gray-300:#f9a8d4;--tblr-gray-400:#f472b6;--tblr-gray-500:#ec4899;--tblr-gray-600:#db2777;--tblr-gray-700:#be185d;--tblr-gray-800:#9d174d;--tblr-gray-900:#831843;--tblr-gray-950:#500724}[data-bs-theme-primary=blue]{--tblr-primary:#066fd1;--tblr-primary-rgb:6,111,209}[data-bs-theme-primary=azure]{--tblr-primary:#4299e1;--tblr-primary-rgb:66,153,225}[data-bs-theme-primary=indigo]{--tblr-primary:#4263eb;--tblr-primary-rgb:66,99,235}[data-bs-theme-primary=purple]{--tblr-primary:#ae3ec9;--tblr-primary-rgb:174,62,201}[data-bs-theme-primary=pink]{--tblr-primary:#d6336c;--tblr-primary-rgb:214,51,108}[data-bs-theme-primary=red]{--tblr-primary:#d63939;--tblr-primary-rgb:214,57,57}[data-bs-theme-primary=orange]{--tblr-primary:#f76707;--tblr-primary-rgb:247,103,7}[data-bs-theme-primary=yellow]{--tblr-primary:#f59f00;--tblr-primary-rgb:245,159,0}[data-bs-theme-primary=lime]{--tblr-primary:#74b816;--tblr-primary-rgb:116,184,22}[data-bs-theme-primary=green]{--tblr-primary:#2fb344;--tblr-primary-rgb:47,179,68}[data-bs-theme-primary=teal]{--tblr-primary:#0ca678;--tblr-primary-rgb:12,166,120}[data-bs-theme-primary=cyan]{--tblr-primary:#17a2b8;--tblr-primary-rgb:23,162,184}[data-bs-theme-radius="0"]{--tblr-border-radius-scale:0}[data-bs-theme-radius="0.5"]{--tblr-border-radius-scale:.5}[data-bs-theme-radius="1"]{--tblr-border-radius-scale:1}[data-bs-theme-radius="1.5"]{--tblr-border-radius-scale:1.5}[data-bs-theme-radius="2"]{--tblr-border-radius-scale:2}[data-bs-theme-primary=inverted]{--tblr-primary:var(--tblr-gray-800);--tblr-primary-fg:var(--tblr-light);--tblr-primary-rgb:31,41,55}[data-bs-theme-primary=inverted] [data-bs-theme=dark],[data-bs-theme-primary=inverted][data-bs-theme=dark]{--tblr-primary:#f9fafb;--tblr-primary-fg:var(--tblr-dark);--tblr-primary-rgb:249,250,251}[data-bs-theme-font=monospace]{--tblr-body-font-family:var(--tblr-font-monospace);--tblr-body-font-size:80%}[data-bs-theme-font=sans-serif]{--tblr-body-font-family:var(--tblr-font-sans-serif)}[data-bs-theme-font=serif]{--tblr-body-font-family:var(--tblr-font-serif)}[data-bs-theme-font=comic]{--tblr-body-font-family:var(--tblr-font-comic)}:root{--color-error-inputs: red}[data-bs-theme=dark]{--color-error-inputs: oklch(.666 .179 58.318)}.style-custom-v-required-default{display:flex!important;justify-content:center!important;flex-direction:column!important;gap:2px}.style-custom-v-required-error .v-required-span{color:var(--color-error-inputs)!important;white-space:pre-wrap}.multiselect__tags{background-color:var(--cor-bg-inputs);border:var(--border-inputs);border-radius:5px!important;font-size:.875rem;line-height:1.4285714286}.multiselect__placeholder{color:var(--color-text-multiselect)!important}.style-custom-v-required-error input,.style-custom-v-required-error select,.style-custom-v-required-error textarea{border:2px solid var(--color-error-inputs)!important;color:var(--color-error-inputs)!important}.style-custom-v-required-error .multiselect__tags{border:2px solid var(--color-error-inputs)!important}.style-custom-v-required-error .multiselect__input{border:none!important}.style-custom-v-required-error .multiselect__placeholder{color:var(--color-error-inputs)!important}.style-custom-v-required-error .image-drop-zone{border-color:var(--color-error-inputs)!important}.style-custom-v-required-error .quillWrapper,.style-custom-v-required-error .v-bentri-editor{border:2px solid var(--color-error-inputs)!important}.style-custom-v-required-error .v-bentri-editor .upload-placeholder{border:2px dashed var(--color-error-inputs)!important;color:var(--color-error-inputs)!important}.style-custom-v-required-error .v-bentri-editor p.is-empty:before{color:var(--color-error-inputs)!important}.style-custom-v-required-error input::placeholder{color:var(--color-error-inputs)!important}.Vue-Toastification__container{z-index:9999;position:fixed;padding:4px;width:600px;box-sizing:border-box;display:flex;min-height:100%;color:#fff;flex-direction:column;pointer-events:none}@media only screen and (min-width:600px){.Vue-Toastification__container.top-left,.Vue-Toastification__container.top-right,.Vue-Toastification__container.top-center{top:1em}.Vue-Toastification__container.bottom-left,.Vue-Toastification__container.bottom-right,.Vue-Toastification__container.bottom-center{bottom:1em;flex-direction:column-reverse}.Vue-Toastification__container.top-left,.Vue-Toastification__container.bottom-left{left:1em}.Vue-Toastification__container.top-left .Vue-Toastification__toast,.Vue-Toastification__container.bottom-left .Vue-Toastification__toast{margin-right:auto}@supports not (-moz-appearance: none){.Vue-Toastification__container.top-left .Vue-Toastification__toast--rtl,.Vue-Toastification__container.bottom-left .Vue-Toastification__toast--rtl{margin-right:unset;margin-left:auto}}.Vue-Toastification__container.top-right,.Vue-Toastification__container.bottom-right{right:1em}.Vue-Toastification__container.top-right .Vue-Toastification__toast,.Vue-Toastification__container.bottom-right .Vue-Toastification__toast{margin-left:auto}@supports not (-moz-appearance: none){.Vue-Toastification__container.top-right .Vue-Toastification__toast--rtl,.Vue-Toastification__container.bottom-right .Vue-Toastification__toast--rtl{margin-left:unset;margin-right:auto}}.Vue-Toastification__container.top-center,.Vue-Toastification__container.bottom-center{left:50%;margin-left:-300px}.Vue-Toastification__container.top-center .Vue-Toastification__toast,.Vue-Toastification__container.bottom-center .Vue-Toastification__toast{margin-left:auto;margin-right:auto}}@media only screen and (max-width:600px){.Vue-Toastification__container{width:100vw;padding:0;left:0;margin:0}.Vue-Toastification__container .Vue-Toastification__toast{width:100%}.Vue-Toastification__container.top-left,.Vue-Toastification__container.top-right,.Vue-Toastification__container.top-center{top:0}.Vue-Toastification__container.bottom-left,.Vue-Toastification__container.bottom-right,.Vue-Toastification__container.bottom-center{bottom:0;flex-direction:column-reverse}}.Vue-Toastification__toast{display:inline-flex;position:relative;max-height:800px;min-height:64px;box-sizing:border-box;margin-bottom:1rem;padding:22px 24px;border-radius:8px;box-shadow:0 1px 10px #0000001a,0 2px 15px #0000000d;justify-content:space-between;font-family:Lato,Helvetica,Roboto,Arial,sans-serif;max-width:600px;min-width:326px;pointer-events:auto;overflow:hidden;transform:translateZ(0);direction:ltr}.Vue-Toastification__toast--rtl{direction:rtl}.Vue-Toastification__toast--default{background-color:#1976d2;color:#fff}.Vue-Toastification__toast--info{background-color:#2196f3;color:#fff}.Vue-Toastification__toast--success{background-color:#4caf50;color:#fff}.Vue-Toastification__toast--error{background-color:#ff5252;color:#fff}.Vue-Toastification__toast--warning{background-color:#ffc107;color:#fff}@media only screen and (max-width:600px){.Vue-Toastification__toast{border-radius:0;margin-bottom:.5rem}}.Vue-Toastification__toast-body{flex:1;line-height:24px;font-size:16px;word-break:break-word;white-space:pre-wrap}.Vue-Toastification__toast-component-body{flex:1}.Vue-Toastification__toast.disable-transition{animation:none!important}.Vue-Toastification__close-button{font-weight:700;font-size:24px;line-height:24px;background:transparent;outline:none;border:none;padding:0 0 0 10px;cursor:pointer;transition:.3s ease;align-items:center;color:#fff;opacity:.3;transition:visibility 0s,opacity .2s linear}.Vue-Toastification__close-button:hover,.Vue-Toastification__close-button:focus{opacity:1}.Vue-Toastification__toast:not(:hover) .Vue-Toastification__close-button.show-on-hover{opacity:0}.Vue-Toastification__toast--rtl .Vue-Toastification__close-button{padding-left:unset;padding-right:10px}@keyframes scale-x-frames{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Vue-Toastification__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:5px;z-index:10000;background-color:#ffffffb3;transform-origin:left;animation:scale-x-frames linear 1 forwards}.Vue-Toastification__toast--rtl .Vue-Toastification__progress-bar{right:0;left:unset;transform-origin:right}.Vue-Toastification__icon{margin:auto 18px auto 0;background:transparent;outline:none;border:none;padding:0;transition:.3s ease;align-items:center;width:20px;height:100%}.Vue-Toastification__toast--rtl .Vue-Toastification__icon{margin:auto 0 auto 18px}@keyframes bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes bounceOutRight{40%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(1000px,0,0)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes bounceOutDown{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Vue-Toastification__bounce-enter-active.top-left,.Vue-Toastification__bounce-enter-active.bottom-left{animation-name:bounceInLeft}.Vue-Toastification__bounce-enter-active.top-right,.Vue-Toastification__bounce-enter-active.bottom-right{animation-name:bounceInRight}.Vue-Toastification__bounce-enter-active.top-center{animation-name:bounceInDown}.Vue-Toastification__bounce-enter-active.bottom-center{animation-name:bounceInUp}.Vue-Toastification__bounce-leave-active:not(.disable-transition).top-left,.Vue-Toastification__bounce-leave-active:not(.disable-transition).bottom-left{animation-name:bounceOutLeft}.Vue-Toastification__bounce-leave-active:not(.disable-transition).top-right,.Vue-Toastification__bounce-leave-active:not(.disable-transition).bottom-right{animation-name:bounceOutRight}.Vue-Toastification__bounce-leave-active:not(.disable-transition).top-center{animation-name:bounceOutUp}.Vue-Toastification__bounce-leave-active:not(.disable-transition).bottom-center{animation-name:bounceOutDown}.Vue-Toastification__bounce-leave-active,.Vue-Toastification__bounce-enter-active{animation-duration:.75s;animation-fill-mode:both}.Vue-Toastification__bounce-move{transition-timing-function:ease-in-out;transition-property:all;transition-duration:.4s}@keyframes fadeOutTop{0%{transform:translateY(0);opacity:1}to{transform:translateY(-50px);opacity:0}}@keyframes fadeOutLeft{0%{transform:translate(0);opacity:1}to{transform:translate(-50px);opacity:0}}@keyframes fadeOutBottom{0%{transform:translateY(0);opacity:1}to{transform:translateY(50px);opacity:0}}@keyframes fadeOutRight{0%{transform:translate(0);opacity:1}to{transform:translate(50px);opacity:0}}@keyframes fadeInLeft{0%{transform:translate(-50px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes fadeInRight{0%{transform:translate(50px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes fadeInTop{0%{transform:translateY(-50px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes fadeInBottom{0%{transform:translateY(50px);opacity:0}to{transform:translateY(0);opacity:1}}.Vue-Toastification__fade-enter-active.top-left,.Vue-Toastification__fade-enter-active.bottom-left{animation-name:fadeInLeft}.Vue-Toastification__fade-enter-active.top-right,.Vue-Toastification__fade-enter-active.bottom-right{animation-name:fadeInRight}.Vue-Toastification__fade-enter-active.top-center{animation-name:fadeInTop}.Vue-Toastification__fade-enter-active.bottom-center{animation-name:fadeInBottom}.Vue-Toastification__fade-leave-active:not(.disable-transition).top-left,.Vue-Toastification__fade-leave-active:not(.disable-transition).bottom-left{animation-name:fadeOutLeft}.Vue-Toastification__fade-leave-active:not(.disable-transition).top-right,.Vue-Toastification__fade-leave-active:not(.disable-transition).bottom-right{animation-name:fadeOutRight}.Vue-Toastification__fade-leave-active:not(.disable-transition).top-center{animation-name:fadeOutTop}.Vue-Toastification__fade-leave-active:not(.disable-transition).bottom-center{animation-name:fadeOutBottom}.Vue-Toastification__fade-leave-active,.Vue-Toastification__fade-enter-active{animation-duration:.75s;animation-fill-mode:both}.Vue-Toastification__fade-move{transition-timing-function:ease-in-out;transition-property:all;transition-duration:.4s}@keyframes slideInBlurredLeft{0%{transform:translate(-1000px) scaleX(2.5) scaleY(.2);transform-origin:100% 50%;filter:blur(40px);opacity:0}to{transform:translate(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideInBlurredTop{0%{transform:translateY(-1000px) scaleY(2.5) scaleX(.2);transform-origin:50% 0%;filter:blur(240px);opacity:0}to{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideInBlurredRight{0%{transform:translate(1000px) scaleX(2.5) scaleY(.2);transform-origin:0% 50%;filter:blur(40px);opacity:0}to{transform:translate(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideInBlurredBottom{0%{transform:translateY(1000px) scaleY(2.5) scaleX(.2);transform-origin:50% 100%;filter:blur(240px);opacity:0}to{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideOutBlurredTop{0%{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 0%;filter:blur(0);opacity:1}to{transform:translateY(-1000px) scaleY(2) scaleX(.2);transform-origin:50% 0%;filter:blur(240px);opacity:0}}@keyframes slideOutBlurredBottom{0%{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}to{transform:translateY(1000px) scaleY(2) scaleX(.2);transform-origin:50% 100%;filter:blur(240px);opacity:0}}@keyframes slideOutBlurredLeft{0%{transform:translate(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}to{transform:translate(-1000px) scaleX(2) scaleY(.2);transform-origin:100% 50%;filter:blur(40px);opacity:0}}@keyframes slideOutBlurredRight{0%{transform:translate(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}to{transform:translate(1000px) scaleX(2) scaleY(.2);transform-origin:0% 50%;filter:blur(40px);opacity:0}}.Vue-Toastification__slideBlurred-enter-active.top-left,.Vue-Toastification__slideBlurred-enter-active.bottom-left{animation-name:slideInBlurredLeft}.Vue-Toastification__slideBlurred-enter-active.top-right,.Vue-Toastification__slideBlurred-enter-active.bottom-right{animation-name:slideInBlurredRight}.Vue-Toastification__slideBlurred-enter-active.top-center{animation-name:slideInBlurredTop}.Vue-Toastification__slideBlurred-enter-active.bottom-center{animation-name:slideInBlurredBottom}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).top-left,.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).bottom-left{animation-name:slideOutBlurredLeft}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).top-right,.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).bottom-right{animation-name:slideOutBlurredRight}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).top-center{animation-name:slideOutBlurredTop}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).bottom-center{animation-name:slideOutBlurredBottom}.Vue-Toastification__slideBlurred-leave-active,.Vue-Toastification__slideBlurred-enter-active{animation-duration:.75s;animation-fill-mode:both}.Vue-Toastification__slideBlurred-move{transition-timing-function:ease-in-out;transition-property:all;transition-duration:.4s}.rotate-180[data-v-785126fa] svg{transform:rotate(180deg)}.page-select[data-v-785126fa]{background-color:var(--tblr-primary)!important;color:#fff!important;border:none!important}.page-estilo[data-v-785126fa]{border:none;--cor-escurecida: color-mix(in srgb, var(--tblr-primary), #000 25%);background:transparent;padding:1px 10px;border-radius:7px;margin:0!important;transition:color .15s ease-in-out,background-color .15s ease-in-out}.page-estilo[data-v-785126fa]:hover{background:var(--cor-escurecida);color:#fff}.btn[data-v-785126fa]{padding:0!important;margin:0!important;background:transparent!important;border:none!important;box-shadow:none!important}[data-v-785126fa] .btn-estilo svg{padding:0!important;margin:0!important}[data-v-785126fa] .btn-estilo:hover svg{stroke:var(--tblr-primary)}.icon-tabler[data-v-785126fa]{margin:0!important;padding:0!important}.t-container{width:100%;display:flex;justify-content:space-between;align-items:center;color:#fff}.scroll-finish-style[data-v-1456ebf2]{color:#6c757d;display:block;text-align:center;margin-top:1rem;margin-bottom:1rem}.inputClose[data-v-ed591287]{color:var(--tblr-icon-color);z-index:10;position:absolute;top:50%;right:0;transform:translateY(-50%);font-size:1.2em;min-width:2.5rem;display:flex;justify-content:center}.inputClose[data-v-ed591287]:hover{cursor:pointer}.selected[data-v-ed591287]:hover{background-color:#b02a2a!important;color:#fff!important}.placeholder-img[data-v-3b019685]{width:40px;height:40px;border-radius:4px}.erro-custom-container[data-v-3b019685]{display:inline-block;padding:.2em .6em;border-radius:4px;background-color:#fff;font-weight:700;text-transform:uppercase}.erro-custom-text[data-v-3b019685]{font-size:.8em;text-transform:uppercase;font-weight:700}.table-responsive[data-v-2f28fa64]{overflow-x:auto}.state-feedback[data-v-2f28fa64]{padding:1rem;text-align:center}.state-feedback.error[data-v-2f28fa64]{color:red}.pagination-controls[data-v-2f28fa64]{margin-top:1rem;display:flex;justify-content:space-between}.container-img[data-v-2f28fa64]{aspect-ratio:1;display:flex;justify-content:center;overflow:hidden;position:relative;max-width:40px;min-width:40px}.container-img .img-tamanho-cover[data-v-2f28fa64]{position:absolute;top:0;width:100%;height:100%;object-fit:cover;z-index:0;opacity:.5;filter:blur(4px)}.container-img .img-tamanho[data-v-2f28fa64]{object-fit:contain;width:100%;height:100%;z-index:2}.container-img.container-img-preview[data-v-2f28fa64]{cursor:pointer}.container-img.container-img-preview[data-v-2f28fa64]:hover{border-style:dashed;border-color:var(--tblr-primary);border-width:2px;transition:border-width .15s ease-in-out}.container-img.container-img-preview:hover .img-tamanho[data-v-2f28fa64]{opacity:.3}.bg-img[data-v-2f28fa64]{background-color:#0000004d;position:absolute;top:0;width:100%;height:100%;z-index:1}.image-preview-container[data-v-2f28fa64]{position:fixed;z-index:9999;background-color:#fff;border-radius:8px;box-shadow:0 4px 12px #0003;padding:5px;pointer-events:none;transition:opacity .2s ease-in-out}.image-preview-container .image-preview-large[data-v-2f28fa64]{display:block;max-width:250px;max-height:250px;border-radius:4px}.form-check-input[data-v-2f28fa64]{border-width:1px!important;border-color:#00000064!important;width:17px;height:17px}[data-bs-theme=dark] .form-check-input[data-v-2f28fa64]{border-color:#ffffff5f!important}.ghost-item[data-v-2f28fa64]{opacity:.5;background:var(--tblr-primary-lt, #e6f0ff);border-radius:8px}.dragging-item[data-v-2f28fa64]{cursor:grabbing;background:var(--tblr-primary);box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;opacity:.5;background-color:var(--tblr-primary-bg-subtle);filter:grayscale(0) invert(0)}.header-draggable[data-v-2f28fa64]{cursor:grab}.column-move-move[data-v-2f28fa64]{transition:transform .4s ease}.column-move-enter-active[data-v-2f28fa64],.column-move-leave-active[data-v-2f28fa64]{transition:all .4s ease}.header-ordering[data-v-2f28fa64]{display:flex;justify-content:space-between}.expand-item-expand-enter-active[data-v-2f28fa64]{transition:all .5s ease}.expand-item-expand-enter-from[data-v-2f28fa64]{opacity:0;transform:scaleY(.3) translateY(-30px)}.expand-item-expand-enter-to[data-v-2f28fa64]{opacity:1;transform:scaleY(1);transform:translateY(0)}.expand-item-expand-leave-active[data-v-2f28fa64]{transition:all .4s ease}.expand-item-expand-leave-to[data-v-2f28fa64]{opacity:0;transform:scaleY(.3) translateY(-30px)}.expand-item-fade-enter-active[data-v-2f28fa64],.expand-item-fade-leave-active[data-v-2f28fa64]{transition:opacity .5s ease}.expand-item-fade-enter-from[data-v-2f28fa64],.expand-item-fade-leave-to[data-v-2f28fa64]{opacity:0}.btn-clean[data-v-2f28fa64]{display:inline-flex;align-items:center;justify-content:center;padding:4px;border-radius:4px;transition:background-color .2s ease;background:transparent;border:none;outline:none;cursor:pointer}.btn-clean[data-v-2f28fa64]:hover{background-color:#0000000d}.icon-transition-arrow[data-v-2f28fa64]{transition:transform .3s cubic-bezier(.4,0,.2,1),color .2s ease;color:var(--tblr-primary, #206bc4)}.is-expanded .icon-transition-arrow[data-v-2f28fa64]{transform:rotate(90deg)}.icon-transition-plus[data-v-2f28fa64]{transition:transform .3s cubic-bezier(.4,0,.2,1),color .2s ease;color:var(--tblr-primary, #206bc4)}.icon-transition-plus .vertical-line[data-v-2f28fa64]{transform-origin:center;transition:transform .3s cubic-bezier(.4,0,.2,1),opacity .2s ease}.is-expanded .icon-transition-plus[data-v-2f28fa64]{transform:rotate(180deg)}.is-expanded .icon-transition-plus .vertical-line[data-v-2f28fa64]{transform:scaleY(0);opacity:0}
|
|
11
|
+
*/[data-bs-theme-base=slate]{--tblr-gray-50:#f8fafc;--tblr-gray-100:#f1f5f9;--tblr-gray-200:#e2e8f0;--tblr-gray-300:#cbd5e1;--tblr-gray-400:#94a3b8;--tblr-gray-500:#64748b;--tblr-gray-600:#475569;--tblr-gray-700:#334155;--tblr-gray-800:#1e293b;--tblr-gray-900:#0f172a;--tblr-gray-950:#020617}[data-bs-theme-base=gray]{--tblr-gray-50:#f9fafb;--tblr-gray-100:#f3f4f6;--tblr-gray-200:#e5e7eb;--tblr-gray-300:#d1d5db;--tblr-gray-400:#9ca3af;--tblr-gray-500:#6b7280;--tblr-gray-600:#4b5563;--tblr-gray-700:#374151;--tblr-gray-800:#1f2937;--tblr-gray-900:#111827;--tblr-gray-950:#030712}[data-bs-theme-base=zinc]{--tblr-gray-50:#fafafa;--tblr-gray-100:#f4f4f5;--tblr-gray-200:#e4e4e7;--tblr-gray-300:#d4d4d8;--tblr-gray-400:#a1a1aa;--tblr-gray-500:#71717a;--tblr-gray-600:#52525b;--tblr-gray-700:#3f3f46;--tblr-gray-800:#27272a;--tblr-gray-900:#18181b;--tblr-gray-950:#09090b}[data-bs-theme-base=neutral]{--tblr-gray-50:#fafafa;--tblr-gray-100:#f5f5f5;--tblr-gray-200:#e5e5e5;--tblr-gray-300:#d4d4d4;--tblr-gray-400:#a3a3a3;--tblr-gray-500:#737373;--tblr-gray-600:#525252;--tblr-gray-700:#404040;--tblr-gray-800:#262626;--tblr-gray-900:#171717;--tblr-gray-950:#0a0a0a}[data-bs-theme-base=stone]{--tblr-gray-50:#fafaf9;--tblr-gray-100:#f5f5f4;--tblr-gray-200:#e7e5e4;--tblr-gray-300:#d6d3d1;--tblr-gray-400:#a8a29e;--tblr-gray-500:#78716c;--tblr-gray-600:#57534e;--tblr-gray-700:#44403c;--tblr-gray-800:#292524;--tblr-gray-900:#1c1917;--tblr-gray-950:#0c0a09}[data-bs-theme-base=pink]{--tblr-gray-50:#fdf2f8;--tblr-gray-100:#fce7f3;--tblr-gray-200:#fbcfe8;--tblr-gray-300:#f9a8d4;--tblr-gray-400:#f472b6;--tblr-gray-500:#ec4899;--tblr-gray-600:#db2777;--tblr-gray-700:#be185d;--tblr-gray-800:#9d174d;--tblr-gray-900:#831843;--tblr-gray-950:#500724}[data-bs-theme-primary=blue]{--tblr-primary:#066fd1;--tblr-primary-rgb:6,111,209}[data-bs-theme-primary=azure]{--tblr-primary:#4299e1;--tblr-primary-rgb:66,153,225}[data-bs-theme-primary=indigo]{--tblr-primary:#4263eb;--tblr-primary-rgb:66,99,235}[data-bs-theme-primary=purple]{--tblr-primary:#ae3ec9;--tblr-primary-rgb:174,62,201}[data-bs-theme-primary=pink]{--tblr-primary:#d6336c;--tblr-primary-rgb:214,51,108}[data-bs-theme-primary=red]{--tblr-primary:#d63939;--tblr-primary-rgb:214,57,57}[data-bs-theme-primary=orange]{--tblr-primary:#f76707;--tblr-primary-rgb:247,103,7}[data-bs-theme-primary=yellow]{--tblr-primary:#f59f00;--tblr-primary-rgb:245,159,0}[data-bs-theme-primary=lime]{--tblr-primary:#74b816;--tblr-primary-rgb:116,184,22}[data-bs-theme-primary=green]{--tblr-primary:#2fb344;--tblr-primary-rgb:47,179,68}[data-bs-theme-primary=teal]{--tblr-primary:#0ca678;--tblr-primary-rgb:12,166,120}[data-bs-theme-primary=cyan]{--tblr-primary:#17a2b8;--tblr-primary-rgb:23,162,184}[data-bs-theme-radius="0"]{--tblr-border-radius-scale:0}[data-bs-theme-radius="0.5"]{--tblr-border-radius-scale:.5}[data-bs-theme-radius="1"]{--tblr-border-radius-scale:1}[data-bs-theme-radius="1.5"]{--tblr-border-radius-scale:1.5}[data-bs-theme-radius="2"]{--tblr-border-radius-scale:2}[data-bs-theme-primary=inverted]{--tblr-primary:var(--tblr-gray-800);--tblr-primary-fg:var(--tblr-light);--tblr-primary-rgb:31,41,55}[data-bs-theme-primary=inverted] [data-bs-theme=dark],[data-bs-theme-primary=inverted][data-bs-theme=dark]{--tblr-primary:#f9fafb;--tblr-primary-fg:var(--tblr-dark);--tblr-primary-rgb:249,250,251}[data-bs-theme-font=monospace]{--tblr-body-font-family:var(--tblr-font-monospace);--tblr-body-font-size:80%}[data-bs-theme-font=sans-serif]{--tblr-body-font-family:var(--tblr-font-sans-serif)}[data-bs-theme-font=serif]{--tblr-body-font-family:var(--tblr-font-serif)}[data-bs-theme-font=comic]{--tblr-body-font-family:var(--tblr-font-comic)}:root{--color-error-inputs: red}[data-bs-theme=dark]{--color-error-inputs: oklch(.666 .179 58.318)}.style-custom-v-required-default{display:flex!important;justify-content:center!important;flex-direction:column!important;gap:2px}.style-custom-v-required-error .v-required-span{color:var(--color-error-inputs)!important;white-space:pre-wrap}.multiselect__tags{background-color:var(--cor-bg-inputs);border:var(--border-inputs);border-radius:5px!important;font-size:.875rem;line-height:1.4285714286}.multiselect__placeholder{color:var(--color-text-multiselect)!important}.style-custom-v-required-error input,.style-custom-v-required-error select,.style-custom-v-required-error textarea{border:2px solid var(--color-error-inputs)!important;color:var(--color-error-inputs)!important}.style-custom-v-required-error .multiselect__tags{border:2px solid var(--color-error-inputs)!important}.style-custom-v-required-error .multiselect__input{border:none!important}.style-custom-v-required-error .multiselect__placeholder{color:var(--color-error-inputs)!important}.style-custom-v-required-error .image-drop-zone{border-color:var(--color-error-inputs)!important}.style-custom-v-required-error .quillWrapper,.style-custom-v-required-error .v-bentri-editor{border:2px solid var(--color-error-inputs)!important}.style-custom-v-required-error .v-bentri-editor .upload-placeholder{border:2px dashed var(--color-error-inputs)!important;color:var(--color-error-inputs)!important}.style-custom-v-required-error .v-bentri-editor p.is-empty:before{color:var(--color-error-inputs)!important}.style-custom-v-required-error input::placeholder{color:var(--color-error-inputs)!important}.Vue-Toastification__container{z-index:9999;position:fixed;padding:4px;width:600px;box-sizing:border-box;display:flex;min-height:100%;color:#fff;flex-direction:column;pointer-events:none}@media only screen and (min-width:600px){.Vue-Toastification__container.top-left,.Vue-Toastification__container.top-right,.Vue-Toastification__container.top-center{top:1em}.Vue-Toastification__container.bottom-left,.Vue-Toastification__container.bottom-right,.Vue-Toastification__container.bottom-center{bottom:1em;flex-direction:column-reverse}.Vue-Toastification__container.top-left,.Vue-Toastification__container.bottom-left{left:1em}.Vue-Toastification__container.top-left .Vue-Toastification__toast,.Vue-Toastification__container.bottom-left .Vue-Toastification__toast{margin-right:auto}@supports not (-moz-appearance: none){.Vue-Toastification__container.top-left .Vue-Toastification__toast--rtl,.Vue-Toastification__container.bottom-left .Vue-Toastification__toast--rtl{margin-right:unset;margin-left:auto}}.Vue-Toastification__container.top-right,.Vue-Toastification__container.bottom-right{right:1em}.Vue-Toastification__container.top-right .Vue-Toastification__toast,.Vue-Toastification__container.bottom-right .Vue-Toastification__toast{margin-left:auto}@supports not (-moz-appearance: none){.Vue-Toastification__container.top-right .Vue-Toastification__toast--rtl,.Vue-Toastification__container.bottom-right .Vue-Toastification__toast--rtl{margin-left:unset;margin-right:auto}}.Vue-Toastification__container.top-center,.Vue-Toastification__container.bottom-center{left:50%;margin-left:-300px}.Vue-Toastification__container.top-center .Vue-Toastification__toast,.Vue-Toastification__container.bottom-center .Vue-Toastification__toast{margin-left:auto;margin-right:auto}}@media only screen and (max-width:600px){.Vue-Toastification__container{width:100vw;padding:0;left:0;margin:0}.Vue-Toastification__container .Vue-Toastification__toast{width:100%}.Vue-Toastification__container.top-left,.Vue-Toastification__container.top-right,.Vue-Toastification__container.top-center{top:0}.Vue-Toastification__container.bottom-left,.Vue-Toastification__container.bottom-right,.Vue-Toastification__container.bottom-center{bottom:0;flex-direction:column-reverse}}.Vue-Toastification__toast{display:inline-flex;position:relative;max-height:800px;min-height:64px;box-sizing:border-box;margin-bottom:1rem;padding:22px 24px;border-radius:8px;box-shadow:0 1px 10px #0000001a,0 2px 15px #0000000d;justify-content:space-between;font-family:Lato,Helvetica,Roboto,Arial,sans-serif;max-width:600px;min-width:326px;pointer-events:auto;overflow:hidden;transform:translateZ(0);direction:ltr}.Vue-Toastification__toast--rtl{direction:rtl}.Vue-Toastification__toast--default{background-color:#1976d2;color:#fff}.Vue-Toastification__toast--info{background-color:#2196f3;color:#fff}.Vue-Toastification__toast--success{background-color:#4caf50;color:#fff}.Vue-Toastification__toast--error{background-color:#ff5252;color:#fff}.Vue-Toastification__toast--warning{background-color:#ffc107;color:#fff}@media only screen and (max-width:600px){.Vue-Toastification__toast{border-radius:0;margin-bottom:.5rem}}.Vue-Toastification__toast-body{flex:1;line-height:24px;font-size:16px;word-break:break-word;white-space:pre-wrap}.Vue-Toastification__toast-component-body{flex:1}.Vue-Toastification__toast.disable-transition{animation:none!important}.Vue-Toastification__close-button{font-weight:700;font-size:24px;line-height:24px;background:transparent;outline:none;border:none;padding:0 0 0 10px;cursor:pointer;transition:.3s ease;align-items:center;color:#fff;opacity:.3;transition:visibility 0s,opacity .2s linear}.Vue-Toastification__close-button:hover,.Vue-Toastification__close-button:focus{opacity:1}.Vue-Toastification__toast:not(:hover) .Vue-Toastification__close-button.show-on-hover{opacity:0}.Vue-Toastification__toast--rtl .Vue-Toastification__close-button{padding-left:unset;padding-right:10px}@keyframes scale-x-frames{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Vue-Toastification__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:5px;z-index:10000;background-color:#ffffffb3;transform-origin:left;animation:scale-x-frames linear 1 forwards}.Vue-Toastification__toast--rtl .Vue-Toastification__progress-bar{right:0;left:unset;transform-origin:right}.Vue-Toastification__icon{margin:auto 18px auto 0;background:transparent;outline:none;border:none;padding:0;transition:.3s ease;align-items:center;width:20px;height:100%}.Vue-Toastification__toast--rtl .Vue-Toastification__icon{margin:auto 0 auto 18px}@keyframes bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes bounceOutRight{40%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(1000px,0,0)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes bounceOutDown{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Vue-Toastification__bounce-enter-active.top-left,.Vue-Toastification__bounce-enter-active.bottom-left{animation-name:bounceInLeft}.Vue-Toastification__bounce-enter-active.top-right,.Vue-Toastification__bounce-enter-active.bottom-right{animation-name:bounceInRight}.Vue-Toastification__bounce-enter-active.top-center{animation-name:bounceInDown}.Vue-Toastification__bounce-enter-active.bottom-center{animation-name:bounceInUp}.Vue-Toastification__bounce-leave-active:not(.disable-transition).top-left,.Vue-Toastification__bounce-leave-active:not(.disable-transition).bottom-left{animation-name:bounceOutLeft}.Vue-Toastification__bounce-leave-active:not(.disable-transition).top-right,.Vue-Toastification__bounce-leave-active:not(.disable-transition).bottom-right{animation-name:bounceOutRight}.Vue-Toastification__bounce-leave-active:not(.disable-transition).top-center{animation-name:bounceOutUp}.Vue-Toastification__bounce-leave-active:not(.disable-transition).bottom-center{animation-name:bounceOutDown}.Vue-Toastification__bounce-leave-active,.Vue-Toastification__bounce-enter-active{animation-duration:.75s;animation-fill-mode:both}.Vue-Toastification__bounce-move{transition-timing-function:ease-in-out;transition-property:all;transition-duration:.4s}@keyframes fadeOutTop{0%{transform:translateY(0);opacity:1}to{transform:translateY(-50px);opacity:0}}@keyframes fadeOutLeft{0%{transform:translate(0);opacity:1}to{transform:translate(-50px);opacity:0}}@keyframes fadeOutBottom{0%{transform:translateY(0);opacity:1}to{transform:translateY(50px);opacity:0}}@keyframes fadeOutRight{0%{transform:translate(0);opacity:1}to{transform:translate(50px);opacity:0}}@keyframes fadeInLeft{0%{transform:translate(-50px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes fadeInRight{0%{transform:translate(50px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes fadeInTop{0%{transform:translateY(-50px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes fadeInBottom{0%{transform:translateY(50px);opacity:0}to{transform:translateY(0);opacity:1}}.Vue-Toastification__fade-enter-active.top-left,.Vue-Toastification__fade-enter-active.bottom-left{animation-name:fadeInLeft}.Vue-Toastification__fade-enter-active.top-right,.Vue-Toastification__fade-enter-active.bottom-right{animation-name:fadeInRight}.Vue-Toastification__fade-enter-active.top-center{animation-name:fadeInTop}.Vue-Toastification__fade-enter-active.bottom-center{animation-name:fadeInBottom}.Vue-Toastification__fade-leave-active:not(.disable-transition).top-left,.Vue-Toastification__fade-leave-active:not(.disable-transition).bottom-left{animation-name:fadeOutLeft}.Vue-Toastification__fade-leave-active:not(.disable-transition).top-right,.Vue-Toastification__fade-leave-active:not(.disable-transition).bottom-right{animation-name:fadeOutRight}.Vue-Toastification__fade-leave-active:not(.disable-transition).top-center{animation-name:fadeOutTop}.Vue-Toastification__fade-leave-active:not(.disable-transition).bottom-center{animation-name:fadeOutBottom}.Vue-Toastification__fade-leave-active,.Vue-Toastification__fade-enter-active{animation-duration:.75s;animation-fill-mode:both}.Vue-Toastification__fade-move{transition-timing-function:ease-in-out;transition-property:all;transition-duration:.4s}@keyframes slideInBlurredLeft{0%{transform:translate(-1000px) scaleX(2.5) scaleY(.2);transform-origin:100% 50%;filter:blur(40px);opacity:0}to{transform:translate(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideInBlurredTop{0%{transform:translateY(-1000px) scaleY(2.5) scaleX(.2);transform-origin:50% 0%;filter:blur(240px);opacity:0}to{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideInBlurredRight{0%{transform:translate(1000px) scaleX(2.5) scaleY(.2);transform-origin:0% 50%;filter:blur(40px);opacity:0}to{transform:translate(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideInBlurredBottom{0%{transform:translateY(1000px) scaleY(2.5) scaleX(.2);transform-origin:50% 100%;filter:blur(240px);opacity:0}to{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideOutBlurredTop{0%{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 0%;filter:blur(0);opacity:1}to{transform:translateY(-1000px) scaleY(2) scaleX(.2);transform-origin:50% 0%;filter:blur(240px);opacity:0}}@keyframes slideOutBlurredBottom{0%{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}to{transform:translateY(1000px) scaleY(2) scaleX(.2);transform-origin:50% 100%;filter:blur(240px);opacity:0}}@keyframes slideOutBlurredLeft{0%{transform:translate(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}to{transform:translate(-1000px) scaleX(2) scaleY(.2);transform-origin:100% 50%;filter:blur(40px);opacity:0}}@keyframes slideOutBlurredRight{0%{transform:translate(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}to{transform:translate(1000px) scaleX(2) scaleY(.2);transform-origin:0% 50%;filter:blur(40px);opacity:0}}.Vue-Toastification__slideBlurred-enter-active.top-left,.Vue-Toastification__slideBlurred-enter-active.bottom-left{animation-name:slideInBlurredLeft}.Vue-Toastification__slideBlurred-enter-active.top-right,.Vue-Toastification__slideBlurred-enter-active.bottom-right{animation-name:slideInBlurredRight}.Vue-Toastification__slideBlurred-enter-active.top-center{animation-name:slideInBlurredTop}.Vue-Toastification__slideBlurred-enter-active.bottom-center{animation-name:slideInBlurredBottom}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).top-left,.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).bottom-left{animation-name:slideOutBlurredLeft}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).top-right,.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).bottom-right{animation-name:slideOutBlurredRight}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).top-center{animation-name:slideOutBlurredTop}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).bottom-center{animation-name:slideOutBlurredBottom}.Vue-Toastification__slideBlurred-leave-active,.Vue-Toastification__slideBlurred-enter-active{animation-duration:.75s;animation-fill-mode:both}.Vue-Toastification__slideBlurred-move{transition-timing-function:ease-in-out;transition-property:all;transition-duration:.4s}.rotate-180[data-v-785126fa] svg{transform:rotate(180deg)}.page-select[data-v-785126fa]{background-color:var(--tblr-primary)!important;color:#fff!important;border:none!important}.page-estilo[data-v-785126fa]{border:none;--cor-escurecida: color-mix(in srgb, var(--tblr-primary), #000 25%);background:transparent;padding:1px 10px;border-radius:7px;margin:0!important;transition:color .15s ease-in-out,background-color .15s ease-in-out}.page-estilo[data-v-785126fa]:hover{background:var(--cor-escurecida);color:#fff}.btn[data-v-785126fa]{padding:0!important;margin:0!important;background:transparent!important;border:none!important;box-shadow:none!important}[data-v-785126fa] .btn-estilo svg{padding:0!important;margin:0!important}[data-v-785126fa] .btn-estilo:hover svg{stroke:var(--tblr-primary)}.icon-tabler[data-v-785126fa]{margin:0!important;padding:0!important}.t-container{width:100%;display:flex;justify-content:space-between;align-items:center;color:#fff}.scroll-finish-style[data-v-1456ebf2]{color:#6c757d;display:block;text-align:center;margin-top:1rem;margin-bottom:1rem}.inputClose[data-v-ed591287]{color:var(--tblr-icon-color);z-index:10;position:absolute;top:50%;right:0;transform:translateY(-50%);font-size:1.2em;min-width:2.5rem;display:flex;justify-content:center}.inputClose[data-v-ed591287]:hover{cursor:pointer}.selected[data-v-ed591287]:hover{background-color:#b02a2a!important;color:#fff!important}.placeholder-img[data-v-3b019685]{width:40px;height:40px;border-radius:4px}.erro-custom-container[data-v-3b019685]{display:inline-block;padding:.2em .6em;border-radius:4px;background-color:#fff;font-weight:700;text-transform:uppercase}.erro-custom-text[data-v-3b019685]{font-size:.8em;text-transform:uppercase;font-weight:700}.table-responsive[data-v-c9860534]{overflow-x:auto}.state-feedback[data-v-c9860534]{padding:1rem;text-align:center}.state-feedback.error[data-v-c9860534]{color:red}.pagination-controls[data-v-c9860534]{margin-top:1rem;display:flex;justify-content:space-between}.container-img[data-v-c9860534]{aspect-ratio:1;display:flex;justify-content:center;overflow:hidden;position:relative;max-width:40px;min-width:40px}.container-img .img-tamanho-cover[data-v-c9860534]{position:absolute;top:0;width:100%;height:100%;object-fit:cover;z-index:0;opacity:.5;filter:blur(4px)}.container-img .img-tamanho[data-v-c9860534]{object-fit:contain;width:100%;height:100%;z-index:2}.container-img.container-img-preview[data-v-c9860534]{cursor:pointer}.container-img.container-img-preview[data-v-c9860534]:hover{border-style:dashed;border-color:var(--tblr-primary);border-width:2px;transition:border-width .15s ease-in-out}.container-img.container-img-preview:hover .img-tamanho[data-v-c9860534]{opacity:.3}.bg-img[data-v-c9860534]{background-color:#0000004d;position:absolute;top:0;width:100%;height:100%;z-index:1}.image-preview-container[data-v-c9860534]{position:fixed;z-index:9999;background-color:#fff;border-radius:8px;box-shadow:0 4px 12px #0003;padding:5px;pointer-events:none;transition:opacity .2s ease-in-out}.image-preview-container .image-preview-large[data-v-c9860534]{display:block;max-width:250px;max-height:250px;border-radius:4px}.form-check-input[data-v-c9860534]{border-width:1px!important;border-color:#00000064!important;width:17px;height:17px}[data-bs-theme=dark] .form-check-input[data-v-c9860534]{border-color:#ffffff5f!important}.ghost-item[data-v-c9860534]{opacity:.5;background:var(--tblr-primary-lt, #e6f0ff);border-radius:8px}.dragging-item[data-v-c9860534]{cursor:grabbing;background:var(--tblr-primary);box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;opacity:.5;background-color:var(--tblr-primary-bg-subtle);filter:grayscale(0) invert(0)}.header-draggable[data-v-c9860534]{cursor:grab}.column-move-move[data-v-c9860534]{transition:transform .4s ease}.column-move-enter-active[data-v-c9860534],.column-move-leave-active[data-v-c9860534]{transition:all .4s ease}.header-ordering[data-v-c9860534]{display:flex;justify-content:space-between}.expand-item-expand-enter-active[data-v-c9860534]{transition:all .5s ease}.expand-item-expand-enter-from[data-v-c9860534]{opacity:0;transform:scaleY(.3) translateY(-30px)}.expand-item-expand-enter-to[data-v-c9860534]{opacity:1;transform:scaleY(1);transform:translateY(0)}.expand-item-expand-leave-active[data-v-c9860534]{transition:all .4s ease}.expand-item-expand-leave-to[data-v-c9860534]{opacity:0;transform:scaleY(.3) translateY(-30px)}.expand-item-fade-enter-active[data-v-c9860534],.expand-item-fade-leave-active[data-v-c9860534]{transition:opacity .5s ease}.expand-item-fade-enter-from[data-v-c9860534],.expand-item-fade-leave-to[data-v-c9860534]{opacity:0}.btn-clean[data-v-c9860534]{display:inline-flex;align-items:center;justify-content:center;padding:4px;border-radius:4px;transition:background-color .2s ease;background:transparent;border:none;outline:none;cursor:pointer}.btn-clean[data-v-c9860534]:hover{background-color:#0000000d}.icon-transition-arrow[data-v-c9860534]{transition:transform .3s cubic-bezier(.4,0,.2,1),color .2s ease;color:var(--tblr-primary, #206bc4)}.is-expanded .icon-transition-arrow[data-v-c9860534]{transform:rotate(90deg)}.icon-transition-plus[data-v-c9860534]{transition:transform .3s cubic-bezier(.4,0,.2,1),color .2s ease;color:var(--tblr-primary, #206bc4)}.icon-transition-plus .vertical-line[data-v-c9860534]{transform-origin:center;transition:transform .3s cubic-bezier(.4,0,.2,1),opacity .2s ease}.is-expanded .icon-transition-plus[data-v-c9860534]{transform:rotate(180deg)}.is-expanded .icon-transition-plus .vertical-line[data-v-c9860534]{transform:scaleY(0);opacity:0}
|
package/dist/vDataTable.d.ts
CHANGED
package/dist/vDataTable.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as J, useSlots as De, inject as ue, onMounted as Ee, computed as z, watch as X, resolveComponent as je, createElementBlock as l, openBlock as t, createCommentVNode as
|
|
1
|
+
import { defineComponent as J, useSlots as De, inject as ue, onMounted as Ee, computed as z, watch as X, resolveComponent as je, createElementBlock as l, openBlock as t, createCommentVNode as k, createElementVNode as e, withDirectives as ce, withKeys as Ie, vModelText as pe, Fragment as T, renderList as j, createBlock as Y, withCtx as H, createTextVNode as I, toDisplayString as w, normalizeClass as g, withModifiers as de, ref as C, nextTick as _e, resolveDynamicComponent as me, provide as Ne, readonly as Ae, renderSlot as P, unref as h, createStaticVNode as Pe, createVNode as W, TransitionGroup as qe, mergeProps as Le, Transition as Oe, normalizeStyle as He } from "vue";
|
|
2
2
|
import { D as Fe } from "./datatableConfig-BMFlKtgh.js";
|
|
3
3
|
import { _ as ae, P as Ue } from "./Pagination-DtVDFQ07.js";
|
|
4
4
|
import Ke from "vuedraggable";
|
|
@@ -24,7 +24,7 @@ const ve = Symbol("v-datatable-key"), ma = /* @__PURE__ */ J({
|
|
|
24
24
|
class_rules: { default: () => ({}) }
|
|
25
25
|
},
|
|
26
26
|
setup(u) {
|
|
27
|
-
const i = u,
|
|
27
|
+
const i = u, f = De(), a = ue(ve);
|
|
28
28
|
if (!a)
|
|
29
29
|
throw new Error("VColumn deve ser usado dentro de um VDataTable.");
|
|
30
30
|
const m = ["text", "img", "date", "html"];
|
|
@@ -58,7 +58,7 @@ const ve = Symbol("v-datatable-key"), ma = /* @__PURE__ */ J({
|
|
|
58
58
|
decreasing_value: i.decreasing_value,
|
|
59
59
|
increasing_value: i.increasing_value,
|
|
60
60
|
class_rules: i.class_rules,
|
|
61
|
-
bodySlot:
|
|
61
|
+
bodySlot: f.body,
|
|
62
62
|
...i.type === "text" && { limite_text: Number(i.limite_text) },
|
|
63
63
|
...i.type === "img" && { deactivate_img_preview: i.deactivate_img_preview },
|
|
64
64
|
...i.type === "date" && { format: i.format }
|
|
@@ -90,21 +90,21 @@ const ve = Symbol("v-datatable-key"), ma = /* @__PURE__ */ J({
|
|
|
90
90
|
},
|
|
91
91
|
emits: ["update:search", "update:filter", "search", "clickedClearSearch"],
|
|
92
92
|
setup(u, { emit: i }) {
|
|
93
|
-
const
|
|
94
|
-
get: () =>
|
|
93
|
+
const f = u, a = i, m = z({
|
|
94
|
+
get: () => f.search,
|
|
95
95
|
set: (r) => a("update:search", r)
|
|
96
96
|
}), p = z({
|
|
97
|
-
get: () =>
|
|
97
|
+
get: () => f.filter,
|
|
98
98
|
set: (r) => a("update:filter", r)
|
|
99
99
|
});
|
|
100
100
|
X(p, () => {
|
|
101
101
|
a("search");
|
|
102
102
|
}), X(
|
|
103
|
-
() =>
|
|
103
|
+
() => f.list_filter,
|
|
104
104
|
(r) => {
|
|
105
|
-
Array.isArray(r) ? (r.forEach((s,
|
|
106
|
-
s?.type === 1 && !s.to && console.error(`Filtro na posição ${
|
|
107
|
-
}),
|
|
105
|
+
Array.isArray(r) ? (r.forEach((s, x) => {
|
|
106
|
+
s?.type === 1 && !s.to && console.error(`Filtro na posição ${x} é do tipo 'router-link' mas não possui a propriedade 'to'.`);
|
|
107
|
+
}), f.item_use.includes(2) && r.length === 0 && console.error("Nenhum filtro foi passado. Certifique-se de que o array de filtros não está vazio.")) : console.error("list_filter deve ser um array.");
|
|
108
108
|
},
|
|
109
109
|
{ immediate: !0, deep: !0 }
|
|
110
110
|
);
|
|
@@ -112,16 +112,16 @@ const ve = Symbol("v-datatable-key"), ma = /* @__PURE__ */ J({
|
|
|
112
112
|
p.value === r ? p.value = "" : p.value = r;
|
|
113
113
|
}
|
|
114
114
|
function E() {
|
|
115
|
-
m.value = "",
|
|
115
|
+
m.value = "", f.deactivate_search_on_clear || a("search"), a("clickedClearSearch");
|
|
116
116
|
}
|
|
117
117
|
function B(r) {
|
|
118
118
|
r.click && typeof r.click == "function" ? r.click() : console.error("O filtro selecionado não possui uma função de clique válida.");
|
|
119
119
|
}
|
|
120
120
|
function v() {
|
|
121
|
-
|
|
121
|
+
f.deactivate_search_empty && m.value.trim() === "" || a("search");
|
|
122
122
|
}
|
|
123
123
|
return (r, s) => {
|
|
124
|
-
const
|
|
124
|
+
const x = je("router-link");
|
|
125
125
|
return t(), l("div", Ye, [
|
|
126
126
|
u.item_use.includes(2) ? (t(), l("a", Xe, [...s[2] || (s[2] = [
|
|
127
127
|
e("svg", {
|
|
@@ -143,7 +143,7 @@ const ve = Symbol("v-datatable-key"), ma = /* @__PURE__ */ J({
|
|
|
143
143
|
}),
|
|
144
144
|
e("path", { d: "M4 4h16v2.172a2 2 0 0 1 -.586 1.414l-4.414 4.414v7l-6 2v-8.5l-4.48 -4.928a2 2 0 0 1 -.52 -1.345v-2.227z" })
|
|
145
145
|
], -1)
|
|
146
|
-
])])) :
|
|
146
|
+
])])) : k("", !0),
|
|
147
147
|
e("div", Ge, [
|
|
148
148
|
ce(e("input", {
|
|
149
149
|
type: "text",
|
|
@@ -205,43 +205,43 @@ const ve = Symbol("v-datatable-key"), ma = /* @__PURE__ */ J({
|
|
|
205
205
|
])]))
|
|
206
206
|
]),
|
|
207
207
|
u.item_use.includes(2) ? (t(), l("div", Qe, [
|
|
208
|
-
(t(!0), l(T, null, j(
|
|
209
|
-
"type" in c && c.type === 1 && (!("visible" in c) || c.visible) ? (t(),
|
|
208
|
+
(t(!0), l(T, null, j(f.list_filter, (c, $) => (t(), l(T, { key: $ }, [
|
|
209
|
+
"type" in c && c.type === 1 && (!("visible" in c) || c.visible) ? (t(), Y(x, {
|
|
210
210
|
key: 0,
|
|
211
211
|
to: c?.to,
|
|
212
212
|
class: "dropdown-item cursor-pointer"
|
|
213
213
|
}, {
|
|
214
214
|
default: H(() => [
|
|
215
|
-
I(
|
|
215
|
+
I(w(c.text), 1)
|
|
216
216
|
]),
|
|
217
217
|
_: 2
|
|
218
218
|
}, 1032, ["to"])) : (!("type" in c) || c.type === 2) && (!("visible" in c) || c.visible) ? (t(), l("a", {
|
|
219
219
|
key: 1,
|
|
220
220
|
onClick: de((M) => V(String(c.value)), ["prevent"]),
|
|
221
|
-
class:
|
|
222
|
-
},
|
|
221
|
+
class: g(["dropdown-item cursor-pointer", p.value === c?.value ? "bg-info text-dark selected" : ""])
|
|
222
|
+
}, w(c.text), 11, Re)) : (!("type" in c) || c.type === 3) && (!("visible" in c) || c.visible) ? (t(), l("a", {
|
|
223
223
|
key: 2,
|
|
224
224
|
onClick: de((M) => B(c), ["prevent"]),
|
|
225
|
-
class:
|
|
226
|
-
},
|
|
225
|
+
class: g(["dropdown-item cursor-pointer", c?.active ? "bg-info text-dark selected" : ""])
|
|
226
|
+
}, w(c.text), 11, Ze)) : k("", !0)
|
|
227
227
|
], 64))), 128))
|
|
228
|
-
])) :
|
|
228
|
+
])) : k("", !0)
|
|
229
229
|
]);
|
|
230
230
|
};
|
|
231
231
|
}
|
|
232
232
|
}), tt = /* @__PURE__ */ ae(et, [["__scopeId", "data-v-ed591287"]]);
|
|
233
233
|
function at() {
|
|
234
|
-
const u = C(!1), i = C(""),
|
|
234
|
+
const u = C(!1), i = C(""), f = C(0), a = C(0), m = z(() => ({
|
|
235
235
|
position: "fixed",
|
|
236
236
|
zIndex: 9999,
|
|
237
237
|
pointerEvents: "none",
|
|
238
238
|
top: `${a.value + 15}px`,
|
|
239
|
-
left: `${
|
|
239
|
+
left: `${f.value + 15}px`
|
|
240
240
|
}));
|
|
241
241
|
function p(v) {
|
|
242
|
-
const r = v.clientX, s = v.clientY,
|
|
242
|
+
const r = v.clientX, s = v.clientY, x = window.innerHeight, c = 15, $ = 300;
|
|
243
243
|
let M = s + c;
|
|
244
|
-
M + $ >
|
|
244
|
+
M + $ > x && (M = s - $ - c, M < 0 && (M = 0)), f.value = r, a.value = M;
|
|
245
245
|
}
|
|
246
246
|
function V(v, r) {
|
|
247
247
|
u.value = !0, i.value = r, p(v);
|
|
@@ -261,7 +261,7 @@ function at() {
|
|
|
261
261
|
handleMouseLeave: B
|
|
262
262
|
};
|
|
263
263
|
}
|
|
264
|
-
function nt(u, i,
|
|
264
|
+
function nt(u, i, f, a) {
|
|
265
265
|
const m = C([]);
|
|
266
266
|
function p() {
|
|
267
267
|
m.value = [];
|
|
@@ -271,12 +271,12 @@ function nt(u, i, g, a) {
|
|
|
271
271
|
return m.value.some((s) => s === r);
|
|
272
272
|
}
|
|
273
273
|
function E(v) {
|
|
274
|
-
const r = v[i], s = m.value.findIndex((c) => c === r),
|
|
275
|
-
u ? (p(),
|
|
274
|
+
const r = v[i], s = m.value.findIndex((c) => c === r), x = s > -1;
|
|
275
|
+
u ? (p(), x || (m.value.push(r), a && B(r))) : x ? m.value.splice(s, 1) : (m.value.push(r), a && B(r));
|
|
276
276
|
}
|
|
277
277
|
function B(v) {
|
|
278
278
|
_e(() => {
|
|
279
|
-
if (
|
|
279
|
+
if (f) {
|
|
280
280
|
const r = document.querySelector("#expand-item-" + v);
|
|
281
281
|
r && r.scrollIntoView({ behavior: "smooth", block: "center" });
|
|
282
282
|
return;
|
|
@@ -294,7 +294,7 @@ function nt(u, i, g, a) {
|
|
|
294
294
|
close_all_expanded_items: p
|
|
295
295
|
};
|
|
296
296
|
}
|
|
297
|
-
function lt(u, i,
|
|
297
|
+
function lt(u, i, f, a, m, p) {
|
|
298
298
|
const V = C([]), E = z(() => (i.value.current_page = u.page_starts_at, u.endpoint)), B = z(() => ({
|
|
299
299
|
[u.page_param_name]: i.value.current_page + 1,
|
|
300
300
|
[u.page_size_param_name]: i.value.limit_per_page,
|
|
@@ -302,10 +302,10 @@ function lt(u, i, g, a, m, p) {
|
|
|
302
302
|
[u.filter_param_name]: i.value.filter || ""
|
|
303
303
|
})), v = z(() => {
|
|
304
304
|
const D = {};
|
|
305
|
-
for (const S of
|
|
305
|
+
for (const S of f.value)
|
|
306
306
|
S.use_ordering && (a.value[S.header] === "increasing" ? D[S.param_ordering] = S.increasing_value || "increasing" : a.value[S.header] === "decreasing" && (D[S.param_ordering] = S.decreasing_value || "decreasing"));
|
|
307
307
|
return D;
|
|
308
|
-
}), { data: r, pending: s, error:
|
|
308
|
+
}), { data: r, pending: s, error: x, execute: c, attempt: $ } = u.fetch(E, {
|
|
309
309
|
disable_request: () => u.disable_request,
|
|
310
310
|
params: () => {
|
|
311
311
|
const D = typeof u.add_params == "function";
|
|
@@ -340,7 +340,7 @@ function lt(u, i, g, a, m, p) {
|
|
|
340
340
|
return {
|
|
341
341
|
items: V,
|
|
342
342
|
pending: s,
|
|
343
|
-
error:
|
|
343
|
+
error: x,
|
|
344
344
|
execute: c,
|
|
345
345
|
response: r,
|
|
346
346
|
attempt: $,
|
|
@@ -352,7 +352,7 @@ function lt(u, i, g, a, m, p) {
|
|
|
352
352
|
};
|
|
353
353
|
}
|
|
354
354
|
function st(u, i) {
|
|
355
|
-
const
|
|
355
|
+
const f = C(null), a = C([]), m = (v) => {
|
|
356
356
|
const r = u.item_key;
|
|
357
357
|
return a.value.some((s) => s[r] === v[r]);
|
|
358
358
|
}, p = z(() => {
|
|
@@ -360,8 +360,8 @@ function st(u, i) {
|
|
|
360
360
|
const v = i.value.filter((r) => m(r)).length;
|
|
361
361
|
return v === 0 ? !1 : v === i.value.length ? !0 : "indeterminate";
|
|
362
362
|
}), V = z(() => a.value.length > 0);
|
|
363
|
-
X([p,
|
|
364
|
-
|
|
363
|
+
X([p, f], ([v]) => {
|
|
364
|
+
f.value && (v === "indeterminate" ? (f.value.checked = !1, f.value.indeterminate = !0) : (f.value.checked = v, f.value.indeterminate = !1));
|
|
365
365
|
}, {
|
|
366
366
|
immediate: !0,
|
|
367
367
|
flush: "post"
|
|
@@ -371,9 +371,9 @@ function st(u, i) {
|
|
|
371
371
|
if (!v.length) return;
|
|
372
372
|
const r = p.value;
|
|
373
373
|
if (r === !0 || r === "indeterminate") {
|
|
374
|
-
const s = v.map((
|
|
374
|
+
const s = v.map((x) => x[u.item_key]);
|
|
375
375
|
a.value = a.value.filter(
|
|
376
|
-
(
|
|
376
|
+
(x) => !s.includes(x[u.item_key])
|
|
377
377
|
);
|
|
378
378
|
} else
|
|
379
379
|
v.forEach((s) => {
|
|
@@ -381,11 +381,11 @@ function st(u, i) {
|
|
|
381
381
|
});
|
|
382
382
|
}
|
|
383
383
|
function B(v) {
|
|
384
|
-
const r = u.item_key, s = a.value.findIndex((
|
|
384
|
+
const r = u.item_key, s = a.value.findIndex((x) => x[r] === v[r]);
|
|
385
385
|
s > -1 ? a.value.splice(s, 1) : a.value.push(v);
|
|
386
386
|
}
|
|
387
387
|
return {
|
|
388
|
-
selectAllCheckbox:
|
|
388
|
+
selectAllCheckbox: f,
|
|
389
389
|
selected_items: a,
|
|
390
390
|
isSelected: m,
|
|
391
391
|
selectAllState: p,
|
|
@@ -404,10 +404,10 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
404
404
|
key: 0,
|
|
405
405
|
class: "d-flex flex-column justify-content-center align-items-center",
|
|
406
406
|
style: { height: "6rem" }
|
|
407
|
-
},
|
|
407
|
+
}, gt = {
|
|
408
408
|
key: 1,
|
|
409
409
|
style: { height: "3rem" }
|
|
410
|
-
},
|
|
410
|
+
}, ft = {
|
|
411
411
|
key: 2,
|
|
412
412
|
class: "p-3 text-center text-secondary"
|
|
413
413
|
}, yt = /* @__PURE__ */ J({
|
|
@@ -423,17 +423,17 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
423
423
|
},
|
|
424
424
|
setup(u) {
|
|
425
425
|
const i = u;
|
|
426
|
-
return (
|
|
427
|
-
i.custom_loading ? (t(),
|
|
426
|
+
return (f, a) => (t(), l("div", rt, [
|
|
427
|
+
i.custom_loading ? (t(), Y(me(i.custom_loading), { key: 0 })) : (t(), l("table", {
|
|
428
428
|
key: 1,
|
|
429
|
-
class:
|
|
429
|
+
class: g(["table table-vcenter table-selectable", i.class_table])
|
|
430
430
|
}, [
|
|
431
431
|
e("thead", null, [
|
|
432
432
|
e("tr", null, [
|
|
433
433
|
(t(!0), l(T, null, j(u.columns, (m) => (t(), l("th", {
|
|
434
434
|
key: m.field || m.header,
|
|
435
|
-
class:
|
|
436
|
-
},
|
|
435
|
+
class: g(m.class_column)
|
|
436
|
+
}, w(m.header), 3))), 128))
|
|
437
437
|
])
|
|
438
438
|
]),
|
|
439
439
|
e("tbody", null, [
|
|
@@ -443,30 +443,30 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
443
443
|
}, [
|
|
444
444
|
(t(!0), l(T, null, j(u.columns, (p) => (t(), l("td", {
|
|
445
445
|
key: p.field || p.header,
|
|
446
|
-
class:
|
|
446
|
+
class: g(p.class_row)
|
|
447
447
|
}, [
|
|
448
448
|
p.bodySlot ? (t(), l("span", ot, [...a[0] || (a[0] = [
|
|
449
449
|
e("span", { class: "placeholder col-8" }, null, -1)
|
|
450
450
|
])])) : p.type === "text" ? (t(), l("span", {
|
|
451
451
|
key: 1,
|
|
452
|
-
class:
|
|
452
|
+
class: g(p.class_item)
|
|
453
453
|
}, [...a[1] || (a[1] = [
|
|
454
454
|
e("span", { class: "placeholder col-8" }, null, -1)
|
|
455
455
|
])], 2)) : p.type === "date" ? (t(), l("span", it, [...a[2] || (a[2] = [
|
|
456
456
|
e("span", { class: "placeholder col-9" }, null, -1)
|
|
457
457
|
])])) : p.type === "html" ? (t(), l("div", {
|
|
458
458
|
key: 3,
|
|
459
|
-
class:
|
|
459
|
+
class: g(p.class_item)
|
|
460
460
|
}, [...a[3] || (a[3] = [
|
|
461
461
|
e("div", { class: "placeholder col-12" }, null, -1)
|
|
462
462
|
])], 2)) : p.type === "img" ? (t(), l("div", {
|
|
463
463
|
key: 4,
|
|
464
|
-
class:
|
|
464
|
+
class: g(p.class_item)
|
|
465
465
|
}, [...a[4] || (a[4] = [
|
|
466
466
|
e("div", { class: "placeholder placeholder-img" }, null, -1)
|
|
467
467
|
])], 2)) : (t(), l("span", dt, [
|
|
468
468
|
a[5] || (a[5] = I("tipo ", -1)),
|
|
469
|
-
e("span", ut,
|
|
469
|
+
e("span", ut, w(p.type), 1),
|
|
470
470
|
a[6] || (a[6] = I(" não suportado ", -1))
|
|
471
471
|
]))
|
|
472
472
|
], 2))), 128))
|
|
@@ -475,7 +475,7 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
475
475
|
}, [
|
|
476
476
|
(t(!0), l(T, null, j(u.columns, (p) => (t(), l("td", {
|
|
477
477
|
key: p.field || p.header,
|
|
478
|
-
class:
|
|
478
|
+
class: g(p.class_row)
|
|
479
479
|
}, [
|
|
480
480
|
p.bodySlot ? (t(), l("span", ct, [...a[7] || (a[7] = [
|
|
481
481
|
e("span", {
|
|
@@ -485,7 +485,7 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
485
485
|
}, null, -1)
|
|
486
486
|
])])) : p.type === "text" ? (t(), l("span", {
|
|
487
487
|
key: 1,
|
|
488
|
-
class:
|
|
488
|
+
class: g(p.class_item)
|
|
489
489
|
}, [...a[8] || (a[8] = [
|
|
490
490
|
e("span", {
|
|
491
491
|
class: "spinner-border spinner-border-sm",
|
|
@@ -500,7 +500,7 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
500
500
|
}, null, -1)
|
|
501
501
|
])])) : p.type === "html" ? (t(), l("div", {
|
|
502
502
|
key: 3,
|
|
503
|
-
class:
|
|
503
|
+
class: g(p.class_item)
|
|
504
504
|
}, [...a[10] || (a[10] = [
|
|
505
505
|
e("span", {
|
|
506
506
|
class: "spinner-border spinner-border-sm",
|
|
@@ -509,7 +509,7 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
509
509
|
}, null, -1)
|
|
510
510
|
])], 2)) : p.type === "img" ? (t(), l("div", {
|
|
511
511
|
key: 4,
|
|
512
|
-
class:
|
|
512
|
+
class: g(["", p.class_item])
|
|
513
513
|
}, [...a[11] || (a[11] = [
|
|
514
514
|
e("span", { class: "placeholder-img d-flex justify-content-center align-items-center" }, [
|
|
515
515
|
e("span", {
|
|
@@ -520,7 +520,7 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
520
520
|
], -1)
|
|
521
521
|
])], 2)) : (t(), l("span", _t, [
|
|
522
522
|
a[12] || (a[12] = I("tipo ", -1)),
|
|
523
|
-
e("span", mt,
|
|
523
|
+
e("span", mt, w(p.type), 1),
|
|
524
524
|
a[13] || (a[13] = I(" não suportado ", -1))
|
|
525
525
|
]))
|
|
526
526
|
], 2))), 128))
|
|
@@ -537,12 +537,12 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
537
537
|
role: "status"
|
|
538
538
|
}, null, -1),
|
|
539
539
|
e("span", { class: "mt-2" }, "Carregando...", -1)
|
|
540
|
-
])])) : (t(), l("div",
|
|
540
|
+
])])) : (t(), l("div", gt))
|
|
541
541
|
], 8, vt)
|
|
542
|
-
]))), 128)) :
|
|
542
|
+
]))), 128)) : k("", !0)
|
|
543
543
|
])
|
|
544
544
|
], 2)),
|
|
545
|
-
u.attempt && u.attempt.current > 1 ? (t(), l("div",
|
|
545
|
+
u.attempt && u.attempt.current > 1 ? (t(), l("div", ft, " A conexão falhou. Tentando novamente... (Tentativa " + w(u.attempt.current) + " de " + w(u.attempt.total) + ") ", 1)) : k("", !0)
|
|
546
546
|
]));
|
|
547
547
|
}
|
|
548
548
|
}), kt = /* @__PURE__ */ ae(yt, [["__scopeId", "data-v-3b019685"]]), wt = { class: "mx-2 d-inline-block" }, xt = {
|
|
@@ -709,10 +709,11 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
709
709
|
immediate: { type: Boolean, default: !0 },
|
|
710
710
|
placeholder_search: {},
|
|
711
711
|
deactivate_search_on_clear: { type: Boolean, default: !1 },
|
|
712
|
+
disable_search: { type: Boolean, default: !1 },
|
|
712
713
|
disable_request: { default: !1 }
|
|
713
714
|
},
|
|
714
715
|
emits: ["tradePage", "beforeFetch", "afterFetch", "clickedClearSearch"],
|
|
715
|
-
setup(u, { expose: i, emit:
|
|
716
|
+
setup(u, { expose: i, emit: f }) {
|
|
716
717
|
const a = ue(Fe, {}), {
|
|
717
718
|
isHovering: m,
|
|
718
719
|
previewSrc: p,
|
|
@@ -751,7 +752,7 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
751
752
|
min_loading_delay: r.min_loading_delay ?? a.min_loading_delay ?? 600,
|
|
752
753
|
retry_attempts: r.retry_attempts ?? a.retry_attempts ?? 3,
|
|
753
754
|
retry_delay: r.retry_delay ?? a.retry_delay ?? 2e3
|
|
754
|
-
})),
|
|
755
|
+
})), x = f, c = C({}), $ = C([]), M = C(0), q = C(!1), y = C({
|
|
755
756
|
current_page: s.value.page_starts_at,
|
|
756
757
|
// pagina atual
|
|
757
758
|
count: 0,
|
|
@@ -779,9 +780,9 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
779
780
|
default_params: he,
|
|
780
781
|
fetchDataWithDelay: L,
|
|
781
782
|
reSearch: N,
|
|
782
|
-
showLoadingState:
|
|
783
|
-
first_fetch:
|
|
784
|
-
} = lt(s.value, y, $, c,
|
|
783
|
+
showLoadingState: ge,
|
|
784
|
+
first_fetch: fe
|
|
785
|
+
} = lt(s.value, y, $, c, x, U), {
|
|
785
786
|
selectAllCheckbox: ne,
|
|
786
787
|
selected_items: O,
|
|
787
788
|
isSelected: le,
|
|
@@ -852,7 +853,7 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
852
853
|
return s.value.use_checkbox && (d += 1), s.value.use_expandable_items && (d += 1), d;
|
|
853
854
|
}
|
|
854
855
|
function Ve() {
|
|
855
|
-
|
|
856
|
+
x("tradePage"), L();
|
|
856
857
|
}
|
|
857
858
|
const G = (d, o) => {
|
|
858
859
|
const n = [d.class_item || ""];
|
|
@@ -887,23 +888,23 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
887
888
|
{ deep: !0, immediate: s.value.immediate }
|
|
888
889
|
), (d, o) => (t(), l("div", null, [
|
|
889
890
|
e("div", {
|
|
890
|
-
class:
|
|
891
|
+
class: g(["", s.value.class_container])
|
|
891
892
|
}, [
|
|
892
893
|
P(d.$slots, "default", {}, void 0, !0),
|
|
893
894
|
e("div", {
|
|
894
|
-
class:
|
|
895
|
+
class: g(["", s.value.class_content])
|
|
895
896
|
}, [
|
|
896
897
|
e("div", {
|
|
897
|
-
class:
|
|
898
|
+
class: g([s.value.class_filters, "d-flex justify-content-between align-items-start"])
|
|
898
899
|
}, [
|
|
899
900
|
P(d.$slots, "pageSize", {
|
|
900
901
|
changePageSize: re,
|
|
901
902
|
limit_per_page: y.value.limit_per_page
|
|
902
903
|
}, () => [
|
|
903
904
|
e("div", {
|
|
904
|
-
class:
|
|
905
|
+
class: g(["text-secondary", s.value.class_page_size])
|
|
905
906
|
}, [
|
|
906
|
-
I(
|
|
907
|
+
I(w(s.value.first_text_page_size) + " ", 1),
|
|
907
908
|
e("div", wt, [
|
|
908
909
|
ce(e("input", {
|
|
909
910
|
class: "form-control form-control-sm",
|
|
@@ -922,11 +923,12 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
922
923
|
]
|
|
923
924
|
])
|
|
924
925
|
]),
|
|
925
|
-
I(" " +
|
|
926
|
+
I(" " + w(s.value.second_text_page_size), 1)
|
|
926
927
|
], 2)
|
|
927
928
|
], !0),
|
|
928
929
|
P(d.$slots, "fieldMiddle", {}, void 0, !0),
|
|
929
|
-
Y(tt, {
|
|
930
|
+
s.value.disable_search ? k("", !0) : (t(), Y(tt, {
|
|
931
|
+
key: 0,
|
|
930
932
|
search: y.value.search,
|
|
931
933
|
"onUpdate:search": o[1] || (o[1] = (n) => y.value.search = n),
|
|
932
934
|
filter: y.value.filter,
|
|
@@ -938,7 +940,7 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
938
940
|
placeholder_search: s.value.placeholder_search,
|
|
939
941
|
deactivate_search_empty: s.value.deactivate_search_empty,
|
|
940
942
|
onClickedClearSearch: o[3] || (o[3] = (n) => d.$emit("clickedClearSearch"))
|
|
941
|
-
}, null, 8, ["search", "filter", "list_filter", "item_use", "onSearch", "deactivate_search_on_clear", "placeholder_search", "deactivate_search_empty"])
|
|
943
|
+
}, null, 8, ["search", "filter", "list_filter", "item_use", "onSearch", "deactivate_search_on_clear", "placeholder_search", "deactivate_search_empty"]))
|
|
942
944
|
], 2),
|
|
943
945
|
P(d.$slots, "item-selected-info", {
|
|
944
946
|
selected_items: h(O),
|
|
@@ -948,17 +950,17 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
948
950
|
e("h4", bt, [
|
|
949
951
|
o[10] || (o[10] = e("strong", null, "oi Itens Selecionados:", -1)),
|
|
950
952
|
o[11] || (o[11] = I()),
|
|
951
|
-
e("span", Ct,
|
|
953
|
+
e("span", Ct, w(h(O).length), 1)
|
|
952
954
|
]),
|
|
953
955
|
e("a", {
|
|
954
956
|
class: "cursor-pointer",
|
|
955
957
|
onClick: o[4] || (o[4] = (n) => O.value = [])
|
|
956
958
|
}, [...o[12] || (o[12] = [
|
|
957
|
-
Pe('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-trash" data-v-
|
|
959
|
+
Pe('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-trash" data-v-c9860534><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-c9860534></path><path d="M4 7l16 0" data-v-c9860534></path><path d="M10 11l0 6" data-v-c9860534></path><path d="M14 11l0 6" data-v-c9860534></path><path d="M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2 -2l1 -12" data-v-c9860534></path><path d="M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3" data-v-c9860534></path></svg> Limpar Seleção', 2)
|
|
958
960
|
])])
|
|
959
|
-
])) :
|
|
961
|
+
])) : k("", !0)
|
|
960
962
|
], !0),
|
|
961
|
-
h(
|
|
963
|
+
h(ge) ? (t(), Y(kt, {
|
|
962
964
|
key: 0,
|
|
963
965
|
columns: $.value,
|
|
964
966
|
limit: y.value.limit_per_page,
|
|
@@ -969,7 +971,7 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
969
971
|
pagination: y.value
|
|
970
972
|
}, null, 8, ["columns", "limit", "type_loading", "custom_loading", "class_table", "attempt", "pagination"])) : h(S) ? (t(), l("div", Mt, [
|
|
971
973
|
o[13] || (o[13] = e("h4", { class: "text-danger" }, "Ocorreu um Erro", -1)),
|
|
972
|
-
h(R) ? (t(), l("p", St, " Não foi possível carregar os dados após " +
|
|
974
|
+
h(R) ? (t(), l("p", St, " Não foi possível carregar os dados após " + w(h(R).total) + " tentativa(s). ", 1)) : (t(), l("p", $t, " Não foi possível carregar os dados. Verifique sua conexão. ")),
|
|
973
975
|
e("button", {
|
|
974
976
|
class: "btn btn-primary mt-2",
|
|
975
977
|
onClick: o[5] || (o[5] = //@ts-ignore
|
|
@@ -978,10 +980,10 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
978
980
|
])) : h(D) ? (t(), l("div", zt, [
|
|
979
981
|
h(D).length > 0 ? (t(), l("div", Bt, [
|
|
980
982
|
e("table", {
|
|
981
|
-
class:
|
|
983
|
+
class: g(["table table-vcenter table-selectable", s.value.class_table])
|
|
982
984
|
}, [
|
|
983
985
|
e("thead", null, [
|
|
984
|
-
|
|
986
|
+
W(h(Ke), {
|
|
985
987
|
modelValue: ee.value,
|
|
986
988
|
"onUpdate:modelValue": o[7] || (o[7] = (n) => ee.value = n),
|
|
987
989
|
tag: "tr",
|
|
@@ -993,7 +995,7 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
993
995
|
onEnd: o[9] || (o[9] = () => be())
|
|
994
996
|
}, {
|
|
995
997
|
header: H(() => [
|
|
996
|
-
s.value.use_expandable_items ? (t(), l("th", Tt)) :
|
|
998
|
+
s.value.use_expandable_items ? (t(), l("th", Tt)) : k("", !0),
|
|
997
999
|
s.value.use_checkbox ? (t(), l("th", Vt, [
|
|
998
1000
|
e("input", {
|
|
999
1001
|
class: "form-check-input m-0",
|
|
@@ -1004,15 +1006,15 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
1004
1006
|
(...n) => h(se) && h(se)(...n)),
|
|
1005
1007
|
"aria-label": "Selecionar todos os itens na página"
|
|
1006
1008
|
}, null, 544)
|
|
1007
|
-
])) :
|
|
1009
|
+
])) : k("", !0)
|
|
1008
1010
|
]),
|
|
1009
1011
|
item: H(({ element: n }) => [
|
|
1010
1012
|
n.use_ordering ? (t(), l("th", {
|
|
1011
1013
|
key: 0,
|
|
1012
|
-
class:
|
|
1014
|
+
class: g(["header-draggable", n.class_column])
|
|
1013
1015
|
}, [
|
|
1014
1016
|
e("div", Dt, [
|
|
1015
|
-
e("span", null,
|
|
1017
|
+
e("span", null, w(n.header), 1),
|
|
1016
1018
|
e("span", {
|
|
1017
1019
|
onClick: () => oe(n.header),
|
|
1018
1020
|
class: "ms-2 cursor-pointer"
|
|
@@ -1036,13 +1038,13 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
1036
1038
|
e("path", { d: "M11 12h4" }, null, -1),
|
|
1037
1039
|
e("path", { d: "M11 16h7" }, null, -1),
|
|
1038
1040
|
e("path", { d: "M11 20h10" }, null, -1)
|
|
1039
|
-
])])) :
|
|
1041
|
+
])])) : k("", !0)
|
|
1040
1042
|
], 8, Et)
|
|
1041
1043
|
])
|
|
1042
1044
|
], 2)) : (t(), l("th", {
|
|
1043
1045
|
key: 1,
|
|
1044
|
-
class:
|
|
1045
|
-
},
|
|
1046
|
+
class: g(["header-draggable", n.class_column])
|
|
1047
|
+
}, w(n.header), 3))
|
|
1046
1048
|
]),
|
|
1047
1049
|
footer: H(() => [
|
|
1048
1050
|
(t(!0), l(T, null, j(Z.value, (n) => (t(), l(T, {
|
|
@@ -1050,10 +1052,10 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
1050
1052
|
}, [
|
|
1051
1053
|
n.use_ordering ? (t(), l("th", {
|
|
1052
1054
|
key: 0,
|
|
1053
|
-
class:
|
|
1055
|
+
class: g(["header-locked header-ordering", n.class_column])
|
|
1054
1056
|
}, [
|
|
1055
1057
|
e("div", At, [
|
|
1056
|
-
e("span", null,
|
|
1058
|
+
e("span", null, w(n.header), 1),
|
|
1057
1059
|
e("span", {
|
|
1058
1060
|
onClick: () => oe(n.header),
|
|
1059
1061
|
class: "ms-2 cursor-pointer"
|
|
@@ -1077,13 +1079,13 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
1077
1079
|
e("path", { d: "M11 12h4" }, null, -1),
|
|
1078
1080
|
e("path", { d: "M11 16h7" }, null, -1),
|
|
1079
1081
|
e("path", { d: "M11 20h10" }, null, -1)
|
|
1080
|
-
])])) :
|
|
1082
|
+
])])) : k("", !0)
|
|
1081
1083
|
], 8, Pt)
|
|
1082
1084
|
])
|
|
1083
1085
|
], 2)) : (t(), l("th", {
|
|
1084
1086
|
key: 1,
|
|
1085
|
-
class:
|
|
1086
|
-
},
|
|
1087
|
+
class: g(["header-locked", n.class_column])
|
|
1088
|
+
}, w(n.header), 3))
|
|
1087
1089
|
], 64))), 128))
|
|
1088
1090
|
]),
|
|
1089
1091
|
_: 1
|
|
@@ -1093,7 +1095,7 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
1093
1095
|
(t(!0), l(T, null, j(h(D), (n) => (t(), l(T, {
|
|
1094
1096
|
key: n[s.value.item_key]
|
|
1095
1097
|
}, [
|
|
1096
|
-
|
|
1098
|
+
W(qe, {
|
|
1097
1099
|
tag: "tr",
|
|
1098
1100
|
name: q.value ? "column-move" : ""
|
|
1099
1101
|
}, {
|
|
@@ -1106,7 +1108,7 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
1106
1108
|
}, () => [
|
|
1107
1109
|
e("button", {
|
|
1108
1110
|
type: "button",
|
|
1109
|
-
class:
|
|
1111
|
+
class: g(["btn-clean btn-icon-anim", { "is-expanded": h(K)(n) }]),
|
|
1110
1112
|
onClick: (_) => h(F)(n)
|
|
1111
1113
|
}, [
|
|
1112
1114
|
s.value.type_button_expand === "arrow" ? (t(), l("svg", Ut, [...o[20] || (o[20] = [
|
|
@@ -1130,7 +1132,7 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
1130
1132
|
])]))
|
|
1131
1133
|
], 10, Ft)
|
|
1132
1134
|
], !0)
|
|
1133
|
-
])) :
|
|
1135
|
+
])) : k("", !0),
|
|
1134
1136
|
s.value.use_checkbox ? (t(), l("td", Yt, [
|
|
1135
1137
|
e("input", {
|
|
1136
1138
|
class: "form-check-input m-0",
|
|
@@ -1139,38 +1141,38 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
1139
1141
|
onChange: (_) => h(ke)(n),
|
|
1140
1142
|
"aria-label": "Selecionar este item"
|
|
1141
1143
|
}, null, 40, Xt)
|
|
1142
|
-
])) :
|
|
1144
|
+
])) : k("", !0),
|
|
1143
1145
|
(t(!0), l(T, null, j(we.value, (_) => (t(), l("td", {
|
|
1144
1146
|
key: _.field || _.header,
|
|
1145
|
-
class:
|
|
1147
|
+
class: g(_.class_row)
|
|
1146
1148
|
}, [
|
|
1147
|
-
_.bodySlot ? (t(),
|
|
1149
|
+
_.bodySlot ? (t(), Y(me(_.bodySlot), {
|
|
1148
1150
|
key: 0,
|
|
1149
1151
|
item: n,
|
|
1150
1152
|
"is-selected": h(le)(n)
|
|
1151
1153
|
}, null, 8, ["item", "is-selected"])) : _.type === "text" ? (t(), l("span", {
|
|
1152
1154
|
key: 1,
|
|
1153
1155
|
onClick: (b) => _.click ? _.click(n) : null,
|
|
1154
|
-
class:
|
|
1155
|
-
},
|
|
1156
|
+
class: g(G(_, n))
|
|
1157
|
+
}, w(Me(A(_.field, n, _.transform_function), _.limite_text ?? null)), 11, Gt)) : _.type === "date" ? (t(), l("span", {
|
|
1156
1158
|
key: 2,
|
|
1157
1159
|
onClick: (b) => _.click ? _.click(n) : null,
|
|
1158
|
-
class:
|
|
1160
|
+
class: g(G(_, n))
|
|
1159
1161
|
}, [
|
|
1160
|
-
_.format === "complete" ? (t(), l("span", Jt,
|
|
1161
|
-
_.format === "simple" ? (t(), l("span", Qt,
|
|
1162
|
+
_.format === "complete" ? (t(), l("span", Jt, w(new Date(A(_.field, n)).toLocaleString()), 1)) : k("", !0),
|
|
1163
|
+
_.format === "simple" ? (t(), l("span", Qt, w(new Date(A(
|
|
1162
1164
|
_.field,
|
|
1163
1165
|
n
|
|
1164
|
-
)).toLocaleDateString()), 1)) :
|
|
1166
|
+
)).toLocaleDateString()), 1)) : k("", !0)
|
|
1165
1167
|
], 10, Wt)) : _.type === "html" ? (t(), l("div", {
|
|
1166
1168
|
key: 3,
|
|
1167
1169
|
onClick: (b) => _.click ? _.click(n) : null,
|
|
1168
|
-
class:
|
|
1170
|
+
class: g(G(_, n)),
|
|
1169
1171
|
innerHTML: A(_.field, n)
|
|
1170
1172
|
}, null, 10, Rt)) : _.type === "img" ? (t(), l("div", {
|
|
1171
1173
|
key: 4,
|
|
1172
1174
|
onClick: (b) => _.click ? _.click(n) : null,
|
|
1173
|
-
class:
|
|
1175
|
+
class: g(G(_, n))
|
|
1174
1176
|
}, [
|
|
1175
1177
|
A(_.field, n) ? (t(), l("div", Le({
|
|
1176
1178
|
key: 0,
|
|
@@ -1192,17 +1194,17 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
1192
1194
|
src: A(_.field, n)
|
|
1193
1195
|
}, null, 8, ta),
|
|
1194
1196
|
o[22] || (o[22] = e("div", { class: "bg-img" }, null, -1))
|
|
1195
|
-
], 16)) :
|
|
1197
|
+
], 16)) : k("", !0)
|
|
1196
1198
|
], 10, Zt)) : (t(), l("span", aa, [
|
|
1197
1199
|
o[23] || (o[23] = I("tipo ", -1)),
|
|
1198
|
-
e("span", na,
|
|
1200
|
+
e("span", na, w(_.type), 1),
|
|
1199
1201
|
o[24] || (o[24] = I(" não suportado", -1))
|
|
1200
1202
|
]))
|
|
1201
1203
|
], 2))), 128))
|
|
1202
1204
|
]),
|
|
1203
1205
|
_: 2
|
|
1204
1206
|
}, 1032, ["name"]),
|
|
1205
|
-
|
|
1207
|
+
W(Oe, {
|
|
1206
1208
|
name: "expand-item-" + s.value.type_animation_expand,
|
|
1207
1209
|
css: !s.value.deactivate_animation_expand
|
|
1208
1210
|
}, {
|
|
@@ -1217,19 +1219,19 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
1217
1219
|
}, [
|
|
1218
1220
|
P(d.$slots, "after-row", { item: n }, void 0, !0)
|
|
1219
1221
|
], 8, sa)
|
|
1220
|
-
], 8, la)) :
|
|
1222
|
+
], 8, la)) : k("", !0)
|
|
1221
1223
|
]),
|
|
1222
1224
|
_: 2
|
|
1223
1225
|
}, 1032, ["name", "css"])
|
|
1224
1226
|
], 64))), 128))
|
|
1225
1227
|
])
|
|
1226
1228
|
], 2)
|
|
1227
|
-
])) : h(
|
|
1229
|
+
])) : h(fe) === !1 ? (t(), l("div", ra, [
|
|
1228
1230
|
P(d.$slots, "idle-state", {}, void 0, !0)
|
|
1229
1231
|
])) : (t(), l("div", oa, [...o[25] || (o[25] = [
|
|
1230
1232
|
e("p", { class: "m-0" }, "Nenhum item encontrado.", -1)
|
|
1231
1233
|
])]))
|
|
1232
|
-
])) :
|
|
1234
|
+
])) : k("", !0)
|
|
1233
1235
|
], 2)
|
|
1234
1236
|
], 2),
|
|
1235
1237
|
P(d.$slots, "pagination", {
|
|
@@ -1239,15 +1241,15 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
1239
1241
|
}, () => [
|
|
1240
1242
|
!h(S) && y.value.count > 0 ? (t(), l("div", {
|
|
1241
1243
|
key: 0,
|
|
1242
|
-
class:
|
|
1244
|
+
class: g(["px-3", s.value.class_pagination])
|
|
1243
1245
|
}, [
|
|
1244
|
-
|
|
1246
|
+
W(Ue, {
|
|
1245
1247
|
page_starts_at: s.value.page_starts_at,
|
|
1246
1248
|
filtering: !0,
|
|
1247
1249
|
pagination: y.value,
|
|
1248
1250
|
onTradePage: Ve
|
|
1249
1251
|
}, null, 8, ["page_starts_at", "pagination"])
|
|
1250
|
-
], 2)) :
|
|
1252
|
+
], 2)) : k("", !0)
|
|
1251
1253
|
], !0),
|
|
1252
1254
|
h(m) ? (t(), l("div", {
|
|
1253
1255
|
key: 0,
|
|
@@ -1259,10 +1261,10 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
1259
1261
|
alt: "Preview",
|
|
1260
1262
|
class: "image-preview-large"
|
|
1261
1263
|
}, null, 8, ia)
|
|
1262
|
-
], 4)) :
|
|
1264
|
+
], 4)) : k("", !0)
|
|
1263
1265
|
]));
|
|
1264
1266
|
}
|
|
1265
|
-
}), va = /* @__PURE__ */ ae(da, [["__scopeId", "data-v-
|
|
1267
|
+
}), va = /* @__PURE__ */ ae(da, [["__scopeId", "data-v-c9860534"]]);
|
|
1266
1268
|
export {
|
|
1267
1269
|
ma as VColumn,
|
|
1268
1270
|
va as VDataTable
|
package/package.json
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
v-model.lazy="pagination.limit_per_page" min="1" size="3" aria-label="Número de registros por página"
|
|
13
13
|
type="number" />
|
|
14
14
|
</div>
|
|
15
|
-
{{ options.second_text_page_size }}
|
|
15
|
+
{{ options.second_text_page_size }}
|
|
16
16
|
</div>
|
|
17
17
|
</slot>
|
|
18
18
|
|
|
@@ -20,8 +20,11 @@
|
|
|
20
20
|
|
|
21
21
|
</slot>
|
|
22
22
|
|
|
23
|
-
<Search
|
|
24
|
-
|
|
23
|
+
<Search
|
|
24
|
+
v-if="!options.disable_search"
|
|
25
|
+
v-model:search="pagination.search" v-model:filter="pagination.filter"
|
|
26
|
+
:list_filter="options.list_filter" :item_use="item_use" @search="reSearch"
|
|
27
|
+
:deactivate_search_on_clear="options.deactivate_search_on_clear"
|
|
25
28
|
:placeholder_search="options.placeholder_search" :deactivate_search_empty="options.deactivate_search_empty"
|
|
26
29
|
@clicked-clear-search="$emit('clickedClearSearch')" />
|
|
27
30
|
</div>
|
|
@@ -47,8 +50,8 @@
|
|
|
47
50
|
|
|
48
51
|
|
|
49
52
|
<VDataTableLoading v-if="showLoadingState" :columns="columns" :limit="pagination.limit_per_page"
|
|
50
|
-
:type_loading="options.type_loading" :custom_loading="options.custom_loading"
|
|
51
|
-
:attempt="attempt" :pagination="pagination" />
|
|
53
|
+
:type_loading="options.type_loading" :custom_loading="options.custom_loading"
|
|
54
|
+
:class_table="options.class_table" :attempt="attempt" :pagination="pagination" />
|
|
52
55
|
<div v-else-if="error" class="feedback-container text-center">
|
|
53
56
|
<h4 class="text-danger">Ocorreu um Erro</h4>
|
|
54
57
|
<p class="text-secondary" v-if="attempt">
|
|
@@ -236,10 +239,10 @@
|
|
|
236
239
|
<span @click="col.click ? col.click(item) : null" v-else-if="col.type === 'date'"
|
|
237
240
|
:class="computeClasses(col, item)">
|
|
238
241
|
<span v-if="col.format === 'complete'">{{ new Date(getSubItem(col.field, item)).toLocaleString()
|
|
239
|
-
|
|
242
|
+
}}</span>
|
|
240
243
|
<span v-if="col.format === 'simple'"> {{ new Date(getSubItem(col.field,
|
|
241
244
|
item)).toLocaleDateString()
|
|
242
|
-
|
|
245
|
+
}} </span>
|
|
243
246
|
</span>
|
|
244
247
|
<div @click="col.click ? col.click(item) : null" :class="computeClasses(col, item)"
|
|
245
248
|
v-else-if="col.type === 'html'" v-html="getSubItem(col.field, item)">
|
|
@@ -362,6 +365,7 @@ const props = withDefaults(defineProps<VDataTableProps>(), {
|
|
|
362
365
|
type_button_expand: 'arrow',
|
|
363
366
|
deactivate_search_empty: false,
|
|
364
367
|
disable_request: false,
|
|
368
|
+
disable_search: false
|
|
365
369
|
});
|
|
366
370
|
const options = computed(() => {
|
|
367
371
|
return {
|
|
@@ -370,12 +374,12 @@ const options = computed(() => {
|
|
|
370
374
|
|
|
371
375
|
// Agora SOBRESCREVEMOS as propriedades que precisam de lógica Global/Default
|
|
372
376
|
// (Prioridade para Prop, mas aceita Global)
|
|
373
|
-
|
|
377
|
+
|
|
374
378
|
// === TEXTOS ===
|
|
375
379
|
first_text_page_size: props.first_text_page_size ?? globalConfig.first_text_page_size ?? 'Mostrar',
|
|
376
380
|
second_text_page_size: props.second_text_page_size ?? globalConfig.second_text_page_size ?? 'registros',
|
|
377
381
|
placeholder_search: props.placeholder_search ?? globalConfig.placeholder_search ?? 'Buscar...',
|
|
378
|
-
|
|
382
|
+
|
|
379
383
|
// === CLASSES ===
|
|
380
384
|
class_table: props.class_table || globalConfig.class_table || '',
|
|
381
385
|
class_pagination: props.class_pagination || globalConfig.class_pagination || '',
|
|
@@ -72,7 +72,7 @@ export interface VDataTableProps {
|
|
|
72
72
|
immediate?: boolean;
|
|
73
73
|
placeholder_search?: string;
|
|
74
74
|
deactivate_search_on_clear?: boolean;
|
|
75
|
-
|
|
75
|
+
disable_search?: boolean;
|
|
76
76
|
disable_request?: MaybeRefOrGetter<boolean>;
|
|
77
77
|
}
|
|
78
78
|
export type DataTablePropsWithDefaults = VDataTableProps & {
|
|
@@ -91,6 +91,7 @@ export type DataTablePropsWithDefaults = VDataTableProps & {
|
|
|
91
91
|
placeholder_search: string;
|
|
92
92
|
type_animation_expand: string;
|
|
93
93
|
type_button_expand: string;
|
|
94
|
+
|
|
94
95
|
|
|
95
96
|
// Classes CSS (Strings)
|
|
96
97
|
class_table: string;
|