@ozdao/prometheus-framework 0.2.51 → 0.2.52

Sign up to get free protection for your applications and to get access to all the features.
Files changed (183) hide show
  1. package/dist/main-482dc398.mjs +13626 -0
  2. package/dist/main-b2JI9sFg.js +91 -0
  3. package/dist/main-c56d4c09.js +91 -0
  4. package/dist/main-x-9D8zvb.mjs +13604 -0
  5. package/dist/main.css +1 -1
  6. package/dist/organizations.server.js +2 -2
  7. package/dist/organizations.server.mjs +2 -2
  8. package/dist/products.server.js +20 -7
  9. package/dist/products.server.mjs +20 -7
  10. package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
  11. package/dist/prometheus-framework/src/components/Button/Button.vue.js +223 -2
  12. package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
  13. package/dist/prometheus-framework/src/components/Button/Button.vue2.js +2 -225
  14. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
  15. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +19 -19
  16. package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
  17. package/dist/prometheus-framework/src/components/Field/Field.vue.js +76 -2
  18. package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
  19. package/dist/prometheus-framework/src/components/Field/Field.vue2.js +2 -76
  20. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
  21. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +1 -1
  22. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
  23. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +2 -2
  24. package/dist/prometheus-framework/src/components/Map/Map.vue.cjs +1 -1
  25. package/dist/prometheus-framework/src/components/Map/Map.vue.js +35 -2
  26. package/dist/prometheus-framework/src/components/Map/Map.vue2.cjs +1 -1
  27. package/dist/prometheus-framework/src/components/Map/Map.vue2.js +2 -35
  28. package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +1 -1
  29. package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +44 -2
  30. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
  31. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +2 -44
  32. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
  33. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +3 -3
  34. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
  35. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +1 -1
  36. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  37. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +3 -3
  38. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  39. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +3 -3
  40. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
  41. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +3 -3
  42. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  43. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +3 -3
  44. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  45. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +3 -3
  46. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  47. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  48. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  49. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
  50. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
  51. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -1
  52. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  53. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  54. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  55. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +2 -2
  56. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  57. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +1 -1
  58. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  59. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +2 -2
  60. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  61. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +2 -2
  62. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.cjs +1 -0
  63. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.js +37 -0
  64. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  65. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
  66. package/dist/prometheus-framework/src/modules/icons/entities/IconShopcart.vue.cjs +1 -1
  67. package/dist/prometheus-framework/src/modules/icons/entities/IconShopcart.vue.js +21 -14
  68. package/dist/prometheus-framework/src/modules/icons/navigation/IconSearch.vue.cjs +1 -0
  69. package/dist/prometheus-framework/src/modules/icons/navigation/IconSearch.vue.js +24 -0
  70. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  71. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +3 -3
  72. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
  73. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +2 -11
  74. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
  75. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +11 -2
  76. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.cjs +1 -1
  77. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.js +1 -1
  78. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  79. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +1 -1
  80. package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.cjs +1 -1
  81. package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.js +1 -1
  82. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
  83. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +49 -101
  84. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +25 -25
  85. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  86. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +68 -39
  87. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue.cjs +1 -1
  88. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue.js +38 -48
  89. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  90. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  91. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
  92. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +69 -62
  93. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  94. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +134 -129
  95. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  96. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +2 -2
  97. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  98. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +117 -146
  99. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  100. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +3 -3
  101. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  102. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
  103. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  104. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +2 -2
  105. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
  106. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +13 -13
  107. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  108. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +2 -2
  109. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  110. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +3 -3
  111. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  112. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  113. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
  114. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
  115. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
  116. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +1 -1
  117. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  118. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +44 -44
  119. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  120. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
  121. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  122. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +3 -3
  123. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
  124. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +64 -51
  125. package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.cjs +1 -1
  126. package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.js +1 -1
  127. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -1
  128. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +1 -1
  129. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  130. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +2 -2
  131. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  132. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +22 -23
  133. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  134. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
  135. package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
  136. package/dist/prometheus-framework/src/modules/products/store/products.js +23 -23
  137. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  138. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +1 -1
  139. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  140. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
  141. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  142. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +3 -3
  143. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  144. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
  145. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  146. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +3 -3
  147. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
  148. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
  149. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
  150. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +1 -1
  151. package/dist/prometheus-framework.cjs.js +1 -1
  152. package/dist/prometheus-framework.es.js +1 -1
  153. package/dist/style.css +1 -1
  154. package/dist/web-6dcbb74b.mjs +55 -0
  155. package/dist/web-caJAdsxy.js +1 -0
  156. package/dist/web-ee302c1d.js +1 -0
  157. package/dist/web-i08OVMw9.mjs +55 -0
  158. package/package.json +1 -1
  159. package/src/components/Button/Button.vue +3 -3
  160. package/src/components/Feed/Feed.vue +2 -1
  161. package/src/components/LocationMarker/LocationMarker.vue +1 -0
  162. package/src/modules/applications/applications.client.js +0 -1
  163. package/src/modules/globals/components/blocks/BlockSearch.vue +42 -0
  164. package/src/modules/icons/entities/IconProfile.vue +10 -1
  165. package/src/modules/icons/entities/IconShopcart.vue +12 -2
  166. package/src/modules/marketplace/components/layouts/Marketplace.vue +7 -14
  167. package/src/modules/mobile/components/NavigationBar/NavigationBar.vue +27 -7
  168. package/src/modules/orders/components/partials/ShopCart.vue +4 -1
  169. package/src/modules/organizations/components/blocks/CardDepartment.vue +34 -66
  170. package/src/modules/organizations/components/blocks/DepartmentMemberModify.vue +50 -13
  171. package/src/modules/organizations/components/blocks/User.vue +18 -9
  172. package/src/modules/organizations/components/pages/Department.vue +19 -3
  173. package/src/modules/organizations/components/pages/DepartmentEdit.vue +14 -10
  174. package/src/modules/organizations/components/pages/Organization.vue +38 -71
  175. package/src/modules/organizations/components/sections/Feed.vue +1 -1
  176. package/src/modules/organizations/controllers/memberships.controller.js +2 -2
  177. package/src/modules/organizations/controllers/organizations.controller.js +0 -1
  178. package/src/modules/products/components/pages/EditLeftover.vue +6 -4
  179. package/src/modules/products/components/pages/Products.vue +58 -38
  180. package/src/modules/products/components/sections/FilterProducts.vue +5 -5
  181. package/src/modules/products/controllers/leftovers.controller.js +12 -5
  182. package/src/modules/products/controllers/products.controller.js +18 -0
  183. package/src/modules/products/store/products.js +4 -0
