@aeria-ui/ui 0.0.67 → 0.0.68

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 i, 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-b3089672.js";
3
+ import { e as s } from "./index-a545c009.js";
4
4
  import "@aeria-ui/i18n";
5
5
  import "@aeria-ui/core";
6
6
  import "@aeriajs/common";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as k, withAsyncContext as $, ref as x, unref as p, openBlock as f, createElementBlock as _, createVNode as r, withCtx as i, withModifiers as S, createTextVNode as v, createElementVNode as g } from "vue";
2
2
  import { useStore as y } from "@aeria-ui/state-management";
3
3
  import { useRouter as A } from "vue-router";
4
- import { A as I, _ as R, a as w } from "./index-b3089672.js";
4
+ import { A as I, _ as R, a as w } from "./index-a545c009.js";
5
5
  import "@aeria-ui/i18n";
6
6
  import "@aeria-ui/core";
7
7
  import "@aeriajs/common";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as e, openBlock as t, createBlock as r, createSlots as n, withCtx as c, renderSlot as i, createCommentVNode as l } from "vue";
2
- import { d as m } from "./index-b3089672.js";
2
+ import { d as m } from "./index-a545c009.js";
3
3
  import "@aeria-ui/i18n";
4
4
  import "@aeria-ui/core";
5
5
  import "@aeriajs/common";
