v-sistec-features 1.18.0-beta.2 → 1.18.0
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-1456ebf2]{color:#6c757d;display:block;text-align:center;margin-top:1rem;margin-bottom:1rem}.inputClose[data-v-ed591287]{color:var(--tblr-icon-color);z-index:10;position:absolute;top:50%;right:0;transform:translateY(-50%);font-size:1.2em;min-width:2.5rem;display:flex;justify-content:center}.inputClose[data-v-ed591287]:hover{cursor:pointer}.selected[data-v-ed591287]:hover{background-color:#b02a2a!important;color:#fff!important}.placeholder-img[data-v-3b019685]{width:40px;height:40px;border-radius:4px}.erro-custom-container[data-v-3b019685]{display:inline-block;padding:.2em .6em;border-radius:4px;background-color:#fff;font-weight:700;text-transform:uppercase}.erro-custom-text[data-v-3b019685]{font-size:.8em;text-transform:uppercase;font-weight:700}.table-responsive[data-v-98ed0eed]{overflow-x:auto}.state-feedback[data-v-98ed0eed]{padding:1rem;text-align:center}.state-feedback.error[data-v-98ed0eed]{color:red}.pagination-controls[data-v-98ed0eed]{margin-top:1rem;display:flex;justify-content:space-between}.container-img[data-v-98ed0eed]{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-98ed0eed]{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-98ed0eed]{object-fit:contain;width:100%;height:100%;z-index:2}.container-img.container-img-preview[data-v-98ed0eed]{cursor:pointer}.container-img.container-img-preview[data-v-98ed0eed]: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-98ed0eed]{opacity:.3}.bg-img[data-v-98ed0eed]{background-color:#0000004d;position:absolute;top:0;width:100%;height:100%;z-index:1}.image-preview-container[data-v-98ed0eed]{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-98ed0eed]{display:block;max-width:250px;max-height:250px;border-radius:4px}.form-check-input[data-v-98ed0eed]{border-width:1px!important;border-color:#00000064!important;width:17px;height:17px}[data-bs-theme=dark] .form-check-input[data-v-98ed0eed]{border-color:#ffffff5f!important}.ghost-item[data-v-98ed0eed]{opacity:.5;background:var(--tblr-primary-lt, #e6f0ff);border-radius:8px}.dragging-item[data-v-98ed0eed]{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-98ed0eed]{cursor:grab}.column-move-move[data-v-98ed0eed]{transition:transform .4s ease}.column-move-enter-active[data-v-98ed0eed],.column-move-leave-active[data-v-98ed0eed]{transition:all .4s ease}.header-ordering[data-v-98ed0eed]{display:flex;justify-content:space-between}.expand-item-expand-enter-active[data-v-98ed0eed]{transition:all .5s ease}.expand-item-expand-enter-from[data-v-98ed0eed]{opacity:0;transform:scaleY(.3) translateY(-30px)}.expand-item-expand-enter-to[data-v-98ed0eed]{opacity:1;transform:scaleY(1);transform:translateY(0)}.expand-item-expand-leave-active[data-v-98ed0eed]{transition:all .4s ease}.expand-item-expand-leave-to[data-v-98ed0eed]{opacity:0;transform:scaleY(.3) translateY(-30px)}.expand-item-fade-enter-active[data-v-98ed0eed],.expand-item-fade-leave-active[data-v-98ed0eed]{transition:opacity .5s ease}.expand-item-fade-enter-from[data-v-98ed0eed],.expand-item-fade-leave-to[data-v-98ed0eed]{opacity:0}.btn-clean[data-v-98ed0eed]{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-98ed0eed]:hover{background-color:#0000000d}.icon-transition-arrow[data-v-98ed0eed]{transition:transform .3s cubic-bezier(.4,0,.2,1),color .2s ease;color:var(--tblr-primary, #206bc4)}.is-expanded .icon-transition-arrow[data-v-98ed0eed]{transform:rotate(90deg)}.icon-transition-plus[data-v-98ed0eed]{transition:transform .3s cubic-bezier(.4,0,.2,1),color .2s ease;color:var(--tblr-primary, #206bc4)}.icon-transition-plus .vertical-line[data-v-98ed0eed]{transform-origin:center;transition:transform .3s cubic-bezier(.4,0,.2,1),opacity .2s ease}.is-expanded .icon-transition-plus[data-v-98ed0eed]{transform:rotate(180deg)}.is-expanded .icon-transition-plus .vertical-line[data-v-98ed0eed]{transform:scaleY(0);opacity:0}
|
|
11
|
+
*/[data-bs-theme-base=slate]{--tblr-gray-50:#f8fafc;--tblr-gray-100:#f1f5f9;--tblr-gray-200:#e2e8f0;--tblr-gray-300:#cbd5e1;--tblr-gray-400:#94a3b8;--tblr-gray-500:#64748b;--tblr-gray-600:#475569;--tblr-gray-700:#334155;--tblr-gray-800:#1e293b;--tblr-gray-900:#0f172a;--tblr-gray-950:#020617}[data-bs-theme-base=gray]{--tblr-gray-50:#f9fafb;--tblr-gray-100:#f3f4f6;--tblr-gray-200:#e5e7eb;--tblr-gray-300:#d1d5db;--tblr-gray-400:#9ca3af;--tblr-gray-500:#6b7280;--tblr-gray-600:#4b5563;--tblr-gray-700:#374151;--tblr-gray-800:#1f2937;--tblr-gray-900:#111827;--tblr-gray-950:#030712}[data-bs-theme-base=zinc]{--tblr-gray-50:#fafafa;--tblr-gray-100:#f4f4f5;--tblr-gray-200:#e4e4e7;--tblr-gray-300:#d4d4d8;--tblr-gray-400:#a1a1aa;--tblr-gray-500:#71717a;--tblr-gray-600:#52525b;--tblr-gray-700:#3f3f46;--tblr-gray-800:#27272a;--tblr-gray-900:#18181b;--tblr-gray-950:#09090b}[data-bs-theme-base=neutral]{--tblr-gray-50:#fafafa;--tblr-gray-100:#f5f5f5;--tblr-gray-200:#e5e5e5;--tblr-gray-300:#d4d4d4;--tblr-gray-400:#a3a3a3;--tblr-gray-500:#737373;--tblr-gray-600:#525252;--tblr-gray-700:#404040;--tblr-gray-800:#262626;--tblr-gray-900:#171717;--tblr-gray-950:#0a0a0a}[data-bs-theme-base=stone]{--tblr-gray-50:#fafaf9;--tblr-gray-100:#f5f5f4;--tblr-gray-200:#e7e5e4;--tblr-gray-300:#d6d3d1;--tblr-gray-400:#a8a29e;--tblr-gray-500:#78716c;--tblr-gray-600:#57534e;--tblr-gray-700:#44403c;--tblr-gray-800:#292524;--tblr-gray-900:#1c1917;--tblr-gray-950:#0c0a09}[data-bs-theme-base=pink]{--tblr-gray-50:#fdf2f8;--tblr-gray-100:#fce7f3;--tblr-gray-200:#fbcfe8;--tblr-gray-300:#f9a8d4;--tblr-gray-400:#f472b6;--tblr-gray-500:#ec4899;--tblr-gray-600:#db2777;--tblr-gray-700:#be185d;--tblr-gray-800:#9d174d;--tblr-gray-900:#831843;--tblr-gray-950:#500724}[data-bs-theme-primary=blue]{--tblr-primary:#066fd1;--tblr-primary-rgb:6,111,209}[data-bs-theme-primary=azure]{--tblr-primary:#4299e1;--tblr-primary-rgb:66,153,225}[data-bs-theme-primary=indigo]{--tblr-primary:#4263eb;--tblr-primary-rgb:66,99,235}[data-bs-theme-primary=purple]{--tblr-primary:#ae3ec9;--tblr-primary-rgb:174,62,201}[data-bs-theme-primary=pink]{--tblr-primary:#d6336c;--tblr-primary-rgb:214,51,108}[data-bs-theme-primary=red]{--tblr-primary:#d63939;--tblr-primary-rgb:214,57,57}[data-bs-theme-primary=orange]{--tblr-primary:#f76707;--tblr-primary-rgb:247,103,7}[data-bs-theme-primary=yellow]{--tblr-primary:#f59f00;--tblr-primary-rgb:245,159,0}[data-bs-theme-primary=lime]{--tblr-primary:#74b816;--tblr-primary-rgb:116,184,22}[data-bs-theme-primary=green]{--tblr-primary:#2fb344;--tblr-primary-rgb:47,179,68}[data-bs-theme-primary=teal]{--tblr-primary:#0ca678;--tblr-primary-rgb:12,166,120}[data-bs-theme-primary=cyan]{--tblr-primary:#17a2b8;--tblr-primary-rgb:23,162,184}[data-bs-theme-radius="0"]{--tblr-border-radius-scale:0}[data-bs-theme-radius="0.5"]{--tblr-border-radius-scale:.5}[data-bs-theme-radius="1"]{--tblr-border-radius-scale:1}[data-bs-theme-radius="1.5"]{--tblr-border-radius-scale:1.5}[data-bs-theme-radius="2"]{--tblr-border-radius-scale:2}[data-bs-theme-primary=inverted]{--tblr-primary:var(--tblr-gray-800);--tblr-primary-fg:var(--tblr-light);--tblr-primary-rgb:31,41,55}[data-bs-theme-primary=inverted] [data-bs-theme=dark],[data-bs-theme-primary=inverted][data-bs-theme=dark]{--tblr-primary:#f9fafb;--tblr-primary-fg:var(--tblr-dark);--tblr-primary-rgb:249,250,251}[data-bs-theme-font=monospace]{--tblr-body-font-family:var(--tblr-font-monospace);--tblr-body-font-size:80%}[data-bs-theme-font=sans-serif]{--tblr-body-font-family:var(--tblr-font-sans-serif)}[data-bs-theme-font=serif]{--tblr-body-font-family:var(--tblr-font-serif)}[data-bs-theme-font=comic]{--tblr-body-font-family:var(--tblr-font-comic)}:root{--color-error-inputs: red}[data-bs-theme=dark]{--color-error-inputs: oklch(.666 .179 58.318)}.style-custom-v-required-default{display:flex!important;justify-content:center!important;flex-direction:column!important;gap:2px}.style-custom-v-required-error .v-required-span{color:var(--color-error-inputs)!important;white-space:pre-wrap}.multiselect__tags{background-color:var(--cor-bg-inputs);border:var(--border-inputs);border-radius:5px!important;font-size:.875rem;line-height:1.4285714286}.multiselect__placeholder{color:var(--color-text-multiselect)!important}.style-custom-v-required-error input,.style-custom-v-required-error select,.style-custom-v-required-error textarea{border:2px solid var(--color-error-inputs)!important;color:var(--color-error-inputs)!important}.style-custom-v-required-error .multiselect__tags{border:2px solid var(--color-error-inputs)!important}.style-custom-v-required-error .multiselect__input{border:none!important}.style-custom-v-required-error .multiselect__placeholder{color:var(--color-error-inputs)!important}.style-custom-v-required-error .image-drop-zone{border-color:var(--color-error-inputs)!important}.style-custom-v-required-error .quillWrapper,.style-custom-v-required-error .v-bentri-editor{border:2px solid var(--color-error-inputs)!important}.style-custom-v-required-error .v-bentri-editor .upload-placeholder{border:2px dashed var(--color-error-inputs)!important;color:var(--color-error-inputs)!important}.style-custom-v-required-error .v-bentri-editor p.is-empty:before{color:var(--color-error-inputs)!important}.style-custom-v-required-error input::placeholder{color:var(--color-error-inputs)!important}.Vue-Toastification__container{z-index:9999;position:fixed;padding:4px;width:600px;box-sizing:border-box;display:flex;min-height:100%;color:#fff;flex-direction:column;pointer-events:none}@media only screen and (min-width:600px){.Vue-Toastification__container.top-left,.Vue-Toastification__container.top-right,.Vue-Toastification__container.top-center{top:1em}.Vue-Toastification__container.bottom-left,.Vue-Toastification__container.bottom-right,.Vue-Toastification__container.bottom-center{bottom:1em;flex-direction:column-reverse}.Vue-Toastification__container.top-left,.Vue-Toastification__container.bottom-left{left:1em}.Vue-Toastification__container.top-left .Vue-Toastification__toast,.Vue-Toastification__container.bottom-left .Vue-Toastification__toast{margin-right:auto}@supports not (-moz-appearance: none){.Vue-Toastification__container.top-left .Vue-Toastification__toast--rtl,.Vue-Toastification__container.bottom-left .Vue-Toastification__toast--rtl{margin-right:unset;margin-left:auto}}.Vue-Toastification__container.top-right,.Vue-Toastification__container.bottom-right{right:1em}.Vue-Toastification__container.top-right .Vue-Toastification__toast,.Vue-Toastification__container.bottom-right .Vue-Toastification__toast{margin-left:auto}@supports not (-moz-appearance: none){.Vue-Toastification__container.top-right .Vue-Toastification__toast--rtl,.Vue-Toastification__container.bottom-right .Vue-Toastification__toast--rtl{margin-left:unset;margin-right:auto}}.Vue-Toastification__container.top-center,.Vue-Toastification__container.bottom-center{left:50%;margin-left:-300px}.Vue-Toastification__container.top-center .Vue-Toastification__toast,.Vue-Toastification__container.bottom-center .Vue-Toastification__toast{margin-left:auto;margin-right:auto}}@media only screen and (max-width:600px){.Vue-Toastification__container{width:100vw;padding:0;left:0;margin:0}.Vue-Toastification__container .Vue-Toastification__toast{width:100%}.Vue-Toastification__container.top-left,.Vue-Toastification__container.top-right,.Vue-Toastification__container.top-center{top:0}.Vue-Toastification__container.bottom-left,.Vue-Toastification__container.bottom-right,.Vue-Toastification__container.bottom-center{bottom:0;flex-direction:column-reverse}}.Vue-Toastification__toast{display:inline-flex;position:relative;max-height:800px;min-height:64px;box-sizing:border-box;margin-bottom:1rem;padding:22px 24px;border-radius:8px;box-shadow:0 1px 10px #0000001a,0 2px 15px #0000000d;justify-content:space-between;font-family:Lato,Helvetica,Roboto,Arial,sans-serif;max-width:600px;min-width:326px;pointer-events:auto;overflow:hidden;transform:translateZ(0);direction:ltr}.Vue-Toastification__toast--rtl{direction:rtl}.Vue-Toastification__toast--default{background-color:#1976d2;color:#fff}.Vue-Toastification__toast--info{background-color:#2196f3;color:#fff}.Vue-Toastification__toast--success{background-color:#4caf50;color:#fff}.Vue-Toastification__toast--error{background-color:#ff5252;color:#fff}.Vue-Toastification__toast--warning{background-color:#ffc107;color:#fff}@media only screen and (max-width:600px){.Vue-Toastification__toast{border-radius:0;margin-bottom:.5rem}}.Vue-Toastification__toast-body{flex:1;line-height:24px;font-size:16px;word-break:break-word;white-space:pre-wrap}.Vue-Toastification__toast-component-body{flex:1}.Vue-Toastification__toast.disable-transition{animation:none!important}.Vue-Toastification__close-button{font-weight:700;font-size:24px;line-height:24px;background:transparent;outline:none;border:none;padding:0 0 0 10px;cursor:pointer;transition:.3s ease;align-items:center;color:#fff;opacity:.3;transition:visibility 0s,opacity .2s linear}.Vue-Toastification__close-button:hover,.Vue-Toastification__close-button:focus{opacity:1}.Vue-Toastification__toast:not(:hover) .Vue-Toastification__close-button.show-on-hover{opacity:0}.Vue-Toastification__toast--rtl .Vue-Toastification__close-button{padding-left:unset;padding-right:10px}@keyframes scale-x-frames{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Vue-Toastification__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:5px;z-index:10000;background-color:#ffffffb3;transform-origin:left;animation:scale-x-frames linear 1 forwards}.Vue-Toastification__toast--rtl .Vue-Toastification__progress-bar{right:0;left:unset;transform-origin:right}.Vue-Toastification__icon{margin:auto 18px auto 0;background:transparent;outline:none;border:none;padding:0;transition:.3s ease;align-items:center;width:20px;height:100%}.Vue-Toastification__toast--rtl .Vue-Toastification__icon{margin:auto 0 auto 18px}@keyframes bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes bounceOutRight{40%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(1000px,0,0)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes bounceOutDown{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Vue-Toastification__bounce-enter-active.top-left,.Vue-Toastification__bounce-enter-active.bottom-left{animation-name:bounceInLeft}.Vue-Toastification__bounce-enter-active.top-right,.Vue-Toastification__bounce-enter-active.bottom-right{animation-name:bounceInRight}.Vue-Toastification__bounce-enter-active.top-center{animation-name:bounceInDown}.Vue-Toastification__bounce-enter-active.bottom-center{animation-name:bounceInUp}.Vue-Toastification__bounce-leave-active:not(.disable-transition).top-left,.Vue-Toastification__bounce-leave-active:not(.disable-transition).bottom-left{animation-name:bounceOutLeft}.Vue-Toastification__bounce-leave-active:not(.disable-transition).top-right,.Vue-Toastification__bounce-leave-active:not(.disable-transition).bottom-right{animation-name:bounceOutRight}.Vue-Toastification__bounce-leave-active:not(.disable-transition).top-center{animation-name:bounceOutUp}.Vue-Toastification__bounce-leave-active:not(.disable-transition).bottom-center{animation-name:bounceOutDown}.Vue-Toastification__bounce-leave-active,.Vue-Toastification__bounce-enter-active{animation-duration:.75s;animation-fill-mode:both}.Vue-Toastification__bounce-move{transition-timing-function:ease-in-out;transition-property:all;transition-duration:.4s}@keyframes fadeOutTop{0%{transform:translateY(0);opacity:1}to{transform:translateY(-50px);opacity:0}}@keyframes fadeOutLeft{0%{transform:translate(0);opacity:1}to{transform:translate(-50px);opacity:0}}@keyframes fadeOutBottom{0%{transform:translateY(0);opacity:1}to{transform:translateY(50px);opacity:0}}@keyframes fadeOutRight{0%{transform:translate(0);opacity:1}to{transform:translate(50px);opacity:0}}@keyframes fadeInLeft{0%{transform:translate(-50px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes fadeInRight{0%{transform:translate(50px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes fadeInTop{0%{transform:translateY(-50px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes fadeInBottom{0%{transform:translateY(50px);opacity:0}to{transform:translateY(0);opacity:1}}.Vue-Toastification__fade-enter-active.top-left,.Vue-Toastification__fade-enter-active.bottom-left{animation-name:fadeInLeft}.Vue-Toastification__fade-enter-active.top-right,.Vue-Toastification__fade-enter-active.bottom-right{animation-name:fadeInRight}.Vue-Toastification__fade-enter-active.top-center{animation-name:fadeInTop}.Vue-Toastification__fade-enter-active.bottom-center{animation-name:fadeInBottom}.Vue-Toastification__fade-leave-active:not(.disable-transition).top-left,.Vue-Toastification__fade-leave-active:not(.disable-transition).bottom-left{animation-name:fadeOutLeft}.Vue-Toastification__fade-leave-active:not(.disable-transition).top-right,.Vue-Toastification__fade-leave-active:not(.disable-transition).bottom-right{animation-name:fadeOutRight}.Vue-Toastification__fade-leave-active:not(.disable-transition).top-center{animation-name:fadeOutTop}.Vue-Toastification__fade-leave-active:not(.disable-transition).bottom-center{animation-name:fadeOutBottom}.Vue-Toastification__fade-leave-active,.Vue-Toastification__fade-enter-active{animation-duration:.75s;animation-fill-mode:both}.Vue-Toastification__fade-move{transition-timing-function:ease-in-out;transition-property:all;transition-duration:.4s}@keyframes slideInBlurredLeft{0%{transform:translate(-1000px) scaleX(2.5) scaleY(.2);transform-origin:100% 50%;filter:blur(40px);opacity:0}to{transform:translate(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideInBlurredTop{0%{transform:translateY(-1000px) scaleY(2.5) scaleX(.2);transform-origin:50% 0%;filter:blur(240px);opacity:0}to{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideInBlurredRight{0%{transform:translate(1000px) scaleX(2.5) scaleY(.2);transform-origin:0% 50%;filter:blur(40px);opacity:0}to{transform:translate(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideInBlurredBottom{0%{transform:translateY(1000px) scaleY(2.5) scaleX(.2);transform-origin:50% 100%;filter:blur(240px);opacity:0}to{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideOutBlurredTop{0%{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 0%;filter:blur(0);opacity:1}to{transform:translateY(-1000px) scaleY(2) scaleX(.2);transform-origin:50% 0%;filter:blur(240px);opacity:0}}@keyframes slideOutBlurredBottom{0%{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}to{transform:translateY(1000px) scaleY(2) scaleX(.2);transform-origin:50% 100%;filter:blur(240px);opacity:0}}@keyframes slideOutBlurredLeft{0%{transform:translate(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}to{transform:translate(-1000px) scaleX(2) scaleY(.2);transform-origin:100% 50%;filter:blur(40px);opacity:0}}@keyframes slideOutBlurredRight{0%{transform:translate(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}to{transform:translate(1000px) scaleX(2) scaleY(.2);transform-origin:0% 50%;filter:blur(40px);opacity:0}}.Vue-Toastification__slideBlurred-enter-active.top-left,.Vue-Toastification__slideBlurred-enter-active.bottom-left{animation-name:slideInBlurredLeft}.Vue-Toastification__slideBlurred-enter-active.top-right,.Vue-Toastification__slideBlurred-enter-active.bottom-right{animation-name:slideInBlurredRight}.Vue-Toastification__slideBlurred-enter-active.top-center{animation-name:slideInBlurredTop}.Vue-Toastification__slideBlurred-enter-active.bottom-center{animation-name:slideInBlurredBottom}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).top-left,.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).bottom-left{animation-name:slideOutBlurredLeft}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).top-right,.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).bottom-right{animation-name:slideOutBlurredRight}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).top-center{animation-name:slideOutBlurredTop}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).bottom-center{animation-name:slideOutBlurredBottom}.Vue-Toastification__slideBlurred-leave-active,.Vue-Toastification__slideBlurred-enter-active{animation-duration:.75s;animation-fill-mode:both}.Vue-Toastification__slideBlurred-move{transition-timing-function:ease-in-out;transition-property:all;transition-duration:.4s}.rotate-180[data-v-785126fa] svg{transform:rotate(180deg)}.page-select[data-v-785126fa]{background-color:var(--tblr-primary)!important;color:#fff!important;border:none!important}.page-estilo[data-v-785126fa]{border:none;--cor-escurecida: color-mix(in srgb, var(--tblr-primary), #000 25%);background:transparent;padding:1px 10px;border-radius:7px;margin:0!important;transition:color .15s ease-in-out,background-color .15s ease-in-out}.page-estilo[data-v-785126fa]:hover{background:var(--cor-escurecida);color:#fff}.btn[data-v-785126fa]{padding:0!important;margin:0!important;background:transparent!important;border:none!important;box-shadow:none!important}[data-v-785126fa] .btn-estilo svg{padding:0!important;margin:0!important}[data-v-785126fa] .btn-estilo:hover svg{stroke:var(--tblr-primary)}.icon-tabler[data-v-785126fa]{margin:0!important;padding:0!important}.t-container{width:100%;display:flex;justify-content:space-between;align-items:center;color:#fff}.scroll-finish-style[data-v-1456ebf2]{color:#6c757d;display:block;text-align:center;margin-top:1rem;margin-bottom:1rem}.inputClose[data-v-ed591287]{color:var(--tblr-icon-color);z-index:10;position:absolute;top:50%;right:0;transform:translateY(-50%);font-size:1.2em;min-width:2.5rem;display:flex;justify-content:center}.inputClose[data-v-ed591287]:hover{cursor:pointer}.selected[data-v-ed591287]:hover{background-color:#b02a2a!important;color:#fff!important}.placeholder-img[data-v-3b019685]{width:40px;height:40px;border-radius:4px}.erro-custom-container[data-v-3b019685]{display:inline-block;padding:.2em .6em;border-radius:4px;background-color:#fff;font-weight:700;text-transform:uppercase}.erro-custom-text[data-v-3b019685]{font-size:.8em;text-transform:uppercase;font-weight:700}.table-responsive[data-v-2f28fa64]{overflow-x:auto}.state-feedback[data-v-2f28fa64]{padding:1rem;text-align:center}.state-feedback.error[data-v-2f28fa64]{color:red}.pagination-controls[data-v-2f28fa64]{margin-top:1rem;display:flex;justify-content:space-between}.container-img[data-v-2f28fa64]{aspect-ratio:1;display:flex;justify-content:center;overflow:hidden;position:relative;max-width:40px;min-width:40px}.container-img .img-tamanho-cover[data-v-2f28fa64]{position:absolute;top:0;width:100%;height:100%;object-fit:cover;z-index:0;opacity:.5;filter:blur(4px)}.container-img .img-tamanho[data-v-2f28fa64]{object-fit:contain;width:100%;height:100%;z-index:2}.container-img.container-img-preview[data-v-2f28fa64]{cursor:pointer}.container-img.container-img-preview[data-v-2f28fa64]:hover{border-style:dashed;border-color:var(--tblr-primary);border-width:2px;transition:border-width .15s ease-in-out}.container-img.container-img-preview:hover .img-tamanho[data-v-2f28fa64]{opacity:.3}.bg-img[data-v-2f28fa64]{background-color:#0000004d;position:absolute;top:0;width:100%;height:100%;z-index:1}.image-preview-container[data-v-2f28fa64]{position:fixed;z-index:9999;background-color:#fff;border-radius:8px;box-shadow:0 4px 12px #0003;padding:5px;pointer-events:none;transition:opacity .2s ease-in-out}.image-preview-container .image-preview-large[data-v-2f28fa64]{display:block;max-width:250px;max-height:250px;border-radius:4px}.form-check-input[data-v-2f28fa64]{border-width:1px!important;border-color:#00000064!important;width:17px;height:17px}[data-bs-theme=dark] .form-check-input[data-v-2f28fa64]{border-color:#ffffff5f!important}.ghost-item[data-v-2f28fa64]{opacity:.5;background:var(--tblr-primary-lt, #e6f0ff);border-radius:8px}.dragging-item[data-v-2f28fa64]{cursor:grabbing;background:var(--tblr-primary);box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;opacity:.5;background-color:var(--tblr-primary-bg-subtle);filter:grayscale(0) invert(0)}.header-draggable[data-v-2f28fa64]{cursor:grab}.column-move-move[data-v-2f28fa64]{transition:transform .4s ease}.column-move-enter-active[data-v-2f28fa64],.column-move-leave-active[data-v-2f28fa64]{transition:all .4s ease}.header-ordering[data-v-2f28fa64]{display:flex;justify-content:space-between}.expand-item-expand-enter-active[data-v-2f28fa64]{transition:all .5s ease}.expand-item-expand-enter-from[data-v-2f28fa64]{opacity:0;transform:scaleY(.3) translateY(-30px)}.expand-item-expand-enter-to[data-v-2f28fa64]{opacity:1;transform:scaleY(1);transform:translateY(0)}.expand-item-expand-leave-active[data-v-2f28fa64]{transition:all .4s ease}.expand-item-expand-leave-to[data-v-2f28fa64]{opacity:0;transform:scaleY(.3) translateY(-30px)}.expand-item-fade-enter-active[data-v-2f28fa64],.expand-item-fade-leave-active[data-v-2f28fa64]{transition:opacity .5s ease}.expand-item-fade-enter-from[data-v-2f28fa64],.expand-item-fade-leave-to[data-v-2f28fa64]{opacity:0}.btn-clean[data-v-2f28fa64]{display:inline-flex;align-items:center;justify-content:center;padding:4px;border-radius:4px;transition:background-color .2s ease;background:transparent;border:none;outline:none;cursor:pointer}.btn-clean[data-v-2f28fa64]:hover{background-color:#0000000d}.icon-transition-arrow[data-v-2f28fa64]{transition:transform .3s cubic-bezier(.4,0,.2,1),color .2s ease;color:var(--tblr-primary, #206bc4)}.is-expanded .icon-transition-arrow[data-v-2f28fa64]{transform:rotate(90deg)}.icon-transition-plus[data-v-2f28fa64]{transition:transform .3s cubic-bezier(.4,0,.2,1),color .2s ease;color:var(--tblr-primary, #206bc4)}.icon-transition-plus .vertical-line[data-v-2f28fa64]{transform-origin:center;transition:transform .3s cubic-bezier(.4,0,.2,1),opacity .2s ease}.is-expanded .icon-transition-plus[data-v-2f28fa64]{transform:rotate(180deg)}.is-expanded .icon-transition-plus .vertical-line[data-v-2f28fa64]{transform:scaleY(0);opacity:0}
|
package/dist/vDataTable.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as J, useSlots as De, inject as ue, onMounted as Ee, computed as z, watch as X, resolveComponent as je, createElementBlock as l, openBlock as t, createCommentVNode as x, createElementVNode as e, withDirectives as ce, withKeys as Ie, vModelText as pe, Fragment as T, renderList as j, createBlock as W, withCtx as H, createTextVNode as I, toDisplayString as k, normalizeClass as
|
|
1
|
+
import { defineComponent as J, useSlots as De, inject as ue, onMounted as Ee, computed as z, watch as X, resolveComponent as je, createElementBlock as l, openBlock as t, createCommentVNode as x, createElementVNode as e, withDirectives as ce, withKeys as Ie, vModelText as pe, Fragment as T, renderList as j, createBlock as W, withCtx as H, createTextVNode as I, toDisplayString as k, normalizeClass as f, withModifiers as de, ref as C, nextTick as _e, resolveDynamicComponent as me, provide as Ne, readonly as Ae, renderSlot as P, createVNode as Y, unref as h, createStaticVNode as Pe, TransitionGroup as qe, mergeProps as Le, Transition as Oe, normalizeStyle as He } from "vue";
|
|
2
2
|
import { D as Fe } from "./datatableConfig-BMFlKtgh.js";
|
|
3
3
|
import { _ as ae, P as Ue } from "./Pagination-DtVDFQ07.js";
|
|
4
4
|
import Ke from "vuedraggable";
|
|
@@ -24,8 +24,8 @@ const ve = Symbol("v-datatable-key"), ma = /* @__PURE__ */ J({
|
|
|
24
24
|
class_rules: { default: () => ({}) }
|
|
25
25
|
},
|
|
26
26
|
setup(u) {
|
|
27
|
-
const i = u,
|
|
28
|
-
if (!
|
|
27
|
+
const i = u, g = De(), a = ue(ve);
|
|
28
|
+
if (!a)
|
|
29
29
|
throw new Error("VColumn deve ser usado dentro de um VDataTable.");
|
|
30
30
|
const m = ["text", "img", "date", "html"];
|
|
31
31
|
return Ee(() => {
|
|
@@ -43,7 +43,7 @@ const ve = Symbol("v-datatable-key"), ma = /* @__PURE__ */ J({
|
|
|
43
43
|
if (isNaN(Number(i.limite_text)) || Number(i.limite_text) <= 0)
|
|
44
44
|
throw new Error('A propriedade "limite_text" deve ser um número maior que 0.');
|
|
45
45
|
}
|
|
46
|
-
|
|
46
|
+
a.addColumn({
|
|
47
47
|
field: i.field,
|
|
48
48
|
header: i.header,
|
|
49
49
|
type: i.type,
|
|
@@ -58,7 +58,7 @@ const ve = Symbol("v-datatable-key"), ma = /* @__PURE__ */ J({
|
|
|
58
58
|
decreasing_value: i.decreasing_value,
|
|
59
59
|
increasing_value: i.increasing_value,
|
|
60
60
|
class_rules: i.class_rules,
|
|
61
|
-
bodySlot:
|
|
61
|
+
bodySlot: g.body,
|
|
62
62
|
...i.type === "text" && { limite_text: Number(i.limite_text) },
|
|
63
63
|
...i.type === "img" && { deactivate_img_preview: i.deactivate_img_preview },
|
|
64
64
|
...i.type === "date" && { format: i.format }
|
|
@@ -90,37 +90,37 @@ const ve = Symbol("v-datatable-key"), ma = /* @__PURE__ */ J({
|
|
|
90
90
|
},
|
|
91
91
|
emits: ["update:search", "update:filter", "search", "clickedClearSearch"],
|
|
92
92
|
setup(u, { emit: i }) {
|
|
93
|
-
const
|
|
94
|
-
get: () =>
|
|
95
|
-
set: (
|
|
93
|
+
const g = u, a = i, m = z({
|
|
94
|
+
get: () => g.search,
|
|
95
|
+
set: (r) => a("update:search", r)
|
|
96
96
|
}), p = z({
|
|
97
|
-
get: () =>
|
|
98
|
-
set: (
|
|
97
|
+
get: () => g.filter,
|
|
98
|
+
set: (r) => a("update:filter", r)
|
|
99
99
|
});
|
|
100
100
|
X(p, () => {
|
|
101
|
-
|
|
101
|
+
a("search");
|
|
102
102
|
}), X(
|
|
103
|
-
() =>
|
|
104
|
-
(
|
|
105
|
-
Array.isArray(
|
|
103
|
+
() => g.list_filter,
|
|
104
|
+
(r) => {
|
|
105
|
+
Array.isArray(r) ? (r.forEach((s, w) => {
|
|
106
106
|
s?.type === 1 && !s.to && console.error(`Filtro na posição ${w} é do tipo 'router-link' mas não possui a propriedade 'to'.`);
|
|
107
|
-
}),
|
|
107
|
+
}), g.item_use.includes(2) && r.length === 0 && console.error("Nenhum filtro foi passado. Certifique-se de que o array de filtros não está vazio.")) : console.error("list_filter deve ser um array.");
|
|
108
108
|
},
|
|
109
109
|
{ immediate: !0, deep: !0 }
|
|
110
110
|
);
|
|
111
|
-
function V(
|
|
112
|
-
p.value ===
|
|
111
|
+
function V(r) {
|
|
112
|
+
p.value === r ? p.value = "" : p.value = r;
|
|
113
113
|
}
|
|
114
114
|
function E() {
|
|
115
|
-
m.value = "",
|
|
115
|
+
m.value = "", g.deactivate_search_on_clear || a("search"), a("clickedClearSearch");
|
|
116
116
|
}
|
|
117
|
-
function B(
|
|
118
|
-
|
|
117
|
+
function B(r) {
|
|
118
|
+
r.click && typeof r.click == "function" ? r.click() : console.error("O filtro selecionado não possui uma função de clique válida.");
|
|
119
119
|
}
|
|
120
120
|
function v() {
|
|
121
|
-
|
|
121
|
+
g.deactivate_search_empty && m.value.trim() === "" || a("search");
|
|
122
122
|
}
|
|
123
|
-
return (
|
|
123
|
+
return (r, s) => {
|
|
124
124
|
const w = je("router-link");
|
|
125
125
|
return t(), l("div", Ye, [
|
|
126
126
|
u.item_use.includes(2) ? (t(), l("a", Xe, [...s[2] || (s[2] = [
|
|
@@ -205,7 +205,7 @@ const ve = Symbol("v-datatable-key"), ma = /* @__PURE__ */ J({
|
|
|
205
205
|
])]))
|
|
206
206
|
]),
|
|
207
207
|
u.item_use.includes(2) ? (t(), l("div", Qe, [
|
|
208
|
-
(t(!0), l(T, null, j(
|
|
208
|
+
(t(!0), l(T, null, j(g.list_filter, (c, $) => (t(), l(T, { key: $ }, [
|
|
209
209
|
"type" in c && c.type === 1 && (!("visible" in c) || c.visible) ? (t(), W(w, {
|
|
210
210
|
key: 0,
|
|
211
211
|
to: c?.to,
|
|
@@ -218,11 +218,11 @@ const ve = Symbol("v-datatable-key"), ma = /* @__PURE__ */ J({
|
|
|
218
218
|
}, 1032, ["to"])) : (!("type" in c) || c.type === 2) && (!("visible" in c) || c.visible) ? (t(), l("a", {
|
|
219
219
|
key: 1,
|
|
220
220
|
onClick: de((M) => V(String(c.value)), ["prevent"]),
|
|
221
|
-
class:
|
|
221
|
+
class: f(["dropdown-item cursor-pointer", p.value === c?.value ? "bg-info text-dark selected" : ""])
|
|
222
222
|
}, k(c.text), 11, Re)) : (!("type" in c) || c.type === 3) && (!("visible" in c) || c.visible) ? (t(), l("a", {
|
|
223
223
|
key: 2,
|
|
224
224
|
onClick: de((M) => B(c), ["prevent"]),
|
|
225
|
-
class:
|
|
225
|
+
class: f(["dropdown-item cursor-pointer", c?.active ? "bg-info text-dark selected" : ""])
|
|
226
226
|
}, k(c.text), 11, Ze)) : x("", !0)
|
|
227
227
|
], 64))), 128))
|
|
228
228
|
])) : x("", !0)
|
|
@@ -231,20 +231,20 @@ const ve = Symbol("v-datatable-key"), ma = /* @__PURE__ */ J({
|
|
|
231
231
|
}
|
|
232
232
|
}), tt = /* @__PURE__ */ ae(et, [["__scopeId", "data-v-ed591287"]]);
|
|
233
233
|
function at() {
|
|
234
|
-
const u = C(!1), i = C(""),
|
|
234
|
+
const u = C(!1), i = C(""), g = C(0), a = C(0), m = z(() => ({
|
|
235
235
|
position: "fixed",
|
|
236
236
|
zIndex: 9999,
|
|
237
237
|
pointerEvents: "none",
|
|
238
|
-
top: `${
|
|
239
|
-
left: `${
|
|
238
|
+
top: `${a.value + 15}px`,
|
|
239
|
+
left: `${g.value + 15}px`
|
|
240
240
|
}));
|
|
241
241
|
function p(v) {
|
|
242
|
-
const
|
|
242
|
+
const r = v.clientX, s = v.clientY, w = window.innerHeight, c = 15, $ = 300;
|
|
243
243
|
let M = s + c;
|
|
244
|
-
M + $ > w && (M = s - $ - c, M < 0 && (M = 0)),
|
|
244
|
+
M + $ > w && (M = s - $ - c, M < 0 && (M = 0)), g.value = r, a.value = M;
|
|
245
245
|
}
|
|
246
|
-
function V(v,
|
|
247
|
-
u.value = !0, i.value =
|
|
246
|
+
function V(v, r) {
|
|
247
|
+
u.value = !0, i.value = r, p(v);
|
|
248
248
|
}
|
|
249
249
|
function E(v) {
|
|
250
250
|
u.value && p(v);
|
|
@@ -261,29 +261,29 @@ function at() {
|
|
|
261
261
|
handleMouseLeave: B
|
|
262
262
|
};
|
|
263
263
|
}
|
|
264
|
-
function nt(u, i,
|
|
264
|
+
function nt(u, i, g, a) {
|
|
265
265
|
const m = C([]);
|
|
266
266
|
function p() {
|
|
267
267
|
m.value = [];
|
|
268
268
|
}
|
|
269
269
|
function V(v) {
|
|
270
|
-
const
|
|
271
|
-
return m.value.some((s) => s ===
|
|
270
|
+
const r = v[i];
|
|
271
|
+
return m.value.some((s) => s === r);
|
|
272
272
|
}
|
|
273
273
|
function E(v) {
|
|
274
|
-
const
|
|
275
|
-
u ? (p(), w || (m.value.push(
|
|
274
|
+
const r = v[i], s = m.value.findIndex((c) => c === r), w = s > -1;
|
|
275
|
+
u ? (p(), w || (m.value.push(r), a && B(r))) : w ? m.value.splice(s, 1) : (m.value.push(r), a && B(r));
|
|
276
276
|
}
|
|
277
277
|
function B(v) {
|
|
278
278
|
_e(() => {
|
|
279
|
-
if (
|
|
280
|
-
const
|
|
281
|
-
|
|
279
|
+
if (g) {
|
|
280
|
+
const r = document.querySelector("#expand-item-" + v);
|
|
281
|
+
r && r.scrollIntoView({ behavior: "smooth", block: "center" });
|
|
282
282
|
return;
|
|
283
283
|
} else
|
|
284
284
|
setTimeout(() => {
|
|
285
|
-
const
|
|
286
|
-
|
|
285
|
+
const r = document.querySelector("#expand-item-" + v);
|
|
286
|
+
r && r.scrollIntoView({ behavior: "smooth", block: "center" });
|
|
287
287
|
}, 600);
|
|
288
288
|
});
|
|
289
289
|
}
|
|
@@ -294,7 +294,7 @@ function nt(u, i, f, n) {
|
|
|
294
294
|
close_all_expanded_items: p
|
|
295
295
|
};
|
|
296
296
|
}
|
|
297
|
-
function lt(u, i,
|
|
297
|
+
function lt(u, i, g, a, m, p) {
|
|
298
298
|
const V = C([]), E = z(() => (i.value.current_page = u.page_starts_at, u.endpoint)), B = z(() => ({
|
|
299
299
|
[u.page_param_name]: i.value.current_page + 1,
|
|
300
300
|
[u.page_size_param_name]: i.value.limit_per_page,
|
|
@@ -302,10 +302,10 @@ function lt(u, i, f, n, m, p) {
|
|
|
302
302
|
[u.filter_param_name]: i.value.filter || ""
|
|
303
303
|
})), v = z(() => {
|
|
304
304
|
const D = {};
|
|
305
|
-
for (const S of
|
|
306
|
-
S.use_ordering && (
|
|
305
|
+
for (const S of g.value)
|
|
306
|
+
S.use_ordering && (a.value[S.header] === "increasing" ? D[S.param_ordering] = S.increasing_value || "increasing" : a.value[S.header] === "decreasing" && (D[S.param_ordering] = S.decreasing_value || "decreasing"));
|
|
307
307
|
return D;
|
|
308
|
-
}), { data:
|
|
308
|
+
}), { data: r, pending: s, error: w, execute: c, attempt: $ } = u.fetch(E, {
|
|
309
309
|
disable_request: () => u.disable_request,
|
|
310
310
|
params: () => {
|
|
311
311
|
const D = typeof u.add_params == "function";
|
|
@@ -342,7 +342,7 @@ function lt(u, i, f, n, m, p) {
|
|
|
342
342
|
pending: s,
|
|
343
343
|
error: w,
|
|
344
344
|
execute: c,
|
|
345
|
-
response:
|
|
345
|
+
response: r,
|
|
346
346
|
attempt: $,
|
|
347
347
|
default_params: B,
|
|
348
348
|
fetchDataWithDelay: U,
|
|
@@ -352,16 +352,16 @@ function lt(u, i, f, n, m, p) {
|
|
|
352
352
|
};
|
|
353
353
|
}
|
|
354
354
|
function st(u, i) {
|
|
355
|
-
const
|
|
356
|
-
const
|
|
357
|
-
return
|
|
355
|
+
const g = C(null), a = C([]), m = (v) => {
|
|
356
|
+
const r = u.item_key;
|
|
357
|
+
return a.value.some((s) => s[r] === v[r]);
|
|
358
358
|
}, p = z(() => {
|
|
359
359
|
if (!i.value.length) return !1;
|
|
360
|
-
const v = i.value.filter((
|
|
360
|
+
const v = i.value.filter((r) => m(r)).length;
|
|
361
361
|
return v === 0 ? !1 : v === i.value.length ? !0 : "indeterminate";
|
|
362
|
-
}), V = z(() =>
|
|
363
|
-
X([p,
|
|
364
|
-
|
|
362
|
+
}), V = z(() => a.value.length > 0);
|
|
363
|
+
X([p, g], ([v]) => {
|
|
364
|
+
g.value && (v === "indeterminate" ? (g.value.checked = !1, g.value.indeterminate = !0) : (g.value.checked = v, g.value.indeterminate = !1));
|
|
365
365
|
}, {
|
|
366
366
|
immediate: !0,
|
|
367
367
|
flush: "post"
|
|
@@ -369,24 +369,24 @@ function st(u, i) {
|
|
|
369
369
|
function E() {
|
|
370
370
|
const v = i.value;
|
|
371
371
|
if (!v.length) return;
|
|
372
|
-
const
|
|
373
|
-
if (
|
|
372
|
+
const r = p.value;
|
|
373
|
+
if (r === !0 || r === "indeterminate") {
|
|
374
374
|
const s = v.map((w) => w[u.item_key]);
|
|
375
|
-
|
|
375
|
+
a.value = a.value.filter(
|
|
376
376
|
(w) => !s.includes(w[u.item_key])
|
|
377
377
|
);
|
|
378
378
|
} else
|
|
379
379
|
v.forEach((s) => {
|
|
380
|
-
m(s) ||
|
|
380
|
+
m(s) || a.value.push(s);
|
|
381
381
|
});
|
|
382
382
|
}
|
|
383
383
|
function B(v) {
|
|
384
|
-
const
|
|
385
|
-
s > -1 ?
|
|
384
|
+
const r = u.item_key, s = a.value.findIndex((w) => w[r] === v[r]);
|
|
385
|
+
s > -1 ? a.value.splice(s, 1) : a.value.push(v);
|
|
386
386
|
}
|
|
387
387
|
return {
|
|
388
|
-
selectAllCheckbox:
|
|
389
|
-
selected_items:
|
|
388
|
+
selectAllCheckbox: g,
|
|
389
|
+
selected_items: a,
|
|
390
390
|
isSelected: m,
|
|
391
391
|
selectAllState: p,
|
|
392
392
|
atLeastOneSelected: V,
|
|
@@ -404,10 +404,10 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
404
404
|
key: 0,
|
|
405
405
|
class: "d-flex flex-column justify-content-center align-items-center",
|
|
406
406
|
style: { height: "6rem" }
|
|
407
|
-
},
|
|
407
|
+
}, ft = {
|
|
408
408
|
key: 1,
|
|
409
409
|
style: { height: "3rem" }
|
|
410
|
-
},
|
|
410
|
+
}, gt = {
|
|
411
411
|
key: 2,
|
|
412
412
|
class: "p-3 text-center text-secondary"
|
|
413
413
|
}, yt = /* @__PURE__ */ J({
|
|
@@ -423,16 +423,16 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
423
423
|
},
|
|
424
424
|
setup(u) {
|
|
425
425
|
const i = u;
|
|
426
|
-
return (
|
|
426
|
+
return (g, a) => (t(), l("div", rt, [
|
|
427
427
|
i.custom_loading ? (t(), W(me(i.custom_loading), { key: 0 })) : (t(), l("table", {
|
|
428
428
|
key: 1,
|
|
429
|
-
class:
|
|
429
|
+
class: f(["table table-vcenter table-selectable", i.class_table])
|
|
430
430
|
}, [
|
|
431
431
|
e("thead", null, [
|
|
432
432
|
e("tr", null, [
|
|
433
433
|
(t(!0), l(T, null, j(u.columns, (m) => (t(), l("th", {
|
|
434
434
|
key: m.field || m.header,
|
|
435
|
-
class:
|
|
435
|
+
class: f(m.class_column)
|
|
436
436
|
}, k(m.header), 3))), 128))
|
|
437
437
|
])
|
|
438
438
|
]),
|
|
@@ -443,31 +443,31 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
443
443
|
}, [
|
|
444
444
|
(t(!0), l(T, null, j(u.columns, (p) => (t(), l("td", {
|
|
445
445
|
key: p.field || p.header,
|
|
446
|
-
class:
|
|
446
|
+
class: f(p.class_row)
|
|
447
447
|
}, [
|
|
448
|
-
p.bodySlot ? (t(), l("span", ot, [...
|
|
448
|
+
p.bodySlot ? (t(), l("span", ot, [...a[0] || (a[0] = [
|
|
449
449
|
e("span", { class: "placeholder col-8" }, null, -1)
|
|
450
450
|
])])) : p.type === "text" ? (t(), l("span", {
|
|
451
451
|
key: 1,
|
|
452
|
-
class:
|
|
453
|
-
}, [...
|
|
452
|
+
class: f(p.class_item)
|
|
453
|
+
}, [...a[1] || (a[1] = [
|
|
454
454
|
e("span", { class: "placeholder col-8" }, null, -1)
|
|
455
|
-
])], 2)) : p.type === "date" ? (t(), l("span", it, [...
|
|
455
|
+
])], 2)) : p.type === "date" ? (t(), l("span", it, [...a[2] || (a[2] = [
|
|
456
456
|
e("span", { class: "placeholder col-9" }, null, -1)
|
|
457
457
|
])])) : p.type === "html" ? (t(), l("div", {
|
|
458
458
|
key: 3,
|
|
459
|
-
class:
|
|
460
|
-
}, [...
|
|
459
|
+
class: f(p.class_item)
|
|
460
|
+
}, [...a[3] || (a[3] = [
|
|
461
461
|
e("div", { class: "placeholder col-12" }, null, -1)
|
|
462
462
|
])], 2)) : p.type === "img" ? (t(), l("div", {
|
|
463
463
|
key: 4,
|
|
464
|
-
class:
|
|
465
|
-
}, [...
|
|
464
|
+
class: f(p.class_item)
|
|
465
|
+
}, [...a[4] || (a[4] = [
|
|
466
466
|
e("div", { class: "placeholder placeholder-img" }, null, -1)
|
|
467
467
|
])], 2)) : (t(), l("span", dt, [
|
|
468
|
-
|
|
468
|
+
a[5] || (a[5] = I("tipo ", -1)),
|
|
469
469
|
e("span", ut, k(p.type), 1),
|
|
470
|
-
|
|
470
|
+
a[6] || (a[6] = I(" não suportado ", -1))
|
|
471
471
|
]))
|
|
472
472
|
], 2))), 128))
|
|
473
473
|
]))), 128)) : i.type_loading === "spiner-table" ? (t(!0), l(T, { key: 1 }, j(u.pagination.limit_per_page, (m) => (t(), l("tr", {
|
|
@@ -475,9 +475,9 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
475
475
|
}, [
|
|
476
476
|
(t(!0), l(T, null, j(u.columns, (p) => (t(), l("td", {
|
|
477
477
|
key: p.field || p.header,
|
|
478
|
-
class:
|
|
478
|
+
class: f(p.class_row)
|
|
479
479
|
}, [
|
|
480
|
-
p.bodySlot ? (t(), l("span", ct, [...
|
|
480
|
+
p.bodySlot ? (t(), l("span", ct, [...a[7] || (a[7] = [
|
|
481
481
|
e("span", {
|
|
482
482
|
class: "spinner-border spinner-border-sm",
|
|
483
483
|
role: "status",
|
|
@@ -485,14 +485,14 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
485
485
|
}, null, -1)
|
|
486
486
|
])])) : p.type === "text" ? (t(), l("span", {
|
|
487
487
|
key: 1,
|
|
488
|
-
class:
|
|
489
|
-
}, [...
|
|
488
|
+
class: f(p.class_item)
|
|
489
|
+
}, [...a[8] || (a[8] = [
|
|
490
490
|
e("span", {
|
|
491
491
|
class: "spinner-border spinner-border-sm",
|
|
492
492
|
role: "status",
|
|
493
493
|
"aria-hidden": "true"
|
|
494
494
|
}, null, -1)
|
|
495
|
-
])], 2)) : p.type === "date" ? (t(), l("span", pt, [...
|
|
495
|
+
])], 2)) : p.type === "date" ? (t(), l("span", pt, [...a[9] || (a[9] = [
|
|
496
496
|
e("span", {
|
|
497
497
|
class: "spinner-border spinner-border-sm",
|
|
498
498
|
role: "status",
|
|
@@ -500,8 +500,8 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
500
500
|
}, null, -1)
|
|
501
501
|
])])) : p.type === "html" ? (t(), l("div", {
|
|
502
502
|
key: 3,
|
|
503
|
-
class:
|
|
504
|
-
}, [...
|
|
503
|
+
class: f(p.class_item)
|
|
504
|
+
}, [...a[10] || (a[10] = [
|
|
505
505
|
e("span", {
|
|
506
506
|
class: "spinner-border spinner-border-sm",
|
|
507
507
|
role: "status",
|
|
@@ -509,8 +509,8 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
509
509
|
}, null, -1)
|
|
510
510
|
])], 2)) : p.type === "img" ? (t(), l("div", {
|
|
511
511
|
key: 4,
|
|
512
|
-
class:
|
|
513
|
-
}, [...
|
|
512
|
+
class: f(["", p.class_item])
|
|
513
|
+
}, [...a[11] || (a[11] = [
|
|
514
514
|
e("span", { class: "placeholder-img d-flex justify-content-center align-items-center" }, [
|
|
515
515
|
e("span", {
|
|
516
516
|
class: "spinner-border spinner-border-sm",
|
|
@@ -519,9 +519,9 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
519
519
|
})
|
|
520
520
|
], -1)
|
|
521
521
|
])], 2)) : (t(), l("span", _t, [
|
|
522
|
-
|
|
522
|
+
a[12] || (a[12] = I("tipo ", -1)),
|
|
523
523
|
e("span", mt, k(p.type), 1),
|
|
524
|
-
|
|
524
|
+
a[13] || (a[13] = I(" não suportado ", -1))
|
|
525
525
|
]))
|
|
526
526
|
], 2))), 128))
|
|
527
527
|
]))), 128)) : i.type_loading === "spiner" ? (t(!0), l(T, { key: 2 }, j(u.pagination.limit_per_page, (m) => (t(), l("tr", { key: m }, [
|
|
@@ -530,19 +530,19 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
530
530
|
class: "text-center p-0",
|
|
531
531
|
style: { "border-bottom": "none" }
|
|
532
532
|
}, [
|
|
533
|
-
m === Math.floor(u.pagination.limit_per_page / 2) + 1 ? (t(), l("div", ht, [...
|
|
533
|
+
m === Math.floor(u.pagination.limit_per_page / 2) + 1 ? (t(), l("div", ht, [...a[14] || (a[14] = [
|
|
534
534
|
e("div", {
|
|
535
535
|
class: "spinner-border",
|
|
536
536
|
style: { width: "3rem", height: "3rem" },
|
|
537
537
|
role: "status"
|
|
538
538
|
}, null, -1),
|
|
539
539
|
e("span", { class: "mt-2" }, "Carregando...", -1)
|
|
540
|
-
])])) : (t(), l("div",
|
|
540
|
+
])])) : (t(), l("div", ft))
|
|
541
541
|
], 8, vt)
|
|
542
542
|
]))), 128)) : x("", !0)
|
|
543
543
|
])
|
|
544
544
|
], 2)),
|
|
545
|
-
u.attempt && u.attempt.current > 1 ? (t(), l("div",
|
|
545
|
+
u.attempt && u.attempt.current > 1 ? (t(), l("div", gt, " A conexão falhou. Tentando novamente... (Tentativa " + k(u.attempt.current) + " de " + k(u.attempt.total) + ") ", 1)) : x("", !0)
|
|
546
546
|
]));
|
|
547
547
|
}
|
|
548
548
|
}), kt = /* @__PURE__ */ ae(yt, [["__scopeId", "data-v-3b019685"]]), wt = { class: "mx-2 d-inline-block" }, xt = {
|
|
@@ -680,8 +680,8 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
680
680
|
page_param_name: {},
|
|
681
681
|
page_size_param_name: {},
|
|
682
682
|
add_params: { type: [Object, Function], default: () => ({}) },
|
|
683
|
-
data_key: {
|
|
684
|
-
total_key: {
|
|
683
|
+
data_key: {},
|
|
684
|
+
total_key: {},
|
|
685
685
|
list_filter: { default: () => [] },
|
|
686
686
|
first_text_page_size: {},
|
|
687
687
|
second_text_page_size: {},
|
|
@@ -712,44 +712,46 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
712
712
|
disable_request: { default: !1 }
|
|
713
713
|
},
|
|
714
714
|
emits: ["tradePage", "beforeFetch", "afterFetch", "clickedClearSearch"],
|
|
715
|
-
setup(u, { expose: i, emit:
|
|
716
|
-
const
|
|
715
|
+
setup(u, { expose: i, emit: g }) {
|
|
716
|
+
const a = ue(Fe, {}), {
|
|
717
717
|
isHovering: m,
|
|
718
718
|
previewSrc: p,
|
|
719
719
|
previewStyle: V,
|
|
720
720
|
handleMouseOver: E,
|
|
721
721
|
handleMouseMove: B,
|
|
722
722
|
handleMouseLeave: v
|
|
723
|
-
} = at(),
|
|
723
|
+
} = at(), r = u, s = z(() => ({
|
|
724
724
|
// Primeiro, espelha todas as props originais.
|
|
725
|
-
...
|
|
725
|
+
...r,
|
|
726
726
|
// Agora SOBRESCREVEMOS as propriedades que precisam de lógica Global/Default
|
|
727
727
|
// (Prioridade para Prop, mas aceita Global)
|
|
728
728
|
// === TEXTOS ===
|
|
729
|
-
first_text_page_size:
|
|
730
|
-
second_text_page_size:
|
|
731
|
-
placeholder_search:
|
|
729
|
+
first_text_page_size: r.first_text_page_size ?? a.first_text_page_size ?? "Mostrar",
|
|
730
|
+
second_text_page_size: r.second_text_page_size ?? a.second_text_page_size ?? "registros",
|
|
731
|
+
placeholder_search: r.placeholder_search ?? a.placeholder_search ?? "Buscar...",
|
|
732
732
|
// === CLASSES ===
|
|
733
|
-
class_table:
|
|
734
|
-
class_pagination:
|
|
735
|
-
class_container:
|
|
736
|
-
class_content:
|
|
737
|
-
class_filters:
|
|
738
|
-
class_page_size:
|
|
733
|
+
class_table: r.class_table || a.class_table || "",
|
|
734
|
+
class_pagination: r.class_pagination || a.class_pagination || "",
|
|
735
|
+
class_container: r.class_container || a.class_container || "",
|
|
736
|
+
class_content: r.class_content || a.class_content || "",
|
|
737
|
+
class_filters: r.class_filters || a.class_filters || "",
|
|
738
|
+
class_page_size: r.class_page_size || a.class_page_size || "",
|
|
739
739
|
// === CONFIGURAÇÃO DE API ===
|
|
740
|
-
filter_param_name:
|
|
741
|
-
search_param_name:
|
|
742
|
-
page_param_name:
|
|
743
|
-
page_size_param_name:
|
|
744
|
-
page_starts_at:
|
|
745
|
-
item_key:
|
|
740
|
+
filter_param_name: r.filter_param_name ?? a.filter_param_name ?? "filter",
|
|
741
|
+
search_param_name: r.search_param_name ?? a.search_param_name ?? "search",
|
|
742
|
+
page_param_name: r.page_param_name ?? a.page_param_name ?? "page",
|
|
743
|
+
page_size_param_name: r.page_size_param_name ?? a.page_size_param_name ?? "page_size",
|
|
744
|
+
page_starts_at: r.page_starts_at ?? a.page_starts_at ?? 0,
|
|
745
|
+
item_key: r.item_key ?? a.item_key ?? "id",
|
|
746
|
+
data_key: r.data_key ?? a.data_key ?? "results",
|
|
747
|
+
total_key: r.total_key ?? a.total_key ?? "count",
|
|
746
748
|
// === COMPORTAMENTO ===
|
|
747
|
-
limit_per_page:
|
|
748
|
-
type_loading:
|
|
749
|
-
min_loading_delay:
|
|
750
|
-
retry_attempts:
|
|
751
|
-
retry_delay:
|
|
752
|
-
})), w =
|
|
749
|
+
limit_per_page: r.limit_per_page ?? a.limit_per_page ?? 5,
|
|
750
|
+
type_loading: r.type_loading ?? a.type_loading ?? "placeholder",
|
|
751
|
+
min_loading_delay: r.min_loading_delay ?? a.min_loading_delay ?? 600,
|
|
752
|
+
retry_attempts: r.retry_attempts ?? a.retry_attempts ?? 3,
|
|
753
|
+
retry_delay: r.retry_delay ?? a.retry_delay ?? 2e3
|
|
754
|
+
})), w = g, c = C({}), $ = C([]), M = C(0), q = C(!1), y = C({
|
|
753
755
|
current_page: s.value.page_starts_at,
|
|
754
756
|
// pagina atual
|
|
755
757
|
count: 0,
|
|
@@ -777,8 +779,8 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
777
779
|
default_params: he,
|
|
778
780
|
fetchDataWithDelay: L,
|
|
779
781
|
reSearch: N,
|
|
780
|
-
showLoadingState:
|
|
781
|
-
first_fetch:
|
|
782
|
+
showLoadingState: fe,
|
|
783
|
+
first_fetch: ge
|
|
782
784
|
} = lt(s.value, y, $, c, w, U), {
|
|
783
785
|
selectAllCheckbox: ne,
|
|
784
786
|
selected_items: O,
|
|
@@ -793,8 +795,8 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
793
795
|
return $.value.filter((d) => !d.locked);
|
|
794
796
|
},
|
|
795
797
|
set(d) {
|
|
796
|
-
const
|
|
797
|
-
$.value = [...d, ...
|
|
798
|
+
const o = Z.value;
|
|
799
|
+
$.value = [...d, ...o];
|
|
798
800
|
}
|
|
799
801
|
}), we = z(() => [...ee.value, ...Z.value]), xe = z(() => {
|
|
800
802
|
let d = [1];
|
|
@@ -813,25 +815,25 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
813
815
|
}
|
|
814
816
|
Ne(ve, { addColumn: Ce });
|
|
815
817
|
const re = (d) => {
|
|
816
|
-
const
|
|
817
|
-
|
|
818
|
+
const o = d.target, n = parseInt(o.value, 10);
|
|
819
|
+
n > 0 && (y.value.limit_per_page = n, y.value.limit_per_page = n, N());
|
|
818
820
|
};
|
|
819
|
-
function A(d,
|
|
820
|
-
if (!d) return
|
|
821
|
+
function A(d, o, n = null) {
|
|
822
|
+
if (!d) return o;
|
|
821
823
|
const _ = d.split(".");
|
|
822
|
-
let b =
|
|
824
|
+
let b = o;
|
|
823
825
|
for (const te of _)
|
|
824
826
|
b && typeof b == "object" && te in b ? b = b[te] : console.error(`Caminho inválido ou valor nulo em: ${d} na parte ${te}`);
|
|
825
|
-
return
|
|
827
|
+
return n && (b = n(b)), b;
|
|
826
828
|
}
|
|
827
|
-
function Me(d,
|
|
828
|
-
return
|
|
829
|
+
function Me(d, o) {
|
|
830
|
+
return o && typeof o == "number" && o > 0 && typeof d == "string" && d.length > o ? d.substring(0, o) + "..." : d;
|
|
829
831
|
}
|
|
830
832
|
function oe(d) {
|
|
831
|
-
for (const
|
|
832
|
-
|
|
833
|
-
const
|
|
834
|
-
|
|
833
|
+
for (const n in c.value)
|
|
834
|
+
n !== d && (c.value[n] = "none");
|
|
835
|
+
const o = c.value[d] || "none";
|
|
836
|
+
o === "none" ? c.value[d] = "increasing" : o === "increasing" ? c.value[d] = "decreasing" : c.value[d] = "none", N();
|
|
835
837
|
}
|
|
836
838
|
function Se(d) {
|
|
837
839
|
d > 0 ? (y.value.limit_per_page = d, N()) : console.warn("O limite deve ser um número maior que zero.");
|
|
@@ -852,12 +854,12 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
852
854
|
function Ve() {
|
|
853
855
|
w("tradePage"), L();
|
|
854
856
|
}
|
|
855
|
-
const G = (d,
|
|
856
|
-
const
|
|
857
|
-
if (d.click &&
|
|
857
|
+
const G = (d, o) => {
|
|
858
|
+
const n = [d.class_item || ""];
|
|
859
|
+
if (d.click && n.push("cursor-pointer"), d.class_rules)
|
|
858
860
|
for (const [_, b] of Object.entries(d.class_rules))
|
|
859
|
-
typeof b == "function" && b(
|
|
860
|
-
return
|
|
861
|
+
typeof b == "function" && b(o) && n.push(_);
|
|
862
|
+
return n.join(" ").trim();
|
|
861
863
|
};
|
|
862
864
|
i({
|
|
863
865
|
execute: L,
|
|
@@ -883,30 +885,30 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
883
885
|
}));
|
|
884
886
|
},
|
|
885
887
|
{ deep: !0, immediate: s.value.immediate }
|
|
886
|
-
), (d,
|
|
888
|
+
), (d, o) => (t(), l("div", null, [
|
|
887
889
|
e("div", {
|
|
888
|
-
class:
|
|
890
|
+
class: f(["", s.value.class_container])
|
|
889
891
|
}, [
|
|
890
892
|
P(d.$slots, "default", {}, void 0, !0),
|
|
891
893
|
e("div", {
|
|
892
|
-
class:
|
|
894
|
+
class: f(["", s.value.class_content])
|
|
893
895
|
}, [
|
|
894
896
|
e("div", {
|
|
895
|
-
class:
|
|
897
|
+
class: f([s.value.class_filters, "d-flex justify-content-between align-items-start"])
|
|
896
898
|
}, [
|
|
897
899
|
P(d.$slots, "pageSize", {
|
|
898
900
|
changePageSize: re,
|
|
899
901
|
limit_per_page: y.value.limit_per_page
|
|
900
902
|
}, () => [
|
|
901
903
|
e("div", {
|
|
902
|
-
class:
|
|
904
|
+
class: f(["text-secondary", s.value.class_page_size])
|
|
903
905
|
}, [
|
|
904
906
|
I(k(s.value.first_text_page_size) + " ", 1),
|
|
905
907
|
e("div", wt, [
|
|
906
908
|
ce(e("input", {
|
|
907
909
|
class: "form-control form-control-sm",
|
|
908
910
|
onChange: re,
|
|
909
|
-
"onUpdate:modelValue":
|
|
911
|
+
"onUpdate:modelValue": o[0] || (o[0] = (n) => y.value.limit_per_page = n),
|
|
910
912
|
min: "1",
|
|
911
913
|
size: "3",
|
|
912
914
|
"aria-label": "Número de registros por página",
|
|
@@ -926,16 +928,16 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
926
928
|
P(d.$slots, "fieldMiddle", {}, void 0, !0),
|
|
927
929
|
Y(tt, {
|
|
928
930
|
search: y.value.search,
|
|
929
|
-
"onUpdate:search":
|
|
931
|
+
"onUpdate:search": o[1] || (o[1] = (n) => y.value.search = n),
|
|
930
932
|
filter: y.value.filter,
|
|
931
|
-
"onUpdate:filter":
|
|
933
|
+
"onUpdate:filter": o[2] || (o[2] = (n) => y.value.filter = n),
|
|
932
934
|
list_filter: s.value.list_filter,
|
|
933
935
|
item_use: xe.value,
|
|
934
936
|
onSearch: h(N),
|
|
935
937
|
deactivate_search_on_clear: s.value.deactivate_search_on_clear,
|
|
936
938
|
placeholder_search: s.value.placeholder_search,
|
|
937
939
|
deactivate_search_empty: s.value.deactivate_search_empty,
|
|
938
|
-
onClickedClearSearch:
|
|
940
|
+
onClickedClearSearch: o[3] || (o[3] = (n) => d.$emit("clickedClearSearch"))
|
|
939
941
|
}, null, 8, ["search", "filter", "list_filter", "item_use", "onSearch", "deactivate_search_on_clear", "placeholder_search", "deactivate_search_empty"])
|
|
940
942
|
], 2),
|
|
941
943
|
P(d.$slots, "item-selected-info", {
|
|
@@ -944,19 +946,19 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
944
946
|
}, () => [
|
|
945
947
|
s.value.use_checkbox && h(O).length > 0 && !s.value.deactivate_selected_info ? (t(), l("div", xt, [
|
|
946
948
|
e("h4", bt, [
|
|
947
|
-
|
|
948
|
-
|
|
949
|
+
o[10] || (o[10] = e("strong", null, "oi Itens Selecionados:", -1)),
|
|
950
|
+
o[11] || (o[11] = I()),
|
|
949
951
|
e("span", Ct, k(h(O).length), 1)
|
|
950
952
|
]),
|
|
951
953
|
e("a", {
|
|
952
954
|
class: "cursor-pointer",
|
|
953
|
-
onClick:
|
|
954
|
-
}, [...
|
|
955
|
-
Pe('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-trash" data-v-
|
|
955
|
+
onClick: o[4] || (o[4] = (n) => O.value = [])
|
|
956
|
+
}, [...o[12] || (o[12] = [
|
|
957
|
+
Pe('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-trash" data-v-2f28fa64><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-2f28fa64></path><path d="M4 7l16 0" data-v-2f28fa64></path><path d="M10 11l0 6" data-v-2f28fa64></path><path d="M14 11l0 6" data-v-2f28fa64></path><path d="M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2 -2l1 -12" data-v-2f28fa64></path><path d="M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3" data-v-2f28fa64></path></svg> Limpar Seleção', 2)
|
|
956
958
|
])])
|
|
957
959
|
])) : x("", !0)
|
|
958
960
|
], !0),
|
|
959
|
-
h(
|
|
961
|
+
h(fe) ? (t(), W(kt, {
|
|
960
962
|
key: 0,
|
|
961
963
|
columns: $.value,
|
|
962
964
|
limit: y.value.limit_per_page,
|
|
@@ -966,29 +968,29 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
966
968
|
attempt: h(R),
|
|
967
969
|
pagination: y.value
|
|
968
970
|
}, null, 8, ["columns", "limit", "type_loading", "custom_loading", "class_table", "attempt", "pagination"])) : h(S) ? (t(), l("div", Mt, [
|
|
969
|
-
|
|
971
|
+
o[13] || (o[13] = e("h4", { class: "text-danger" }, "Ocorreu um Erro", -1)),
|
|
970
972
|
h(R) ? (t(), l("p", St, " Não foi possível carregar os dados após " + k(h(R).total) + " tentativa(s). ", 1)) : (t(), l("p", $t, " Não foi possível carregar os dados. Verifique sua conexão. ")),
|
|
971
973
|
e("button", {
|
|
972
974
|
class: "btn btn-primary mt-2",
|
|
973
|
-
onClick:
|
|
974
|
-
(...
|
|
975
|
+
onClick: o[5] || (o[5] = //@ts-ignore
|
|
976
|
+
(...n) => h(L) && h(L)(...n))
|
|
975
977
|
}, " Tentar Novamente ")
|
|
976
978
|
])) : h(D) ? (t(), l("div", zt, [
|
|
977
979
|
h(D).length > 0 ? (t(), l("div", Bt, [
|
|
978
980
|
e("table", {
|
|
979
|
-
class:
|
|
981
|
+
class: f(["table table-vcenter table-selectable", s.value.class_table])
|
|
980
982
|
}, [
|
|
981
983
|
e("thead", null, [
|
|
982
984
|
Y(h(Ke), {
|
|
983
985
|
modelValue: ee.value,
|
|
984
|
-
"onUpdate:modelValue":
|
|
986
|
+
"onUpdate:modelValue": o[7] || (o[7] = (n) => ee.value = n),
|
|
985
987
|
tag: "tr",
|
|
986
988
|
"item-key": "header",
|
|
987
989
|
animation: 400,
|
|
988
990
|
"ghost-class": "ghost-item",
|
|
989
991
|
"drag-class": "dragging-item",
|
|
990
|
-
onStart:
|
|
991
|
-
onEnd:
|
|
992
|
+
onStart: o[8] || (o[8] = (n) => q.value = !0),
|
|
993
|
+
onEnd: o[9] || (o[9] = () => be())
|
|
992
994
|
}, {
|
|
993
995
|
header: H(() => [
|
|
994
996
|
s.value.use_expandable_items ? (t(), l("th", Tt)) : x("", !0),
|
|
@@ -998,37 +1000,37 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
998
1000
|
type: "checkbox",
|
|
999
1001
|
ref_key: "selectAllCheckbox",
|
|
1000
1002
|
ref: ne,
|
|
1001
|
-
onChange:
|
|
1002
|
-
(...
|
|
1003
|
+
onChange: o[6] || (o[6] = //@ts-ignore
|
|
1004
|
+
(...n) => h(se) && h(se)(...n)),
|
|
1003
1005
|
"aria-label": "Selecionar todos os itens na página"
|
|
1004
1006
|
}, null, 544)
|
|
1005
1007
|
])) : x("", !0)
|
|
1006
1008
|
]),
|
|
1007
|
-
item: H(({ element:
|
|
1008
|
-
|
|
1009
|
+
item: H(({ element: n }) => [
|
|
1010
|
+
n.use_ordering ? (t(), l("th", {
|
|
1009
1011
|
key: 0,
|
|
1010
|
-
class:
|
|
1012
|
+
class: f(["header-draggable", n.class_column])
|
|
1011
1013
|
}, [
|
|
1012
1014
|
e("div", Dt, [
|
|
1013
|
-
e("span", null, k(
|
|
1015
|
+
e("span", null, k(n.header), 1),
|
|
1014
1016
|
e("span", {
|
|
1015
|
-
onClick: () => oe(
|
|
1017
|
+
onClick: () => oe(n.header),
|
|
1016
1018
|
class: "ms-2 cursor-pointer"
|
|
1017
1019
|
}, [
|
|
1018
|
-
!c.value[
|
|
1020
|
+
!c.value[n.header] || c.value[n.header] === "none" ? (t(), l("svg", jt, [...o[14] || (o[14] = [
|
|
1019
1021
|
e("path", { d: "m3 8 4-4 4 4" }, null, -1),
|
|
1020
1022
|
e("path", { d: "m11 16-4 4-4-4" }, null, -1),
|
|
1021
1023
|
e("path", { d: "M7 4v16" }, null, -1),
|
|
1022
1024
|
e("path", { d: "M15 8h6" }, null, -1),
|
|
1023
1025
|
e("path", { d: "M15 16h6" }, null, -1),
|
|
1024
1026
|
e("path", { d: "M13 12h8" }, null, -1)
|
|
1025
|
-
])])) : c.value[
|
|
1027
|
+
])])) : c.value[n.header] === "decreasing" ? (t(), l("svg", It, [...o[15] || (o[15] = [
|
|
1026
1028
|
e("path", { d: "m3 16 4 4 4-4" }, null, -1),
|
|
1027
1029
|
e("path", { d: "M7 20V4" }, null, -1),
|
|
1028
1030
|
e("path", { d: "M11 4h10" }, null, -1),
|
|
1029
1031
|
e("path", { d: "M11 8h7" }, null, -1),
|
|
1030
1032
|
e("path", { d: "M11 12h4" }, null, -1)
|
|
1031
|
-
])])) : c.value[
|
|
1033
|
+
])])) : c.value[n.header] === "increasing" ? (t(), l("svg", Nt, [...o[16] || (o[16] = [
|
|
1032
1034
|
e("path", { d: "m3 8 4-4 4 4" }, null, -1),
|
|
1033
1035
|
e("path", { d: "M7 4v16" }, null, -1),
|
|
1034
1036
|
e("path", { d: "M11 12h4" }, null, -1),
|
|
@@ -1039,37 +1041,37 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
1039
1041
|
])
|
|
1040
1042
|
], 2)) : (t(), l("th", {
|
|
1041
1043
|
key: 1,
|
|
1042
|
-
class:
|
|
1043
|
-
}, k(
|
|
1044
|
+
class: f(["header-draggable", n.class_column])
|
|
1045
|
+
}, k(n.header), 3))
|
|
1044
1046
|
]),
|
|
1045
1047
|
footer: H(() => [
|
|
1046
|
-
(t(!0), l(T, null, j(Z.value, (
|
|
1047
|
-
key:
|
|
1048
|
+
(t(!0), l(T, null, j(Z.value, (n) => (t(), l(T, {
|
|
1049
|
+
key: n.field || n.header
|
|
1048
1050
|
}, [
|
|
1049
|
-
|
|
1051
|
+
n.use_ordering ? (t(), l("th", {
|
|
1050
1052
|
key: 0,
|
|
1051
|
-
class:
|
|
1053
|
+
class: f(["header-locked header-ordering", n.class_column])
|
|
1052
1054
|
}, [
|
|
1053
1055
|
e("div", At, [
|
|
1054
|
-
e("span", null, k(
|
|
1056
|
+
e("span", null, k(n.header), 1),
|
|
1055
1057
|
e("span", {
|
|
1056
|
-
onClick: () => oe(
|
|
1058
|
+
onClick: () => oe(n.header),
|
|
1057
1059
|
class: "ms-2 cursor-pointer"
|
|
1058
1060
|
}, [
|
|
1059
|
-
!c.value[
|
|
1061
|
+
!c.value[n.header] || c.value[n.header] === "none" ? (t(), l("svg", qt, [...o[17] || (o[17] = [
|
|
1060
1062
|
e("path", { d: "m3 8 4-4 4 4" }, null, -1),
|
|
1061
1063
|
e("path", { d: "m11 16-4 4-4-4" }, null, -1),
|
|
1062
1064
|
e("path", { d: "M7 4v16" }, null, -1),
|
|
1063
1065
|
e("path", { d: "M15 8h6" }, null, -1),
|
|
1064
1066
|
e("path", { d: "M15 16h6" }, null, -1),
|
|
1065
1067
|
e("path", { d: "M13 12h8" }, null, -1)
|
|
1066
|
-
])])) : c.value[
|
|
1068
|
+
])])) : c.value[n.header] === "decreasing" ? (t(), l("svg", Lt, [...o[18] || (o[18] = [
|
|
1067
1069
|
e("path", { d: "m3 16 4 4 4-4" }, null, -1),
|
|
1068
1070
|
e("path", { d: "M7 20V4" }, null, -1),
|
|
1069
1071
|
e("path", { d: "M11 4h10" }, null, -1),
|
|
1070
1072
|
e("path", { d: "M11 8h7" }, null, -1),
|
|
1071
1073
|
e("path", { d: "M11 12h4" }, null, -1)
|
|
1072
|
-
])])) : c.value[
|
|
1074
|
+
])])) : c.value[n.header] === "increasing" ? (t(), l("svg", Ot, [...o[19] || (o[19] = [
|
|
1073
1075
|
e("path", { d: "m3 8 4-4 4 4" }, null, -1),
|
|
1074
1076
|
e("path", { d: "M7 4v16" }, null, -1),
|
|
1075
1077
|
e("path", { d: "M11 12h4" }, null, -1),
|
|
@@ -1080,16 +1082,16 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
1080
1082
|
])
|
|
1081
1083
|
], 2)) : (t(), l("th", {
|
|
1082
1084
|
key: 1,
|
|
1083
|
-
class:
|
|
1084
|
-
}, k(
|
|
1085
|
+
class: f(["header-locked", n.class_column])
|
|
1086
|
+
}, k(n.header), 3))
|
|
1085
1087
|
], 64))), 128))
|
|
1086
1088
|
]),
|
|
1087
1089
|
_: 1
|
|
1088
1090
|
}, 8, ["modelValue"])
|
|
1089
1091
|
]),
|
|
1090
1092
|
e("tbody", null, [
|
|
1091
|
-
(t(!0), l(T, null, j(h(D), (
|
|
1092
|
-
key:
|
|
1093
|
+
(t(!0), l(T, null, j(h(D), (n) => (t(), l(T, {
|
|
1094
|
+
key: n[s.value.item_key]
|
|
1093
1095
|
}, [
|
|
1094
1096
|
Y(qe, {
|
|
1095
1097
|
tag: "tr",
|
|
@@ -1098,23 +1100,23 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
1098
1100
|
default: H(() => [
|
|
1099
1101
|
s.value.use_expandable_items ? (t(), l("td", Ht, [
|
|
1100
1102
|
P(d.$slots, "expand-button", {
|
|
1101
|
-
item:
|
|
1102
|
-
isExpanded: h(K)(
|
|
1103
|
+
item: n,
|
|
1104
|
+
isExpanded: h(K)(n),
|
|
1103
1105
|
expand_item_toggle: h(F)
|
|
1104
1106
|
}, () => [
|
|
1105
1107
|
e("button", {
|
|
1106
1108
|
type: "button",
|
|
1107
|
-
class:
|
|
1108
|
-
onClick: (_) => h(F)(
|
|
1109
|
+
class: f(["btn-clean btn-icon-anim", { "is-expanded": h(K)(n) }]),
|
|
1110
|
+
onClick: (_) => h(F)(n)
|
|
1109
1111
|
}, [
|
|
1110
|
-
s.value.type_button_expand === "arrow" ? (t(), l("svg", Ut, [...
|
|
1112
|
+
s.value.type_button_expand === "arrow" ? (t(), l("svg", Ut, [...o[20] || (o[20] = [
|
|
1111
1113
|
e("path", {
|
|
1112
1114
|
stroke: "none",
|
|
1113
1115
|
d: "M0 0h24v24H0z",
|
|
1114
1116
|
fill: "none"
|
|
1115
1117
|
}, null, -1),
|
|
1116
1118
|
e("path", { d: "M9 6l6 6l-6 6" }, null, -1)
|
|
1117
|
-
])])) : (t(), l("svg", Kt, [...
|
|
1119
|
+
])])) : (t(), l("svg", Kt, [...o[21] || (o[21] = [
|
|
1118
1120
|
e("path", {
|
|
1119
1121
|
stroke: "none",
|
|
1120
1122
|
d: "M0 0h24v24H0z",
|
|
@@ -1133,68 +1135,68 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
1133
1135
|
e("input", {
|
|
1134
1136
|
class: "form-check-input m-0",
|
|
1135
1137
|
type: "checkbox",
|
|
1136
|
-
checked: h(le)(
|
|
1137
|
-
onChange: (_) => h(ke)(
|
|
1138
|
+
checked: h(le)(n),
|
|
1139
|
+
onChange: (_) => h(ke)(n),
|
|
1138
1140
|
"aria-label": "Selecionar este item"
|
|
1139
1141
|
}, null, 40, Xt)
|
|
1140
1142
|
])) : x("", !0),
|
|
1141
1143
|
(t(!0), l(T, null, j(we.value, (_) => (t(), l("td", {
|
|
1142
1144
|
key: _.field || _.header,
|
|
1143
|
-
class:
|
|
1145
|
+
class: f(_.class_row)
|
|
1144
1146
|
}, [
|
|
1145
1147
|
_.bodySlot ? (t(), W(me(_.bodySlot), {
|
|
1146
1148
|
key: 0,
|
|
1147
|
-
item:
|
|
1148
|
-
"is-selected": h(le)(
|
|
1149
|
+
item: n,
|
|
1150
|
+
"is-selected": h(le)(n)
|
|
1149
1151
|
}, null, 8, ["item", "is-selected"])) : _.type === "text" ? (t(), l("span", {
|
|
1150
1152
|
key: 1,
|
|
1151
|
-
onClick: (b) => _.click ? _.click(
|
|
1152
|
-
class:
|
|
1153
|
-
}, k(Me(A(_.field,
|
|
1153
|
+
onClick: (b) => _.click ? _.click(n) : null,
|
|
1154
|
+
class: f(G(_, n))
|
|
1155
|
+
}, k(Me(A(_.field, n, _.transform_function), _.limite_text ?? null)), 11, Gt)) : _.type === "date" ? (t(), l("span", {
|
|
1154
1156
|
key: 2,
|
|
1155
|
-
onClick: (b) => _.click ? _.click(
|
|
1156
|
-
class:
|
|
1157
|
+
onClick: (b) => _.click ? _.click(n) : null,
|
|
1158
|
+
class: f(G(_, n))
|
|
1157
1159
|
}, [
|
|
1158
|
-
_.format === "complete" ? (t(), l("span", Jt, k(new Date(A(_.field,
|
|
1160
|
+
_.format === "complete" ? (t(), l("span", Jt, k(new Date(A(_.field, n)).toLocaleString()), 1)) : x("", !0),
|
|
1159
1161
|
_.format === "simple" ? (t(), l("span", Qt, k(new Date(A(
|
|
1160
1162
|
_.field,
|
|
1161
|
-
|
|
1163
|
+
n
|
|
1162
1164
|
)).toLocaleDateString()), 1)) : x("", !0)
|
|
1163
1165
|
], 10, Wt)) : _.type === "html" ? (t(), l("div", {
|
|
1164
1166
|
key: 3,
|
|
1165
|
-
onClick: (b) => _.click ? _.click(
|
|
1166
|
-
class:
|
|
1167
|
-
innerHTML: A(_.field,
|
|
1167
|
+
onClick: (b) => _.click ? _.click(n) : null,
|
|
1168
|
+
class: f(G(_, n)),
|
|
1169
|
+
innerHTML: A(_.field, n)
|
|
1168
1170
|
}, null, 10, Rt)) : _.type === "img" ? (t(), l("div", {
|
|
1169
1171
|
key: 4,
|
|
1170
|
-
onClick: (b) => _.click ? _.click(
|
|
1171
|
-
class:
|
|
1172
|
+
onClick: (b) => _.click ? _.click(n) : null,
|
|
1173
|
+
class: f(G(_, n))
|
|
1172
1174
|
}, [
|
|
1173
|
-
A(_.field,
|
|
1175
|
+
A(_.field, n) ? (t(), l("div", Le({
|
|
1174
1176
|
key: 0,
|
|
1175
1177
|
ref_for: !0
|
|
1176
1178
|
}, _.deactivate_img_preview ? {
|
|
1177
1179
|
class: "container-img"
|
|
1178
1180
|
} : {
|
|
1179
|
-
onMouseover: (b) => h(E)(b, A(_.field,
|
|
1181
|
+
onMouseover: (b) => h(E)(b, A(_.field, n)),
|
|
1180
1182
|
onMousemove: h(B),
|
|
1181
1183
|
onMouseleave: h(v),
|
|
1182
1184
|
class: "container-img container-img-preview"
|
|
1183
1185
|
}), [
|
|
1184
1186
|
e("img", {
|
|
1185
1187
|
class: "img-tamanho",
|
|
1186
|
-
src: A(_.field,
|
|
1188
|
+
src: A(_.field, n)
|
|
1187
1189
|
}, null, 8, ea),
|
|
1188
1190
|
e("img", {
|
|
1189
1191
|
class: "img-tamanho-cover",
|
|
1190
|
-
src: A(_.field,
|
|
1192
|
+
src: A(_.field, n)
|
|
1191
1193
|
}, null, 8, ta),
|
|
1192
|
-
|
|
1194
|
+
o[22] || (o[22] = e("div", { class: "bg-img" }, null, -1))
|
|
1193
1195
|
], 16)) : x("", !0)
|
|
1194
1196
|
], 10, Zt)) : (t(), l("span", aa, [
|
|
1195
|
-
|
|
1197
|
+
o[23] || (o[23] = I("tipo ", -1)),
|
|
1196
1198
|
e("span", na, k(_.type), 1),
|
|
1197
|
-
|
|
1199
|
+
o[24] || (o[24] = I(" não suportado", -1))
|
|
1198
1200
|
]))
|
|
1199
1201
|
], 2))), 128))
|
|
1200
1202
|
]),
|
|
@@ -1205,15 +1207,15 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
1205
1207
|
css: !s.value.deactivate_animation_expand
|
|
1206
1208
|
}, {
|
|
1207
1209
|
default: H(() => [
|
|
1208
|
-
h(K)(
|
|
1210
|
+
h(K)(n) ? (t(), l("tr", {
|
|
1209
1211
|
key: 0,
|
|
1210
|
-
id: "expand-item-" +
|
|
1212
|
+
id: "expand-item-" + n[s.value.item_key],
|
|
1211
1213
|
class: "expanded-item-row"
|
|
1212
1214
|
}, [
|
|
1213
1215
|
e("td", {
|
|
1214
1216
|
colspan: Te()
|
|
1215
1217
|
}, [
|
|
1216
|
-
P(d.$slots, "after-row", { item:
|
|
1218
|
+
P(d.$slots, "after-row", { item: n }, void 0, !0)
|
|
1217
1219
|
], 8, sa)
|
|
1218
1220
|
], 8, la)) : x("", !0)
|
|
1219
1221
|
]),
|
|
@@ -1222,9 +1224,9 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
1222
1224
|
], 64))), 128))
|
|
1223
1225
|
])
|
|
1224
1226
|
], 2)
|
|
1225
|
-
])) : h(
|
|
1227
|
+
])) : h(ge) === !1 ? (t(), l("div", ra, [
|
|
1226
1228
|
P(d.$slots, "idle-state", {}, void 0, !0)
|
|
1227
|
-
])) : (t(), l("div", oa, [...
|
|
1229
|
+
])) : (t(), l("div", oa, [...o[25] || (o[25] = [
|
|
1228
1230
|
e("p", { class: "m-0" }, "Nenhum item encontrado.", -1)
|
|
1229
1231
|
])]))
|
|
1230
1232
|
])) : x("", !0)
|
|
@@ -1237,7 +1239,7 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
1237
1239
|
}, () => [
|
|
1238
1240
|
!h(S) && y.value.count > 0 ? (t(), l("div", {
|
|
1239
1241
|
key: 0,
|
|
1240
|
-
class:
|
|
1242
|
+
class: f(["px-3", s.value.class_pagination])
|
|
1241
1243
|
}, [
|
|
1242
1244
|
Y(Ue, {
|
|
1243
1245
|
page_starts_at: s.value.page_starts_at,
|
|
@@ -1260,7 +1262,7 @@ const rt = { class: "loading-container" }, ot = { key: 0 }, it = { key: 2 }, dt
|
|
|
1260
1262
|
], 4)) : x("", !0)
|
|
1261
1263
|
]));
|
|
1262
1264
|
}
|
|
1263
|
-
}), va = /* @__PURE__ */ ae(da, [["__scopeId", "data-v-
|
|
1265
|
+
}), va = /* @__PURE__ */ ae(da, [["__scopeId", "data-v-2f28fa64"]]);
|
|
1264
1266
|
export {
|
|
1265
1267
|
ma as VColumn,
|
|
1266
1268
|
va as VDataTable
|
package/package.json
CHANGED
|
@@ -347,8 +347,6 @@ const props = withDefaults(defineProps<VDataTableProps>(), {
|
|
|
347
347
|
deactivate_default_params: false,
|
|
348
348
|
|
|
349
349
|
add_params: () => ({}),
|
|
350
|
-
data_key: 'results',
|
|
351
|
-
total_key: 'count',
|
|
352
350
|
list_filter: () => [],
|
|
353
351
|
|
|
354
352
|
use_checkbox: false,
|
|
@@ -393,6 +391,8 @@ const options = computed(() => {
|
|
|
393
391
|
page_size_param_name: props.page_size_param_name ?? globalConfig.page_size_param_name ?? 'page_size',
|
|
394
392
|
page_starts_at: props.page_starts_at ?? globalConfig.page_starts_at ?? 0,
|
|
395
393
|
item_key: props.item_key ?? globalConfig.item_key ?? 'id',
|
|
394
|
+
data_key: props.data_key ?? globalConfig.data_key ?? 'results',
|
|
395
|
+
total_key: props.total_key ?? globalConfig.total_key ?? 'count',
|
|
396
396
|
|
|
397
397
|
// === COMPORTAMENTO ===
|
|
398
398
|
limit_per_page: props.limit_per_page ?? globalConfig.limit_per_page ?? 5,
|