@aeria-ui/ui 0.0.143 → 0.0.144

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.
Files changed (60) hide show
  1. package/dist/{_id_-37025fe2.js → _id_-6Ckc6rXd.js} +9 -14
  2. package/dist/activation-gMV62AFQ.js +126 -0
  3. package/dist/components/aeria-accordion/aeria-accordion.vue.d.ts +8 -12
  4. package/dist/components/aeria-badge/aeria-badge.vue.d.ts +8 -12
  5. package/dist/components/aeria-bare-button/aeria-bare-button.vue.d.ts +11 -15
  6. package/dist/components/aeria-button/aeria-button.vue.d.ts +10 -14
  7. package/dist/components/aeria-card/aeria-card.vue.d.ts +11 -15
  8. package/dist/components/aeria-context-menu/aeria-context-menu.vue.d.ts +19 -22
  9. package/dist/components/aeria-crud/_internals/helpers.d.ts +2 -3
  10. package/dist/components/aeria-crud/_internals/layouts/aeria-grid/aeria-grid.vue.d.ts +2 -12
  11. package/dist/components/aeria-crud/_internals/layouts/aeria-tabular/aeria-tabular.vue.d.ts +10 -15
  12. package/dist/components/aeria-crud/_internals/layouts/index.d.ts +40 -82
  13. package/dist/components/aeria-crud/aeria-crud.vue.d.ts +21 -26
  14. package/dist/components/aeria-filter-panel/aeria-filter-panel.vue.d.ts +2 -2
  15. package/dist/components/aeria-grid/aeria-grid.vue.d.ts +8 -12
  16. package/dist/components/aeria-icon/aeria-icon.vue.d.ts +9 -14
  17. package/dist/components/aeria-info/aeria-info.vue.d.ts +11 -26
  18. package/dist/components/aeria-insert-panel/aeria-insert-panel.vue.d.ts +16 -33
  19. package/dist/components/aeria-main/aeria-main.vue.d.ts +8 -3
  20. package/dist/components/aeria-menu/aeria-menu.vue.d.ts +7 -2
  21. package/dist/components/aeria-pagination/aeria-pagination.vue.d.ts +5 -15
  22. package/dist/components/aeria-panel/aeria-panel.vue.d.ts +15 -33
  23. package/dist/components/aeria-picture/aeria-picture.vue.d.ts +10 -14
  24. package/dist/components/aeria-table/aeria-table.vue.d.ts +20 -25
  25. package/dist/components/aeria-tabs/aeria-tabs.vue.d.ts +9 -13
  26. package/dist/components/dashboard/aeria-crud-topbar/aeria-crud-topbar.vue.d.ts +1 -10
  27. package/dist/components/dashboard/aeria-password-form/aeria-password-form.vue.d.ts +13 -17
  28. package/dist/components/dashboard/aeria-prompt/aeria-prompt.vue.d.ts +9 -14
  29. package/dist/components/dashboard/aeria-toast/aeria-toast.vue.d.ts +9 -14
  30. package/dist/components/form/aeria-checkbox/aeria-checkbox.vue.d.ts +16 -40
  31. package/dist/components/form/aeria-file/_internals/components/aeria-file-item.vue.d.ts +8 -13
  32. package/dist/components/form/aeria-file/aeria-file.vue.d.ts +12 -22
  33. package/dist/components/form/aeria-form/_internals/helpers.d.ts +2 -3
  34. package/dist/components/form/aeria-form/aeria-form.vue.d.ts +26 -47
  35. package/dist/components/form/aeria-input/aeria-input.vue.d.ts +17 -22
  36. package/dist/components/form/aeria-options/aeria-options.vue.d.ts +7 -29
  37. package/dist/components/form/aeria-search/_internals/components/aeria-search-container/aeria-search-container.vue.d.ts +14 -16
  38. package/dist/components/form/aeria-search/_internals/components/aeria-search-item/aeria-search-item.vue.d.ts +13 -18
  39. package/dist/components/form/aeria-search/aeria-search.vue.d.ts +3 -25
  40. package/dist/components/form/aeria-select/aeria-select.vue.d.ts +15 -18
  41. package/dist/components/form/aeria-switch/aeria-switch.vue.d.ts +8 -18
  42. package/dist/components/form/types.d.ts +1 -2
  43. package/dist/components/index.d.ts +0 -1
  44. package/dist/{index-075f5d1f.js → index-BuA6wbhk.js} +11 -14
  45. package/dist/{index-caa746ed.js → index-CF7DaiUd.js} +1130 -1154
  46. package/dist/index-CO9FXlgQ.js +25 -0
  47. package/dist/{index-9ae58de7.js → index-CylVxodf.js} +36 -40
  48. package/dist/redefine-password-2GCfWx0L.js +125 -0
  49. package/dist/routes.d.ts +0 -1
  50. package/dist/{signin-717aab64.js → signin-HK2SvMIG.js} +3 -6
  51. package/dist/{signup-2c7983c0.js → signup-11uufGSP.js} +24 -28
  52. package/dist/ui.js +35 -42
  53. package/dist/views/dashboard/[collection]/[id].vue.d.ts +1 -10
  54. package/dist/views/dashboard/[collection]/index.vue.d.ts +8 -12
  55. package/dist/views/dashboard/user/profile/index.vue.d.ts +7 -2
  56. package/dist/views/user/redefine-password.vue.d.ts +2 -0
  57. package/package.json +5 -4
  58. package/dist/activation-0289d124.js +0 -86
  59. package/dist/index-057358d1.js +0 -31
  60. /package/dist/{style.css → ui.css} +0 -0
@@ -1,86 +0,0 @@
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
- import { useRouter as I } from "vue-router";
4
- import { A as R, _ as b, a as V } from "./index-caa746ed.js";
5
- import "@aeria-ui/i18n";
6
- import "@aeria-ui/core";
7
- import "@aeriajs/common";
8
- import "@aeria-ui/utils";
9
- const q = {
10
- key: 0,
11
- style: { display: "grid", gap: "1rem" }
12
- }, B = {
13
- key: 1,
14
- style: { display: "grid", gap: "1rem" }
15
- }, D = /* @__PURE__ */ $({
16
- __name: "activation",
17
- async setup(E) {
18
- let r, u;
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
- userId: l,
21
- token: m
22
- })), r = await r, u(), r);
23
- if (d)
24
- throw d;
25
- const t = S({
26
- name: p.name,
27
- email: p.email,
28
- password: "",
29
- confirmation: ""
30
- }), k = async () => {
31
- await n.$actions.custom(`activate?u=${l}&t=${m}`, {
32
- password: t.value.password
33
- }), n.credentials.email = t.value.email, C.$actions.spawnModal({
34
- title: "Sucesso!",
35
- body: "Sua conta foi ativada com sucesso. Experimente fazer login com o seu email e senha."
36
- }), a.push("/user/signin");
37
- };
38
- return (N, e) => f(_) === "password" ? (c(), v("div", q, [
39
- e[4] || (e[4] = y("h1", null, "Cadastre uma senha", -1)),
40
- s(R, {
41
- modelValue: t.value,
42
- "onUpdate:modelValue": e[0] || (e[0] = (o) => t.value = o),
43
- form: {
44
- name: {
45
- type: "string",
46
- readOnly: !0
47
- },
48
- email: {
49
- type: "string",
50
- readOnly: !0
51
- }
52
- }
53
- }, null, 8, ["modelValue"]),
54
- s(b, {
55
- modelValue: t.value,
56
- "onUpdate:modelValue": e[1] || (e[1] = (o) => t.value = o)
57
- }, {
58
- default: i(({ passwordError: o }) => [
59
- s(V, {
60
- disabled: !!o,
61
- onClick: A(k, ["prevent"])
62
- }, {
63
- default: i(() => e[3] || (e[3] = [
64
- g(" Cadastrar senha ")
65
- ])),
66
- _: 2
67
- }, 1032, ["disabled"])
68
- ]),
69
- _: 1
70
- }, 8, ["modelValue"])
71
- ])) : (c(), v("div", B, [
72
- e[6] || (e[6] = y("h1", null, "Conta ativada com sucesso!", -1)),
73
- s(V, {
74
- onClick: e[2] || (e[2] = (o) => f(a).push("/user/signin"))
75
- }, {
76
- default: i(() => e[5] || (e[5] = [
77
- g(" Ir para a página de login ")
78
- ])),
79
- _: 1
80
- })
81
- ]));
82
- }
83
- });
84
- export {
85
- D as default
86
- };
@@ -1,31 +0,0 @@
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-caa746ed.js";
3
- import "@aeria-ui/i18n";
4
- import "@aeria-ui/core";
5
- import "@aeriajs/common";
6
- import "@aeria-ui/state-management";
7
- import "vue-router";
8
- import "@aeria-ui/utils";
9
- const h = /* @__PURE__ */ e({
10
- __name: "index",
11
- props: {
12
- collection: {}
13
- },
14
- setup(p) {
15
- return (o, s) => o.collection ? (t(), r(m, {
16
- key: o.collection,
17
- collection: o.collection
18
- }, i({ _: 2 }, [
19
- o.$slots["crud-empty"] ? {
20
- name: "empty",
21
- fn: n(() => [
22
- c(o.$slots, "crud-empty")
23
- ]),
24
- key: "0"
25
- } : void 0
26
- ]), 1032, ["collection"])) : l("", !0);
27
- }
28
- });
29
- export {
30
- h as default
31
- };
File without changes