@@ -3307,7 +3307,7 @@ const Il = /* @__PURE__ */ X(Ol, [["__scopeId", "data-v-326eee9d"]]), Al = /* @_
3307
3307
  {
3308
3308
  path: "signin",
3309
3309
  name: "/user/signin",
3310
- component: () => import("./signin-7bd62da0.js"),
3310
+ component: () => import("./signin-3552a02c.js"),
3311
3311
  meta: {
3312
3312
  title: "Autenticação"
3313
3313
  }
@@ -3315,7 +3315,7 @@ const Il = /* @__PURE__ */ X(Ol, [["__scopeId", "data-v-326eee9d"]]), Al = /* @_
3315
3315
  {
3316
3316
  path: "signup",
3317
3317
  name: "/user/signup",
3318
- component: () => import("./signup-fb1eeb42.js"),
3318
+ component: () => import("./signup-f20f958a.js"),
3319
3319
  meta: {
3320
3320
  title: "Registro"
3321
3321
  }
@@ -3323,7 +3323,7 @@ const Il = /* @__PURE__ */ X(Ol, [["__scopeId", "data-v-326eee9d"]]), Al = /* @_
3323
3323
  {
3324
3324
  path: "activation",
3325
3325
  name: "/user/activation",
3326
- component: () => import("./activation-edc27260.js"),
3326
+ component: () => import("./activation-61e31282.js"),
3327
3327
  meta: {
3328
3328
  title: "Ativação"
3329
3329
  }
@@ -3345,7 +3345,7 @@ const Il = /* @__PURE__ */ X(Ol, [["__scopeId", "data-v-326eee9d"]]), Al = /* @_
3345
3345
  name: "/dashboard/crud",
3346
3346
  props: !0,
3347
3347
  components: {
3348
- default: () => import("./index-755a181d.js"),
3348
+ default: () => import("./index-03dc0973.js"),
3349
3349
  topbar: () => Promise.resolve().then(() => Al)
3350
3350
  },
3351
3351
  meta: {
@@ -3357,7 +3357,7 @@ const Il = /* @__PURE__ */ X(Ol, [["__scopeId", "data-v-326eee9d"]]), Al = /* @_
3357
3357
  name: "/dashboard/crud/:id",
3358
3358
  props: !0,
3359
3359
  components: {
3360
- default: () => import("./_id_-91cf1771.js")
3360
+ default: () => import("./_id_-40081dd3.js")
3361
3361
  },
3362
3362
  meta: {
3363
3363
  title: "%viewTitle%"
@@ -3375,7 +3375,7 @@ const Il = /* @__PURE__ */ X(Ol, [["__scopeId", "data-v-326eee9d"]]), Al = /* @_
3375
3375
  children: [
3376
3376
  {
3377
3377
  path: "profile",
3378
- component: () => import("./index-daf763f4.js"),
3378
+ component: () => import("./index-db508988.js"),
3379
3379
  meta: {
3380
3380
  title: "Meu perfil",
3381
3381
  icon: "user-square"
@@ -3384,7 +3384,7 @@ const Il = /* @__PURE__ */ X(Ol, [["__scopeId", "data-v-326eee9d"]]), Al = /* @_
3384
3384
  {
3385
3385
  path: "changepass",
3386
3386
  name: "/dashboard/user/changepass",
3387
- component: () => import("./index-e0172528.js"),
3387
+ component: () => import("./index-a894a613.js"),
3388
3388
  meta: {
3389
3389
  title: "Mudar senha",
3390
3390
  icon: "lock"
@@ -2,7 +2,7 @@ import { defineComponent as p, ref as u, openBlock as m, createBlock as _, withC
2
2
  import { useRouter as v } from "vue-router";
3
3
  import { useI18n as x } from "@aeria-ui/i18n";
4
4
  import { useStore as n } from "@aeria-ui/state-management";
5
- import { h as V, _ as k, a as y } from "./index-b3089672.js";
5
+ import { h as V, _ as k, a as y } from "./index-a545c009.js";
6
6
  import "@aeria-ui/core";
7
7
  import "@aeriajs/common";
8
8
  const D = /* @__PURE__ */ p({
@@ -2,7 +2,7 @@ import { defineComponent as S, ref as b, resolveDirective as h, openBlock as u,
2
2
  import { useRouter as P } from "vue-router";
3
3
  import { useStore as g } from "@aeria-ui/state-management";
4
4
  import { STORAGE_NAMESPACE as v } from "@aeria-ui/core";
5
- import { f as z, g as E, b as f, h as I, a as O, A as B, i as U } from "./index-b3089672.js";
5
+ import { f as z, g as E, b as f, h as I, a as O, A as B, i as U } from "./index-a545c009.js";
6
6
  import "@aeria-ui/i18n";
7
7
  import "@aeriajs/common";
8
8
  const x = { class: "profile__user-name" }, D = /* @__PURE__ */ S({
@@ -2,7 +2,7 @@ import { defineComponent as V, resolveDirective as v, openBlock as i, createElem
2
2
  import { STORAGE_NAMESPACE as C } from "@aeria-ui/core";
3
3
  import { useStore as y } from "@aeria-ui/state-management";
4
4
  import { useRouter as S } from "vue-router";
5
- import { A, a as _ } from "./index-b3089672.js";
5
+ import { A, a as _ } from "./index-a545c009.js";
6
6
  import "@aeria-ui/i18n";
7
7
  import "@aeriajs/common";
8
8
  const E = { style: { "text-align": "center" } }, N = ["innerHTML"], x = { key: 1 }, B = { style: { width: "100%", display: "flex", "flex-direction": "column", gap: "1rem" } }, H = /* @__PURE__ */ V({
@@ -1,16 +1,16 @@
1
- import { defineComponent as h, withAsyncContext as A, ref as p, resolveDirective as C, openBlock as g, createElementBlock as $, Fragment as x, createElementVNode as c, toDisplayString as i, withDirectives as B, createBlock as S, unref as b, withCtx as r, createTextVNode as m, createVNode as n, mergeProps as U, withModifiers as D } from "vue";
1
+ import { defineComponent as h, withAsyncContext as A, ref as p, resolveDirective as C, openBlock as b, createElementBlock as $, Fragment as x, createElementVNode as c, toDisplayString as i, withDirectives as B, createBlock as S, unref as g, withCtx as r, createTextVNode as m, createVNode as n, mergeProps as U, withModifiers as D } from "vue";
2
2
  import { useRouter as E } from "vue-router";
3
3
  import { useStore as V } from "@aeria-ui/state-management";
4
- import { b as M, A as N, _ as F, c as P, a as q } from "./index-b3089672.js";
4
+ import { b as M, A as N, _ as F, c as P, a as j } from "./index-a545c009.js";
5
5
  import "@aeria-ui/i18n";
6
6
  import "@aeria-ui/core";
7
7
  import "@aeriajs/common";
8
- const I = { style: { display: "flex", "flex-direction": "column", "align-items": "start", gap: "2rem" } }, L = /* @__PURE__ */ h({
8
+ const q = { style: { display: "flex", "flex-direction": "column", "align-items": "start", gap: "2rem" } }, L = /* @__PURE__ */ h({
9
9
  __name: "signup",
10
- async setup(R) {
10
+ async setup(I) {
11
11
  let f, v;
12
12
  const w = E(), l = V("user"), s = V("meta");
13
- s.descriptions.user || ([f, v] = A(() => s.$actions.describe({
13
+ typeof s.descriptions.user != "object" && ([f, v] = A(() => s.$actions.describe({
14
14
  collections: ["user"],
15
15
  roles: !0
16
16
  })), await f, v());
@@ -39,12 +39,12 @@ const I = { style: { display: "flex", "flex-direction": "column", "align-items":
39
39
  };
40
40
  return (o, e) => {
41
41
  const k = C("clickable");
42
- return g(), $(x, null, [
42
+ return b(), $(x, null, [
43
43
  c("div", null, [
44
44
  c("h1", null, i(o.t("signup.header")), 1),
45
- B((g(), S(M, {
45
+ B((b(), S(M, {
46
46
  icon: "arrow-left",
47
- onClick: e[0] || (e[0] = (t) => b(w).push({ path: "/user/signin" }))
47
+ onClick: e[0] || (e[0] = (t) => g(w).push({ path: "/user/signin" }))
48
48
  }, {
49
49
  default: r(() => [
50
50
  m(i(o.t("signup.signin")), 1)
@@ -59,7 +59,7 @@ const I = { style: { display: "flex", "flex-direction": "column", "align-items":
59
59
  "onUpdate:modelValue": e[3] || (e[3] = (t) => d.value = t)
60
60
  }, {
61
61
  collection: "user",
62
- form: b(l).$actions.useProperties([
62
+ form: g(l).$actions.useProperties([
63
63
  "name",
64
64
  "email",
65
65
  "phone"
@@ -71,7 +71,7 @@ const I = { style: { display: "flex", "flex-direction": "column", "align-items":
71
71
  "onUpdate:modelValue": e[2] || (e[2] = (t) => a.value = t)
72
72
  }, {
73
73
  default: r(({ passwordError: t }) => [
74
- c("div", I, [
74
+ c("div", q, [
75
75
  n(P, {
76
76
  modelValue: u.value,
77
77
  "onUpdate:modelValue": e[1] || (e[1] = (y) => u.value = y),
@@ -86,7 +86,7 @@ const I = { style: { display: "flex", "flex-direction": "column", "align-items":
86
86
  _: 1
87
87
  }, 8, ["modelValue"])
88
88
  ]),
89
- n(q, {
89
+ n(j, {
90
90
  disabled: !!t || !u.value,
91
91
  onClick: D(_, ["prevent"])
92
92
  }, {
package/dist/ui.js CHANGED
@@ -1,4 +1,4 @@
1
- import { j as n, B as p, k as u, l as m, a as c, m as d, c as b, n as C, d as h, E as l, u as B, A as P, o as x, b as F, p as T, v as f, q as g, g as w, w as I, r as M, h as S, _ as k, f as y, C as G, x as R, y as j, z as q, s as v, t as z, D, G as E, F as O } from "./index-b3089672.js";
1
+ import { j as n, B as p, k as u, l as m, a as c, m as d, c as b, n as C, d as h, E as l, u as B, A as P, o as x, b as F, p as T, v as f, q as g, g as w, w as I, r as M, h as S, _ as k, f as y, C as G, x as R, y as j, z as q, s as v, t as z, D, G as E, F as O } from "./index-a545c009.js";
2
2
  import "vue";
3
3
  import "@aeria-ui/i18n";
4
4
  import "@aeria-ui/core";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aeria-ui/ui",
3
3
  "type": "module",
4
- "version": "0.0.67",
4
+ "version": "0.0.68",
5
5
  "description": "",
6
6
  "keywords": [],
7
7
  "author": "",
@@ -36,7 +36,7 @@
36
36
  "vue-tsc": "^2.0.22"
37
37
  },
38
38
  "peerDependencies": {
39
- "@aeria-ui/core": "^0.0.48",
39
+ "@aeria-ui/core": "^0.0.49",
40
40
  "@aeria-ui/i18n": "^0.0.7",
41
41
  "@aeria-ui/state-management": "^0.0.13",
42
42
  "@aeriajs/common": "0.0",