@aeria-ui/ui 0.0.127 → 0.0.128

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.
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as r, watch as n, openBlock as c, createBlock as l } from "vue";
2
2
  import { getGlobalStateManager as a, useStore as m } from "@aeria-ui/state-management";
3
- import { e as s } from "./index-e8ad8ca3.js";
3
+ import { e as s } from "./index-b930175e.js";
4
4
  import "@aeria-ui/i18n";
5
5
  import "@aeria-ui/core";
6
6
  import "@aeriajs/common";
@@ -1,7 +1,7 @@
1
- import { defineComponent as $, withAsyncContext as x, ref as S, unref as f, openBlock as c, createElementBlock as v, createElementVNode as y, createVNode as s, withCtx as i, withModifiers as A, createTextVNode as w } from "vue";
2
- import { useStore as g } from "@aeria-ui/state-management";
1
+ import { defineComponent as $, withAsyncContext as x, ref as S, unref as f, openBlock as c, createElementBlock as v, createElementVNode as y, createVNode as s, withCtx as i, withModifiers as A, createTextVNode as g } from "vue";
2
+ import { useStore as w } from "@aeria-ui/state-management";
3
3
  import { useRouter as I } from "vue-router";
4
- import { A as R, _ as b, a as V } from "./index-e8ad8ca3.js";
4
+ import { A as R, _ as b, a as V } from "./index-b930175e.js";
5
5
  import "@aeria-ui/i18n";
6
6
  import "@aeria-ui/core";
7
7
  import "@aeriajs/common";
@@ -16,7 +16,7 @@ const q = {
16
16
  __name: "activation",
17
17
  async setup(E) {
18
18
  let r, u;
19
- const a = I(), n = g("user"), C = g("meta"), _ = a.currentRoute.value.query.step || "success", l = a.currentRoute.value.query.u, m = a.currentRoute.value.query.t, { error: d, result: p } = ([r, u] = x(() => n.$functions.getInfo({
19
+ const a = I(), n = w("user"), C = w("meta"), _ = a.currentRoute.value.query.step || "success", l = a.currentRoute.value.query.u, m = a.currentRoute.value.query.t, { error: d, result: p } = ([r, u] = x(() => n.$functions.getInfo({
20
20
  userId: l,
21
21
  token: m
22
22
  })), r = await r, u(), r);
@@ -30,7 +30,7 @@ const q = {
30
30
  }), k = async () => {
31
31
  await n.$actions.custom(`activate?u=${l}&t=${m}`, {
32
32
  password: t.value.password
33
- }), n.credentials.email = t.value.email, await C.$actions.spawnModal({
33
+ }), n.credentials.email = t.value.email, C.$actions.spawnModal({
34
34
  title: "Sucesso!",
35
35
  body: "Sua conta foi ativada com sucesso. Experimente fazer login com o seu email e senha."
36
36
  }), a.push("/user/signin");
@@ -61,7 +61,7 @@ const q = {
61
61
  onClick: A(k, ["prevent"])
62
62
  }, {
63
63
  default: i(() => e[3] || (e[3] = [
64
- w(" Cadastrar senha ")
64
+ g(" Cadastrar senha ")
65
65
  ])),
66
66
  _: 2
67
67
  }, 1032, ["disabled"])
@@ -74,7 +74,7 @@ const q = {
74
74
  onClick: e[2] || (e[2] = (o) => f(a).push("/user/signin"))
75
75
  }, {
76
76
  default: i(() => e[5] || (e[5] = [
77
- w(" Ir para a página de login ")
77
+ g(" Ir para a página de login ")
78
78
  ])),
79
79
  _: 1
80
80
  })
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as e, openBlock as t, createBlock as r, createSlots as i, withCtx as n, renderSlot as c, createCommentVNode as l } from "vue";
2
- import { d as m } from "./index-e8ad8ca3.js";
2
+ import { d as m } from "./index-b930175e.js";
3
3
  import "@aeria-ui/i18n";
4
4
  import "@aeria-ui/core";
5
5
  import "@aeriajs/common";