@@ -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.vue.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(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;
@@ -3,7 +3,7 @@ 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";
5
5
  import R from "../../../../components/Dropdown/Dropdown.vue.js";
6
- import "../../../../components/Button/Button.vue.js";
6
+ import "../../../../components/Button/Button.vue2.js";
7
7
  import "../../../auth/store/auth.js";
8
8
  import "../../../organizations/store/memberships.js";
9
9
  import z from "../../../icons/navigation/IconEllipsis.vue.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t=require("../../../../../_virtual/_plugin-vue_export-helper.cjs"),o={},C={width:"49",height:"49",viewBox:"0 0 49 49",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n=e.createElementVNode("path",{d:"M43.6479 32.1117C44.7969 31.1767 45.5809 29.8596 45.8562 28.404L48.8334 12.6366L13.0939 9.60262L12.5743 5.71378C12.3618 4.12526 11.5726 2.67323 10.3521 1.62504C9.131 0.577364 7.55684 0 5.91995 0H0.127808V3.05678H5.91943C7.7435 3.05678 9.23937 4.34089 9.47632 6.11052L13.2038 34.0001C13.4164 35.5886 14.2055 37.0411 15.4256 38.0898C16.6461 39.139 18.2203 39.7169 19.8577 39.7169H44.7404V36.6601H19.8577C18.0336 36.6601 16.5377 35.3745 16.3008 33.6038L16.2951 33.5622H39.5181C41.0326 33.5617 42.4989 33.0468 43.6479 32.1117ZM13.5087 12.7061L45.1365 15.391L42.7841 27.8484C42.4886 29.4126 41.1462 30.5049 39.5191 30.5049H15.887L13.5087 12.7061ZM22.166 40.4556C19.8416 40.4556 17.9506 42.3059 17.9506 44.5809C17.9506 46.8553 19.8416 48.7056 22.166 48.7056C24.4905 48.7056 26.3819 46.8553 26.3819 44.5809C26.3814 42.3059 24.4905 40.4556 22.166 40.4556ZM22.166 45.6488C21.5641 45.6488 21.0741 45.1694 21.0741 44.5803C21.0741 43.9913 21.5641 43.5119 22.166 43.5119C22.768 43.5119 23.258 43.9913 23.258 44.5803C23.2575 45.1699 22.768 45.6488 22.166 45.6488ZM37.3243 40.4556C34.9999 40.4556 33.1084 42.3059 33.1084 44.5809C33.1084 46.8553 34.9994 48.7056 37.3243 48.7056C39.6503 48.7056 41.5428 46.8553 41.5428 44.5809C41.5428 42.3059 39.6508 40.4556 37.3243 40.4556ZM37.3243 45.6488C36.7223 45.6488 36.2324 45.1694 36.2324 44.5803C36.2324 43.9913 36.7223 43.5119 37.3243 43.5119C37.9279 43.5119 38.4189 43.9913 38.4189 44.5803C38.4189 45.1699 37.9279 45.6488 37.3243 45.6488Z",fill:"rgb(var(--black))"},null,-1),r=[n];function c(s,i){return e.openBlock(),e.createElementBlock("svg",C,r)}const l=t.default(o,[["render",c]]);exports.default=l;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),C={width:"49",height:"49",viewBox:"0 0 49 49",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s=["fill"],o={__name:"IconShopcart",props:{fill:{type:String,default:"rgb(var(--black))"}},setup(t){return(l,r)=>(e.openBlock(),e.createElementBlock("svg",C,[e.createElementVNode("path",{fill:t.fill,class:e.normalizeClass(l.$attrs.class),d:"M43.6479 32.1117C44.7969 31.1767 45.5809 29.8596 45.8562 28.404L48.8334 12.6366L13.0939 9.60262L12.5743 5.71378C12.3618 4.12526 11.5726 2.67323 10.3521 1.62504C9.131 0.577364 7.55684 0 5.91995 0H0.127808V3.05678H5.91943C7.7435 3.05678 9.23937 4.34089 9.47632 6.11052L13.2038 34.0001C13.4164 35.5886 14.2055 37.0411 15.4256 38.0898C16.6461 39.139 18.2203 39.7169 19.8577 39.7169H44.7404V36.6601H19.8577C18.0336 36.6601 16.5377 35.3745 16.3008 33.6038L16.2951 33.5622H39.5181C41.0326 33.5617 42.4989 33.0468 43.6479 32.1117ZM13.5087 12.7061L45.1365 15.391L42.7841 27.8484C42.4886 29.4126 41.1462 30.5049 39.5191 30.5049H15.887L13.5087 12.7061ZM22.166 40.4556C19.8416 40.4556 17.9506 42.3059 17.9506 44.5809C17.9506 46.8553 19.8416 48.7056 22.166 48.7056C24.4905 48.7056 26.3819 46.8553 26.3819 44.5809C26.3814 42.3059 24.4905 40.4556 22.166 40.4556ZM22.166 45.6488C21.5641 45.6488 21.0741 45.1694 21.0741 44.5803C21.0741 43.9913 21.5641 43.5119 22.166 43.5119C22.768 43.5119 23.258 43.9913 23.258 44.5803C23.2575 45.1699 22.768 45.6488 22.166 45.6488ZM37.3243 40.4556C34.9999 40.4556 33.1084 42.3059 33.1084 44.5809C33.1084 46.8553 34.9994 48.7056 37.3243 48.7056C39.6503 48.7056 41.5428 46.8553 41.5428 44.5809C41.5428 42.3059 39.6508 40.4556 37.3243 40.4556ZM37.3243 45.6488C36.7223 45.6488 36.2324 45.1694 36.2324 44.5803C36.2324 43.9913 36.7223 43.5119 37.3243 43.5119C37.9279 43.5119 38.4189 43.9913 38.4189 44.5803C38.4189 45.1699 37.9279 45.6488 37.3243 45.6488Z"},null,10,s)]))}};exports.default=o;
@@ -1,21 +1,28 @@
1
- import { openBlock as t, createElementBlock as e, createElementVNode as C } from "vue";
2
- import o from "../../../../../_virtual/_plugin-vue_export-helper.js";
3
- const c = {}, n = {
1
+ import { openBlock as e, createElementBlock as l, createElementVNode as o, normalizeClass as s } from "vue";
2
+ const a = {
4
3
  width: "49",
5
4
  height: "49",
6
5
  viewBox: "0 0 49 49",
7
6
  fill: "none",
8
7
  xmlns: "http://www.w3.org/2000/svg"
9
- }, r = /* @__PURE__ */ C("path", {
10
- d: "M43.6479 32.1117C44.7969 31.1767 45.5809 29.8596 45.8562 28.404L48.8334 12.6366L13.0939 9.60262L12.5743 5.71378C12.3618 4.12526 11.5726 2.67323 10.3521 1.62504C9.131 0.577364 7.55684 0 5.91995 0H0.127808V3.05678H5.91943C7.7435 3.05678 9.23937 4.34089 9.47632 6.11052L13.2038 34.0001C13.4164 35.5886 14.2055 37.0411 15.4256 38.0898C16.6461 39.139 18.2203 39.7169 19.8577 39.7169H44.7404V36.6601H19.8577C18.0336 36.6601 16.5377 35.3745 16.3008 33.6038L16.2951 33.5622H39.5181C41.0326 33.5617 42.4989 33.0468 43.6479 32.1117ZM13.5087 12.7061L45.1365 15.391L42.7841 27.8484C42.4886 29.4126 41.1462 30.5049 39.5191 30.5049H15.887L13.5087 12.7061ZM22.166 40.4556C19.8416 40.4556 17.9506 42.3059 17.9506 44.5809C17.9506 46.8553 19.8416 48.7056 22.166 48.7056C24.4905 48.7056 26.3819 46.8553 26.3819 44.5809C26.3814 42.3059 24.4905 40.4556 22.166 40.4556ZM22.166 45.6488C21.5641 45.6488 21.0741 45.1694 21.0741 44.5803C21.0741 43.9913 21.5641 43.5119 22.166 43.5119C22.768 43.5119 23.258 43.9913 23.258 44.5803C23.2575 45.1699 22.768 45.6488 22.166 45.6488ZM37.3243 40.4556C34.9999 40.4556 33.1084 42.3059 33.1084 44.5809C33.1084 46.8553 34.9994 48.7056 37.3243 48.7056C39.6503 48.7056 41.5428 46.8553 41.5428 44.5809C41.5428 42.3059 39.6508 40.4556 37.3243 40.4556ZM37.3243 45.6488C36.7223 45.6488 36.2324 45.1694 36.2324 44.5803C36.2324 43.9913 36.7223 43.5119 37.3243 43.5119C37.9279 43.5119 38.4189 43.9913 38.4189 44.5803C38.4189 45.1699 37.9279 45.6488 37.3243 45.6488Z",
11
- fill: "rgb(var(--black))"
12
- }, null, -1), s = [
13
- r
14
- ];
15
- function _(l, i) {
16
- return t(), e("svg", n, s);
17
- }
18
- const d = /* @__PURE__ */ o(c, [["render", _]]);
8
+ }, n = ["fill"], i = {
9
+ __name: "IconShopcart",
10
+ props: {
11
+ fill: {
12
+ type: String,
13
+ default: "rgb(var(--black))"
14
+ }
15
+ },
16
+ setup(t) {
17
+ return (C, r) => (e(), l("svg", a, [
18
+ o("path", {
19
+ fill: t.fill,
20
+ class: s(C.$attrs.class),
21
+ d: "M43.6479 32.1117C44.7969 31.1767 45.5809 29.8596 45.8562 28.404L48.8334 12.6366L13.0939 9.60262L12.5743 5.71378C12.3618 4.12526 11.5726 2.67323 10.3521 1.62504C9.131 0.577364 7.55684 0 5.91995 0H0.127808V3.05678H5.91943C7.7435 3.05678 9.23937 4.34089 9.47632 6.11052L13.2038 34.0001C13.4164 35.5886 14.2055 37.0411 15.4256 38.0898C16.6461 39.139 18.2203 39.7169 19.8577 39.7169H44.7404V36.6601H19.8577C18.0336 36.6601 16.5377 35.3745 16.3008 33.6038L16.2951 33.5622H39.5181C41.0326 33.5617 42.4989 33.0468 43.6479 32.1117ZM13.5087 12.7061L45.1365 15.391L42.7841 27.8484C42.4886 29.4126 41.1462 30.5049 39.5191 30.5049H15.887L13.5087 12.7061ZM22.166 40.4556C19.8416 40.4556 17.9506 42.3059 17.9506 44.5809C17.9506 46.8553 19.8416 48.7056 22.166 48.7056C24.4905 48.7056 26.3819 46.8553 26.3819 44.5809C26.3814 42.3059 24.4905 40.4556 22.166 40.4556ZM22.166 45.6488C21.5641 45.6488 21.0741 45.1694 21.0741 44.5803C21.0741 43.9913 21.5641 43.5119 22.166 43.5119C22.768 43.5119 23.258 43.9913 23.258 44.5803C23.2575 45.1699 22.768 45.6488 22.166 45.6488ZM37.3243 40.4556C34.9999 40.4556 33.1084 42.3059 33.1084 44.5809C33.1084 46.8553 34.9994 48.7056 37.3243 48.7056C39.6503 48.7056 41.5428 46.8553 41.5428 44.5809C41.5428 42.3059 39.6508 40.4556 37.3243 40.4556ZM37.3243 45.6488C36.7223 45.6488 36.2324 45.1694 36.2324 44.5803C36.2324 43.9913 36.7223 43.5119 37.3243 43.5119C37.9279 43.5119 38.4189 43.9913 38.4189 44.5803C38.4189 45.1699 37.9279 45.6488 37.3243 45.6488Z"
22
+ }, null, 10, n)
23
+ ]));
24
+ }
25
+ };
19
26
  export {
20
- d as default
27
+ i as default
21
28
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),l={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},c=["fill"],o={__name:"IconSearch",props:{fill:{type:String,default:"rgb(var(--black))"}},setup(t){return(r,n)=>(e.openBlock(),e.createElementBlock("svg",l,[e.createElementVNode("path",{fill:t.fill,d:"M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6 .1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"},null,8,c)]))}};exports.default=o;
@@ -0,0 +1,24 @@
1
+ import { openBlock as t, createElementBlock as c, createElementVNode as l } from "vue";
2
+ const o = {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ viewBox: "0 0 512 512"
5
+ }, r = ["fill"], i = {
6
+ __name: "IconSearch",
7
+ props: {
8
+ fill: {
9
+ type: String,
10
+ default: "rgb(var(--black))"
11
+ }
12
+ },
13
+ setup(e) {
14
+ return (n, s) => (t(), c("svg", o, [
15
+ l("path", {
16
+ fill: e.fill,
17
+ d: "M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6 .1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"
18
+ }, null, 8, r)
19
+ ]));
20
+ }
21
+ };
22
+ export {
23
+ i as default
24
+ };
@@ -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.vue.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
- import "../../../../components/Field/Field.vue.js";
3
- import "../../../../components/Button/Button.vue.js";
4
- import p from "../../../mobile/components/Menu/Menu.vue.js";
2
+ import "../../../../components/Field/Field.vue2.js";
3
+ import "../../../../components/Button/Button.vue2.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";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="";exports.default=e;
@@ -1,13 +1,4 @@
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
- };
1
+ const e = "";
11
2
  export {
12
- d as default
3
+ e as default
13
4
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="";exports.default=e;
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,4 +1,13 @@
1
- const e = "";
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
+ };
2
11
  export {
3
- e as default
12
+ d as default
4
13
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),g=require("vue-router"),f=require("../../../../components/Block/Block.vue.cjs");require("../../../../components/Field/Field.vue.cjs");const b=require("../../../products/components/blocks/CardPosition.vue.cjs");require("../../../products/store/leftovers.cjs");require("../../../products/components/blocks/ListPositions.vue2.cjs");const v=require("../sections/FormOrderDetails.vue.cjs"),r=require("../../store/orders.cjs"),E=require("../../../products/store/products.cjs");require("./EditOrder.vue2.cjs");const B=e.createElementVNode("header",{class:"mn-b-medium flex-v-center flex-nowrap flex"},[e.createElementVNode("h2",{class:"mn-r-medium"},"Edit Order")],-1),x={class:"gap-thin flex-nowrap flex mn-b-semi"},C={class:"w-100 br-solid br-1px br-black-transp-10 radius-big pd-medium"},w={class:"mn-b-small p-big"},P=e.createElementVNode("br",null,null,-1),q=e.createElementVNode("button",{class:"button"},"Подтвердить заказ",-1),S={class:"w-100 br-solid br-1px br-black-transp-10 radius-big pd-medium"},T={class:"mn-b-semi p-big"},D=e.createElementVNode("br",null,null,-1),O=e.createElementVNode("button",{class:"button"},"Изменить статус оплаты",-1),R={key:0,class:"w-100"},A={class:"mn-thinw-100 flex-v-center flex block"},F={class:"p-big"},M={key:0,class:"p-big t-semi"},U={key:1,class:"p-big t-semi"},j={key:2,class:"p-big t-semi"},z={key:3},I={key:4},L={key:5},G=e.createElementVNode("button",{class:"mn-l-auto button"},"Запросить онлайн",-1),H={__name:"EditOrder",props:["showProduct"],setup(h){const N=g.useRoute(),k=h;k.showProduct=[];function c(t){r.actions.addProduct(t)}function V(t){r.actions.deleteProduct(t)}let y=e.reactive([]);e.toRefs(y),e.ref(!1);const s=e.ref([]);let o=e.ref({});e.onMounted(async()=>{try{const t=await E.actions.read({organization:"65141c476cf9860013b49f6d"});console.log(t),s.value=t}catch{console.error("error")}await r.actions.fetchOrder(N.params.id),o.value=r.state.current});const n=e.computed(()=>100);return e.computed(()=>[]),(t,J)=>{var a,l,d,i,u,m,p;return e.openBlock(),e.createElementBlock(e.Fragment,null,[B,e.createElementVNode("section",x,[e.createElementVNode("div",C,[e.createElementVNode("p",w,[e.createTextVNode(" Статус заказа:"),P,e.createTextVNode(e.toDisplayString(e.unref(o).status),1)]),q]),e.createElementVNode("div",S,[e.createElementVNode("p",T,[e.createTextVNode("Статус оплаты:"),D,e.createTextVNode(e.toDisplayString((a=e.unref(o).payment)==null?void 0:a.status),1)]),O])]),e.createVNode(f.default,{title:"Add Position",class:"mn-b-semi"},{default:e.withCtx(()=>[e.createVNode(b.default,{onAdd:c,products:s.value},null,8,["products"])]),_:1}),e.createVNode(f.default,{title:"Invetory Sheet",class:"mn-b-semi"},{default:e.withCtx(()=>[r.state.current.positions.length===0?(e.openBlock(),e.createElementBlock("span",R," No positions added yet ")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.state.current.positions,(_,K)=>(e.openBlock(),e.createBlock(b.default,{key:_._id,product:_,products:s.value,onAdd:c,onDelete:V,onUpdate:t.updateProduct},null,8,["product","products","onUpdate"]))),128))]),_:1}),e.createVNode(v.default,{order:r.state.current,onCreate:t.handleCreate,class:"bg-grey pd-medium radius-big mn-b-semi"},null,8,["order","onCreate"]),e.createElementVNode("div",A,[e.createElementVNode("p",F,[e.createTextVNode("Сумма к оплате: "),((l=e.unref(o).info)==null?void 0:l.delivery)==="Самовывоз"?(e.openBlock(),e.createElementBlock("span",M,e.toDisplayString(n.value/100)+" ₽",1)):e.createCommentVNode("",!0),((d=e.unref(o).info)==null?void 0:d.delivery)==="Курьером"?(e.openBlock(),e.createElementBlock("span",U,e.toDisplayString(n.value/100+350)+" ₽",1)):e.createCommentVNode("",!0),((i=e.unref(o).info)==null?void 0:i.delivery)==="Почтой"?(e.openBlock(),e.createElementBlock("span",j,e.toDisplayString(n.value/100+550)+" ₽",1)):e.createCommentVNode("",!0),e.createTextVNode(" (Заказ "+e.toDisplayString(n.value/100)+" ₽ + доставка ",1),((u=e.unref(o).info)==null?void 0:u.delivery)==="Самовывоз"?(e.openBlock(),e.createElementBlock("span",z,"0")):e.createCommentVNode("",!0),((m=e.unref(o).info)==null?void 0:m.delivery)==="Курьером"?(e.openBlock(),e.createElementBlock("span",I,"350")):e.createCommentVNode("",!0),((p=e.unref(o).info)==null?void 0:p.delivery)==="Почтой"?(e.openBlock(),e.createElementBlock("span",L,"550")):e.createCommentVNode("",!0),e.createTextVNode(" ₽) ")]),G])],64)}}};exports.default=H;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),g=require("vue-router"),f=require("../../../../components/Block/Block.vue.cjs");require("../../../../components/Field/Field.vue2.cjs");const b=require("../../../products/components/blocks/CardPosition.vue.cjs");require("../../../products/store/leftovers.cjs");require("../../../products/components/blocks/ListPositions.vue2.cjs");const v=require("../sections/FormOrderDetails.vue.cjs"),r=require("../../store/orders.cjs"),E=require("../../../products/store/products.cjs");require("./EditOrder.vue2.cjs");const B=e.createElementVNode("header",{class:"mn-b-medium flex-v-center flex-nowrap flex"},[e.createElementVNode("h2",{class:"mn-r-medium"},"Edit Order")],-1),x={class:"gap-thin flex-nowrap flex mn-b-semi"},C={class:"w-100 br-solid br-1px br-black-transp-10 radius-big pd-medium"},w={class:"mn-b-small p-big"},P=e.createElementVNode("br",null,null,-1),q=e.createElementVNode("button",{class:"button"},"Подтвердить заказ",-1),S={class:"w-100 br-solid br-1px br-black-transp-10 radius-big pd-medium"},T={class:"mn-b-semi p-big"},D=e.createElementVNode("br",null,null,-1),O=e.createElementVNode("button",{class:"button"},"Изменить статус оплаты",-1),R={key:0,class:"w-100"},A={class:"mn-thinw-100 flex-v-center flex block"},F={class:"p-big"},M={key:0,class:"p-big t-semi"},U={key:1,class:"p-big t-semi"},j={key:2,class:"p-big t-semi"},z={key:3},I={key:4},L={key:5},G=e.createElementVNode("button",{class:"mn-l-auto button"},"Запросить онлайн",-1),H={__name:"EditOrder",props:["showProduct"],setup(h){const N=g.useRoute(),k=h;k.showProduct=[];function c(t){r.actions.addProduct(t)}function V(t){r.actions.deleteProduct(t)}let y=e.reactive([]);e.toRefs(y),e.ref(!1);const s=e.ref([]);let o=e.ref({});e.onMounted(async()=>{try{const t=await E.actions.read({organization:"65141c476cf9860013b49f6d"});console.log(t),s.value=t}catch{console.error("error")}await r.actions.fetchOrder(N.params.id),o.value=r.state.current});const n=e.computed(()=>100);return e.computed(()=>[]),(t,J)=>{var a,l,d,i,u,m,p;return e.openBlock(),e.createElementBlock(e.Fragment,null,[B,e.createElementVNode("section",x,[e.createElementVNode("div",C,[e.createElementVNode("p",w,[e.createTextVNode(" Статус заказа:"),P,e.createTextVNode(e.toDisplayString(e.unref(o).status),1)]),q]),e.createElementVNode("div",S,[e.createElementVNode("p",T,[e.createTextVNode("Статус оплаты:"),D,e.createTextVNode(e.toDisplayString((a=e.unref(o).payment)==null?void 0:a.status),1)]),O])]),e.createVNode(f.default,{title:"Add Position",class:"mn-b-semi"},{default:e.withCtx(()=>[e.createVNode(b.default,{onAdd:c,products:s.value},null,8,["products"])]),_:1}),e.createVNode(f.default,{title:"Invetory Sheet",class:"mn-b-semi"},{default:e.withCtx(()=>[r.state.current.positions.length===0?(e.openBlock(),e.createElementBlock("span",R," No positions added yet ")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.state.current.positions,(_,K)=>(e.openBlock(),e.createBlock(b.default,{key:_._id,product:_,products:s.value,onAdd:c,onDelete:V,onUpdate:t.updateProduct},null,8,["product","products","onUpdate"]))),128))]),_:1}),e.createVNode(v.default,{order:r.state.current,onCreate:t.handleCreate,class:"bg-grey pd-medium radius-big mn-b-semi"},null,8,["order","onCreate"]),e.createElementVNode("div",A,[e.createElementVNode("p",F,[e.createTextVNode("Сумма к оплате: "),((l=e.unref(o).info)==null?void 0:l.delivery)==="Самовывоз"?(e.openBlock(),e.createElementBlock("span",M,e.toDisplayString(n.value/100)+" ₽",1)):e.createCommentVNode("",!0),((d=e.unref(o).info)==null?void 0:d.delivery)==="Курьером"?(e.openBlock(),e.createElementBlock("span",U,e.toDisplayString(n.value/100+350)+" ₽",1)):e.createCommentVNode("",!0),((i=e.unref(o).info)==null?void 0:i.delivery)==="Почтой"?(e.openBlock(),e.createElementBlock("span",j,e.toDisplayString(n.value/100+550)+" ₽",1)):e.createCommentVNode("",!0),e.createTextVNode(" (Заказ "+e.toDisplayString(n.value/100)+" ₽ + доставка ",1),((u=e.unref(o).info)==null?void 0:u.delivery)==="Самовывоз"?(e.openBlock(),e.createElementBlock("span",z,"0")):e.createCommentVNode("",!0),((m=e.unref(o).info)==null?void 0:m.delivery)==="Курьером"?(e.openBlock(),e.createElementBlock("span",I,"350")):e.createCommentVNode("",!0),((p=e.unref(o).info)==null?void 0:p.delivery)==="Почтой"?(e.openBlock(),e.createElementBlock("span",L,"550")):e.createCommentVNode("",!0),e.createTextVNode(" ₽) ")]),G])],64)}}};exports.default=H;
@@ -1,7 +1,7 @@
1
1
  import { reactive as D, toRefs as S, ref as m, onMounted as T, computed as P, openBlock as o, createElementBlock as r, Fragment as C, createElementVNode as e, createTextVNode as i, toDisplayString as a, unref as n, createVNode as l, withCtx as N, createCommentVNode as d, renderList as U, createBlock as z } from "vue";
