@ozdao/prometheus-framework 0.1.18 → 0.1.19

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- import { reactive as d, toRefs as _, resolveComponent as f, openBlock as o, createElementBlock as c, createElementVNode as n, normalizeClass as s, createCommentVNode as r, createVNode as u, withCtx as i, Transition as v, createBlock as h, resolveDynamicComponent as k } from "vue";
1
+ import { reactive as d, toRefs as _, resolveComponent as f, openBlock as o, createElementBlock as a, createElementVNode as c, normalizeClass as s, createCommentVNode as r, createVNode as u, withCtx as i, Transition as v, createBlock as h, resolveDynamicComponent as k } from "vue";
2
2
  import { useRoute as y, useRouter as b } from "vue-router";
3
3
  const C = {
4
4
  id: "account",
@@ -10,28 +10,28 @@ const C = {
10
10
  let l = d({ currentTab: "user" });
11
11
  return _(l), (e, t) => {
12
12
  const m = f("router-view");
13
- return o(), c("section", C, [
14
- n("div", g, [
15
- e.store.auth.state.access.roles.includes("ROLE_ADMIN") ? (o(), c("button", {
13
+ return o(), a("section", C, [
14
+ c("div", g, [
15
+ e.store.auth.state.access.roles.includes("ROLE_ADMIN") ? (o(), a("button", {
16
16
  key: 0,
17
- onClick: t[0] || (t[0] = (a) => e.$router.push("/account/community")),
17
+ onClick: t[0] || (t[0] = (n) => e.$router.push("/account/community")),
18
18
  class: s([{ "product-tab-active": e.$route.path === "/account/community" }, "mn-small product-tab"])
19
19
  }, " Blog ", 2)) : r("", !0),
20
- e.store.auth.state.access.roles.includes("ROLE_ADMIN") ? (o(), c("button", {
20
+ e.store.auth.state.access.roles.includes("ROLE_ADMIN") ? (o(), a("button", {
21
21
  key: 1,
22
- onClick: t[1] || (t[1] = (a) => e.$router.push("/account/gallery")),
22
+ onClick: t[1] || (t[1] = (n) => e.$router.push("/account/gallery")),
23
23
  class: s([{ "product-tab-active": e.$route.path === "/account/gallery" }, "product-tab"])
24
24
  }, " Gallery ", 2)) : r("", !0)
25
25
  ]),
26
- n("div", B, [
26
+ c("div", B, [
27
27
  u(m, null, {
28
- default: i(({ Component: a, route: p }) => [
28
+ default: i(({ Component: n, route: p }) => [
29
29
  u(v, {
30
30
  name: "scaleIn",
31
31
  mode: "out-in"
32
32
  }, {
33
33
  default: i(() => [
34
- (o(), h(k(a), {
34
+ (o(), h(k(n), {
35
35
  ref: "page",
36
36
  key: p.path
37
37
  }))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ozdao/prometheus-framework",
3
- "version": "0.1.18",
3
+ "version": "0.1.19",
4
4
  "description": "Web3 Framework focused on user experience and ease of development.",
5
5
  "author": "OZ DAO <hello@ozdao.dev>",
6
6
  "license": "GPL-3.0-or-later",
@@ -1,6 +1,6 @@
1
1
  import layoutAccount from '../components/layouts/Account.vue'
2
2
 
3
- const account = [{
3
+ const backofficeRoutes = [{
4
4
  path: 'backoffice',
5
5
  component: layoutAccount,
6
6
  children: [{
@@ -17,4 +17,4 @@ const account = [{
17
17
  }]
18
18
  }];
19
19
 
20
- export default account;
20
+ export default backofficeRoutes;