@ozdao/prometheus-framework 0.1.52 → 0.1.54
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/Upload/Upload.vue.d.ts.map +1 -1
- package/dist/main.css +1 -1
- package/dist/modules/constructor/components/elements/Audio.vue.d.ts +9 -0
- package/dist/modules/constructor/components/elements/Embed.vue.d.ts +9 -0
- package/dist/modules/constructor/components/elements/H2.vue.d.ts +1 -1
- package/dist/modules/constructor/components/elements/Textarea.vue.d.ts +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.js +2 -224
- package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue2.js +224 -2
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +2 -72
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +72 -2
- package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.js +2 -78
- package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.js +78 -2
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +2 -44
- package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +44 -2
- package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +75 -0
- package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +4 -0
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.js +46 -0
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +48 -0
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -4
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +2 -61
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +4 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +61 -2
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +70 -61
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +12 -10
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +199 -2
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +11 -2
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +2 -11
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +18 -18
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/LeftoverAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/LeftoverAdd.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditParameters.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditParameters.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/spots/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/sections/Feed.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +82 -100
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileOrganizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileOrganizations.vue.js +1 -1
- package/dist/prometheus-framework.cjs.js +19 -19
- package/dist/prometheus-framework.es.js +530 -522
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/Button/Button.vue +1 -1
- package/src/components/Upload/Upload.vue +28 -8
- package/src/modules/constructor/components/elements/Audio.vue +82 -0
- package/src/modules/constructor/components/elements/Embed.vue +85 -0
- package/src/modules/constructor/components/sections/Constructor.vue +54 -7
- package/src/modules/gallery/components/pages/Gallery.vue +2 -3
- package/src/modules/gallery/components/sections/GalleryWithCategories.vue +6 -24
- package/src/modules/globals/mixins/mixins.js +52 -0
- package/src/modules/globals/router/routerGuards.js +28 -0
- package/src/modules/marketplace/components/layouts/Marketplace.vue +0 -1
- package/src/modules/organizations/components/pages/Organization.vue +2 -2
- package/src/modules/users/components/pages/Profile.vue +5 -3
- package/src/styles/theme.scss +0 -1
- package/src/styles/components/button.scss +0 -253
package/dist/prometheus-framework/src/modules/products/components/sections/EditParameters.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),g=require("../../../../components/Button/Button.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),g=require("../../../../components/Button/Button.vue2.cjs"),i=require("../../../../components/Field/Field.vue2.cjs"),v={class:"mn-big"},k={class:"mn-small flex-nowrap flex"},N={class:"mn-r-thin"},b={class:"flex-column flex"},w={key:0,class:"w-100 mn-small"},y=["onClick"],B=e.createElementVNode("svg",{class:"i-small",fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"clip-rule":"evenodd",d:"m7.27124 0h5.45456c1.0041 0 1.8182.814027 1.8182 1.81818v.90899h2.7278c1.0042 0 1.8182.81402 1.8182 1.81818v1.81818c0 1.00415-.814 1.81818-1.8182 1.81818h-.0735l-.8363 10.00009c0 1.0042-.814 1.8182-1.8182 1.8182h-9.09087c-1.00416 0-1.81818-.814-1.81504-1.7427l-.83964-10.07559h-.07187c-1.00415 0-1.818177-.81403-1.818177-1.81818v-1.81818c0-1.00416.814027-1.81818 1.818177-1.81818h2.72668v-.90899c0-1.004153.81402-1.81818 1.81818-1.81818zm-1.81889 18.1819-.83047-10h10.75152l-.827 9.9245-.0031.0755zm-2.72612-11.81799v-1.81818h14.54547v1.81818zm10.00137-4.54571v.90909h-5.45456v-.90909z",fill:"#8a8a8a","fill-rule":"evenodd"})],-1),E=[B],V={__name:"EditParameters",props:{items:{type:Array,default:()=>[]},title:String,addButtonLabel:String,emptyMessage:String,keyName:String,valueName:String},emits:["add-info","delete-info"],setup(u,{emit:o}){const m=u;function a(){o("add-info",{})}function f(c){o("delete-info",c)}const{items:n,title:h,emptyMessage:p,addButtonLabel:_,keyName:r,valueName:s}=e.toRefs(m);return(c,x)=>(e.openBlock(),e.createElementBlock("div",v,[e.createElementVNode("div",k,[e.createElementVNode("h5",N,e.toDisplayString(e.unref(h)),1),e.createElementVNode("button",{onClick:a,class:"i-small pd-thin button-delete button"},"+")]),e.createElementVNode("div",b,[e.unref(n).length==0?(e.openBlock(),e.createElementBlock("p",w,e.toDisplayString(e.unref(p)),1)):e.createCommentVNode("",!0),e.unref(n).length==0?(e.openBlock(),e.createBlock(g.default,{key:1,onClick:a,class:"button"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(_)),1)]),_:1})):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(n),(t,d)=>(e.openBlock(),e.createElementBlock("div",{class:"mn-medium w-100 flex-nowrap flex",key:d},[e.createVNode(i.default,{field:t[e.unref(r)],"onUpdate:field":l=>t[e.unref(r)]=l,placeholder:"Название параметра",class:"w-100 mn-r-small bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(i.default,{field:t[e.unref(s)],"onUpdate:field":l=>t[e.unref(s)]=l,placeholder:"Значение параметра",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createElementVNode("button",{onClick:l=>f(d),class:"mn-l-small button"},E,8,y)]))),128))])]))}};exports.default=V;
|
package/dist/prometheus-framework/src/modules/products/components/sections/EditParameters.vue.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { toRefs as x, openBlock as l, createElementBlock as o, createElementVNode as t, toDisplayString as i, unref as e, createCommentVNode as h, createBlock as N, withCtx as B, createTextVNode as C, Fragment as S, renderList as z, createVNode as p } from "vue";
|
2
|
-
import U from "../../../../components/Button/Button.
|
2
|
+
import U from "../../../../components/Button/Button.vue2.js";
|
3
3
|
import _ from "../../../../components/Field/Field.vue2.js";
|
4
4
|
const V = { class: "mn-big" }, A = { class: "mn-small flex-nowrap flex" }, E = { class: "mn-r-thin" }, L = { class: "flex-column flex" }, j = {
|
5
5
|
key: 0,
|
package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Button/Button.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Button/Button.vue.cjs");const l=require("../../../../components/Field/Field.vue2.cjs"),n=require("../../../../components/Select/Select.vue2.cjs"),o=require("../../../../../../node_modules/vuex/dist/vuex.esm-bundler.cjs"),a={class:"mn-big flex-column flex"},i={__name:"EditProductInfo",props:{product:Object},setup(u){const d=u,t=o.useStore();return e.toRefs(d),(c,r)=>(e.openBlock(),e.createElementBlock("div",a,[e.createTextVNode(e.toDisplayString(e.unref(t).products.current)+" ",1),e.createVNode(n.default,{options:["unpublished","published","archivied"],select:e.unref(t).products.state.current.status,"onUpdate:select":r[0]||(r[0]=s=>e.unref(t).products.state.current.status=s),placeholder:"Display product",class:"w-100 mn-small bg-white radius-small pd-medium"},null,8,["select"]),e.createVNode(l.default,{field:e.unref(t).products.state.current.name,"onUpdate:field":r[1]||(r[1]=s=>e.unref(t).products.state.current.name=s),placeholder:"Введите название",class:"w-100 mn-small bg-white radius-small pd-medium"},null,8,["field"]),e.createVNode(l.default,{field:e.unref(t).products.state.current.price,"onUpdate:field":r[2]||(r[2]=s=>e.unref(t).products.state.current.price=s),placeholder:"Введите цену",class:"w-100 mn-small bg-white radius-small pd-medium",type:"number"},null,8,["field"]),e.createVNode(l.default,{field:e.unref(t).products.state.current.description,"onUpdate:field":r[3]||(r[3]=s=>e.unref(t).products.state.current.description=s),placeholder:"Введите описание",class:"w-100 mn-small bg-white radius-small pd-medium",type:"textarea"},null,8,["field"])]))}};exports.default=i;
|
package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { toRefs as p, openBlock as u, createElementBlock as n, createTextVNode as a, toDisplayString as c, unref as t, createVNode as l } from "vue";
|
2
|
-
import "../../../../components/Button/Button.
|
2
|
+
import "../../../../components/Button/Button.vue.js";
|
3
3
|
import d from "../../../../components/Field/Field.vue2.js";
|
4
|
-
import m from "../../../../components/Select/Select.
|
4
|
+
import m from "../../../../components/Select/Select.vue2.js";
|
5
5
|
import { useStore as f } from "../../../../../../node_modules/vuex/dist/vuex.esm-bundler.js";
|
6
6
|
const b = { class: "mn-big flex-column flex" }, S = {
|
7
7
|
__name: "EditProductInfo",
|
package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("../../../../components/Popup/Popup.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("../../../../components/Popup/Popup.vue2.cjs"),d=require("../../../../components/Button/Button.vue2.cjs"),m=require("../../../../components/Select/Select.vue2.cjs"),f=require("../../store/reports.cjs"),g=e.createElementVNode("h3",{class:"mn-small"}," Report Content ",-1),b=e.createElementVNode("p",{class:"p-medium mn-small"}," We strive to maintain a safe and comfortable environment for all users. If you encounter content that you believe violates our guidelines, please report it: ",-1),h=e.createElementVNode("p",{class:"p-medium mn-small"},"Our moderators will review your report within 24 hours and take action if it violates our policies.",-1),v={__name:"FormReport",props:{user:{type:String,required:!1},type:{type:String,required:!1},reason:{type:String,required:!1},target:{type:String,required:!0},text:{type:String,default:"!"},status:{type:String,default:"new"}},setup(l){const t=l,r=e.reactive({user:t.user,type:t.type,reason:t.reason,target:t.target,status:t.status});function i(){r.user===null&&delete r.user,f.actions.create(r)}const s=e.ref(!1);function u(){s.value=!0}function a(){s.value=!1}return(p,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{onClick:o[0]||(o[0]=n=>u())},[e.renderSlot(p.$slots,"default")]),e.createVNode(c.default,{onClosePopup:a,isPopupOpen:s.value,class:"w-m-33r t-left pd-big bg-white radius-big"},{default:e.withCtx(()=>[g,b,e.createVNode(m.default,{select:r.reason,"onUpdate:select":o[1]||(o[1]=n=>r.reason=n),options:["harassment","spam","inappropriate","misinformation","copyright","other"],placeholder:"Select reason",class:"mn-small bg-white br-solid br-black-transp br-1px uppercase pd-medium t-semi bg-white t-black radius-medium"},null,8,["select"]),h,e.createVNode(d.default,{submit:i,callback:a,class:"w-100 bg-black t-white"},{default:e.withCtx(()=>[e.createTextVNode(" Report ")]),_:1})]),_:1},8,["isPopupOpen"])],64))}};exports.default=v;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { reactive as d, ref as f, openBlock as g, createElementBlock as b, Fragment as h, createElementVNode as o, renderSlot as y, createVNode as a, withCtx as l, createTextVNode as _ } from "vue";
|
2
|
-
import v from "../../../../components/Popup/Popup.
|
3
|
-
import w from "../../../../components/Button/Button.
|
4
|
-
import S from "../../../../components/Select/Select.
|
2
|
+
import v from "../../../../components/Popup/Popup.vue2.js";
|
3
|
+
import w from "../../../../components/Button/Button.vue2.js";
|
4
|
+
import S from "../../../../components/Select/Select.vue2.js";
|
5
5
|
import { actions as k } from "../../store/reports.js";
|
6
6
|
const P = /* @__PURE__ */ o("h3", { class: "mn-small" }, " Report Content ", -1), R = /* @__PURE__ */ o("p", { class: "p-medium mn-small" }, " We strive to maintain a safe and comfortable environment for all users. If you encounter content that you believe violates our guidelines, please report it: ", -1), x = /* @__PURE__ */ o("p", { class: "p-medium mn-small" }, "Our moderators will review your report within 24 hours and take action if it violates our policies.", -1), V = {
|
7
7
|
__name: "FormReport",
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Tab/Tab.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Tab/Tab.vue.cjs");const d=require("../../../organizations/components/blocks/EmptyState.vue.cjs"),p=require("../blocks/CardSpot.vue.cjs"),c=require("../../store/spots.cjs"),m=require("../../../auth/store/auth.cjs"),g={__name:"Feed",props:{organization:Object,units:Array,memberships:Array},async setup(r){let u,l;const s=r;e.ref("spots"),[u,l]=e.withAsyncContext(()=>c.actions.read(s.organization._id)),await u,l();const a=e.computed(()=>{const o=c.state.spots,n=o.flatMap(t=>t.subspots.map(i=>i._id));return o.filter(t=>!n.includes(t._id))});return(o,n)=>(e.openBlock(),e.createBlock(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.unref(a).length<1?(e.openBlock(),e.createBlock(d.default,{key:0,title:"You don't have any spots yet.",description:"Add spots to your hub.",action:"Add spot",callback:()=>o.$router.push(`/spots/${s.organization._id}/spots/create`)},null,8,["callback"])):e.createCommentVNode("",!0),e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(a),(t,i)=>(e.openBlock(),e.createBlock(p.default,{key:i,spot:t,organization:r.organization,class:"radius-big bg-grey mn-thin"},null,8,["spot","organization"]))),128)),e.unref(a).length>0&&m.state.user._id===r.organization.owner?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:n[0]||(n[0]=t=>o.$router.push(`/spots/${s.organization._id}/spots/create`)),class:"mn-thin button w-100"}," Add spot ")):e.createCommentVNode("",!0)])])]),_:1}))}};exports.default=g;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ref as g, withAsyncContext as b, computed as y, openBlock as o, createBlock as p, Transition as _, withCtx as h, createElementVNode as c, unref as l, createCommentVNode as m, createElementBlock as f, Fragment as k, renderList as z } from "vue";
|
2
|
-
import "../../../../components/Tab/Tab.
|
2
|
+
import "../../../../components/Tab/Tab.vue.js";
|
3
3
|
import $ from "../../../organizations/components/blocks/EmptyState.vue.js";
|
4
4
|
import A from "../blocks/CardSpot.vue.js";
|
5
5
|
import { actions as v, state as w } from "../../store/spots.js";
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Field/Field.vue.cjs");require("../../../../components/Button/Button.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Field/Field.vue.cjs");require("../../../../components/Button/Button.vue.cjs");const h=require("../../../../components/Dropdown/Dropdown.vue.cjs"),d=require("../../../mobile/components/Menu/Menu.vue.cjs"),l=require("../../../mobile/components/Menu/MenuItem.vue.cjs"),p=require("../../../organizations/components/elements/ButtonToggleMembership.vue.cjs"),g=require("../../../reports/components/sections/FormReport.vue.cjs"),b=require("../../../organizations/components/blocks/Socials.vue.cjs"),N=require("../sections/ProfileCompletion.vue.cjs"),V=require("../../../icons/entities/IconEvents.vue.cjs"),B=require("../../../icons/entities/IconGroups.vue.cjs"),w=require("../../../icons/entities/IconCommunity.vue.cjs"),E=require("../../../icons/navigation/IconEdit.vue.cjs"),C=require("../../../icons/placeholders/PlaceholderUserpic.vue.cjs"),f=require("vue-router"),a=require("../../../auth/store/auth.cjs"),t=require("../../store/users.cjs"),y=require("../../../organizations/store/memberships.cjs");require("./Profile.vue2.cjs");const v={key:0,class:"for-transition w-100"},x={key:0,class:"flex-center flex pd-medium radius-big bg-grey uppercase t-semi w-100 h-100"},q={key:1,_id:"dash",class:"pd-b-extra pd-thin w-100"},S={class:"flex-center flex flex-column t-center w-100 mn-semi radius-medium pd-medium bg-grey"},M={class:"bg-black pd-thin radius-small"},R=e.createElementVNode("button",{class:"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button"}," Report ",-1),U=["src"],$={class:"mn-thin"},D={class:"mn-thin t-main t-semi"},O={class:"mn-small p-medium"},I={class:"mn-medium flex-center flex-nowrap flex"},L={class:"t-semi mn-small"},P={key:5,class:"mn-t-small mn-thin"},F=e.createElementVNode("span",null," Backoffice ",-1),j=e.createElementVNode("span",null,"Events",-1),A=e.createElementVNode("span",null,"Groups",-1),T=e.createElementVNode("span",null,"Posts",-1),z=e.createElementVNode("span",null," Settings ",-1),G=e.createElementVNode("span",null," About ",-1),H=e.createElementVNode("span",{class:"t-red"}," Logout ",-1),J={__name:"Profile",setup(K){const o=f.useRoute(),n=f.useRouter(),u=e.ref(!1);e.onMounted(async()=>{await t.actions.read({_id:o.params._id,user:a.state.user._id}),u.value=!0});const m=({membership:i,status:r,target:s},c,k)=>{y.mutations.handleMembershipUpdate(t.state.current,i,r,s,c,k)};function _(){a.actions.logout(),n.push({name:"Sign In"})}return(i,r)=>u.value?(e.openBlock(),e.createElementBlock("div",v,[t.state.current.status==="removed"?(e.openBlock(),e.createElementBlock("div",x," Sorry, user has been removed. ")):(e.openBlock(),e.createElementBlock("div",q,[e.unref(o).params._id===a.state.user._id&&u.value?(e.openBlock(),e.createBlock(N.default,{key:0,user:a.state.user._id,target:t.state.current,cta:!0},null,8,["user","target"])):e.createCommentVNode("",!0),e.createElementVNode("section",S,[e.unref(o).params._id&&e.unref(o).params._id!==a.state.user._id?(e.openBlock(),e.createBlock(h.default,{key:0,label:"...",align:"right",class:"cursor-pointer pos-absolute pos-r-0 pos-t-0 pd-thin radius-extra"},{default:e.withCtx(()=>[e.createElementVNode("section",M,[e.createVNode(g.default,{user:a.state.user._id,type:"user",target:t.state.current._id,text:"Report",class:"w-100"},{default:e.withCtx(()=>[R]),_:1},8,["user","target"]),a.state.user._id?(e.openBlock(),e.createBlock(p.default,{key:0,user:a.state.user._id,type:"user",role:"blocked",target:t.state.current._id,status:t.state.current.isBlocked,text:{create:"Block",remove:"Unblock"},onUpdateMembership:r[0]||(r[0]=s=>m(s,"isBlocked")),class:"t-white mn-t-thin bg-red"},null,8,["user","target","status"])):e.createCommentVNode("",!0)])]),_:1},8,["label"])):e.createCommentVNode("",!0),e.unref(o).params._id===a.state.user._id?(e.openBlock(),e.createBlock(E.default,{key:1,onClick:r[1]||(r[1]=s=>i.$router.push({name:"User Edit Profile",params:{_id:a.state.user._id}})),class:"pos-absolute pos-t-regular pos-r-regular i-regular t-transp"})):e.createCommentVNode("",!0),t.state.current.profile.photo.length>0?(e.openBlock(),e.createElementBlock("img",{key:2,src:(i.FILE_SERVER_URL||"")+t.state.current.profile.photo,class:"radius-extra bg-white mn-small object-fit-cover i-extra"},null,8,U)):(e.openBlock(),e.createBlock(C.default,{key:3,class:"radius-medium mn-small i-extra"})),e.createElementVNode("h3",$,e.toDisplayString(t.state.current.profile.name?t.state.current.profile.name:"Not specified"),1),e.createElementVNode("p",D," @"+e.toDisplayString(t.state.current.username?t.state.current.username:"Not specified"),1),e.createElementVNode("p",O,e.toDisplayString(t.state.current.profile.description?t.state.current.profile.description:"Not specified"),1),e.createElementVNode("div",I,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state.current.roles,(s,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["pd-thin radius-small t-semi bg-white",{"mn-r-thin":c!==t.state.current.roles.length-1}])},e.toDisplayString(s.icon)+" "+e.toDisplayString(s.name),3))),256))]),e.createElementVNode("p",L," 👨👨👧👧 "+e.toDisplayString(t.state.current.numberOfSubscribers)+" followers ",1),a.state.user._id&&e.unref(o).params._id&&e.unref(o).params._id!==a.state.user._id?(e.openBlock(),e.createBlock(p.default,{key:4,user:a.state.user._id,type:"user",role:"subscriber",target:t.state.current._id,status:t.state.current.isSubscriber,text:{create:"Follow",remove:"Unfollow"},onUpdateMembership:r[2]||(r[2]=s=>m(s,"isSubscriber","numberOfSubscribers")),class:"w-min mn-medium mn-r-auto mn-l-auto"},null,8,["user","target","status"])):e.createCommentVNode("",!0),Object.values(t.state.current.socials).some(s=>s)?(e.openBlock(),e.createElementBlock("h4",P," Find Me in Socials ")):e.createCommentVNode("",!0),e.createVNode(b.default,{telegram:t.state.current.socials.telegram,facebook:t.state.current.socials.facebook,instagram:t.state.current.socials.instagram,twitter:t.state.current.socials.twitter,class:"mn-r-auto mn-l-auto"},null,8,["telegram","facebook","instagram","twitter"])]),a.state.access.roles&&a.state.user._id===e.unref(o).params._id&&(a.state.access.roles.includes("ROLE_MODERATOR")||a.state.access.roles.includes("ROLE_ADMIN"))?(e.openBlock(),e.createBlock(d.default,{key:1,class:"mn-regular bg-black t-white"},{default:e.withCtx(()=>[e.createVNode(l.default,{onClick:r[3]||(r[3]=s=>e.unref(n).push({name:"Backoffice",params:{_id:e.unref(o).params._id}})),class:"cursor-pointer",theme:"white"},{default:e.withCtx(()=>[F]),_:1})]),_:1})):e.createCommentVNode("",!0),e.createVNode(d.default,{class:"mn-regular bg-grey"},{default:e.withCtx(()=>[e.createVNode(l.default,{onClick:r[4]||(r[4]=s=>e.unref(n).push({name:"User Events",params:{_id:e.unref(o).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(V.default,{class:"i-semi",icon:!0}),j]),_:1}),e.createVNode(l.default,{onClick:r[5]||(r[5]=s=>e.unref(n).push({name:"User Organizations",params:{_id:e.unref(o).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(B.default,{class:"i-semi",icon:!0}),A]),_:1}),e.createVNode(l.default,{onClick:r[6]||(r[6]=s=>e.unref(n).push({name:"User Blogposts",params:{_id:e.unref(o).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(w.default,{class:"i-semi",icon:!0}),T]),_:1})]),_:1}),a.state.user._id===e.unref(o).params._id?(e.openBlock(),e.createBlock(d.default,{key:2,class:"bg-grey"},{default:e.withCtx(()=>[e.createVNode(l.default,{onClick:r[7]||(r[7]=s=>e.unref(n).push({name:"User Edit Profile",params:{_id:e.unref(o).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[z]),_:1}),e.createVNode(l.default,{onClick:r[8]||(r[8]=s=>e.unref(n).push({name:"Legal",params:{_id:e.unref(o).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[G]),_:1}),e.createVNode(l.default,{class:"cursor-pointer",onClick:r[9]||(r[9]=s=>_())},{default:e.withCtx(()=>[H]),_:1})]),_:1})):e.createCommentVNode("",!0)]))])):e.createCommentVNode("",!0)}};exports.default=J;
|
@@ -1,96 +1,96 @@
|
|
1
|
-
import { ref as
|
1
|
+
import { ref as $, onMounted as E, openBlock as a, createElementBlock as p, unref as r, createBlock as c, createCommentVNode as m, createElementVNode as n, withCtx as u, createVNode as l, toDisplayString as f, Fragment as U, renderList as C, normalizeClass as R } from "vue";
|
2
2
|
import "../../../../components/Field/Field.vue.js";
|
3
|
-
import "../../../../components/Button/Button.
|
4
|
-
import
|
5
|
-
import
|
6
|
-
import
|
3
|
+
import "../../../../components/Button/Button.vue.js";
|
4
|
+
import S from "../../../../components/Dropdown/Dropdown.vue.js";
|
5
|
+
import k from "../../../mobile/components/Menu/Menu.vue.js";
|
6
|
+
import _ from "../../../mobile/components/Menu/MenuItem.vue.js";
|
7
7
|
import w from "../../../organizations/components/elements/ButtonToggleMembership.vue.js";
|
8
|
-
import
|
9
|
-
import
|
10
|
-
import
|
11
|
-
import
|
12
|
-
import
|
8
|
+
import B from "../../../reports/components/sections/FormReport.vue.js";
|
9
|
+
import M from "../../../organizations/components/blocks/Socials.vue.js";
|
10
|
+
import O from "../sections/ProfileCompletion.vue.js";
|
11
|
+
import I from "../../../icons/entities/IconEvents.vue.js";
|
12
|
+
import L from "../../../icons/entities/IconGroups.vue.js";
|
13
13
|
import N from "../../../icons/entities/IconCommunity.vue.js";
|
14
14
|
import P from "../../../icons/navigation/IconEdit.vue.js";
|
15
15
|
import D from "../../../icons/placeholders/PlaceholderUserpic.vue.js";
|
16
16
|
import { useRoute as F, useRouter as V } from "vue-router";
|
17
17
|
import { state as i, actions as A } from "../../../auth/store/auth.js";
|
18
|
-
import { actions as j, state as
|
18
|
+
import { actions as j, state as e } from "../../store/users.js";
|
19
19
|
import { mutations as z } from "../../../organizations/store/memberships.js";
|
20
20
|
import "./Profile.vue2.js";
|
21
21
|
const G = {
|
22
22
|
key: 0,
|
23
23
|
class: "for-transition w-100"
|
24
|
-
},
|
24
|
+
}, T = {
|
25
25
|
key: 0,
|
26
26
|
class: "flex-center flex pd-medium radius-big bg-grey uppercase t-semi w-100 h-100"
|
27
|
-
},
|
27
|
+
}, q = {
|
28
28
|
key: 1,
|
29
29
|
_id: "dash",
|
30
30
|
class: "pd-b-extra pd-thin w-100"
|
31
|
-
},
|
31
|
+
}, H = { class: "flex-center flex flex-column t-center w-100 mn-semi radius-medium pd-medium bg-grey" }, J = { class: "bg-black pd-thin radius-small" }, K = /* @__PURE__ */ n("button", { class: "w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button" }, " Report ", -1), Q = ["src"], W = { class: "mn-thin" }, X = { class: "mn-thin t-main t-semi" }, Y = { class: "mn-small p-medium" }, Z = { class: "mn-medium flex-center flex-nowrap flex" }, ee = { class: "t-semi mn-small" }, se = {
|
32
32
|
key: 5,
|
33
33
|
class: "mn-t-small mn-thin"
|
34
|
-
}, re = /* @__PURE__ */ n("span", null, " Backoffice ", -1), te = /* @__PURE__ */ n("span", null, "Events", -1), ie = /* @__PURE__ */ n("span", null, "Groups", -1), oe = /* @__PURE__ */ n("span", null, "Posts", -1), ae = /* @__PURE__ */ n("span", null, "
|
34
|
+
}, re = /* @__PURE__ */ n("span", null, " Backoffice ", -1), te = /* @__PURE__ */ n("span", null, "Events", -1), ie = /* @__PURE__ */ n("span", null, "Groups", -1), oe = /* @__PURE__ */ n("span", null, "Posts", -1), ae = /* @__PURE__ */ n("span", null, " Settings ", -1), ne = /* @__PURE__ */ n("span", null, " About ", -1), le = /* @__PURE__ */ n("span", { class: "t-red" }, " Logout ", -1), Be = {
|
35
35
|
__name: "Profile",
|
36
|
-
setup(
|
37
|
-
const o = F(),
|
38
|
-
|
39
|
-
await j.read({ _id: o.params._id, user: i.user._id }),
|
36
|
+
setup(ue) {
|
37
|
+
const o = F(), d = V(), g = $(!1);
|
38
|
+
E(async () => {
|
39
|
+
await j.read({ _id: o.params._id, user: i.user._id }), g.value = !0;
|
40
40
|
});
|
41
|
-
const v = ({ membership:
|
42
|
-
z.handleMembershipUpdate(
|
41
|
+
const v = ({ membership: b, status: s, target: t }, h, x) => {
|
42
|
+
z.handleMembershipUpdate(e.current, b, s, t, h, x);
|
43
43
|
};
|
44
|
-
function
|
45
|
-
A.logout(),
|
44
|
+
function y() {
|
45
|
+
A.logout(), d.push({ name: "Sign In" });
|
46
46
|
}
|
47
|
-
return (
|
48
|
-
|
49
|
-
r(o).params._id === i.user._id &&
|
47
|
+
return (b, s) => g.value ? (a(), p("div", G, [
|
48
|
+
e.current.status === "removed" ? (a(), p("div", T, " Sorry, user has been removed. ")) : (a(), p("div", q, [
|
49
|
+
r(o).params._id === i.user._id && g.value ? (a(), c(O, {
|
50
50
|
key: 0,
|
51
51
|
user: i.user._id,
|
52
|
-
target:
|
52
|
+
target: e.current,
|
53
53
|
cta: !0
|
54
54
|
}, null, 8, ["user", "target"])) : m("", !0),
|
55
|
-
n("section",
|
56
|
-
r(o).params._id && r(o).params._id !== i.user._id ? (
|
55
|
+
n("section", H, [
|
56
|
+
r(o).params._id && r(o).params._id !== i.user._id ? (a(), c(S, {
|
57
57
|
key: 0,
|
58
58
|
label: "...",
|
59
59
|
align: "right",
|
60
60
|
class: "cursor-pointer pos-absolute pos-r-0 pos-t-0 pd-thin radius-extra"
|
61
61
|
}, {
|
62
62
|
default: u(() => [
|
63
|
-
n("section",
|
64
|
-
|
63
|
+
n("section", J, [
|
64
|
+
l(B, {
|
65
65
|
user: i.user._id,
|
66
66
|
type: "user",
|
67
|
-
target:
|
67
|
+
target: e.current._id,
|
68
68
|
text: "Report",
|
69
69
|
class: "w-100"
|
70
70
|
}, {
|
71
71
|
default: u(() => [
|
72
|
-
|
72
|
+
K
|
73
73
|
]),
|
74
74
|
_: 1
|
75
75
|
}, 8, ["user", "target"]),
|
76
|
-
i.user._id ? (
|
76
|
+
i.user._id ? (a(), c(w, {
|
77
77
|
key: 0,
|
78
78
|
user: i.user._id,
|
79
79
|
type: "user",
|
80
80
|
role: "blocked",
|
81
|
-
target:
|
82
|
-
status:
|
81
|
+
target: e.current._id,
|
82
|
+
status: e.current.isBlocked,
|
83
83
|
text: { create: "Block", remove: "Unblock" },
|
84
|
-
onUpdateMembership:
|
84
|
+
onUpdateMembership: s[0] || (s[0] = (t) => v(t, "isBlocked")),
|
85
85
|
class: "t-white mn-t-thin bg-red"
|
86
86
|
}, null, 8, ["user", "target", "status"])) : m("", !0)
|
87
87
|
])
|
88
88
|
]),
|
89
89
|
_: 1
|
90
90
|
}, 8, ["label"])) : m("", !0),
|
91
|
-
r(o).params._id === i.user._id ? (
|
91
|
+
r(o).params._id === i.user._id ? (a(), c(P, {
|
92
92
|
key: 1,
|
93
|
-
onClick:
|
93
|
+
onClick: s[1] || (s[1] = (t) => b.$router.push({
|
94
94
|
name: "User Edit Profile",
|
95
95
|
params: {
|
96
96
|
_id: i.user._id
|
@@ -98,50 +98,50 @@ const G = {
|
|
98
98
|
})),
|
99
99
|
class: "pos-absolute pos-t-regular pos-r-regular i-regular t-transp"
|
100
100
|
})) : m("", !0),
|
101
|
-
|
101
|
+
e.current.profile.photo.length > 0 ? (a(), p("img", {
|
102
102
|
key: 2,
|
103
|
-
src: (
|
103
|
+
src: (b.FILE_SERVER_URL || "") + e.current.profile.photo,
|
104
104
|
class: "radius-extra bg-white mn-small object-fit-cover i-extra"
|
105
|
-
}, null, 8,
|
105
|
+
}, null, 8, Q)) : (a(), c(D, {
|
106
106
|
key: 3,
|
107
107
|
class: "radius-medium mn-small i-extra"
|
108
108
|
})),
|
109
|
-
n("h3",
|
110
|
-
n("p", X, " @" + f(
|
111
|
-
n("p", Y, f(
|
109
|
+
n("h3", W, f(e.current.profile.name ? e.current.profile.name : "Not specified"), 1),
|
110
|
+
n("p", X, " @" + f(e.current.username ? e.current.username : "Not specified"), 1),
|
111
|
+
n("p", Y, f(e.current.profile.description ? e.current.profile.description : "Not specified"), 1),
|
112
112
|
n("div", Z, [
|
113
|
-
(
|
114
|
-
class:
|
113
|
+
(a(!0), p(U, null, C(e.current.roles, (t, h) => (a(), p("div", {
|
114
|
+
class: R(["pd-thin radius-small t-semi bg-white", { "mn-r-thin": h !== e.current.roles.length - 1 }])
|
115
115
|
}, f(t.icon) + " " + f(t.name), 3))), 256))
|
116
116
|
]),
|
117
|
-
n("p", ee, " 👨👨👧👧 " + f(
|
118
|
-
i.user._id && r(o).params._id && r(o).params._id !== i.user._id ? (
|
117
|
+
n("p", ee, " 👨👨👧👧 " + f(e.current.numberOfSubscribers) + " followers ", 1),
|
118
|
+
i.user._id && r(o).params._id && r(o).params._id !== i.user._id ? (a(), c(w, {
|
119
119
|
key: 4,
|
120
120
|
user: i.user._id,
|
121
121
|
type: "user",
|
122
122
|
role: "subscriber",
|
123
|
-
target:
|
124
|
-
status:
|
123
|
+
target: e.current._id,
|
124
|
+
status: e.current.isSubscriber,
|
125
125
|
text: { create: "Follow", remove: "Unfollow" },
|
126
|
-
onUpdateMembership:
|
126
|
+
onUpdateMembership: s[2] || (s[2] = (t) => v(t, "isSubscriber", "numberOfSubscribers")),
|
127
127
|
class: "w-min mn-medium mn-r-auto mn-l-auto"
|
128
128
|
}, null, 8, ["user", "target", "status"])) : m("", !0),
|
129
|
-
Object.values(
|
130
|
-
|
131
|
-
telegram:
|
132
|
-
facebook:
|
133
|
-
instagram:
|
134
|
-
twitter:
|
129
|
+
Object.values(e.current.socials).some((t) => t) ? (a(), p("h4", se, " Find Me in Socials ")) : m("", !0),
|
130
|
+
l(M, {
|
131
|
+
telegram: e.current.socials.telegram,
|
132
|
+
facebook: e.current.socials.facebook,
|
133
|
+
instagram: e.current.socials.instagram,
|
134
|
+
twitter: e.current.socials.twitter,
|
135
135
|
class: "mn-r-auto mn-l-auto"
|
136
136
|
}, null, 8, ["telegram", "facebook", "instagram", "twitter"])
|
137
137
|
]),
|
138
|
-
i.access.roles && i.user._id === r(o).params._id && (i.access.roles.includes("ROLE_MODERATOR") || i.access.roles.includes("ROLE_ADMIN")) ? (
|
138
|
+
i.access.roles && i.user._id === r(o).params._id && (i.access.roles.includes("ROLE_MODERATOR") || i.access.roles.includes("ROLE_ADMIN")) ? (a(), c(k, {
|
139
139
|
key: 1,
|
140
140
|
class: "mn-regular bg-black t-white"
|
141
141
|
}, {
|
142
142
|
default: u(() => [
|
143
|
-
|
144
|
-
onClick:
|
143
|
+
l(_, {
|
144
|
+
onClick: s[3] || (s[3] = (t) => r(d).push({
|
145
145
|
name: "Backoffice",
|
146
146
|
params: {
|
147
147
|
_id: r(o).params._id
|
@@ -158,14 +158,14 @@ const G = {
|
|
158
158
|
]),
|
159
159
|
_: 1
|
160
160
|
})) : m("", !0),
|
161
|
-
|
161
|
+
l(k, { class: "mn-regular bg-grey" }, {
|
162
162
|
default: u(() => [
|
163
|
-
|
164
|
-
onClick:
|
163
|
+
l(_, {
|
164
|
+
onClick: s[4] || (s[4] = (t) => r(d).push({ name: "User Events", params: { _id: r(o).params._id } })),
|
165
165
|
class: "cursor-pointer"
|
166
166
|
}, {
|
167
167
|
default: u(() => [
|
168
|
-
|
168
|
+
l(I, {
|
169
169
|
class: "i-semi",
|
170
170
|
icon: !0
|
171
171
|
}),
|
@@ -173,12 +173,12 @@ const G = {
|
|
173
173
|
]),
|
174
174
|
_: 1
|
175
175
|
}),
|
176
|
-
|
177
|
-
onClick:
|
176
|
+
l(_, {
|
177
|
+
onClick: s[5] || (s[5] = (t) => r(d).push({ name: "User Organizations", params: { _id: r(o).params._id } })),
|
178
178
|
class: "cursor-pointer"
|
179
179
|
}, {
|
180
180
|
default: u(() => [
|
181
|
-
|
181
|
+
l(L, {
|
182
182
|
class: "i-semi",
|
183
183
|
icon: !0
|
184
184
|
}),
|
@@ -186,12 +186,12 @@ const G = {
|
|
186
186
|
]),
|
187
187
|
_: 1
|
188
188
|
}),
|
189
|
-
|
190
|
-
onClick:
|
189
|
+
l(_, {
|
190
|
+
onClick: s[6] || (s[6] = (t) => r(d).push({ name: "User Blogposts", params: { _id: r(o).params._id } })),
|
191
191
|
class: "cursor-pointer"
|
192
192
|
}, {
|
193
193
|
default: u(() => [
|
194
|
-
|
194
|
+
l(N, {
|
195
195
|
class: "i-semi",
|
196
196
|
icon: !0
|
197
197
|
}),
|
@@ -202,31 +202,13 @@ const G = {
|
|
202
202
|
]),
|
203
203
|
_: 1
|
204
204
|
}),
|
205
|
-
|
206
|
-
default: u(() => [
|
207
|
-
a(p, {
|
208
|
-
onClick: e[7] || (e[7] = (t) => r(c).push({ name: "User Wallet", params: { _id: r(o).params._id } })),
|
209
|
-
class: "cursor-pointer"
|
210
|
-
}, {
|
211
|
-
default: u(() => [
|
212
|
-
a(y, {
|
213
|
-
class: "i-semi",
|
214
|
-
icon: !0
|
215
|
-
}),
|
216
|
-
ae
|
217
|
-
]),
|
218
|
-
_: 1
|
219
|
-
})
|
220
|
-
]),
|
221
|
-
_: 1
|
222
|
-
}),
|
223
|
-
i.user._id === r(o).params._id ? (l(), d(b, {
|
205
|
+
i.user._id === r(o).params._id ? (a(), c(k, {
|
224
206
|
key: 2,
|
225
207
|
class: "bg-grey"
|
226
208
|
}, {
|
227
209
|
default: u(() => [
|
228
|
-
|
229
|
-
onClick:
|
210
|
+
l(_, {
|
211
|
+
onClick: s[7] || (s[7] = (t) => r(d).push({
|
230
212
|
name: "User Edit Profile",
|
231
213
|
params: {
|
232
214
|
_id: r(o).params._id
|
@@ -235,12 +217,12 @@ const G = {
|
|
235
217
|
class: "cursor-pointer"
|
236
218
|
}, {
|
237
219
|
default: u(() => [
|
238
|
-
|
220
|
+
ae
|
239
221
|
]),
|
240
222
|
_: 1
|
241
223
|
}),
|
242
|
-
|
243
|
-
onClick:
|
224
|
+
l(_, {
|
225
|
+
onClick: s[8] || (s[8] = (t) => r(d).push({
|
244
226
|
name: "Legal",
|
245
227
|
params: {
|
246
228
|
_id: r(o).params._id
|
@@ -249,16 +231,16 @@ const G = {
|
|
249
231
|
class: "cursor-pointer"
|
250
232
|
}, {
|
251
233
|
default: u(() => [
|
252
|
-
|
234
|
+
ne
|
253
235
|
]),
|
254
236
|
_: 1
|
255
237
|
}),
|
256
|
-
|
238
|
+
l(_, {
|
257
239
|
class: "cursor-pointer",
|
258
|
-
onClick:
|
240
|
+
onClick: s[9] || (s[9] = (t) => y())
|
259
241
|
}, {
|
260
242
|
default: u(() => [
|
261
|
-
|
243
|
+
le
|
262
244
|
]),
|
263
245
|
_: 1
|
264
246
|
})
|
@@ -270,5 +252,5 @@ const G = {
|
|
270
252
|
}
|
271
253
|
};
|
272
254
|
export {
|
273
|
-
|
255
|
+
Be as default
|
274
256
|
};
|
package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router"),i=require("../../../../components/Tab/Tab.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router"),i=require("../../../../components/Tab/Tab.vue2.cjs"),u=require("../../../community/components/sections/Feed.vue.cjs"),o=require("../../../auth/store/auth.cjs"),m={class:"pd-thin"},p={class:"mn-medium flex-v-center flex-nowrap flex"},f=e.createElementVNode("h2",{class:"mn-r-medium"},"Posts",-1),_={__name:"ProfileBlogposts",setup(k){const t=n.useRoute(),c=n.useRouter();let d=t.query.tab?t.query.tab:"posts";const r=e.ref(d);return t.query.tab=r.value,e.watch(r,a=>{c.replace({query:{...t.query,tab:a}})}),(a,s)=>(e.openBlock(),e.createElementBlock("div",m,[e.createElementVNode("header",p,[f,o.state.user._id===e.unref(t).params._id?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:s[0]||(s[0]=l=>a.$router.push({name:"Create BlogPost"})),class:"radius-100p i-big hover-scale-1 cursor-pointer t-white bg-second"}," + ")):e.createCommentVNode("",!0)]),o.state.user._id===e.unref(t).params._id?(e.openBlock(),e.createBlock(i.default,{key:0,selected:r.value,"onUpdate:selected":s[1]||(s[1]=l=>r.value=l),tabs:[{name:"My posts",value:"posts"},{name:"Drafts",value:"drafts"},{name:"Following",value:"following"}],class:"mn-small o-hidden h5 radius-big bg-grey"},null,8,["selected"])):e.createCommentVNode("",!0),r.value==="posts"?(e.openBlock(),e.createBlock(u.default,{key:1,user:o.state.user._id,creator:e.unref(t).params._id},null,8,["user","creator"])):e.createCommentVNode("",!0),r.value==="drafts"?(e.openBlock(),e.createBlock(u.default,{key:2,user:o.state.user._id,creator:e.unref(t).params._id,status:"draft"},null,8,["user","creator"])):e.createCommentVNode("",!0),r.value==="following"?(e.openBlock(),e.createBlock(u.default,{key:3,user:o.state.user._id,following:e.unref(t).params._id},null,8,["user","following"])):e.createCommentVNode("",!0)]))}};exports.default=_;
|
package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ref as _, watch as g, openBlock as t, createElementBlock as d, createElementVNode as c, unref as s, createCommentVNode as o, createBlock as l } from "vue";
|
2
2
|
import { useRoute as v, useRouter as b } from "vue-router";
|
3
|
-
import y from "../../../../components/Tab/Tab.
|
3
|
+
import y from "../../../../components/Tab/Tab.vue2.js";
|
4
4
|
import i from "../../../community/components/sections/Feed.vue.js";
|
5
5
|
import { state as a } from "../../../auth/store/auth.js";
|
6
6
|
const h = { class: "pd-thin" }, k = { class: "mn-medium flex-v-center flex-nowrap flex" }, w = /* @__PURE__ */ c("h2", { class: "mn-r-medium" }, "Posts", -1), E = {
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../../../node_modules/js-cookie/src/js.cookie.cjs");require("../../../../components/Tab/Tab.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../../../node_modules/js-cookie/src/js.cookie.cjs");require("../../../../components/Tab/Tab.vue.cjs");const i=require("../../../../components/Field/Field.vue2.cjs"),m=require("../../../../components/Button/Button.vue2.cjs"),b=require("../../../../components/UploadImage/UploadImage.vue.cjs"),g=require("../sections/ProfileCompletion.vue.cjs"),c=require("vue-router"),r=require("../../../auth/store/auth.cjs"),o=require("../../store/users.cjs");require("../../../middlewares/client/inputs.validation.cjs");require("./ProfileEdit.vue2.cjs");const N={class:"pd-medium for-transition w-100"},V=e.createElementVNode("h3",{class:"mn-small"},"Username",-1),w=e.createElementVNode("p",{class:"mn-semi"},"Your username will be used for URL of profile like thecommunephuket/users/username",-1),y=e.createElementVNode("h3",{class:"mn-small"},"Profile",-1),_={class:"mn-thin radius-small w-100 h-10r bg-grey flex-center flex-column flex"},U=e.createElementVNode("h4",null,"Upload userpic",-1),k=e.createElementVNode("h3",{class:"mn-small"},"Socials",-1),q=e.createElementVNode("p",{class:"mn-thin"},"Please provide only the username for social media profiles, without full links.",-1),E=e.createElementVNode("h3",{class:"mn-small"},"Account",-1),P={__name:"ProfileEdit",async setup(S){let n,d;e.ref(null);const f=c.useRoute(),u=c.useRouter();[n,d]=e.withAsyncContext(()=>o.actions.read({_id:r.state.user._id})),await n,d();const l=e.ref(o.state.current);async function p(){await o.actions.update(o.state.current)}async function h(){window.confirm("Are you sure you want to delete your account? Restoration will be possible only with the help of an administrator.")&&(o.state.current.status="removed",await o.actions.update(o.state.current),r.actions.logout())}function v(){u.replace({name:"User Profile",params:{_id:o.state.current._id}})}return(s,a)=>(e.openBlock(),e.createElementBlock("div",N,[e.unref(f).params._id===r.state.user._id?(e.openBlock(),e.createBlock(g.default,{key:0,user:r.state.user._id,target:l.value,cta:!1},null,8,["user","target"])):e.createCommentVNode("",!0),V,e.createVNode(i.default,{field:l.value.username,"onUpdate:field":a[0]||(a[0]=t=>l.value.username=t),label:"@",placeholder:"Not specified",class:"mn-thin w-100 bg-grey pd-medium radius-small",disabled:"true",validation:s.organizationName},null,8,["field","validation"]),w,y,e.createElementVNode("div",_,[e.createVNode(b.default,{photo:l.value.profile.photo,"onUpdate:photo":a[1]||(a[1]=t=>l.value.profile.photo=t),uploadPath:"users/"+l.value._id+"/avatars",class:"h-4r w-4r aspect-1x1 o-hidden bg-white mn-thin radius-extra"},null,8,["photo","uploadPath"]),U]),e.createVNode(i.default,{field:l.value.profile.name,"onUpdate:field":a[2]||(a[2]=t=>l.value.profile.name=t),label:"Name",placeholder:"Not specified",class:"mn-thin bg-grey pd-medium radius-small",validation:s.organizationName},null,8,["field","validation"]),e.createVNode(i.default,{field:l.value.profile.description,"onUpdate:field":a[3]||(a[3]=t=>l.value.profile.description=t),label:"Description",placeholder:"Not specified",class:"mn-semi bg-grey pd-medium radius-small",disabled:"true",validation:s.organizationName},null,8,["field","validation"]),k,q,e.createVNode(i.default,{field:l.value.socials.instagram,"onUpdate:field":a[4]||(a[4]=t=>l.value.socials.instagram=t),label:"Instagram",placeholder:"",class:"mn-thin bg-grey pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:l.value.socials.twitter,"onUpdate:field":a[5]||(a[5]=t=>l.value.socials.twitter=t),label:"Twitter",placeholder:"",class:"mn-thin bg-grey pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:l.value.socials.facebook,"onUpdate:field":a[6]||(a[6]=t=>l.value.socials.facebook=t),label:"Facebook",placeholder:"",class:"mn-thin bg-grey pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:l.value.socials.telegram,"onUpdate:field":a[7]||(a[7]=t=>l.value.socials.telegram=t),label:"Telegram",placeholder:"",class:"mn-semi bg-grey pd-medium radius-small"},null,8,["field"]),E,e.createVNode(i.default,{field:l.value.phone,"onUpdate:field":a[8]||(a[8]=t=>l.value.phone=t),label:"Phone",placeholder:"Not specified",class:"mn-thin bg-grey pd-medium mn-thin radius-small",disabled:"true",validation:s.organizationName},null,8,["field","validation"]),e.createVNode(i.default,{field:l.value.email,"onUpdate:field":a[9]||(a[9]=t=>l.value.email=t),label:"Email",placeholder:"Not specified",class:"mn-semi bg-grey pd-medium radius-small",disabled:!0,validation:s.organizationName},null,8,["field","validation"]),e.createVNode(m.default,{submit:p,callback:v,class:"mn-thin"},{default:e.withCtx(()=>[e.createTextVNode("Save")]),_:1}),e.createVNode(m.default,{submit:h,callback:s.a=()=>{e.unref(u).push({name:"Sign In"})},class:"mn-thin bg-red t-white"},{default:e.withCtx(()=>[e.createTextVNode("Delete Account")]),_:1},8,["callback"])]))}};exports.default=P;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { ref as f, withAsyncContext as U, openBlock as c, createElementBlock as k, unref as h, createBlock as P, createCommentVNode as z, createVNode as i, createElementVNode as o, withCtx as b, createTextVNode as v } from "vue";
|
2
2
|
import "../../../../../../node_modules/js-cookie/src/js.cookie.js";
|
3
|
-
import "../../../../components/Tab/Tab.
|
3
|
+
import "../../../../components/Tab/Tab.vue.js";
|
4
4
|
import t from "../../../../components/Field/Field.vue2.js";
|
5
|
-
import g from "../../../../components/Button/Button.
|
5
|
+
import g from "../../../../components/Button/Button.vue2.js";
|
6
6
|
import S from "../../../../components/UploadImage/UploadImage.vue.js";
|
7
7
|
import $ from "../sections/ProfileCompletion.vue.js";
|
8
8
|
import { useRoute as x, useRouter as A } from "vue-router";
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("vue-router"),d=require("../../../../components/Tab/Tab.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("vue-router"),d=require("../../../../components/Tab/Tab.vue2.cjs"),l=require("../../../events/components/sections/Feed.vue.cjs"),n=require("../../../auth/store/auth.cjs"),m={class:"pd-thin"},p={class:"mn-medium flex-v-center flex-nowrap flex"},_=e.createElementVNode("h2",{class:"mn-r-medium"}," Events ",-1),v={__name:"ProfileEvents",setup(b){const t=c.useRoute(),o=c.useRouter();let i=t.query.tab?t.query.tab:"owner";const r=e.ref(i);return t.query.tab=r.value,e.watch(r,s=>{o.replace({query:{...t.query,tab:s}})}),(s,a)=>(e.openBlock(),e.createElementBlock("div",m,[e.createElementVNode("header",p,[_,n.state.user._id===e.unref(t).params._id?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:a[0]||(a[0]=u=>e.unref(o).push({name:"Create Event"})),class:"radius-100p i-big hover-scale-1 cursor-pointer t-white bg-second"}," + ")):e.createCommentVNode("",!0)]),e.createVNode(d.default,{selected:r.value,"onUpdate:selected":a[1]||(a[1]=u=>r.value=u),tabs:[{name:"My",value:"owner"},{name:"Participant",value:"participant"}],class:"mn-small o-hidden h5 radius-big bg-grey"},null,8,["selected"]),r.value==="owner"?(e.openBlock(),e.createBlock(l.default,{key:0,user:n.state.user._id,creator:e.unref(t).params._id,sortOrder:"asc"},null,8,["user","creator"])):e.createCommentVNode("",!0),r.value==="participant"?(e.openBlock(),e.createBlock(l.default,{key:1,user:n.state.user._id,participant:e.unref(t).params._id,sortOrder:"desc"},null,8,["user","participant"])):e.createCommentVNode("",!0)]))}};exports.default=v;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ref as f, watch as v, openBlock as a, createElementBlock as l, createElementVNode as p, unref as s, createCommentVNode as o, createVNode as b, createBlock as m } from "vue";
|
2
2
|
import { useRoute as y, useRouter as h } from "vue-router";
|
3
|
-
import k from "../../../../components/Tab/Tab.
|
3
|
+
import k from "../../../../components/Tab/Tab.vue2.js";
|
4
4
|
import d from "../../../events/components/sections/Feed.vue.js";
|
5
5
|
import { state as n } from "../../../auth/store/auth.js";
|
6
6
|
const g = { class: "pd-thin" }, w = { class: "mn-medium flex-v-center flex-nowrap flex" }, q = /* @__PURE__ */ p("h2", { class: "mn-r-medium" }, " Events ", -1), V = {
|
package/dist/prometheus-framework/src/modules/users/components/pages/ProfileOrganizations.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router"),c=require("../../../../components/Tab/Tab.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router"),c=require("../../../../components/Tab/Tab.vue2.cjs"),l=require("../../../organizations/components/sections/Feed.vue.cjs"),u=require("../../../auth/store/auth.cjs"),m={class:"pd-thin"},b={class:"mn-medium flex-v-center flex-nowrap flex"},f=e.createElementVNode("h2",{class:"mn-r-medium"},"Groups",-1),p={__name:"ProfileOrganizations",setup(_){const r=n.useRoute(),i=n.useRouter();let d=r.query.tab?r.query.tab:"member";const t=e.ref(d);return r.query.tab=t.value,e.watch(t,o=>{i.replace({query:{...r.query,tab:o}})}),(o,a)=>(e.openBlock(),e.createElementBlock("div",m,[e.createElementVNode("header",b,[f,u.state.user._id===e.unref(r).params._id?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:a[0]||(a[0]=s=>o.$router.push({name:"Create Organization"})),class:"radius-100p i-big hover-scale-1 cursor-pointer t-white bg-second"}," + ")):e.createCommentVNode("",!0)]),e.createVNode(c.default,{selected:t.value,"onUpdate:selected":a[1]||(a[1]=s=>t.value=s),tabs:[{name:"Member",value:"member"},{name:"Follower",value:"follower"}],class:"mn-medium mn-r-medium o-hidden h5 radius-big bg-grey"},null,8,["selected"]),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[t.value==="member"?(e.openBlock(),e.createBlock(l.default,{key:0,user:u.state.user._id,owner:e.unref(r).params._id},null,8,["user","owner"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[t.value==="follower"?(e.openBlock(),e.createBlock(l.default,{key:0,user:u.state.user._id,subscriber:e.unref(r).params._id},null,8,["user","subscriber"])):e.createCommentVNode("",!0)]),_:1})]))}};exports.default=p;
|