2
2
  import { useRoute as F } from "vue-router";
3
3
  import E from "../../../../components/Block/Block.vue.js";
4
- import "../../../../components/Field/Field.vue.js";
4
+ import "../../../../components/Field/Field.vue2.js";
5
5
  import V from "../../../products/components/blocks/CardPosition.vue.js";
6
6
  import "../../../products/store/leftovers.js";
7
7
  import "../../../products/components/blocks/ListPositions.vue2.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o=require("vue-router"),d=require("../../../../components/Tab/Tab.vue2.cjs"),l=require("../../store/orders.cjs");require("../blocks/CardOrder.vue.cjs");const c={class:"mn-b-medium flex-v-center flex-nowrap flex"},u=e.createElementVNode("h2",{class:"mn-r-medium"},"Orders",-1),m={class:"cols-3 gap-thin"},p={class:"bg-grey pd-small radius-big"},_={class:"w-100 mn-b-thin p-big"},b=e.createElementVNode("p",{class:"mn-b-small t-transp w-100"},null,-1),g={__name:"Orders",setup(h){const n=o.useRoute();o.useRouter();const r=e.ref(n.query.tab?n.query.tab:"posts");return e.onMounted(async()=>{await l.actions.read()}),(a,s)=>{const i=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("header",c,[u,e.createElementVNode("button",{onClick:s[0]||(s[0]=t=>a.$router.push({name:"AdminOrder"})),class:"radius-100 i-big hover-scale-1 cursor-pointer t-white bg-second"}," + ")]),e.createVNode(d.default,{selected:r.value,"onUpdate:selected":s[1]||(s[1]=t=>r.value=t),tabs:[{name:"All",value:"all"},{name:"New",value:"new"},{name:"Confirmed",value:"confirmed"},{name:"Finished",value:"finished"}],class:"mn-b-small o-hidden h5 radius-big bg-grey"},null,8,["selected"]),e.createElementVNode("section",m,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.state.all,t=>(e.openBlock(),e.createElementBlock("div",p,[e.createTextVNode(" Status: "+e.toDisplayString(t.status)+" ",1),e.createElementVNode("p",_," Order No.: #"+e.toDisplayString(t._id),1),b,e.createElementVNode("p",{class:e.normalizeClass([{new:t.status==="Создан"},"mn-b-small"])},[e.createTextVNode(" Order Created: "+e.toDisplayString(a.formatDate(t.createdAt))+" ",1),e.createVNode(i,{to:{name:"AdminOrderEdit",params:{order:t._id}},class:"i-small"},{default:e.withCtx(()=>[e.createTextVNode(" EDIT ")]),_:2},1032,["to"])],2)]))),256))])],64)}}};exports.default=g;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o=require("vue-router"),d=require("../../../../components/Tab/Tab.vue.cjs"),l=require("../../store/orders.cjs");require("../blocks/CardOrder.vue.cjs");const c={class:"mn-b-medium flex-v-center flex-nowrap flex"},u=e.createElementVNode("h2",{class:"mn-r-medium"},"Orders",-1),m={class:"cols-3 gap-thin"},p={class:"bg-grey pd-small radius-big"},_={class:"w-100 mn-b-thin p-big"},b=e.createElementVNode("p",{class:"mn-b-small t-transp w-100"},null,-1),g={__name:"Orders",setup(h){const n=o.useRoute();o.useRouter();const r=e.ref(n.query.tab?n.query.tab:"posts");return e.onMounted(async()=>{await l.actions.read()}),(a,s)=>{const i=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("header",c,[u,e.createElementVNode("button",{onClick:s[0]||(s[0]=t=>a.$router.push({name:"AdminOrder"})),class:"radius-100 i-big hover-scale-1 cursor-pointer t-white bg-second"}," + ")]),e.createVNode(d.default,{selected:r.value,"onUpdate:selected":s[1]||(s[1]=t=>r.value=t),tabs:[{name:"All",value:"all"},{name:"New",value:"new"},{name:"Confirmed",value:"confirmed"},{name:"Finished",value:"finished"}],class:"mn-b-small o-hidden h5 radius-big bg-grey"},null,8,["selected"]),e.createElementVNode("section",m,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.state.all,t=>(e.openBlock(),e.createElementBlock("div",p,[e.createTextVNode(" Status: "+e.toDisplayString(t.status)+" ",1),e.createElementVNode("p",_," Order No.: #"+e.toDisplayString(t._id),1),b,e.createElementVNode("p",{class:e.normalizeClass([{new:t.status==="Создан"},"mn-b-small"])},[e.createTextVNode(" Order Created: "+e.toDisplayString(a.formatDate(t.createdAt))+" ",1),e.createVNode(i,{to:{name:"AdminOrderEdit",params:{order:t._id}},class:"i-small"},{default:e.withCtx(()=>[e.createTextVNode(" EDIT ")]),_:2},1032,["to"])],2)]))),256))])],64)}}};exports.default=g;
