v-sistec-features 1.9.0 → 1.9.1
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.
|
@@ -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{border:2px solid 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-77d6f2cb]{color:#6c757d;display:block;text-align:center;margin-top:1rem;margin-bottom:1rem}.inputClose[data-v-dc655be7]{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-dc655be7]:hover{cursor:pointer}.selected[data-v-dc655be7]:hover{background-color:#b02a2a!important;color:#fff!important}.table-responsive[data-v-4d91e291]{overflow-x:auto}.state-feedback[data-v-4d91e291]{padding:1rem;text-align:center}.state-feedback.error[data-v-4d91e291]{color:red}.pagination-controls[data-v-4d91e291]{margin-top:1rem;display:flex;justify-content:space-between}.placeholder-img[data-v-4d91e291]{width:40px;height:40px;border-radius:4px}.container-img[data-v-4d91e291]{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-4d91e291]{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-4d91e291]{object-fit:contain;width:100%;height:100%;z-index:2}.container-img.container-img-preview[data-v-4d91e291]{cursor:pointer}.container-img.container-img-preview[data-v-4d91e291]: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-4d91e291]{opacity:.3}.erro-custom-container[data-v-4d91e291]{display:inline-block;padding:.2em .6em;border-radius:4px;background-color:#fff;font-weight:700;text-transform:uppercase}.erro-custom-text[data-v-4d91e291]{font-size:.8em;text-transform:uppercase;font-weight:700}.bg-img[data-v-4d91e291]{background-color:#0000004d;position:absolute;top:0;width:100%;height:100%;z-index:1}.image-preview-container[data-v-4d91e291]{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-4d91e291]{display:block;max-width:250px;max-height:250px;border-radius:4px}.form-check-input[data-v-4d91e291]{border-width:1px!important;border-color:#00000064!important;width:17px;height:17px}[data-bs-theme=dark] .form-check-input[data-v-4d91e291]{border-color:#ffffff5f!important}.ghost-item[data-v-4d91e291]{opacity:.5;background:var(--tblr-primary-lt, #e6f0ff);border-radius:8px}.dragging-item[data-v-4d91e291]{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-4d91e291]{cursor:grab}.column-move-move[data-v-4d91e291]{transition:transform .4s ease}.column-move-enter-active[data-v-4d91e291],.column-move-leave-active[data-v-4d91e291]{transition:all .4s ease}.header-ordering[data-v-4d91e291]{display:flex;justify-content:space-between}
|
|
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{border:2px solid 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-77d6f2cb]{color:#6c757d;display:block;text-align:center;margin-top:1rem;margin-bottom:1rem}.inputClose[data-v-dc655be7]{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-dc655be7]:hover{cursor:pointer}.selected[data-v-dc655be7]:hover{background-color:#b02a2a!important;color:#fff!important}.table-responsive[data-v-7d2b5197]{overflow-x:auto}.state-feedback[data-v-7d2b5197]{padding:1rem;text-align:center}.state-feedback.error[data-v-7d2b5197]{color:red}.pagination-controls[data-v-7d2b5197]{margin-top:1rem;display:flex;justify-content:space-between}.placeholder-img[data-v-7d2b5197]{width:40px;height:40px;border-radius:4px}.container-img[data-v-7d2b5197]{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-7d2b5197]{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-7d2b5197]{object-fit:contain;width:100%;height:100%;z-index:2}.container-img.container-img-preview[data-v-7d2b5197]{cursor:pointer}.container-img.container-img-preview[data-v-7d2b5197]: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-7d2b5197]{opacity:.3}.erro-custom-container[data-v-7d2b5197]{display:inline-block;padding:.2em .6em;border-radius:4px;background-color:#fff;font-weight:700;text-transform:uppercase}.erro-custom-text[data-v-7d2b5197]{font-size:.8em;text-transform:uppercase;font-weight:700}.bg-img[data-v-7d2b5197]{background-color:#0000004d;position:absolute;top:0;width:100%;height:100%;z-index:1}.image-preview-container[data-v-7d2b5197]{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-7d2b5197]{display:block;max-width:250px;max-height:250px;border-radius:4px}.form-check-input[data-v-7d2b5197]{border-width:1px!important;border-color:#00000064!important;width:17px;height:17px}[data-bs-theme=dark] .form-check-input[data-v-7d2b5197]{border-color:#ffffff5f!important}.ghost-item[data-v-7d2b5197]{opacity:.5;background:var(--tblr-primary-lt, #e6f0ff);border-radius:8px}.dragging-item[data-v-7d2b5197]{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-7d2b5197]{cursor:grab}.column-move-move[data-v-7d2b5197]{transition:transform .4s ease}.column-move-enter-active[data-v-7d2b5197],.column-move-leave-active[data-v-7d2b5197]{transition:all .4s ease}.header-ordering[data-v-7d2b5197]{display:flex;justify-content:space-between}
|
package/dist/vDataTable.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { _ as
|
|
3
|
-
import
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as R, useSlots as Ce, inject as Se, onMounted as $e, computed as x, watch as L, resolveComponent as ze, createElementBlock as l, openBlock as n, createCommentVNode as g, createElementVNode as t, withDirectives as le, withKeys as Ve, vModelText as re, Fragment as b, renderList as V, createBlock as U, withCtx as H, createTextVNode as B, toDisplayString as v, normalizeClass as m, withModifiers as ne, ref as k, provide as Be, readonly as Ne, nextTick as Te, renderSlot as O, createVNode as Q, createStaticVNode as je, resolveDynamicComponent as se, unref as f, TransitionGroup as Ae, mergeProps as De, normalizeStyle as Ee } from "vue";
|
|
2
|
+
import { _ as oe, P as Ie } from "./Pagination-DtVDFQ07.js";
|
|
3
|
+
import Oe from "vuedraggable";
|
|
4
|
+
const ie = Symbol("v-datatable-key"), Xt = /* @__PURE__ */ R({
|
|
5
5
|
__name: "VColumn",
|
|
6
6
|
props: {
|
|
7
7
|
field: { default: null },
|
|
@@ -21,60 +21,60 @@ const oe = Symbol("v-datatable-key"), Kt = /* @__PURE__ */ Q({
|
|
|
21
21
|
decreasing_value: { default: "" },
|
|
22
22
|
increasing_value: { default: "" }
|
|
23
23
|
},
|
|
24
|
-
setup(
|
|
25
|
-
const
|
|
26
|
-
if (!
|
|
24
|
+
setup(M) {
|
|
25
|
+
const i = M, C = Ce(), S = Se(ie);
|
|
26
|
+
if (!S)
|
|
27
27
|
throw new Error("VColumn deve ser usado dentro de um VDataTable.");
|
|
28
28
|
const z = ["text", "img", "date", "html"];
|
|
29
|
-
return
|
|
30
|
-
if (
|
|
29
|
+
return $e(() => {
|
|
30
|
+
if (i.field !== null && !i.field)
|
|
31
31
|
throw new Error('A propriedade "field" é obrigatória em VColumn.');
|
|
32
|
-
if (!
|
|
32
|
+
if (!i.header)
|
|
33
33
|
throw new Error('A propriedade "header" é obrigatória em VColumn.');
|
|
34
|
-
if (
|
|
35
|
-
throw new Error(`O tipo "${
|
|
36
|
-
if (
|
|
37
|
-
if (
|
|
34
|
+
if (i.field !== null && !z.includes(i.type))
|
|
35
|
+
throw new Error(`O tipo "${i.type}" não é suportado em VColumn. Tipos suportados: text, img, date, html.`);
|
|
36
|
+
if (i.limite_text) {
|
|
37
|
+
if (i.type !== "text")
|
|
38
38
|
throw new Error('A propriedade "limite_text" só pode ser usada quando o tipo for "text".');
|
|
39
|
-
if (typeof
|
|
39
|
+
if (typeof i.limite_text == "string" && isNaN(Number(i.limite_text)))
|
|
40
40
|
throw new Error('A propriedade "limite_text" deve ser um número quando for uma string.');
|
|
41
|
-
if (isNaN(Number(
|
|
41
|
+
if (isNaN(Number(i.limite_text)) || Number(i.limite_text) <= 0)
|
|
42
42
|
throw new Error('A propriedade "limite_text" deve ser um número maior que 0.');
|
|
43
43
|
}
|
|
44
|
-
|
|
45
|
-
field:
|
|
46
|
-
header:
|
|
47
|
-
type:
|
|
48
|
-
class_column:
|
|
49
|
-
class_row:
|
|
50
|
-
class_item:
|
|
51
|
-
click:
|
|
52
|
-
transform_function:
|
|
53
|
-
locked:
|
|
54
|
-
use_ordering:
|
|
55
|
-
param_ordering:
|
|
56
|
-
decreasing_value:
|
|
57
|
-
increasing_value:
|
|
58
|
-
bodySlot:
|
|
59
|
-
...
|
|
60
|
-
...
|
|
61
|
-
...
|
|
44
|
+
S.addColumn({
|
|
45
|
+
field: i.field,
|
|
46
|
+
header: i.header,
|
|
47
|
+
type: i.type,
|
|
48
|
+
class_column: i.class_column,
|
|
49
|
+
class_row: i.class_row,
|
|
50
|
+
class_item: i.class_item,
|
|
51
|
+
click: i.click,
|
|
52
|
+
transform_function: i.transform_function,
|
|
53
|
+
locked: i.locked,
|
|
54
|
+
use_ordering: i.use_ordering,
|
|
55
|
+
param_ordering: i.param_ordering,
|
|
56
|
+
decreasing_value: i.decreasing_value,
|
|
57
|
+
increasing_value: i.increasing_value,
|
|
58
|
+
bodySlot: C.body,
|
|
59
|
+
...i.type === "text" && { limite_text: Number(i.limite_text) },
|
|
60
|
+
...i.type === "img" && { deactivate_img_preview: i.deactivate_img_preview },
|
|
61
|
+
...i.type === "date" && { format: i.format }
|
|
62
62
|
});
|
|
63
63
|
}), ($, A) => null;
|
|
64
64
|
}
|
|
65
|
-
}),
|
|
65
|
+
}), He = { class: "dropdown d-flex" }, Le = {
|
|
66
66
|
key: 0,
|
|
67
67
|
href: "#",
|
|
68
68
|
class: "btn dropdown-toggle",
|
|
69
69
|
"data-bs-toggle": "dropdown",
|
|
70
70
|
title: "Pesquisas Prédefinidas"
|
|
71
|
-
},
|
|
71
|
+
}, Pe = { class: "input-icon" }, qe = {
|
|
72
72
|
key: 1,
|
|
73
73
|
class: "input-icon-addon"
|
|
74
|
-
},
|
|
74
|
+
}, Ue = {
|
|
75
75
|
key: 1,
|
|
76
76
|
class: "dropdown-menu"
|
|
77
|
-
},
|
|
77
|
+
}, Fe = ["onClick"], Ke = ["onClick"], Ye = /* @__PURE__ */ R({
|
|
78
78
|
__name: "SearchDatatable",
|
|
79
79
|
props: {
|
|
80
80
|
search: {},
|
|
@@ -83,38 +83,38 @@ const oe = Symbol("v-datatable-key"), Kt = /* @__PURE__ */ Q({
|
|
|
83
83
|
item_use: { default: () => [1, 2] }
|
|
84
84
|
},
|
|
85
85
|
emits: ["update:search", "update:filter", "search"],
|
|
86
|
-
setup(
|
|
87
|
-
const
|
|
88
|
-
get: () =>
|
|
89
|
-
set: (
|
|
90
|
-
}), $ =
|
|
91
|
-
get: () =>
|
|
92
|
-
set: (
|
|
86
|
+
setup(M, { emit: i }) {
|
|
87
|
+
const C = M, S = i, z = x({
|
|
88
|
+
get: () => C.search,
|
|
89
|
+
set: (c) => S("update:search", c)
|
|
90
|
+
}), $ = x({
|
|
91
|
+
get: () => C.filter,
|
|
92
|
+
set: (c) => S("update:filter", c)
|
|
93
93
|
});
|
|
94
94
|
L($, () => {
|
|
95
|
-
|
|
95
|
+
S("search");
|
|
96
96
|
}), L(
|
|
97
|
-
() =>
|
|
98
|
-
(
|
|
99
|
-
Array.isArray(
|
|
100
|
-
|
|
101
|
-
}),
|
|
97
|
+
() => C.list_filter,
|
|
98
|
+
(c) => {
|
|
99
|
+
Array.isArray(c) ? (c.forEach((d, h) => {
|
|
100
|
+
d?.type === 1 && !d.to && console.error(`Filtro na posição ${h} é do tipo 'router-link' mas não possui a propriedade 'to'.`);
|
|
101
|
+
}), C.item_use.includes(2) && c.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.");
|
|
102
102
|
},
|
|
103
103
|
{ immediate: !0, deep: !0 }
|
|
104
104
|
);
|
|
105
|
-
function A(
|
|
106
|
-
$.value ===
|
|
105
|
+
function A(c) {
|
|
106
|
+
$.value === c ? $.value = "" : $.value = c;
|
|
107
107
|
}
|
|
108
108
|
function I() {
|
|
109
|
-
z.value = "",
|
|
109
|
+
z.value = "", S("search");
|
|
110
110
|
}
|
|
111
|
-
function o(
|
|
112
|
-
|
|
111
|
+
function o(c) {
|
|
112
|
+
c.click && typeof c.click == "function" ? c.click() : console.error("O filtro selecionado não possui uma função de clique válida.");
|
|
113
113
|
}
|
|
114
|
-
return (
|
|
115
|
-
const h =
|
|
116
|
-
return n(), l("div",
|
|
117
|
-
|
|
114
|
+
return (c, d) => {
|
|
115
|
+
const h = ze("router-link");
|
|
116
|
+
return n(), l("div", He, [
|
|
117
|
+
M.item_use.includes(2) ? (n(), l("a", Le, [...d[3] || (d[3] = [
|
|
118
118
|
t("svg", {
|
|
119
119
|
xmlns: "http://www.w3.org/2000/svg",
|
|
120
120
|
class: "icon icon-tabler icon-tabler-filter",
|
|
@@ -135,23 +135,23 @@ const oe = Symbol("v-datatable-key"), Kt = /* @__PURE__ */ Q({
|
|
|
135
135
|
t("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" })
|
|
136
136
|
], -1)
|
|
137
137
|
])])) : g("", !0),
|
|
138
|
-
t("div",
|
|
139
|
-
|
|
138
|
+
t("div", Pe, [
|
|
139
|
+
le(t("input", {
|
|
140
140
|
type: "text",
|
|
141
141
|
class: "form-control ms-1",
|
|
142
142
|
id: "inputSearchLaudos",
|
|
143
|
-
"onUpdate:modelValue":
|
|
144
|
-
onKeyup:
|
|
143
|
+
"onUpdate:modelValue": d[0] || (d[0] = (u) => z.value = u),
|
|
144
|
+
onKeyup: d[1] || (d[1] = Ve((u) => c.$emit("search"), ["enter"])),
|
|
145
145
|
placeholder: "Buscar..."
|
|
146
146
|
}, null, 544), [
|
|
147
|
-
[
|
|
147
|
+
[re, z.value]
|
|
148
148
|
]),
|
|
149
149
|
z.value ? (n(), l("span", {
|
|
150
150
|
key: 0,
|
|
151
|
-
onClick:
|
|
151
|
+
onClick: d[2] || (d[2] = (u) => I()),
|
|
152
152
|
class: "inputClose",
|
|
153
153
|
title: "Limpar pesquisa"
|
|
154
|
-
}, [...
|
|
154
|
+
}, [...d[4] || (d[4] = [
|
|
155
155
|
t("svg", {
|
|
156
156
|
xmlns: "http://www.w3.org/2000/svg",
|
|
157
157
|
width: "24",
|
|
@@ -172,7 +172,7 @@ const oe = Symbol("v-datatable-key"), Kt = /* @__PURE__ */ Q({
|
|
|
172
172
|
t("path", { d: "M18 6l-12 12" }),
|
|
173
173
|
t("path", { d: "M6 6l12 12" })
|
|
174
174
|
], -1)
|
|
175
|
-
])])) : (n(), l("span",
|
|
175
|
+
])])) : (n(), l("span", qe, [...d[5] || (d[5] = [
|
|
176
176
|
t("svg", {
|
|
177
177
|
xmlns: "http://www.w3.org/2000/svg",
|
|
178
178
|
width: "24",
|
|
@@ -195,8 +195,8 @@ const oe = Symbol("v-datatable-key"), Kt = /* @__PURE__ */ Q({
|
|
|
195
195
|
], -1)
|
|
196
196
|
])]))
|
|
197
197
|
]),
|
|
198
|
-
|
|
199
|
-
(n(!0), l(
|
|
198
|
+
M.item_use.includes(2) ? (n(), l("div", Ue, [
|
|
199
|
+
(n(!0), l(b, null, V(C.list_filter, (u, T) => (n(), l(b, { key: T }, [
|
|
200
200
|
"type" in u && u.type === 1 && (!("visible" in u) || u.visible) ? (n(), U(h, {
|
|
201
201
|
key: 0,
|
|
202
202
|
to: u?.to,
|
|
@@ -208,86 +208,86 @@ const oe = Symbol("v-datatable-key"), Kt = /* @__PURE__ */ Q({
|
|
|
208
208
|
_: 2
|
|
209
209
|
}, 1032, ["to"])) : (!("type" in u) || u.type === 2) && (!("visible" in u) || u.visible) ? (n(), l("a", {
|
|
210
210
|
key: 1,
|
|
211
|
-
onClick:
|
|
211
|
+
onClick: ne((_) => A(String(u.value)), ["prevent"]),
|
|
212
212
|
class: m(["dropdown-item cursor-pointer", $.value === u?.value ? "bg-info text-dark selected" : ""])
|
|
213
|
-
}, v(u.text), 11,
|
|
213
|
+
}, v(u.text), 11, Fe)) : (!("type" in u) || u.type === 3) && (!("visible" in u) || u.visible) ? (n(), l("a", {
|
|
214
214
|
key: 2,
|
|
215
|
-
onClick:
|
|
215
|
+
onClick: ne((_) => o(u), ["prevent"]),
|
|
216
216
|
class: m(["dropdown-item cursor-pointer", u?.active ? "bg-info text-dark selected" : ""])
|
|
217
|
-
}, v(u.text), 11,
|
|
217
|
+
}, v(u.text), 11, Ke)) : g("", !0)
|
|
218
218
|
], 64))), 128))
|
|
219
219
|
])) : g("", !0)
|
|
220
220
|
]);
|
|
221
221
|
};
|
|
222
222
|
}
|
|
223
|
-
}),
|
|
224
|
-
function
|
|
225
|
-
const
|
|
223
|
+
}), Xe = /* @__PURE__ */ oe(Ye, [["__scopeId", "data-v-dc655be7"]]);
|
|
224
|
+
function Ge() {
|
|
225
|
+
const M = k(!1), i = k(""), C = k(0), S = k(0), z = x(() => ({
|
|
226
226
|
position: "fixed",
|
|
227
227
|
zIndex: 9999,
|
|
228
228
|
pointerEvents: "none",
|
|
229
|
-
top: `${
|
|
230
|
-
left: `${
|
|
229
|
+
top: `${S.value + 15}px`,
|
|
230
|
+
left: `${C.value + 15}px`
|
|
231
231
|
}));
|
|
232
|
-
function $(
|
|
233
|
-
const
|
|
234
|
-
let
|
|
235
|
-
|
|
232
|
+
function $(c) {
|
|
233
|
+
const d = c.clientX, h = c.clientY, u = window.innerHeight, T = 15, _ = 300;
|
|
234
|
+
let w = h + T;
|
|
235
|
+
w + _ > u && (w = h - _ - T, w < 0 && (w = 0)), C.value = d, S.value = w;
|
|
236
236
|
}
|
|
237
|
-
function A(
|
|
238
|
-
|
|
237
|
+
function A(c, d) {
|
|
238
|
+
M.value = !0, i.value = d, $(c);
|
|
239
239
|
}
|
|
240
|
-
function I(
|
|
241
|
-
|
|
240
|
+
function I(c) {
|
|
241
|
+
M.value && $(c);
|
|
242
242
|
}
|
|
243
243
|
function o() {
|
|
244
|
-
|
|
244
|
+
M.value = !1;
|
|
245
245
|
}
|
|
246
246
|
return {
|
|
247
|
-
isHovering:
|
|
248
|
-
previewSrc:
|
|
247
|
+
isHovering: M,
|
|
248
|
+
previewSrc: i,
|
|
249
249
|
previewStyle: z,
|
|
250
250
|
handleMouseOver: A,
|
|
251
251
|
handleMouseMove: I,
|
|
252
252
|
handleMouseLeave: o
|
|
253
253
|
};
|
|
254
254
|
}
|
|
255
|
-
const
|
|
255
|
+
const We = { class: "text-secondary" }, Je = { class: "mx-2 d-inline-block" }, Qe = {
|
|
256
256
|
key: 0,
|
|
257
257
|
class: "alert alert-cyan d-flex justify-content-center align-items-center py-2",
|
|
258
258
|
role: "alert"
|
|
259
|
-
},
|
|
259
|
+
}, Re = { class: "alert-title m-0" }, Ze = { class: "badge bg-azure text-azure-fg" }, et = { key: 0 }, tt = { key: 2 }, at = {
|
|
260
260
|
key: 5,
|
|
261
261
|
class: "text-danger erro-custom-container"
|
|
262
|
-
},
|
|
262
|
+
}, nt = { class: "badge bg-orange text-white erro-custom-text" }, st = { key: 0 }, lt = { key: 2 }, rt = {
|
|
263
263
|
key: 5,
|
|
264
264
|
class: "text-danger erro-custom-container"
|
|
265
|
-
},
|
|
265
|
+
}, ot = { class: "badge bg-orange text-white erro-custom-text" }, it = ["colspan"], dt = {
|
|
266
266
|
key: 0,
|
|
267
267
|
class: "d-flex flex-column justify-content-center align-items-center",
|
|
268
268
|
style: { height: "6rem" }
|
|
269
|
-
},
|
|
269
|
+
}, ut = {
|
|
270
270
|
key: 1,
|
|
271
271
|
style: { height: "3rem" }
|
|
272
|
-
},
|
|
272
|
+
}, pt = {
|
|
273
273
|
key: 2,
|
|
274
274
|
class: "p-3 text-center text-secondary"
|
|
275
|
-
},
|
|
275
|
+
}, ct = {
|
|
276
276
|
key: 1,
|
|
277
277
|
class: "feedback-container text-center"
|
|
278
|
-
},
|
|
278
|
+
}, mt = {
|
|
279
279
|
key: 0,
|
|
280
280
|
class: "text-secondary"
|
|
281
|
-
},
|
|
281
|
+
}, vt = {
|
|
282
282
|
key: 1,
|
|
283
283
|
class: "text-secondary"
|
|
284
|
-
},
|
|
284
|
+
}, _t = {
|
|
285
285
|
key: 2,
|
|
286
286
|
class: "table-responsive"
|
|
287
|
-
},
|
|
287
|
+
}, ht = { key: 0 }, ft = {
|
|
288
288
|
key: 0,
|
|
289
289
|
class: "w-1"
|
|
290
|
-
},
|
|
290
|
+
}, gt = { class: "header-ordering" }, kt = ["onClick"], yt = {
|
|
291
291
|
key: 0,
|
|
292
292
|
xmlns: "http://www.w3.org/2000/svg",
|
|
293
293
|
width: "16",
|
|
@@ -298,7 +298,7 @@ const Ge = { class: "text-secondary" }, We = { class: "mx-2 d-inline-block" }, J
|
|
|
298
298
|
"stroke-width": "2",
|
|
299
299
|
"stroke-linecap": "round",
|
|
300
300
|
"stroke-linejoin": "round"
|
|
301
|
-
},
|
|
301
|
+
}, wt = {
|
|
302
302
|
key: 1,
|
|
303
303
|
xmlns: "http://www.w3.org/2000/svg",
|
|
304
304
|
width: "16",
|
|
@@ -309,7 +309,7 @@ const Ge = { class: "text-secondary" }, We = { class: "mx-2 d-inline-block" }, J
|
|
|
309
309
|
"stroke-width": "2",
|
|
310
310
|
"stroke-linecap": "round",
|
|
311
311
|
"stroke-linejoin": "round"
|
|
312
|
-
},
|
|
312
|
+
}, bt = {
|
|
313
313
|
key: 2,
|
|
314
314
|
xmlns: "http://www.w3.org/2000/svg",
|
|
315
315
|
width: "16",
|
|
@@ -320,7 +320,7 @@ const Ge = { class: "text-secondary" }, We = { class: "mx-2 d-inline-block" }, J
|
|
|
320
320
|
"stroke-width": "2",
|
|
321
321
|
"stroke-linecap": "round",
|
|
322
322
|
"stroke-linejoin": "round"
|
|
323
|
-
},
|
|
323
|
+
}, xt = { class: "header-ordering" }, Mt = ["onClick"], Ct = {
|
|
324
324
|
key: 0,
|
|
325
325
|
xmlns: "http://www.w3.org/2000/svg",
|
|
326
326
|
width: "16",
|
|
@@ -331,7 +331,7 @@ const Ge = { class: "text-secondary" }, We = { class: "mx-2 d-inline-block" }, J
|
|
|
331
331
|
"stroke-width": "2",
|
|
332
332
|
"stroke-linecap": "round",
|
|
333
333
|
"stroke-linejoin": "round"
|
|
334
|
-
},
|
|
334
|
+
}, St = {
|
|
335
335
|
key: 1,
|
|
336
336
|
xmlns: "http://www.w3.org/2000/svg",
|
|
337
337
|
width: "16",
|
|
@@ -342,7 +342,7 @@ const Ge = { class: "text-secondary" }, We = { class: "mx-2 d-inline-block" }, J
|
|
|
342
342
|
"stroke-width": "2",
|
|
343
343
|
"stroke-linecap": "round",
|
|
344
344
|
"stroke-linejoin": "round"
|
|
345
|
-
},
|
|
345
|
+
}, $t = {
|
|
346
346
|
key: 2,
|
|
347
347
|
xmlns: "http://www.w3.org/2000/svg",
|
|
348
348
|
width: "16",
|
|
@@ -353,16 +353,16 @@ const Ge = { class: "text-secondary" }, We = { class: "mx-2 d-inline-block" }, J
|
|
|
353
353
|
"stroke-width": "2",
|
|
354
354
|
"stroke-linecap": "round",
|
|
355
355
|
"stroke-linejoin": "round"
|
|
356
|
-
},
|
|
356
|
+
}, zt = {
|
|
357
357
|
key: 0,
|
|
358
358
|
class: "w-1"
|
|
359
|
-
},
|
|
359
|
+
}, Vt = ["checked", "onChange"], Bt = ["onClick"], Nt = ["onClick"], Tt = { key: 0 }, jt = { key: 1 }, At = ["onClick", "innerHTML"], Dt = ["onClick"], Et = ["src"], It = ["src"], Ot = {
|
|
360
360
|
key: 5,
|
|
361
361
|
class: "text-danger erro-custom-container"
|
|
362
|
-
},
|
|
363
|
-
key:
|
|
362
|
+
}, Ht = { class: "badge bg-orange text-white erro-custom-text" }, Lt = { key: 1 }, Pt = {
|
|
363
|
+
key: 2,
|
|
364
364
|
class: "text-center p-4 text-secondary"
|
|
365
|
-
},
|
|
365
|
+
}, qt = ["src"], Ut = /* @__PURE__ */ R({
|
|
366
366
|
__name: "VDataTable",
|
|
367
367
|
props: {
|
|
368
368
|
fetch: {},
|
|
@@ -396,15 +396,15 @@ const Ge = { class: "text-secondary" }, We = { class: "mx-2 d-inline-block" }, J
|
|
|
396
396
|
deactivate_selected_info: { type: Boolean, default: !1 },
|
|
397
397
|
immediate: { type: Boolean, default: !0 }
|
|
398
398
|
},
|
|
399
|
-
setup(
|
|
399
|
+
setup(M, { expose: i }) {
|
|
400
400
|
const {
|
|
401
|
-
isHovering:
|
|
402
|
-
previewSrc:
|
|
401
|
+
isHovering: C,
|
|
402
|
+
previewSrc: S,
|
|
403
403
|
previewStyle: z,
|
|
404
404
|
handleMouseOver: $,
|
|
405
405
|
handleMouseMove: A,
|
|
406
406
|
handleMouseLeave: I
|
|
407
|
-
} =
|
|
407
|
+
} = Ge(), o = M, c = k(!1), d = k({}), h = k([]), u = k([]), T = k(0), _ = k([]), w = k(null), F = k(!1), K = k(null), p = k({
|
|
408
408
|
current_page: o.page_starts_at,
|
|
409
409
|
// pagina atual
|
|
410
410
|
count: 0,
|
|
@@ -415,7 +415,7 @@ const Ge = { class: "text-secondary" }, We = { class: "mx-2 d-inline-block" }, J
|
|
|
415
415
|
// termo de busca
|
|
416
416
|
filter: ""
|
|
417
417
|
// filtro selecionado
|
|
418
|
-
}),
|
|
418
|
+
}), de = x(() => (p.value.current_page = o.page_starts_at, o.endpoint)), { data: ue, pending: pe, error: Y, execute: ce, attempt: D } = o.fetch(de, {
|
|
419
419
|
params: () => o.deactivate_default_params ? o.add_params && typeof o.add_params == "function" ? {
|
|
420
420
|
...o.add_params(),
|
|
421
421
|
...P.value
|
|
@@ -423,11 +423,11 @@ const Ge = { class: "text-secondary" }, We = { class: "mx-2 d-inline-block" }, J
|
|
|
423
423
|
...o.add_params,
|
|
424
424
|
...P.value
|
|
425
425
|
} : o.add_params && typeof o.add_params == "function" ? {
|
|
426
|
-
...
|
|
426
|
+
...W.value,
|
|
427
427
|
...o.add_params(),
|
|
428
428
|
...P.value
|
|
429
429
|
} : {
|
|
430
|
-
...
|
|
430
|
+
...W.value,
|
|
431
431
|
...o.add_params,
|
|
432
432
|
...P.value
|
|
433
433
|
},
|
|
@@ -435,57 +435,57 @@ const Ge = { class: "text-secondary" }, We = { class: "mx-2 d-inline-block" }, J
|
|
|
435
435
|
retryDelay: o.retry_delay,
|
|
436
436
|
paramsReactives: !1,
|
|
437
437
|
immediate: !1
|
|
438
|
-
}, o.fetch_name),
|
|
439
|
-
() =>
|
|
440
|
-
),
|
|
438
|
+
}, o.fetch_name), X = x(
|
|
439
|
+
() => h.value.filter((r) => r.locked)
|
|
440
|
+
), G = x({
|
|
441
441
|
get() {
|
|
442
|
-
return
|
|
442
|
+
return h.value.filter((r) => !r.locked);
|
|
443
443
|
},
|
|
444
444
|
set(r) {
|
|
445
|
-
const e =
|
|
446
|
-
|
|
445
|
+
const e = X.value;
|
|
446
|
+
h.value = [...r, ...e];
|
|
447
447
|
}
|
|
448
|
-
}),
|
|
448
|
+
}), me = x(() => [...G.value, ...X.value]), ve = x(() => {
|
|
449
449
|
let r = [1];
|
|
450
450
|
return o.list_filter.length > 0 && r.push(2), r;
|
|
451
|
-
}), P =
|
|
451
|
+
}), P = x(() => {
|
|
452
452
|
const r = {};
|
|
453
|
-
for (const e of
|
|
453
|
+
for (const e of h.value)
|
|
454
454
|
if (e.use_ordering)
|
|
455
|
-
if (
|
|
455
|
+
if (d.value[e.header] === "increasing")
|
|
456
456
|
r[e.param_ordering] = e.increasing_value || "increasing";
|
|
457
|
-
else if (
|
|
457
|
+
else if (d.value[e.header] === "decreasing")
|
|
458
458
|
r[e.param_ordering] = e.decreasing_value || "decreasing";
|
|
459
459
|
else
|
|
460
460
|
continue;
|
|
461
461
|
else
|
|
462
462
|
continue;
|
|
463
463
|
return r;
|
|
464
|
-
}),
|
|
464
|
+
}), W = x(() => ({
|
|
465
465
|
[o.page_param_name]: p.value.current_page + 1,
|
|
466
466
|
[o.page_size_param_name]: p.value.limit_per_page,
|
|
467
467
|
[o.search_param_name]: p.value.search || "",
|
|
468
468
|
[o.filter_param_name]: p.value.filter || ""
|
|
469
|
-
})),
|
|
469
|
+
})), _e = x(() => pe.value || F.value), q = (r) => {
|
|
470
470
|
const e = o.item_key;
|
|
471
471
|
return _.value.some((a) => a[e] === r[e]);
|
|
472
|
-
},
|
|
473
|
-
if (!
|
|
474
|
-
const r =
|
|
475
|
-
return r === 0 ? !1 : r ===
|
|
476
|
-
}),
|
|
477
|
-
L([
|
|
478
|
-
|
|
472
|
+
}, Z = x(() => {
|
|
473
|
+
if (!u.value.length) return !1;
|
|
474
|
+
const r = u.value.filter((e) => q(e)).length;
|
|
475
|
+
return r === 0 ? !1 : r === u.value.length ? !0 : "indeterminate";
|
|
476
|
+
}), he = x(() => _.value.length > 0);
|
|
477
|
+
L([Z, w], ([r]) => {
|
|
478
|
+
w.value && (r === "indeterminate" ? (w.value.checked = !1, w.value.indeterminate = !0) : (w.value.checked = r, w.value.indeterminate = !1));
|
|
479
479
|
}, {
|
|
480
480
|
immediate: !0,
|
|
481
481
|
flush: "post"
|
|
482
|
-
}), L(
|
|
483
|
-
r ? (
|
|
482
|
+
}), L(ue, (r) => {
|
|
483
|
+
r ? (u.value = r[o.data_key] || [], T.value = r[o.total_key] || 0, p.value.count = T.value) : (u.value = [], T.value = 0);
|
|
484
484
|
}, { immediate: !0 });
|
|
485
|
-
function
|
|
486
|
-
const r =
|
|
485
|
+
function fe() {
|
|
486
|
+
const r = u.value;
|
|
487
487
|
if (!r.length) return;
|
|
488
|
-
const e =
|
|
488
|
+
const e = Z.value;
|
|
489
489
|
if (e === !0 || e === "indeterminate") {
|
|
490
490
|
const a = r.map((s) => s[o.item_key]);
|
|
491
491
|
_.value = _.value.filter(
|
|
@@ -496,73 +496,73 @@ const Ge = { class: "text-secondary" }, We = { class: "mx-2 d-inline-block" }, J
|
|
|
496
496
|
q(a) || _.value.push(a);
|
|
497
497
|
});
|
|
498
498
|
}
|
|
499
|
-
function
|
|
499
|
+
function ge(r) {
|
|
500
500
|
const e = o.item_key, a = _.value.findIndex((s) => s[e] === r[e]);
|
|
501
501
|
a > -1 ? _.value.splice(a, 1) : _.value.push(r);
|
|
502
502
|
}
|
|
503
|
-
function
|
|
504
|
-
|
|
503
|
+
function ke(r) {
|
|
504
|
+
h.value.push(r);
|
|
505
505
|
}
|
|
506
|
-
|
|
506
|
+
Be(ie, { addColumn: ke });
|
|
507
507
|
function E() {
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
}, o.min_loading_delay),
|
|
508
|
+
c.value || (c.value = !0), K.value && clearTimeout(K.value), F.value = !0, K.value = setTimeout(() => {
|
|
509
|
+
F.value = !1;
|
|
510
|
+
}, o.min_loading_delay), ce();
|
|
511
511
|
}
|
|
512
|
-
function
|
|
512
|
+
function N() {
|
|
513
513
|
p.value.current_page = o.page_starts_at, E();
|
|
514
514
|
}
|
|
515
|
-
const
|
|
515
|
+
const ee = (r) => {
|
|
516
516
|
const e = r.target, a = parseInt(e.value, 10);
|
|
517
|
-
a > 0 && (p.value.limit_per_page = a, p.value.limit_per_page = a,
|
|
517
|
+
a > 0 && (p.value.limit_per_page = a, p.value.limit_per_page = a, N());
|
|
518
518
|
};
|
|
519
519
|
function j(r, e, a = null) {
|
|
520
520
|
if (!r) return e;
|
|
521
521
|
const s = r.split(".");
|
|
522
|
-
let
|
|
523
|
-
for (const
|
|
524
|
-
|
|
525
|
-
return a && (
|
|
522
|
+
let y = e;
|
|
523
|
+
for (const J of s)
|
|
524
|
+
y && typeof y == "object" && J in y ? y = y[J] : console.error(`Caminho inválido ou valor nulo em: ${r} na parte ${J}`);
|
|
525
|
+
return a && (y = a(y)), y;
|
|
526
526
|
}
|
|
527
|
-
function
|
|
527
|
+
function ye(r, e) {
|
|
528
528
|
return e && typeof e == "number" && e > 0 && typeof r == "string" && r.length > e ? r.substring(0, e) + "..." : r;
|
|
529
529
|
}
|
|
530
|
-
function
|
|
531
|
-
for (const a in
|
|
532
|
-
a !== r && (
|
|
533
|
-
const e =
|
|
534
|
-
e === "none" ?
|
|
535
|
-
}
|
|
536
|
-
function ye(r) {
|
|
537
|
-
r > 0 ? (p.value.limit_per_page = r, T()) : console.warn("O limite deve ser um número maior que zero.");
|
|
530
|
+
function te(r) {
|
|
531
|
+
for (const a in d.value)
|
|
532
|
+
a !== r && (d.value[a] = "none");
|
|
533
|
+
const e = d.value[r] || "none";
|
|
534
|
+
e === "none" ? d.value[r] = "increasing" : e === "increasing" ? d.value[r] = "decreasing" : d.value[r] = "none", N();
|
|
538
535
|
}
|
|
539
536
|
function we(r) {
|
|
540
|
-
p.value.
|
|
537
|
+
r > 0 ? (p.value.limit_per_page = r, N()) : console.warn("O limite deve ser um número maior que zero.");
|
|
541
538
|
}
|
|
542
539
|
function be(r) {
|
|
543
|
-
p.value.
|
|
540
|
+
p.value.search = r, N();
|
|
544
541
|
}
|
|
545
542
|
function xe(r) {
|
|
543
|
+
p.value.filter = r, N();
|
|
544
|
+
}
|
|
545
|
+
function Me(r) {
|
|
546
546
|
r >= 0 && r <= Math.ceil(p.value.count / p.value.limit_per_page) ? (p.value.current_page = r, E()) : console.warn("Número de página inválido.");
|
|
547
547
|
}
|
|
548
|
-
|
|
548
|
+
i({
|
|
549
549
|
execute: E,
|
|
550
|
-
reSearch:
|
|
551
|
-
pagination:
|
|
552
|
-
set_limit_per_page:
|
|
553
|
-
set_search:
|
|
554
|
-
set_filter:
|
|
555
|
-
set_page:
|
|
556
|
-
default_params:
|
|
550
|
+
reSearch: N,
|
|
551
|
+
pagination: Ne(p),
|
|
552
|
+
set_limit_per_page: we,
|
|
553
|
+
set_search: be,
|
|
554
|
+
set_filter: xe,
|
|
555
|
+
set_page: Me,
|
|
556
|
+
default_params: W,
|
|
557
557
|
selected_items: _,
|
|
558
|
-
atLeastOneSelected:
|
|
558
|
+
atLeastOneSelected: he
|
|
559
559
|
});
|
|
560
|
-
const
|
|
560
|
+
const ae = k(!1);
|
|
561
561
|
return L(
|
|
562
562
|
() => o.add_params,
|
|
563
563
|
() => {
|
|
564
|
-
|
|
565
|
-
|
|
564
|
+
ae.value ? N() : (ae.value = !0, Te(() => {
|
|
565
|
+
N();
|
|
566
566
|
}));
|
|
567
567
|
},
|
|
568
568
|
{ deep: !0, immediate: o.immediate }
|
|
@@ -578,15 +578,15 @@ const Ge = { class: "text-secondary" }, We = { class: "mx-2 d-inline-block" }, J
|
|
|
578
578
|
class: m([o.class_filters, "d-flex justify-content-between align-items-start"])
|
|
579
579
|
}, [
|
|
580
580
|
O(r.$slots, "pageSize", {
|
|
581
|
-
changePageSize:
|
|
581
|
+
changePageSize: ee,
|
|
582
582
|
limit_per_page: p.value.limit_per_page
|
|
583
583
|
}, () => [
|
|
584
|
-
t("div",
|
|
584
|
+
t("div", We, [
|
|
585
585
|
B(v(o.first_text_page_size) + " ", 1),
|
|
586
|
-
t("div",
|
|
587
|
-
|
|
586
|
+
t("div", Je, [
|
|
587
|
+
le(t("input", {
|
|
588
588
|
class: "form-control form-control-sm",
|
|
589
|
-
onChange:
|
|
589
|
+
onChange: ee,
|
|
590
590
|
"onUpdate:modelValue": e[0] || (e[0] = (a) => p.value.limit_per_page = a),
|
|
591
591
|
min: "1",
|
|
592
592
|
size: "3",
|
|
@@ -594,7 +594,7 @@ const Ge = { class: "text-secondary" }, We = { class: "mx-2 d-inline-block" }, J
|
|
|
594
594
|
type: "number"
|
|
595
595
|
}, null, 544), [
|
|
596
596
|
[
|
|
597
|
-
|
|
597
|
+
re,
|
|
598
598
|
p.value.limit_per_page,
|
|
599
599
|
void 0,
|
|
600
600
|
{ lazy: !0 }
|
|
@@ -605,64 +605,64 @@ const Ge = { class: "text-secondary" }, We = { class: "mx-2 d-inline-block" }, J
|
|
|
605
605
|
])
|
|
606
606
|
], !0),
|
|
607
607
|
O(r.$slots, "fieldMiddle", {}, void 0, !0),
|
|
608
|
-
|
|
608
|
+
Q(Xe, {
|
|
609
609
|
search: p.value.search,
|
|
610
610
|
"onUpdate:search": e[1] || (e[1] = (a) => p.value.search = a),
|
|
611
611
|
filter: p.value.filter,
|
|
612
612
|
"onUpdate:filter": e[2] || (e[2] = (a) => p.value.filter = a),
|
|
613
613
|
list_filter: o.list_filter,
|
|
614
|
-
item_use:
|
|
615
|
-
onSearch:
|
|
614
|
+
item_use: ve.value,
|
|
615
|
+
onSearch: N
|
|
616
616
|
}, null, 8, ["search", "filter", "list_filter", "item_use"])
|
|
617
617
|
], 2),
|
|
618
618
|
O(r.$slots, "item-selected-info", {
|
|
619
619
|
selected_items: _.value,
|
|
620
620
|
clearSelection: () => _.value = []
|
|
621
621
|
}, () => [
|
|
622
|
-
o.use_checkbox && _.value.length > 0 && !o.deactivate_selected_info ? (n(), l("div",
|
|
623
|
-
t("h4",
|
|
622
|
+
o.use_checkbox && _.value.length > 0 && !o.deactivate_selected_info ? (n(), l("div", Qe, [
|
|
623
|
+
t("h4", Re, [
|
|
624
624
|
e[5] || (e[5] = t("strong", null, "Itens Selecionados:", -1)),
|
|
625
625
|
e[6] || (e[6] = B()),
|
|
626
|
-
t("span",
|
|
626
|
+
t("span", Ze, v(_.value.length), 1)
|
|
627
627
|
]),
|
|
628
628
|
t("a", {
|
|
629
629
|
class: "cursor-pointer",
|
|
630
630
|
onClick: e[3] || (e[3] = (a) => _.value = [])
|
|
631
631
|
}, [...e[7] || (e[7] = [
|
|
632
|
-
|
|
632
|
+
je('<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-7d2b5197><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-7d2b5197></path><path d="M4 7l16 0" data-v-7d2b5197></path><path d="M10 11l0 6" data-v-7d2b5197></path><path d="M14 11l0 6" data-v-7d2b5197></path><path d="M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2 -2l1 -12" data-v-7d2b5197></path><path d="M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3" data-v-7d2b5197></path></svg> Limpar Seleção', 2)
|
|
633
633
|
])])
|
|
634
634
|
])) : g("", !0)
|
|
635
635
|
], !0),
|
|
636
|
-
|
|
637
|
-
o.custom_loading ? (n(), U(
|
|
636
|
+
_e.value ? (n(), l(b, { key: 0 }, [
|
|
637
|
+
o.custom_loading ? (n(), U(se(o.custom_loading), { key: 0 })) : (n(), l("table", {
|
|
638
638
|
key: 1,
|
|
639
639
|
class: m(["table table-vcenter table-selectable", o.class_table])
|
|
640
640
|
}, [
|
|
641
641
|
t("thead", null, [
|
|
642
642
|
t("tr", null, [
|
|
643
|
-
(n(!0), l(
|
|
643
|
+
(n(!0), l(b, null, V(h.value, (a) => (n(), l("th", {
|
|
644
644
|
key: a.field || a.header,
|
|
645
645
|
class: m(a.class_column)
|
|
646
646
|
}, v(a.header), 3))), 128))
|
|
647
647
|
])
|
|
648
648
|
]),
|
|
649
649
|
t("tbody", null, [
|
|
650
|
-
o.type_loading === "placeholder" ? (n(!0), l(
|
|
650
|
+
o.type_loading === "placeholder" ? (n(!0), l(b, { key: 0 }, V(p.value.limit_per_page, (a) => (n(), l("tr", {
|
|
651
651
|
key: "placeholder-" + a,
|
|
652
652
|
class: "placeholder-glow"
|
|
653
653
|
}, [
|
|
654
|
-
(n(!0), l(
|
|
654
|
+
(n(!0), l(b, null, V(h.value, (s) => (n(), l("td", {
|
|
655
655
|
key: s.field || s.header,
|
|
656
656
|
class: m(s.class_row)
|
|
657
657
|
}, [
|
|
658
|
-
s.bodySlot ? (n(), l("span",
|
|
658
|
+
s.bodySlot ? (n(), l("span", et, [...e[8] || (e[8] = [
|
|
659
659
|
t("span", { class: "placeholder col-8" }, null, -1)
|
|
660
660
|
])])) : s.type === "text" ? (n(), l("span", {
|
|
661
661
|
key: 1,
|
|
662
662
|
class: m(s.class_item)
|
|
663
663
|
}, [...e[9] || (e[9] = [
|
|
664
664
|
t("span", { class: "placeholder col-8" }, null, -1)
|
|
665
|
-
])], 2)) : s.type === "date" ? (n(), l("span",
|
|
665
|
+
])], 2)) : s.type === "date" ? (n(), l("span", tt, [...e[10] || (e[10] = [
|
|
666
666
|
t("span", { class: "placeholder col-9" }, null, -1)
|
|
667
667
|
])])) : s.type === "html" ? (n(), l("div", {
|
|
668
668
|
key: 3,
|
|
@@ -674,20 +674,20 @@ const Ge = { class: "text-secondary" }, We = { class: "mx-2 d-inline-block" }, J
|
|
|
674
674
|
class: m(s.class_item)
|
|
675
675
|
}, [...e[12] || (e[12] = [
|
|
676
676
|
t("div", { class: "placeholder placeholder-img" }, null, -1)
|
|
677
|
-
])], 2)) : (n(), l("span",
|
|
677
|
+
])], 2)) : (n(), l("span", at, [
|
|
678
678
|
e[13] || (e[13] = B("tipo ", -1)),
|
|
679
|
-
t("span",
|
|
679
|
+
t("span", nt, v(s.type), 1),
|
|
680
680
|
e[14] || (e[14] = B(" não suportado ", -1))
|
|
681
681
|
]))
|
|
682
682
|
], 2))), 128))
|
|
683
|
-
]))), 128)) : o.type_loading === "spiner-table" ? (n(!0), l(
|
|
683
|
+
]))), 128)) : o.type_loading === "spiner-table" ? (n(!0), l(b, { key: 1 }, V(p.value.limit_per_page, (a) => (n(), l("tr", {
|
|
684
684
|
key: "placeholder-" + a
|
|
685
685
|
}, [
|
|
686
|
-
(n(!0), l(
|
|
686
|
+
(n(!0), l(b, null, V(h.value, (s) => (n(), l("td", {
|
|
687
687
|
key: s.field || s.header,
|
|
688
688
|
class: m(s.class_row)
|
|
689
689
|
}, [
|
|
690
|
-
s.bodySlot ? (n(), l("span",
|
|
690
|
+
s.bodySlot ? (n(), l("span", st, [...e[15] || (e[15] = [
|
|
691
691
|
t("span", {
|
|
692
692
|
class: "spinner-border spinner-border-sm",
|
|
693
693
|
role: "status",
|
|
@@ -702,7 +702,7 @@ const Ge = { class: "text-secondary" }, We = { class: "mx-2 d-inline-block" }, J
|
|
|
702
702
|
role: "status",
|
|
703
703
|
"aria-hidden": "true"
|
|
704
704
|
}, null, -1)
|
|
705
|
-
])], 2)) : s.type === "date" ? (n(), l("span",
|
|
705
|
+
])], 2)) : s.type === "date" ? (n(), l("span", lt, [...e[17] || (e[17] = [
|
|
706
706
|
t("span", {
|
|
707
707
|
class: "spinner-border spinner-border-sm",
|
|
708
708
|
role: "status",
|
|
@@ -728,47 +728,47 @@ const Ge = { class: "text-secondary" }, We = { class: "mx-2 d-inline-block" }, J
|
|
|
728
728
|
"aria-hidden": "true"
|
|
729
729
|
})
|
|
730
730
|
], -1)
|
|
731
|
-
])], 2)) : (n(), l("span",
|
|
731
|
+
])], 2)) : (n(), l("span", rt, [
|
|
732
732
|
e[20] || (e[20] = B("tipo ", -1)),
|
|
733
|
-
t("span",
|
|
733
|
+
t("span", ot, v(s.type), 1),
|
|
734
734
|
e[21] || (e[21] = B(" não suportado ", -1))
|
|
735
735
|
]))
|
|
736
736
|
], 2))), 128))
|
|
737
|
-
]))), 128)) : o.type_loading === "spiner" ? (n(!0), l(
|
|
737
|
+
]))), 128)) : o.type_loading === "spiner" ? (n(!0), l(b, { key: 2 }, V(p.value.limit_per_page, (a) => (n(), l("tr", { key: a }, [
|
|
738
738
|
t("td", {
|
|
739
|
-
colspan:
|
|
739
|
+
colspan: h.value.length,
|
|
740
740
|
class: "text-center p-0",
|
|
741
741
|
style: { "border-bottom": "none" }
|
|
742
742
|
}, [
|
|
743
|
-
a === Math.floor(p.value.limit_per_page / 2) + 1 ? (n(), l("div",
|
|
743
|
+
a === Math.floor(p.value.limit_per_page / 2) + 1 ? (n(), l("div", dt, [...e[22] || (e[22] = [
|
|
744
744
|
t("div", {
|
|
745
745
|
class: "spinner-border",
|
|
746
746
|
style: { width: "3rem", height: "3rem" },
|
|
747
747
|
role: "status"
|
|
748
748
|
}, null, -1),
|
|
749
749
|
t("span", { class: "mt-2" }, "Carregando...", -1)
|
|
750
|
-
])])) : (n(), l("div",
|
|
751
|
-
], 8,
|
|
750
|
+
])])) : (n(), l("div", ut))
|
|
751
|
+
], 8, it)
|
|
752
752
|
]))), 128)) : g("", !0)
|
|
753
753
|
])
|
|
754
754
|
], 2)),
|
|
755
|
-
f(D) && f(D).current > 1 ? (n(), l("div",
|
|
756
|
-
], 64)) : f(
|
|
755
|
+
f(D) && f(D).current > 1 ? (n(), l("div", pt, " A conexão falhou. Tentando novamente... (Tentativa " + v(f(D).current) + " de " + v(f(D).total) + ") ", 1)) : g("", !0)
|
|
756
|
+
], 64)) : f(Y) ? (n(), l("div", ct, [
|
|
757
757
|
e[23] || (e[23] = t("h4", { class: "text-danger" }, "Ocorreu um Erro", -1)),
|
|
758
|
-
f(D) ? (n(), l("p",
|
|
758
|
+
f(D) ? (n(), l("p", mt, " Não foi possível carregar os dados após " + v(f(D).total) + " tentativa(s). ", 1)) : (n(), l("p", vt, " Não foi possível carregar os dados. Verifique sua conexão. ")),
|
|
759
759
|
t("button", {
|
|
760
760
|
class: "btn btn-primary mt-2",
|
|
761
761
|
onClick: E
|
|
762
762
|
}, " Tentar Novamente ")
|
|
763
|
-
])) :
|
|
764
|
-
|
|
763
|
+
])) : u.value ? (n(), l("div", _t, [
|
|
764
|
+
u.value.length > 0 ? (n(), l("div", ht, [
|
|
765
765
|
t("table", {
|
|
766
766
|
class: m(["table table-vcenter table-selectable", o.class_table])
|
|
767
767
|
}, [
|
|
768
768
|
t("thead", null, [
|
|
769
|
-
|
|
770
|
-
modelValue:
|
|
771
|
-
"onUpdate:modelValue": e[4] || (e[4] = (a) =>
|
|
769
|
+
Q(f(Oe), {
|
|
770
|
+
modelValue: G.value,
|
|
771
|
+
"onUpdate:modelValue": e[4] || (e[4] = (a) => G.value = a),
|
|
772
772
|
tag: "tr",
|
|
773
773
|
"item-key": "header",
|
|
774
774
|
animation: 400,
|
|
@@ -776,13 +776,13 @@ const Ge = { class: "text-secondary" }, We = { class: "mx-2 d-inline-block" }, J
|
|
|
776
776
|
"drag-class": "dragging-item"
|
|
777
777
|
}, {
|
|
778
778
|
header: H(() => [
|
|
779
|
-
o.use_checkbox ? (n(), l("th",
|
|
779
|
+
o.use_checkbox ? (n(), l("th", ft, [
|
|
780
780
|
t("input", {
|
|
781
781
|
class: "form-check-input m-0",
|
|
782
782
|
type: "checkbox",
|
|
783
783
|
ref_key: "selectAllCheckbox",
|
|
784
|
-
ref:
|
|
785
|
-
onChange:
|
|
784
|
+
ref: w,
|
|
785
|
+
onChange: fe,
|
|
786
786
|
"aria-label": "Selecionar todos os itens na página"
|
|
787
787
|
}, null, 544)
|
|
788
788
|
])) : g("", !0)
|
|
@@ -792,33 +792,33 @@ const Ge = { class: "text-secondary" }, We = { class: "mx-2 d-inline-block" }, J
|
|
|
792
792
|
key: 0,
|
|
793
793
|
class: m(["header-draggable", a.class_column])
|
|
794
794
|
}, [
|
|
795
|
-
t("div",
|
|
795
|
+
t("div", gt, [
|
|
796
796
|
t("span", null, v(a.header), 1),
|
|
797
797
|
t("span", {
|
|
798
|
-
onClick: () =>
|
|
798
|
+
onClick: () => te(a.header),
|
|
799
799
|
class: "ms-2 cursor-pointer"
|
|
800
800
|
}, [
|
|
801
|
-
!
|
|
801
|
+
!d.value[a.header] || d.value[a.header] === "none" ? (n(), l("svg", yt, [...e[24] || (e[24] = [
|
|
802
802
|
t("path", { d: "m3 8 4-4 4 4" }, null, -1),
|
|
803
803
|
t("path", { d: "m11 16-4 4-4-4" }, null, -1),
|
|
804
804
|
t("path", { d: "M7 4v16" }, null, -1),
|
|
805
805
|
t("path", { d: "M15 8h6" }, null, -1),
|
|
806
806
|
t("path", { d: "M15 16h6" }, null, -1),
|
|
807
807
|
t("path", { d: "M13 12h8" }, null, -1)
|
|
808
|
-
])])) :
|
|
808
|
+
])])) : d.value[a.header] === "decreasing" ? (n(), l("svg", wt, [...e[25] || (e[25] = [
|
|
809
809
|
t("path", { d: "m3 16 4 4 4-4" }, null, -1),
|
|
810
810
|
t("path", { d: "M7 20V4" }, null, -1),
|
|
811
811
|
t("path", { d: "M11 4h10" }, null, -1),
|
|
812
812
|
t("path", { d: "M11 8h7" }, null, -1),
|
|
813
813
|
t("path", { d: "M11 12h4" }, null, -1)
|
|
814
|
-
])])) :
|
|
814
|
+
])])) : d.value[a.header] === "increasing" ? (n(), l("svg", bt, [...e[26] || (e[26] = [
|
|
815
815
|
t("path", { d: "m3 8 4-4 4 4" }, null, -1),
|
|
816
816
|
t("path", { d: "M7 4v16" }, null, -1),
|
|
817
817
|
t("path", { d: "M11 12h4" }, null, -1),
|
|
818
818
|
t("path", { d: "M11 16h7" }, null, -1),
|
|
819
819
|
t("path", { d: "M11 20h10" }, null, -1)
|
|
820
820
|
])])) : g("", !0)
|
|
821
|
-
], 8,
|
|
821
|
+
], 8, kt)
|
|
822
822
|
])
|
|
823
823
|
], 2)) : (n(), l("th", {
|
|
824
824
|
key: 1,
|
|
@@ -826,40 +826,40 @@ const Ge = { class: "text-secondary" }, We = { class: "mx-2 d-inline-block" }, J
|
|
|
826
826
|
}, v(a.header), 3))
|
|
827
827
|
]),
|
|
828
828
|
footer: H(() => [
|
|
829
|
-
(n(!0), l(
|
|
829
|
+
(n(!0), l(b, null, V(X.value, (a) => (n(), l(b, {
|
|
830
830
|
key: a.field || a.header
|
|
831
831
|
}, [
|
|
832
832
|
a.use_ordering ? (n(), l("th", {
|
|
833
833
|
key: 0,
|
|
834
834
|
class: m(["header-locked header-ordering", a.class_column])
|
|
835
835
|
}, [
|
|
836
|
-
t("div",
|
|
836
|
+
t("div", xt, [
|
|
837
837
|
t("span", null, v(a.header), 1),
|
|
838
838
|
t("span", {
|
|
839
|
-
onClick: () =>
|
|
839
|
+
onClick: () => te(a.header),
|
|
840
840
|
class: "ms-2 cursor-pointer"
|
|
841
841
|
}, [
|
|
842
|
-
!
|
|
842
|
+
!d.value[a.header] || d.value[a.header] === "none" ? (n(), l("svg", Ct, [...e[27] || (e[27] = [
|
|
843
843
|
t("path", { d: "m3 8 4-4 4 4" }, null, -1),
|
|
844
844
|
t("path", { d: "m11 16-4 4-4-4" }, null, -1),
|
|
845
845
|
t("path", { d: "M7 4v16" }, null, -1),
|
|
846
846
|
t("path", { d: "M15 8h6" }, null, -1),
|
|
847
847
|
t("path", { d: "M15 16h6" }, null, -1),
|
|
848
848
|
t("path", { d: "M13 12h8" }, null, -1)
|
|
849
|
-
])])) :
|
|
849
|
+
])])) : d.value[a.header] === "decreasing" ? (n(), l("svg", St, [...e[28] || (e[28] = [
|
|
850
850
|
t("path", { d: "m3 16 4 4 4-4" }, null, -1),
|
|
851
851
|
t("path", { d: "M7 20V4" }, null, -1),
|
|
852
852
|
t("path", { d: "M11 4h10" }, null, -1),
|
|
853
853
|
t("path", { d: "M11 8h7" }, null, -1),
|
|
854
854
|
t("path", { d: "M11 12h4" }, null, -1)
|
|
855
|
-
])])) :
|
|
855
|
+
])])) : d.value[a.header] === "increasing" ? (n(), l("svg", $t, [...e[29] || (e[29] = [
|
|
856
856
|
t("path", { d: "m3 8 4-4 4 4" }, null, -1),
|
|
857
857
|
t("path", { d: "M7 4v16" }, null, -1),
|
|
858
858
|
t("path", { d: "M11 12h4" }, null, -1),
|
|
859
859
|
t("path", { d: "M11 16h7" }, null, -1),
|
|
860
860
|
t("path", { d: "M11 20h10" }, null, -1)
|
|
861
861
|
])])) : g("", !0)
|
|
862
|
-
], 8,
|
|
862
|
+
], 8, Mt)
|
|
863
863
|
])
|
|
864
864
|
], 2)) : (n(), l("th", {
|
|
865
865
|
key: 1,
|
|
@@ -871,60 +871,60 @@ const Ge = { class: "text-secondary" }, We = { class: "mx-2 d-inline-block" }, J
|
|
|
871
871
|
}, 8, ["modelValue"])
|
|
872
872
|
]),
|
|
873
873
|
t("tbody", null, [
|
|
874
|
-
(n(!0), l(
|
|
874
|
+
(n(!0), l(b, null, V(u.value, (a) => (n(), U(Ae, {
|
|
875
875
|
tag: "tr",
|
|
876
876
|
key: a[o.item_key],
|
|
877
877
|
name: "column-move"
|
|
878
878
|
}, {
|
|
879
879
|
default: H(() => [
|
|
880
|
-
o.use_checkbox ? (n(), l("td",
|
|
880
|
+
o.use_checkbox ? (n(), l("td", zt, [
|
|
881
881
|
t("input", {
|
|
882
882
|
class: "form-check-input m-0",
|
|
883
883
|
type: "checkbox",
|
|
884
884
|
checked: q(a),
|
|
885
|
-
onChange: (s) =>
|
|
885
|
+
onChange: (s) => ge(a),
|
|
886
886
|
"aria-label": "Selecionar este item"
|
|
887
|
-
}, null, 40,
|
|
887
|
+
}, null, 40, Vt)
|
|
888
888
|
])) : g("", !0),
|
|
889
|
-
(n(!0), l(
|
|
889
|
+
(n(!0), l(b, null, V(me.value, (s) => (n(), l("td", {
|
|
890
890
|
key: s.field || s.header,
|
|
891
891
|
class: m(s.class_row)
|
|
892
892
|
}, [
|
|
893
|
-
s.bodySlot ? (n(), U(
|
|
893
|
+
s.bodySlot ? (n(), U(se(s.bodySlot), {
|
|
894
894
|
key: 0,
|
|
895
895
|
item: a,
|
|
896
896
|
"is-selected": q(a)
|
|
897
897
|
}, null, 8, ["item", "is-selected"])) : s.type === "text" ? (n(), l("span", {
|
|
898
898
|
key: 1,
|
|
899
|
-
onClick: (
|
|
899
|
+
onClick: (y) => s.click ? s.click(a) : null,
|
|
900
900
|
class: m(s.class_item + (s.click ? " cursor-pointer" : ""))
|
|
901
|
-
}, v(
|
|
901
|
+
}, v(ye(j(s.field, a, s.transform_function), s.limite_text ?? null)), 11, Bt)) : s.type === "date" ? (n(), l("span", {
|
|
902
902
|
key: 2,
|
|
903
|
-
onClick: (
|
|
903
|
+
onClick: (y) => s.click ? s.click(a) : null,
|
|
904
904
|
class: m(s.class_item + (s.click ? " cursor-pointer" : ""))
|
|
905
905
|
}, [
|
|
906
|
-
s.format === "complete" ? (n(), l("span",
|
|
907
|
-
s.format === "simple" ? (n(), l("span",
|
|
906
|
+
s.format === "complete" ? (n(), l("span", Tt, v(new Date(j(s.field, a)).toLocaleString()), 1)) : g("", !0),
|
|
907
|
+
s.format === "simple" ? (n(), l("span", jt, v(new Date(j(
|
|
908
908
|
s.field,
|
|
909
909
|
a
|
|
910
910
|
)).toLocaleDateString()), 1)) : g("", !0)
|
|
911
|
-
], 10,
|
|
911
|
+
], 10, Nt)) : s.type === "html" ? (n(), l("div", {
|
|
912
912
|
key: 3,
|
|
913
|
-
onClick: (
|
|
913
|
+
onClick: (y) => s.click ? s.click(a) : null,
|
|
914
914
|
class: m(s.class_item + (s.click ? " cursor-pointer" : "")),
|
|
915
915
|
innerHTML: j(s.field, a)
|
|
916
|
-
}, null, 10,
|
|
916
|
+
}, null, 10, At)) : s.type === "img" ? (n(), l("div", {
|
|
917
917
|
key: 4,
|
|
918
|
-
onClick: (
|
|
918
|
+
onClick: (y) => s.click ? s.click(a) : null,
|
|
919
919
|
class: m(s.class_item + (s.click ? " cursor-pointer" : ""))
|
|
920
920
|
}, [
|
|
921
|
-
j(s.field, a) ? (n(), l("div",
|
|
921
|
+
j(s.field, a) ? (n(), l("div", De({
|
|
922
922
|
key: 0,
|
|
923
923
|
ref_for: !0
|
|
924
924
|
}, s.deactivate_img_preview ? {
|
|
925
925
|
class: "container-img"
|
|
926
926
|
} : {
|
|
927
|
-
onMouseover: (
|
|
927
|
+
onMouseover: (y) => f($)(y, j(s.field, a)),
|
|
928
928
|
onMousemove: f(A),
|
|
929
929
|
onMouseleave: f(I),
|
|
930
930
|
class: "container-img container-img-preview"
|
|
@@ -932,16 +932,16 @@ const Ge = { class: "text-secondary" }, We = { class: "mx-2 d-inline-block" }, J
|
|
|
932
932
|
t("img", {
|
|
933
933
|
class: "img-tamanho",
|
|
934
934
|
src: j(s.field, a)
|
|
935
|
-
}, null, 8,
|
|
935
|
+
}, null, 8, Et),
|
|
936
936
|
t("img", {
|
|
937
937
|
class: "img-tamanho-cover",
|
|
938
938
|
src: j(s.field, a)
|
|
939
|
-
}, null, 8,
|
|
939
|
+
}, null, 8, It),
|
|
940
940
|
e[30] || (e[30] = t("div", { class: "bg-img" }, null, -1))
|
|
941
941
|
], 16)) : g("", !0)
|
|
942
|
-
], 10,
|
|
942
|
+
], 10, Dt)) : (n(), l("span", Ot, [
|
|
943
943
|
e[31] || (e[31] = B("tipo ", -1)),
|
|
944
|
-
t("span",
|
|
944
|
+
t("span", Ht, v(s.type), 1),
|
|
945
945
|
e[32] || (e[32] = B(" não suportado", -1))
|
|
946
946
|
]))
|
|
947
947
|
], 2))), 128))
|
|
@@ -950,7 +950,7 @@ const Ge = { class: "text-secondary" }, We = { class: "mx-2 d-inline-block" }, J
|
|
|
950
950
|
}, 1024))), 128))
|
|
951
951
|
])
|
|
952
952
|
], 2)
|
|
953
|
-
])) : (n(), l("div",
|
|
953
|
+
])) : c.value === !1 ? (n(), l("div", Lt)) : (n(), l("div", Pt, [...e[33] || (e[33] = [
|
|
954
954
|
t("p", { class: "m-0" }, "Nenhum item encontrado.", -1)
|
|
955
955
|
])]))
|
|
956
956
|
])) : g("", !0)
|
|
@@ -959,13 +959,13 @@ const Ge = { class: "text-secondary" }, We = { class: "mx-2 d-inline-block" }, J
|
|
|
959
959
|
O(r.$slots, "pagination", {
|
|
960
960
|
pagination: p.value,
|
|
961
961
|
tradePage: E,
|
|
962
|
-
error: f(
|
|
962
|
+
error: f(Y)
|
|
963
963
|
}, () => [
|
|
964
|
-
!f(
|
|
964
|
+
!f(Y) && p.value.count > 0 ? (n(), l("div", {
|
|
965
965
|
key: 0,
|
|
966
966
|
class: m(["px-3", o.class_pagination])
|
|
967
967
|
}, [
|
|
968
|
-
|
|
968
|
+
Q(Ie, {
|
|
969
969
|
page_starts_at: o.page_starts_at,
|
|
970
970
|
filtering: !0,
|
|
971
971
|
pagination: p.value,
|
|
@@ -973,21 +973,21 @@ const Ge = { class: "text-secondary" }, We = { class: "mx-2 d-inline-block" }, J
|
|
|
973
973
|
}, null, 8, ["page_starts_at", "pagination"])
|
|
974
974
|
], 2)) : g("", !0)
|
|
975
975
|
], !0),
|
|
976
|
-
f(
|
|
976
|
+
f(C) ? (n(), l("div", {
|
|
977
977
|
key: 0,
|
|
978
978
|
class: "image-preview-container",
|
|
979
|
-
style:
|
|
979
|
+
style: Ee(f(z))
|
|
980
980
|
}, [
|
|
981
981
|
t("img", {
|
|
982
|
-
src: f(
|
|
982
|
+
src: f(S),
|
|
983
983
|
alt: "Preview",
|
|
984
984
|
class: "image-preview-large"
|
|
985
|
-
}, null, 8,
|
|
985
|
+
}, null, 8, qt)
|
|
986
986
|
], 4)) : g("", !0)
|
|
987
987
|
]));
|
|
988
988
|
}
|
|
989
|
-
}),
|
|
989
|
+
}), Gt = /* @__PURE__ */ oe(Ut, [["__scopeId", "data-v-7d2b5197"]]);
|
|
990
990
|
export {
|
|
991
|
-
|
|
992
|
-
|
|
991
|
+
Xt as VColumn,
|
|
992
|
+
Gt as VDataTable
|
|
993
993
|
};
|
package/package.json
CHANGED
|
@@ -296,10 +296,10 @@
|
|
|
296
296
|
<span @click="col.click ? col.click(item) : null" v-else-if="col.type === 'date'"
|
|
297
297
|
:class="col.class_item + (col.click ? ' cursor-pointer' : '')">
|
|
298
298
|
<span v-if="col.format === 'complete'">{{ new Date(getSubItem(col.field, item)).toLocaleString()
|
|
299
|
-
|
|
299
|
+
}}</span>
|
|
300
300
|
<span v-if="col.format === 'simple'"> {{ new Date(getSubItem(col.field,
|
|
301
301
|
item)).toLocaleDateString()
|
|
302
|
-
|
|
302
|
+
}} </span>
|
|
303
303
|
</span>
|
|
304
304
|
<div @click="col.click ? col.click(item) : null"
|
|
305
305
|
:class="col.class_item + (col.click ? ' cursor-pointer' : '')" v-else-if="col.type === 'html'"
|
|
@@ -331,6 +331,9 @@
|
|
|
331
331
|
</TransitionGroup>
|
|
332
332
|
</tbody>
|
|
333
333
|
</table>
|
|
334
|
+
</div>
|
|
335
|
+
<div v-else-if="first_fetch === false" >
|
|
336
|
+
|
|
334
337
|
</div>
|
|
335
338
|
<div v-else class="text-center p-4 text-secondary">
|
|
336
339
|
<p class="m-0">Nenhum item encontrado.</p>
|
|
@@ -353,9 +356,9 @@
|
|
|
353
356
|
</template>
|
|
354
357
|
|
|
355
358
|
<script setup lang="ts" generic="T extends Record<string, any>">
|
|
356
|
-
import type { VDataTableProps, ExposedFunctions, PaginationObject
|
|
359
|
+
import type { VDataTableProps, ExposedFunctions, PaginationObject } from '../types/v-data-table.ts';
|
|
357
360
|
import type { Ref } from 'vue';
|
|
358
|
-
import { readonly, ref, provide, computed, watch, nextTick} from 'vue';
|
|
361
|
+
import { readonly, ref, provide, computed, watch, nextTick } from 'vue';
|
|
359
362
|
|
|
360
363
|
import PaginationDatatable from '@/Pagination/Pagination.vue';
|
|
361
364
|
import Search from './SearchDatatable.vue';
|
|
@@ -412,7 +415,8 @@ const props = withDefaults(defineProps<VDataTableProps>(), {
|
|
|
412
415
|
// 2. ESTADO REATIVO PRINCIPAL
|
|
413
416
|
// =======================================================
|
|
414
417
|
|
|
415
|
-
|
|
418
|
+
// variavel para saber quando o datatable já fez alguma busca
|
|
419
|
+
const first_fetch = ref<boolean>(false);
|
|
416
420
|
const orderings_state = ref<Record<string, 'none' | 'increasing' | 'decreasing'>>({});
|
|
417
421
|
const columns = ref<ColumnConfiguration[]>([]);
|
|
418
422
|
const items = ref<T[]>([]) as Ref<T[]>;
|
|
@@ -634,6 +638,8 @@ provide(dataTableApiKey, { addColumn });
|
|
|
634
638
|
|
|
635
639
|
// Função que gerencia o delay e a chamada da API
|
|
636
640
|
function fetchDataWithDelay(): void {
|
|
641
|
+
// agora já fez pelo menos a primeira busca então marca como true
|
|
642
|
+
if (!first_fetch.value) first_fetch.value = true;
|
|
637
643
|
// Limpa timer anterior, se houver
|
|
638
644
|
if (delayTimer.value) clearTimeout(delayTimer.value);
|
|
639
645
|
|