@ozdao/prometheus-framework 0.1.20 โ†’ 0.1.21

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. package/dist/BackofficeGallery-7ae8fbba.mjs +307 -0
  2. package/dist/BackofficeGallery-fe39cff3.js +1 -0
  3. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-8660f9cb.js +1 -0
  4. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-bd3889ee.mjs +1945 -0
  5. package/dist/ButtonFollow-81508d85.mjs +132 -0
  6. package/dist/ButtonFollow-df6317f0.js +1 -0
  7. package/dist/CardOrganization-d8f209ee.js +1 -0
  8. package/dist/CardOrganization-de8ec36e.mjs +230 -0
  9. package/dist/Feed-a75d053e.js +1 -0
  10. package/dist/Feed-c4084664.mjs +368 -0
  11. package/dist/Feed-fea84ce7.mjs +439 -0
  12. package/dist/Feed-ff3b96b2.js +1 -0
  13. package/dist/Image-1281bc48.mjs +477 -0
  14. package/dist/Image-8e67dd2d.js +9 -0
  15. package/dist/Popup-b7609baa.js +1 -0
  16. package/dist/Popup-d5c4cb46.mjs +76 -0
  17. package/dist/Product-3c7b2921.mjs +841 -0
  18. package/dist/Product-6df77924.js +7 -0
  19. package/dist/ProductEdit-737e2a5a.mjs +302 -0
  20. package/dist/ProductEdit-c99ab559.js +1 -0
  21. package/dist/ProfileBlogposts-4293a1e3.js +1 -0
  22. package/dist/ProfileBlogposts-4c326fed.mjs +65 -0
  23. package/dist/ProfileComments-03f88b54.mjs +44 -0
  24. package/dist/ProfileComments-761ce00e.js +1 -0
  25. package/dist/ProfileEvents-0bdd36e4.mjs +57 -0
  26. package/dist/ProfileEvents-a9b96fec.js +1 -0
  27. package/dist/ProfileLikes-3edf6fb8.mjs +44 -0
  28. package/dist/ProfileLikes-51729962.js +1 -0
  29. package/dist/ProfileOrganizations-8961aaee.mjs +213 -0
  30. package/dist/ProfileOrganizations-f52e62e1.js +1 -0
  31. package/dist/Publics-70a0ca9c.mjs +45 -0
  32. package/dist/Publics-bbab7a79.js +1 -0
  33. package/dist/Select-90d4b7c8.mjs +81 -0
  34. package/dist/Select-b9299fb6.js +1 -0
  35. package/dist/Select.vue_vue_type_style_index_0_scoped_a78dbba1_lang-0ea8fbf8.js +1 -0
  36. package/dist/Select.vue_vue_type_style_index_0_scoped_a78dbba1_lang-4ed993c7.mjs +1 -0
  37. package/dist/UploadImage-c9711af2.js +1 -0
  38. package/dist/UploadImage-ec3714e8.mjs +83 -0
  39. package/dist/UploadImageMultiple-b4c8d627.js +1 -0
  40. package/dist/UploadImageMultiple-ebcc51e6.mjs +58 -0
  41. package/dist/auth-78d9392a.mjs +612 -0
  42. package/dist/auth-96449d96.js +7 -0
  43. package/dist/auth.client.cjs +8 -8
  44. package/dist/auth.client.js +8 -8
  45. package/dist/auth.validation-9e493d2f.mjs +20 -0
  46. package/dist/auth.validation-d4795c25.js +1 -0
  47. package/dist/backoffice.client.cjs +1 -1
  48. package/dist/backoffice.client.js +43 -48
  49. package/dist/community.client.cjs +1 -1
  50. package/dist/community.client.js +44 -42
  51. package/dist/events.client.cjs +2 -2
  52. package/dist/events.client.js +25 -24
  53. package/dist/index-2a0269fc.js +2 -0
  54. package/dist/index-9128ade5.mjs +1228 -0
  55. package/dist/landing.client.cjs +1 -1
  56. package/dist/organizations-0fb56927.mjs +122 -0
  57. package/dist/organizations-195ec134.js +1 -0
  58. package/dist/organizations.client-b39db194.js +3 -0
  59. package/dist/organizations.client-df5e8a6f.mjs +3020 -0
  60. package/dist/organizations.client.cjs +1 -1
  61. package/dist/organizations.client.js +46 -44
  62. package/dist/style.css +1 -1
  63. package/dist/users.client.cjs +1 -1
  64. package/dist/users.client.js +23 -23
  65. package/package.json +1 -1
  66. package/src/modules/backoffice/components/layouts/Backoffice.vue +0 -11
  67. package/src/modules/gallery/components/sections/BackofficeGallery.vue +3 -1
