v-sistec-features 1.9.1 → 1.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/v-sistec-features.css +1 -1
- package/dist/vDataTable.d.ts +1 -0
- package/dist/vDataTable.js +205 -202
- package/package.json +1 -1
- package/src/DatatableVue/components/SearchDatatable.vue +4 -3
- package/src/DatatableVue/components/VDataTable.vue +2 -1
- package/src/DatatableVue/types/v-data-table.ts +1 -0
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
* Copyright 2018-2025 The Tabler Authors
|
|
9
9
|
* Copyright 2018-2025 codecalm.net Paweł Kuna
|
|
10
10
|
* Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE)
|
|
11
|
-
*/[data-bs-theme-base=slate]{--tblr-gray-50:#f8fafc;--tblr-gray-100:#f1f5f9;--tblr-gray-200:#e2e8f0;--tblr-gray-300:#cbd5e1;--tblr-gray-400:#94a3b8;--tblr-gray-500:#64748b;--tblr-gray-600:#475569;--tblr-gray-700:#334155;--tblr-gray-800:#1e293b;--tblr-gray-900:#0f172a;--tblr-gray-950:#020617}[data-bs-theme-base=gray]{--tblr-gray-50:#f9fafb;--tblr-gray-100:#f3f4f6;--tblr-gray-200:#e5e7eb;--tblr-gray-300:#d1d5db;--tblr-gray-400:#9ca3af;--tblr-gray-500:#6b7280;--tblr-gray-600:#4b5563;--tblr-gray-700:#374151;--tblr-gray-800:#1f2937;--tblr-gray-900:#111827;--tblr-gray-950:#030712}[data-bs-theme-base=zinc]{--tblr-gray-50:#fafafa;--tblr-gray-100:#f4f4f5;--tblr-gray-200:#e4e4e7;--tblr-gray-300:#d4d4d8;--tblr-gray-400:#a1a1aa;--tblr-gray-500:#71717a;--tblr-gray-600:#52525b;--tblr-gray-700:#3f3f46;--tblr-gray-800:#27272a;--tblr-gray-900:#18181b;--tblr-gray-950:#09090b}[data-bs-theme-base=neutral]{--tblr-gray-50:#fafafa;--tblr-gray-100:#f5f5f5;--tblr-gray-200:#e5e5e5;--tblr-gray-300:#d4d4d4;--tblr-gray-400:#a3a3a3;--tblr-gray-500:#737373;--tblr-gray-600:#525252;--tblr-gray-700:#404040;--tblr-gray-800:#262626;--tblr-gray-900:#171717;--tblr-gray-950:#0a0a0a}[data-bs-theme-base=stone]{--tblr-gray-50:#fafaf9;--tblr-gray-100:#f5f5f4;--tblr-gray-200:#e7e5e4;--tblr-gray-300:#d6d3d1;--tblr-gray-400:#a8a29e;--tblr-gray-500:#78716c;--tblr-gray-600:#57534e;--tblr-gray-700:#44403c;--tblr-gray-800:#292524;--tblr-gray-900:#1c1917;--tblr-gray-950:#0c0a09}[data-bs-theme-base=pink]{--tblr-gray-50:#fdf2f8;--tblr-gray-100:#fce7f3;--tblr-gray-200:#fbcfe8;--tblr-gray-300:#f9a8d4;--tblr-gray-400:#f472b6;--tblr-gray-500:#ec4899;--tblr-gray-600:#db2777;--tblr-gray-700:#be185d;--tblr-gray-800:#9d174d;--tblr-gray-900:#831843;--tblr-gray-950:#500724}[data-bs-theme-primary=blue]{--tblr-primary:#066fd1;--tblr-primary-rgb:6,111,209}[data-bs-theme-primary=azure]{--tblr-primary:#4299e1;--tblr-primary-rgb:66,153,225}[data-bs-theme-primary=indigo]{--tblr-primary:#4263eb;--tblr-primary-rgb:66,99,235}[data-bs-theme-primary=purple]{--tblr-primary:#ae3ec9;--tblr-primary-rgb:174,62,201}[data-bs-theme-primary=pink]{--tblr-primary:#d6336c;--tblr-primary-rgb:214,51,108}[data-bs-theme-primary=red]{--tblr-primary:#d63939;--tblr-primary-rgb:214,57,57}[data-bs-theme-primary=orange]{--tblr-primary:#f76707;--tblr-primary-rgb:247,103,7}[data-bs-theme-primary=yellow]{--tblr-primary:#f59f00;--tblr-primary-rgb:245,159,0}[data-bs-theme-primary=lime]{--tblr-primary:#74b816;--tblr-primary-rgb:116,184,22}[data-bs-theme-primary=green]{--tblr-primary:#2fb344;--tblr-primary-rgb:47,179,68}[data-bs-theme-primary=teal]{--tblr-primary:#0ca678;--tblr-primary-rgb:12,166,120}[data-bs-theme-primary=cyan]{--tblr-primary:#17a2b8;--tblr-primary-rgb:23,162,184}[data-bs-theme-radius="0"]{--tblr-border-radius-scale:0}[data-bs-theme-radius="0.5"]{--tblr-border-radius-scale:.5}[data-bs-theme-radius="1"]{--tblr-border-radius-scale:1}[data-bs-theme-radius="1.5"]{--tblr-border-radius-scale:1.5}[data-bs-theme-radius="2"]{--tblr-border-radius-scale:2}[data-bs-theme-primary=inverted]{--tblr-primary:var(--tblr-gray-800);--tblr-primary-fg:var(--tblr-light);--tblr-primary-rgb:31,41,55}[data-bs-theme-primary=inverted] [data-bs-theme=dark],[data-bs-theme-primary=inverted][data-bs-theme=dark]{--tblr-primary:#f9fafb;--tblr-primary-fg:var(--tblr-dark);--tblr-primary-rgb:249,250,251}[data-bs-theme-font=monospace]{--tblr-body-font-family:var(--tblr-font-monospace);--tblr-body-font-size:80%}[data-bs-theme-font=sans-serif]{--tblr-body-font-family:var(--tblr-font-sans-serif)}[data-bs-theme-font=serif]{--tblr-body-font-family:var(--tblr-font-serif)}[data-bs-theme-font=comic]{--tblr-body-font-family:var(--tblr-font-comic)}:root{--color-error-inputs: red}[data-bs-theme=dark]{--color-error-inputs: oklch(.666 .179 58.318)}.style-custom-v-required-default{display:flex!important;justify-content:center!important;flex-direction:column!important;gap:2px}.style-custom-v-required-error .v-required-span{color:var(--color-error-inputs)!important;white-space:pre-wrap}.multiselect__tags{background-color:var(--cor-bg-inputs);border:var(--border-inputs);border-radius:5px!important;font-size:.875rem;line-height:1.4285714286}.multiselect__placeholder{color:var(--color-text-multiselect)!important}.style-custom-v-required-error input,.style-custom-v-required-error select,.style-custom-v-required-error textarea{border:2px solid var(--color-error-inputs)!important;color:var(--color-error-inputs)!important}.style-custom-v-required-error .multiselect__tags{border:2px solid var(--color-error-inputs)!important}.style-custom-v-required-error .multiselect__input{border:none!important}.style-custom-v-required-error .multiselect__placeholder{color:var(--color-error-inputs)!important}.style-custom-v-required-error .image-drop-zone{border-color:var(--color-error-inputs)!important}.style-custom-v-required-error .quillWrapper{border:2px solid var(--color-error-inputs)!important}.style-custom-v-required-error input::placeholder{color:var(--color-error-inputs)!important}.Vue-Toastification__container{z-index:9999;position:fixed;padding:4px;width:600px;box-sizing:border-box;display:flex;min-height:100%;color:#fff;flex-direction:column;pointer-events:none}@media only screen and (min-width:600px){.Vue-Toastification__container.top-left,.Vue-Toastification__container.top-right,.Vue-Toastification__container.top-center{top:1em}.Vue-Toastification__container.bottom-left,.Vue-Toastification__container.bottom-right,.Vue-Toastification__container.bottom-center{bottom:1em;flex-direction:column-reverse}.Vue-Toastification__container.top-left,.Vue-Toastification__container.bottom-left{left:1em}.Vue-Toastification__container.top-left .Vue-Toastification__toast,.Vue-Toastification__container.bottom-left .Vue-Toastification__toast{margin-right:auto}@supports not (-moz-appearance: none){.Vue-Toastification__container.top-left .Vue-Toastification__toast--rtl,.Vue-Toastification__container.bottom-left .Vue-Toastification__toast--rtl{margin-right:unset;margin-left:auto}}.Vue-Toastification__container.top-right,.Vue-Toastification__container.bottom-right{right:1em}.Vue-Toastification__container.top-right .Vue-Toastification__toast,.Vue-Toastification__container.bottom-right .Vue-Toastification__toast{margin-left:auto}@supports not (-moz-appearance: none){.Vue-Toastification__container.top-right .Vue-Toastification__toast--rtl,.Vue-Toastification__container.bottom-right .Vue-Toastification__toast--rtl{margin-left:unset;margin-right:auto}}.Vue-Toastification__container.top-center,.Vue-Toastification__container.bottom-center{left:50%;margin-left:-300px}.Vue-Toastification__container.top-center .Vue-Toastification__toast,.Vue-Toastification__container.bottom-center .Vue-Toastification__toast{margin-left:auto;margin-right:auto}}@media only screen and (max-width:600px){.Vue-Toastification__container{width:100vw;padding:0;left:0;margin:0}.Vue-Toastification__container .Vue-Toastification__toast{width:100%}.Vue-Toastification__container.top-left,.Vue-Toastification__container.top-right,.Vue-Toastification__container.top-center{top:0}.Vue-Toastification__container.bottom-left,.Vue-Toastification__container.bottom-right,.Vue-Toastification__container.bottom-center{bottom:0;flex-direction:column-reverse}}.Vue-Toastification__toast{display:inline-flex;position:relative;max-height:800px;min-height:64px;box-sizing:border-box;margin-bottom:1rem;padding:22px 24px;border-radius:8px;box-shadow:0 1px 10px #0000001a,0 2px 15px #0000000d;justify-content:space-between;font-family:Lato,Helvetica,Roboto,Arial,sans-serif;max-width:600px;min-width:326px;pointer-events:auto;overflow:hidden;transform:translateZ(0);direction:ltr}.Vue-Toastification__toast--rtl{direction:rtl}.Vue-Toastification__toast--default{background-color:#1976d2;color:#fff}.Vue-Toastification__toast--info{background-color:#2196f3;color:#fff}.Vue-Toastification__toast--success{background-color:#4caf50;color:#fff}.Vue-Toastification__toast--error{background-color:#ff5252;color:#fff}.Vue-Toastification__toast--warning{background-color:#ffc107;color:#fff}@media only screen and (max-width:600px){.Vue-Toastification__toast{border-radius:0;margin-bottom:.5rem}}.Vue-Toastification__toast-body{flex:1;line-height:24px;font-size:16px;word-break:break-word;white-space:pre-wrap}.Vue-Toastification__toast-component-body{flex:1}.Vue-Toastification__toast.disable-transition{animation:none!important}.Vue-Toastification__close-button{font-weight:700;font-size:24px;line-height:24px;background:transparent;outline:none;border:none;padding:0 0 0 10px;cursor:pointer;transition:.3s ease;align-items:center;color:#fff;opacity:.3;transition:visibility 0s,opacity .2s linear}.Vue-Toastification__close-button:hover,.Vue-Toastification__close-button:focus{opacity:1}.Vue-Toastification__toast:not(:hover) .Vue-Toastification__close-button.show-on-hover{opacity:0}.Vue-Toastification__toast--rtl .Vue-Toastification__close-button{padding-left:unset;padding-right:10px}@keyframes scale-x-frames{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Vue-Toastification__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:5px;z-index:10000;background-color:#ffffffb3;transform-origin:left;animation:scale-x-frames linear 1 forwards}.Vue-Toastification__toast--rtl .Vue-Toastification__progress-bar{right:0;left:unset;transform-origin:right}.Vue-Toastification__icon{margin:auto 18px auto 0;background:transparent;outline:none;border:none;padding:0;transition:.3s ease;align-items:center;width:20px;height:100%}.Vue-Toastification__toast--rtl .Vue-Toastification__icon{margin:auto 0 auto 18px}@keyframes bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes bounceOutRight{40%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(1000px,0,0)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes bounceOutDown{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Vue-Toastification__bounce-enter-active.top-left,.Vue-Toastification__bounce-enter-active.bottom-left{animation-name:bounceInLeft}.Vue-Toastification__bounce-enter-active.top-right,.Vue-Toastification__bounce-enter-active.bottom-right{animation-name:bounceInRight}.Vue-Toastification__bounce-enter-active.top-center{animation-name:bounceInDown}.Vue-Toastification__bounce-enter-active.bottom-center{animation-name:bounceInUp}.Vue-Toastification__bounce-leave-active:not(.disable-transition).top-left,.Vue-Toastification__bounce-leave-active:not(.disable-transition).bottom-left{animation-name:bounceOutLeft}.Vue-Toastification__bounce-leave-active:not(.disable-transition).top-right,.Vue-Toastification__bounce-leave-active:not(.disable-transition).bottom-right{animation-name:bounceOutRight}.Vue-Toastification__bounce-leave-active:not(.disable-transition).top-center{animation-name:bounceOutUp}.Vue-Toastification__bounce-leave-active:not(.disable-transition).bottom-center{animation-name:bounceOutDown}.Vue-Toastification__bounce-leave-active,.Vue-Toastification__bounce-enter-active{animation-duration:.75s;animation-fill-mode:both}.Vue-Toastification__bounce-move{transition-timing-function:ease-in-out;transition-property:all;transition-duration:.4s}@keyframes fadeOutTop{0%{transform:translateY(0);opacity:1}to{transform:translateY(-50px);opacity:0}}@keyframes fadeOutLeft{0%{transform:translate(0);opacity:1}to{transform:translate(-50px);opacity:0}}@keyframes fadeOutBottom{0%{transform:translateY(0);opacity:1}to{transform:translateY(50px);opacity:0}}@keyframes fadeOutRight{0%{transform:translate(0);opacity:1}to{transform:translate(50px);opacity:0}}@keyframes fadeInLeft{0%{transform:translate(-50px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes fadeInRight{0%{transform:translate(50px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes fadeInTop{0%{transform:translateY(-50px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes fadeInBottom{0%{transform:translateY(50px);opacity:0}to{transform:translateY(0);opacity:1}}.Vue-Toastification__fade-enter-active.top-left,.Vue-Toastification__fade-enter-active.bottom-left{animation-name:fadeInLeft}.Vue-Toastification__fade-enter-active.top-right,.Vue-Toastification__fade-enter-active.bottom-right{animation-name:fadeInRight}.Vue-Toastification__fade-enter-active.top-center{animation-name:fadeInTop}.Vue-Toastification__fade-enter-active.bottom-center{animation-name:fadeInBottom}.Vue-Toastification__fade-leave-active:not(.disable-transition).top-left,.Vue-Toastification__fade-leave-active:not(.disable-transition).bottom-left{animation-name:fadeOutLeft}.Vue-Toastification__fade-leave-active:not(.disable-transition).top-right,.Vue-Toastification__fade-leave-active:not(.disable-transition).bottom-right{animation-name:fadeOutRight}.Vue-Toastification__fade-leave-active:not(.disable-transition).top-center{animation-name:fadeOutTop}.Vue-Toastification__fade-leave-active:not(.disable-transition).bottom-center{animation-name:fadeOutBottom}.Vue-Toastification__fade-leave-active,.Vue-Toastification__fade-enter-active{animation-duration:.75s;animation-fill-mode:both}.Vue-Toastification__fade-move{transition-timing-function:ease-in-out;transition-property:all;transition-duration:.4s}@keyframes slideInBlurredLeft{0%{transform:translate(-1000px) scaleX(2.5) scaleY(.2);transform-origin:100% 50%;filter:blur(40px);opacity:0}to{transform:translate(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideInBlurredTop{0%{transform:translateY(-1000px) scaleY(2.5) scaleX(.2);transform-origin:50% 0%;filter:blur(240px);opacity:0}to{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideInBlurredRight{0%{transform:translate(1000px) scaleX(2.5) scaleY(.2);transform-origin:0% 50%;filter:blur(40px);opacity:0}to{transform:translate(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideInBlurredBottom{0%{transform:translateY(1000px) scaleY(2.5) scaleX(.2);transform-origin:50% 100%;filter:blur(240px);opacity:0}to{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideOutBlurredTop{0%{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 0%;filter:blur(0);opacity:1}to{transform:translateY(-1000px) scaleY(2) scaleX(.2);transform-origin:50% 0%;filter:blur(240px);opacity:0}}@keyframes slideOutBlurredBottom{0%{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}to{transform:translateY(1000px) scaleY(2) scaleX(.2);transform-origin:50% 100%;filter:blur(240px);opacity:0}}@keyframes slideOutBlurredLeft{0%{transform:translate(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}to{transform:translate(-1000px) scaleX(2) scaleY(.2);transform-origin:100% 50%;filter:blur(40px);opacity:0}}@keyframes slideOutBlurredRight{0%{transform:translate(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}to{transform:translate(1000px) scaleX(2) scaleY(.2);transform-origin:0% 50%;filter:blur(40px);opacity:0}}.Vue-Toastification__slideBlurred-enter-active.top-left,.Vue-Toastification__slideBlurred-enter-active.bottom-left{animation-name:slideInBlurredLeft}.Vue-Toastification__slideBlurred-enter-active.top-right,.Vue-Toastification__slideBlurred-enter-active.bottom-right{animation-name:slideInBlurredRight}.Vue-Toastification__slideBlurred-enter-active.top-center{animation-name:slideInBlurredTop}.Vue-Toastification__slideBlurred-enter-active.bottom-center{animation-name:slideInBlurredBottom}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).top-left,.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).bottom-left{animation-name:slideOutBlurredLeft}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).top-right,.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).bottom-right{animation-name:slideOutBlurredRight}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).top-center{animation-name:slideOutBlurredTop}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).bottom-center{animation-name:slideOutBlurredBottom}.Vue-Toastification__slideBlurred-leave-active,.Vue-Toastification__slideBlurred-enter-active{animation-duration:.75s;animation-fill-mode:both}.Vue-Toastification__slideBlurred-move{transition-timing-function:ease-in-out;transition-property:all;transition-duration:.4s}.rotate-180[data-v-785126fa] svg{transform:rotate(180deg)}.page-select[data-v-785126fa]{background-color:var(--tblr-primary)!important;color:#fff!important;border:none!important}.page-estilo[data-v-785126fa]{border:none;--cor-escurecida: color-mix(in srgb, var(--tblr-primary), #000 25%);background:transparent;padding:1px 10px;border-radius:7px;margin:0!important;transition:color .15s ease-in-out,background-color .15s ease-in-out}.page-estilo[data-v-785126fa]:hover{background:var(--cor-escurecida);color:#fff}.btn[data-v-785126fa]{padding:0!important;margin:0!important;background:transparent!important;border:none!important;box-shadow:none!important}[data-v-785126fa] .btn-estilo svg{padding:0!important;margin:0!important}[data-v-785126fa] .btn-estilo:hover svg{stroke:var(--tblr-primary)}.icon-tabler[data-v-785126fa]{margin:0!important;padding:0!important}.t-container{width:100%;display:flex;justify-content:space-between;align-items:center;color:#fff}.scroll-finish-style[data-v-77d6f2cb]{color:#6c757d;display:block;text-align:center;margin-top:1rem;margin-bottom:1rem}.inputClose[data-v-dc655be7]{color:var(--tblr-icon-color);z-index:10;position:absolute;top:50%;right:0;transform:translateY(-50%);font-size:1.2em;min-width:2.5rem;display:flex;justify-content:center}.inputClose[data-v-dc655be7]:hover{cursor:pointer}.selected[data-v-dc655be7]:hover{background-color:#b02a2a!important;color:#fff!important}.table-responsive[data-v-7d2b5197]{overflow-x:auto}.state-feedback[data-v-7d2b5197]{padding:1rem;text-align:center}.state-feedback.error[data-v-7d2b5197]{color:red}.pagination-controls[data-v-7d2b5197]{margin-top:1rem;display:flex;justify-content:space-between}.placeholder-img[data-v-7d2b5197]{width:40px;height:40px;border-radius:4px}.container-img[data-v-7d2b5197]{aspect-ratio:1;display:flex;justify-content:center;overflow:hidden;position:relative;max-width:40px;min-width:40px}.container-img .img-tamanho-cover[data-v-7d2b5197]{position:absolute;top:0;width:100%;height:100%;object-fit:cover;z-index:0;opacity:.5;filter:blur(4px)}.container-img .img-tamanho[data-v-7d2b5197]{object-fit:contain;width:100%;height:100%;z-index:2}.container-img.container-img-preview[data-v-7d2b5197]{cursor:pointer}.container-img.container-img-preview[data-v-7d2b5197]:hover{border-style:dashed;border-color:var(--tblr-primary);border-width:2px;transition:border-width .15s ease-in-out}.container-img.container-img-preview:hover .img-tamanho[data-v-7d2b5197]{opacity:.3}.erro-custom-container[data-v-7d2b5197]{display:inline-block;padding:.2em .6em;border-radius:4px;background-color:#fff;font-weight:700;text-transform:uppercase}.erro-custom-text[data-v-7d2b5197]{font-size:.8em;text-transform:uppercase;font-weight:700}.bg-img[data-v-7d2b5197]{background-color:#0000004d;position:absolute;top:0;width:100%;height:100%;z-index:1}.image-preview-container[data-v-7d2b5197]{position:fixed;z-index:9999;background-color:#fff;border-radius:8px;box-shadow:0 4px 12px #0003;padding:5px;pointer-events:none;transition:opacity .2s ease-in-out}.image-preview-container .image-preview-large[data-v-7d2b5197]{display:block;max-width:250px;max-height:250px;border-radius:4px}.form-check-input[data-v-7d2b5197]{border-width:1px!important;border-color:#00000064!important;width:17px;height:17px}[data-bs-theme=dark] .form-check-input[data-v-7d2b5197]{border-color:#ffffff5f!important}.ghost-item[data-v-7d2b5197]{opacity:.5;background:var(--tblr-primary-lt, #e6f0ff);border-radius:8px}.dragging-item[data-v-7d2b5197]{cursor:grabbing;background:var(--tblr-primary);box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;opacity:.5;background-color:var(--tblr-primary-bg-subtle);filter:grayscale(0) invert(0)}.header-draggable[data-v-7d2b5197]{cursor:grab}.column-move-move[data-v-7d2b5197]{transition:transform .4s ease}.column-move-enter-active[data-v-7d2b5197],.column-move-leave-active[data-v-7d2b5197]{transition:all .4s ease}.header-ordering[data-v-7d2b5197]{display:flex;justify-content:space-between}
|
|
11
|
+
*/[data-bs-theme-base=slate]{--tblr-gray-50:#f8fafc;--tblr-gray-100:#f1f5f9;--tblr-gray-200:#e2e8f0;--tblr-gray-300:#cbd5e1;--tblr-gray-400:#94a3b8;--tblr-gray-500:#64748b;--tblr-gray-600:#475569;--tblr-gray-700:#334155;--tblr-gray-800:#1e293b;--tblr-gray-900:#0f172a;--tblr-gray-950:#020617}[data-bs-theme-base=gray]{--tblr-gray-50:#f9fafb;--tblr-gray-100:#f3f4f6;--tblr-gray-200:#e5e7eb;--tblr-gray-300:#d1d5db;--tblr-gray-400:#9ca3af;--tblr-gray-500:#6b7280;--tblr-gray-600:#4b5563;--tblr-gray-700:#374151;--tblr-gray-800:#1f2937;--tblr-gray-900:#111827;--tblr-gray-950:#030712}[data-bs-theme-base=zinc]{--tblr-gray-50:#fafafa;--tblr-gray-100:#f4f4f5;--tblr-gray-200:#e4e4e7;--tblr-gray-300:#d4d4d8;--tblr-gray-400:#a1a1aa;--tblr-gray-500:#71717a;--tblr-gray-600:#52525b;--tblr-gray-700:#3f3f46;--tblr-gray-800:#27272a;--tblr-gray-900:#18181b;--tblr-gray-950:#09090b}[data-bs-theme-base=neutral]{--tblr-gray-50:#fafafa;--tblr-gray-100:#f5f5f5;--tblr-gray-200:#e5e5e5;--tblr-gray-300:#d4d4d4;--tblr-gray-400:#a3a3a3;--tblr-gray-500:#737373;--tblr-gray-600:#525252;--tblr-gray-700:#404040;--tblr-gray-800:#262626;--tblr-gray-900:#171717;--tblr-gray-950:#0a0a0a}[data-bs-theme-base=stone]{--tblr-gray-50:#fafaf9;--tblr-gray-100:#f5f5f4;--tblr-gray-200:#e7e5e4;--tblr-gray-300:#d6d3d1;--tblr-gray-400:#a8a29e;--tblr-gray-500:#78716c;--tblr-gray-600:#57534e;--tblr-gray-700:#44403c;--tblr-gray-800:#292524;--tblr-gray-900:#1c1917;--tblr-gray-950:#0c0a09}[data-bs-theme-base=pink]{--tblr-gray-50:#fdf2f8;--tblr-gray-100:#fce7f3;--tblr-gray-200:#fbcfe8;--tblr-gray-300:#f9a8d4;--tblr-gray-400:#f472b6;--tblr-gray-500:#ec4899;--tblr-gray-600:#db2777;--tblr-gray-700:#be185d;--tblr-gray-800:#9d174d;--tblr-gray-900:#831843;--tblr-gray-950:#500724}[data-bs-theme-primary=blue]{--tblr-primary:#066fd1;--tblr-primary-rgb:6,111,209}[data-bs-theme-primary=azure]{--tblr-primary:#4299e1;--tblr-primary-rgb:66,153,225}[data-bs-theme-primary=indigo]{--tblr-primary:#4263eb;--tblr-primary-rgb:66,99,235}[data-bs-theme-primary=purple]{--tblr-primary:#ae3ec9;--tblr-primary-rgb:174,62,201}[data-bs-theme-primary=pink]{--tblr-primary:#d6336c;--tblr-primary-rgb:214,51,108}[data-bs-theme-primary=red]{--tblr-primary:#d63939;--tblr-primary-rgb:214,57,57}[data-bs-theme-primary=orange]{--tblr-primary:#f76707;--tblr-primary-rgb:247,103,7}[data-bs-theme-primary=yellow]{--tblr-primary:#f59f00;--tblr-primary-rgb:245,159,0}[data-bs-theme-primary=lime]{--tblr-primary:#74b816;--tblr-primary-rgb:116,184,22}[data-bs-theme-primary=green]{--tblr-primary:#2fb344;--tblr-primary-rgb:47,179,68}[data-bs-theme-primary=teal]{--tblr-primary:#0ca678;--tblr-primary-rgb:12,166,120}[data-bs-theme-primary=cyan]{--tblr-primary:#17a2b8;--tblr-primary-rgb:23,162,184}[data-bs-theme-radius="0"]{--tblr-border-radius-scale:0}[data-bs-theme-radius="0.5"]{--tblr-border-radius-scale:.5}[data-bs-theme-radius="1"]{--tblr-border-radius-scale:1}[data-bs-theme-radius="1.5"]{--tblr-border-radius-scale:1.5}[data-bs-theme-radius="2"]{--tblr-border-radius-scale:2}[data-bs-theme-primary=inverted]{--tblr-primary:var(--tblr-gray-800);--tblr-primary-fg:var(--tblr-light);--tblr-primary-rgb:31,41,55}[data-bs-theme-primary=inverted] [data-bs-theme=dark],[data-bs-theme-primary=inverted][data-bs-theme=dark]{--tblr-primary:#f9fafb;--tblr-primary-fg:var(--tblr-dark);--tblr-primary-rgb:249,250,251}[data-bs-theme-font=monospace]{--tblr-body-font-family:var(--tblr-font-monospace);--tblr-body-font-size:80%}[data-bs-theme-font=sans-serif]{--tblr-body-font-family:var(--tblr-font-sans-serif)}[data-bs-theme-font=serif]{--tblr-body-font-family:var(--tblr-font-serif)}[data-bs-theme-font=comic]{--tblr-body-font-family:var(--tblr-font-comic)}:root{--color-error-inputs: red}[data-bs-theme=dark]{--color-error-inputs: oklch(.666 .179 58.318)}.style-custom-v-required-default{display:flex!important;justify-content:center!important;flex-direction:column!important;gap:2px}.style-custom-v-required-error .v-required-span{color:var(--color-error-inputs)!important;white-space:pre-wrap}.multiselect__tags{background-color:var(--cor-bg-inputs);border:var(--border-inputs);border-radius:5px!important;font-size:.875rem;line-height:1.4285714286}.multiselect__placeholder{color:var(--color-text-multiselect)!important}.style-custom-v-required-error input,.style-custom-v-required-error select,.style-custom-v-required-error textarea{border:2px solid var(--color-error-inputs)!important;color:var(--color-error-inputs)!important}.style-custom-v-required-error .multiselect__tags{border:2px solid var(--color-error-inputs)!important}.style-custom-v-required-error .multiselect__input{border:none!important}.style-custom-v-required-error .multiselect__placeholder{color:var(--color-error-inputs)!important}.style-custom-v-required-error .image-drop-zone{border-color:var(--color-error-inputs)!important}.style-custom-v-required-error .quillWrapper{border:2px solid var(--color-error-inputs)!important}.style-custom-v-required-error input::placeholder{color:var(--color-error-inputs)!important}.Vue-Toastification__container{z-index:9999;position:fixed;padding:4px;width:600px;box-sizing:border-box;display:flex;min-height:100%;color:#fff;flex-direction:column;pointer-events:none}@media only screen and (min-width:600px){.Vue-Toastification__container.top-left,.Vue-Toastification__container.top-right,.Vue-Toastification__container.top-center{top:1em}.Vue-Toastification__container.bottom-left,.Vue-Toastification__container.bottom-right,.Vue-Toastification__container.bottom-center{bottom:1em;flex-direction:column-reverse}.Vue-Toastification__container.top-left,.Vue-Toastification__container.bottom-left{left:1em}.Vue-Toastification__container.top-left .Vue-Toastification__toast,.Vue-Toastification__container.bottom-left .Vue-Toastification__toast{margin-right:auto}@supports not (-moz-appearance: none){.Vue-Toastification__container.top-left .Vue-Toastification__toast--rtl,.Vue-Toastification__container.bottom-left .Vue-Toastification__toast--rtl{margin-right:unset;margin-left:auto}}.Vue-Toastification__container.top-right,.Vue-Toastification__container.bottom-right{right:1em}.Vue-Toastification__container.top-right .Vue-Toastification__toast,.Vue-Toastification__container.bottom-right .Vue-Toastification__toast{margin-left:auto}@supports not (-moz-appearance: none){.Vue-Toastification__container.top-right .Vue-Toastification__toast--rtl,.Vue-Toastification__container.bottom-right .Vue-Toastification__toast--rtl{margin-left:unset;margin-right:auto}}.Vue-Toastification__container.top-center,.Vue-Toastification__container.bottom-center{left:50%;margin-left:-300px}.Vue-Toastification__container.top-center .Vue-Toastification__toast,.Vue-Toastification__container.bottom-center .Vue-Toastification__toast{margin-left:auto;margin-right:auto}}@media only screen and (max-width:600px){.Vue-Toastification__container{width:100vw;padding:0;left:0;margin:0}.Vue-Toastification__container .Vue-Toastification__toast{width:100%}.Vue-Toastification__container.top-left,.Vue-Toastification__container.top-right,.Vue-Toastification__container.top-center{top:0}.Vue-Toastification__container.bottom-left,.Vue-Toastification__container.bottom-right,.Vue-Toastification__container.bottom-center{bottom:0;flex-direction:column-reverse}}.Vue-Toastification__toast{display:inline-flex;position:relative;max-height:800px;min-height:64px;box-sizing:border-box;margin-bottom:1rem;padding:22px 24px;border-radius:8px;box-shadow:0 1px 10px #0000001a,0 2px 15px #0000000d;justify-content:space-between;font-family:Lato,Helvetica,Roboto,Arial,sans-serif;max-width:600px;min-width:326px;pointer-events:auto;overflow:hidden;transform:translateZ(0);direction:ltr}.Vue-Toastification__toast--rtl{direction:rtl}.Vue-Toastification__toast--default{background-color:#1976d2;color:#fff}.Vue-Toastification__toast--info{background-color:#2196f3;color:#fff}.Vue-Toastification__toast--success{background-color:#4caf50;color:#fff}.Vue-Toastification__toast--error{background-color:#ff5252;color:#fff}.Vue-Toastification__toast--warning{background-color:#ffc107;color:#fff}@media only screen and (max-width:600px){.Vue-Toastification__toast{border-radius:0;margin-bottom:.5rem}}.Vue-Toastification__toast-body{flex:1;line-height:24px;font-size:16px;word-break:break-word;white-space:pre-wrap}.Vue-Toastification__toast-component-body{flex:1}.Vue-Toastification__toast.disable-transition{animation:none!important}.Vue-Toastification__close-button{font-weight:700;font-size:24px;line-height:24px;background:transparent;outline:none;border:none;padding:0 0 0 10px;cursor:pointer;transition:.3s ease;align-items:center;color:#fff;opacity:.3;transition:visibility 0s,opacity .2s linear}.Vue-Toastification__close-button:hover,.Vue-Toastification__close-button:focus{opacity:1}.Vue-Toastification__toast:not(:hover) .Vue-Toastification__close-button.show-on-hover{opacity:0}.Vue-Toastification__toast--rtl .Vue-Toastification__close-button{padding-left:unset;padding-right:10px}@keyframes scale-x-frames{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Vue-Toastification__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:5px;z-index:10000;background-color:#ffffffb3;transform-origin:left;animation:scale-x-frames linear 1 forwards}.Vue-Toastification__toast--rtl .Vue-Toastification__progress-bar{right:0;left:unset;transform-origin:right}.Vue-Toastification__icon{margin:auto 18px auto 0;background:transparent;outline:none;border:none;padding:0;transition:.3s ease;align-items:center;width:20px;height:100%}.Vue-Toastification__toast--rtl .Vue-Toastification__icon{margin:auto 0 auto 18px}@keyframes bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes bounceOutRight{40%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(1000px,0,0)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes bounceOutDown{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Vue-Toastification__bounce-enter-active.top-left,.Vue-Toastification__bounce-enter-active.bottom-left{animation-name:bounceInLeft}.Vue-Toastification__bounce-enter-active.top-right,.Vue-Toastification__bounce-enter-active.bottom-right{animation-name:bounceInRight}.Vue-Toastification__bounce-enter-active.top-center{animation-name:bounceInDown}.Vue-Toastification__bounce-enter-active.bottom-center{animation-name:bounceInUp}.Vue-Toastification__bounce-leave-active:not(.disable-transition).top-left,.Vue-Toastification__bounce-leave-active:not(.disable-transition).bottom-left{animation-name:bounceOutLeft}.Vue-Toastification__bounce-leave-active:not(.disable-transition).top-right,.Vue-Toastification__bounce-leave-active:not(.disable-transition).bottom-right{animation-name:bounceOutRight}.Vue-Toastification__bounce-leave-active:not(.disable-transition).top-center{animation-name:bounceOutUp}.Vue-Toastification__bounce-leave-active:not(.disable-transition).bottom-center{animation-name:bounceOutDown}.Vue-Toastification__bounce-leave-active,.Vue-Toastification__bounce-enter-active{animation-duration:.75s;animation-fill-mode:both}.Vue-Toastification__bounce-move{transition-timing-function:ease-in-out;transition-property:all;transition-duration:.4s}@keyframes fadeOutTop{0%{transform:translateY(0);opacity:1}to{transform:translateY(-50px);opacity:0}}@keyframes fadeOutLeft{0%{transform:translate(0);opacity:1}to{transform:translate(-50px);opacity:0}}@keyframes fadeOutBottom{0%{transform:translateY(0);opacity:1}to{transform:translateY(50px);opacity:0}}@keyframes fadeOutRight{0%{transform:translate(0);opacity:1}to{transform:translate(50px);opacity:0}}@keyframes fadeInLeft{0%{transform:translate(-50px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes fadeInRight{0%{transform:translate(50px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes fadeInTop{0%{transform:translateY(-50px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes fadeInBottom{0%{transform:translateY(50px);opacity:0}to{transform:translateY(0);opacity:1}}.Vue-Toastification__fade-enter-active.top-left,.Vue-Toastification__fade-enter-active.bottom-left{animation-name:fadeInLeft}.Vue-Toastification__fade-enter-active.top-right,.Vue-Toastification__fade-enter-active.bottom-right{animation-name:fadeInRight}.Vue-Toastification__fade-enter-active.top-center{animation-name:fadeInTop}.Vue-Toastification__fade-enter-active.bottom-center{animation-name:fadeInBottom}.Vue-Toastification__fade-leave-active:not(.disable-transition).top-left,.Vue-Toastification__fade-leave-active:not(.disable-transition).bottom-left{animation-name:fadeOutLeft}.Vue-Toastification__fade-leave-active:not(.disable-transition).top-right,.Vue-Toastification__fade-leave-active:not(.disable-transition).bottom-right{animation-name:fadeOutRight}.Vue-Toastification__fade-leave-active:not(.disable-transition).top-center{animation-name:fadeOutTop}.Vue-Toastification__fade-leave-active:not(.disable-transition).bottom-center{animation-name:fadeOutBottom}.Vue-Toastification__fade-leave-active,.Vue-Toastification__fade-enter-active{animation-duration:.75s;animation-fill-mode:both}.Vue-Toastification__fade-move{transition-timing-function:ease-in-out;transition-property:all;transition-duration:.4s}@keyframes slideInBlurredLeft{0%{transform:translate(-1000px) scaleX(2.5) scaleY(.2);transform-origin:100% 50%;filter:blur(40px);opacity:0}to{transform:translate(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideInBlurredTop{0%{transform:translateY(-1000px) scaleY(2.5) scaleX(.2);transform-origin:50% 0%;filter:blur(240px);opacity:0}to{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideInBlurredRight{0%{transform:translate(1000px) scaleX(2.5) scaleY(.2);transform-origin:0% 50%;filter:blur(40px);opacity:0}to{transform:translate(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideInBlurredBottom{0%{transform:translateY(1000px) scaleY(2.5) scaleX(.2);transform-origin:50% 100%;filter:blur(240px);opacity:0}to{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideOutBlurredTop{0%{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 0%;filter:blur(0);opacity:1}to{transform:translateY(-1000px) scaleY(2) scaleX(.2);transform-origin:50% 0%;filter:blur(240px);opacity:0}}@keyframes slideOutBlurredBottom{0%{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}to{transform:translateY(1000px) scaleY(2) scaleX(.2);transform-origin:50% 100%;filter:blur(240px);opacity:0}}@keyframes slideOutBlurredLeft{0%{transform:translate(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}to{transform:translate(-1000px) scaleX(2) scaleY(.2);transform-origin:100% 50%;filter:blur(40px);opacity:0}}@keyframes slideOutBlurredRight{0%{transform:translate(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}to{transform:translate(1000px) scaleX(2) scaleY(.2);transform-origin:0% 50%;filter:blur(40px);opacity:0}}.Vue-Toastification__slideBlurred-enter-active.top-left,.Vue-Toastification__slideBlurred-enter-active.bottom-left{animation-name:slideInBlurredLeft}.Vue-Toastification__slideBlurred-enter-active.top-right,.Vue-Toastification__slideBlurred-enter-active.bottom-right{animation-name:slideInBlurredRight}.Vue-Toastification__slideBlurred-enter-active.top-center{animation-name:slideInBlurredTop}.Vue-Toastification__slideBlurred-enter-active.bottom-center{animation-name:slideInBlurredBottom}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).top-left,.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).bottom-left{animation-name:slideOutBlurredLeft}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).top-right,.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).bottom-right{animation-name:slideOutBlurredRight}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).top-center{animation-name:slideOutBlurredTop}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).bottom-center{animation-name:slideOutBlurredBottom}.Vue-Toastification__slideBlurred-leave-active,.Vue-Toastification__slideBlurred-enter-active{animation-duration:.75s;animation-fill-mode:both}.Vue-Toastification__slideBlurred-move{transition-timing-function:ease-in-out;transition-property:all;transition-duration:.4s}.rotate-180[data-v-785126fa] svg{transform:rotate(180deg)}.page-select[data-v-785126fa]{background-color:var(--tblr-primary)!important;color:#fff!important;border:none!important}.page-estilo[data-v-785126fa]{border:none;--cor-escurecida: color-mix(in srgb, var(--tblr-primary), #000 25%);background:transparent;padding:1px 10px;border-radius:7px;margin:0!important;transition:color .15s ease-in-out,background-color .15s ease-in-out}.page-estilo[data-v-785126fa]:hover{background:var(--cor-escurecida);color:#fff}.btn[data-v-785126fa]{padding:0!important;margin:0!important;background:transparent!important;border:none!important;box-shadow:none!important}[data-v-785126fa] .btn-estilo svg{padding:0!important;margin:0!important}[data-v-785126fa] .btn-estilo:hover svg{stroke:var(--tblr-primary)}.icon-tabler[data-v-785126fa]{margin:0!important;padding:0!important}.t-container{width:100%;display:flex;justify-content:space-between;align-items:center;color:#fff}.scroll-finish-style[data-v-77d6f2cb]{color:#6c757d;display:block;text-align:center;margin-top:1rem;margin-bottom:1rem}.inputClose[data-v-c7098e42]{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-c7098e42]:hover{cursor:pointer}.selected[data-v-c7098e42]:hover{background-color:#b02a2a!important;color:#fff!important}.table-responsive[data-v-e5706981]{overflow-x:auto}.state-feedback[data-v-e5706981]{padding:1rem;text-align:center}.state-feedback.error[data-v-e5706981]{color:red}.pagination-controls[data-v-e5706981]{margin-top:1rem;display:flex;justify-content:space-between}.placeholder-img[data-v-e5706981]{width:40px;height:40px;border-radius:4px}.container-img[data-v-e5706981]{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-e5706981]{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-e5706981]{object-fit:contain;width:100%;height:100%;z-index:2}.container-img.container-img-preview[data-v-e5706981]{cursor:pointer}.container-img.container-img-preview[data-v-e5706981]: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-e5706981]{opacity:.3}.erro-custom-container[data-v-e5706981]{display:inline-block;padding:.2em .6em;border-radius:4px;background-color:#fff;font-weight:700;text-transform:uppercase}.erro-custom-text[data-v-e5706981]{font-size:.8em;text-transform:uppercase;font-weight:700}.bg-img[data-v-e5706981]{background-color:#0000004d;position:absolute;top:0;width:100%;height:100%;z-index:1}.image-preview-container[data-v-e5706981]{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-e5706981]{display:block;max-width:250px;max-height:250px;border-radius:4px}.form-check-input[data-v-e5706981]{border-width:1px!important;border-color:#00000064!important;width:17px;height:17px}[data-bs-theme=dark] .form-check-input[data-v-e5706981]{border-color:#ffffff5f!important}.ghost-item[data-v-e5706981]{opacity:.5;background:var(--tblr-primary-lt, #e6f0ff);border-radius:8px}.dragging-item[data-v-e5706981]{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-e5706981]{cursor:grab}.column-move-move[data-v-e5706981]{transition:transform .4s ease}.column-move-enter-active[data-v-e5706981],.column-move-leave-active[data-v-e5706981]{transition:all .4s ease}.header-ordering[data-v-e5706981]{display:flex;justify-content:space-between}
|
package/dist/vDataTable.d.ts
CHANGED
package/dist/vDataTable.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as R, useSlots as Ce, inject as Se, onMounted as $e, computed as
|
|
1
|
+
import { defineComponent as R, useSlots as Ce, inject as Se, onMounted as $e, computed as M, watch as P, resolveComponent as ze, createElementBlock as l, openBlock as s, createCommentVNode as g, createElementVNode as t, withDirectives as le, withKeys as Ve, vModelText as re, Fragment as x, renderList as V, createBlock as U, withCtx as H, createTextVNode as B, toDisplayString as v, normalizeClass as m, withModifiers as se, ref as k, provide as Be, readonly as Ne, nextTick as Te, renderSlot as O, createVNode as Q, createStaticVNode as je, resolveDynamicComponent as ne, unref as f, TransitionGroup as De, mergeProps as Ae, normalizeStyle as Ee } from "vue";
|
|
2
2
|
import { _ as oe, P as Ie } from "./Pagination-DtVDFQ07.js";
|
|
3
3
|
import Oe from "vuedraggable";
|
|
4
|
-
const ie = Symbol("v-datatable-key"),
|
|
4
|
+
const ie = Symbol("v-datatable-key"), Gt = /* @__PURE__ */ R({
|
|
5
5
|
__name: "VColumn",
|
|
6
6
|
props: {
|
|
7
7
|
field: { default: null },
|
|
@@ -21,8 +21,8 @@ const ie = Symbol("v-datatable-key"), Xt = /* @__PURE__ */ R({
|
|
|
21
21
|
decreasing_value: { default: "" },
|
|
22
22
|
increasing_value: { default: "" }
|
|
23
23
|
},
|
|
24
|
-
setup(
|
|
25
|
-
const i =
|
|
24
|
+
setup(w) {
|
|
25
|
+
const i = w, C = Ce(), S = Se(ie);
|
|
26
26
|
if (!S)
|
|
27
27
|
throw new Error("VColumn deve ser usado dentro de um VDataTable.");
|
|
28
28
|
const z = ["text", "img", "date", "html"];
|
|
@@ -60,40 +60,41 @@ const ie = Symbol("v-datatable-key"), Xt = /* @__PURE__ */ R({
|
|
|
60
60
|
...i.type === "img" && { deactivate_img_preview: i.deactivate_img_preview },
|
|
61
61
|
...i.type === "date" && { format: i.format }
|
|
62
62
|
});
|
|
63
|
-
}), ($,
|
|
63
|
+
}), ($, D) => null;
|
|
64
64
|
}
|
|
65
|
-
}), He = { class: "dropdown d-flex" },
|
|
65
|
+
}), He = { class: "dropdown d-flex" }, Pe = {
|
|
66
66
|
key: 0,
|
|
67
67
|
href: "#",
|
|
68
68
|
class: "btn dropdown-toggle",
|
|
69
69
|
"data-bs-toggle": "dropdown",
|
|
70
70
|
title: "Pesquisas Prédefinidas"
|
|
71
|
-
},
|
|
71
|
+
}, qe = { class: "input-icon" }, Le = ["placeholder"], Ue = {
|
|
72
72
|
key: 1,
|
|
73
73
|
class: "input-icon-addon"
|
|
74
|
-
},
|
|
74
|
+
}, Fe = {
|
|
75
75
|
key: 1,
|
|
76
76
|
class: "dropdown-menu"
|
|
77
|
-
},
|
|
77
|
+
}, Ke = ["onClick"], Ye = ["onClick"], Xe = /* @__PURE__ */ R({
|
|
78
78
|
__name: "SearchDatatable",
|
|
79
79
|
props: {
|
|
80
80
|
search: {},
|
|
81
81
|
filter: { default: "" },
|
|
82
82
|
list_filter: { default: () => [] },
|
|
83
|
-
item_use: { default: () => [1, 2] }
|
|
83
|
+
item_use: { default: () => [1, 2] },
|
|
84
|
+
placeholder_search: { default: "Buscar..." }
|
|
84
85
|
},
|
|
85
86
|
emits: ["update:search", "update:filter", "search"],
|
|
86
|
-
setup(
|
|
87
|
-
const C =
|
|
87
|
+
setup(w, { emit: i }) {
|
|
88
|
+
const C = w, S = i, z = M({
|
|
88
89
|
get: () => C.search,
|
|
89
90
|
set: (c) => S("update:search", c)
|
|
90
|
-
}), $ =
|
|
91
|
+
}), $ = M({
|
|
91
92
|
get: () => C.filter,
|
|
92
93
|
set: (c) => S("update:filter", c)
|
|
93
94
|
});
|
|
94
|
-
|
|
95
|
+
P($, () => {
|
|
95
96
|
S("search");
|
|
96
|
-
}),
|
|
97
|
+
}), P(
|
|
97
98
|
() => C.list_filter,
|
|
98
99
|
(c) => {
|
|
99
100
|
Array.isArray(c) ? (c.forEach((d, h) => {
|
|
@@ -102,7 +103,7 @@ const ie = Symbol("v-datatable-key"), Xt = /* @__PURE__ */ R({
|
|
|
102
103
|
},
|
|
103
104
|
{ immediate: !0, deep: !0 }
|
|
104
105
|
);
|
|
105
|
-
function
|
|
106
|
+
function D(c) {
|
|
106
107
|
$.value === c ? $.value = "" : $.value = c;
|
|
107
108
|
}
|
|
108
109
|
function I() {
|
|
@@ -113,8 +114,8 @@ const ie = Symbol("v-datatable-key"), Xt = /* @__PURE__ */ R({
|
|
|
113
114
|
}
|
|
114
115
|
return (c, d) => {
|
|
115
116
|
const h = ze("router-link");
|
|
116
|
-
return
|
|
117
|
-
|
|
117
|
+
return s(), l("div", He, [
|
|
118
|
+
w.item_use.includes(2) ? (s(), l("a", Pe, [...d[3] || (d[3] = [
|
|
118
119
|
t("svg", {
|
|
119
120
|
xmlns: "http://www.w3.org/2000/svg",
|
|
120
121
|
class: "icon icon-tabler icon-tabler-filter",
|
|
@@ -135,18 +136,18 @@ const ie = Symbol("v-datatable-key"), Xt = /* @__PURE__ */ R({
|
|
|
135
136
|
t("path", { d: "M4 4h16v2.172a2 2 0 0 1 -.586 1.414l-4.414 4.414v7l-6 2v-8.5l-4.48 -4.928a2 2 0 0 1 -.52 -1.345v-2.227z" })
|
|
136
137
|
], -1)
|
|
137
138
|
])])) : g("", !0),
|
|
138
|
-
t("div",
|
|
139
|
+
t("div", qe, [
|
|
139
140
|
le(t("input", {
|
|
140
141
|
type: "text",
|
|
141
142
|
class: "form-control ms-1",
|
|
142
|
-
id: "
|
|
143
|
+
id: "inputSearchVDataTable",
|
|
143
144
|
"onUpdate:modelValue": d[0] || (d[0] = (u) => z.value = u),
|
|
144
145
|
onKeyup: d[1] || (d[1] = Ve((u) => c.$emit("search"), ["enter"])),
|
|
145
|
-
placeholder:
|
|
146
|
-
}, null,
|
|
146
|
+
placeholder: w.placeholder_search
|
|
147
|
+
}, null, 40, Le), [
|
|
147
148
|
[re, z.value]
|
|
148
149
|
]),
|
|
149
|
-
z.value ? (
|
|
150
|
+
z.value ? (s(), l("span", {
|
|
150
151
|
key: 0,
|
|
151
152
|
onClick: d[2] || (d[2] = (u) => I()),
|
|
152
153
|
class: "inputClose",
|
|
@@ -172,7 +173,7 @@ const ie = Symbol("v-datatable-key"), Xt = /* @__PURE__ */ R({
|
|
|
172
173
|
t("path", { d: "M18 6l-12 12" }),
|
|
173
174
|
t("path", { d: "M6 6l12 12" })
|
|
174
175
|
], -1)
|
|
175
|
-
])])) : (
|
|
176
|
+
])])) : (s(), l("span", Ue, [...d[5] || (d[5] = [
|
|
176
177
|
t("svg", {
|
|
177
178
|
xmlns: "http://www.w3.org/2000/svg",
|
|
178
179
|
width: "24",
|
|
@@ -195,9 +196,9 @@ const ie = Symbol("v-datatable-key"), Xt = /* @__PURE__ */ R({
|
|
|
195
196
|
], -1)
|
|
196
197
|
])]))
|
|
197
198
|
]),
|
|
198
|
-
|
|
199
|
-
(
|
|
200
|
-
"type" in u && u.type === 1 && (!("visible" in u) || u.visible) ? (
|
|
199
|
+
w.item_use.includes(2) ? (s(), l("div", Fe, [
|
|
200
|
+
(s(!0), l(x, null, V(C.list_filter, (u, T) => (s(), l(x, { key: T }, [
|
|
201
|
+
"type" in u && u.type === 1 && (!("visible" in u) || u.visible) ? (s(), U(h, {
|
|
201
202
|
key: 0,
|
|
202
203
|
to: u?.to,
|
|
203
204
|
class: "dropdown-item cursor-pointer"
|
|
@@ -206,23 +207,23 @@ const ie = Symbol("v-datatable-key"), Xt = /* @__PURE__ */ R({
|
|
|
206
207
|
B(v(u.text), 1)
|
|
207
208
|
]),
|
|
208
209
|
_: 2
|
|
209
|
-
}, 1032, ["to"])) : (!("type" in u) || u.type === 2) && (!("visible" in u) || u.visible) ? (
|
|
210
|
+
}, 1032, ["to"])) : (!("type" in u) || u.type === 2) && (!("visible" in u) || u.visible) ? (s(), l("a", {
|
|
210
211
|
key: 1,
|
|
211
|
-
onClick:
|
|
212
|
+
onClick: se((_) => D(String(u.value)), ["prevent"]),
|
|
212
213
|
class: m(["dropdown-item cursor-pointer", $.value === u?.value ? "bg-info text-dark selected" : ""])
|
|
213
|
-
}, v(u.text), 11,
|
|
214
|
+
}, v(u.text), 11, Ke)) : (!("type" in u) || u.type === 3) && (!("visible" in u) || u.visible) ? (s(), l("a", {
|
|
214
215
|
key: 2,
|
|
215
|
-
onClick:
|
|
216
|
+
onClick: se((_) => o(u), ["prevent"]),
|
|
216
217
|
class: m(["dropdown-item cursor-pointer", u?.active ? "bg-info text-dark selected" : ""])
|
|
217
|
-
}, v(u.text), 11,
|
|
218
|
+
}, v(u.text), 11, Ye)) : g("", !0)
|
|
218
219
|
], 64))), 128))
|
|
219
220
|
])) : g("", !0)
|
|
220
221
|
]);
|
|
221
222
|
};
|
|
222
223
|
}
|
|
223
|
-
}),
|
|
224
|
-
function
|
|
225
|
-
const
|
|
224
|
+
}), Ge = /* @__PURE__ */ oe(Xe, [["__scopeId", "data-v-c7098e42"]]);
|
|
225
|
+
function We() {
|
|
226
|
+
const w = k(!1), i = k(""), C = k(0), S = k(0), z = M(() => ({
|
|
226
227
|
position: "fixed",
|
|
227
228
|
zIndex: 9999,
|
|
228
229
|
pointerEvents: "none",
|
|
@@ -231,63 +232,63 @@ function Ge() {
|
|
|
231
232
|
}));
|
|
232
233
|
function $(c) {
|
|
233
234
|
const d = c.clientX, h = c.clientY, u = window.innerHeight, T = 15, _ = 300;
|
|
234
|
-
let
|
|
235
|
-
|
|
235
|
+
let b = h + T;
|
|
236
|
+
b + _ > u && (b = h - _ - T, b < 0 && (b = 0)), C.value = d, S.value = b;
|
|
236
237
|
}
|
|
237
|
-
function
|
|
238
|
-
|
|
238
|
+
function D(c, d) {
|
|
239
|
+
w.value = !0, i.value = d, $(c);
|
|
239
240
|
}
|
|
240
241
|
function I(c) {
|
|
241
|
-
|
|
242
|
+
w.value && $(c);
|
|
242
243
|
}
|
|
243
244
|
function o() {
|
|
244
|
-
|
|
245
|
+
w.value = !1;
|
|
245
246
|
}
|
|
246
247
|
return {
|
|
247
|
-
isHovering:
|
|
248
|
+
isHovering: w,
|
|
248
249
|
previewSrc: i,
|
|
249
250
|
previewStyle: z,
|
|
250
|
-
handleMouseOver:
|
|
251
|
+
handleMouseOver: D,
|
|
251
252
|
handleMouseMove: I,
|
|
252
253
|
handleMouseLeave: o
|
|
253
254
|
};
|
|
254
255
|
}
|
|
255
|
-
const
|
|
256
|
+
const Je = { class: "text-secondary" }, Qe = { class: "mx-2 d-inline-block" }, Re = {
|
|
256
257
|
key: 0,
|
|
257
258
|
class: "alert alert-cyan d-flex justify-content-center align-items-center py-2",
|
|
258
259
|
role: "alert"
|
|
259
|
-
},
|
|
260
|
+
}, Ze = { class: "alert-title m-0" }, et = { class: "badge bg-azure text-azure-fg" }, tt = { key: 0 }, at = { key: 2 }, st = {
|
|
260
261
|
key: 5,
|
|
261
262
|
class: "text-danger erro-custom-container"
|
|
262
|
-
}, nt = { class: "badge bg-orange text-white erro-custom-text" },
|
|
263
|
+
}, nt = { class: "badge bg-orange text-white erro-custom-text" }, lt = { key: 0 }, rt = { key: 2 }, ot = {
|
|
263
264
|
key: 5,
|
|
264
265
|
class: "text-danger erro-custom-container"
|
|
265
|
-
},
|
|
266
|
+
}, it = { class: "badge bg-orange text-white erro-custom-text" }, dt = ["colspan"], ut = {
|
|
266
267
|
key: 0,
|
|
267
268
|
class: "d-flex flex-column justify-content-center align-items-center",
|
|
268
269
|
style: { height: "6rem" }
|
|
269
|
-
},
|
|
270
|
+
}, pt = {
|
|
270
271
|
key: 1,
|
|
271
272
|
style: { height: "3rem" }
|
|
272
|
-
},
|
|
273
|
+
}, ct = {
|
|
273
274
|
key: 2,
|
|
274
275
|
class: "p-3 text-center text-secondary"
|
|
275
|
-
},
|
|
276
|
+
}, mt = {
|
|
276
277
|
key: 1,
|
|
277
278
|
class: "feedback-container text-center"
|
|
278
|
-
},
|
|
279
|
+
}, vt = {
|
|
279
280
|
key: 0,
|
|
280
281
|
class: "text-secondary"
|
|
281
|
-
},
|
|
282
|
+
}, _t = {
|
|
282
283
|
key: 1,
|
|
283
284
|
class: "text-secondary"
|
|
284
|
-
},
|
|
285
|
+
}, ht = {
|
|
285
286
|
key: 2,
|
|
286
287
|
class: "table-responsive"
|
|
287
|
-
},
|
|
288
|
+
}, ft = { key: 0 }, gt = {
|
|
288
289
|
key: 0,
|
|
289
290
|
class: "w-1"
|
|
290
|
-
},
|
|
291
|
+
}, kt = { class: "header-ordering" }, yt = ["onClick"], wt = {
|
|
291
292
|
key: 0,
|
|
292
293
|
xmlns: "http://www.w3.org/2000/svg",
|
|
293
294
|
width: "16",
|
|
@@ -298,7 +299,7 @@ const We = { class: "text-secondary" }, Je = { class: "mx-2 d-inline-block" }, Q
|
|
|
298
299
|
"stroke-width": "2",
|
|
299
300
|
"stroke-linecap": "round",
|
|
300
301
|
"stroke-linejoin": "round"
|
|
301
|
-
},
|
|
302
|
+
}, bt = {
|
|
302
303
|
key: 1,
|
|
303
304
|
xmlns: "http://www.w3.org/2000/svg",
|
|
304
305
|
width: "16",
|
|
@@ -309,7 +310,7 @@ const We = { class: "text-secondary" }, Je = { class: "mx-2 d-inline-block" }, Q
|
|
|
309
310
|
"stroke-width": "2",
|
|
310
311
|
"stroke-linecap": "round",
|
|
311
312
|
"stroke-linejoin": "round"
|
|
312
|
-
},
|
|
313
|
+
}, xt = {
|
|
313
314
|
key: 2,
|
|
314
315
|
xmlns: "http://www.w3.org/2000/svg",
|
|
315
316
|
width: "16",
|
|
@@ -320,7 +321,7 @@ const We = { class: "text-secondary" }, Je = { class: "mx-2 d-inline-block" }, Q
|
|
|
320
321
|
"stroke-width": "2",
|
|
321
322
|
"stroke-linecap": "round",
|
|
322
323
|
"stroke-linejoin": "round"
|
|
323
|
-
},
|
|
324
|
+
}, Mt = { class: "header-ordering" }, Ct = ["onClick"], St = {
|
|
324
325
|
key: 0,
|
|
325
326
|
xmlns: "http://www.w3.org/2000/svg",
|
|
326
327
|
width: "16",
|
|
@@ -331,7 +332,7 @@ const We = { class: "text-secondary" }, Je = { class: "mx-2 d-inline-block" }, Q
|
|
|
331
332
|
"stroke-width": "2",
|
|
332
333
|
"stroke-linecap": "round",
|
|
333
334
|
"stroke-linejoin": "round"
|
|
334
|
-
},
|
|
335
|
+
}, $t = {
|
|
335
336
|
key: 1,
|
|
336
337
|
xmlns: "http://www.w3.org/2000/svg",
|
|
337
338
|
width: "16",
|
|
@@ -342,7 +343,7 @@ const We = { class: "text-secondary" }, Je = { class: "mx-2 d-inline-block" }, Q
|
|
|
342
343
|
"stroke-width": "2",
|
|
343
344
|
"stroke-linecap": "round",
|
|
344
345
|
"stroke-linejoin": "round"
|
|
345
|
-
},
|
|
346
|
+
}, zt = {
|
|
346
347
|
key: 2,
|
|
347
348
|
xmlns: "http://www.w3.org/2000/svg",
|
|
348
349
|
width: "16",
|
|
@@ -353,16 +354,16 @@ const We = { class: "text-secondary" }, Je = { class: "mx-2 d-inline-block" }, Q
|
|
|
353
354
|
"stroke-width": "2",
|
|
354
355
|
"stroke-linecap": "round",
|
|
355
356
|
"stroke-linejoin": "round"
|
|
356
|
-
},
|
|
357
|
+
}, Vt = {
|
|
357
358
|
key: 0,
|
|
358
359
|
class: "w-1"
|
|
359
|
-
},
|
|
360
|
+
}, Bt = ["checked", "onChange"], Nt = ["onClick"], Tt = ["onClick"], jt = { key: 0 }, Dt = { key: 1 }, At = ["onClick", "innerHTML"], Et = ["onClick"], It = ["src"], Ot = ["src"], Ht = {
|
|
360
361
|
key: 5,
|
|
361
362
|
class: "text-danger erro-custom-container"
|
|
362
|
-
},
|
|
363
|
+
}, Pt = { class: "badge bg-orange text-white erro-custom-text" }, qt = { key: 1 }, Lt = {
|
|
363
364
|
key: 2,
|
|
364
365
|
class: "text-center p-4 text-secondary"
|
|
365
|
-
},
|
|
366
|
+
}, Ut = ["src"], Ft = /* @__PURE__ */ R({
|
|
366
367
|
__name: "VDataTable",
|
|
367
368
|
props: {
|
|
368
369
|
fetch: {},
|
|
@@ -394,17 +395,18 @@ const We = { class: "text-secondary" }, Je = { class: "mx-2 d-inline-block" }, Q
|
|
|
394
395
|
limit_per_page: { default: 5 },
|
|
395
396
|
page_starts_at: { default: 0 },
|
|
396
397
|
deactivate_selected_info: { type: Boolean, default: !1 },
|
|
397
|
-
immediate: { type: Boolean, default: !0 }
|
|
398
|
+
immediate: { type: Boolean, default: !0 },
|
|
399
|
+
placeholder_search: { default: "Buscar..." }
|
|
398
400
|
},
|
|
399
|
-
setup(
|
|
401
|
+
setup(w, { expose: i }) {
|
|
400
402
|
const {
|
|
401
403
|
isHovering: C,
|
|
402
404
|
previewSrc: S,
|
|
403
405
|
previewStyle: z,
|
|
404
406
|
handleMouseOver: $,
|
|
405
|
-
handleMouseMove:
|
|
407
|
+
handleMouseMove: D,
|
|
406
408
|
handleMouseLeave: I
|
|
407
|
-
} =
|
|
409
|
+
} = We(), o = w, c = k(!1), d = k({}), h = k([]), u = k([]), T = k(0), _ = k([]), b = k(null), F = k(!1), K = k(null), p = k({
|
|
408
410
|
current_page: o.page_starts_at,
|
|
409
411
|
// pagina atual
|
|
410
412
|
count: 0,
|
|
@@ -415,29 +417,29 @@ const We = { class: "text-secondary" }, Je = { class: "mx-2 d-inline-block" }, Q
|
|
|
415
417
|
// termo de busca
|
|
416
418
|
filter: ""
|
|
417
419
|
// filtro selecionado
|
|
418
|
-
}), de =
|
|
420
|
+
}), de = M(() => (p.value.current_page = o.page_starts_at, o.endpoint)), { data: ue, pending: pe, error: Y, execute: ce, attempt: A } = o.fetch(de, {
|
|
419
421
|
params: () => o.deactivate_default_params ? o.add_params && typeof o.add_params == "function" ? {
|
|
420
422
|
...o.add_params(),
|
|
421
|
-
...
|
|
423
|
+
...q.value
|
|
422
424
|
} : {
|
|
423
425
|
...o.add_params,
|
|
424
|
-
...
|
|
426
|
+
...q.value
|
|
425
427
|
} : o.add_params && typeof o.add_params == "function" ? {
|
|
426
428
|
...W.value,
|
|
427
429
|
...o.add_params(),
|
|
428
|
-
...
|
|
430
|
+
...q.value
|
|
429
431
|
} : {
|
|
430
432
|
...W.value,
|
|
431
433
|
...o.add_params,
|
|
432
|
-
...
|
|
434
|
+
...q.value
|
|
433
435
|
},
|
|
434
436
|
retry: o.retry_attempts,
|
|
435
437
|
retryDelay: o.retry_delay,
|
|
436
438
|
paramsReactives: !1,
|
|
437
439
|
immediate: !1
|
|
438
|
-
}, o.fetch_name), X =
|
|
440
|
+
}, o.fetch_name), X = M(
|
|
439
441
|
() => h.value.filter((r) => r.locked)
|
|
440
|
-
), G =
|
|
442
|
+
), G = M({
|
|
441
443
|
get() {
|
|
442
444
|
return h.value.filter((r) => !r.locked);
|
|
443
445
|
},
|
|
@@ -445,10 +447,10 @@ const We = { class: "text-secondary" }, Je = { class: "mx-2 d-inline-block" }, Q
|
|
|
445
447
|
const e = X.value;
|
|
446
448
|
h.value = [...r, ...e];
|
|
447
449
|
}
|
|
448
|
-
}), me =
|
|
450
|
+
}), me = M(() => [...G.value, ...X.value]), ve = M(() => {
|
|
449
451
|
let r = [1];
|
|
450
452
|
return o.list_filter.length > 0 && r.push(2), r;
|
|
451
|
-
}),
|
|
453
|
+
}), q = M(() => {
|
|
452
454
|
const r = {};
|
|
453
455
|
for (const e of h.value)
|
|
454
456
|
if (e.use_ordering)
|
|
@@ -461,25 +463,25 @@ const We = { class: "text-secondary" }, Je = { class: "mx-2 d-inline-block" }, Q
|
|
|
461
463
|
else
|
|
462
464
|
continue;
|
|
463
465
|
return r;
|
|
464
|
-
}), W =
|
|
466
|
+
}), W = M(() => ({
|
|
465
467
|
[o.page_param_name]: p.value.current_page + 1,
|
|
466
468
|
[o.page_size_param_name]: p.value.limit_per_page,
|
|
467
469
|
[o.search_param_name]: p.value.search || "",
|
|
468
470
|
[o.filter_param_name]: p.value.filter || ""
|
|
469
|
-
})), _e =
|
|
471
|
+
})), _e = M(() => pe.value || F.value), L = (r) => {
|
|
470
472
|
const e = o.item_key;
|
|
471
473
|
return _.value.some((a) => a[e] === r[e]);
|
|
472
|
-
}, Z =
|
|
474
|
+
}, Z = M(() => {
|
|
473
475
|
if (!u.value.length) return !1;
|
|
474
|
-
const r = u.value.filter((e) =>
|
|
476
|
+
const r = u.value.filter((e) => L(e)).length;
|
|
475
477
|
return r === 0 ? !1 : r === u.value.length ? !0 : "indeterminate";
|
|
476
|
-
}), he =
|
|
477
|
-
|
|
478
|
-
|
|
478
|
+
}), he = M(() => _.value.length > 0);
|
|
479
|
+
P([Z, b], ([r]) => {
|
|
480
|
+
b.value && (r === "indeterminate" ? (b.value.checked = !1, b.value.indeterminate = !0) : (b.value.checked = r, b.value.indeterminate = !1));
|
|
479
481
|
}, {
|
|
480
482
|
immediate: !0,
|
|
481
483
|
flush: "post"
|
|
482
|
-
}),
|
|
484
|
+
}), P(ue, (r) => {
|
|
483
485
|
r ? (u.value = r[o.data_key] || [], T.value = r[o.total_key] || 0, p.value.count = T.value) : (u.value = [], T.value = 0);
|
|
484
486
|
}, { immediate: !0 });
|
|
485
487
|
function fe() {
|
|
@@ -487,17 +489,17 @@ const We = { class: "text-secondary" }, Je = { class: "mx-2 d-inline-block" }, Q
|
|
|
487
489
|
if (!r.length) return;
|
|
488
490
|
const e = Z.value;
|
|
489
491
|
if (e === !0 || e === "indeterminate") {
|
|
490
|
-
const a = r.map((
|
|
492
|
+
const a = r.map((n) => n[o.item_key]);
|
|
491
493
|
_.value = _.value.filter(
|
|
492
|
-
(
|
|
494
|
+
(n) => !a.includes(n[o.item_key])
|
|
493
495
|
);
|
|
494
496
|
} else
|
|
495
497
|
r.forEach((a) => {
|
|
496
|
-
|
|
498
|
+
L(a) || _.value.push(a);
|
|
497
499
|
});
|
|
498
500
|
}
|
|
499
501
|
function ge(r) {
|
|
500
|
-
const e = o.item_key, a = _.value.findIndex((
|
|
502
|
+
const e = o.item_key, a = _.value.findIndex((n) => n[e] === r[e]);
|
|
501
503
|
a > -1 ? _.value.splice(a, 1) : _.value.push(r);
|
|
502
504
|
}
|
|
503
505
|
function ke(r) {
|
|
@@ -518,9 +520,9 @@ const We = { class: "text-secondary" }, Je = { class: "mx-2 d-inline-block" }, Q
|
|
|
518
520
|
};
|
|
519
521
|
function j(r, e, a = null) {
|
|
520
522
|
if (!r) return e;
|
|
521
|
-
const
|
|
523
|
+
const n = r.split(".");
|
|
522
524
|
let y = e;
|
|
523
|
-
for (const J of
|
|
525
|
+
for (const J of n)
|
|
524
526
|
y && typeof y == "object" && J in y ? y = y[J] : console.error(`Caminho inválido ou valor nulo em: ${r} na parte ${J}`);
|
|
525
527
|
return a && (y = a(y)), y;
|
|
526
528
|
}
|
|
@@ -558,7 +560,7 @@ const We = { class: "text-secondary" }, Je = { class: "mx-2 d-inline-block" }, Q
|
|
|
558
560
|
atLeastOneSelected: he
|
|
559
561
|
});
|
|
560
562
|
const ae = k(!1);
|
|
561
|
-
return
|
|
563
|
+
return P(
|
|
562
564
|
() => o.add_params,
|
|
563
565
|
() => {
|
|
564
566
|
ae.value ? N() : (ae.value = !0, Te(() => {
|
|
@@ -566,7 +568,7 @@ const We = { class: "text-secondary" }, Je = { class: "mx-2 d-inline-block" }, Q
|
|
|
566
568
|
}));
|
|
567
569
|
},
|
|
568
570
|
{ deep: !0, immediate: o.immediate }
|
|
569
|
-
), (r, e) => (
|
|
571
|
+
), (r, e) => (s(), l("div", null, [
|
|
570
572
|
t("div", {
|
|
571
573
|
class: m(["", o.class_container])
|
|
572
574
|
}, [
|
|
@@ -581,9 +583,9 @@ const We = { class: "text-secondary" }, Je = { class: "mx-2 d-inline-block" }, Q
|
|
|
581
583
|
changePageSize: ee,
|
|
582
584
|
limit_per_page: p.value.limit_per_page
|
|
583
585
|
}, () => [
|
|
584
|
-
t("div",
|
|
586
|
+
t("div", Je, [
|
|
585
587
|
B(v(o.first_text_page_size) + " ", 1),
|
|
586
|
-
t("div",
|
|
588
|
+
t("div", Qe, [
|
|
587
589
|
le(t("input", {
|
|
588
590
|
class: "form-control form-control-sm",
|
|
589
591
|
onChange: ee,
|
|
@@ -605,121 +607,122 @@ const We = { class: "text-secondary" }, Je = { class: "mx-2 d-inline-block" }, Q
|
|
|
605
607
|
])
|
|
606
608
|
], !0),
|
|
607
609
|
O(r.$slots, "fieldMiddle", {}, void 0, !0),
|
|
608
|
-
Q(
|
|
610
|
+
Q(Ge, {
|
|
609
611
|
search: p.value.search,
|
|
610
612
|
"onUpdate:search": e[1] || (e[1] = (a) => p.value.search = a),
|
|
611
613
|
filter: p.value.filter,
|
|
612
614
|
"onUpdate:filter": e[2] || (e[2] = (a) => p.value.filter = a),
|
|
613
615
|
list_filter: o.list_filter,
|
|
614
616
|
item_use: ve.value,
|
|
615
|
-
onSearch: N
|
|
616
|
-
|
|
617
|
+
onSearch: N,
|
|
618
|
+
placeholder_search: o.placeholder_search
|
|
619
|
+
}, null, 8, ["search", "filter", "list_filter", "item_use", "placeholder_search"])
|
|
617
620
|
], 2),
|
|
618
621
|
O(r.$slots, "item-selected-info", {
|
|
619
622
|
selected_items: _.value,
|
|
620
623
|
clearSelection: () => _.value = []
|
|
621
624
|
}, () => [
|
|
622
|
-
o.use_checkbox && _.value.length > 0 && !o.deactivate_selected_info ? (
|
|
623
|
-
t("h4",
|
|
625
|
+
o.use_checkbox && _.value.length > 0 && !o.deactivate_selected_info ? (s(), l("div", Re, [
|
|
626
|
+
t("h4", Ze, [
|
|
624
627
|
e[5] || (e[5] = t("strong", null, "Itens Selecionados:", -1)),
|
|
625
628
|
e[6] || (e[6] = B()),
|
|
626
|
-
t("span",
|
|
629
|
+
t("span", et, v(_.value.length), 1)
|
|
627
630
|
]),
|
|
628
631
|
t("a", {
|
|
629
632
|
class: "cursor-pointer",
|
|
630
633
|
onClick: e[3] || (e[3] = (a) => _.value = [])
|
|
631
634
|
}, [...e[7] || (e[7] = [
|
|
632
|
-
je('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-trash" data-v-
|
|
635
|
+
je('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-trash" data-v-e5706981><path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-e5706981></path><path d="M4 7l16 0" data-v-e5706981></path><path d="M10 11l0 6" data-v-e5706981></path><path d="M14 11l0 6" data-v-e5706981></path><path d="M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2 -2l1 -12" data-v-e5706981></path><path d="M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3" data-v-e5706981></path></svg> Limpar Seleção', 2)
|
|
633
636
|
])])
|
|
634
637
|
])) : g("", !0)
|
|
635
638
|
], !0),
|
|
636
|
-
_e.value ? (
|
|
637
|
-
o.custom_loading ? (
|
|
639
|
+
_e.value ? (s(), l(x, { key: 0 }, [
|
|
640
|
+
o.custom_loading ? (s(), U(ne(o.custom_loading), { key: 0 })) : (s(), l("table", {
|
|
638
641
|
key: 1,
|
|
639
642
|
class: m(["table table-vcenter table-selectable", o.class_table])
|
|
640
643
|
}, [
|
|
641
644
|
t("thead", null, [
|
|
642
645
|
t("tr", null, [
|
|
643
|
-
(
|
|
646
|
+
(s(!0), l(x, null, V(h.value, (a) => (s(), l("th", {
|
|
644
647
|
key: a.field || a.header,
|
|
645
648
|
class: m(a.class_column)
|
|
646
649
|
}, v(a.header), 3))), 128))
|
|
647
650
|
])
|
|
648
651
|
]),
|
|
649
652
|
t("tbody", null, [
|
|
650
|
-
o.type_loading === "placeholder" ? (
|
|
653
|
+
o.type_loading === "placeholder" ? (s(!0), l(x, { key: 0 }, V(p.value.limit_per_page, (a) => (s(), l("tr", {
|
|
651
654
|
key: "placeholder-" + a,
|
|
652
655
|
class: "placeholder-glow"
|
|
653
656
|
}, [
|
|
654
|
-
(
|
|
655
|
-
key:
|
|
656
|
-
class: m(
|
|
657
|
+
(s(!0), l(x, null, V(h.value, (n) => (s(), l("td", {
|
|
658
|
+
key: n.field || n.header,
|
|
659
|
+
class: m(n.class_row)
|
|
657
660
|
}, [
|
|
658
|
-
|
|
661
|
+
n.bodySlot ? (s(), l("span", tt, [...e[8] || (e[8] = [
|
|
659
662
|
t("span", { class: "placeholder col-8" }, null, -1)
|
|
660
|
-
])])) :
|
|
663
|
+
])])) : n.type === "text" ? (s(), l("span", {
|
|
661
664
|
key: 1,
|
|
662
|
-
class: m(
|
|
665
|
+
class: m(n.class_item)
|
|
663
666
|
}, [...e[9] || (e[9] = [
|
|
664
667
|
t("span", { class: "placeholder col-8" }, null, -1)
|
|
665
|
-
])], 2)) :
|
|
668
|
+
])], 2)) : n.type === "date" ? (s(), l("span", at, [...e[10] || (e[10] = [
|
|
666
669
|
t("span", { class: "placeholder col-9" }, null, -1)
|
|
667
|
-
])])) :
|
|
670
|
+
])])) : n.type === "html" ? (s(), l("div", {
|
|
668
671
|
key: 3,
|
|
669
|
-
class: m(
|
|
672
|
+
class: m(n.class_item)
|
|
670
673
|
}, [...e[11] || (e[11] = [
|
|
671
674
|
t("div", { class: "placeholder col-12" }, null, -1)
|
|
672
|
-
])], 2)) :
|
|
675
|
+
])], 2)) : n.type === "img" ? (s(), l("div", {
|
|
673
676
|
key: 4,
|
|
674
|
-
class: m(
|
|
677
|
+
class: m(n.class_item)
|
|
675
678
|
}, [...e[12] || (e[12] = [
|
|
676
679
|
t("div", { class: "placeholder placeholder-img" }, null, -1)
|
|
677
|
-
])], 2)) : (
|
|
680
|
+
])], 2)) : (s(), l("span", st, [
|
|
678
681
|
e[13] || (e[13] = B("tipo ", -1)),
|
|
679
|
-
t("span", nt, v(
|
|
682
|
+
t("span", nt, v(n.type), 1),
|
|
680
683
|
e[14] || (e[14] = B(" não suportado ", -1))
|
|
681
684
|
]))
|
|
682
685
|
], 2))), 128))
|
|
683
|
-
]))), 128)) : o.type_loading === "spiner-table" ? (
|
|
686
|
+
]))), 128)) : o.type_loading === "spiner-table" ? (s(!0), l(x, { key: 1 }, V(p.value.limit_per_page, (a) => (s(), l("tr", {
|
|
684
687
|
key: "placeholder-" + a
|
|
685
688
|
}, [
|
|
686
|
-
(
|
|
687
|
-
key:
|
|
688
|
-
class: m(
|
|
689
|
+
(s(!0), l(x, null, V(h.value, (n) => (s(), l("td", {
|
|
690
|
+
key: n.field || n.header,
|
|
691
|
+
class: m(n.class_row)
|
|
689
692
|
}, [
|
|
690
|
-
|
|
693
|
+
n.bodySlot ? (s(), l("span", lt, [...e[15] || (e[15] = [
|
|
691
694
|
t("span", {
|
|
692
695
|
class: "spinner-border spinner-border-sm",
|
|
693
696
|
role: "status",
|
|
694
697
|
"aria-hidden": "true"
|
|
695
698
|
}, null, -1)
|
|
696
|
-
])])) :
|
|
699
|
+
])])) : n.type === "text" ? (s(), l("span", {
|
|
697
700
|
key: 1,
|
|
698
|
-
class: m(
|
|
701
|
+
class: m(n.class_item)
|
|
699
702
|
}, [...e[16] || (e[16] = [
|
|
700
703
|
t("span", {
|
|
701
704
|
class: "spinner-border spinner-border-sm",
|
|
702
705
|
role: "status",
|
|
703
706
|
"aria-hidden": "true"
|
|
704
707
|
}, null, -1)
|
|
705
|
-
])], 2)) :
|
|
708
|
+
])], 2)) : n.type === "date" ? (s(), l("span", rt, [...e[17] || (e[17] = [
|
|
706
709
|
t("span", {
|
|
707
710
|
class: "spinner-border spinner-border-sm",
|
|
708
711
|
role: "status",
|
|
709
712
|
"aria-hidden": "true"
|
|
710
713
|
}, null, -1)
|
|
711
|
-
])])) :
|
|
714
|
+
])])) : n.type === "html" ? (s(), l("div", {
|
|
712
715
|
key: 3,
|
|
713
|
-
class: m(
|
|
716
|
+
class: m(n.class_item)
|
|
714
717
|
}, [...e[18] || (e[18] = [
|
|
715
718
|
t("span", {
|
|
716
719
|
class: "spinner-border spinner-border-sm",
|
|
717
720
|
role: "status",
|
|
718
721
|
"aria-hidden": "true"
|
|
719
722
|
}, null, -1)
|
|
720
|
-
])], 2)) :
|
|
723
|
+
])], 2)) : n.type === "img" ? (s(), l("div", {
|
|
721
724
|
key: 4,
|
|
722
|
-
class: m(["",
|
|
725
|
+
class: m(["", n.class_item])
|
|
723
726
|
}, [...e[19] || (e[19] = [
|
|
724
727
|
t("span", { class: "placeholder-img d-flex justify-content-center align-items-center" }, [
|
|
725
728
|
t("span", {
|
|
@@ -728,40 +731,40 @@ const We = { class: "text-secondary" }, Je = { class: "mx-2 d-inline-block" }, Q
|
|
|
728
731
|
"aria-hidden": "true"
|
|
729
732
|
})
|
|
730
733
|
], -1)
|
|
731
|
-
])], 2)) : (
|
|
734
|
+
])], 2)) : (s(), l("span", ot, [
|
|
732
735
|
e[20] || (e[20] = B("tipo ", -1)),
|
|
733
|
-
t("span",
|
|
736
|
+
t("span", it, v(n.type), 1),
|
|
734
737
|
e[21] || (e[21] = B(" não suportado ", -1))
|
|
735
738
|
]))
|
|
736
739
|
], 2))), 128))
|
|
737
|
-
]))), 128)) : o.type_loading === "spiner" ? (
|
|
740
|
+
]))), 128)) : o.type_loading === "spiner" ? (s(!0), l(x, { key: 2 }, V(p.value.limit_per_page, (a) => (s(), l("tr", { key: a }, [
|
|
738
741
|
t("td", {
|
|
739
742
|
colspan: h.value.length,
|
|
740
743
|
class: "text-center p-0",
|
|
741
744
|
style: { "border-bottom": "none" }
|
|
742
745
|
}, [
|
|
743
|
-
a === Math.floor(p.value.limit_per_page / 2) + 1 ? (
|
|
746
|
+
a === Math.floor(p.value.limit_per_page / 2) + 1 ? (s(), l("div", ut, [...e[22] || (e[22] = [
|
|
744
747
|
t("div", {
|
|
745
748
|
class: "spinner-border",
|
|
746
749
|
style: { width: "3rem", height: "3rem" },
|
|
747
750
|
role: "status"
|
|
748
751
|
}, null, -1),
|
|
749
752
|
t("span", { class: "mt-2" }, "Carregando...", -1)
|
|
750
|
-
])])) : (
|
|
751
|
-
], 8,
|
|
753
|
+
])])) : (s(), l("div", pt))
|
|
754
|
+
], 8, dt)
|
|
752
755
|
]))), 128)) : g("", !0)
|
|
753
756
|
])
|
|
754
757
|
], 2)),
|
|
755
|
-
f(
|
|
756
|
-
], 64)) : f(Y) ? (
|
|
758
|
+
f(A) && f(A).current > 1 ? (s(), l("div", ct, " A conexão falhou. Tentando novamente... (Tentativa " + v(f(A).current) + " de " + v(f(A).total) + ") ", 1)) : g("", !0)
|
|
759
|
+
], 64)) : f(Y) ? (s(), l("div", mt, [
|
|
757
760
|
e[23] || (e[23] = t("h4", { class: "text-danger" }, "Ocorreu um Erro", -1)),
|
|
758
|
-
f(
|
|
761
|
+
f(A) ? (s(), l("p", vt, " Não foi possível carregar os dados após " + v(f(A).total) + " tentativa(s). ", 1)) : (s(), l("p", _t, " Não foi possível carregar os dados. Verifique sua conexão. ")),
|
|
759
762
|
t("button", {
|
|
760
763
|
class: "btn btn-primary mt-2",
|
|
761
764
|
onClick: E
|
|
762
765
|
}, " Tentar Novamente ")
|
|
763
|
-
])) : u.value ? (
|
|
764
|
-
u.value.length > 0 ? (
|
|
766
|
+
])) : u.value ? (s(), l("div", ht, [
|
|
767
|
+
u.value.length > 0 ? (s(), l("div", ft, [
|
|
765
768
|
t("table", {
|
|
766
769
|
class: m(["table table-vcenter table-selectable", o.class_table])
|
|
767
770
|
}, [
|
|
@@ -776,92 +779,92 @@ const We = { class: "text-secondary" }, Je = { class: "mx-2 d-inline-block" }, Q
|
|
|
776
779
|
"drag-class": "dragging-item"
|
|
777
780
|
}, {
|
|
778
781
|
header: H(() => [
|
|
779
|
-
o.use_checkbox ? (
|
|
782
|
+
o.use_checkbox ? (s(), l("th", gt, [
|
|
780
783
|
t("input", {
|
|
781
784
|
class: "form-check-input m-0",
|
|
782
785
|
type: "checkbox",
|
|
783
786
|
ref_key: "selectAllCheckbox",
|
|
784
|
-
ref:
|
|
787
|
+
ref: b,
|
|
785
788
|
onChange: fe,
|
|
786
789
|
"aria-label": "Selecionar todos os itens na página"
|
|
787
790
|
}, null, 544)
|
|
788
791
|
])) : g("", !0)
|
|
789
792
|
]),
|
|
790
793
|
item: H(({ element: a }) => [
|
|
791
|
-
a.use_ordering ? (
|
|
794
|
+
a.use_ordering ? (s(), l("th", {
|
|
792
795
|
key: 0,
|
|
793
796
|
class: m(["header-draggable", a.class_column])
|
|
794
797
|
}, [
|
|
795
|
-
t("div",
|
|
798
|
+
t("div", kt, [
|
|
796
799
|
t("span", null, v(a.header), 1),
|
|
797
800
|
t("span", {
|
|
798
801
|
onClick: () => te(a.header),
|
|
799
802
|
class: "ms-2 cursor-pointer"
|
|
800
803
|
}, [
|
|
801
|
-
!d.value[a.header] || d.value[a.header] === "none" ? (
|
|
804
|
+
!d.value[a.header] || d.value[a.header] === "none" ? (s(), l("svg", wt, [...e[24] || (e[24] = [
|
|
802
805
|
t("path", { d: "m3 8 4-4 4 4" }, null, -1),
|
|
803
806
|
t("path", { d: "m11 16-4 4-4-4" }, null, -1),
|
|
804
807
|
t("path", { d: "M7 4v16" }, null, -1),
|
|
805
808
|
t("path", { d: "M15 8h6" }, null, -1),
|
|
806
809
|
t("path", { d: "M15 16h6" }, null, -1),
|
|
807
810
|
t("path", { d: "M13 12h8" }, null, -1)
|
|
808
|
-
])])) : d.value[a.header] === "decreasing" ? (
|
|
811
|
+
])])) : d.value[a.header] === "decreasing" ? (s(), l("svg", bt, [...e[25] || (e[25] = [
|
|
809
812
|
t("path", { d: "m3 16 4 4 4-4" }, null, -1),
|
|
810
813
|
t("path", { d: "M7 20V4" }, null, -1),
|
|
811
814
|
t("path", { d: "M11 4h10" }, null, -1),
|
|
812
815
|
t("path", { d: "M11 8h7" }, null, -1),
|
|
813
816
|
t("path", { d: "M11 12h4" }, null, -1)
|
|
814
|
-
])])) : d.value[a.header] === "increasing" ? (
|
|
817
|
+
])])) : d.value[a.header] === "increasing" ? (s(), l("svg", xt, [...e[26] || (e[26] = [
|
|
815
818
|
t("path", { d: "m3 8 4-4 4 4" }, null, -1),
|
|
816
819
|
t("path", { d: "M7 4v16" }, null, -1),
|
|
817
820
|
t("path", { d: "M11 12h4" }, null, -1),
|
|
818
821
|
t("path", { d: "M11 16h7" }, null, -1),
|
|
819
822
|
t("path", { d: "M11 20h10" }, null, -1)
|
|
820
823
|
])])) : g("", !0)
|
|
821
|
-
], 8,
|
|
824
|
+
], 8, yt)
|
|
822
825
|
])
|
|
823
|
-
], 2)) : (
|
|
826
|
+
], 2)) : (s(), l("th", {
|
|
824
827
|
key: 1,
|
|
825
828
|
class: m(["header-draggable", a.class_column])
|
|
826
829
|
}, v(a.header), 3))
|
|
827
830
|
]),
|
|
828
831
|
footer: H(() => [
|
|
829
|
-
(
|
|
832
|
+
(s(!0), l(x, null, V(X.value, (a) => (s(), l(x, {
|
|
830
833
|
key: a.field || a.header
|
|
831
834
|
}, [
|
|
832
|
-
a.use_ordering ? (
|
|
835
|
+
a.use_ordering ? (s(), l("th", {
|
|
833
836
|
key: 0,
|
|
834
837
|
class: m(["header-locked header-ordering", a.class_column])
|
|
835
838
|
}, [
|
|
836
|
-
t("div",
|
|
839
|
+
t("div", Mt, [
|
|
837
840
|
t("span", null, v(a.header), 1),
|
|
838
841
|
t("span", {
|
|
839
842
|
onClick: () => te(a.header),
|
|
840
843
|
class: "ms-2 cursor-pointer"
|
|
841
844
|
}, [
|
|
842
|
-
!d.value[a.header] || d.value[a.header] === "none" ? (
|
|
845
|
+
!d.value[a.header] || d.value[a.header] === "none" ? (s(), l("svg", St, [...e[27] || (e[27] = [
|
|
843
846
|
t("path", { d: "m3 8 4-4 4 4" }, null, -1),
|
|
844
847
|
t("path", { d: "m11 16-4 4-4-4" }, null, -1),
|
|
845
848
|
t("path", { d: "M7 4v16" }, null, -1),
|
|
846
849
|
t("path", { d: "M15 8h6" }, null, -1),
|
|
847
850
|
t("path", { d: "M15 16h6" }, null, -1),
|
|
848
851
|
t("path", { d: "M13 12h8" }, null, -1)
|
|
849
|
-
])])) : d.value[a.header] === "decreasing" ? (
|
|
852
|
+
])])) : d.value[a.header] === "decreasing" ? (s(), l("svg", $t, [...e[28] || (e[28] = [
|
|
850
853
|
t("path", { d: "m3 16 4 4 4-4" }, null, -1),
|
|
851
854
|
t("path", { d: "M7 20V4" }, null, -1),
|
|
852
855
|
t("path", { d: "M11 4h10" }, null, -1),
|
|
853
856
|
t("path", { d: "M11 8h7" }, null, -1),
|
|
854
857
|
t("path", { d: "M11 12h4" }, null, -1)
|
|
855
|
-
])])) : d.value[a.header] === "increasing" ? (
|
|
858
|
+
])])) : d.value[a.header] === "increasing" ? (s(), l("svg", zt, [...e[29] || (e[29] = [
|
|
856
859
|
t("path", { d: "m3 8 4-4 4 4" }, null, -1),
|
|
857
860
|
t("path", { d: "M7 4v16" }, null, -1),
|
|
858
861
|
t("path", { d: "M11 12h4" }, null, -1),
|
|
859
862
|
t("path", { d: "M11 16h7" }, null, -1),
|
|
860
863
|
t("path", { d: "M11 20h10" }, null, -1)
|
|
861
864
|
])])) : g("", !0)
|
|
862
|
-
], 8,
|
|
865
|
+
], 8, Ct)
|
|
863
866
|
])
|
|
864
|
-
], 2)) : (
|
|
867
|
+
], 2)) : (s(), l("th", {
|
|
865
868
|
key: 1,
|
|
866
869
|
class: m(["header-locked", a.class_column])
|
|
867
870
|
}, v(a.header), 3))
|
|
@@ -871,77 +874,77 @@ const We = { class: "text-secondary" }, Je = { class: "mx-2 d-inline-block" }, Q
|
|
|
871
874
|
}, 8, ["modelValue"])
|
|
872
875
|
]),
|
|
873
876
|
t("tbody", null, [
|
|
874
|
-
(
|
|
877
|
+
(s(!0), l(x, null, V(u.value, (a) => (s(), U(De, {
|
|
875
878
|
tag: "tr",
|
|
876
879
|
key: a[o.item_key],
|
|
877
880
|
name: "column-move"
|
|
878
881
|
}, {
|
|
879
882
|
default: H(() => [
|
|
880
|
-
o.use_checkbox ? (
|
|
883
|
+
o.use_checkbox ? (s(), l("td", Vt, [
|
|
881
884
|
t("input", {
|
|
882
885
|
class: "form-check-input m-0",
|
|
883
886
|
type: "checkbox",
|
|
884
|
-
checked:
|
|
885
|
-
onChange: (
|
|
887
|
+
checked: L(a),
|
|
888
|
+
onChange: (n) => ge(a),
|
|
886
889
|
"aria-label": "Selecionar este item"
|
|
887
|
-
}, null, 40,
|
|
890
|
+
}, null, 40, Bt)
|
|
888
891
|
])) : g("", !0),
|
|
889
|
-
(
|
|
890
|
-
key:
|
|
891
|
-
class: m(
|
|
892
|
+
(s(!0), l(x, null, V(me.value, (n) => (s(), l("td", {
|
|
893
|
+
key: n.field || n.header,
|
|
894
|
+
class: m(n.class_row)
|
|
892
895
|
}, [
|
|
893
|
-
|
|
896
|
+
n.bodySlot ? (s(), U(ne(n.bodySlot), {
|
|
894
897
|
key: 0,
|
|
895
898
|
item: a,
|
|
896
|
-
"is-selected":
|
|
897
|
-
}, null, 8, ["item", "is-selected"])) :
|
|
899
|
+
"is-selected": L(a)
|
|
900
|
+
}, null, 8, ["item", "is-selected"])) : n.type === "text" ? (s(), l("span", {
|
|
898
901
|
key: 1,
|
|
899
|
-
onClick: (y) =>
|
|
900
|
-
class: m(
|
|
901
|
-
}, v(ye(j(
|
|
902
|
+
onClick: (y) => n.click ? n.click(a) : null,
|
|
903
|
+
class: m(n.class_item + (n.click ? " cursor-pointer" : ""))
|
|
904
|
+
}, v(ye(j(n.field, a, n.transform_function), n.limite_text ?? null)), 11, Nt)) : n.type === "date" ? (s(), l("span", {
|
|
902
905
|
key: 2,
|
|
903
|
-
onClick: (y) =>
|
|
904
|
-
class: m(
|
|
906
|
+
onClick: (y) => n.click ? n.click(a) : null,
|
|
907
|
+
class: m(n.class_item + (n.click ? " cursor-pointer" : ""))
|
|
905
908
|
}, [
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
+
n.format === "complete" ? (s(), l("span", jt, v(new Date(j(n.field, a)).toLocaleString()), 1)) : g("", !0),
|
|
910
|
+
n.format === "simple" ? (s(), l("span", Dt, v(new Date(j(
|
|
911
|
+
n.field,
|
|
909
912
|
a
|
|
910
913
|
)).toLocaleDateString()), 1)) : g("", !0)
|
|
911
|
-
], 10,
|
|
914
|
+
], 10, Tt)) : n.type === "html" ? (s(), l("div", {
|
|
912
915
|
key: 3,
|
|
913
|
-
onClick: (y) =>
|
|
914
|
-
class: m(
|
|
915
|
-
innerHTML: j(
|
|
916
|
-
}, null, 10, At)) :
|
|
916
|
+
onClick: (y) => n.click ? n.click(a) : null,
|
|
917
|
+
class: m(n.class_item + (n.click ? " cursor-pointer" : "")),
|
|
918
|
+
innerHTML: j(n.field, a)
|
|
919
|
+
}, null, 10, At)) : n.type === "img" ? (s(), l("div", {
|
|
917
920
|
key: 4,
|
|
918
|
-
onClick: (y) =>
|
|
919
|
-
class: m(
|
|
921
|
+
onClick: (y) => n.click ? n.click(a) : null,
|
|
922
|
+
class: m(n.class_item + (n.click ? " cursor-pointer" : ""))
|
|
920
923
|
}, [
|
|
921
|
-
j(
|
|
924
|
+
j(n.field, a) ? (s(), l("div", Ae({
|
|
922
925
|
key: 0,
|
|
923
926
|
ref_for: !0
|
|
924
|
-
},
|
|
927
|
+
}, n.deactivate_img_preview ? {
|
|
925
928
|
class: "container-img"
|
|
926
929
|
} : {
|
|
927
|
-
onMouseover: (y) => f($)(y, j(
|
|
928
|
-
onMousemove: f(
|
|
930
|
+
onMouseover: (y) => f($)(y, j(n.field, a)),
|
|
931
|
+
onMousemove: f(D),
|
|
929
932
|
onMouseleave: f(I),
|
|
930
933
|
class: "container-img container-img-preview"
|
|
931
934
|
}), [
|
|
932
935
|
t("img", {
|
|
933
936
|
class: "img-tamanho",
|
|
934
|
-
src: j(
|
|
935
|
-
}, null, 8,
|
|
937
|
+
src: j(n.field, a)
|
|
938
|
+
}, null, 8, It),
|
|
936
939
|
t("img", {
|
|
937
940
|
class: "img-tamanho-cover",
|
|
938
|
-
src: j(
|
|
939
|
-
}, null, 8,
|
|
941
|
+
src: j(n.field, a)
|
|
942
|
+
}, null, 8, Ot),
|
|
940
943
|
e[30] || (e[30] = t("div", { class: "bg-img" }, null, -1))
|
|
941
944
|
], 16)) : g("", !0)
|
|
942
|
-
], 10,
|
|
945
|
+
], 10, Et)) : (s(), l("span", Ht, [
|
|
943
946
|
e[31] || (e[31] = B("tipo ", -1)),
|
|
944
|
-
t("span",
|
|
947
|
+
t("span", Pt, v(n.type), 1),
|
|
945
948
|
e[32] || (e[32] = B(" não suportado", -1))
|
|
946
949
|
]))
|
|
947
950
|
], 2))), 128))
|
|
@@ -950,7 +953,7 @@ const We = { class: "text-secondary" }, Je = { class: "mx-2 d-inline-block" }, Q
|
|
|
950
953
|
}, 1024))), 128))
|
|
951
954
|
])
|
|
952
955
|
], 2)
|
|
953
|
-
])) : c.value === !1 ? (
|
|
956
|
+
])) : c.value === !1 ? (s(), l("div", qt)) : (s(), l("div", Lt, [...e[33] || (e[33] = [
|
|
954
957
|
t("p", { class: "m-0" }, "Nenhum item encontrado.", -1)
|
|
955
958
|
])]))
|
|
956
959
|
])) : g("", !0)
|
|
@@ -961,7 +964,7 @@ const We = { class: "text-secondary" }, Je = { class: "mx-2 d-inline-block" }, Q
|
|
|
961
964
|
tradePage: E,
|
|
962
965
|
error: f(Y)
|
|
963
966
|
}, () => [
|
|
964
|
-
!f(Y) && p.value.count > 0 ? (
|
|
967
|
+
!f(Y) && p.value.count > 0 ? (s(), l("div", {
|
|
965
968
|
key: 0,
|
|
966
969
|
class: m(["px-3", o.class_pagination])
|
|
967
970
|
}, [
|
|
@@ -973,7 +976,7 @@ const We = { class: "text-secondary" }, Je = { class: "mx-2 d-inline-block" }, Q
|
|
|
973
976
|
}, null, 8, ["page_starts_at", "pagination"])
|
|
974
977
|
], 2)) : g("", !0)
|
|
975
978
|
], !0),
|
|
976
|
-
f(C) ? (
|
|
979
|
+
f(C) ? (s(), l("div", {
|
|
977
980
|
key: 0,
|
|
978
981
|
class: "image-preview-container",
|
|
979
982
|
style: Ee(f(z))
|
|
@@ -982,12 +985,12 @@ const We = { class: "text-secondary" }, Je = { class: "mx-2 d-inline-block" }, Q
|
|
|
982
985
|
src: f(S),
|
|
983
986
|
alt: "Preview",
|
|
984
987
|
class: "image-preview-large"
|
|
985
|
-
}, null, 8,
|
|
988
|
+
}, null, 8, Ut)
|
|
986
989
|
], 4)) : g("", !0)
|
|
987
990
|
]));
|
|
988
991
|
}
|
|
989
|
-
}),
|
|
992
|
+
}), Wt = /* @__PURE__ */ oe(Ft, [["__scopeId", "data-v-e5706981"]]);
|
|
990
993
|
export {
|
|
991
|
-
|
|
992
|
-
|
|
994
|
+
Gt as VColumn,
|
|
995
|
+
Wt as VDataTable
|
|
993
996
|
};
|
package/package.json
CHANGED
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
</svg>
|
|
13
13
|
</a>
|
|
14
14
|
<div class="input-icon">
|
|
15
|
-
<input type="text" class="form-control ms-1" id="
|
|
16
|
-
@keyup.enter="$emit('search')" placeholder="
|
|
15
|
+
<input type="text" class="form-control ms-1" id="inputSearchVDataTable" v-model="modelSearch"
|
|
16
|
+
@keyup.enter="$emit('search')" :placeholder="placeholder_search">
|
|
17
17
|
|
|
18
18
|
<span v-if="modelSearch" @click="cleanSearch()" class=" inputClose" title="Limpar pesquisa">
|
|
19
19
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
|
|
@@ -61,6 +61,7 @@ interface SearchProps {
|
|
|
61
61
|
filter?: string;
|
|
62
62
|
list_filter?: any[];
|
|
63
63
|
item_use?: number[];
|
|
64
|
+
placeholder_search?: string;
|
|
64
65
|
}
|
|
65
66
|
const props = withDefaults(defineProps<SearchProps>(), {
|
|
66
67
|
filter: "",
|
|
@@ -93,7 +94,7 @@ const props = withDefaults(defineProps<SearchProps>(), {
|
|
|
93
94
|
// até o momento existem 2 items: 1 (search) e 2 (filter)
|
|
94
95
|
item_use: () => [1, 2], // se não for passado, assume que é para todos os itens
|
|
95
96
|
// até o momento existem 2 items: 1 (search) e 2 (filter)
|
|
96
|
-
|
|
97
|
+
placeholder_search: "Buscar...",
|
|
97
98
|
click: null,
|
|
98
99
|
});
|
|
99
100
|
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
</slot>
|
|
22
22
|
|
|
23
23
|
<Search v-model:search="pagination.search" v-model:filter="pagination.filter" :list_filter="props.list_filter"
|
|
24
|
-
:item_use="item_use" @search="reSearch" />
|
|
24
|
+
:item_use="item_use" @search="reSearch" :placeholder_search="props.placeholder_search"/>
|
|
25
25
|
</div>
|
|
26
26
|
<slot name="item-selected-info" :selected_items="selected_items" :clearSelection="() => selected_items = []">
|
|
27
27
|
<div v-if="(props.use_checkbox && selected_items.length > 0) && !props.deactivate_selected_info"
|
|
@@ -408,6 +408,7 @@ const props = withDefaults(defineProps<VDataTableProps>(), {
|
|
|
408
408
|
page_starts_at: 0,
|
|
409
409
|
deactivate_selected_info: false,
|
|
410
410
|
immediate: true,
|
|
411
|
+
placeholder_search: "Buscar...",
|
|
411
412
|
});
|
|
412
413
|
|
|
413
414
|
|