@@ -1,6 +1,6 @@
1
1
  import { ref as p, onMounted as _, resolveComponent as b, openBlock as n, createElementBlock as a, Fragment as d, createElementVNode as t, createVNode as u, renderList as f, createTextVNode as r, toDisplayString as o, normalizeClass as h, withCtx as g } from "vue";
2
2
  import { useRoute as v, useRouter as w } from "vue-router";
3
- import y from "../../../../components/Tab/Tab.vue2.js";
3
+ import y from "../../../../components/Tab/Tab.vue.js";
4
4
  import { actions as C, state as O } from "../../store/orders.js";
5
5
  import "../blocks/CardOrder.vue.js";
6
6
  const k = { class: "mn-b-medium flex-v-center flex-nowrap flex" }, x = /* @__PURE__ */ t("h2", { class: "mn-r-medium" }, "Orders", -1), N = { class: "cols-3 gap-thin" }, A = { class: "bg-grey pd-small radius-big" }, E = { class: "w-100 mn-b-thin p-big" }, D = /* @__PURE__ */ t("p", { class: "mn-b-small t-transp w-100" }, null, -1), S = {
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),r=require("../../../globals/store/globals.cjs");require("../../store/orders.cjs");const a=require("../../../../components/Block/Block.vue.cjs"),o=require("../../../../components/Field/Field.vue2.cjs"),u=require("../../../../components/FieldPhone/FieldPhone2.vue.cjs"),s=require("../../../../components/Select/Select.vue2.cjs"),m=require("../../../../components/Address/Address.vue2.cjs"),c=require("../../../../components/LocationMarker/LocationMarker.vue2.cjs"),n=require("../../../../components/Radio/Radio.vue.cjs"),y={class:"order-form col"},f=t.createElementVNode("p",{class:"mn-b-small"}," Prefer to chat instead of calling? Just drop your messenger info here: ",-1),v={class:"flex-nowrap flex"},b={class:"mn-b-small flex-nowrap flex"},p={class:"mn-b-small flex-nowrap flex"},g={__name:"FormOrderDetails",props:{order:Object},setup(l){const i=l;return t.onMounted(()=>{r.state.position&&(i.order.delivery.address=r.state.position.address),r.state.position&&(i.order.delivery.location=r.state.position.location)}),(w,e)=>(t.openBlock(),t.createElementBlock("div",y,[t.createVNode(a.default,{title:"Personal Data",class:"mn-b-thin"},{default:t.withCtx(()=>[t.createVNode(o.default,{field:l.order.user.name,"onUpdate:field":e[0]||(e[0]=d=>l.order.user.name=d),label:"Name*",placeholder:"Enter your name",class:"bg-white pd-medium radius-small mn-b-thin"},null,8,["field"]),t.createVNode(u.default,{modelValue:l.order.user.phone,"onUpdate:modelValue":e[1]||(e[1]=d=>l.order.user.phone=d),onCountry:e[2]||(e[2]=d=>{l.order.user.number=d}),inputOptions:{placeholder:"Enter contact phone number",type:"tel"},defaultCountry:"TH",validCharactersOnly:!0,dropdownOptions:{showDialCodeInSelection:!0,showFlags:!0,showDialCodeInList:!0},mode:"national",class:"bg-white pd-small radius-small mn-b-thin"},null,8,["modelValue"]),f,t.createElementVNode("div",v,[t.createVNode(s.default,{options:[{name:"Telegram",value:"telegram"},{name:"WhatsApp",value:"whatsapp"},{name:"Line",value:"line"}],"onUpdate:select":e[3]||(e[3]=d=>l.order.user.messenger.type=d.value),placeholder:"Messenger",size:"small",class:"bg-white pd-medium radius-small mn-r-small"}),t.createVNode(o.default,{field:l.order.user.messenger.value,"onUpdate:field":e[4]||(e[4]=d=>l.order.user.messenger.value=d),placeholder:"Enter your contact here",class:"bg-white pd-medium radius-small w-100"},null,8,["field"])])]),_:1}),t.createVNode(a.default,{title:"Delivery",class:"mn-b-thin",tooltip:"Delivery by mail takes 3-5 days."},{default:t.withCtx(()=>[t.createElementVNode("div",b,[t.createVNode(n.default,{radio:l.order.delivery.type,"onUpdate:radio":e[5]||(e[5]=d=>l.order.delivery.type=d),label:"Courier",value:"courier",class:"bg-white pd-medium radius-small w-100 mn-r-small"},null,8,["radio"]),t.createVNode(n.default,{radio:l.order.delivery.type,"onUpdate:radio":e[6]||(e[6]=d=>l.order.delivery.type=d),label:"Post",value:"Post",class:"bg-white pd-medium radius-small w-100 mn-r-small"},null,8,["radio"])]),t.createVNode(m.default,{label:"Address",apiKey:"AIzaSyDDR6WgYB7XMt7yTDDzQNEdF_gTdUiq8dI",address:l.order.delivery.address,location:l.order.delivery.location,placeholder:"Enter your address",class:"bg-white radius-tl-medium radius-tr-medium t-black br-grey br-solid br-2px pd-medium","onUpdate:location":e[7]||(e[7]=d=>{l.order.delivery.location=d}),"onUpdate:address":e[8]||(e[8]=d=>{l.order.delivery.address=d})},null,8,["address","location"]),t.createVNode(c.default,{apiKey:"AIzaSyDDR6WgYB7XMt7yTDDzQNEdF_gTdUiq8dI",address:l.order.delivery.address,location:l.order.delivery.location,class:"mn-b-thin radius-bl-medium radius-br-medium h-15r o-hidden","onUpdate:location":e[9]||(e[9]=d=>{l.order.delivery.location=d}),"onUpdate:address":e[10]||(e[10]=d=>{l.order.delivery.address=d})},null,8,["address","location"]),t.createVNode(o.default,{field:l.order.comment,"onUpdate:field":e[11]||(e[11]=d=>l.order.comment=d),placeholder:"Comments regarding the address (apartment unit, floor level, building section)",type:"textarea",class:"bg-white pd-medium radius-small"},null,8,["field"])]),_:1},8,["tooltip"]),t.createVNode(a.default,{title:"Payment"},{default:t.withCtx(()=>[t.createElementVNode("div",p,[t.createVNode(s.default,{select:l.order.payment.type,"onUpdate:select":e[12]||(e[12]=d=>l.order.payment.type=d),property:"value",options:[{name:"Cash On Delivery",value:"cash"},{name:"Bank Transfer",value:"bank"},{name:"Crypto",value:"crypto"}],placeholder:"Select type of payment",size:"small",class:"bg-white pd-medium radius-small w-100"},null,8,["select"])])]),_:1})]))}};exports.default=g;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),r=require("../../../globals/store/globals.cjs");require("../../store/orders.cjs");const a=require("../../../../components/Block/Block.vue.cjs"),o=require("../../../../components/Field/Field.vue.cjs"),u=require("../../../../components/FieldPhone/FieldPhone2.vue.cjs"),s=require("../../../../components/Select/Select.vue2.cjs"),m=require("../../../../components/Address/Address.vue2.cjs"),c=require("../../../../components/LocationMarker/LocationMarker.vue2.cjs"),n=require("../../../../components/Radio/Radio.vue.cjs"),y={class:"order-form col"},f=t.createElementVNode("p",{class:"mn-b-small"}," Prefer to chat instead of calling? Just drop your messenger info here: ",-1),v={class:"flex-nowrap flex"},b={class:"mn-b-small flex-nowrap flex"},p={class:"mn-b-small flex-nowrap flex"},g={__name:"FormOrderDetails",props:{order:Object},setup(l){const i=l;return t.onMounted(()=>{r.state.position&&(i.order.delivery.address=r.state.position.address),r.state.position&&(i.order.delivery.location=r.state.position.location)}),(w,e)=>(t.openBlock(),t.createElementBlock("div",y,[t.createVNode(a.default,{title:"Personal Data",class:"mn-b-thin"},{default:t.withCtx(()=>[t.createVNode(o.default,{field:l.order.user.name,"onUpdate:field":e[0]||(e[0]=d=>l.order.user.name=d),label:"Name*",placeholder:"Enter your name",class:"bg-white pd-medium radius-small mn-b-thin"},null,8,["field"]),t.createVNode(u.default,{modelValue:l.order.user.phone,"onUpdate:modelValue":e[1]||(e[1]=d=>l.order.user.phone=d),onCountry:e[2]||(e[2]=d=>{l.order.user.number=d}),inputOptions:{placeholder:"Enter contact phone number",type:"tel"},defaultCountry:"TH",validCharactersOnly:!0,dropdownOptions:{showDialCodeInSelection:!0,showFlags:!0,showDialCodeInList:!0},mode:"national",class:"bg-white pd-small radius-small mn-b-thin"},null,8,["modelValue"]),f,t.createElementVNode("div",v,[t.createVNode(s.default,{options:[{name:"Telegram",value:"telegram"},{name:"WhatsApp",value:"whatsapp"},{name:"Line",value:"line"}],"onUpdate:select":e[3]||(e[3]=d=>l.order.user.messenger.type=d.value),placeholder:"Messenger",size:"small",class:"bg-white pd-medium radius-small mn-r-small"}),t.createVNode(o.default,{field:l.order.user.messenger.value,"onUpdate:field":e[4]||(e[4]=d=>l.order.user.messenger.value=d),placeholder:"Enter your contact here",class:"bg-white pd-medium radius-small w-100"},null,8,["field"])])]),_:1}),t.createVNode(a.default,{title:"Delivery",class:"mn-b-thin",tooltip:"Delivery by mail takes 3-5 days."},{default:t.withCtx(()=>[t.createElementVNode("div",b,[t.createVNode(n.default,{radio:l.order.delivery.type,"onUpdate:radio":e[5]||(e[5]=d=>l.order.delivery.type=d),label:"Courier",value:"courier",class:"bg-white pd-medium radius-small w-100 mn-r-small"},null,8,["radio"]),t.createVNode(n.default,{radio:l.order.delivery.type,"onUpdate:radio":e[6]||(e[6]=d=>l.order.delivery.type=d),label:"Post",value:"Post",class:"bg-white pd-medium radius-small w-100 mn-r-small"},null,8,["radio"])]),t.createVNode(m.default,{label:"Address",apiKey:"AIzaSyDDR6WgYB7XMt7yTDDzQNEdF_gTdUiq8dI",address:l.order.delivery.address,location:l.order.delivery.location,placeholder:"Enter your address",class:"bg-white radius-tl-medium radius-tr-medium t-black br-grey br-solid br-2px pd-medium","onUpdate:location":e[7]||(e[7]=d=>{l.order.delivery.location=d}),"onUpdate:address":e[8]||(e[8]=d=>{l.order.delivery.address=d})},null,8,["address","location"]),t.createVNode(c.default,{apiKey:"AIzaSyDDR6WgYB7XMt7yTDDzQNEdF_gTdUiq8dI",address:l.order.delivery.address,location:l.order.delivery.location,class:"mn-b-thin radius-bl-medium radius-br-medium h-15r o-hidden","onUpdate:location":e[9]||(e[9]=d=>{l.order.delivery.location=d}),"onUpdate:address":e[10]||(e[10]=d=>{l.order.delivery.address=d})},null,8,["address","location"]),t.createVNode(o.default,{field:l.order.comment,"onUpdate:field":e[11]||(e[11]=d=>l.order.comment=d),placeholder:"Comments regarding the address (apartment unit, floor level, building section)",type:"textarea",class:"bg-white pd-medium radius-small"},null,8,["field"])]),_:1},8,["tooltip"]),t.createVNode(a.default,{title:"Payment"},{default:t.withCtx(()=>[t.createElementVNode("div",p,[t.createVNode(s.default,{select:l.order.payment.type,"onUpdate:select":e[12]||(e[12]=d=>l.order.payment.type=d),property:"value",options:[{name:"Cash On Delivery",value:"cash"},{name:"Bank Transfer",value:"bank"},{name:"Crypto",value:"crypto"}],placeholder:"Select type of payment",size:"small",class:"bg-white pd-medium radius-small w-100"},null,8,["select"])])]),_:1})]))}};exports.default=g;
@@ -2,7 +2,7 @@ import { onMounted as y, openBlock as p, createElementBlock as f, createVNode as
2
2
  import { state as t } from "../../../globals/store/globals.js";
3
3
  import "../../store/orders.js";
4
4
  import i from "../../../../components/Block/Block.vue.js";
5
- import s from "../../../../components/Field/Field.vue2.js";
5
+ import s from "../../../../components/Field/Field.vue.js";
6
6
  import v from "../../../../components/FieldPhone/FieldPhone2.vue.js";
7
7
  import m from "../../../../components/Select/Select.vue2.js";
8
8
  import b from "../../../../components/Address/Address.vue2.js";
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("../../../../components/Spoiler/Spoiler.vue2.cjs");require("../../../../components/Map/Map.vue.cjs");const c=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),m=require("./DepartmentSub.vue.cjs"),u=require("./User.vue.cjs");require("./CardDepartment.vue2.cjs");const l=t=>(e.pushScopeId("data-v-05e8aa03"),t=t(),e.popScopeId(),t),p={class:"radius-big o-hidden cols-2-1_3"},h={class:"pd-medium w-100"},g=l(()=>e.createElementVNode("path",{d:"M515.693 9.52082C510.095 3.91669 502.49 0.765625 494.563 0.765625C486.635 0.765625 479.036 3.91669 473.432 9.52082L48.7255 434.307C44.8244 438.214 42.0848 443.125 40.8088 448.496L0.939444 615.069C-1.47202 625.168 1.528 635.788 8.86652 643.132C16.2103 650.47 26.8305 653.47 36.9292 651.059L203.516 611.261H203.511C208.88 609.985 213.792 607.246 217.699 603.35L642.485 178.496C648.089 172.892 651.241 165.293 651.241 157.366C651.241 149.439 648.089 141.835 642.485 136.235L515.693 9.52082ZM113.76 453.708L388.307 179.161L472.828 263.682L198.281 538.229L113.76 453.708ZM87.1041 511.5L140.416 564.812L70.3014 581.614L87.1041 511.5ZM515.091 221.793L430.195 136.897L494.184 72.9075L579.08 157.429L515.091 221.793Z",fill:"rgb(var(--black))"},null,-1)),L=[g],b=["innerHTML"],v={class:"pd-small flex-v-center flex-nowrap flex"},w=l(()=>e.createElementVNode("h5",{class:"w-100"},"Contacts ",-1)),k={class:"mn-r-small"},f=l(()=>e.createElementVNode("svg",{width:"14",height:"9",viewBox:"0 0 14 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.4697 0.469727L13.5304 1.53039L7.00006 8.06072L0.469727 1.53039L1.53039 0.469727L7.00006 5.9394L12.4697 0.469727Z",fill:"#8A8A8A"})],-1)),C={key:0},_={class:"pd-small flex-v-center flex-nowrap flex"},E=l(()=>e.createElementVNode("h5",{class:"w-100"},"Working Hours ",-1)),V={class:"mn-r-small"},B=l(()=>e.createElementVNode("svg",{width:"14",height:"9",viewBox:"0 0 14 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.4697 0.469727L13.5304 1.53039L7.00006 8.06072L0.469727 1.53039L1.53039 0.469727L7.00006 5.9394L12.4697 0.469727Z",fill:"#8A8A8A"})],-1)),N={key:0},x={__name:"CardDepartment",props:{department:Object,organization:Object},setup(t){const a=t;return(o,r)=>(e.openBlock(),e.createElementBlock("div",p,[e.createElementVNode("div",h,[(e.openBlock(),e.createElementBlock("svg",{onClick:r[0]||(r[0]=n=>o.$router.push(`/organizations/${a.organization}/departments/${t.department._id}/edit`)),class:"i-regular pos-absolute pos-r-0 pos-t-0 t-transp",width:"652",height:"652",viewBox:"0 0 652 652",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L)),e.createElementVNode("h3",{onClick:r[1]||(r[1]=n=>o.$router.push(`/organizations/${a.organization}/departments/${t.department._id}`)),class:"mn-b-small w-100",innerHTML:t.department.profile.name},null,8,b),e.createVNode(d.default,{class:"radius-small o-hidden br-1px br-solid br-grey mn-b-thin"},{header:e.withCtx(()=>[e.createElementVNode("div",v,[w,e.createElementVNode("p",k,e.toDisplayString(t.department.members.length)+" человек",1),f])]),content:e.withCtx(()=>[e.createElementVNode("ul",null,[t.department.members.length<1?(e.openBlock(),e.createElementBlock("li",C,"В отделе еще нет участников")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.department.members,(n,s)=>(e.openBlock(),e.createBlock(u.default,{class:"br-b br-solid br-grey",key:s,user:n.user,position:n.position,onClick:i=>o.$router.push(`/app/profile/${n.user._id}`)},null,8,["user","position","onClick"]))),128))])]),_:1}),e.createVNode(d.default,{class:"radius-small o-hidden br-1px br-solid br-grey mn-b-thin"},{header:e.withCtx(()=>[e.createElementVNode("div",_,[E,e.createElementVNode("p",V,e.toDisplayString(t.department.subdepartments?t.department.subdepartments.length:0)+" отделов",1),B])]),content:e.withCtx(()=>[e.createElementVNode("ul",null,[t.department.subdepartments.length<1?(e.openBlock(),e.createElementBlock("li",N,"В отделе еще нет подотделов")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.department.subdepartments,(n,s)=>(e.openBlock(),e.createBlock(m.default,{onClick:i=>o.$router.push(`/organization/departments/${n._id}`),key:s,class:"br-b br-solid br-grey",department:n},null,8,["onClick","department"]))),128))])]),_:1})])]))}},$=c.default(x,[["__scopeId","data-v-05e8aa03"]]);exports.default=$;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),l=require("../../../icons/navigation/IconEdit.vue.cjs");require("../../../../components/Spoiler/Spoiler.vue.cjs");require("./DepartmentSub.vue2.cjs");const u=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),c=require("./User.vue.cjs");require("./CardDepartment.vue2.cjs");const d={class:"radius-big o-hidden cols-2-1_3"},p={class:"pd-medium w-100"},m=["innerHTML"],g={key:0},k={__name:"CardDepartment",props:{department:Object,organization:Object},setup(t){const n=t;return(o,a)=>{const s=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",d,[e.createElementVNode("div",p,[e.createVNode(s,{to:{name:"Department Edit",params:{_id:n.organization,department:t.department._id}},class:"cursor-pointer pos-absolute pos-t-regular pos-r-regular radius-extra pd-thin bg-second"},{default:e.withCtx(()=>[e.createVNode(l.default,{class:"i-regular",classes:"fill-white"})]),_:1},8,["to"]),e.createElementVNode("h3",{onClick:a[0]||(a[0]=r=>o.$router.push(`/organizations/${n.organization}/departments/${t.department._id}`)),class:"mn-b-small w-100",innerHTML:t.department.profile.name},null,8,m),e.createElementVNode("ul",null,[t.department.members.length<1?(e.openBlock(),e.createElementBlock("li",g,"В отделе еще нет участников")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.department.members,(r,i)=>(e.openBlock(),e.createBlock(c.default,{class:"br-b br-solid br-grey",key:i,user:r.user,position:r.position,onClick:b=>o.$router.push(`/app/profile/${r.user._id}`)},null,8,["user","position","onClick"]))),128))])])])}}},_=u.default(k,[["__scopeId","data-v-745afcf2"]]);exports.default=_;
@@ -1,112 +1,60 @@
1
- import { openBlock as s, createElementBlock as o, createElementVNode as t, createVNode as p, withCtx as a, toDisplayString as c, createCommentVNode as h, Fragment as u, renderList as g, createBlock as L, pushScopeId as w, popScopeId as f } from "vue";
2
- import b from "../../../../components/Spoiler/Spoiler.vue2.js";
3
- import "../../../../components/Map/Map.vue.js";
4
- import _ from "../../../../../../_virtual/_plugin-vue_export-helper.js";
5
- import C from "./DepartmentSub.vue.js";
1
+ import { resolveComponent as p, openBlock as r, createElementBlock as o, createElementVNode as n, createVNode as l, withCtx as c, createCommentVNode as u, Fragment as _, renderList as f, createBlock as g } from "vue";
2
+ import h from "../../../icons/navigation/IconEdit.vue.js";
3
+ import "../../../../components/Spoiler/Spoiler.vue.js";
4
+ import "./DepartmentSub.vue2.js";
5
+ import b from "../../../../../../_virtual/_plugin-vue_export-helper.js";
6
6
  import k from "./User.vue.js";
7
7
  import "./CardDepartment.vue2.js";
8
- const r = (e) => (w("data-v-05e8aa03"), e = e(), f(), e), $ = { class: "radius-big o-hidden cols-2-1_3" }, x = { class: "pd-medium w-100" }, y = /* @__PURE__ */ r(() => /* @__PURE__ */ t("path", {
9
- d: "M515.693 9.52082C510.095 3.91669 502.49 0.765625 494.563 0.765625C486.635 0.765625 479.036 3.91669 473.432 9.52082L48.7255 434.307C44.8244 438.214 42.0848 443.125 40.8088 448.496L0.939444 615.069C-1.47202 625.168 1.528 635.788 8.86652 643.132C16.2103 650.47 26.8305 653.47 36.9292 651.059L203.516 611.261H203.511C208.88 609.985 213.792 607.246 217.699 603.35L642.485 178.496C648.089 172.892 651.241 165.293 651.241 157.366C651.241 149.439 648.089 141.835 642.485 136.235L515.693 9.52082ZM113.76 453.708L388.307 179.161L472.828 263.682L198.281 538.229L113.76 453.708ZM87.1041 511.5L140.416 564.812L70.3014 581.614L87.1041 511.5ZM515.091 221.793L430.195 136.897L494.184 72.9075L579.08 157.429L515.091 221.793Z",
10
- fill: "rgb(var(--black))"
11
- }, null, -1)), M = [
12
- y
13
- ], z = ["innerHTML"], A = { class: "pd-small flex-v-center flex-nowrap flex" }, B = /* @__PURE__ */ r(() => /* @__PURE__ */ t("h5", { class: "w-100" }, "Contacts ", -1)), Z = { class: "mn-r-small" }, S = /* @__PURE__ */ r(() => /* @__PURE__ */ t("svg", {
14
- width: "14",
15
- height: "9",
16
- viewBox: "0 0 14 9",
17
- fill: "none",
18
- xmlns: "http://www.w3.org/2000/svg"
19
- }, [
20
- /* @__PURE__ */ t("path", {
21
- "fill-rule": "evenodd",
22
- "clip-rule": "evenodd",
23
- d: "M12.4697 0.469727L13.5304 1.53039L7.00006 8.06072L0.469727 1.53039L1.53039 0.469727L7.00006 5.9394L12.4697 0.469727Z",
24
- fill: "#8A8A8A"
25
- })
26
- ], -1)), D = { key: 0 }, H = { class: "pd-small flex-v-center flex-nowrap flex" }, I = /* @__PURE__ */ r(() => /* @__PURE__ */ t("h5", { class: "w-100" }, "Working Hours ", -1)), N = { class: "mn-r-small" }, V = /* @__PURE__ */ r(() => /* @__PURE__ */ t("svg", {
27
- width: "14",
28
- height: "9",
29
- viewBox: "0 0 14 9",
30
- fill: "none",
31
- xmlns: "http://www.w3.org/2000/svg"
32
- }, [
33
- /* @__PURE__ */ t("path", {
34
- "fill-rule": "evenodd",
35
- "clip-rule": "evenodd",
36
- d: "M12.4697 0.469727L13.5304 1.53039L7.00006 8.06072L0.469727 1.53039L1.53039 0.469727L7.00006 5.9394L12.4697 0.469727Z",
37
- fill: "#8A8A8A"
38
- })
39
- ], -1)), j = { key: 0 }, E = {
8
+ const C = { class: "radius-big o-hidden cols-2-1_3" }, $ = { class: "pd-medium w-100" }, v = ["innerHTML"], w = { key: 0 }, z = {
40
9
  __name: "CardDepartment",
41
10
  props: {
42
11
  department: Object,
43
12
  organization: Object
44
13
  },
45
14
  setup(e) {
46
- const m = e;
47
- return (l, i) => (s(), o("div", $, [
48
- t("div", x, [
49
- (s(), o("svg", {
50
- onClick: i[0] || (i[0] = (n) => l.$router.push(`/organizations/${m.organization}/departments/${e.department._id}/edit`)),
51
- class: "i-regular pos-absolute pos-r-0 pos-t-0 t-transp",
52
- width: "652",
53
- height: "652",
54
- viewBox: "0 0 652 652",
55
- fill: "none",
56
- xmlns: "http://www.w3.org/2000/svg"
57
- }, M)),
58
- t("h3", {
59
- onClick: i[1] || (i[1] = (n) => l.$router.push(`/organizations/${m.organization}/departments/${e.department._id}`)),
60
- class: "mn-b-small w-100",
61
- innerHTML: e.department.profile.name
62
- }, null, 8, z),
63
- p(b, { class: "radius-small o-hidden br-1px br-solid br-grey mn-b-thin" }, {
64
- header: a(() => [
65
- t("div", A, [
66
- B,
67
- t("p", Z, c(e.department.members.length) + " человек", 1),
68
- S
69
- ])
70
- ]),
71
- content: a(() => [
72
- t("ul", null, [
73
- e.department.members.length < 1 ? (s(), o("li", D, "В отделе еще нет участников")) : h("", !0),
74
- (s(!0), o(u, null, g(e.department.members, (n, d) => (s(), L(k, {
75
- class: "br-b br-solid br-grey",
76
- key: d,
77
- user: n.user,
78
- position: n.position,
79
- onClick: (v) => l.$router.push(`/app/profile/${n.user._id}`)
80
- }, null, 8, ["user", "position", "onClick"]))), 128))
81
- ])
82
- ]),
83
- _: 1
84
- }),
85
- p(b, { class: "radius-small o-hidden br-1px br-solid br-grey mn-b-thin" }, {
86
- header: a(() => [
87
- t("div", H, [
88
- I,
89
- t("p", N, c(e.department.subdepartments ? e.department.subdepartments.length : 0) + " отделов", 1),
90
- V
91
- ])
92
- ]),
93
- content: a(() => [
94
- t("ul", null, [
95
- e.department.subdepartments.length < 1 ? (s(), o("li", j, "В отделе еще нет подотделов")) : h("", !0),
96
- (s(!0), o(u, null, g(e.department.subdepartments, (n, d) => (s(), L(C, {
97
- onClick: (v) => l.$router.push(`/organization/departments/${n._id}`),
98
- key: d,
99
- class: "br-b br-solid br-grey",
100
- department: n
101
- }, null, 8, ["onClick", "department"]))), 128))
102
- ])
103
- ]),
104
- _: 1
105
- })
106
- ])
107
- ]));
15
+ const s = e;
16
+ return (i, a) => {
17
+ const m = p("router-link");
18
+ return r(), o("div", C, [
19
+ n("div", $, [
20
+ l(m, {
21
+ to: {
22
+ name: "Department Edit",
23
+ params: {
24
+ _id: s.organization,
25
+ department: e.department._id
26
+ }
27
+ },
28
+ class: "cursor-pointer pos-absolute pos-t-regular pos-r-regular radius-extra pd-thin bg-second"
29
+ }, {
30
+ default: c(() => [
31
+ l(h, {
32
+ class: "i-regular",
33
+ classes: "fill-white"
34
+ })
35
+ ]),
36
+ _: 1
37
+ }, 8, ["to"]),
38
+ n("h3", {
39
+ onClick: a[0] || (a[0] = (t) => i.$router.push(`/organizations/${s.organization}/departments/${e.department._id}`)),
40
+ class: "mn-b-small w-100",
41
+ innerHTML: e.department.profile.name
42
+ }, null, 8, v),
43
+ n("ul", null, [
44
+ e.department.members.length < 1 ? (r(), o("li", w, "В отделе еще нет участников")) : u("", !0),
45
+ (r(!0), o(_, null, f(e.department.members, (t, d) => (r(), g(k, {
46
+ class: "br-b br-solid br-grey",
47
+ key: d,
48
+ user: t.user,
49
+ position: t.position,
50
+ onClick: (x) => i.$router.push(`/app/profile/${t.user._id}`)
51
+ }, null, 8, ["user", "position", "onClick"]))), 128))
52
+ ])
53
+ ])
54
+ ]);
55
+ };
108
56
  }
109
- }, J = /* @__PURE__ */ _(E, [["__scopeId", "data-v-05e8aa03"]]);
57
+ }, j = /* @__PURE__ */ b(z, [["__scopeId", "data-v-745afcf2"]]);
110
58
  export {
111
- J as default
59
+ j as default
112
60
  };