@ozdao/prometheus-framework 0.1.23 → 0.1.26

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. package/dist/BackofficeGallery-0e0132f5.mjs +306 -0
  2. package/dist/BackofficeGallery-a52a27b6.js +1 -0
  3. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-19e23006.mjs +1945 -0
  4. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-f3d37f29.js +1 -0
  5. package/dist/Button-d8e72ac0.mjs +296 -0
  6. package/dist/Button-ee08e6bf.js +1 -0
  7. package/dist/ButtonFollow-00d85977.mjs +133 -0
  8. package/dist/ButtonFollow-7c0180b3.js +1 -0
  9. package/dist/CardOrganization-3f4a13d3.mjs +230 -0
  10. package/dist/CardOrganization-bf366e4e.js +1 -0
  11. package/dist/Feed-0b1dad65.js +1 -0
  12. package/dist/Feed-8110366a.mjs +439 -0
  13. package/dist/Feed-82ad8e29.mjs +368 -0
  14. package/dist/Feed-c8b1c72d.js +1 -0
  15. package/dist/Image-2269667e.js +9 -0
  16. package/dist/Image-7dcfe90d.mjs +477 -0
  17. package/dist/MenuItem-1216a99f.js +1 -0
  18. package/dist/MenuItem-97c50b97.mjs +93 -0
  19. package/dist/Popup-0420381f.js +1 -0
  20. package/dist/Popup-47b37484.mjs +76 -0
  21. package/dist/Product-977a8a7f.js +7 -0
  22. package/dist/Product-bbe7171a.mjs +842 -0
  23. package/dist/ProductEdit-e4cad9d1.js +1 -0
  24. package/dist/ProductEdit-f7a9af17.mjs +303 -0
  25. package/dist/ProfileBlogposts-5379335e.js +1 -0
  26. package/dist/ProfileBlogposts-5deee0c5.mjs +65 -0
  27. package/dist/ProfileComments-3cf3e265.mjs +44 -0
  28. package/dist/ProfileComments-8c9146ef.js +1 -0
  29. package/dist/ProfileEvents-7502ed90.mjs +57 -0
  30. package/dist/ProfileEvents-ea023c17.js +1 -0
  31. package/dist/ProfileLikes-23b6f2f9.js +1 -0
  32. package/dist/ProfileLikes-5b52e4ae.mjs +44 -0
  33. package/dist/ProfileOrganizations-769325c7.js +1 -0
  34. package/dist/ProfileOrganizations-c5151835.mjs +214 -0
  35. package/dist/Publics-4438ca51.js +1 -0
  36. package/dist/Publics-538180a8.mjs +45 -0
  37. package/dist/UploadImage-33f6a9f4.js +1 -0
  38. package/dist/UploadImage-f7b0335f.mjs +83 -0
  39. package/dist/UploadImageMultiple-297b3897.js +1 -0
  40. package/dist/UploadImageMultiple-7b132ba0.mjs +58 -0
  41. package/dist/auth-2f9b2dfc.js +7 -0
  42. package/dist/auth-b047fdc0.mjs +612 -0
  43. package/dist/auth.client.cjs +8 -8
  44. package/dist/auth.client.js +24 -23
  45. package/dist/auth.validation-02e0629b.mjs +20 -0
  46. package/dist/auth.validation-6a59443b.js +1 -0
  47. package/dist/backoffice.client.cjs +1 -1
  48. package/dist/backoffice.client.js +1 -1
  49. package/dist/community.client.cjs +1 -1
  50. package/dist/community.client.js +69 -68
  51. package/dist/events.client.cjs +2 -2
  52. package/dist/events.client.js +21 -20
  53. package/dist/files.server.js +1 -1
  54. package/dist/files.server.mjs +1 -1
  55. package/dist/index-0ab9d59c.mjs +934 -0
  56. package/dist/index-7ecbf72a.js +2 -0
  57. package/dist/legal.client.cjs +1 -0
  58. package/dist/legal.client.js +8426 -0
  59. package/dist/modules/landing/components/pages/Legal.vue.d.ts +2 -0
  60. package/dist/modules/landing/components/pages/legal/Cookies.vue.d.ts +2 -0
  61. package/dist/modules/landing/components/pages/legal/Privacy.vue.d.ts +2 -0
  62. package/dist/modules/landing/components/pages/legal/Terms.vue.d.ts +2 -0
  63. package/dist/modules/legal/components/pages/Legal.vue.d.ts +2 -0
  64. package/dist/modules/legal/components/pages/legal/Cookies.vue.d.ts +2 -0
  65. package/dist/modules/legal/components/pages/legal/Privacy.vue.d.ts +2 -0
  66. package/dist/modules/legal/components/pages/legal/Terms.vue.d.ts +2 -0
  67. package/dist/organizations-aed4245d.mjs +122 -0
  68. package/dist/organizations-bb8f676d.js +1 -0
  69. package/dist/organizations.client-5548024c.js +3 -0
  70. package/dist/organizations.client-976762d2.mjs +3021 -0
  71. package/dist/organizations.client.cjs +1 -1
  72. package/dist/organizations.client.js +45 -44
  73. package/dist/style.css +1 -1
  74. package/dist/users.client.cjs +1 -1
  75. package/dist/users.client.js +254 -324
  76. package/package.json +5 -1
  77. package/src/modules/community/components/pages/CreateBlogPost.vue +1 -1
  78. package/src/modules/constructor/components/sections/Constructor.vue +3 -3
  79. package/src/modules/files/middlewares/server/middlewareMulter.js +1 -2
  80. package/src/modules/landing/landing.client.js +1 -2
  81. package/src/modules/legal/components/pages/Legal.vue +43 -0
  82. package/src/modules/legal/components/pages/legal/Cookies.vue +370 -0
  83. package/src/modules/legal/components/pages/legal/Privacy.vue +4284 -0
  84. package/src/modules/legal/components/pages/legal/Terms.vue +1283 -0
  85. package/src/modules/legal/legal.client.js +16 -0
  86. package/src/modules/legal/router/legal.js +22 -0
  87. package/src/modules/users/components/pages/Profile.vue +13 -0
@@ -1,17 +1,18 @@
1
- import { r as Tr, a as Cn, s as Ut, c as yl, u as qr, b as zr, d as gl, S as wl, _ as bl } from "./Feed-c4084664.mjs";
2
- import { e as Vc } from "./Feed-c4084664.mjs";
1
+ import { r as Tr, a as Cn, s as Ut, c as yl, u as qr, b as zr, d as gl, S as wl, _ as bl } from "./Feed-82ad8e29.mjs";
2
+ import { e as Fc } from "./Feed-82ad8e29.mjs";
3
3
  import { openBlock as D, createElementBlock as L, createStaticVNode as _l, ref as G, onMounted as Ke, createVNode as _e, TransitionGroup as Oa, withCtx as ve, Fragment as ye, renderList as Oe, createBlock as fe, createCommentVNode as F, Transition as Dt, normalizeClass as ke, createElementVNode as le, unref as p, toDisplayString as Le, watch as kt, resolveComponent as kl, resolveDynamicComponent as pa, reactive as ea, defineComponent as ze, useSlots as Vt, toRef as Aa, nextTick as St, computed as K, onUnmounted as xr, mergeProps as Be, isRef as Gr, createSlots as Je, renderSlot as ne, normalizeProps as Ve, guardReactiveProps as Xe, Teleport as Dl, h as Tl, render as Kr, withKeys as he, withModifiers as Ae, normalizeStyle as dt, createTextVNode as mt, onBeforeUpdate as xl, withDirectives as Ca, vShow as Pa, getCurrentScope as Ml, onScopeDispose as Cl } from "vue";
4
4
  import { _ as Pn } from "./EmptyState-34d85f10.mjs";
5
5
  import { _ as $n } from "./_plugin-vue_export-helper-dad06003.mjs";
6
6
  import { useRoute as Ra, useRouter as Mr } from "vue-router";
7
7
  import "./Select.vue_vue_type_style_index_0_scoped_a78dbba1_lang-4ed993c7.mjs";
8
- import { a as Pl, b as $l, c as Ol } from "./Image-1281bc48.mjs";
9
- import { _ as Al } from "./Popup-d5c4cb46.mjs";
10
- import { F as Qr, _ as On, a as Sl } from "./index-9128ade5.mjs";
11
- import { _ as Yl, S as Nl, C as El } from "./Breadcrumbs.vue_vue_type_style_index_0_lang-bd3889ee.mjs";
12
- import { _ as Ul } from "./UploadImage-ec3714e8.mjs";
13
- import { s as rt } from "./auth-78d9392a.mjs";
14
- import { a as Il } from "./organizations-0fb56927.mjs";
8
+ import { a as Pl, b as $l, c as Ol } from "./Image-7dcfe90d.mjs";
9
+ import { _ as Al } from "./Popup-47b37484.mjs";
10
+ import { F as Qr, _ as On } from "./Button-d8e72ac0.mjs";
11
+ import { _ as Sl, S as Yl, C as Nl } from "./Breadcrumbs.vue_vue_type_style_index_0_lang-19e23006.mjs";
12
+ import { _ as El } from "./UploadImage-f7b0335f.mjs";
13
+ import { s as rt } from "./auth-b047fdc0.mjs";
14
+ import { a as Ul } from "./organizations-aed4245d.mjs";
15
+ import { a as Il } from "./index-0ab9d59c.mjs";
15
16
  import { s as ka } from "./globals-96ba60e4.mjs";
16
17
  import "vue-i18n";
17
18
  import "./Chips-03ff0c34.mjs";
