v-sistec-features 1.31.1 → 1.31.3
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,.style-custom-v-required-error .v-bentri-editor{border:2px solid var(--color-error-inputs)!important}.style-custom-v-required-error .v-bentri-editor .upload-placeholder{border:2px dashed var(--color-error-inputs)!important;color:var(--color-error-inputs)!important}.style-custom-v-required-error .v-bentri-editor p.is-empty:before{color:var(--color-error-inputs)!important}.style-custom-v-required-error input::placeholder{color:var(--color-error-inputs)!important}.Vue-Toastification__container{z-index:9999;position:fixed;padding:4px;width:600px;box-sizing:border-box;display:flex;min-height:100%;color:#fff;flex-direction:column;pointer-events:none}@media only screen and (min-width:600px){.Vue-Toastification__container.top-left,.Vue-Toastification__container.top-right,.Vue-Toastification__container.top-center{top:1em}.Vue-Toastification__container.bottom-left,.Vue-Toastification__container.bottom-right,.Vue-Toastification__container.bottom-center{bottom:1em;flex-direction:column-reverse}.Vue-Toastification__container.top-left,.Vue-Toastification__container.bottom-left{left:1em}.Vue-Toastification__container.top-left .Vue-Toastification__toast,.Vue-Toastification__container.bottom-left .Vue-Toastification__toast{margin-right:auto}@supports not (-moz-appearance: none){.Vue-Toastification__container.top-left .Vue-Toastification__toast--rtl,.Vue-Toastification__container.bottom-left .Vue-Toastification__toast--rtl{margin-right:unset;margin-left:auto}}.Vue-Toastification__container.top-right,.Vue-Toastification__container.bottom-right{right:1em}.Vue-Toastification__container.top-right .Vue-Toastification__toast,.Vue-Toastification__container.bottom-right .Vue-Toastification__toast{margin-left:auto}@supports not (-moz-appearance: none){.Vue-Toastification__container.top-right .Vue-Toastification__toast--rtl,.Vue-Toastification__container.bottom-right .Vue-Toastification__toast--rtl{margin-left:unset;margin-right:auto}}.Vue-Toastification__container.top-center,.Vue-Toastification__container.bottom-center{left:50%;margin-left:-300px}.Vue-Toastification__container.top-center .Vue-Toastification__toast,.Vue-Toastification__container.bottom-center .Vue-Toastification__toast{margin-left:auto;margin-right:auto}}@media only screen and (max-width:600px){.Vue-Toastification__container{width:100vw;padding:0;left:0;margin:0}.Vue-Toastification__container .Vue-Toastification__toast{width:100%}.Vue-Toastification__container.top-left,.Vue-Toastification__container.top-right,.Vue-Toastification__container.top-center{top:0}.Vue-Toastification__container.bottom-left,.Vue-Toastification__container.bottom-right,.Vue-Toastification__container.bottom-center{bottom:0;flex-direction:column-reverse}}.Vue-Toastification__toast{display:inline-flex;position:relative;max-height:800px;min-height:64px;box-sizing:border-box;margin-bottom:1rem;padding:22px 24px;border-radius:8px;box-shadow:0 1px 10px #0000001a,0 2px 15px #0000000d;justify-content:space-between;font-family:Lato,Helvetica,Roboto,Arial,sans-serif;max-width:600px;min-width:326px;pointer-events:auto;overflow:hidden;transform:translateZ(0);direction:ltr}.Vue-Toastification__toast--rtl{direction:rtl}.Vue-Toastification__toast--default{background-color:#1976d2;color:#fff}.Vue-Toastification__toast--info{background-color:#2196f3;color:#fff}.Vue-Toastification__toast--success{background-color:#4caf50;color:#fff}.Vue-Toastification__toast--error{background-color:#ff5252;color:#fff}.Vue-Toastification__toast--warning{background-color:#ffc107;color:#fff}@media only screen and (max-width:600px){.Vue-Toastification__toast{border-radius:0;margin-bottom:.5rem}}.Vue-Toastification__toast-body{flex:1;line-height:24px;font-size:16px;word-break:break-word;white-space:pre-wrap}.Vue-Toastification__toast-component-body{flex:1}.Vue-Toastification__toast.disable-transition{animation:none!important}.Vue-Toastification__close-button{font-weight:700;font-size:24px;line-height:24px;background:transparent;outline:none;border:none;padding:0 0 0 10px;cursor:pointer;transition:.3s ease;align-items:center;color:#fff;opacity:.3;transition:visibility 0s,opacity .2s linear}.Vue-Toastification__close-button:hover,.Vue-Toastification__close-button:focus{opacity:1}.Vue-Toastification__toast:not(:hover) .Vue-Toastification__close-button.show-on-hover{opacity:0}.Vue-Toastification__toast--rtl .Vue-Toastification__close-button{padding-left:unset;padding-right:10px}@keyframes scale-x-frames{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Vue-Toastification__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:5px;z-index:10000;background-color:#ffffffb3;transform-origin:left;animation:scale-x-frames linear 1 forwards}.Vue-Toastification__toast--rtl .Vue-Toastification__progress-bar{right:0;left:unset;transform-origin:right}.Vue-Toastification__icon{margin:auto 18px auto 0;background:transparent;outline:none;border:none;padding:0;transition:.3s ease;align-items:center;width:20px;height:100%}.Vue-Toastification__toast--rtl .Vue-Toastification__icon{margin:auto 0 auto 18px}@keyframes bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes bounceOutRight{40%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(1000px,0,0)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes bounceOutDown{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Vue-Toastification__bounce-enter-active.top-left,.Vue-Toastification__bounce-enter-active.bottom-left{animation-name:bounceInLeft}.Vue-Toastification__bounce-enter-active.top-right,.Vue-Toastification__bounce-enter-active.bottom-right{animation-name:bounceInRight}.Vue-Toastification__bounce-enter-active.top-center{animation-name:bounceInDown}.Vue-Toastification__bounce-enter-active.bottom-center{animation-name:bounceInUp}.Vue-Toastification__bounce-leave-active:not(.disable-transition).top-left,.Vue-Toastification__bounce-leave-active:not(.disable-transition).bottom-left{animation-name:bounceOutLeft}.Vue-Toastification__bounce-leave-active:not(.disable-transition).top-right,.Vue-Toastification__bounce-leave-active:not(.disable-transition).bottom-right{animation-name:bounceOutRight}.Vue-Toastification__bounce-leave-active:not(.disable-transition).top-center{animation-name:bounceOutUp}.Vue-Toastification__bounce-leave-active:not(.disable-transition).bottom-center{animation-name:bounceOutDown}.Vue-Toastification__bounce-leave-active,.Vue-Toastification__bounce-enter-active{animation-duration:.75s;animation-fill-mode:both}.Vue-Toastification__bounce-move{transition-timing-function:ease-in-out;transition-property:all;transition-duration:.4s}@keyframes fadeOutTop{0%{transform:translateY(0);opacity:1}to{transform:translateY(-50px);opacity:0}}@keyframes fadeOutLeft{0%{transform:translate(0);opacity:1}to{transform:translate(-50px);opacity:0}}@keyframes fadeOutBottom{0%{transform:translateY(0);opacity:1}to{transform:translateY(50px);opacity:0}}@keyframes fadeOutRight{0%{transform:translate(0);opacity:1}to{transform:translate(50px);opacity:0}}@keyframes fadeInLeft{0%{transform:translate(-50px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes fadeInRight{0%{transform:translate(50px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes fadeInTop{0%{transform:translateY(-50px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes fadeInBottom{0%{transform:translateY(50px);opacity:0}to{transform:translateY(0);opacity:1}}.Vue-Toastification__fade-enter-active.top-left,.Vue-Toastification__fade-enter-active.bottom-left{animation-name:fadeInLeft}.Vue-Toastification__fade-enter-active.top-right,.Vue-Toastification__fade-enter-active.bottom-right{animation-name:fadeInRight}.Vue-Toastification__fade-enter-active.top-center{animation-name:fadeInTop}.Vue-Toastification__fade-enter-active.bottom-center{animation-name:fadeInBottom}.Vue-Toastification__fade-leave-active:not(.disable-transition).top-left,.Vue-Toastification__fade-leave-active:not(.disable-transition).bottom-left{animation-name:fadeOutLeft}.Vue-Toastification__fade-leave-active:not(.disable-transition).top-right,.Vue-Toastification__fade-leave-active:not(.disable-transition).bottom-right{animation-name:fadeOutRight}.Vue-Toastification__fade-leave-active:not(.disable-transition).top-center{animation-name:fadeOutTop}.Vue-Toastification__fade-leave-active:not(.disable-transition).bottom-center{animation-name:fadeOutBottom}.Vue-Toastification__fade-leave-active,.Vue-Toastification__fade-enter-active{animation-duration:.75s;animation-fill-mode:both}.Vue-Toastification__fade-move{transition-timing-function:ease-in-out;transition-property:all;transition-duration:.4s}@keyframes slideInBlurredLeft{0%{transform:translate(-1000px) scaleX(2.5) scaleY(.2);transform-origin:100% 50%;filter:blur(40px);opacity:0}to{transform:translate(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideInBlurredTop{0%{transform:translateY(-1000px) scaleY(2.5) scaleX(.2);transform-origin:50% 0%;filter:blur(240px);opacity:0}to{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideInBlurredRight{0%{transform:translate(1000px) scaleX(2.5) scaleY(.2);transform-origin:0% 50%;filter:blur(40px);opacity:0}to{transform:translate(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideInBlurredBottom{0%{transform:translateY(1000px) scaleY(2.5) scaleX(.2);transform-origin:50% 100%;filter:blur(240px);opacity:0}to{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideOutBlurredTop{0%{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 0%;filter:blur(0);opacity:1}to{transform:translateY(-1000px) scaleY(2) scaleX(.2);transform-origin:50% 0%;filter:blur(240px);opacity:0}}@keyframes slideOutBlurredBottom{0%{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}to{transform:translateY(1000px) scaleY(2) scaleX(.2);transform-origin:50% 100%;filter:blur(240px);opacity:0}}@keyframes slideOutBlurredLeft{0%{transform:translate(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}to{transform:translate(-1000px) scaleX(2) scaleY(.2);transform-origin:100% 50%;filter:blur(40px);opacity:0}}@keyframes slideOutBlurredRight{0%{transform:translate(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}to{transform:translate(1000px) scaleX(2) scaleY(.2);transform-origin:0% 50%;filter:blur(40px);opacity:0}}.Vue-Toastification__slideBlurred-enter-active.top-left,.Vue-Toastification__slideBlurred-enter-active.bottom-left{animation-name:slideInBlurredLeft}.Vue-Toastification__slideBlurred-enter-active.top-right,.Vue-Toastification__slideBlurred-enter-active.bottom-right{animation-name:slideInBlurredRight}.Vue-Toastification__slideBlurred-enter-active.top-center{animation-name:slideInBlurredTop}.Vue-Toastification__slideBlurred-enter-active.bottom-center{animation-name:slideInBlurredBottom}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).top-left,.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).bottom-left{animation-name:slideOutBlurredLeft}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).top-right,.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).bottom-right{animation-name:slideOutBlurredRight}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).top-center{animation-name:slideOutBlurredTop}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).bottom-center{animation-name:slideOutBlurredBottom}.Vue-Toastification__slideBlurred-leave-active,.Vue-Toastification__slideBlurred-enter-active{animation-duration:.75s;animation-fill-mode:both}.Vue-Toastification__slideBlurred-move{transition-timing-function:ease-in-out;transition-property:all;transition-duration:.4s}.rotate-180[data-v-785126fa] svg{transform:rotate(180deg)}.page-select[data-v-785126fa]{background-color:var(--tblr-primary)!important;color:#fff!important;border:none!important}.page-estilo[data-v-785126fa]{border:none;--cor-escurecida: color-mix(in srgb, var(--tblr-primary), #000 25%);background:transparent;padding:1px 10px;border-radius:7px;margin:0!important;transition:color .15s ease-in-out,background-color .15s ease-in-out}.page-estilo[data-v-785126fa]:hover{background:var(--cor-escurecida);color:#fff}.btn[data-v-785126fa]{padding:0!important;margin:0!important;background:transparent!important;border:none!important;box-shadow:none!important}[data-v-785126fa] .btn-estilo svg{padding:0!important;margin:0!important}[data-v-785126fa] .btn-estilo:hover svg{stroke:var(--tblr-primary)}.icon-tabler[data-v-785126fa]{margin:0!important;padding:0!important}.t-container{width:100%;display:flex;justify-content:space-between;align-items:center;color:#fff}.scroll-finish-style[data-v-b217a9f6]{color:#6c757d;display:block;text-align:center;margin-top:1rem;margin-bottom:1rem}.inputClose[data-v-6a2b24b1]{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-6a2b24b1]:hover{cursor:pointer}.selected[data-v-6a2b24b1]:hover{background-color:#b02a2a!important;color:#fff!important}.btn-puro-reset[data-v-59363743]{background:none;border:none;padding:0;margin:0;cursor:pointer;color:#cc1212}.placeholder-img[data-v-3b019685]{width:40px;height:40px;border-radius:4px}.erro-custom-container[data-v-3b019685]{display:inline-block;padding:.2em .6em;border-radius:4px;background-color:#fff;font-weight:700;text-transform:uppercase}.erro-custom-text[data-v-3b019685]{font-size:.8em;text-transform:uppercase;font-weight:700}.container-img[data-v-e9aa7f50]{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-e9aa7f50]{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-e9aa7f50]{object-fit:contain;width:100%;height:100%;z-index:2}.container-img.container-img-preview[data-v-e9aa7f50]{cursor:pointer}.container-img.container-img-preview[data-v-e9aa7f50]: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-e9aa7f50]{opacity:.3}.bg-img[data-v-e9aa7f50]{background-color:#0000004d;position:absolute;top:0;width:100%;height:100%;z-index:1}.image-preview-container[data-v-e9aa7f50]{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-e9aa7f50]{display:block;max-width:250px;max-height:250px;border-radius:4px}.table-responsive[data-v-e9aa7f50]{overflow-x:auto}.state-feedback[data-v-e9aa7f50]{padding:1rem;text-align:center}.state-feedback.error[data-v-e9aa7f50]{color:red}.pagination-controls[data-v-e9aa7f50]{margin-top:1rem;display:flex;justify-content:space-between}.form-check-input[data-v-e9aa7f50]{border-width:1px!important;border-color:#00000064!important;width:17px;height:17px}[data-bs-theme=dark] .form-check-input[data-v-e9aa7f50]{border-color:#ffffff5f!important}.ghost-item[data-v-e9aa7f50]{opacity:.5;background:var(--tblr-primary-lt, #e6f0ff);border-radius:8px}.dragging-item[data-v-e9aa7f50]{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-e9aa7f50]{cursor:grab}.column-move-move[data-v-e9aa7f50]{transition:transform .4s ease}.column-move-enter-active[data-v-e9aa7f50],.column-move-leave-active[data-v-e9aa7f50]{transition:all .4s ease}.header-ordering[data-v-e9aa7f50]{display:flex;justify-content:space-between}.expand-item-expand-enter-active[data-v-e9aa7f50]{transition:all .5s ease}.expand-item-expand-enter-from[data-v-e9aa7f50]{opacity:0;transform:scaleY(.3) translateY(-30px)}.expand-item-expand-enter-to[data-v-e9aa7f50]{opacity:1;transform:scaleY(1);transform:translateY(0)}.expand-item-expand-leave-active[data-v-e9aa7f50]{transition:all .4s ease}.expand-item-expand-leave-to[data-v-e9aa7f50]{opacity:0;transform:scaleY(.3) translateY(-30px)}.expand-item-fade-enter-active[data-v-e9aa7f50],.expand-item-fade-leave-active[data-v-e9aa7f50]{transition:opacity .5s ease}.expand-item-fade-enter-from[data-v-e9aa7f50],.expand-item-fade-leave-to[data-v-e9aa7f50]{opacity:0}.btn-clean[data-v-e9aa7f50]{display:inline-flex;align-items:center;justify-content:center;padding:4px;border-radius:4px;transition:background-color .2s ease;background:transparent;border:none;outline:none;cursor:pointer}.btn-clean[data-v-e9aa7f50]:hover{background-color:#0000000d}.icon-transition-arrow[data-v-e9aa7f50]{transition:transform .3s cubic-bezier(.4,0,.2,1),color .2s ease;color:var(--tblr-primary, #206bc4)}.is-expanded .icon-transition-arrow[data-v-e9aa7f50]{transform:rotate(90deg)}.icon-transition-plus[data-v-e9aa7f50]{transition:transform .3s cubic-bezier(.4,0,.2,1),color .2s ease;color:var(--tblr-primary, #206bc4)}.icon-transition-plus .vertical-line[data-v-e9aa7f50]{transform-origin:center;transition:transform .3s cubic-bezier(.4,0,.2,1),opacity .2s ease}.is-expanded .icon-transition-plus[data-v-e9aa7f50]{transform:rotate(180deg)}.is-expanded .icon-transition-plus .vertical-line[data-v-e9aa7f50]{transform:scaleY(0);opacity:0}
|
|
11
|
+
*/[data-bs-theme-base=slate]{--tblr-gray-50:#f8fafc;--tblr-gray-100:#f1f5f9;--tblr-gray-200:#e2e8f0;--tblr-gray-300:#cbd5e1;--tblr-gray-400:#94a3b8;--tblr-gray-500:#64748b;--tblr-gray-600:#475569;--tblr-gray-700:#334155;--tblr-gray-800:#1e293b;--tblr-gray-900:#0f172a;--tblr-gray-950:#020617}[data-bs-theme-base=gray]{--tblr-gray-50:#f9fafb;--tblr-gray-100:#f3f4f6;--tblr-gray-200:#e5e7eb;--tblr-gray-300:#d1d5db;--tblr-gray-400:#9ca3af;--tblr-gray-500:#6b7280;--tblr-gray-600:#4b5563;--tblr-gray-700:#374151;--tblr-gray-800:#1f2937;--tblr-gray-900:#111827;--tblr-gray-950:#030712}[data-bs-theme-base=zinc]{--tblr-gray-50:#fafafa;--tblr-gray-100:#f4f4f5;--tblr-gray-200:#e4e4e7;--tblr-gray-300:#d4d4d8;--tblr-gray-400:#a1a1aa;--tblr-gray-500:#71717a;--tblr-gray-600:#52525b;--tblr-gray-700:#3f3f46;--tblr-gray-800:#27272a;--tblr-gray-900:#18181b;--tblr-gray-950:#09090b}[data-bs-theme-base=neutral]{--tblr-gray-50:#fafafa;--tblr-gray-100:#f5f5f5;--tblr-gray-200:#e5e5e5;--tblr-gray-300:#d4d4d4;--tblr-gray-400:#a3a3a3;--tblr-gray-500:#737373;--tblr-gray-600:#525252;--tblr-gray-700:#404040;--tblr-gray-800:#262626;--tblr-gray-900:#171717;--tblr-gray-950:#0a0a0a}[data-bs-theme-base=stone]{--tblr-gray-50:#fafaf9;--tblr-gray-100:#f5f5f4;--tblr-gray-200:#e7e5e4;--tblr-gray-300:#d6d3d1;--tblr-gray-400:#a8a29e;--tblr-gray-500:#78716c;--tblr-gray-600:#57534e;--tblr-gray-700:#44403c;--tblr-gray-800:#292524;--tblr-gray-900:#1c1917;--tblr-gray-950:#0c0a09}[data-bs-theme-base=pink]{--tblr-gray-50:#fdf2f8;--tblr-gray-100:#fce7f3;--tblr-gray-200:#fbcfe8;--tblr-gray-300:#f9a8d4;--tblr-gray-400:#f472b6;--tblr-gray-500:#ec4899;--tblr-gray-600:#db2777;--tblr-gray-700:#be185d;--tblr-gray-800:#9d174d;--tblr-gray-900:#831843;--tblr-gray-950:#500724}[data-bs-theme-primary=blue]{--tblr-primary:#066fd1;--tblr-primary-rgb:6,111,209}[data-bs-theme-primary=azure]{--tblr-primary:#4299e1;--tblr-primary-rgb:66,153,225}[data-bs-theme-primary=indigo]{--tblr-primary:#4263eb;--tblr-primary-rgb:66,99,235}[data-bs-theme-primary=purple]{--tblr-primary:#ae3ec9;--tblr-primary-rgb:174,62,201}[data-bs-theme-primary=pink]{--tblr-primary:#d6336c;--tblr-primary-rgb:214,51,108}[data-bs-theme-primary=red]{--tblr-primary:#d63939;--tblr-primary-rgb:214,57,57}[data-bs-theme-primary=orange]{--tblr-primary:#f76707;--tblr-primary-rgb:247,103,7}[data-bs-theme-primary=yellow]{--tblr-primary:#f59f00;--tblr-primary-rgb:245,159,0}[data-bs-theme-primary=lime]{--tblr-primary:#74b816;--tblr-primary-rgb:116,184,22}[data-bs-theme-primary=green]{--tblr-primary:#2fb344;--tblr-primary-rgb:47,179,68}[data-bs-theme-primary=teal]{--tblr-primary:#0ca678;--tblr-primary-rgb:12,166,120}[data-bs-theme-primary=cyan]{--tblr-primary:#17a2b8;--tblr-primary-rgb:23,162,184}[data-bs-theme-radius="0"]{--tblr-border-radius-scale:0}[data-bs-theme-radius="0.5"]{--tblr-border-radius-scale:.5}[data-bs-theme-radius="1"]{--tblr-border-radius-scale:1}[data-bs-theme-radius="1.5"]{--tblr-border-radius-scale:1.5}[data-bs-theme-radius="2"]{--tblr-border-radius-scale:2}[data-bs-theme-primary=inverted]{--tblr-primary:var(--tblr-gray-800);--tblr-primary-fg:var(--tblr-light);--tblr-primary-rgb:31,41,55}[data-bs-theme-primary=inverted] [data-bs-theme=dark],[data-bs-theme-primary=inverted][data-bs-theme=dark]{--tblr-primary:#f9fafb;--tblr-primary-fg:var(--tblr-dark);--tblr-primary-rgb:249,250,251}[data-bs-theme-font=monospace]{--tblr-body-font-family:var(--tblr-font-monospace);--tblr-body-font-size:80%}[data-bs-theme-font=sans-serif]{--tblr-body-font-family:var(--tblr-font-sans-serif)}[data-bs-theme-font=serif]{--tblr-body-font-family:var(--tblr-font-serif)}[data-bs-theme-font=comic]{--tblr-body-font-family:var(--tblr-font-comic)}:root{--color-error-inputs: red}[data-bs-theme=dark]{--color-error-inputs: oklch(.666 .179 58.318)}.style-custom-v-required-default{display:flex!important;justify-content:center!important;flex-direction:column!important;gap:2px}.style-custom-v-required-error .v-required-span{color:var(--color-error-inputs)!important;white-space:pre-wrap}.multiselect__tags{background-color:var(--cor-bg-inputs);border:var(--border-inputs);border-radius:5px!important;font-size:.875rem;line-height:1.4285714286}.multiselect__placeholder{color:var(--color-text-multiselect)!important}.style-custom-v-required-error input,.style-custom-v-required-error select,.style-custom-v-required-error textarea{border:2px solid var(--color-error-inputs)!important;color:var(--color-error-inputs)!important}.style-custom-v-required-error .multiselect__tags{border:2px solid var(--color-error-inputs)!important}.style-custom-v-required-error .multiselect__input{border:none!important}.style-custom-v-required-error .multiselect__placeholder{color:var(--color-error-inputs)!important}.style-custom-v-required-error .image-drop-zone{border-color:var(--color-error-inputs)!important}.style-custom-v-required-error .quillWrapper,.style-custom-v-required-error .v-bentri-editor{border:2px solid var(--color-error-inputs)!important}.style-custom-v-required-error .v-bentri-editor .upload-placeholder{border:2px dashed var(--color-error-inputs)!important;color:var(--color-error-inputs)!important}.style-custom-v-required-error .v-bentri-editor p.is-empty:before{color:var(--color-error-inputs)!important}.style-custom-v-required-error input::placeholder{color:var(--color-error-inputs)!important}.Vue-Toastification__container{z-index:9999;position:fixed;padding:4px;width:600px;box-sizing:border-box;display:flex;min-height:100%;color:#fff;flex-direction:column;pointer-events:none}@media only screen and (min-width:600px){.Vue-Toastification__container.top-left,.Vue-Toastification__container.top-right,.Vue-Toastification__container.top-center{top:1em}.Vue-Toastification__container.bottom-left,.Vue-Toastification__container.bottom-right,.Vue-Toastification__container.bottom-center{bottom:1em;flex-direction:column-reverse}.Vue-Toastification__container.top-left,.Vue-Toastification__container.bottom-left{left:1em}.Vue-Toastification__container.top-left .Vue-Toastification__toast,.Vue-Toastification__container.bottom-left .Vue-Toastification__toast{margin-right:auto}@supports not (-moz-appearance: none){.Vue-Toastification__container.top-left .Vue-Toastification__toast--rtl,.Vue-Toastification__container.bottom-left .Vue-Toastification__toast--rtl{margin-right:unset;margin-left:auto}}.Vue-Toastification__container.top-right,.Vue-Toastification__container.bottom-right{right:1em}.Vue-Toastification__container.top-right .Vue-Toastification__toast,.Vue-Toastification__container.bottom-right .Vue-Toastification__toast{margin-left:auto}@supports not (-moz-appearance: none){.Vue-Toastification__container.top-right .Vue-Toastification__toast--rtl,.Vue-Toastification__container.bottom-right .Vue-Toastification__toast--rtl{margin-left:unset;margin-right:auto}}.Vue-Toastification__container.top-center,.Vue-Toastification__container.bottom-center{left:50%;margin-left:-300px}.Vue-Toastification__container.top-center .Vue-Toastification__toast,.Vue-Toastification__container.bottom-center .Vue-Toastification__toast{margin-left:auto;margin-right:auto}}@media only screen and (max-width:600px){.Vue-Toastification__container{width:100vw;padding:0;left:0;margin:0}.Vue-Toastification__container .Vue-Toastification__toast{width:100%}.Vue-Toastification__container.top-left,.Vue-Toastification__container.top-right,.Vue-Toastification__container.top-center{top:0}.Vue-Toastification__container.bottom-left,.Vue-Toastification__container.bottom-right,.Vue-Toastification__container.bottom-center{bottom:0;flex-direction:column-reverse}}.Vue-Toastification__toast{display:inline-flex;position:relative;max-height:800px;min-height:64px;box-sizing:border-box;margin-bottom:1rem;padding:22px 24px;border-radius:8px;box-shadow:0 1px 10px #0000001a,0 2px 15px #0000000d;justify-content:space-between;font-family:Lato,Helvetica,Roboto,Arial,sans-serif;max-width:600px;min-width:326px;pointer-events:auto;overflow:hidden;transform:translateZ(0);direction:ltr}.Vue-Toastification__toast--rtl{direction:rtl}.Vue-Toastification__toast--default{background-color:#1976d2;color:#fff}.Vue-Toastification__toast--info{background-color:#2196f3;color:#fff}.Vue-Toastification__toast--success{background-color:#4caf50;color:#fff}.Vue-Toastification__toast--error{background-color:#ff5252;color:#fff}.Vue-Toastification__toast--warning{background-color:#ffc107;color:#fff}@media only screen and (max-width:600px){.Vue-Toastification__toast{border-radius:0;margin-bottom:.5rem}}.Vue-Toastification__toast-body{flex:1;line-height:24px;font-size:16px;word-break:break-word;white-space:pre-wrap}.Vue-Toastification__toast-component-body{flex:1}.Vue-Toastification__toast.disable-transition{animation:none!important}.Vue-Toastification__close-button{font-weight:700;font-size:24px;line-height:24px;background:transparent;outline:none;border:none;padding:0 0 0 10px;cursor:pointer;transition:.3s ease;align-items:center;color:#fff;opacity:.3;transition:visibility 0s,opacity .2s linear}.Vue-Toastification__close-button:hover,.Vue-Toastification__close-button:focus{opacity:1}.Vue-Toastification__toast:not(:hover) .Vue-Toastification__close-button.show-on-hover{opacity:0}.Vue-Toastification__toast--rtl .Vue-Toastification__close-button{padding-left:unset;padding-right:10px}@keyframes scale-x-frames{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Vue-Toastification__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:5px;z-index:10000;background-color:#ffffffb3;transform-origin:left;animation:scale-x-frames linear 1 forwards}.Vue-Toastification__toast--rtl .Vue-Toastification__progress-bar{right:0;left:unset;transform-origin:right}.Vue-Toastification__icon{margin:auto 18px auto 0;background:transparent;outline:none;border:none;padding:0;transition:.3s ease;align-items:center;width:20px;height:100%}.Vue-Toastification__toast--rtl .Vue-Toastification__icon{margin:auto 0 auto 18px}@keyframes bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes bounceOutRight{40%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(1000px,0,0)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes bounceOutDown{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Vue-Toastification__bounce-enter-active.top-left,.Vue-Toastification__bounce-enter-active.bottom-left{animation-name:bounceInLeft}.Vue-Toastification__bounce-enter-active.top-right,.Vue-Toastification__bounce-enter-active.bottom-right{animation-name:bounceInRight}.Vue-Toastification__bounce-enter-active.top-center{animation-name:bounceInDown}.Vue-Toastification__bounce-enter-active.bottom-center{animation-name:bounceInUp}.Vue-Toastification__bounce-leave-active:not(.disable-transition).top-left,.Vue-Toastification__bounce-leave-active:not(.disable-transition).bottom-left{animation-name:bounceOutLeft}.Vue-Toastification__bounce-leave-active:not(.disable-transition).top-right,.Vue-Toastification__bounce-leave-active:not(.disable-transition).bottom-right{animation-name:bounceOutRight}.Vue-Toastification__bounce-leave-active:not(.disable-transition).top-center{animation-name:bounceOutUp}.Vue-Toastification__bounce-leave-active:not(.disable-transition).bottom-center{animation-name:bounceOutDown}.Vue-Toastification__bounce-leave-active,.Vue-Toastification__bounce-enter-active{animation-duration:.75s;animation-fill-mode:both}.Vue-Toastification__bounce-move{transition-timing-function:ease-in-out;transition-property:all;transition-duration:.4s}@keyframes fadeOutTop{0%{transform:translateY(0);opacity:1}to{transform:translateY(-50px);opacity:0}}@keyframes fadeOutLeft{0%{transform:translate(0);opacity:1}to{transform:translate(-50px);opacity:0}}@keyframes fadeOutBottom{0%{transform:translateY(0);opacity:1}to{transform:translateY(50px);opacity:0}}@keyframes fadeOutRight{0%{transform:translate(0);opacity:1}to{transform:translate(50px);opacity:0}}@keyframes fadeInLeft{0%{transform:translate(-50px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes fadeInRight{0%{transform:translate(50px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes fadeInTop{0%{transform:translateY(-50px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes fadeInBottom{0%{transform:translateY(50px);opacity:0}to{transform:translateY(0);opacity:1}}.Vue-Toastification__fade-enter-active.top-left,.Vue-Toastification__fade-enter-active.bottom-left{animation-name:fadeInLeft}.Vue-Toastification__fade-enter-active.top-right,.Vue-Toastification__fade-enter-active.bottom-right{animation-name:fadeInRight}.Vue-Toastification__fade-enter-active.top-center{animation-name:fadeInTop}.Vue-Toastification__fade-enter-active.bottom-center{animation-name:fadeInBottom}.Vue-Toastification__fade-leave-active:not(.disable-transition).top-left,.Vue-Toastification__fade-leave-active:not(.disable-transition).bottom-left{animation-name:fadeOutLeft}.Vue-Toastification__fade-leave-active:not(.disable-transition).top-right,.Vue-Toastification__fade-leave-active:not(.disable-transition).bottom-right{animation-name:fadeOutRight}.Vue-Toastification__fade-leave-active:not(.disable-transition).top-center{animation-name:fadeOutTop}.Vue-Toastification__fade-leave-active:not(.disable-transition).bottom-center{animation-name:fadeOutBottom}.Vue-Toastification__fade-leave-active,.Vue-Toastification__fade-enter-active{animation-duration:.75s;animation-fill-mode:both}.Vue-Toastification__fade-move{transition-timing-function:ease-in-out;transition-property:all;transition-duration:.4s}@keyframes slideInBlurredLeft{0%{transform:translate(-1000px) scaleX(2.5) scaleY(.2);transform-origin:100% 50%;filter:blur(40px);opacity:0}to{transform:translate(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideInBlurredTop{0%{transform:translateY(-1000px) scaleY(2.5) scaleX(.2);transform-origin:50% 0%;filter:blur(240px);opacity:0}to{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideInBlurredRight{0%{transform:translate(1000px) scaleX(2.5) scaleY(.2);transform-origin:0% 50%;filter:blur(40px);opacity:0}to{transform:translate(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideInBlurredBottom{0%{transform:translateY(1000px) scaleY(2.5) scaleX(.2);transform-origin:50% 100%;filter:blur(240px);opacity:0}to{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideOutBlurredTop{0%{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 0%;filter:blur(0);opacity:1}to{transform:translateY(-1000px) scaleY(2) scaleX(.2);transform-origin:50% 0%;filter:blur(240px);opacity:0}}@keyframes slideOutBlurredBottom{0%{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}to{transform:translateY(1000px) scaleY(2) scaleX(.2);transform-origin:50% 100%;filter:blur(240px);opacity:0}}@keyframes slideOutBlurredLeft{0%{transform:translate(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}to{transform:translate(-1000px) scaleX(2) scaleY(.2);transform-origin:100% 50%;filter:blur(40px);opacity:0}}@keyframes slideOutBlurredRight{0%{transform:translate(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}to{transform:translate(1000px) scaleX(2) scaleY(.2);transform-origin:0% 50%;filter:blur(40px);opacity:0}}.Vue-Toastification__slideBlurred-enter-active.top-left,.Vue-Toastification__slideBlurred-enter-active.bottom-left{animation-name:slideInBlurredLeft}.Vue-Toastification__slideBlurred-enter-active.top-right,.Vue-Toastification__slideBlurred-enter-active.bottom-right{animation-name:slideInBlurredRight}.Vue-Toastification__slideBlurred-enter-active.top-center{animation-name:slideInBlurredTop}.Vue-Toastification__slideBlurred-enter-active.bottom-center{animation-name:slideInBlurredBottom}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).top-left,.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).bottom-left{animation-name:slideOutBlurredLeft}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).top-right,.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).bottom-right{animation-name:slideOutBlurredRight}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).top-center{animation-name:slideOutBlurredTop}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).bottom-center{animation-name:slideOutBlurredBottom}.Vue-Toastification__slideBlurred-leave-active,.Vue-Toastification__slideBlurred-enter-active{animation-duration:.75s;animation-fill-mode:both}.Vue-Toastification__slideBlurred-move{transition-timing-function:ease-in-out;transition-property:all;transition-duration:.4s}.rotate-180[data-v-785126fa] svg{transform:rotate(180deg)}.page-select[data-v-785126fa]{background-color:var(--tblr-primary)!important;color:#fff!important;border:none!important}.page-estilo[data-v-785126fa]{border:none;--cor-escurecida: color-mix(in srgb, var(--tblr-primary), #000 25%);background:transparent;padding:1px 10px;border-radius:7px;margin:0!important;transition:color .15s ease-in-out,background-color .15s ease-in-out}.page-estilo[data-v-785126fa]:hover{background:var(--cor-escurecida);color:#fff}.btn[data-v-785126fa]{padding:0!important;margin:0!important;background:transparent!important;border:none!important;box-shadow:none!important}[data-v-785126fa] .btn-estilo svg{padding:0!important;margin:0!important}[data-v-785126fa] .btn-estilo:hover svg{stroke:var(--tblr-primary)}.icon-tabler[data-v-785126fa]{margin:0!important;padding:0!important}.t-container{width:100%;display:flex;justify-content:space-between;align-items:center;color:#fff}.scroll-finish-style[data-v-b217a9f6]{color:#6c757d;display:block;text-align:center;margin-top:1rem;margin-bottom:1rem}.inputClose[data-v-6a2b24b1]{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-6a2b24b1]:hover{cursor:pointer}.selected[data-v-6a2b24b1]:hover{background-color:#b02a2a!important;color:#fff!important}.btn-puro-reset[data-v-59363743]{background:none;border:none;padding:0;margin:0;cursor:pointer;color:#cc1212}.placeholder-img[data-v-3b019685]{width:40px;height:40px;border-radius:4px}.erro-custom-container[data-v-3b019685]{display:inline-block;padding:.2em .6em;border-radius:4px;background-color:#fff;font-weight:700;text-transform:uppercase}.erro-custom-text[data-v-3b019685]{font-size:.8em;text-transform:uppercase;font-weight:700}.container-img[data-v-3238c4c3]{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-3238c4c3]{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-3238c4c3]{object-fit:contain;width:100%;height:100%;z-index:2}.container-img.container-img-preview[data-v-3238c4c3]{cursor:pointer}.container-img.container-img-preview[data-v-3238c4c3]: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-3238c4c3]{opacity:.3}.bg-img[data-v-3238c4c3]{background-color:#0000004d;position:absolute;top:0;width:100%;height:100%;z-index:1}.image-preview-container[data-v-3238c4c3]{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-3238c4c3]{display:block;max-width:250px;max-height:250px;border-radius:4px}.table-responsive[data-v-3238c4c3]{overflow-x:auto}.state-feedback[data-v-3238c4c3]{padding:1rem;text-align:center}.state-feedback.error[data-v-3238c4c3]{color:red}.pagination-controls[data-v-3238c4c3]{margin-top:1rem;display:flex;justify-content:space-between}.form-check-input[data-v-3238c4c3]{border-width:1px!important;border-color:#00000064!important;width:17px;height:17px}[data-bs-theme=dark] .form-check-input[data-v-3238c4c3]{border-color:#ffffff5f!important}.ghost-item[data-v-3238c4c3]{opacity:.5;background:var(--tblr-primary-lt, #e6f0ff);border-radius:8px}.dragging-item[data-v-3238c4c3]{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-3238c4c3]{cursor:grab}.column-move-move[data-v-3238c4c3]{transition:transform .4s ease}.column-move-enter-active[data-v-3238c4c3],.column-move-leave-active[data-v-3238c4c3]{transition:all .4s ease}.header-ordering[data-v-3238c4c3]{display:flex;justify-content:space-between}.expand-item-expand-enter-active[data-v-3238c4c3]{transition:all .5s ease}.expand-item-expand-enter-from[data-v-3238c4c3]{opacity:0;transform:scaleY(.3) translateY(-30px)}.expand-item-expand-enter-to[data-v-3238c4c3]{opacity:1;transform:scaleY(1);transform:translateY(0)}.expand-item-expand-leave-active[data-v-3238c4c3]{transition:all .4s ease}.expand-item-expand-leave-to[data-v-3238c4c3]{opacity:0;transform:scaleY(.3) translateY(-30px)}.expand-item-fade-enter-active[data-v-3238c4c3],.expand-item-fade-leave-active[data-v-3238c4c3]{transition:opacity .5s ease}.expand-item-fade-enter-from[data-v-3238c4c3],.expand-item-fade-leave-to[data-v-3238c4c3]{opacity:0}.btn-clean[data-v-3238c4c3]{display:inline-flex;align-items:center;justify-content:center;padding:4px;border-radius:4px;transition:background-color .2s ease;background:transparent;border:none;outline:none;cursor:pointer}.btn-clean[data-v-3238c4c3]:hover{background-color:#0000000d}.icon-transition-arrow[data-v-3238c4c3]{transition:transform .3s cubic-bezier(.4,0,.2,1),color .2s ease;color:var(--tblr-primary, #206bc4)}.is-expanded .icon-transition-arrow[data-v-3238c4c3]{transform:rotate(90deg)}.icon-transition-plus[data-v-3238c4c3]{transition:transform .3s cubic-bezier(.4,0,.2,1),color .2s ease;color:var(--tblr-primary, #206bc4)}.icon-transition-plus .vertical-line[data-v-3238c4c3]{transform-origin:center;transition:transform .3s cubic-bezier(.4,0,.2,1),opacity .2s ease}.is-expanded .icon-transition-plus[data-v-3238c4c3]{transform:rotate(180deg)}.is-expanded .icon-transition-plus .vertical-line[data-v-3238c4c3]{transform:scaleY(0);opacity:0}
|
package/dist/vDataTable.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as ee, useSlots as
|
|
2
|
-
import { _ as ue, P as
|
|
3
|
-
import
|
|
4
|
-
import { D as
|
|
5
|
-
const
|
|
1
|
+
import { defineComponent as ee, useSlots as Re, inject as Oe, onMounted as Ie, h as be, computed as B, watch as Y, resolveComponent as et, createElementBlock as r, openBlock as e, Fragment as I, createCommentVNode as C, createElementVNode as c, withModifiers as he, createBlock as $, resolveDynamicComponent as V, unref as l, withDirectives as ze, withKeys as tt, vModelText as De, renderList as N, withCtx as R, createTextVNode as H, toDisplayString as O, normalizeClass as S, ref as z, nextTick as we, normalizeProps as Te, mergeProps as xe, Comment as at, Text as nt, mergeDefaults as st, provide as lt, readonly as ye, renderSlot as F, Teleport as de, createVNode as le, TransitionGroup as ot, Transition as rt, normalizeStyle as it } from "vue";
|
|
2
|
+
import { _ as ue, P as dt } from "./Pagination-DtVDFQ07.js";
|
|
3
|
+
import ut from "vuedraggable";
|
|
4
|
+
import { D as ct } from "./datatableConfig-BMFlKtgh.js";
|
|
5
|
+
const Pe = Symbol("v-datatable-key"), Da = /* @__PURE__ */ ee({
|
|
6
6
|
__name: "VColumn",
|
|
7
7
|
props: {
|
|
8
8
|
field: { default: null },
|
|
@@ -26,7 +26,7 @@ const De = Symbol("v-datatable-key"), za = /* @__PURE__ */ ee({
|
|
|
26
26
|
disable_hide: { type: Boolean, default: !1 }
|
|
27
27
|
},
|
|
28
28
|
setup(d) {
|
|
29
|
-
const m = crypto.randomUUID(), s = d, a =
|
|
29
|
+
const m = crypto.randomUUID(), s = d, a = Re(), _ = Oe(Pe);
|
|
30
30
|
if (!_)
|
|
31
31
|
throw new Error("VColumn deve ser usado dentro de um VDataTable.");
|
|
32
32
|
const p = ["text", "img", "date", "html"];
|
|
@@ -78,8 +78,8 @@ const De = Symbol("v-datatable-key"), za = /* @__PURE__ */ ee({
|
|
|
78
78
|
});
|
|
79
79
|
}), (x, g) => null;
|
|
80
80
|
}
|
|
81
|
-
}),
|
|
82
|
-
const s =
|
|
81
|
+
}), _t = new DOMParser(), pt = (d) => {
|
|
82
|
+
const s = _t.parseFromString(d, "image/svg+xml").documentElement;
|
|
83
83
|
if (s.tagName.toLowerCase() !== "svg")
|
|
84
84
|
return () => be("span", {
|
|
85
85
|
style: {
|
|
@@ -94,11 +94,11 @@ const De = Symbol("v-datatable-key"), za = /* @__PURE__ */ ee({
|
|
|
94
94
|
a[p.name] = p.value;
|
|
95
95
|
const _ = s.innerHTML;
|
|
96
96
|
return (p, { attrs: x }) => {
|
|
97
|
-
const g = a.class || "", T = x.class || "", v = [g, T].filter(Boolean).join(" "), { class: k, ...h } = a, { class: o, ...
|
|
97
|
+
const g = a.class || "", T = x.class || "", v = [g, T].filter(Boolean).join(" "), { class: k, ...h } = a, { class: o, ...D } = x;
|
|
98
98
|
return be("svg", {
|
|
99
99
|
...h,
|
|
100
100
|
...p,
|
|
101
|
-
...
|
|
101
|
+
...D,
|
|
102
102
|
class: v,
|
|
103
103
|
innerHTML: _
|
|
104
104
|
});
|
|
@@ -107,7 +107,7 @@ const De = Symbol("v-datatable-key"), za = /* @__PURE__ */ ee({
|
|
|
107
107
|
const m = {};
|
|
108
108
|
for (const s in d) {
|
|
109
109
|
const a = d[s];
|
|
110
|
-
typeof a == "string" ? m[s] =
|
|
110
|
+
typeof a == "string" ? m[s] = pt(a) : typeof a == "object" && a !== null && (m[s] = oe(a));
|
|
111
111
|
}
|
|
112
112
|
return m;
|
|
113
113
|
}, ce = {
|
|
@@ -129,13 +129,13 @@ const De = Symbol("v-datatable-key"), za = /* @__PURE__ */ ee({
|
|
|
129
129
|
increasing: ' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> <path d="m3 8 4-4 4 4"></path> <path d="M7 4v16"></path> <path d="M11 12h4"></path> <path d="M11 16h7"></path> <path d="M11 20h10"></path> </svg> '
|
|
130
130
|
},
|
|
131
131
|
column_manager: ' <svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-columns" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"> <path stroke="none" d="M0 0h24v24H0z" fill="none" /> <path d="M4 6l5.5 0" /> <path d="M4 10l5.5 0" /> <path d="M4 14l5.5 0" /> <path d="M4 18l5.5 0" /> <path d="M14.5 6l5.5 0" /> <path d="M14.5 10l5.5 0" /> <path d="M14.5 14l5.5 0" /> <path d="M14.5 18l5.5 0" /> </svg> '
|
|
132
|
-
},
|
|
132
|
+
}, mt = { class: "input-icon" }, gt = ["placeholder"], vt = {
|
|
133
133
|
key: 1,
|
|
134
134
|
class: "input-icon-addon"
|
|
135
|
-
},
|
|
135
|
+
}, ft = {
|
|
136
136
|
key: 1,
|
|
137
137
|
class: "dropdown-menu"
|
|
138
|
-
},
|
|
138
|
+
}, ht = ["onClick"], yt = ["onClick"], kt = /* @__PURE__ */ ee({
|
|
139
139
|
__name: "SearchDatatable",
|
|
140
140
|
props: {
|
|
141
141
|
search: {},
|
|
@@ -160,8 +160,8 @@ const De = Symbol("v-datatable-key"), za = /* @__PURE__ */ ee({
|
|
|
160
160
|
}), Y(
|
|
161
161
|
() => a.list_filter,
|
|
162
162
|
(h) => {
|
|
163
|
-
Array.isArray(h) ? (h.forEach((o,
|
|
164
|
-
o?.type === 1 && !o.to && console.error(`Filtro na posição ${
|
|
163
|
+
Array.isArray(h) ? (h.forEach((o, D) => {
|
|
164
|
+
o?.type === 1 && !o.to && console.error(`Filtro na posição ${D} é do tipo 'router-link' mas não possui a propriedade 'to'.`);
|
|
165
165
|
}), a.item_use.includes(2) && h.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.");
|
|
166
166
|
},
|
|
167
167
|
{ immediate: !0, deep: !0 }
|
|
@@ -179,7 +179,7 @@ const De = Symbol("v-datatable-key"), za = /* @__PURE__ */ ee({
|
|
|
179
179
|
a.deactivate_search_empty && p.value.trim() === "" || _("search");
|
|
180
180
|
}
|
|
181
181
|
return (h, o) => {
|
|
182
|
-
const
|
|
182
|
+
const D = et("router-link");
|
|
183
183
|
return e(), r(I, null, [
|
|
184
184
|
d.item_use.includes(2) ? (e(), r("a", {
|
|
185
185
|
key: 0,
|
|
@@ -192,16 +192,16 @@ const De = Symbol("v-datatable-key"), za = /* @__PURE__ */ ee({
|
|
|
192
192
|
}, [
|
|
193
193
|
(e(), $(V(l(s).search.filter)))
|
|
194
194
|
])) : C("", !0),
|
|
195
|
-
c("div",
|
|
195
|
+
c("div", mt, [
|
|
196
196
|
ze(c("input", {
|
|
197
197
|
type: "text",
|
|
198
198
|
class: "form-control ms-1",
|
|
199
199
|
id: "inputSearchVDataTable",
|
|
200
200
|
"onUpdate:modelValue": o[1] || (o[1] = (y) => p.value = y),
|
|
201
|
-
onKeyup:
|
|
201
|
+
onKeyup: tt(k, ["enter"]),
|
|
202
202
|
placeholder: d.placeholder_search
|
|
203
|
-
}, null, 40,
|
|
204
|
-
[
|
|
203
|
+
}, null, 40, gt), [
|
|
204
|
+
[De, p.value]
|
|
205
205
|
]),
|
|
206
206
|
p.value ? (e(), r("span", {
|
|
207
207
|
key: 0,
|
|
@@ -210,13 +210,13 @@ const De = Symbol("v-datatable-key"), za = /* @__PURE__ */ ee({
|
|
|
210
210
|
title: "Limpar pesquisa"
|
|
211
211
|
}, [
|
|
212
212
|
(e(), $(V(l(s).search.clear)))
|
|
213
|
-
])) : (e(), r("span",
|
|
213
|
+
])) : (e(), r("span", vt, [
|
|
214
214
|
(e(), $(V(l(s).search.loupe)))
|
|
215
215
|
]))
|
|
216
216
|
]),
|
|
217
|
-
d.item_use.includes(2) ? (e(), r("div",
|
|
217
|
+
d.item_use.includes(2) ? (e(), r("div", ft, [
|
|
218
218
|
(e(!0), r(I, null, N(a.list_filter, (y, b) => (e(), r(I, { key: b }, [
|
|
219
|
-
"type" in y && y.type === 1 && (!("visible" in y) || y.visible) ? (e(), $(
|
|
219
|
+
"type" in y && y.type === 1 && (!("visible" in y) || y.visible) ? (e(), $(D, {
|
|
220
220
|
key: 0,
|
|
221
221
|
to: y?.to,
|
|
222
222
|
class: "dropdown-item cursor-pointer"
|
|
@@ -229,20 +229,20 @@ const De = Symbol("v-datatable-key"), za = /* @__PURE__ */ ee({
|
|
|
229
229
|
key: 1,
|
|
230
230
|
onClick: he((L) => g(String(y.value)), ["prevent"]),
|
|
231
231
|
class: S(["dropdown-item cursor-pointer", x.value === y?.value ? "bg-info text-dark selected" : ""])
|
|
232
|
-
}, O(y.text), 11,
|
|
232
|
+
}, O(y.text), 11, ht)) : (!("type" in y) || y.type === 3) && (!("visible" in y) || y.visible) ? (e(), r("a", {
|
|
233
233
|
key: 2,
|
|
234
234
|
onClick: he((L) => v(y), ["prevent"]),
|
|
235
235
|
class: S(["dropdown-item cursor-pointer", y?.active ? "bg-info text-dark selected" : ""])
|
|
236
|
-
}, O(y.text), 11,
|
|
236
|
+
}, O(y.text), 11, yt)) : C("", !0)
|
|
237
237
|
], 64))), 128))
|
|
238
238
|
])) : C("", !0)
|
|
239
239
|
], 64);
|
|
240
240
|
};
|
|
241
241
|
}
|
|
242
|
-
}),
|
|
242
|
+
}), bt = /* @__PURE__ */ ue(kt, [["__scopeId", "data-v-6a2b24b1"]]), wt = { class: "d-flex justify-content-between align-items-center mb-1 w-100" }, xt = { class: "d-flex flex-column gap-2" }, Ct = {
|
|
243
243
|
key: 0,
|
|
244
244
|
class: "form-check cursor-pointer m-0"
|
|
245
|
-
},
|
|
245
|
+
}, St = ["checked", "disabled", "onChange"], Mt = { class: "form-check-label user-select-none" }, $t = /* @__PURE__ */ ee({
|
|
246
246
|
__name: "VColumnManager",
|
|
247
247
|
props: {
|
|
248
248
|
columns_list: { default: () => [] },
|
|
@@ -284,7 +284,7 @@ const De = Symbol("v-datatable-key"), za = /* @__PURE__ */ ee({
|
|
|
284
284
|
]]),
|
|
285
285
|
style: { "min-width": "220px", "z-index": "1050" }
|
|
286
286
|
}, [
|
|
287
|
-
c("div",
|
|
287
|
+
c("div", wt, [
|
|
288
288
|
a[2] || (a[2] = c("h6", { class: "dropdown-header text-uppercase fw-bold m-0 p-0" }, "Exibir Colunas", -1)),
|
|
289
289
|
c("button", {
|
|
290
290
|
title: "resetar",
|
|
@@ -316,27 +316,27 @@ const De = Symbol("v-datatable-key"), za = /* @__PURE__ */ ee({
|
|
|
316
316
|
])])
|
|
317
317
|
]),
|
|
318
318
|
a[3] || (a[3] = c("div", { class: "dropdown-divider my-3" }, null, -1)),
|
|
319
|
-
c("div",
|
|
319
|
+
c("div", xt, [
|
|
320
320
|
(e(!0), r(I, null, N(d.columns_list, (_) => (e(), r(I, {
|
|
321
321
|
key: _.id
|
|
322
322
|
}, [
|
|
323
|
-
_.disable_hide ? C("", !0) : (e(), r("label",
|
|
323
|
+
_.disable_hide ? C("", !0) : (e(), r("label", Ct, [
|
|
324
324
|
c("input", {
|
|
325
325
|
class: "form-check-input",
|
|
326
326
|
type: "checkbox",
|
|
327
327
|
checked: _.visible,
|
|
328
328
|
disabled: _.disable_hide,
|
|
329
329
|
onChange: (p) => d.toggleColumnVisibility(_.id)
|
|
330
|
-
}, null, 40,
|
|
331
|
-
c("span",
|
|
330
|
+
}, null, 40, St),
|
|
331
|
+
c("span", Mt, O(_.header), 1)
|
|
332
332
|
]))
|
|
333
333
|
], 64))), 128))
|
|
334
334
|
])
|
|
335
335
|
], 2)
|
|
336
336
|
], 2)) : C("", !0);
|
|
337
337
|
}
|
|
338
|
-
}),
|
|
339
|
-
function
|
|
338
|
+
}), Bt = /* @__PURE__ */ ue($t, [["__scopeId", "data-v-59363743"]]);
|
|
339
|
+
function Tt() {
|
|
340
340
|
const d = z(!1), m = z(""), s = z(0), a = z(0), _ = B(() => ({
|
|
341
341
|
position: "fixed",
|
|
342
342
|
zIndex: 9999,
|
|
@@ -345,9 +345,9 @@ function $t() {
|
|
|
345
345
|
left: `${s.value + 15}px`
|
|
346
346
|
}));
|
|
347
347
|
function p(v) {
|
|
348
|
-
const k = v.clientX, h = v.clientY, o = window.innerHeight,
|
|
349
|
-
let b = h +
|
|
350
|
-
b + y > o && (b = h - y -
|
|
348
|
+
const k = v.clientX, h = v.clientY, o = window.innerHeight, D = 15, y = 300;
|
|
349
|
+
let b = h + D;
|
|
350
|
+
b + y > o && (b = h - y - D, b < 0 && (b = 0)), s.value = k, a.value = b;
|
|
351
351
|
}
|
|
352
352
|
function x(v, k) {
|
|
353
353
|
d.value = !0, m.value = k, p(v);
|
|
@@ -367,7 +367,7 @@ function $t() {
|
|
|
367
367
|
handleMouseLeave: T
|
|
368
368
|
};
|
|
369
369
|
}
|
|
370
|
-
function
|
|
370
|
+
function Ot(d, m, s, a) {
|
|
371
371
|
const _ = z([]);
|
|
372
372
|
function p() {
|
|
373
373
|
_.value = [];
|
|
@@ -377,7 +377,7 @@ function Bt(d, m, s, a) {
|
|
|
377
377
|
return _.value.some((h) => h === k);
|
|
378
378
|
}
|
|
379
379
|
function g(v) {
|
|
380
|
-
const k = v[m], h = _.value.findIndex((
|
|
380
|
+
const k = v[m], h = _.value.findIndex((D) => D === k), o = h > -1;
|
|
381
381
|
d ? (p(), o || (_.value.push(k), a && T(k))) : o ? _.value.splice(h, 1) : (_.value.push(k), a && T(k));
|
|
382
382
|
}
|
|
383
383
|
function T(v) {
|
|
@@ -400,7 +400,7 @@ function Bt(d, m, s, a) {
|
|
|
400
400
|
close_all_expanded_items: p
|
|
401
401
|
};
|
|
402
402
|
}
|
|
403
|
-
function
|
|
403
|
+
function It(d, m, s, a, _, p) {
|
|
404
404
|
const x = z([]), g = B(() => l(d)), T = B(() => g.value.endpoint), v = B(() => ({
|
|
405
405
|
[g.value.page_param_name]: m.value.current_page + 1,
|
|
406
406
|
[g.value.page_size_param_name]: m.value.limit_per_page,
|
|
@@ -411,12 +411,12 @@ function Tt(d, m, s, a, _, p) {
|
|
|
411
411
|
for (const f of s.value)
|
|
412
412
|
f.use_ordering && (a.value[f.id] === "increasing" ? w[f.param_ordering] = f.increasing_value || "increasing" : a.value[f.id] === "decreasing" && (w[f.param_ordering] = f.decreasing_value || "decreasing"));
|
|
413
413
|
return w;
|
|
414
|
-
}), { data: h, pending: o, error:
|
|
414
|
+
}), { data: h, pending: o, error: D, execute: y, attempt: b } = g.value.fetch(T, {
|
|
415
415
|
disable_request: () => g.value.disable_request,
|
|
416
416
|
params: () => {
|
|
417
417
|
const w = typeof g.value.add_params == "function";
|
|
418
418
|
let f = {};
|
|
419
|
-
const
|
|
419
|
+
const P = typeof g.value.silent_params == "function";
|
|
420
420
|
let q = {};
|
|
421
421
|
const Z = typeof g.value.add_params_keep_page == "function";
|
|
422
422
|
let ne = {};
|
|
@@ -425,7 +425,7 @@ function Tt(d, m, s, a, _, p) {
|
|
|
425
425
|
f = K();
|
|
426
426
|
} else
|
|
427
427
|
f = g.value.add_params || {};
|
|
428
|
-
if (
|
|
428
|
+
if (P) {
|
|
429
429
|
const K = g.value.silent_params;
|
|
430
430
|
q = K();
|
|
431
431
|
} else
|
|
@@ -459,12 +459,12 @@ function Tt(d, m, s, a, _, p) {
|
|
|
459
459
|
const f = g.value.custom_frontend_filter;
|
|
460
460
|
if (f && typeof f == "function")
|
|
461
461
|
w = w.filter(
|
|
462
|
-
(
|
|
462
|
+
(P) => f(P, m.value.search, m.value.filter)
|
|
463
463
|
);
|
|
464
464
|
else if (m.value.search) {
|
|
465
|
-
const
|
|
465
|
+
const P = m.value.search.toLowerCase();
|
|
466
466
|
w = w.filter((q) => Object.values(q).some(
|
|
467
|
-
(Z) => Z != null && String(Z).toLowerCase().includes(
|
|
467
|
+
(Z) => Z != null && String(Z).toLowerCase().includes(P)
|
|
468
468
|
));
|
|
469
469
|
}
|
|
470
470
|
return w;
|
|
@@ -520,7 +520,7 @@ function Tt(d, m, s, a, _, p) {
|
|
|
520
520
|
), {
|
|
521
521
|
items: M,
|
|
522
522
|
pending: o,
|
|
523
|
-
error:
|
|
523
|
+
error: D,
|
|
524
524
|
execute: y,
|
|
525
525
|
response: h,
|
|
526
526
|
attempt: b,
|
|
@@ -532,7 +532,7 @@ function Tt(d, m, s, a, _, p) {
|
|
|
532
532
|
raw_items: x
|
|
533
533
|
};
|
|
534
534
|
}
|
|
535
|
-
function
|
|
535
|
+
function zt(d, m) {
|
|
536
536
|
const s = z(null), a = z([]), _ = (v) => {
|
|
537
537
|
const k = d.item_key;
|
|
538
538
|
return a.value.some((h) => h[k] === v[k]);
|
|
@@ -575,7 +575,7 @@ function Ot(d, m) {
|
|
|
575
575
|
toggleItemSelection: T
|
|
576
576
|
};
|
|
577
577
|
}
|
|
578
|
-
const
|
|
578
|
+
const Ee = {
|
|
579
579
|
// Configurações de API
|
|
580
580
|
fetch_name: "",
|
|
581
581
|
custom_loading: null,
|
|
@@ -612,12 +612,12 @@ const It = {
|
|
|
612
612
|
second_text_page_size: "registros",
|
|
613
613
|
placeholder_search: "Buscar...",
|
|
614
614
|
// === CLASSES ===
|
|
615
|
-
class_table:
|
|
616
|
-
class_pagination:
|
|
617
|
-
class_container:
|
|
618
|
-
class_content:
|
|
619
|
-
class_filters:
|
|
620
|
-
class_page_size:
|
|
615
|
+
class_table: void 0,
|
|
616
|
+
class_pagination: void 0,
|
|
617
|
+
class_container: void 0,
|
|
618
|
+
class_content: void 0,
|
|
619
|
+
class_filters: void 0,
|
|
620
|
+
class_page_size: void 0,
|
|
621
621
|
// === CONFIGURAÇÃO DE API ===
|
|
622
622
|
filter_param_name: "filter",
|
|
623
623
|
search_param_name: "search",
|
|
@@ -638,14 +638,14 @@ const It = {
|
|
|
638
638
|
use_column_manager: !1,
|
|
639
639
|
custom_frontend_filter: null
|
|
640
640
|
};
|
|
641
|
-
function
|
|
642
|
-
const m = Oe(
|
|
641
|
+
function Dt(d) {
|
|
642
|
+
const m = Oe(ct, {});
|
|
643
643
|
return { options: B(() => {
|
|
644
644
|
const a = Object.fromEntries(
|
|
645
645
|
Object.entries(d).filter(([_, p]) => p !== void 0)
|
|
646
646
|
);
|
|
647
647
|
return {
|
|
648
|
-
...
|
|
648
|
+
...Ee,
|
|
649
649
|
// 1º Camada: Prioridade Mínima (Valores Padrão)
|
|
650
650
|
...m,
|
|
651
651
|
// 2º Camada: Prioridade Média (Valores Globais definidos por quem usa o plugin)
|
|
@@ -654,23 +654,23 @@ function zt(d) {
|
|
|
654
654
|
};
|
|
655
655
|
}) };
|
|
656
656
|
}
|
|
657
|
-
const Pt = { class: "loading-container" },
|
|
657
|
+
const Pt = { class: "loading-container" }, Et = { key: 0 }, Vt = { key: 2 }, jt = {
|
|
658
658
|
key: 5,
|
|
659
659
|
class: "text-danger erro-custom-container"
|
|
660
|
-
},
|
|
660
|
+
}, Nt = { class: "badge bg-orange text-white erro-custom-text" }, At = { key: 0 }, Ht = { key: 2 }, Ft = {
|
|
661
661
|
key: 5,
|
|
662
662
|
class: "text-danger erro-custom-container"
|
|
663
|
-
},
|
|
663
|
+
}, Lt = { class: "badge bg-orange text-white erro-custom-text" }, qt = ["colspan"], Kt = {
|
|
664
664
|
key: 0,
|
|
665
665
|
class: "d-flex flex-column justify-content-center align-items-center",
|
|
666
666
|
style: { height: "6rem" }
|
|
667
|
-
},
|
|
667
|
+
}, Ut = {
|
|
668
668
|
key: 1,
|
|
669
669
|
style: { height: "3rem" }
|
|
670
|
-
},
|
|
670
|
+
}, Jt = {
|
|
671
671
|
key: 2,
|
|
672
672
|
class: "p-3 text-center text-secondary"
|
|
673
|
-
},
|
|
673
|
+
}, Yt = /* @__PURE__ */ ee({
|
|
674
674
|
__name: "VDataTableLoading",
|
|
675
675
|
props: {
|
|
676
676
|
columns: {},
|
|
@@ -705,14 +705,14 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
705
705
|
key: p.field || p.header,
|
|
706
706
|
class: S(p.class_row)
|
|
707
707
|
}, [
|
|
708
|
-
p.bodySlot ? (e(), r("span",
|
|
708
|
+
p.bodySlot ? (e(), r("span", Et, [...a[0] || (a[0] = [
|
|
709
709
|
c("span", { class: "placeholder col-8" }, null, -1)
|
|
710
710
|
])])) : p.type === "text" ? (e(), r("span", {
|
|
711
711
|
key: 1,
|
|
712
712
|
class: S(p.class_item)
|
|
713
713
|
}, [...a[1] || (a[1] = [
|
|
714
714
|
c("span", { class: "placeholder col-8" }, null, -1)
|
|
715
|
-
])], 2)) : p.type === "date" ? (e(), r("span",
|
|
715
|
+
])], 2)) : p.type === "date" ? (e(), r("span", Vt, [...a[2] || (a[2] = [
|
|
716
716
|
c("span", { class: "placeholder col-9" }, null, -1)
|
|
717
717
|
])])) : p.type === "html" ? (e(), r("div", {
|
|
718
718
|
key: 3,
|
|
@@ -724,9 +724,9 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
724
724
|
class: S(p.class_item)
|
|
725
725
|
}, [...a[4] || (a[4] = [
|
|
726
726
|
c("div", { class: "placeholder placeholder-img" }, null, -1)
|
|
727
|
-
])], 2)) : (e(), r("span",
|
|
727
|
+
])], 2)) : (e(), r("span", jt, [
|
|
728
728
|
a[5] || (a[5] = H("tipo ", -1)),
|
|
729
|
-
c("span",
|
|
729
|
+
c("span", Nt, O(p.type), 1),
|
|
730
730
|
a[6] || (a[6] = H(" não suportado ", -1))
|
|
731
731
|
]))
|
|
732
732
|
], 2))), 128))
|
|
@@ -737,7 +737,7 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
737
737
|
key: p.field || p.header,
|
|
738
738
|
class: S(p.class_row)
|
|
739
739
|
}, [
|
|
740
|
-
p.bodySlot ? (e(), r("span",
|
|
740
|
+
p.bodySlot ? (e(), r("span", At, [...a[7] || (a[7] = [
|
|
741
741
|
c("span", {
|
|
742
742
|
class: "spinner-border spinner-border-sm",
|
|
743
743
|
role: "status",
|
|
@@ -752,7 +752,7 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
752
752
|
role: "status",
|
|
753
753
|
"aria-hidden": "true"
|
|
754
754
|
}, null, -1)
|
|
755
|
-
])], 2)) : p.type === "date" ? (e(), r("span",
|
|
755
|
+
])], 2)) : p.type === "date" ? (e(), r("span", Ht, [...a[9] || (a[9] = [
|
|
756
756
|
c("span", {
|
|
757
757
|
class: "spinner-border spinner-border-sm",
|
|
758
758
|
role: "status",
|
|
@@ -778,9 +778,9 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
778
778
|
"aria-hidden": "true"
|
|
779
779
|
})
|
|
780
780
|
], -1)
|
|
781
|
-
])], 2)) : (e(), r("span",
|
|
781
|
+
])], 2)) : (e(), r("span", Ft, [
|
|
782
782
|
a[12] || (a[12] = H("tipo ", -1)),
|
|
783
|
-
c("span",
|
|
783
|
+
c("span", Lt, O(p.type), 1),
|
|
784
784
|
a[13] || (a[13] = H(" não suportado ", -1))
|
|
785
785
|
]))
|
|
786
786
|
], 2))), 128))
|
|
@@ -790,22 +790,22 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
790
790
|
class: "text-center p-0",
|
|
791
791
|
style: { "border-bottom": "none" }
|
|
792
792
|
}, [
|
|
793
|
-
_ === Math.floor(d.pagination.limit_per_page / 2) + 1 ? (e(), r("div",
|
|
793
|
+
_ === Math.floor(d.pagination.limit_per_page / 2) + 1 ? (e(), r("div", Kt, [...a[14] || (a[14] = [
|
|
794
794
|
c("div", {
|
|
795
795
|
class: "spinner-border",
|
|
796
796
|
style: { width: "3rem", height: "3rem" },
|
|
797
797
|
role: "status"
|
|
798
798
|
}, null, -1),
|
|
799
799
|
c("span", { class: "mt-2" }, "Carregando...", -1)
|
|
800
|
-
])])) : (e(), r("div",
|
|
801
|
-
], 8,
|
|
800
|
+
])])) : (e(), r("div", Ut))
|
|
801
|
+
], 8, qt)
|
|
802
802
|
]))), 128)) : C("", !0)
|
|
803
803
|
])
|
|
804
804
|
], 2)),
|
|
805
|
-
d.attempt && d.attempt.current > 1 ? (e(), r("div",
|
|
805
|
+
d.attempt && d.attempt.current > 1 ? (e(), r("div", Jt, " A conexão falhou. Tentando novamente... (Tentativa " + O(d.attempt.current) + " de " + O(d.attempt.total) + ") ", 1)) : C("", !0)
|
|
806
806
|
]));
|
|
807
807
|
}
|
|
808
|
-
}),
|
|
808
|
+
}), Gt = /* @__PURE__ */ ue(Yt, [["__scopeId", "data-v-3b019685"]]), Xt = /* @__PURE__ */ ee({
|
|
809
809
|
__name: "VOrderingIcon",
|
|
810
810
|
props: {
|
|
811
811
|
orderings_state: {},
|
|
@@ -822,7 +822,7 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
822
822
|
!a.orderings_state || a.orderings_state === "none" ? (e(), $(V(l(s).ordering.default), { key: 0 })) : a.orderings_state === "decreasing" ? (e(), $(V(l(s).ordering.decreasing), { key: 1 })) : a.orderings_state === "increasing" ? (e(), $(V(l(s).ordering.increasing), { key: 2 })) : C("", !0)
|
|
823
823
|
])) : C("", !0);
|
|
824
824
|
}
|
|
825
|
-
}),
|
|
825
|
+
}), Wt = {
|
|
826
826
|
key: 1,
|
|
827
827
|
class: "d-flex justify-content-between align-items-center"
|
|
828
828
|
}, ke = /* @__PURE__ */ ee({
|
|
@@ -837,7 +837,7 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
837
837
|
},
|
|
838
838
|
emits: ["toggleOrderingState"],
|
|
839
839
|
setup(d, { emit: m }) {
|
|
840
|
-
const s = d, a = () => be(
|
|
840
|
+
const s = d, a = () => be(Xt, {
|
|
841
841
|
orderings_state: s.orderings_state,
|
|
842
842
|
use_ordering: s.use_ordering,
|
|
843
843
|
onToggle: () => p("toggleOrderingState")
|
|
@@ -847,7 +847,7 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
847
847
|
"header-locked-start": s.locked === "start",
|
|
848
848
|
"header-locked-end": s.locked === !0 || s.locked === "end",
|
|
849
849
|
[s.class_column]: !0
|
|
850
|
-
})), p = m, x = (T) => !T || T.length === 0 ? !0 : T.every((v) => v.type ===
|
|
850
|
+
})), p = m, x = (T) => !T || T.length === 0 ? !0 : T.every((v) => v.type === at || v.type === nt && typeof v.children == "string" && !v.children.trim() ? !0 : v.type === I || v.type === Symbol.for("v-fgt") || String(v.type) === "Symbol(Fragment)" ? x(v.children) : !1), g = B(() => {
|
|
851
851
|
if (!s.col || !s.col.colHeaderSlot) return !1;
|
|
852
852
|
const T = s.col.colHeaderSlot({ col: s.col, locked: s.locked });
|
|
853
853
|
return !x(T);
|
|
@@ -858,7 +858,7 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
858
858
|
c("div", {
|
|
859
859
|
class: S({ "header-ordering": d.use_ordering })
|
|
860
860
|
}, [
|
|
861
|
-
g.value ? (e(), $(V(d.col.colHeaderSlot), Te(xe({ key: 0 }, { col: s.col, locked: s.locked, OrderingComponent: a })), null, 16)) : (e(), r("div",
|
|
861
|
+
g.value ? (e(), $(V(d.col.colHeaderSlot), Te(xe({ key: 0 }, { col: s.col, locked: s.locked, OrderingComponent: a })), null, 16)) : (e(), r("div", Wt, [
|
|
862
862
|
c("span", null, O(s.header), 1),
|
|
863
863
|
d.col.colHeaderMidleSlot ? (e(), $(V(d.col.colHeaderMidleSlot), Te(xe({ key: 0 }, { col: s.col, locked: s.locked })), null, 16)) : C("", !0),
|
|
864
864
|
(e(), $(V(a)))
|
|
@@ -866,40 +866,40 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
866
866
|
], 2)
|
|
867
867
|
], 2));
|
|
868
868
|
}
|
|
869
|
-
}),
|
|
869
|
+
}), Qt = { class: "mx-2 d-inline-block" }, Zt = { class: "dropdown d-flex" }, Rt = {
|
|
870
870
|
key: 0,
|
|
871
871
|
class: "alert alert-cyan d-flex justify-content-center align-items-center py-2",
|
|
872
872
|
role: "alert"
|
|
873
|
-
},
|
|
873
|
+
}, ea = { class: "alert-title m-0" }, ta = { class: "badge bg-azure text-azure-fg" }, aa = {
|
|
874
874
|
key: 1,
|
|
875
875
|
class: "feedback-container text-center"
|
|
876
|
-
},
|
|
876
|
+
}, na = {
|
|
877
877
|
key: 0,
|
|
878
878
|
class: "text-secondary"
|
|
879
|
-
},
|
|
879
|
+
}, sa = {
|
|
880
880
|
key: 1,
|
|
881
881
|
class: "text-secondary"
|
|
882
|
-
},
|
|
882
|
+
}, la = {
|
|
883
883
|
key: 2,
|
|
884
884
|
class: "table-responsive"
|
|
885
|
-
},
|
|
885
|
+
}, oa = { key: 0 }, ra = { key: 0 }, ia = {
|
|
886
886
|
key: 1,
|
|
887
887
|
class: "w-1"
|
|
888
|
-
},
|
|
888
|
+
}, da = {
|
|
889
889
|
key: 0,
|
|
890
890
|
class: "w-1"
|
|
891
|
-
},
|
|
891
|
+
}, ua = ["onClick"], ca = {
|
|
892
892
|
key: 1,
|
|
893
893
|
class: "w-1"
|
|
894
|
-
},
|
|
894
|
+
}, _a = ["checked", "onChange"], pa = ["onClick"], ma = ["onClick"], ga = { key: 0 }, va = { key: 1 }, fa = ["onClick", "innerHTML"], ha = ["onClick"], ya = ["src"], ka = ["src"], ba = {
|
|
895
895
|
key: 5,
|
|
896
896
|
class: "text-danger erro-custom-container"
|
|
897
|
-
},
|
|
897
|
+
}, wa = { class: "badge bg-orange text-white erro-custom-text" }, xa = ["id"], Ca = ["colspan"], Sa = { key: 1 }, Ma = {
|
|
898
898
|
key: 2,
|
|
899
899
|
class: "text-center p-4 text-secondary"
|
|
900
|
-
},
|
|
900
|
+
}, $a = ["src"], Ba = /* @__PURE__ */ ee({
|
|
901
901
|
__name: "VDataTable",
|
|
902
|
-
props: {
|
|
902
|
+
props: /* @__PURE__ */ st({
|
|
903
903
|
fetch: { type: Function },
|
|
904
904
|
endpoint: {},
|
|
905
905
|
fetch_name: {},
|
|
@@ -957,7 +957,7 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
957
957
|
pagination_teleport: {},
|
|
958
958
|
extra_actions_teleport: {},
|
|
959
959
|
column_manager_teleport: {}
|
|
960
|
-
},
|
|
960
|
+
}, Ee),
|
|
961
961
|
emits: ["tradePage", "beforeFetch", "afterFetch", "clickedClearSearch"],
|
|
962
962
|
setup(d, { expose: m, emit: s }) {
|
|
963
963
|
const a = oe(ce), _ = z(!1), {
|
|
@@ -967,7 +967,7 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
967
967
|
handleMouseOver: T,
|
|
968
968
|
handleMouseMove: v,
|
|
969
969
|
handleMouseLeave: k
|
|
970
|
-
} =
|
|
970
|
+
} = Tt(), h = d, { options: o } = Dt(h), D = s, y = z({}), b = z([]), L = z(!1), M = z({
|
|
971
971
|
current_page: o.value.page_starts_at,
|
|
972
972
|
// pagina atual
|
|
973
973
|
count: 0,
|
|
@@ -982,7 +982,7 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
982
982
|
expand_item_toggle: G,
|
|
983
983
|
close_all_expanded_items: te,
|
|
984
984
|
is_item_expanded: X
|
|
985
|
-
} =
|
|
985
|
+
} = Ot(
|
|
986
986
|
o.value.close_expanded_item_on_expand_new,
|
|
987
987
|
o.value.item_key,
|
|
988
988
|
o.value.deactivate_animation_expand,
|
|
@@ -993,19 +993,19 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
993
993
|
attempt: ae,
|
|
994
994
|
default_params: w,
|
|
995
995
|
fetchDataWithDelay: f,
|
|
996
|
-
reSearch:
|
|
996
|
+
reSearch: P,
|
|
997
997
|
showLoadingState: q,
|
|
998
998
|
first_fetch: Z,
|
|
999
999
|
raw_items: ne
|
|
1000
|
-
} =
|
|
1000
|
+
} = It(o, M, b, y, D, te), {
|
|
1001
1001
|
selectAllCheckbox: K,
|
|
1002
1002
|
selected_items: se,
|
|
1003
1003
|
isSelected: Ce,
|
|
1004
|
-
atLeastOneSelected:
|
|
1004
|
+
atLeastOneSelected: Ve,
|
|
1005
1005
|
toggleSelectAll: Se,
|
|
1006
|
-
toggleItemSelection:
|
|
1007
|
-
} =
|
|
1008
|
-
function
|
|
1006
|
+
toggleItemSelection: je
|
|
1007
|
+
} = zt(o.value, W), U = B(() => o.value.storage_id ? `vdatatable_${o.value.storage_id}_${o.value.endpoint}` : null), _e = z([]);
|
|
1008
|
+
function Ne() {
|
|
1009
1009
|
for (const n of b.value) {
|
|
1010
1010
|
let i = "";
|
|
1011
1011
|
const t = b.value.filter((E) => E.field === n.field).length;
|
|
@@ -1030,7 +1030,7 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
1030
1030
|
}));
|
|
1031
1031
|
localStorage.setItem(U.value, JSON.stringify(n));
|
|
1032
1032
|
}
|
|
1033
|
-
function
|
|
1033
|
+
function Ae() {
|
|
1034
1034
|
if (!U.value) return;
|
|
1035
1035
|
const n = localStorage.getItem(U.value);
|
|
1036
1036
|
if (n)
|
|
@@ -1042,7 +1042,7 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
1042
1042
|
}
|
|
1043
1043
|
const u = [];
|
|
1044
1044
|
for (const j of i) {
|
|
1045
|
-
const A = b.value.find((
|
|
1045
|
+
const A = b.value.find((Ze) => Ze.storage_key === j.storage_key);
|
|
1046
1046
|
A && (A.disable_hide ? A.visible = !0 : A.visible = j.visible, u.push(A));
|
|
1047
1047
|
}
|
|
1048
1048
|
b.value.splice(0, b.value.length, ...u);
|
|
@@ -1050,7 +1050,7 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
1050
1050
|
localStorage.removeItem(U.value);
|
|
1051
1051
|
}
|
|
1052
1052
|
}
|
|
1053
|
-
function
|
|
1053
|
+
function He() {
|
|
1054
1054
|
if (U.value && localStorage.removeItem(U.value), _e.value.length > 0) {
|
|
1055
1055
|
const n = [];
|
|
1056
1056
|
for (const i of _e.value) {
|
|
@@ -1072,7 +1072,7 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
1072
1072
|
const i = b.value.filter((u) => u.locked === "start"), t = b.value.filter((u) => u.locked === !0 || u.locked === "end"), E = b.value.filter((u) => !u.locked && u.visible === !1);
|
|
1073
1073
|
b.value.splice(0, b.value.length, ...i, ...n, ...E, ...t), pe();
|
|
1074
1074
|
}
|
|
1075
|
-
}),
|
|
1075
|
+
}), Fe = B(() => [...Me.value, ...me.value, ...$e.value]), ge = B(() => b.value.map((n) => ({
|
|
1076
1076
|
id: n.id,
|
|
1077
1077
|
header: n.header,
|
|
1078
1078
|
field: n.field,
|
|
@@ -1086,22 +1086,22 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
1086
1086
|
const i = b.value.find((t) => t.id === n);
|
|
1087
1087
|
i && (i.visible = !i.visible, pe());
|
|
1088
1088
|
}
|
|
1089
|
-
const
|
|
1089
|
+
const Le = B(() => {
|
|
1090
1090
|
let n = [1];
|
|
1091
1091
|
return o.value.list_filter.length > 0 && n.push(2), n;
|
|
1092
1092
|
}), re = B(() => W.value.length > 0);
|
|
1093
|
-
function
|
|
1093
|
+
function qe() {
|
|
1094
1094
|
setTimeout(() => {
|
|
1095
1095
|
L.value = !1;
|
|
1096
1096
|
}, 500);
|
|
1097
1097
|
}
|
|
1098
|
-
function
|
|
1098
|
+
function Ke(n) {
|
|
1099
1099
|
b.value.push(n);
|
|
1100
1100
|
}
|
|
1101
|
-
|
|
1101
|
+
lt(Pe, { addColumn: Ke });
|
|
1102
1102
|
const Be = (n) => {
|
|
1103
1103
|
const i = n.target, t = parseInt(i.value, 10);
|
|
1104
|
-
t > 0 && (M.value.limit_per_page = t, M.value.limit_per_page = t,
|
|
1104
|
+
t > 0 && (M.value.limit_per_page = t, M.value.limit_per_page = t, P());
|
|
1105
1105
|
};
|
|
1106
1106
|
function J(n, i, t = null) {
|
|
1107
1107
|
if (!n) return i;
|
|
@@ -1111,33 +1111,33 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
1111
1111
|
u && typeof u == "object" && j in u ? u = u[j] : console.error(`Caminho inválido ou valor nulo em: ${n} na parte ${j}`);
|
|
1112
1112
|
return t && (u = t(u)), u;
|
|
1113
1113
|
}
|
|
1114
|
-
function
|
|
1114
|
+
function Ue(n, i) {
|
|
1115
1115
|
return i && typeof i == "number" && i > 0 && typeof n == "string" && n.length > i ? n.substring(0, i) + "..." : n;
|
|
1116
1116
|
}
|
|
1117
1117
|
function fe(n) {
|
|
1118
1118
|
for (const t in y.value)
|
|
1119
1119
|
t !== n && (y.value[t] = "none");
|
|
1120
1120
|
const i = y.value[n] || "none";
|
|
1121
|
-
i === "none" ? y.value[n] = "increasing" : i === "increasing" ? y.value[n] = "decreasing" : y.value[n] = "none",
|
|
1122
|
-
}
|
|
1123
|
-
function Ue(n) {
|
|
1124
|
-
n > 0 ? (M.value.limit_per_page = n, D()) : console.warn("O limite deve ser um número maior que zero.");
|
|
1121
|
+
i === "none" ? y.value[n] = "increasing" : i === "increasing" ? y.value[n] = "decreasing" : y.value[n] = "none", P();
|
|
1125
1122
|
}
|
|
1126
1123
|
function Je(n) {
|
|
1127
|
-
M.value.
|
|
1124
|
+
n > 0 ? (M.value.limit_per_page = n, P()) : console.warn("O limite deve ser um número maior que zero.");
|
|
1128
1125
|
}
|
|
1129
1126
|
function Ye(n) {
|
|
1130
|
-
M.value.
|
|
1127
|
+
M.value.search = n, P();
|
|
1131
1128
|
}
|
|
1132
1129
|
function Ge(n) {
|
|
1130
|
+
M.value.filter = n, P();
|
|
1131
|
+
}
|
|
1132
|
+
function Xe(n) {
|
|
1133
1133
|
n >= 0 && n <= Math.ceil(M.value.count / M.value.limit_per_page) ? (M.value.current_page = n, f()) : console.warn("Número de página inválido.");
|
|
1134
1134
|
}
|
|
1135
|
-
function
|
|
1135
|
+
function We() {
|
|
1136
1136
|
let n = b.value.length;
|
|
1137
1137
|
return o.value.use_checkbox && (n += 1), o.value.use_expandable_items && (n += 1), n;
|
|
1138
1138
|
}
|
|
1139
|
-
function
|
|
1140
|
-
|
|
1139
|
+
function Qe() {
|
|
1140
|
+
D("tradePage"), f();
|
|
1141
1141
|
}
|
|
1142
1142
|
const ie = (n, i) => {
|
|
1143
1143
|
const t = [n.class_item || ""];
|
|
@@ -1148,15 +1148,15 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
1148
1148
|
};
|
|
1149
1149
|
return m({
|
|
1150
1150
|
execute: f,
|
|
1151
|
-
reSearch:
|
|
1151
|
+
reSearch: P,
|
|
1152
1152
|
pagination: ye(M),
|
|
1153
|
-
set_limit_per_page:
|
|
1154
|
-
set_search:
|
|
1155
|
-
set_filter:
|
|
1156
|
-
set_page:
|
|
1153
|
+
set_limit_per_page: Je,
|
|
1154
|
+
set_search: Ye,
|
|
1155
|
+
set_filter: Ge,
|
|
1156
|
+
set_page: Xe,
|
|
1157
1157
|
default_params: w,
|
|
1158
1158
|
selected_items: se,
|
|
1159
|
-
atLeastOneSelected:
|
|
1159
|
+
atLeastOneSelected: Ve,
|
|
1160
1160
|
expand_item_toggle: G,
|
|
1161
1161
|
close_all_expanded_items: te,
|
|
1162
1162
|
selectAllCheckbox: K,
|
|
@@ -1166,9 +1166,9 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
1166
1166
|
results: ye(ne)
|
|
1167
1167
|
}), Ie(() => {
|
|
1168
1168
|
_.value = !0, o.value.immediate && we(() => {
|
|
1169
|
-
|
|
1169
|
+
P();
|
|
1170
1170
|
}), we(() => {
|
|
1171
|
-
o.value.storage_id && (
|
|
1171
|
+
o.value.storage_id && (Ne(), Ae());
|
|
1172
1172
|
});
|
|
1173
1173
|
}), (n, i) => (e(), r("div", null, [
|
|
1174
1174
|
c("div", {
|
|
@@ -1189,7 +1189,7 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
1189
1189
|
class: S(["text-secondary", l(o).class_page_size])
|
|
1190
1190
|
}, [
|
|
1191
1191
|
H(O(l(o).first_text_page_size) + " ", 1),
|
|
1192
|
-
c("div",
|
|
1192
|
+
c("div", Qt, [
|
|
1193
1193
|
ze(c("input", {
|
|
1194
1194
|
class: "form-control form-control-sm",
|
|
1195
1195
|
onChange: Be,
|
|
@@ -1200,7 +1200,7 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
1200
1200
|
type: "number"
|
|
1201
1201
|
}, null, 544), [
|
|
1202
1202
|
[
|
|
1203
|
-
|
|
1203
|
+
De,
|
|
1204
1204
|
M.value.limit_per_page,
|
|
1205
1205
|
void 0,
|
|
1206
1206
|
{ lazy: !0 }
|
|
@@ -1211,21 +1211,21 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
1211
1211
|
], 2)
|
|
1212
1212
|
], !0),
|
|
1213
1213
|
F(n.$slots, "fieldMiddle", {}, void 0, !0),
|
|
1214
|
-
c("div",
|
|
1214
|
+
c("div", Zt, [
|
|
1215
1215
|
_.value ? (e(), $(de, {
|
|
1216
1216
|
key: 0,
|
|
1217
1217
|
to: l(o).search_teleport || "body",
|
|
1218
1218
|
disabled: !l(o).search_teleport
|
|
1219
1219
|
}, [
|
|
1220
|
-
l(o).disable_search ? C("", !0) : (e(), $(
|
|
1220
|
+
l(o).disable_search ? C("", !0) : (e(), $(bt, {
|
|
1221
1221
|
key: 0,
|
|
1222
1222
|
search: M.value.search,
|
|
1223
1223
|
"onUpdate:search": i[1] || (i[1] = (t) => M.value.search = t),
|
|
1224
1224
|
filter: M.value.filter,
|
|
1225
1225
|
"onUpdate:filter": i[2] || (i[2] = (t) => M.value.filter = t),
|
|
1226
1226
|
list_filter: l(o).list_filter,
|
|
1227
|
-
item_use:
|
|
1228
|
-
onSearch: l(
|
|
1227
|
+
item_use: Le.value,
|
|
1228
|
+
onSearch: l(P),
|
|
1229
1229
|
deactivate_search_on_clear: l(o).deactivate_search_on_clear,
|
|
1230
1230
|
placeholder_search: l(o).placeholder_search,
|
|
1231
1231
|
deactivate_search_empty: l(o).deactivate_search_empty,
|
|
@@ -1238,7 +1238,7 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
1238
1238
|
F(n.$slots, "search-field", {
|
|
1239
1239
|
search: M.value.search,
|
|
1240
1240
|
filter: M.value.filter,
|
|
1241
|
-
reSearch: l(
|
|
1241
|
+
reSearch: l(P)
|
|
1242
1242
|
}, void 0, !0)
|
|
1243
1243
|
]),
|
|
1244
1244
|
_: 3
|
|
@@ -1249,7 +1249,7 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
1249
1249
|
to: l(o).column_manager_teleport || "body",
|
|
1250
1250
|
disabled: !l(o).column_manager_teleport
|
|
1251
1251
|
}, [
|
|
1252
|
-
le(
|
|
1252
|
+
le(Bt, {
|
|
1253
1253
|
use_column_manager: l(o).use_column_manager,
|
|
1254
1254
|
columns_list: ge.value,
|
|
1255
1255
|
toggleColumnVisibility: ve,
|
|
@@ -1257,7 +1257,7 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
1257
1257
|
class_column_manager_button: l(o).class_column_manager_button,
|
|
1258
1258
|
class_column_manager_dropdown_menu: l(o).class_column_manager_dropdown_menu,
|
|
1259
1259
|
class_column_manager_dropdown: l(o).class_column_manager_dropdown,
|
|
1260
|
-
resetColumnsState:
|
|
1260
|
+
resetColumnsState: He
|
|
1261
1261
|
}, null, 8, ["use_column_manager", "columns_list", "disable_class_column_manager_default", "class_column_manager_button", "class_column_manager_dropdown_menu", "class_column_manager_dropdown"])
|
|
1262
1262
|
], 8, ["to", "disabled"])) : C("", !0),
|
|
1263
1263
|
_.value ? (e(), $(de, {
|
|
@@ -1273,11 +1273,11 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
1273
1273
|
selected_items: l(se),
|
|
1274
1274
|
clearSelection: () => se.value = []
|
|
1275
1275
|
}, () => [
|
|
1276
|
-
l(o).use_checkbox && l(se).length > 0 && !l(o).deactivate_selected_info ? (e(), r("div",
|
|
1277
|
-
c("h4",
|
|
1276
|
+
l(o).use_checkbox && l(se).length > 0 && !l(o).deactivate_selected_info ? (e(), r("div", Rt, [
|
|
1277
|
+
c("h4", ea, [
|
|
1278
1278
|
i[10] || (i[10] = c("strong", null, "oi Itens Selecionados:", -1)),
|
|
1279
1279
|
i[11] || (i[11] = H()),
|
|
1280
|
-
c("span",
|
|
1280
|
+
c("span", ta, O(l(se).length), 1)
|
|
1281
1281
|
]),
|
|
1282
1282
|
c("a", {
|
|
1283
1283
|
class: "cursor-pointer",
|
|
@@ -1288,7 +1288,7 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
1288
1288
|
])
|
|
1289
1289
|
])) : C("", !0)
|
|
1290
1290
|
], !0),
|
|
1291
|
-
l(q) ? (e(), $(
|
|
1291
|
+
l(q) ? (e(), $(Gt, {
|
|
1292
1292
|
key: 0,
|
|
1293
1293
|
columns: b.value,
|
|
1294
1294
|
limit: M.value.limit_per_page,
|
|
@@ -1297,21 +1297,21 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
1297
1297
|
class_table: l(o).class_table,
|
|
1298
1298
|
attempt: l(ae),
|
|
1299
1299
|
pagination: M.value
|
|
1300
|
-
}, null, 8, ["columns", "limit", "type_loading", "custom_loading", "class_table", "attempt", "pagination"])) : l(Q) ? (e(), r("div",
|
|
1300
|
+
}, null, 8, ["columns", "limit", "type_loading", "custom_loading", "class_table", "attempt", "pagination"])) : l(Q) ? (e(), r("div", aa, [
|
|
1301
1301
|
i[13] || (i[13] = c("h4", { class: "text-danger" }, "Ocorreu um Erro", -1)),
|
|
1302
|
-
l(ae) ? (e(), r("p",
|
|
1302
|
+
l(ae) ? (e(), r("p", na, " Não foi possível carregar os dados após " + O(l(ae).total) + " tentativa(s). ", 1)) : (e(), r("p", sa, " Não foi possível carregar os dados. Verifique sua conexão. ")),
|
|
1303
1303
|
c("button", {
|
|
1304
1304
|
class: "btn btn-primary mt-2",
|
|
1305
1305
|
onClick: i[5] || (i[5] = //@ts-ignore
|
|
1306
1306
|
(...t) => l(f) && l(f)(...t))
|
|
1307
1307
|
}, " Tentar Novamente ")
|
|
1308
|
-
])) : l(W) ? (e(), r("div",
|
|
1309
|
-
re.value || l(o).show_header_when_empty ? (e(), r("div",
|
|
1308
|
+
])) : l(W) ? (e(), r("div", la, [
|
|
1309
|
+
re.value || l(o).show_header_when_empty ? (e(), r("div", oa, [
|
|
1310
1310
|
c("table", {
|
|
1311
1311
|
class: S(["table table-vcenter table-selectable", l(o).class_table])
|
|
1312
1312
|
}, [
|
|
1313
1313
|
c("thead", null, [
|
|
1314
|
-
le(l(
|
|
1314
|
+
le(l(ut), {
|
|
1315
1315
|
modelValue: me.value,
|
|
1316
1316
|
"onUpdate:modelValue": i[7] || (i[7] = (t) => me.value = t),
|
|
1317
1317
|
tag: "tr",
|
|
@@ -1320,11 +1320,11 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
1320
1320
|
"ghost-class": "ghost-item",
|
|
1321
1321
|
"drag-class": "dragging-item",
|
|
1322
1322
|
onStart: i[8] || (i[8] = (t) => L.value = !0),
|
|
1323
|
-
onEnd: i[9] || (i[9] = () =>
|
|
1323
|
+
onEnd: i[9] || (i[9] = () => qe())
|
|
1324
1324
|
}, {
|
|
1325
1325
|
header: R(() => [
|
|
1326
|
-
l(o).use_expandable_items ? (e(), r("th",
|
|
1327
|
-
l(o).use_checkbox ? (e(), r("th",
|
|
1326
|
+
l(o).use_expandable_items ? (e(), r("th", ra)) : C("", !0),
|
|
1327
|
+
l(o).use_checkbox ? (e(), r("th", ia, [
|
|
1328
1328
|
c("input", {
|
|
1329
1329
|
class: "form-check-input m-0",
|
|
1330
1330
|
type: "checkbox",
|
|
@@ -1376,12 +1376,12 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
1376
1376
|
re.value ? (e(!0), r(I, { key: 0 }, N(l(W), (t, E) => (e(), r(I, {
|
|
1377
1377
|
key: t[l(o).item_key]
|
|
1378
1378
|
}, [
|
|
1379
|
-
le(
|
|
1379
|
+
le(ot, {
|
|
1380
1380
|
tag: "tr",
|
|
1381
1381
|
name: L.value ? "column-move" : ""
|
|
1382
1382
|
}, {
|
|
1383
1383
|
default: R(() => [
|
|
1384
|
-
l(o).use_expandable_items ? (e(), r("td",
|
|
1384
|
+
l(o).use_expandable_items ? (e(), r("td", da, [
|
|
1385
1385
|
F(n.$slots, "expand-button", {
|
|
1386
1386
|
item: t,
|
|
1387
1387
|
index: E,
|
|
@@ -1394,19 +1394,19 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
1394
1394
|
onClick: (u) => l(G)(t)
|
|
1395
1395
|
}, [
|
|
1396
1396
|
l(o).type_button_expand === "arrow" ? (e(), $(V(l(a).expand.arrow), { key: 0 })) : (e(), $(V(l(a).expand.plus), { key: 1 }))
|
|
1397
|
-
], 10,
|
|
1397
|
+
], 10, ua)
|
|
1398
1398
|
], !0)
|
|
1399
1399
|
])) : C("", !0),
|
|
1400
|
-
l(o).use_checkbox ? (e(), r("td",
|
|
1400
|
+
l(o).use_checkbox ? (e(), r("td", ca, [
|
|
1401
1401
|
c("input", {
|
|
1402
1402
|
class: "form-check-input m-0",
|
|
1403
1403
|
type: "checkbox",
|
|
1404
1404
|
checked: l(Ce)(t),
|
|
1405
|
-
onChange: (u) => l(
|
|
1405
|
+
onChange: (u) => l(je)(t),
|
|
1406
1406
|
"aria-label": "Selecionar este item"
|
|
1407
|
-
}, null, 40,
|
|
1407
|
+
}, null, 40, _a)
|
|
1408
1408
|
])) : C("", !0),
|
|
1409
|
-
(e(!0), r(I, null, N(
|
|
1409
|
+
(e(!0), r(I, null, N(Fe.value, (u, j) => (e(), r("td", {
|
|
1410
1410
|
key: u.field || u.header,
|
|
1411
1411
|
class: S(u.class_row)
|
|
1412
1412
|
}, [
|
|
@@ -1419,25 +1419,25 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
1419
1419
|
key: 1,
|
|
1420
1420
|
onClick: (A) => u.click ? u.click(t) : null,
|
|
1421
1421
|
class: S(ie(u, t))
|
|
1422
|
-
}, O(
|
|
1422
|
+
}, O(Ue(J(u.field, t, u.transform_function), u.limite_text ?? null)), 11, pa)) : u.type === "date" ? (e(), r("span", {
|
|
1423
1423
|
key: 2,
|
|
1424
1424
|
onClick: (A) => u.click ? u.click(t) : null,
|
|
1425
1425
|
class: S(ie(u, t))
|
|
1426
1426
|
}, [
|
|
1427
|
-
u.format === "complete" ? (e(), r("span",
|
|
1427
|
+
u.format === "complete" ? (e(), r("span", ga, O(new Date(J(
|
|
1428
1428
|
u.field,
|
|
1429
1429
|
t
|
|
1430
1430
|
)).toLocaleString()), 1)) : C("", !0),
|
|
1431
|
-
u.format === "simple" ? (e(), r("span",
|
|
1431
|
+
u.format === "simple" ? (e(), r("span", va, O(new Date(J(
|
|
1432
1432
|
u.field,
|
|
1433
1433
|
t
|
|
1434
1434
|
)).toLocaleDateString()), 1)) : C("", !0)
|
|
1435
|
-
], 10,
|
|
1435
|
+
], 10, ma)) : u.type === "html" ? (e(), r("div", {
|
|
1436
1436
|
key: 3,
|
|
1437
1437
|
onClick: (A) => u.click ? u.click(t) : null,
|
|
1438
1438
|
class: S(ie(u, t)),
|
|
1439
1439
|
innerHTML: J(u.field, t)
|
|
1440
|
-
}, null, 10,
|
|
1440
|
+
}, null, 10, fa)) : u.type === "img" ? (e(), r("div", {
|
|
1441
1441
|
key: 4,
|
|
1442
1442
|
onClick: (A) => u.click ? u.click(t) : null,
|
|
1443
1443
|
class: S(ie(u, t))
|
|
@@ -1456,23 +1456,23 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
1456
1456
|
c("img", {
|
|
1457
1457
|
class: "img-tamanho",
|
|
1458
1458
|
src: J(u.field, t)
|
|
1459
|
-
}, null, 8,
|
|
1459
|
+
}, null, 8, ya),
|
|
1460
1460
|
c("img", {
|
|
1461
1461
|
class: "img-tamanho-cover",
|
|
1462
1462
|
src: J(u.field, t)
|
|
1463
|
-
}, null, 8,
|
|
1463
|
+
}, null, 8, ka),
|
|
1464
1464
|
i[14] || (i[14] = c("div", { class: "bg-img" }, null, -1))
|
|
1465
1465
|
], 16)) : C("", !0)
|
|
1466
|
-
], 10,
|
|
1466
|
+
], 10, ha)) : (e(), r("span", ba, [
|
|
1467
1467
|
i[15] || (i[15] = H("tipo ", -1)),
|
|
1468
|
-
c("span",
|
|
1468
|
+
c("span", wa, O(u.type), 1),
|
|
1469
1469
|
i[16] || (i[16] = H(" não suportado", -1))
|
|
1470
1470
|
]))
|
|
1471
1471
|
], 2))), 128))
|
|
1472
1472
|
]),
|
|
1473
1473
|
_: 2
|
|
1474
1474
|
}, 1032, ["name"]),
|
|
1475
|
-
le(
|
|
1475
|
+
le(rt, {
|
|
1476
1476
|
name: "expand-item-" + l(o).type_animation_expand,
|
|
1477
1477
|
css: !l(o).deactivate_animation_expand
|
|
1478
1478
|
}, {
|
|
@@ -1483,11 +1483,11 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
1483
1483
|
class: "expanded-item-row"
|
|
1484
1484
|
}, [
|
|
1485
1485
|
c("td", {
|
|
1486
|
-
colspan:
|
|
1486
|
+
colspan: We()
|
|
1487
1487
|
}, [
|
|
1488
1488
|
F(n.$slots, "after-row", { item: t }, void 0, !0)
|
|
1489
|
-
], 8,
|
|
1490
|
-
], 8,
|
|
1489
|
+
], 8, Ca)
|
|
1490
|
+
], 8, xa)) : C("", !0)
|
|
1491
1491
|
]),
|
|
1492
1492
|
_: 2
|
|
1493
1493
|
}, 1032, ["name", "css"])
|
|
@@ -1495,9 +1495,9 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
1495
1495
|
])
|
|
1496
1496
|
], 2)
|
|
1497
1497
|
])) : C("", !0),
|
|
1498
|
-
!re.value && l(Z) === !1 ? (e(), r("div",
|
|
1498
|
+
!re.value && l(Z) === !1 ? (e(), r("div", Sa, [
|
|
1499
1499
|
F(n.$slots, "idle-state", {}, void 0, !0)
|
|
1500
|
-
])) : re.value ? C("", !0) : (e(), r("div",
|
|
1500
|
+
])) : re.value ? C("", !0) : (e(), r("div", Ma, [...i[17] || (i[17] = [
|
|
1501
1501
|
c("p", { class: "m-0" }, "Nenhum item encontrado.", -1)
|
|
1502
1502
|
])]))
|
|
1503
1503
|
])) : C("", !0)
|
|
@@ -1517,11 +1517,11 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
1517
1517
|
key: 0,
|
|
1518
1518
|
class: S(["px-3", l(o).class_pagination])
|
|
1519
1519
|
}, [
|
|
1520
|
-
le(
|
|
1520
|
+
le(dt, {
|
|
1521
1521
|
page_starts_at: l(o).page_starts_at,
|
|
1522
1522
|
filtering: !0,
|
|
1523
1523
|
pagination: M.value,
|
|
1524
|
-
onTradePage:
|
|
1524
|
+
onTradePage: Qe
|
|
1525
1525
|
}, null, 8, ["page_starts_at", "pagination"])
|
|
1526
1526
|
], 2)) : C("", !0)
|
|
1527
1527
|
], !0)
|
|
@@ -1529,18 +1529,18 @@ const Pt = { class: "loading-container" }, Dt = { key: 0 }, Et = { key: 2 }, Vt
|
|
|
1529
1529
|
l(p) ? (e(), r("div", {
|
|
1530
1530
|
key: 1,
|
|
1531
1531
|
class: "image-preview-container",
|
|
1532
|
-
style:
|
|
1532
|
+
style: it(l(g))
|
|
1533
1533
|
}, [
|
|
1534
1534
|
c("img", {
|
|
1535
1535
|
src: l(x),
|
|
1536
1536
|
alt: "Preview",
|
|
1537
1537
|
class: "image-preview-large"
|
|
1538
|
-
}, null, 8,
|
|
1538
|
+
}, null, 8, $a)
|
|
1539
1539
|
], 4)) : C("", !0)
|
|
1540
1540
|
]));
|
|
1541
1541
|
}
|
|
1542
|
-
}), Pa = /* @__PURE__ */ ue(
|
|
1542
|
+
}), Pa = /* @__PURE__ */ ue(Ba, [["__scopeId", "data-v-3238c4c3"]]);
|
|
1543
1543
|
export {
|
|
1544
|
-
|
|
1544
|
+
Da as VColumn,
|
|
1545
1545
|
Pa as VDataTable
|
|
1546
1546
|
};
|
package/package.json
CHANGED
|
@@ -267,6 +267,7 @@ import VDataTableLoading from './VDataTableLoading.vue';
|
|
|
267
267
|
import VThDataTable from './VThDataTable.vue';
|
|
268
268
|
import { buildIcons } from '@/utils/svgFactory'
|
|
269
269
|
import { svgs } from '@/DatatableVue/style/svgs'
|
|
270
|
+
import { defaultDataTableConfig } from '@/DatatableVue/config/datatableDefaults';
|
|
270
271
|
const icons = buildIcons(svgs)
|
|
271
272
|
/*
|
|
272
273
|
Variável responsável por indicar se o componente já foi totalmente montado no DOM.
|
|
@@ -283,10 +284,13 @@ const {
|
|
|
283
284
|
handleMouseLeave
|
|
284
285
|
} = useImagePreview();
|
|
285
286
|
|
|
286
|
-
|
|
287
|
-
|
|
287
|
+
/*
|
|
288
|
+
Constante que define as props do componente com seus valores padrão.
|
|
289
|
+
Por que é usada: Recebe as propriedades enviadas pelo pai e previne que o Vue converta booleanos não declarados para false, aplicando nosso defaultDataTableConfig.
|
|
290
|
+
*/
|
|
291
|
+
const props = withDefaults(defineProps<VDataTableProps>(), defaultDataTableConfig as any);
|
|
288
292
|
// mescla a prop com o padrão e o global definido pelo usuario
|
|
289
|
-
const { options } = useDataTableConfig(props);
|
|
293
|
+
const { options } = useDataTableConfig(props as unknown as VDataTableProps);
|
|
290
294
|
|
|
291
295
|
const emit = defineEmits(['tradePage', 'beforeFetch', 'afterFetch', 'clickedClearSearch']);
|
|
292
296
|
|
|
@@ -30,7 +30,7 @@ export function useDataTableConfig(props: VDataTableProps) {
|
|
|
30
30
|
...defaultDataTableConfig, // 1º Camada: Prioridade Mínima (Valores Padrão)
|
|
31
31
|
...globalConfig, // 2º Camada: Prioridade Média (Valores Globais definidos por quem usa o plugin)
|
|
32
32
|
...propsPassadasPeloUsuario // 3º Camada: Prioridade Máxima (O que o dev digitou na tela)
|
|
33
|
-
} as DataTablePropsWithDefaults;
|
|
33
|
+
} as DataTablePropsWithDefaults;
|
|
34
34
|
});
|
|
35
35
|
|
|
36
36
|
return { options };
|
|
@@ -49,12 +49,12 @@ export const defaultDataTableConfig: DataTableGlobalConfig = {
|
|
|
49
49
|
placeholder_search: 'Buscar...',
|
|
50
50
|
|
|
51
51
|
// === CLASSES ===
|
|
52
|
-
class_table:
|
|
53
|
-
class_pagination:
|
|
54
|
-
class_container:
|
|
55
|
-
class_content:
|
|
56
|
-
class_filters:
|
|
57
|
-
class_page_size:
|
|
52
|
+
class_table: undefined,
|
|
53
|
+
class_pagination: undefined,
|
|
54
|
+
class_container: undefined,
|
|
55
|
+
class_content: undefined,
|
|
56
|
+
class_filters: undefined,
|
|
57
|
+
class_page_size: undefined,
|
|
58
58
|
|
|
59
59
|
// === CONFIGURAÇÃO DE API ===
|
|
60
60
|
filter_param_name: 'filter',
|