ajustes
This commit is contained in:
parent
303eda1b99
commit
d56219c2de
4 changed files with 8 additions and 11 deletions
12
dist/eli-vue.es.js
vendored
12
dist/eli-vue.es.js
vendored
|
|
@ -12602,14 +12602,12 @@ const zb = /* @__PURE__ */ oe(hb, [["render", wb]]), xb = ie({
|
|||
return e !== null && typeof e == "object";
|
||||
}
|
||||
},
|
||||
setup(e, { emit: n, expose: r }) {
|
||||
const o = H(null);
|
||||
r({ menuEl: o });
|
||||
const t = N(() => e.acoes.length > 0);
|
||||
function i(a) {
|
||||
e.linha && n("executar", { acao: a.acao, linha: e.linha });
|
||||
setup(e, { emit: n }) {
|
||||
const r = H(null), o = N(() => e.acoes.length > 0);
|
||||
function t(i) {
|
||||
e.linha && n("executar", { acao: i.acao, linha: e.linha });
|
||||
}
|
||||
return { menuEl: o, possuiAcoes: t, emitExecutar: i };
|
||||
return { menuEl: r, possuiAcoes: o, emitExecutar: t };
|
||||
}
|
||||
}), Db = ["id", "aria-labelledby"], Ob = ["aria-label", "title", "onClick"], jb = { class: "eli-tabela__acoes-item-texto" };
|
||||
function Ub(e, n, r, o, t, i) {
|
||||
|
|
|
|||
2
dist/eli-vue.umd.js
vendored
2
dist/eli-vue.umd.js
vendored
File diff suppressed because one or more lines are too long
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "eli-vue",
|
||||
"version": "0.1.106",
|
||||
"version": "0.1.107",
|
||||
"private": false,
|
||||
"main": "./dist/eli-vue.umd.js",
|
||||
"module": "./dist/eli-vue.es.js",
|
||||
|
|
|
|||
|
|
@ -80,9 +80,8 @@ export default defineComponent({
|
|||
return payload !== null && typeof payload === "object"
|
||||
},
|
||||
},
|
||||
setup(props, { emit, expose }) {
|
||||
setup(props, { emit }) {
|
||||
const menuEl = ref<HTMLElement | null>(null)
|
||||
expose({ menuEl })
|
||||
|
||||
const possuiAcoes = computed(() => props.acoes.length > 0)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue