@ozdao/prometheus-framework 0.2.59 → 0.2.60

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. package/dist/community.server.js +1 -1
  2. package/dist/community.server.mjs +1 -1
  3. package/dist/events.server.js +23 -3
  4. package/dist/events.server.mjs +23 -3
  5. package/dist/metadata.schema-CjpDDEnW.mjs +210 -0
  6. package/dist/metadata.schema-doiYQfuO.js +209 -0
  7. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
  8. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +1 -1
  9. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.cjs +1 -1
  10. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.js +1 -373
  11. package/dist/prometheus-framework/src/components/Loader/Loader.vue.cjs +1 -1
  12. package/dist/prometheus-framework/src/components/Loader/Loader.vue.js +51 -1
  13. package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs +1 -1
  14. package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js +1 -51
  15. package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs +1 -1
  16. package/dist/prometheus-framework/src/components/Slider/Slider.vue.js +1 -1
  17. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs +1 -1
  18. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +36 -1
  19. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.cjs +1 -1
  20. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.js +1 -36
  21. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
  22. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
  23. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  24. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  25. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  26. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +1 -1
  27. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  28. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
  29. package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.cjs +1 -1
  30. package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.js +1 -1
  31. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  32. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +1 -1
  33. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -5
  34. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +0 -66
  35. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +5 -1
  36. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +66 -0
  37. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  38. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
  39. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  40. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +1 -1
  41. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +2 -2
  42. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +44 -44
  43. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  44. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +1 -1
  45. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
  46. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +1 -1
  47. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
  48. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +1 -1
  49. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  50. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +31 -31
  51. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  52. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
  53. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
  54. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +1 -13
  55. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
  56. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +13 -1
  57. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.cjs +1 -1
  58. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.js +166 -123
  59. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  60. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +56 -45
  61. package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
  62. package/dist/prometheus-framework/src/modules/orders/store/orders.js +19 -24
  63. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
  64. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +1 -1
  65. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
  66. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +1 -1
  67. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  68. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +1 -1
  69. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  70. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +2 -2
  71. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  72. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
  73. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
  74. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +1 -1
  75. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  76. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +15 -15
  77. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
  78. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +1 -1
  79. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  80. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +8 -8
  81. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -1
  82. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +1 -1
  83. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  84. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
  85. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
  86. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +1 -1
  87. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  88. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +1 -1
  89. package/dist/style.css +1 -1
  90. package/package.json +1 -1
@@ -1,54 +1,54 @@
1
- import { ref as d, onMounted as h, openBlock as a, createElementBlock as c, createVNode as u, TransitionGroup as g, withCtx as p, Fragment as f, renderList as k, createCommentVNode as n, Transition as b, createBlock as s, normalizeStyle as x, createElementVNode as v, normalizeClass as w, resolveDynamicComponent as L, mergeProps as B } from "vue";
2
- import "../../../../components/Loader/Loader.vue.js";
3
- import C from "../../../../components/EmptyState/EmptyState.vue.js";
1
+ import { ref as v, onMounted as b, openBlock as a, createElementBlock as c, createVNode as u, TransitionGroup as g, withCtx as p, Fragment as f, renderList as k, createCommentVNode as n, Transition as x, createBlock as s, normalizeStyle as L, createElementVNode as m, normalizeClass as w, resolveDynamicComponent as C, mergeProps as B } from "vue";
2
+ import "../../../../components/Loader/Loader.vue2.js";
3
+ import E from "../../../../components/EmptyState/EmptyState.vue.js";
4
4
  import $ from "../sections/HeroEvent.vue.js";
5
- import E from "../sections/SectionMainGuest.vue.js";
6
- import I from "../sections/SectionSpecialGuests.vue.js";
7
- import S from "../sections/SectionLineup.vue.js";
8
- import H from "../sections/SectionPreviousEvents.vue.js";
5
+ import I from "../sections/SectionMainGuest.vue.js";
6
+ import S from "../sections/SectionSpecialGuests.vue.js";
7
+ import H from "../sections/SectionLineup.vue.js";
8
+ import U from "../sections/SectionPreviousEvents.vue.js";
9
9
  import M from "../blocks/CardEvent.vue.js";
10
- import U from "../../../icons/skeletons/SkeletonEvent.vue.js";
11
- import V from "../elements/ButtonJoin.vue.js";
12
- import N from "../../../community/components/sections/Comments.vue.js";
13
- import P from "../../../constructor/components/elements/Image.vue.js";
14
- import { read as z } from "../../store/events.js";
15
- import { mutations as F } from "../../store/tickets.js";
10
+ import N from "../../../icons/skeletons/SkeletonEvent.vue.js";
11
+ import P from "../elements/ButtonJoin.vue.js";
12
+ import V from "../../../community/components/sections/Comments.vue.js";
13
+ import z from "../../../constructor/components/elements/Image.vue.js";
14
+ import { read as F } from "../../store/events.js";
15
+ import { mutations as q } from "../../store/tickets.js";
16
16
  import { state as o } from "../../../auth/store/auth.js";
17
- import { useRoute as G } from "vue-router";
18
- const J = { class: "pd-thin" }, R = /* @__PURE__ */ v("h2", { class: "mn-b-big w-100 t-center" }, "Event Details", -1), oe = {
17
+ import { useRoute as A } from "vue-router";
18
+ const G = { class: "pd-thin" }, J = /* @__PURE__ */ m("h2", { class: "mn-b-big w-100 t-center" }, "Event Details", -1), re = {
19
19
  __name: "Event",
20
- setup(Y) {
21
- const D = G(), _ = ({ ticket: t, hasTicket: r, targetId: i }) => {
22
- F.handleTicketUpdate(e.value, t, r, i);
23
- }, y = {
20
+ setup(K) {
21
+ const D = A(), _ = v(null), y = ({ ticket: t, hasTicket: r, targetId: i }) => {
22
+ q.handleTicketUpdate(e.value, t, r, i), console.log("HANDLE TICKET UPDATE", t, e.value), _.value = t.qrcode;
23
+ }, T = {
24
24
  Textarea: "p",
25
25
  H2: "h2",
26
26
  Bullets: "p",
27
27
  Caption: "p",
28
- ImageUpload: P
28
+ ImageUpload: z
29
29
  };
30
- function T(t) {
30
+ function h(t) {
31
31
  return t.type === "Textarea" ? { innerHTML: t.content, class: "p-medium" } : t.type === "H2" ? { innerHTML: t.content, class: "h3" } : t.type === "Caption" ? { innerHTML: t.content } : t.type === "ImageUpload" ? { src: t.content } : {};
32
32
  }
33
- const e = d(null), l = d(!0);
34
- return h(async () => {
33
+ const e = v(null), l = v(!0);
34
+ return b(async () => {
35
35
  l.value = !0;
36
- const t = await z({ user: o.user._id, url: D.params.url });
36
+ const t = await F({ user: o.user._id, url: D.params.url });
37
37
  e.value = t[0], l.value = !1;
38
- }), (t, r) => (a(), c("section", J, [
38
+ }), (t, r) => (a(), c("section", G, [
39
39
  u(g, {
40
40
  tag: "ul",
41
41
  name: "fade",
42
42
  class: "o-hidden bg-grey radius-big"
43
43
  }, {
44
44
  default: p(() => [
45
- l.value ? (a(), c(f, { key: 0 }, k(3, (i) => u(U, { key: i })), 64)) : n("", !0)
45
+ l.value ? (a(), c(f, { key: 0 }, k(3, (i) => u(N, { key: i })), 64)) : n("", !0)
46
46
  ]),
47
47
  _: 1
48
48
  }),
49
- u(b, { name: "fade" }, {
49
+ u(x, { name: "fade" }, {
50
50
  default: p(() => [
51
- !l.value && !e.value ? (a(), s(C, {
51
+ !l.value && !e.value ? (a(), s(E, {
52
52
  key: 0,
53
53
  title: "No Event Found",
54
54
  description: "Currently, there are no events available. Please check back later.",
@@ -82,7 +82,7 @@ const J = { class: "pd-thin" }, R = /* @__PURE__ */ v("h2", { class: "mn-b-big w
82
82
  },
83
83
  class: "mn-b-thin"
84
84
  }, null, 8, ["content", "options"])) : n("", !0),
85
- !l.value && e.value && e.value.special ? (a(), s(E, {
85
+ !l.value && e.value && e.value.special ? (a(), s(I, {
86
86
  key: 1,
87
87
  content: {
88
88
  title: e.value.specialData.guestTitle,
@@ -102,34 +102,34 @@ const J = { class: "pd-thin" }, R = /* @__PURE__ */ v("h2", { class: "mn-b-big w
102
102
  }, null, 8, ["content"])) : n("", !0),
103
103
  !l.value && e.value && e.value.special ? (a(), c("section", {
104
104
  key: 2,
105
- style: x(`
105
+ style: L(`
106
106
  background-size: 100%; background-repeat: no-repeat;
107
107
  background-image: url(${e.value.specialData.lineupBackground});
108
108
  `),
109
109
  class: "mn-b-thin t-white gap-big w-100 h-max o-hidden radius-big pd-big pos-relative bg-black"
110
110
  }, [
111
- R,
112
- v("div", {
111
+ J,
112
+ m("div", {
113
113
  class: w(["gap-big mn-b-thin", {
114
114
  "cols-2": e.value.specialData.guests.length > 0,
115
115
  "cols-1": e.value.specialData.guests.length > 1
116
116
  }])
117
117
  }, [
118
- e.value.specialData.guests.length > 0 ? (a(), s(I, {
118
+ e.value.specialData.guests.length > 0 ? (a(), s(S, {
119
119
  key: 0,
120
120
  content: {
121
121
  title: "Special Guests",
122
122
  guests: e.value.specialData.guests
123
123
  }
124
124
  }, null, 8, ["content"])) : n("", !0),
125
- u(S, {
125
+ u(H, {
126
126
  content: {
127
127
  title: "Lineup",
128
128
  lineup: e.value.specialData.lineup
129
129
  }
130
130
  }, null, 8, ["content"])
131
131
  ], 2),
132
- u(H, {
132
+ u(U, {
133
133
  content: {
134
134
  ticket: e.value.specialData.ticketImage,
135
135
  ticketTextButton: e.value.specialData.ticketTextButton,
@@ -156,29 +156,29 @@ const J = { class: "pd-thin" }, R = /* @__PURE__ */ v("h2", { class: "mn-b-big w
156
156
  class: "mn-b-medium bg-grey radius-big"
157
157
  }, {
158
158
  default: p(() => [
159
- o.user._id ? (a(), s(V, {
159
+ o.user._id ? (a(), s(P, {
160
160
  key: 0,
161
161
  type: "event",
162
162
  hasTicket: e.value.hasTicket,
163
163
  targetId: e.value._id,
164
164
  userId: o.user._id,
165
165
  class: "mn-b-small w-100 pd-medium mn-auto",
166
- onUpdateTicket: _
166
+ onUpdateTicket: y
167
167
  }, null, 8, ["hasTicket", "targetId", "userId"])) : n("", !0),
168
- v("section", null, [
169
- e.value && e.value.content ? (a(!0), c(f, { key: 0 }, k(e.value.content, (i, m) => (a(), s(L(y[i.type]), B({
170
- key: m,
171
- index: m,
168
+ m("section", null, [
169
+ e.value && e.value.content ? (a(!0), c(f, { key: 0 }, k(e.value.content, (i, d) => (a(), s(C(T[i.type]), B({
170
+ key: d,
171
+ index: d,
172
172
  component: i,
173
173
  prop: i,
174
174
  class: i.class,
175
175
  content: "content"
176
- }, T(i), { class: "mn-b-regular" }), null, 16, ["index", "component", "prop", "class"]))), 128)) : n("", !0)
176
+ }, h(i), { class: "mn-b-regular" }), null, 16, ["index", "component", "prop", "class"]))), 128)) : n("", !0)
177
177
  ])
178
178
  ]),
179
179
  _: 1
180
180
  }, 8, ["event", "owner", "user"])) : n("", !0),
181
- !l.value && e.value && !e.value.special ? (a(), s(N, {
181
+ !l.value && e.value && !e.value.special ? (a(), s(V, {
182
182
  key: 4,
183
183
  type: "event",
184
184
  target: e.value._id,
@@ -191,5 +191,5 @@ const J = { class: "pd-thin" }, R = /* @__PURE__ */ v("h2", { class: "mn-b-big w
191
191
  }
192
192
  };
193
193
  export {
194
- oe as default
194
+ re as default
195
195
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("vue-router");require("vue-i18n");require("../../../globals/localization/vue-i18n.cjs");require("../../../../components/Breadcrumbs/Breadcrumbs.vue.cjs");const t=require("../sections/Feed.vue.cjs");require("../../../../components/Loader/Loader.vue.cjs");require("../../../../components/Chips/Chips.vue2.cjs");require("../../../../components/Popup/Popup.vue2.cjs");require("../../../../components/Button/Button.vue2.cjs");require("../../../../components/Select/Select.vue2.cjs");require("../../../reports/store/reports.cjs");require("../../../../components/Dropdown/Dropdown.vue2.cjs");const i=require("../../../auth/store/auth.cjs");require("../../../organizations/store/memberships.cjs");require("../../../community/store/reactions.cjs");const o=require("../../store/events.cjs");require("../sections/List.vue2.cjs");const s={__name:"Events",setup(c){const r=u.useRoute();return u.useRouter(),(n,a)=>(e.openBlock(),e.createElementBlock("section",null,[e.createVNode(t.default,{category:e.unref(r).params.category,user:i.state.user._id,period:e.unref(r).query.period,selectedDate:o.state.filter.date},null,8,["category","user","period","selectedDate"])]))}};exports.default=s;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("vue-router");require("vue-i18n");require("../../../globals/localization/vue-i18n.cjs");require("../../../../components/Breadcrumbs/Breadcrumbs.vue.cjs");const t=require("../sections/Feed.vue.cjs");require("../../../../components/Loader/Loader.vue2.cjs");require("../../../../components/Chips/Chips.vue2.cjs");require("../../../../components/Popup/Popup.vue2.cjs");require("../../../../components/Button/Button.vue2.cjs");require("../../../../components/Select/Select.vue2.cjs");require("../../../reports/store/reports.cjs");require("../../../../components/Dropdown/Dropdown.vue2.cjs");const i=require("../../../auth/store/auth.cjs");require("../../../organizations/store/memberships.cjs");require("../../../community/store/reactions.cjs");const o=require("../../store/events.cjs");require("../sections/List.vue2.cjs");const s={__name:"Events",setup(c){const r=u.useRoute();return u.useRouter(),(n,a)=>(e.openBlock(),e.createElementBlock("section",null,[e.createVNode(t.default,{category:e.unref(r).params.category,user:i.state.user._id,period:e.unref(r).query.period,selectedDate:o.state.filter.date},null,8,["category","user","period","selectedDate"])]))}};exports.default=s;
@@ -4,7 +4,7 @@ import "vue-i18n";
4
4
  import "../../../globals/localization/vue-i18n.js";
5
5
  import "../../../../components/Breadcrumbs/Breadcrumbs.vue.js";
6
6
  import s from "../sections/Feed.vue.js";
7
- import "../../../../components/Loader/Loader.vue.js";
7
+ import "../../../../components/Loader/Loader.vue2.js";
8
8
  import "../../../../components/Chips/Chips.vue2.js";
9
9
  import "../../../../components/Popup/Popup.vue2.js";
10
10
  import "../../../../components/Button/Button.vue2.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Loader/Loader.vue.cjs");const p=require("../../../../components/EmptyState/EmptyState.vue.cjs"),g=require("../blocks/CardEvent.vue.cjs"),m=require("../../../icons/skeletons/SkeletonEvent.vue.cjs"),c=require("../../store/events.cjs"),v={class:"feed"},f={__name:"Feed",props:{category:{type:String,default:null},selectedDate:{type:String,default:null},organization:{type:String,default:null},owner:{type:String,default:null},creator:{type:String,default:null},user:{type:[String,Number],default:null},sortOrder:{type:String,default:"desc"},sortParam:{type:String,default:"date.start"},participant:{type:String,default:null},period:{type:String,default:null},phase:{type:String,default:null}},setup(i){const t=i,a=e.ref([]),n=e.ref(!1),l=e.ref(!0),s=e.ref(0),u=e.ref(20),d=async()=>{if(n.value){s.value+=u.value;const r=await c.read({skip:s.value,limit:u.value,category:t.category,sortOrder:t.sortOrder,sortParam:t.sortParam,participant:t.participant,creator:t.creator,user:t.user,date:t.selectedDate,owner:t.owner,organization:t.organization,period:t.period,phase:t.phase});r.length===0?n.value=!1:n.value=!0,a.value=[...a.value,...r]}};return e.onMounted(async()=>{l.value=!0,console.log(t.selectedDate);const r=await c.read({skip:s.value,limit:u.value,category:t.category,participant:t.participant,sortOrder:t.sortOrder,sortParam:t.sortParam,user:t.user,owner:t.owner,creator:t.creator,date:t.selectedDate,organization:t.organization,period:t.period,phase:t.phase});r.length===0?n.value=!1:n.value=!0,a.value=r,l.value=!1}),(r,y)=>(e.openBlock(),e.createElementBlock("section",v,[e.createVNode(e.TransitionGroup,{tag:"ul",name:"scaleTransition",class:"o-hidden bg-grey radius-big"},{default:e.withCtx(()=>[l.value?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(u.value,o=>(e.openBlock(),e.createBlock(m.default,{key:o}))),128)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"scaleTransition"},{default:e.withCtx(()=>[!l.value&&a.value.length<1?(e.openBlock(),e.createBlock(p.default,{key:0,title:"No Events Found",description:"Currently, there are no events available. Please check back later.",class:"pd-medium mn-b-thin bg-grey radius-big"})):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.TransitionGroup,{tag:"ul",name:"scaleTransition",class:"container"},{default:e.withCtx(()=>[!l.value&&a.value.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.value,(o,k)=>(e.openBlock(),e.createBlock(g.default,{onClick:h=>r.$router.push({name:"Event",params:{url:o.url}}),key:o._id,event:o,user:i.user,type:"normal",class:"bg-grey radius-big mn-b-medium"},null,8,["onClick","event","user"]))),128)):e.createCommentVNode("",!0),n.value&&a.value.length>0?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:d,class:"w-100 bg-main button"},"Load more")):e.createCommentVNode("",!0)]),_:1})]))}};exports.default=f;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Loader/Loader.vue2.cjs");const p=require("../../../../components/EmptyState/EmptyState.vue.cjs"),g=require("../blocks/CardEvent.vue.cjs"),m=require("../../../icons/skeletons/SkeletonEvent.vue.cjs"),c=require("../../store/events.cjs"),v={class:"feed"},f={__name:"Feed",props:{category:{type:String,default:null},selectedDate:{type:String,default:null},organization:{type:String,default:null},owner:{type:String,default:null},creator:{type:String,default:null},user:{type:[String,Number],default:null},sortOrder:{type:String,default:"desc"},sortParam:{type:String,default:"date.start"},participant:{type:String,default:null},period:{type:String,default:null},phase:{type:String,default:null}},setup(i){const t=i,a=e.ref([]),n=e.ref(!1),l=e.ref(!0),s=e.ref(0),u=e.ref(20),d=async()=>{if(n.value){s.value+=u.value;const r=await c.read({skip:s.value,limit:u.value,category:t.category,sortOrder:t.sortOrder,sortParam:t.sortParam,participant:t.participant,creator:t.creator,user:t.user,date:t.selectedDate,owner:t.owner,organization:t.organization,period:t.period,phase:t.phase});r.length===0?n.value=!1:n.value=!0,a.value=[...a.value,...r]}};return e.onMounted(async()=>{l.value=!0,console.log(t.selectedDate);const r=await c.read({skip:s.value,limit:u.value,category:t.category,participant:t.participant,sortOrder:t.sortOrder,sortParam:t.sortParam,user:t.user,owner:t.owner,creator:t.creator,date:t.selectedDate,organization:t.organization,period:t.period,phase:t.phase});r.length===0?n.value=!1:n.value=!0,a.value=r,l.value=!1}),(r,y)=>(e.openBlock(),e.createElementBlock("section",v,[e.createVNode(e.TransitionGroup,{tag:"ul",name:"scaleTransition",class:"o-hidden bg-grey radius-big"},{default:e.withCtx(()=>[l.value?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(u.value,o=>(e.openBlock(),e.createBlock(m.default,{key:o}))),128)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"scaleTransition"},{default:e.withCtx(()=>[!l.value&&a.value.length<1?(e.openBlock(),e.createBlock(p.default,{key:0,title:"No Events Found",description:"Currently, there are no events available. Please check back later.",class:"pd-medium mn-b-thin bg-grey radius-big"})):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.TransitionGroup,{tag:"ul",name:"scaleTransition",class:"container"},{default:e.withCtx(()=>[!l.value&&a.value.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.value,(o,k)=>(e.openBlock(),e.createBlock(g.default,{onClick:h=>r.$router.push({name:"Event",params:{url:o.url}}),key:o._id,event:o,user:i.user,type:"normal",class:"bg-grey radius-big mn-b-medium"},null,8,["onClick","event","user"]))),128)):e.createCommentVNode("",!0),n.value&&a.value.length>0?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:d,class:"w-100 bg-main button"},"Load more")):e.createCommentVNode("",!0)]),_:1})]))}};exports.default=f;
@@ -1,5 +1,5 @@
1
1
  import { ref as i, onMounted as _, openBlock as r, createElementBlock as u, createVNode as p, TransitionGroup as f, withCtx as m, Fragment as y, renderList as h, createBlock as g, createCommentVNode as c, Transition as S } from "vue";
2
- import "../../../../components/Loader/Loader.vue.js";
2
+ import "../../../../components/Loader/Loader.vue2.js";
3
3
  import w from "../../../../components/EmptyState/EmptyState.vue.js";
4
4
  import C from "../blocks/CardEvent.vue.js";
5
5
  import E from "../../../icons/skeletons/SkeletonEvent.vue.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Loader/Loader.vue.cjs");const c=require("../../../../components/EmptyState/EmptyState.vue.cjs"),d=require("../blocks/CardEvent.vue.cjs"),p=require("../../../icons/skeletons/SkeletonEventShort.vue.cjs"),m=require("../../store/events.cjs");require("./List.vue2.cjs");const g={class:"today-events"},k={__name:"List",props:{category:{type:String,default:null},organization:{type:String,default:null},owner:{type:String,default:null},user:{type:[String,Number],default:null},period:{type:String,default:null},phase:{type:String,default:null}},setup(l){const t=l,r=e.ref([]),n=e.ref(!0),s=e.ref(0),u=e.ref(5);return e.onMounted(async()=>{const o=await m.read({skip:s.value,limit:u.value,sortOrder:"desc",category:t.category,user:t.user,owner:t.owner,organization:t.organization,period:t.period,phase:t.phase});r.value=o,n.value=!1}),(o,v)=>(e.openBlock(),e.createElementBlock("section",g,[e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"o-hidden bg-grey radius-big"},{default:e.withCtx(()=>[n.value?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(u.value,a=>(e.openBlock(),e.createBlock(p.default,{key:a}))),128)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[!n.value&&r.value.length<1?(e.openBlock(),e.createBlock(c.default,{key:0,title:"No Events Today",description:"Today, are no events available. Please check back later.",class:"pd-medium mn-b-thin bg-grey radius-big"})):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"container"},{default:e.withCtx(()=>[!n.value&&r.value.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(r.value,(a,i)=>(e.openBlock(),e.createBlock(d.default,{onClick:f=>o.$router.push({name:"Event",params:{url:a.url}}),key:a._id,event:a,owner:l.user,type:"short",class:e.normalizeClass(["pd-medium",{"br-b br-solid br-black-transp-10":i!==r.value.length-1}])},null,8,["onClick","event","owner","class"]))),128)):e.createCommentVNode("",!0)]),_:1})]))}};exports.default=k;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Loader/Loader.vue2.cjs");const c=require("../../../../components/EmptyState/EmptyState.vue.cjs"),d=require("../blocks/CardEvent.vue.cjs"),p=require("../../../icons/skeletons/SkeletonEventShort.vue.cjs"),m=require("../../store/events.cjs");require("./List.vue2.cjs");const g={class:"today-events"},k={__name:"List",props:{category:{type:String,default:null},organization:{type:String,default:null},owner:{type:String,default:null},user:{type:[String,Number],default:null},period:{type:String,default:null},phase:{type:String,default:null}},setup(l){const t=l,r=e.ref([]),n=e.ref(!0),s=e.ref(0),u=e.ref(5);return e.onMounted(async()=>{const o=await m.read({skip:s.value,limit:u.value,sortOrder:"desc",category:t.category,user:t.user,owner:t.owner,organization:t.organization,period:t.period,phase:t.phase});r.value=o,n.value=!1}),(o,v)=>(e.openBlock(),e.createElementBlock("section",g,[e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"o-hidden bg-grey radius-big"},{default:e.withCtx(()=>[n.value?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(u.value,a=>(e.openBlock(),e.createBlock(p.default,{key:a}))),128)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[!n.value&&r.value.length<1?(e.openBlock(),e.createBlock(c.default,{key:0,title:"No Events Today",description:"Today, are no events available. Please check back later.",class:"pd-medium mn-b-thin bg-grey radius-big"})):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"container"},{default:e.withCtx(()=>[!n.value&&r.value.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(r.value,(a,i)=>(e.openBlock(),e.createBlock(d.default,{onClick:f=>o.$router.push({name:"Event",params:{url:a.url}}),key:a._id,event:a,owner:l.user,type:"short",class:e.normalizeClass(["pd-medium",{"br-b br-solid br-black-transp-10":i!==r.value.length-1}])},null,8,["onClick","event","owner","class"]))),128)):e.createCommentVNode("",!0)]),_:1})]))}};exports.default=k;
@@ -1,5 +1,5 @@
1
1
  import { ref as o, onMounted as h, openBlock as t, createElementBlock as i, createVNode as s, TransitionGroup as g, withCtx as u, Fragment as f, renderList as y, createBlock as c, createCommentVNode as d, Transition as b, normalizeClass as _ } from "vue";
2
- import "../../../../components/Loader/Loader.vue.js";
2
+ import "../../../../components/Loader/Loader.vue2.js";
3
3
  import S from "../../../../components/EmptyState/EmptyState.vue.js";
4
4
  import w from "../blocks/CardEvent.vue.js";
5
5
  import C from "../../../icons/skeletons/SkeletonEventShort.vue.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),m=require("vue-router"),h=require("../../../icons/placeholders/PlaceholderUserpic.vue.cjs"),f=require("../../../reports/components/sections/FormReport.vue.cjs"),g=require("../../../../components/Dropdown/Dropdown.vue.cjs");require("../../../../components/Button/Button.vue2.cjs");require("../../../auth/store/auth.cjs");require("../../../organizations/store/memberships.cjs");const k=require("../../../icons/navigation/IconEllipsis.vue.cjs"),y={key:0,class:"pd-b-zero"},w={class:"w-100 flex-v-center flex-nojustify flex"},b={class:"w-100 flex-nowrap flex-v-center flex"},B=["src"],E={key:2,class:"t-semi"},p={key:1},V={key:2},C={class:"d-block mn-l-auto flex-nowrap flex flex-v-center"},N={key:0,class:"w-4r i-thin"},v={style:{position:"absolute",top:"0px",right:"0px"},class:"br-solid br-2px br-white z-index-1 radius-big i-thin bg-second flex flex-center t-white p-small t-semi"},x=["src"],$={class:"bg-black pd-thin radius-small"},M=e.createElementVNode("button",{class:"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button"}," Report ",-1),R={__name:"CardHeader",props:["user","entity","entityType","date","dateFormatted","owner","creator","members","membersPhotos","type"],setup(t){m.useRouter();function u(o){const r=new Date,i=new Date(o),s=Math.abs(r-i),a=Math.floor(s/1e3),n=Math.floor(a/60),l=Math.floor(n/60),c=Math.floor(l/24),d=Math.floor(c/7);return d>0?`${d} week${d>1?"s":""} ago`:c>0?`${c} day${c>1?"s":""} ago`:l>0?`${l} hour${l>1?"s":""} ago`:n>0?`${n} minute${n>1?"s":""} ago`:"Just now"}return(o,r)=>{var i,s;return t.owner?(e.openBlock(),e.createElementBlock("header",y,[e.createElementVNode("div",w,[e.createElementVNode("div",b,[t.owner.target.profile.photo.length>0&&t.type!=="short"?(e.openBlock(),e.createElementBlock("img",{key:0,src:(o.FILE_SERVER_URL||"")+t.owner.target.profile.photo,class:"radius-medium object-fit-cover mn-r-thin i-thin",onClick:r[0]||(r[0]=e.withModifiers(a=>o.$router.push({name:t.owner.type==="user"?"User Profile":"Organization",params:{_id:t.owner.target._id}}),["stop"]))},null,8,B)):e.createCommentVNode("",!0),!t.owner.target.profile.photo&&t.type!=="short"?(e.openBlock(),e.createBlock(h.default,{key:1,class:"radius-medium mn-r-thin i-thin",onClick:r[1]||(r[1]=e.withModifiers(a=>o.$router.push({name:t.owner.type==="user"?"User Profile":"Organization",params:{_id:t.owner.target._id}}),["stop"]))})):e.createCommentVNode("",!0),t.type!=="short"?(e.openBlock(),e.createElementBlock("span",E,[e.createElementVNode("span",{onClick:r[2]||(r[2]=e.withModifiers(a=>o.$router.push({name:t.owner.type==="user"?"User Profile":"Organization",params:{_id:t.owner.target._id}}),["stop"]))},e.toDisplayString(t.owner.target.profile.name),1),!t.creator.hidden&&t.owner.target.profile.name!==((i=t.creator.target.profile)==null?void 0:i.name)?(e.openBlock(),e.createElementBlock("span",{key:0,onClick:r[3]||(r[3]=e.withModifiers(a=>o.$router.push({name:"User Profile",params:{_id:t.creator.target._id}}),["stop"]))}," · by "+e.toDisplayString((s=t.creator.target.profile)==null?void 0:s.name),1)):e.createCommentVNode("",!0),t.date?(e.openBlock(),e.createElementBlock("span",p," · "+e.toDisplayString(u(t.date)),1)):e.createCommentVNode("",!0),t.dateFormatted?(e.openBlock(),e.createElementBlock("span",V," · "+e.toDisplayString(t.dateFormatted),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",C,[t.members?(e.openBlock(),e.createElementBlock("div",N,[e.createElementVNode("span",v,e.toDisplayString(t.members),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.membersPhotos.slice(0,2),(a,n)=>(e.openBlock(),e.createElementBlock("img",{key:n,src:(o.FILE_SERVER_URL||"")+a,style:e.normalizeStyle({position:"absolute",top:"0px",right:n*20+20+"%",zIndex:1-n}),class:"br-solid br-2px br-white i-thin bg-grey radius-big"},null,12,x))),128))])):e.createCommentVNode("",!0)]),t.type!=="short"&&t.user&&t.user!=t.creator.target._id?(e.openBlock(),e.createBlock(g.default,{key:3,label:{component:k.default,class:"t-transp i-regular"},align:"right",class:"cursor-pointer z-index-2"},{default:e.withCtx(()=>[e.createElementVNode("section",$,[t.user!==t.creator.target._id?(e.openBlock(),e.createBlock(f.default,{key:0,user:t.user,type:t.entityType,target:t.entity._id,text:"Report",class:"w-100"},{default:e.withCtx(()=>[M]),_:1},8,["user","type","target"])):e.createCommentVNode("",!0)])]),_:1},8,["label"])):e.createCommentVNode("",!0)])])])):e.createCommentVNode("",!0)}}};exports.default=R;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),m=require("vue-router"),h=require("../../../icons/placeholders/PlaceholderUserpic.vue.cjs"),f=require("../../../reports/components/sections/FormReport.vue.cjs"),g=require("../../../../components/Dropdown/Dropdown.vue.cjs");require("../../../../components/Button/Button.vue2.cjs");require("../../../auth/store/auth.cjs");require("../../../organizations/store/memberships.cjs");const k=require("../../../icons/navigation/IconEllipsis.vue.cjs"),y={key:0,class:"pd-b-zero"},w={class:"w-100 flex-v-center flex-nojustify flex"},b={class:"w-100 flex-nowrap flex-v-center flex"},B=["src"],E={key:2,class:"t-semi"},p={key:1},V={key:2},C={class:"d-block mn-l-auto flex-nowrap flex flex-v-center"},N={key:0,class:"w-4r i-thin"},v={style:{position:"absolute",top:"0px",right:"0px"},class:"br-solid br-2px br-white z-index-1 radius-big i-thin bg-second flex flex-center t-white p-small t-semi"},x=["src"],$={class:"bg-black pd-thin radius-small"},M=e.createElementVNode("button",{class:"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button"}," Report ",-1),R={__name:"CardHeader",props:["user","entity","entityType","date","dateFormatted","owner","creator","members","membersPhotos","type"],setup(t){m.useRouter();function u(n){const r=new Date,i=new Date(n),s=Math.abs(r-i),l=Math.floor(s/1e3),o=Math.floor(l/60),a=Math.floor(o/60),c=Math.floor(a/24),d=Math.floor(c/7);return d>0?`${d} week${d>1?"s":""} ago`:c>0?`${c} day${c>1?"s":""} ago`:a>0?`${a} hour${a>1?"s":""} ago`:o>0?`${o} minute${o>1?"s":""} ago`:"Just now"}return(n,r)=>{var i,s,l;return t.owner?(e.openBlock(),e.createElementBlock("header",y,[e.createElementVNode("div",w,[e.createElementVNode("div",b,[((i=t.owner.target.profile.photo)==null?void 0:i.length)>0&&t.type!=="short"?(e.openBlock(),e.createElementBlock("img",{key:0,src:(n.FILE_SERVER_URL||"")+t.owner.target.profile.photo,class:"radius-medium object-fit-cover mn-r-thin i-thin",onClick:r[0]||(r[0]=e.withModifiers(o=>n.$router.push({name:t.owner.type==="user"?"User Profile":"Organization",params:{_id:t.owner.target._id}}),["stop"]))},null,8,B)):e.createCommentVNode("",!0),!t.owner.target.profile.photo&&t.type!=="short"?(e.openBlock(),e.createBlock(h.default,{key:1,class:"radius-medium mn-r-thin i-thin",onClick:r[1]||(r[1]=e.withModifiers(o=>n.$router.push({name:t.owner.type==="user"?"User Profile":"Organization",params:{_id:t.owner.target._id}}),["stop"]))})):e.createCommentVNode("",!0),t.type!=="short"?(e.openBlock(),e.createElementBlock("span",E,[e.createElementVNode("span",{onClick:r[2]||(r[2]=e.withModifiers(o=>n.$router.push({name:t.owner.type==="user"?"User Profile":"Organization",params:{_id:t.owner.target._id}}),["stop"]))},e.toDisplayString(t.owner.target.profile.name),1),!t.creator.hidden&&t.owner.target.profile.name!==((s=t.creator.target.profile)==null?void 0:s.name)?(e.openBlock(),e.createElementBlock("span",{key:0,onClick:r[3]||(r[3]=e.withModifiers(o=>n.$router.push({name:"User Profile",params:{_id:t.creator.target._id}}),["stop"]))}," · by "+e.toDisplayString((l=t.creator.target.profile)==null?void 0:l.name),1)):e.createCommentVNode("",!0),t.date?(e.openBlock(),e.createElementBlock("span",p," · "+e.toDisplayString(u(t.date)),1)):e.createCommentVNode("",!0),t.dateFormatted?(e.openBlock(),e.createElementBlock("span",V," · "+e.toDisplayString(t.dateFormatted),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",C,[t.members?(e.openBlock(),e.createElementBlock("div",N,[e.createElementVNode("span",v,e.toDisplayString(t.members),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.membersPhotos.slice(0,2),(o,a)=>(e.openBlock(),e.createElementBlock("img",{key:a,src:(n.FILE_SERVER_URL||"")+o,style:e.normalizeStyle({position:"absolute",top:"0px",right:a*20+20+"%",zIndex:1-a}),class:"br-solid br-2px br-white i-thin bg-grey radius-big"},null,12,x))),128))])):e.createCommentVNode("",!0)]),t.type!=="short"&&t.user&&t.user!=t.creator.target._id?(e.openBlock(),e.createBlock(g.default,{key:3,label:{component:k.default,class:"t-transp i-regular"},align:"right",class:"cursor-pointer z-index-2"},{default:e.withCtx(()=>[e.createElementVNode("section",$,[t.user!==t.creator.target._id?(e.openBlock(),e.createBlock(f.default,{key:0,user:t.user,type:t.entityType,target:t.entity._id,text:"Report",class:"w-100"},{default:e.withCtx(()=>[M]),_:1},8,["user","type","target"])):e.createCommentVNode("",!0)])]),_:1},8,["label"])):e.createCommentVNode("",!0)])])])):e.createCommentVNode("",!0)}}};exports.default=R;
@@ -1,4 +1,4 @@
1
- import { openBlock as t, createElementBlock as n, createElementVNode as l, withModifiers as h, createCommentVNode as o, createBlock as y, toDisplayString as d, Fragment as k, renderList as $, normalizeStyle as x, withCtx as b } from "vue";
1
+ import { openBlock as t, createElementBlock as i, createElementVNode as l, withModifiers as h, createCommentVNode as n, createBlock as y, toDisplayString as d, Fragment as k, renderList as $, normalizeStyle as x, withCtx as b } from "vue";
2
2
  import { useRouter as v } from "vue-router";
3
3
  import p from "../../../icons/placeholders/PlaceholderUserpic.vue.js";
4
4
  import E from "../../../reports/components/sections/FormReport.vue.js";
@@ -39,72 +39,72 @@ const C = {
39
39
  ],
40
40
  setup(e) {
41
41
  v();
42
- function w(i) {
43
- const r = /* @__PURE__ */ new Date(), m = new Date(i), u = Math.abs(r - m), a = Math.floor(u / 1e3), s = Math.floor(a / 60), c = Math.floor(s / 60), f = Math.floor(c / 24), g = Math.floor(f / 7);
44
- return g > 0 ? `${g} week${g > 1 ? "s" : ""} ago` : f > 0 ? `${f} day${f > 1 ? "s" : ""} ago` : c > 0 ? `${c} hour${c > 1 ? "s" : ""} ago` : s > 0 ? `${s} minute${s > 1 ? "s" : ""} ago` : "Just now";
42
+ function w(s) {
43
+ const r = /* @__PURE__ */ new Date(), m = new Date(s), u = Math.abs(r - m), c = Math.floor(u / 1e3), o = Math.floor(c / 60), a = Math.floor(o / 60), f = Math.floor(a / 24), g = Math.floor(f / 7);
44
+ return g > 0 ? `${g} week${g > 1 ? "s" : ""} ago` : f > 0 ? `${f} day${f > 1 ? "s" : ""} ago` : a > 0 ? `${a} hour${a > 1 ? "s" : ""} ago` : o > 0 ? `${o} minute${o > 1 ? "s" : ""} ago` : "Just now";
45
45
  }
46
- return (i, r) => {
47
- var m, u;
48
- return e.owner ? (t(), n("header", C, [
46
+ return (s, r) => {
47
+ var m, u, c;
48
+ return e.owner ? (t(), i("header", C, [
49
49
  l("div", M, [
50
50
  l("div", P, [
51
- e.owner.target.profile.photo.length > 0 && e.type !== "short" ? (t(), n("img", {
51
+ ((m = e.owner.target.profile.photo) == null ? void 0 : m.length) > 0 && e.type !== "short" ? (t(), i("img", {
52
52
  key: 0,
53
- src: (i.FILE_SERVER_URL || "") + e.owner.target.profile.photo,
53
+ src: (s.FILE_SERVER_URL || "") + e.owner.target.profile.photo,
54
54
  class: "radius-medium object-fit-cover mn-r-thin i-thin",
55
- onClick: r[0] || (r[0] = h((a) => i.$router.push({
55
+ onClick: r[0] || (r[0] = h((o) => s.$router.push({
56
56
  name: e.owner.type === "user" ? "User Profile" : "Organization",
57
57
  params: {
58
58
  _id: e.owner.target._id
59
59
  }
60
60
  }), ["stop"]))
61
- }, null, 8, U)) : o("", !0),
61
+ }, null, 8, U)) : n("", !0),
62
62
  !e.owner.target.profile.photo && e.type !== "short" ? (t(), y(p, {
63
63
  key: 1,
64
64
  class: "radius-medium mn-r-thin i-thin",
65
- onClick: r[1] || (r[1] = h((a) => i.$router.push({
65
+ onClick: r[1] || (r[1] = h((o) => s.$router.push({
66
66
  name: e.owner.type === "user" ? "User Profile" : "Organization",
67
67
  params: {
68
68
  _id: e.owner.target._id
69
69
  }
70
70
  }), ["stop"]))
71
- })) : o("", !0),
72
- e.type !== "short" ? (t(), n("span", F, [
71
+ })) : n("", !0),
72
+ e.type !== "short" ? (t(), i("span", F, [
73
73
  l("span", {
74
- onClick: r[2] || (r[2] = h((a) => i.$router.push({
74
+ onClick: r[2] || (r[2] = h((o) => s.$router.push({
75
75
  name: e.owner.type === "user" ? "User Profile" : "Organization",
76
76
  params: {
77
77
  _id: e.owner.target._id
78
78
  }
79
79
  }), ["stop"]))
80
80
  }, d(e.owner.target.profile.name), 1),
81
- !e.creator.hidden && e.owner.target.profile.name !== ((m = e.creator.target.profile) == null ? void 0 : m.name) ? (t(), n("span", {
81
+ !e.creator.hidden && e.owner.target.profile.name !== ((u = e.creator.target.profile) == null ? void 0 : u.name) ? (t(), i("span", {
82
82
  key: 0,
83
- onClick: r[3] || (r[3] = h((a) => i.$router.push({
83
+ onClick: r[3] || (r[3] = h((o) => s.$router.push({
84
84
  name: "User Profile",
85
85
  params: {
86
86
  _id: e.creator.target._id
87
87
  }
88
88
  }), ["stop"]))
89
- }, " · by " + d((u = e.creator.target.profile) == null ? void 0 : u.name), 1)) : o("", !0),
90
- e.date ? (t(), n("span", D, " · " + d(w(e.date)), 1)) : o("", !0),
91
- e.dateFormatted ? (t(), n("span", L, " · " + d(e.dateFormatted), 1)) : o("", !0)
92
- ])) : o("", !0),
89
+ }, " · by " + d((c = e.creator.target.profile) == null ? void 0 : c.name), 1)) : n("", !0),
90
+ e.date ? (t(), i("span", D, " · " + d(w(e.date)), 1)) : n("", !0),
91
+ e.dateFormatted ? (t(), i("span", L, " · " + d(e.dateFormatted), 1)) : n("", !0)
92
+ ])) : n("", !0),
93
93
  l("div", S, [
94
- e.members ? (t(), n("div", V, [
94
+ e.members ? (t(), i("div", V, [
95
95
  l("span", B, d(e.members), 1),
96
- (t(!0), n(k, null, $(e.membersPhotos.slice(0, 2), (a, s) => (t(), n("img", {
97
- key: s,
98
- src: (i.FILE_SERVER_URL || "") + a,
96
+ (t(!0), i(k, null, $(e.membersPhotos.slice(0, 2), (o, a) => (t(), i("img", {
97
+ key: a,
98
+ src: (s.FILE_SERVER_URL || "") + o,
99
99
  style: x({
100
100
  position: "absolute",
101
101
  top: "0px",
102
- right: s * 20 + 20 + "%",
103
- zIndex: 1 - s
102
+ right: a * 20 + 20 + "%",
103
+ zIndex: 1 - a
104
104
  }),
105
105
  class: "br-solid br-2px br-white i-thin bg-grey radius-big"
106
106
  }, null, 12, I))), 128))
107
- ])) : o("", !0)
107
+ ])) : n("", !0)
108
108
  ]),
109
109
  e.type !== "short" && e.user && e.user != e.creator.target._id ? (t(), y(R, {
110
110
  key: 3,
@@ -126,14 +126,14 @@ const C = {
126
126
  T
127
127
  ]),
128
128
  _: 1
129
- }, 8, ["user", "type", "target"])) : o("", !0)
129
+ }, 8, ["user", "type", "target"])) : n("", !0)
130
130
  ])
131
131
  ]),
132
132
  _: 1
133
- }, 8, ["label"])) : o("", !0)
133
+ }, 8, ["label"])) : n("", !0)
134
134
  ])
135
135
  ])
136
- ])) : o("", !0);
136
+ ])) : n("", !0);
137
137
  };
138
138
  }
139
139
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Field/Field.vue2.cjs");require("../../../../components/Button/Button.vue2.cjs");const a=require("../../../mobile/components/Menu/Menu.vue.cjs"),r=require("../../../mobile/components/Menu/MenuItem.vue.cjs"),n=require("vue-router");require("../../../auth/store/auth.cjs");require("./Legal.vue2.cjs");const u={class:"for-transition w-100 pd-medium"},l=e.createStaticVNode('<div class="bg-grey radius-medium pd-medium mn-b-small"><h2 class="mn-b-small">About No More Snow CO., LTD.</h2><p class="mn-b-small"> Welcome to NO MORE SNOW CO., LTD.! We are dedicated to providing top-notch services and creating a trustworthy environment for our users. Your trust and safety are our priority, and we are committed to being transparent about our policies and practices. </p><p class="mn-b-small"> If you have any questions, concerns, or feedback, please do not hesitate to contact us through the following details. Our team is always here to assist you! </p><p class="mn-b-small"> Address: 10/3 Laemsai Rd, Karon, Mueang Phuket District, Phuket 83100<br> Telephone: +660803202142<br> Email: <a href="mailto:hello@thecommunephuket.com">hello@thecommunephuket.com</a><br> Website: <a href="https://thecommunephuket.com" target="_blank">https://thecommunephuket.com</a></p></div>',1),i=e.createElementVNode("span",null,"Terms of Use",-1),c=e.createElementVNode("span",null,"Privacy Policy",-1),d=e.createElementVNode("span",null,"Cookie Policy",-1),m=e.createElementVNode("span",null,"EULA",-1),p={__name:"Legal",setup(h){n.useRoute();const o=n.useRouter();return e.ref(!1),(f,t)=>(e.openBlock(),e.createElementBlock("div",u,[l,e.createVNode(a.default,{class:"bg-grey"},{default:e.withCtx(()=>[e.createVNode(r.default,{onClick:t[0]||(t[0]=s=>e.unref(o).push({name:"Terms of Use"})),class:"cursor-pointer"},{default:e.withCtx(()=>[i]),_:1}),e.createVNode(r.default,{onClick:t[1]||(t[1]=s=>e.unref(o).push({name:"Privacy Policy"})),class:"cursor-pointer"},{default:e.withCtx(()=>[c]),_:1}),e.createVNode(r.default,{onClick:t[2]||(t[2]=s=>e.unref(o).push({name:"Cookie Policy"})),class:"cursor-pointer"},{default:e.withCtx(()=>[d]),_:1}),e.createVNode(r.default,{onClick:t[3]||(t[3]=s=>e.unref(o).push({name:"EULA"})),class:"cursor-pointer"},{default:e.withCtx(()=>[m]),_:1})]),_:1})]))}};exports.default=p;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Field/Field.vue2.cjs");require("../../../../components/Button/Button.vue2.cjs");const a=require("../../../mobile/components/Menu/Menu.vue2.cjs"),r=require("../../../mobile/components/Menu/MenuItem.vue.cjs"),n=require("vue-router");require("../../../auth/store/auth.cjs");require("./Legal.vue2.cjs");const u={class:"for-transition w-100 pd-medium"},l=e.createStaticVNode('<div class="bg-grey radius-medium pd-medium mn-b-small"><h2 class="mn-b-small">About No More Snow CO., LTD.</h2><p class="mn-b-small"> Welcome to NO MORE SNOW CO., LTD.! We are dedicated to providing top-notch services and creating a trustworthy environment for our users. Your trust and safety are our priority, and we are committed to being transparent about our policies and practices. </p><p class="mn-b-small"> If you have any questions, concerns, or feedback, please do not hesitate to contact us through the following details. Our team is always here to assist you! </p><p class="mn-b-small"> Address: 10/3 Laemsai Rd, Karon, Mueang Phuket District, Phuket 83100<br> Telephone: +660803202142<br> Email: <a href="mailto:hello@thecommunephuket.com">hello@thecommunephuket.com</a><br> Website: <a href="https://thecommunephuket.com" target="_blank">https://thecommunephuket.com</a></p></div>',1),i=e.createElementVNode("span",null,"Terms of Use",-1),c=e.createElementVNode("span",null,"Privacy Policy",-1),d=e.createElementVNode("span",null,"Cookie Policy",-1),m=e.createElementVNode("span",null,"EULA",-1),p={__name:"Legal",setup(h){n.useRoute();const o=n.useRouter();return e.ref(!1),(f,t)=>(e.openBlock(),e.createElementBlock("div",u,[l,e.createVNode(a.default,{class:"bg-grey"},{default:e.withCtx(()=>[e.createVNode(r.default,{onClick:t[0]||(t[0]=s=>e.unref(o).push({name:"Terms of Use"})),class:"cursor-pointer"},{default:e.withCtx(()=>[i]),_:1}),e.createVNode(r.default,{onClick:t[1]||(t[1]=s=>e.unref(o).push({name:"Privacy Policy"})),class:"cursor-pointer"},{default:e.withCtx(()=>[c]),_:1}),e.createVNode(r.default,{onClick:t[2]||(t[2]=s=>e.unref(o).push({name:"Cookie Policy"})),class:"cursor-pointer"},{default:e.withCtx(()=>[d]),_:1}),e.createVNode(r.default,{onClick:t[3]||(t[3]=s=>e.unref(o).push({name:"EULA"})),class:"cursor-pointer"},{default:e.withCtx(()=>[m]),_:1})]),_:1})]))}};exports.default=p;
@@ -1,7 +1,7 @@
1
1
  import { ref as l, openBlock as m, createElementBlock as u, createVNode as t, withCtx as o, unref as r, createStaticVNode as c, createElementVNode as a } from "vue";
2
2
  import "../../../../components/Field/Field.vue2.js";
3
3
  import "../../../../components/Button/Button.vue2.js";
4
- import p from "../../../mobile/components/Menu/Menu.vue.js";
4
+ import p from "../../../mobile/components/Menu/Menu.vue2.js";
5
5
  import n from "../../../mobile/components/Menu/MenuItem.vue.js";
6
6
  import { useRoute as d, useRouter as h } from "vue-router";
7
7
  import "../../../auth/store/auth.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./Menu.vue2.cjs");const r={class:"mobile-menu-section pd-r-zero pd-t-thin pd-b-thin pd-medium radius-medium"},o={__name:"Menu",setup(u){return(t,n)=>(e.openBlock(),e.createElementBlock("section",r,[e.renderSlot(t.$slots,"default")]))}};exports.default=o;
1
+ "use strict";
@@ -1,13 +1 @@
1
- import { openBlock as t, createElementBlock as o, renderSlot as n } from "vue";
2
- import "./Menu.vue2.js";
3
- const r = { class: "mobile-menu-section pd-r-zero pd-t-thin pd-b-thin pd-medium radius-medium" }, d = {
4
- __name: "Menu",
5
- setup(s) {
6
- return (e, i) => (t(), o("section", r, [
7
- n(e.$slots, "default")
8
- ]));
9
- }
10
- };
11
- export {
12
- d as default
13
- };
1
+
@@ -1 +1 @@
1
- "use strict";
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./Menu.vue.cjs");const r={class:"mobile-menu-section pd-r-zero pd-t-thin pd-b-thin pd-medium radius-medium"},o={__name:"Menu",setup(u){return(t,n)=>(e.openBlock(),e.createElementBlock("section",r,[e.renderSlot(t.$slots,"default")]))}};exports.default=o;
@@ -1 +1,13 @@
1
-
1
+ import { openBlock as t, createElementBlock as o, renderSlot as n } from "vue";
2
+ import "./Menu.vue.js";
3
+ const r = { class: "mobile-menu-section pd-r-zero pd-t-thin pd-b-thin pd-medium radius-medium" }, d = {
4
+ __name: "Menu",
5
+ setup(s) {
6
+ return (e, i) => (t(), o("section", r, [
7
+ n(e.$slots, "default")
8
+ ]));
9
+ }
10
+ };
11
+ export {
12
+ d as default
13
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),E=require("vue-router"),C=require("../../../../components/Feed/Feed.vue.cjs"),P=require("../../../../components/Popup/Popup.vue.cjs"),q=require("../../../../components/Block/Block.vue.cjs"),v=require("../blocks/CardOrderItem.vue.cjs");require("../../../../components/Field/Field.vue2.cjs");require("../../../../components/Select/Select.vue2.cjs");require("../../../../components/SelectMulti/SelectMulti.vue2.cjs");const i=require("../../../globals/store/globals.cjs"),r=require("../../store/orders.cjs"),w=require("../../../products/store/products.cjs");require("./EditOrder.vue2.cjs");const x=e.createElementVNode("header",{class:"mn-b-medium flex-v-center flex-nowrap flex"},[e.createElementVNode("h2",{class:"mn-r-medium"},"Create Order")],-1),T=e.createElementVNode("h3",{class:"mn-b-small"},"Add to order",-1),O={class:"bg-grey mn-b-thin h-min-20r h-max-20r o-scroll pd-medium radius-big"},S={key:0,class:"w-100"},D={class:"mn-thinw-100 flex-v-center flex block"},F={class:"p-big"},I={key:0,class:"p-big t-semi"},R={key:1,class:"p-big t-semi"},M={key:2,class:"p-big t-semi"},L={key:3},j={key:4},z={key:5},A=e.createElementVNode("button",{class:"mn-l-auto button"},"Запросить онлайн",-1),G={__name:"EditOrder",setup(H){const N=E.useRoute(),c=e.ref(!1);function V(){c.value=!0}function a(){c.value=!1}let o=e.ref(null);return e.onMounted(async()=>{}),(n,J)=>{var l,d,u,m,p,_,f,k,h,y,b,B;return e.openBlock(),e.createElementBlock("div",null,[x,e.createVNode(P.default,{title:"Добавить участника",onClosePopup:a,isPopupOpen:c.value,class:"bg-white w-min-30r w-max-30r radius-big pd-medium"},{default:e.withCtx(()=>[T,e.createElementVNode("div",O,[e.createVNode(C.default,{search:!0,states:{empty:{title:"No Products Found",description:"Currently, there are no such products available."}},store:{read:t=>w.actions.read(t),state:null},options:{organization:e.unref(N).params._id},class:""},{default:e.withCtx(({items:t})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t,(s,K)=>(e.openBlock(),e.createBlock(v.default,{key:s._id,editable:!1,product:s,onClick:()=>{let g={...s};g.quantity=1,i.actions.add(r.state.current.positions,g),a()},class:"bg-white pd-thin radius-medium w-100 mn-b-thin"},null,8,["product","onClick"]))),128))]),_:1},8,["states","store","options"])])]),_:1},8,["isPopupOpen"]),e.createVNode(q.default,{title:"Invetory Sheet",actions:[{label:"+",function:()=>V()}],class:"mn-b-semi"},{default:e.withCtx(()=>[r.state.current.positions.length===0?(e.openBlock(),e.createElementBlock("span",S," No positions added yet ")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.state.current.positions,(t,s)=>(e.openBlock(),e.createBlock(v.default,{key:t._id,editable:!0,product:t,onIncrease:()=>{i.actions.increment(r.state.current.positions,t)},onDecrease:()=>{i.actions.decrement(r.state.current.positions,t)},onRemove:()=>{i.actions.delete(r.state.current.positions,t)},class:"mn-b-thin pd-thin radius-medium bg-white"},null,8,["product","onIncrease","onDecrease","onRemove"]))),128))]),_:1},8,["actions"]),e.createElementVNode("div",D,[e.createElementVNode("p",F,[e.createTextVNode("Сумма к оплате: "),((d=(l=e.unref(o))==null?void 0:l.info)==null?void 0:d.delivery)==="Самовывоз"?(e.openBlock(),e.createElementBlock("span",I,e.toDisplayString(n.orderTotalPrice/100)+"",1)):e.createCommentVNode("",!0),((m=(u=e.unref(o))==null?void 0:u.info)==null?void 0:m.delivery)==="Курьером"?(e.openBlock(),e.createElementBlock("span",R,e.toDisplayString(n.orderTotalPrice/100+350)+" ",1)):e.createCommentVNode("",!0),((_=(p=e.unref(o))==null?void 0:p.info)==null?void 0:_.delivery)==="Почтой"?(e.openBlock(),e.createElementBlock("span",M,e.toDisplayString(n.orderTotalPrice/100+550)+" ₽",1)):e.createCommentVNode("",!0),e.createTextVNode(" (Заказ "+e.toDisplayString(n.orderTotalPrice/100)+" + доставка ",1),((k=(f=e.unref(o))==null?void 0:f.info)==null?void 0:k.delivery)==="Самовывоз"?(e.openBlock(),e.createElementBlock("span",L,"0")):e.createCommentVNode("",!0),((y=(h=e.unref(o))==null?void 0:h.info)==null?void 0:y.delivery)==="Курьером"?(e.openBlock(),e.createElementBlock("span",j,"350")):e.createCommentVNode("",!0),((B=(b=e.unref(o))==null?void 0:b.info)==null?void 0:B.delivery)==="Почтой"?(e.openBlock(),e.createElementBlock("span",z,"550")):e.createCommentVNode("",!0),e.createTextVNode(" ₽) ")]),A])])}}};exports.default=G;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),m=require("vue-router"),N=require("../../../../components/Feed/Feed.vue.cjs"),p=require("../../../../components/Field/Field.vue.cjs"),q=require("../../../../components/Button/Button.vue.cjs"),w=require("../../../../components/Popup/Popup.vue.cjs"),o=require("../../../../components/Block/Block.vue.cjs"),f=require("../blocks/CardOrderItem.vue.cjs");require("../../../../components/Select/Select.vue2.cjs");require("../../../../components/SelectMulti/SelectMulti.vue2.cjs");require("../../../../components/FieldPhone/all-countries.cjs");require("../../../../components/FieldPhone/FieldPhone2.vue.cjs");const C=require("../../../auth/store/auth.cjs"),a=require("../../../globals/store/globals.cjs"),t=require("../../store/orders.cjs"),V=require("../../../products/store/products.cjs");require("./EditOrder.vue2.cjs");const x={class:"flex-v-center flex-nowrap flex"},y=e.createElementVNode("h2",{class:"mn-r-auto"},"Create Order",-1),B=e.createElementVNode("h3",{class:"mn-b-small"},"Add to order",-1),v={class:"bg-grey mn-b-thin h-min-20r h-max-20r o-scroll pd-medium radius-big"},E={key:0,class:"w-100"},P={class:"h3 flex"},O=e.createElementVNode("span",{class:"mn-r-auto t-transp"},"In total",-1),F={__name:"EditOrder",setup(R){const i=m.useRoute(),h=m.useRouter();let b=e.computed(()=>Number(t.state.current.positions.reduce((c,n)=>c+n.price*n.quantity,0)));const l=e.ref(!1);function _(){l.value=!0}function u(){l.value=!1}e.ref(null);function g(){t.state.current.creator={type:"user",target:C.state.user._id},t.state.current.owner={type:"organization",target:i.params._id},t.actions.create(t.state.current)}function k(){h.push({name:"Backoffice Orders",params:{_id:i.params._id}})}return e.onMounted(async()=>{}),(c,n)=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(o.default,{class:"mn-b-thin"},{default:e.withCtx(()=>[e.createElementVNode("header",x,[y,e.createVNode(q.default,{submit:g,callback:k,class:"pd-small radius-big bg-main t-black uppercase t-medium"},{default:e.withCtx(()=>[e.createTextVNode(" Add Order ")]),_:1})])]),_:1}),e.createVNode(w.default,{title:"Добавить участника",onClosePopup:u,isPopupOpen:l.value,class:"bg-white w-min-30r w-max-30r radius-big pd-medium"},{default:e.withCtx(()=>[B,e.createElementVNode("div",v,[e.createVNode(N.default,{search:!0,states:{empty:{title:"No Products Found",description:"Currently, there are no such products available."}},store:{read:r=>V.actions.read(r),state:null},options:{organization:e.unref(i).params._id},class:""},{default:e.withCtx(({items:r})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r,(s,S)=>(e.openBlock(),e.createBlock(f.default,{key:s._id,editable:!1,product:s,onClick:()=>{let d={...s};d.quantity=1,a.actions.add(t.state.current.positions,d),u()},class:"bg-white pd-thin radius-medium w-100 mn-b-thin"},null,8,["product","onClick"]))),128))]),_:1},8,["states","store","options"])])]),_:1},8,["isPopupOpen"]),e.createVNode(o.default,{title:"Positions",actions:[{label:"+",function:()=>_()}],class:"mn-b-semi"},{default:e.withCtx(()=>[t.state.current.positions.length===0?(e.openBlock(),e.createElementBlock("span",E," No positions added yet ")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state.current.positions,(r,s)=>(e.openBlock(),e.createBlock(f.default,{key:r._id,editable:!0,product:r,onIncrease:()=>{a.actions.increment(t.state.current.positions,r)},onDecrease:()=>{a.actions.decrement(t.state.current.positions,r)},onRemove:()=>{a.actions.delete(t.state.current.positions,r)},class:"mn-b-thin pd-thin radius-medium bg-white"},null,8,["product","onIncrease","onDecrease","onRemove"]))),128))]),_:1},8,["actions"]),e.createVNode(o.default,{title:"Client",class:"mn-b-semi"},{default:e.withCtx(()=>[e.createVNode(p.default,{field:t.state.current.client.name,"onUpdate:field":n[0]||(n[0]=r=>t.state.current.client.name=r),label:"Client",placeholder:"Enter client name",class:"bg-white pd-medium radius-small mn-b-thin"},null,8,["field"]),e.createVNode(p.default,{field:t.state.current.comment,"onUpdate:field":n[1]||(n[1]=r=>t.state.current.comment=r),label:"Comment",placeholder:"Enter comment",class:"bg-white pd-medium radius-small mn-b-thin"},null,8,["field"])]),_:1}),e.createVNode(o.default,{class:"mn-b-semi"},{default:e.withCtx(()=>[e.createElementVNode("div",P,[O,e.createElementVNode("span",null,e.toDisplayString(e.unref(b))+" "+e.toDisplayString(c.returnCurrency()),1)])]),_:1})]))}};exports.default=F;