@@ -28,7 +29,7 @@ function Vl(e, a) {
28
29
  return D(), L("svg", Hl, Wl);
29
30
  }
30
31
  const Fl = /* @__PURE__ */ $n(Rl, [["render", Vl]]);
31
- const Bl = { class: "today-events" }, Rc = {
32
+ const Bl = { class: "today-events" }, Hc = {
32
33
  __name: "List",
33
34
  props: {
34
35
  category: {
@@ -8519,7 +8520,7 @@ const Jd = {
8519
8520
  name: t.value.owner.target.profile.name,
8520
8521
  photo: t.value.owner.target.profile.photo
8521
8522
  });
8522
- const A = await Il.read({
8523
+ const A = await Ul.read({
8523
8524
  user: rt.user._id,
8524
8525
  postable: rt.user._id,
8525
8526
  limit: 100
@@ -8577,7 +8578,7 @@ const Jd = {
8577
8578
  }
8578
8579
  return (A, U) => p(t) ? (D(), L("article", Jd, [
8579
8580
  le("div", Xd, [
8580
- _e(Ul, {
8581
+ _e(El, {
8581
8582
  photo: p(t).cover,
8582
8583
  "onUpdate:photo": U[0] || (U[0] = (_) => p(t).cover = _),
8583
8584
  uploadPath: "users/" + rt.user._id + "/events",
@@ -8638,12 +8639,12 @@ const Jd = {
8638
8639
  default: ve(() => [
8639
8640
  le("div", oc, [
8640
8641
  ic,
8641
- _e(Yl, {
8642
+ _e(Sl, {
8642
8643
  onTagsChanged: U[8] || (U[8] = (_) => p(t).tags = _),
8643
8644
  tags: p(t).tags
8644
8645
  }, null, 8, ["tags"]),
8645
8646
  uc,
8646
- _e(Nl, {
8647
+ _e(Yl, {
8647
8648
  modelValue: o.value,
8648
8649
  "onUpdate:modelValue": U[9] || (U[9] = (_) => o.value = _),
8649
8650
  options: p(n),
@@ -8656,7 +8657,7 @@ const Jd = {
8656
8657
  }, null, 8, ["modelValue", "options"]),
8657
8658
  o.value ? (D(), L("h5", sc, "Options:")) : F("", !0),
8658
8659
  o.value ? (D(), L("div", dc, [
8659
- _e(El, {
8660
+ _e(Nl, {
8660
8661
  label: "Hide Author",
8661
8662
  radio: p(t).creator.hidden,
8662
8663
  "onUpdate:radio": U[10] || (U[10] = (_) => p(t).creator.hidden = _),
@@ -8683,7 +8684,7 @@ const Jd = {
8683
8684
  }, xn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8684
8685
  __proto__: null,
8685
8686
  default: cc
8686
- }, Symbol.toStringTag, { value: "Module" })), Ma = Sl.create({
8687
+ }, Symbol.toStringTag, { value: "Module" })), Ma = Il.create({
8687
8688
  baseURL: process.env.API_URL,
8688
8689
  withCredentials: !0
8689
8690
  }), zt = ea({
@@ -8909,7 +8910,7 @@ const mc = {
8909
8910
  }, wc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8910
8911
  __proto__: null,
8911
8912
  default: gc
8912
- }, Symbol.toStringTag, { value: "Module" })), Hc = [
8913
+ }, Symbol.toStringTag, { value: "Module" })), Lc = [
8913
8914
  {
8914
8915
  path: "events",
8915
8916
  component: Zl,
@@ -8970,7 +8971,7 @@ export {
8970
8971
  Zl as EventsLayout,
8971
8972
  gc as EventsPage,
8972
8973
  bl as Feed,
8973
- Rc as List,
8974
- Hc as eventsRoutes,
8975
- Vc as eventsStore
8974
+ Hc as List,
8975
+ Lc as eventsRoutes,
8976
+ Fc as eventsStore
8976
8977
  };
@@ -71,7 +71,7 @@ function requireMiddlewareMulter() {
71
71
  };
72
72
  const createThumbnail = async (originalPath, thumbnailPath) => {
73
73
  try {
74
- await sharp(originalPath).resize(200).toFile(thumbnailPath);
74
+ await sharp(originalPath).resize({ width: 800 }).toFile(thumbnailPath);
75
75
  } catch (error) {
76
76
  console.error("Error creating thumbnail:", error);
77
77
  }
@@ -70,7 +70,7 @@ function requireMiddlewareMulter() {
70
70
  };
71
71
  const createThumbnail = async (originalPath, thumbnailPath) => {
72
72
  try {
73
- await sharp(originalPath).resize(200).toFile(thumbnailPath);
73
+ await sharp(originalPath).resize({ width: 800 }).toFile(thumbnailPath);
74
74
  } catch (error) {
75
75
  console.error("Error creating thumbnail:", error);
76
76
  }