@@ -1,14 +1,14 @@
1
1
  import { openBlock as d, createElementBlock as _, renderSlot as R, createElementVNode as n, defineComponent as B, h as x, ref as U, resolveComponent as z, toDisplayString as $, createBlock as w, withCtx as C, createTextVNode as S, createCommentVNode as y, reactive as A, onMounted as F, unref as c, Fragment as T, renderList as j, normalizeClass as D, createVNode as l, withAsyncContext as G } from "vue";
2
- import { s as p, a as L, F as b, _ as Z } from "./auth-afa25b86.mjs";
2
+ import { a as Y, F as b, _ as Z } from "./index-9128ade5.mjs";
3
3
  import { _ as H } from "./_plugin-vue_export-helper-dad06003.mjs";
4
- import { B as Y, m as q } from "./ButtonFollow-3a05d29f.mjs";
5
- import { _ as J } from "./Socials-8193477c.mjs";
6
- import { I as K, P as Q } from "./IconEdit-eacf3856.mjs";
7
- import { useRoute as N, useRouter as I } from "vue-router";
8
- import { a as W } from "./index-a661083c.mjs";
4
+ import { B as q, m as J } from "./ButtonFollow-81508d85.mjs";
5
+ import { _ as K } from "./Socials-8193477c.mjs";
6
+ import { I as Q, P as W } from "./IconEdit-eacf3856.mjs";
7
+ import { useRoute as L, useRouter as N } from "vue-router";
8
+ import { s as p, a as I } from "./auth-78d9392a.mjs";
9
9
  import "./inputs.validation-14e8e01f.mjs";
10
- import { _ as X } from "./UploadImage-3c627d89.mjs";
11
- import "./auth.validation-3e93dc23.mjs";
10
+ import { _ as X } from "./UploadImage-ec3714e8.mjs";
11
+ import "./auth.validation-9e493d2f.mjs";
12
12
  import "./globals-96ba60e4.mjs";
13
13
  import "vue-i18n";
14
14
  const ee = { class: "mobile-menu-section mn-semi pd-r-zero pd-t-thin pd-b-thin pd-medium radius-medium" }, E = {
@@ -190,7 +190,7 @@ const ge = /* @__PURE__ */ H(pe, [["render", Ce]]), ve = {}, be = {
190
190
  function Pe(s, e) {
191
191
  return d(), _("svg", be, xe);
192
192
  }
193
- const Me = /* @__PURE__ */ H(ve, [["render", Pe]]), V = W.create({ baseURL: process.env.API_URL, withCredentials: !0 }), r = A({
193
+ const Me = /* @__PURE__ */ H(ve, [["render", Pe]]), V = Y.create({ baseURL: process.env.API_URL, withCredentials: !0 }), r = A({
194
194
  all: [],
195
195
  current: {
196
196
  _id: "",
@@ -282,15 +282,15 @@ const Ve = { class: "for-transition w-100" }, Ue = {
282
282
  }, Be = /* @__PURE__ */ n("span", null, " Backoffice ", -1), ze = /* @__PURE__ */ n("span", null, "Events", -1), Ae = /* @__PURE__ */ n("span", null, "Groups", -1), Fe = /* @__PURE__ */ n("span", null, "Posts", -1), Te = /* @__PURE__ */ n("span", null, " Settings ", -1), je = /* @__PURE__ */ n("span", { class: "t-red" }, " Logout ", -1), De = {
283
283
  __name: "Profile",
284
284
  setup(s) {
285
- const e = N(), m = I(), f = U(!1);
285
+ const e = L(), m = N(), f = U(!1);
286
286
  F(async () => {
287
287
  await M.read({ _id: e.params._id, user: p.user._id }), f.value = !0;
288
288
  });
289
289
  const g = ({ membership: v, isMember: o, targetId: u }) => {
290
- q.handleMembershipUpdate(r.current, v, o, u);
290
+ J.handleMembershipUpdate(r.current, v, o, u);
291
291
  };
292
292
  function t() {
293
- L.logout(), m.push({ name: "Sign In" });
293
+ I.logout(), m.push({ name: "Sign In" });
294
294
  }
295
295
  return (v, o) => (d(), _("div", Ve, [
296
296
  r.current.status === "removed" ? (d(), _("div", Ue, " Sorry, user has been removed. ")) : (d(), _("div", He, [
@@ -301,7 +301,7 @@ const Ve = { class: "for-transition w-100" }, Ue = {
301
301
  cta: !0
302
302
  }, null, 8, ["user", "target"])) : y("", !0),
303
303
  n("section", Ee, [
304
- c(e).params._id === p.user._id ? (d(), w(K, {
304
+ c(e).params._id === p.user._id ? (d(), w(Q, {
305
305
  key: 0,
306
306
  onClick: o[0] || (o[0] = (u) => v.$router.push({
307
307
  name: "User Edit Profile",
@@ -315,7 +315,7 @@ const Ve = { class: "for-transition w-100" }, Ue = {
315
315
  key: 1,
316
316
  src: (v.FILE_SERVER_URL || "") + r.current.profile.photo,
317
317
  class: "radius-extra bg-white mn-small object-fit-cover i-extra"
318
- }, null, 8, Se)) : (d(), w(Q, {
318
+ }, null, 8, Se)) : (d(), w(W, {
319
319
  key: 2,
320
320
  class: "radius-medium mn-small i-extra"
321
321
  })),
@@ -328,7 +328,7 @@ const Ve = { class: "for-transition w-100" }, Ue = {
328
328
  }, $(u.icon) + " " + $(u.name), 3))), 256))
329
329
  ]),
330
330
  n("p", Oe, " ๐Ÿ‘จโ€๐Ÿ‘จโ€๐Ÿ‘งโ€๐Ÿ‘ง " + $(r.current.numberOfMemberships) + " followers ", 1),
331
- p.user._id && c(e).params._id && c(e).params._id !== p.user._id ? (d(), w(Y, {
331
+ p.user._id && c(e).params._id && c(e).params._id !== p.user._id ? (d(), w(q, {
332
332
  key: 3,
333
333
  type: "user",
334
334
  isMember: r.current.isMember,
@@ -338,7 +338,7 @@ const Ve = { class: "for-transition w-100" }, Ue = {
338
338
  onUpdateMembership: g
339
339
  }, null, 8, ["isMember", "targetId", "userId"])) : y("", !0),
340
340
  Object.values(r.current.socials).some((u) => u) ? (d(), _("h4", Re, " Find Me in Socials ")) : y("", !0),
341
- l(J, {
341
+ l(K, {
342
342
  telegram: r.current.socials.telegram,
343
343
  facebook: r.current.socials.facebook,
344
344
  instagram: r.current.socials.instagram,
@@ -456,14 +456,14 @@ const Ye = { class: "pd-medium for-transition w-100" }, qe = /* @__PURE__ */ n("
456
456
  async setup(s) {
457
457
  let e, m;
458
458
  U(null);
459
- const f = N(), g = I();
459
+ const f = L(), g = N();
460
460
  [e, m] = G(() => M.read({ _id: p.user._id })), await e, m();
461
461
  const t = U(r.current);
462
462
  async function v() {
463
463
  await M.update(r.current);
464
464
  }
465
465
  async function o() {
466
- window.confirm("Are you sure you want to delete your account? Restoration will be possible only with the help of an administrator.") && (r.current.status = "removed", await M.update(r.current), L.logout());
466
+ window.confirm("Are you sure you want to delete your account? Restoration will be possible only with the help of an administrator.") && (r.current.status = "removed", await M.update(r.current), I.logout());
467
467
  }
468
468
  function u() {
469
469
  g.replace({ name: "User Profile", params: { _id: r.current._id } });
@@ -610,7 +610,7 @@ const Ye = { class: "pd-medium for-transition w-100" }, qe = /* @__PURE__ */ n("
610
610
  },
611
611
  component: () => import(
612
612
  /* webpackChunkName: "profile" */
613
- "./ProfileBlogposts-2063c511.mjs"
613
+ "./ProfileBlogposts-4c326fed.mjs"
614
614
  )
615
615
  }, {
616
616
  path: "profile/:_id/comments",
@@ -623,7 +623,7 @@ const Ye = { class: "pd-medium for-transition w-100" }, qe = /* @__PURE__ */ n("
623
623
  },
624
624
  component: () => import(
625
625
  /* webpackChunkName: "profile" */
626
- "./ProfileComments-78231e6a.mjs"
626
+ "./ProfileComments-03f88b54.mjs"
627
627
  )
628
628
  }, {
629
629
  path: "profile/:_id/edit",
@@ -646,7 +646,7 @@ const Ye = { class: "pd-medium for-transition w-100" }, qe = /* @__PURE__ */ n("
646
646
  },
647
647
  component: () => import(
648
648
  /* webpackChunkName: "profile" */
649
- "./ProfileEvents-4a2fa422.mjs"
649
+ "./ProfileEvents-0bdd36e4.mjs"
650
650
  )
651
651
  }, {
652
652
  path: "profile/:_id/likes",
@@ -659,7 +659,7 @@ const Ye = { class: "pd-medium for-transition w-100" }, qe = /* @__PURE__ */ n("
659
659
  },
660
660
  component: () => import(
661
661
  /* webpackChunkName: "profile" */
662
- "./ProfileLikes-74c78a16.mjs"
662
+ "./ProfileLikes-3edf6fb8.mjs"
663
663
  )
664
664
  }, {
665
665
  path: "profile/:_id/organizations",
@@ -672,7 +672,7 @@ const Ye = { class: "pd-medium for-transition w-100" }, qe = /* @__PURE__ */ n("
672
672
  },
673
673
  component: () => import(
674
674
  /* webpackChunkName: "profile" */
675
- "./ProfileOrganizations-cf8a12f5.mjs"
675
+ "./ProfileOrganizations-8961aaee.mjs"
676
676
  )
677
677
  }];
678
678
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ozdao/prometheus-framework",
3
- "version": "0.1.20",
3
+ "version": "0.1.21",
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",
@@ -35,17 +35,6 @@
35
35
 
36
36
 
37
37
  <script setup>
38
- import { computed, onMounted,reactive,toRefs } from 'vue'
39
-
40
- import { useRoute,useRouter } from 'vue-router'
41
-
42
- const route = useRoute()
43
- const router = useRouter()
44
-
45
- let data = reactive({currentTab: 'user'})
46
- let reactiveData = toRefs(data)
47
- function changeTab (tab) {data.currentTab = tab; console.log(data.currentTab) }
48
-
49
38
 
50
39
 
51
40
 
@@ -126,7 +126,9 @@
126
126
 
127
127
  <script setup>
128
128
  import { ref, onMounted, reactive, computed } from 'vue'
129
- import { Button, Field, Select, Upload } from '@ozdao/prometheus-framework'
129
+ import Field from '@pf/src/components/Field/Field.vue'
130
+ import Button from '@pf/src/components/Button/Button.vue'
131
+ import Select from '@pf/src/components/Select/Select.vue'
130
132
  import { state, actions } from '@pf/src/modules/gallery/store/gallery';
131
133
 
132
134
  import EditImages from '@pf/src/components/EditImages/EditImages.vue';