@ozdao/prometheus-framework 0.2.117 → 0.2.119

Sign up to get free protection for your applications and to get access to all the features.
Files changed (217) hide show
  1. package/dist/community.server.js +1 -1
  2. package/dist/community.server.mjs +1 -1
  3. package/dist/events.server.js +1 -1
  4. package/dist/events.server.mjs +1 -1
  5. package/dist/gallery.server.js +9 -3
  6. package/dist/gallery.server.mjs +9 -3
  7. package/dist/main-DL3vRQCi.js +92 -0
  8. package/dist/main-Ds3Z5x5d.mjs +14206 -0
  9. package/dist/main.css +1 -1
  10. package/dist/orders.server.js +1 -1
  11. package/dist/orders.server.mjs +1 -1
  12. package/dist/organizations.server.js +1 -1
  13. package/dist/organizations.server.mjs +1 -1
  14. package/dist/products.server.js +1 -1
  15. package/dist/products.server.mjs +1 -1
  16. package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -1
  17. package/dist/prometheus-framework/src/components/Block/Block.vue.js +1 -1
  18. package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
  19. package/dist/prometheus-framework/src/components/Button/Button.vue.js +1 -94
  20. package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
  21. package/dist/prometheus-framework/src/components/Button/Button.vue2.js +94 -1
  22. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.cjs +1 -1
  23. package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.js +116 -117
  24. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
  25. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +58 -1
  26. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
  27. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +1 -58
  28. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
  29. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +123 -109
  30. package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
  31. package/dist/prometheus-framework/src/components/Field/Field.vue.js +1 -84
  32. package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
  33. package/dist/prometheus-framework/src/components/Field/Field.vue2.js +84 -1
  34. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
  35. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +1 -1
  36. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +1 -1
  37. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +32 -26
  38. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  39. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +1 -73
  40. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
  41. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +77 -1
  42. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  43. package/dist/prometheus-framework/src/components/Select/Select.vue.js +1 -103
  44. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  45. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +103 -1
  46. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -1
  47. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +1 -45
  48. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
  49. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +45 -1
  50. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
  51. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +2 -2
  52. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
  53. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +1 -1
  54. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  55. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +2 -2
  56. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  57. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +2 -2
  58. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
  59. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +2 -2
  60. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  61. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +2 -2
  62. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  63. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +2 -2
  64. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  65. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  66. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  67. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +3 -3
  68. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  69. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +4 -4
  70. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  71. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +17 -18
  72. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
  73. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -1
  74. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -5
  75. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +0 -66
  76. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +5 -1
  77. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +66 -0
  78. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  79. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
  80. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  81. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +2 -2
  82. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  83. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  84. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  85. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +4 -4
  86. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  87. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +3 -3
  88. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  89. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +44 -69
  90. package/dist/prometheus-framework/src/modules/gallery/components/blocks/PhotoViewer.vue.cjs +1 -0
  91. package/dist/prometheus-framework/src/modules/gallery/components/blocks/PhotoViewer.vue.js +64 -0
  92. package/dist/prometheus-framework/src/modules/gallery/components/blocks/PhotoViewer.vue2.cjs +1 -0
  93. package/dist/prometheus-framework/src/modules/gallery/components/blocks/PhotoViewer.vue2.js +1 -0
  94. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  95. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +101 -14
  96. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  97. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +167 -104
  98. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  99. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +2 -2
  100. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.cjs +1 -1
  101. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.js +1 -1
  102. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  103. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +4 -4
  104. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue.cjs +1 -1
  105. package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue.js +38 -1
  106. package/dist/prometheus-framework/src/modules/globals/components/sections/SectionPageTitle.vue.cjs +1 -1
  107. package/dist/prometheus-framework/src/modules/globals/components/sections/SectionPageTitle.vue.js +3 -3
  108. package/dist/prometheus-framework/src/modules/globals/services/globals.store.cjs +1 -1
  109. package/dist/prometheus-framework/src/modules/globals/services/globals.store.js +21 -21
  110. package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronBottom.vue.cjs +1 -0
  111. package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronBottom.vue.js +30 -0
  112. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.cjs +1 -1
  113. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.js +3 -3
  114. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.cjs +1 -1
  115. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.js +1 -1
  116. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs +1 -1
  117. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.js +5 -5
  118. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.cjs +1 -1
  119. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.js +1 -1
  120. package/dist/prometheus-framework/src/modules/landing/components/sections/SectionGuide.vue.cjs +1 -0
  121. package/dist/prometheus-framework/src/modules/landing/components/sections/SectionGuide.vue.js +98 -0
  122. package/dist/prometheus-framework/src/modules/landing/landing.client.cjs +1 -1
  123. package/dist/prometheus-framework/src/modules/landing/landing.client.js +6 -4
  124. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  125. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +2 -2
  126. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  127. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
  128. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  129. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +4 -4
  130. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  131. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +3 -3
  132. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
  133. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +2 -2
  134. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  135. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +1 -1
  136. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
  137. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  138. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  139. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  140. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  141. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +4 -4
  142. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  143. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +2 -2
  144. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  145. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +4 -4
  146. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  147. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +1 -1
  148. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  149. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +3 -3
  150. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  151. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +3 -3
  152. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  153. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +5 -5
  154. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  155. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +2 -2
  156. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  157. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  158. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
  159. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
  160. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
  161. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +1 -1
  162. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  163. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +1 -1
  164. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  165. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +3 -3
  166. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  167. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +3 -3
  168. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  169. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +3 -3
  170. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -1
  171. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +1 -1
  172. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  173. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
  174. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  175. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +31 -32
  176. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  177. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
  178. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  179. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +3 -3
  180. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  181. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +3 -3
  182. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  183. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +2 -2
  184. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  185. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +5 -5
  186. package/dist/prometheus-framework.cjs.js +1 -1
  187. package/dist/prometheus-framework.es.js +1 -1
  188. package/dist/queryProcessor-g8208K6g.mjs +178 -0
  189. package/dist/queryProcessor-haY_gPGg.js +177 -0
  190. package/dist/style.css +1 -1
  191. package/dist/wallet.server.js +1 -1
  192. package/dist/wallet.server.mjs +1 -1
  193. package/dist/web-B8tq3Fda.mjs +54 -0
  194. package/dist/web-ByJkgGrt.js +1 -0
  195. package/package.json +1 -1
  196. package/src/components/DatePicker/Calendar.vue +82 -55
  197. package/src/components/Feed/Feed.vue +45 -16
  198. package/src/components/FieldTags/BlockTags.vue +30 -23
  199. package/src/components/Popup/Popup.vue +2 -2
  200. package/src/modules/events/components/pages/Events.vue +2 -48
  201. package/src/modules/gallery/components/blocks/PhotoViewer.vue +115 -0
  202. package/src/modules/gallery/components/pages/Gallery.vue +103 -6
  203. package/src/modules/gallery/components/sections/BackofficeGallery.vue +100 -32
  204. package/src/modules/gallery/controllers/gallery.controller.js +45 -38
  205. package/src/modules/globals/components/blocks/CardHeader.vue +1 -1
  206. package/src/modules/globals/components/elements/ButtonDate.vue +37 -43
  207. package/src/modules/globals/components/layouts/Client.vue +1 -1
  208. package/src/modules/globals/components/sections/SectionPageTitle.vue +1 -1
  209. package/src/modules/globals/controllers/utils/queryProcessor.js +21 -2
  210. package/src/modules/globals/services/globals.store.js +13 -17
  211. package/src/modules/icons/skeletons/SkeletonBlogpost.vue +1 -1
  212. package/src/modules/icons/skeletons/SkeletonEvent.vue +1 -1
  213. package/src/modules/icons/skeletons/SkeletonEventShort.vue +1 -1
  214. package/src/modules/icons/skeletons/SkeletonOrganization.vue +1 -1
  215. package/src/modules/landing/landing.client.js +2 -0
  216. package/src/modules/products/components/sections/FilterProducts.vue +2 -1
  217. package/src/modules/gallery/components/sections/GalleryWithCategories.vue +0 -176
@@ -1,6 +1,6 @@
1
1
  import { ref as s, openBlock as p, createElementBlock as i, createVNode as r } from "vue";
2
2
  import d from "../../../icons/navigation/IconSearch.vue.js";
3
- import m from "../../../../components/Field/Field.vue.js";
3
+ import m from "../../../../components/Field/Field.vue2.js";
4
4
  const f = { class: "flex-v-center flex-nowrap flex pd-small bg-light w-100 radius-big" }, g = {
5
5
  __name: "BlockSearch",
6
6
  props: {
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),V=require("vue-router"),C=require("../../../icons/placeholders/PlaceholderUserpic.vue.cjs"),x=require("../../../reports/components/sections/FormReport.vue.cjs"),N=require("../../../../components/Tooltip/Tooltip.vue.cjs"),v=require("../../../../components/Dropdown/Dropdown.vue2.cjs");require("../../../../components/Loader/Loader.vue.cjs");require("../../../../components/Button/Button.vue2.cjs");require("../../../auth/store/auth.cjs");require("../../../organizations/store/memberships.cjs");const $=require("../../../icons/navigation/IconEllipsis.vue.cjs"),S={key:0,class:"pd-b-zero"},z={class:"w-100 flex-v-center flex-nojustify flex"},D={class:"w-100 flex-nowrap flex-v-center flex"},M=["src"],q={key:2,class:"t-semi"},R={key:1,class:"pos-relative"},F={key:2},P={class:"d-block mn-l-auto flex-nowrap flex flex-v-center"},T={key:0,class:"w-4r pos-relative i-thin"},U={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"},L=["src"],I={class:"bg-black pd-thin radius-small"},O=e.createElementVNode("button",{class:"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button"}," Report ",-1),j=["onClick"],A={__name:"CardHeader",props:["user","entity","entityType","date","dateFormatted","owner","creator","members","membersPhotos","type","actions"],setup(t){V.useRouter();function E(n){const r=new Date,d=new Date(n),u=Math.abs(r-d),m=Math.floor(u/1e3),a=Math.floor(m/60),s=Math.floor(a/60),i=Math.floor(s/24),c=Math.floor(i/7);return c>0?`${c} week${c>1?"s":""} ago`:i>0?`${i} day${i>1?"s":""} ago`:s>0?`${s} hour${s>1?"s":""} ago`:a>0?`${a} minute${a>1?"s":""} ago`:"Just now"}return(n,r)=>{var u,m,a,s,i,c,k,h,b,g,f,y,w,B,p;const d=e.resolveComponent("router-link");return t.owner?(e.openBlock(),e.createElementBlock("header",S,[e.createElementVNode("div",z,[e.createElementVNode("div",D,[((a=(m=(u=t.owner.target)==null?void 0:u.profile)==null?void 0:m.photo)==null?void 0:a.length)>0&&t.type!=="short"?(e.openBlock(),e.createElementBlock("img",{key:0,src:(n.FILE_SERVER_URL||"")+t.owner.target.profile.photo,class:"radius-medium object-fit-cover mn-r-thin i-thin",onClick:r[0]||(r[0]=e.withModifiers(o=>n.$router.push({name:t.owner.type==="user"?"User Profile":"Organization",params:{_id:t.owner.target._id}}),["stop"]))},null,8,M)):e.createCommentVNode("",!0),!((i=(s=t.owner.target)==null?void 0:s.profile)!=null&&i.photo)&&t.type!=="short"?(e.openBlock(),e.createBlock(C.default,{key:1,class:"radius-medium mn-r-thin i-thin",onClick:r[1]||(r[1]=e.withModifiers(o=>n.$router.push({name:t.owner.type==="user"?"User Profile":"Organization",params:{_id:t.owner.target._id}}),["stop"]))})):e.createCommentVNode("",!0),t.type!=="short"?(e.openBlock(),e.createElementBlock("span",q,[e.createElementVNode("span",{onClick:r[2]||(r[2]=e.withModifiers(o=>n.$router.push({name:t.owner.type==="user"?"User Profile":"Organization",params:{_id:t.owner.target._id}}),["stop"]))},e.toDisplayString(((k=(c=t.owner.target)==null?void 0:c.profile)==null?void 0:k.name)||((h=t.creator.target)==null?void 0:h.username)||"Anonymous"),1),!t.creator.hidden&&((g=(b=t.owner.target)==null?void 0:b.profile)==null?void 0:g.name)!==((y=(f=t.creator.target)==null?void 0:f.profile)==null?void 0:y.name)?(e.openBlock(),e.createElementBlock("span",{key:0,onClick:r[3]||(r[3]=e.withModifiers(o=>{var l;return n.$router.push({name:"User Profile",params:{_id:(l=t.creator.target)==null?void 0:l._id}})},["stop"]))}," · by "+e.toDisplayString(((B=(w=t.creator.target)==null?void 0:w.profile)==null?void 0:B.name)||((p=t.creator.target)==null?void 0:p.username)||"Anonymous"),1)):e.createCommentVNode("",!0),t.date?(e.openBlock(),e.createElementBlock("span",R,[t.date?(e.openBlock(),e.createBlock(N.default,{key:0,text:n.formatDate(t.date)},{default:e.withCtx(()=>[e.createTextVNode(" · "+e.toDisplayString(E(t.date)),1)]),_:1},8,["text"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.dateFormatted?(e.openBlock(),e.createElementBlock("span",F," · "+e.toDisplayString(t.dateFormatted),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",P,[t.members?(e.openBlock(),e.createElementBlock("div",T,[e.createElementVNode("span",U,e.toDisplayString(t.members),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.membersPhotos.slice(0,2),(o,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[o?(e.openBlock(),e.createElementBlock("img",{key:l,src:(n.FILE_SERVER_URL||"")+o,style:e.normalizeStyle({position:"absolute",top:"0px",right:l*20+20+"%",zIndex:1-l}),class:"br-solid br-2px br-white i-thin bg-light radius-big"},null,12,L)):(e.openBlock(),e.createBlock(C.default,{key:1,style:e.normalizeStyle({position:"absolute",top:"0px",right:l*20+20+"%",zIndex:1-l}),class:"br-solid br-2px br-white i-thin bg-light radius-big"},null,8,["style"]))],64))),256))])):e.createCommentVNode("",!0)]),t.type!=="short"&&t.user?(e.openBlock(),e.createBlock(v.default,{key:3,label:{component:$.default,class:"t-transp i-regular"},align:"right",class:"cursor-pointer z-index-2"},{default:e.withCtx(()=>[e.createElementVNode("section",I,[t.user!==t.creator.target._id?(e.openBlock(),e.createBlock(x.default,{key:0,user:t.user,type:t.entityType,target:t.entity._id,text:"Report",class:"w-100"},{default:e.withCtx(()=>[O]),_:1},8,["user","type","target"])):e.createCommentVNode("",!0),t.actions&&t.actions.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(t.actions,o=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[o.to?(e.openBlock(),e.createBlock(d,{key:o.to,to:o.to,class:e.normalizeClass(o.class||"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button")},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.label),1)]),_:2},1032,["to","class"])):e.createCommentVNode("",!0),o.method?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:o.method,class:e.normalizeClass(o.class||"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button")},e.toDisplayString(o.label),11,j)):e.createCommentVNode("",!0)],64))),256)):e.createCommentVNode("",!0)])]),_:1},8,["label"])):e.createCommentVNode("",!0)])])])):e.createCommentVNode("",!0)}}};exports.default=A;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),x=require("vue-router"),C=require("../../../icons/placeholders/PlaceholderUserpic.vue.cjs"),V=require("../../../reports/components/sections/FormReport.vue.cjs"),N=require("../../../../components/Tooltip/Tooltip.vue2.cjs"),v=require("../../../../components/Dropdown/Dropdown.vue.cjs");require("../../../../components/Loader/Loader.vue.cjs");require("../../../../components/Button/Button.vue.cjs");require("../../../auth/store/auth.cjs");require("../../../organizations/store/memberships.cjs");const $=require("../../../icons/navigation/IconEllipsis.vue.cjs"),S={key:0,class:"pd-b-zero"},z={class:"w-100 flex-v-center flex-nojustify flex"},D={class:"w-100 flex-nowrap flex-v-center flex"},M=["src"],q={key:2,class:"t-semi"},R={key:1,class:"pos-relative"},F={key:2},P={class:"d-block mn-l-auto flex-nowrap flex flex-v-center"},T={key:0,class:"w-4r pos-relative i-thin"},U={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"},L=["src"],I={class:"bg-black flex-column flex gap-thin pd-thin radius-small"},O=e.createElementVNode("button",{class:"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button"}," Report ",-1),j=["onClick"],A={__name:"CardHeader",props:["user","entity","entityType","date","dateFormatted","owner","creator","members","membersPhotos","type","actions"],setup(t){x.useRouter();function E(n){const r=new Date,d=new Date(n),u=Math.abs(r-d),m=Math.floor(u/1e3),a=Math.floor(m/60),s=Math.floor(a/60),i=Math.floor(s/24),c=Math.floor(i/7);return c>0?`${c} week${c>1?"s":""} ago`:i>0?`${i} day${i>1?"s":""} ago`:s>0?`${s} hour${s>1?"s":""} ago`:a>0?`${a} minute${a>1?"s":""} ago`:"Just now"}return(n,r)=>{var u,m,a,s,i,c,k,h,g,b,f,y,w,B,p;const d=e.resolveComponent("router-link");return t.owner?(e.openBlock(),e.createElementBlock("header",S,[e.createElementVNode("div",z,[e.createElementVNode("div",D,[((a=(m=(u=t.owner.target)==null?void 0:u.profile)==null?void 0:m.photo)==null?void 0:a.length)>0&&t.type!=="short"?(e.openBlock(),e.createElementBlock("img",{key:0,src:(n.FILE_SERVER_URL||"")+t.owner.target.profile.photo,class:"radius-medium object-fit-cover mn-r-thin i-thin",onClick:r[0]||(r[0]=e.withModifiers(o=>n.$router.push({name:t.owner.type==="user"?"User Profile":"Organization",params:{_id:t.owner.target._id}}),["stop"]))},null,8,M)):e.createCommentVNode("",!0),!((i=(s=t.owner.target)==null?void 0:s.profile)!=null&&i.photo)&&t.type!=="short"?(e.openBlock(),e.createBlock(C.default,{key:1,class:"radius-medium mn-r-thin i-thin",onClick:r[1]||(r[1]=e.withModifiers(o=>n.$router.push({name:t.owner.type==="user"?"User Profile":"Organization",params:{_id:t.owner.target._id}}),["stop"]))})):e.createCommentVNode("",!0),t.type!=="short"?(e.openBlock(),e.createElementBlock("span",q,[e.createElementVNode("span",{onClick:r[2]||(r[2]=e.withModifiers(o=>n.$router.push({name:t.owner.type==="user"?"User Profile":"Organization",params:{_id:t.owner.target._id}}),["stop"]))},e.toDisplayString(((k=(c=t.owner.target)==null?void 0:c.profile)==null?void 0:k.name)||((h=t.creator.target)==null?void 0:h.username)||"Anonymous"),1),!t.creator.hidden&&((b=(g=t.owner.target)==null?void 0:g.profile)==null?void 0:b.name)!==((y=(f=t.creator.target)==null?void 0:f.profile)==null?void 0:y.name)?(e.openBlock(),e.createElementBlock("span",{key:0,onClick:r[3]||(r[3]=e.withModifiers(o=>{var l;return n.$router.push({name:"User Profile",params:{_id:(l=t.creator.target)==null?void 0:l._id}})},["stop"]))}," · by "+e.toDisplayString(((B=(w=t.creator.target)==null?void 0:w.profile)==null?void 0:B.name)||((p=t.creator.target)==null?void 0:p.username)||"Anonymous"),1)):e.createCommentVNode("",!0),t.date?(e.openBlock(),e.createElementBlock("span",R,[t.date?(e.openBlock(),e.createBlock(N.default,{key:0,text:n.formatDate(t.date)},{default:e.withCtx(()=>[e.createTextVNode(" · "+e.toDisplayString(E(t.date)),1)]),_:1},8,["text"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.dateFormatted?(e.openBlock(),e.createElementBlock("span",F," · "+e.toDisplayString(t.dateFormatted),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",P,[t.members?(e.openBlock(),e.createElementBlock("div",T,[e.createElementVNode("span",U,e.toDisplayString(t.members),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.membersPhotos.slice(0,2),(o,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[o?(e.openBlock(),e.createElementBlock("img",{key:l,src:(n.FILE_SERVER_URL||"")+o,style:e.normalizeStyle({position:"absolute",top:"0px",right:l*20+20+"%",zIndex:1-l}),class:"br-solid br-2px br-white i-thin bg-light radius-big"},null,12,L)):(e.openBlock(),e.createBlock(C.default,{key:1,style:e.normalizeStyle({position:"absolute",top:"0px",right:l*20+20+"%",zIndex:1-l}),class:"br-solid br-2px br-white i-thin bg-light radius-big"},null,8,["style"]))],64))),256))])):e.createCommentVNode("",!0)]),t.type!=="short"&&t.user?(e.openBlock(),e.createBlock(v.default,{key:3,label:{component:$.default,class:"t-transp i-regular"},align:"right",class:"cursor-pointer z-index-2"},{default:e.withCtx(()=>[e.createElementVNode("section",I,[t.user!==t.creator.target._id?(e.openBlock(),e.createBlock(V.default,{key:0,user:t.user,type:t.entityType,target:t.entity._id,text:"Report",class:"w-100"},{default:e.withCtx(()=>[O]),_:1},8,["user","type","target"])):e.createCommentVNode("",!0),t.actions&&t.actions.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(t.actions,o=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[o.to?(e.openBlock(),e.createBlock(d,{key:o.to,to:o.to,class:e.normalizeClass(o.class||"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button")},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.label),1)]),_:2},1032,["to","class"])):e.createCommentVNode("",!0),o.method?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:o.method,class:e.normalizeClass(o.class||"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button")},e.toDisplayString(o.label),11,j)):e.createCommentVNode("",!0)],64))),256)):e.createCommentVNode("",!0)])]),_:1},8,["label"])):e.createCommentVNode("",!0)])])])):e.createCommentVNode("",!0)}}};exports.default=A;
@@ -2,10 +2,10 @@ import { resolveComponent as I, openBlock as t, createElementBlock as s, createE
2
2
  import { useRouter as S } from "vue-router";
3
3
  import T from "../../../icons/placeholders/PlaceholderUserpic.vue.js";
4
4
  import A from "../../../reports/components/sections/FormReport.vue.js";
5
- import B from "../../../../components/Tooltip/Tooltip.vue.js";
6
- import N from "../../../../components/Dropdown/Dropdown.vue2.js";
5
+ import B from "../../../../components/Tooltip/Tooltip.vue2.js";
6
+ import N from "../../../../components/Dropdown/Dropdown.vue.js";
7
7
  import "../../../../components/Loader/Loader.vue.js";
8
- import "../../../../components/Button/Button.vue2.js";
8
+ import "../../../../components/Button/Button.vue.js";
9
9
  import "../../../auth/store/auth.js";
10
10
  import "../../../organizations/store/memberships.js";
11
11
  import O from "../../../icons/navigation/IconEllipsis.vue.js";
@@ -28,7 +28,7 @@ const j = {
28
28
  right: "0px"
29
29
  },
30
30
  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"
31
- }, Z = ["src"], _ = { class: "bg-black pd-thin radius-small" }, ee = /* @__PURE__ */ c("button", { class: "w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button" }, " Report ", -1), te = ["onClick"], he = {
31
+ }, Z = ["src"], _ = { class: "bg-black flex-column flex gap-thin pd-thin radius-small" }, ee = /* @__PURE__ */ c("button", { class: "w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button" }, " Report ", -1), te = ["onClick"], he = {
32
32
  __name: "CardHeader",
33
33
  props: [
34
34
  "user",
@@ -1 +1 @@
1
- "use strict";
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),C=require("../../../icons/navigation/IconCalendar.vue.cjs"),M={class:"t-semi"},T={__name:"ButtonDate",props:{action:{type:Function},date:{type:Object}},setup(i){const d=i,{action:c,date:p}=t.toRefs(d),f=t.computed(()=>m(p.value)),D=()=>{c.value&&c.value()};function m(r){const e=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],{start:s,end:n}=r;if(s===null&&n===null)return"All Time";const a=new Date(s),l=a.getUTCDate(),u=e[a.getUTCMonth()],g=a.getUTCFullYear();if(!n)return`${l} ${u} ${g}`;const o=new Date(n),h=o.getUTCDate(),_=e[o.getUTCMonth()],v=o.getUTCFullYear();return`${l} ${u} - ${h} ${_} ${v}`}return(r,e)=>(t.openBlock(),t.createElementBlock("div",{onClick:D,class:"cursor-pointer flex-center flex"},[t.createVNode(C.default,{class:"w-1r mn-r-thin h-auto"}),t.createElementVNode("span",M,t.toDisplayString(f.value),1)]))}};exports.default=T;
@@ -1 +1,38 @@
1
-
1
+ import { toRefs as g, computed as C, openBlock as T, createElementBlock as v, createVNode as y, createElementVNode as M, toDisplayString as U } from "vue";
2
+ import k from "../../../icons/navigation/IconCalendar.vue.js";
3
+ const x = { class: "t-semi" }, w = {
4
+ __name: "ButtonDate",
5
+ props: {
6
+ action: {
7
+ type: Function
8
+ },
9
+ date: {
10
+ type: Object
11
+ }
12
+ },
13
+ setup(u) {
14
+ const i = u, { action: o, date: p } = g(i), m = C(() => f(p.value)), d = () => {
15
+ o.value && o.value();
16
+ };
17
+ function f(c) {
18
+ const t = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], { start: r, end: e } = c;
19
+ if (r === null && e === null)
20
+ return "All Time";
21
+ const n = new Date(r), s = n.getUTCDate(), l = t[n.getUTCMonth()], D = n.getUTCFullYear();
22
+ if (!e)
23
+ return `${s} ${l} ${D}`;
24
+ const a = new Date(e), h = a.getUTCDate(), _ = t[a.getUTCMonth()], $ = a.getUTCFullYear();
25
+ return `${s} ${l} - ${h} ${_} ${$}`;
26
+ }
27
+ return (c, t) => (T(), v("div", {
28
+ onClick: d,
29
+ class: "cursor-pointer flex-center flex"
30
+ }, [
31
+ y(k, { class: "w-1r mn-r-thin h-auto" }),
32
+ M("span", x, U(m.value), 1)
33
+ ]));
34
+ }
35
+ };
36
+ export {
37
+ w as default
38
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("../../../../components/Tab/Tab.vue2.cjs"),i={class:"br-b br-solid br-black-transp-10 pd-medium flex-v-center flex-nowrap flex"},u={class:"mn-r-auto"},d=["onClick"],m={__name:"SectionPageTitle",props:{title:String,actions:Array,tabs:Array,tabs_current:Object},emits:["update:tabs_current"],setup(r,{emit:l}){const n=l,s=o=>{n("update:tabs_current",o)};return(o,b)=>{const a=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("header",i,[e.createElementVNode("h1",u,e.toDisplayString(r.title),1),r.actions&&r.actions.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(r.actions,t=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[t.to?(e.openBlock(),e.createBlock(a,{key:t.to,to:t.to,class:e.normalizeClass(t.class||"radius-extra pd-thin uppercase t-medium hover-scale-1 transition-ease cursor-pointer t-white bg-second flex-center flex")},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.label),1)]),_:2},1032,["to","class"])):e.createCommentVNode("",!0),t.method?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:t.method,class:e.normalizeClass(t.class||"radius-extra pd-thin uppercase t-medium hover-scale-1 transition-ease cursor-pointer t-white bg-second flex-center flex")},e.toDisplayString(t.label),11,d)):e.createCommentVNode("",!0)],64))),256)):e.createCommentVNode("",!0)]),r.tabs?(e.openBlock(),e.createBlock(c.default,{key:0,selected:r.tabs_current,"onUpdate:selected":s,tabs:r.tabs,class:"w-100 t-nowrap o-scroll h5"},null,8,["selected","tabs"])):e.createCommentVNode("",!0)])}}};exports.default=m;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("../../../../components/Tab/Tab.vue2.cjs"),i={class:"br-b br-solid br-black-transp-10 pd-medium flex-v-center flex-nowrap flex"},u={class:"mn-r-auto"},d=["onClick"],m={__name:"SectionPageTitle",props:{title:String,actions:Array,tabs:Array,tabs_current:[Object,String]},emits:["update:tabs_current"],setup(r,{emit:l}){const n=l,s=o=>{n("update:tabs_current",o)};return(o,b)=>{const a=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("header",i,[e.createElementVNode("h1",u,e.toDisplayString(r.title),1),r.actions&&r.actions.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(r.actions,t=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[t.to?(e.openBlock(),e.createBlock(a,{key:t.to,to:t.to,class:e.normalizeClass(t.class||"radius-extra pd-thin uppercase t-medium hover-scale-1 transition-ease cursor-pointer t-white bg-second flex-center flex")},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.label),1)]),_:2},1032,["to","class"])):e.createCommentVNode("",!0),t.method?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:t.method,class:e.normalizeClass(t.class||"radius-extra pd-thin uppercase t-medium hover-scale-1 transition-ease cursor-pointer t-white bg-second flex-center flex")},e.toDisplayString(t.label),11,d)):e.createCommentVNode("",!0)],64))),256)):e.createCommentVNode("",!0)]),r.tabs?(e.openBlock(),e.createBlock(c.default,{key:0,selected:r.tabs_current,"onUpdate:selected":s,tabs:r.tabs,class:"w-100 t-nowrap o-scroll h5"},null,8,["selected","tabs"])):e.createCommentVNode("",!0)])}}};exports.default=m;
@@ -1,12 +1,12 @@
1
1
  import { resolveComponent as p, openBlock as r, createElementBlock as s, createElementVNode as o, toDisplayString as n, Fragment as c, renderList as f, createBlock as i, normalizeClass as u, withCtx as x, createTextVNode as k, createCommentVNode as a } from "vue";
2
2
  import _ from "../../../../components/Tab/Tab.vue2.js";
3
- const g = { class: "br-b br-solid br-black-transp-10 pd-medium flex-v-center flex-nowrap flex" }, y = { class: "mn-r-auto" }, C = ["onClick"], N = {
3
+ const g = { class: "br-b br-solid br-black-transp-10 pd-medium flex-v-center flex-nowrap flex" }, y = { class: "mn-r-auto" }, C = ["onClick"], B = {
4
4
  __name: "SectionPageTitle",
5
5
  props: {
6
6
  title: String,
7
7
  actions: Array,
8
8
  tabs: Array,
9
- tabs_current: Object
9
+ tabs_current: [Object, String]
10
10
  },
11
11
  emits: [
12
12
  "update:tabs_current"
@@ -50,5 +50,5 @@ const g = { class: "br-b br-solid br-black-transp-10 pd-medium flex-v-center fle
50
50
  }
51
51
  };
52
52
  export {
53
- N as default
53
+ B as default
54
54
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const d=require("vue"),c=require("../store/globals.cjs");class u{constructor(e){this.state=d.reactive({items:[],current:{}}),this.apiUrl=e}async request(e,t={}){const r=e.startsWith("http")?e:`${this.apiUrl}${e}`,s={...{credentials:"include",headers:{}},...t};!s.headers["Content-Type"]&&t.body&&(s.headers["Content-Type"]="application/json",s.body=JSON.stringify(t.body));try{const i=await fetch(r,s);if(!i.ok){const n=await i.json(),o=new Error(n.message||"Unknown error");throw o.errorCode=n.errorCode||"UNKNOWN_ERROR",o}return await i.json()}catch(i){throw console.error(i),c.setError(i),i}}async create(e){return await this.request("/create",{method:"POST",body:e})}async read(e={}){const t=new URLSearchParams(e).toString();return await this.request(`/read?${t}`)}async update(e){return await this.request("/update",{method:"POST",body:e})}async delete(e){return await this.request(`/delete/${e}`,{method:"DELETE"})}setItems(e,t){t||this.state.items,t.splice(0,t.length,...e)}addItem(e,t){const r=t||this.state.items,a=r.findIndex(s=>s._id===e._id);a===-1?r.splice(0,0,e):Object.assign(r[a],e)}updateItem(e,t){const r=t?t.items:this.state.items,a=r.findIndex(s=>s._id===e._id);a!==-1&&r.splice(a,1,e)}removeItem(e,t){const r=t?t.items:this.state.items,a=r.findIndex(s=>s._id===e._id);a!==-1&&r.splice(a,1)}}exports.default=u;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c=require("vue"),d=require("../store/globals.cjs");class u{constructor(e){this.state=c.reactive({items:[],current:{}}),this.apiUrl=e}async request(e,t={}){const a=e.startsWith("http")?e:`${this.apiUrl}${e}`,s={...{credentials:"include",headers:{}},...t};!s.headers["Content-Type"]&&t.body&&(s.headers["Content-Type"]="application/json",s.body=JSON.stringify(t.body));try{const r=await fetch(a,s);if(!r.ok){const i=await r.json(),o=new Error(i.message||"Unknown error");throw o.errorCode=i.errorCode||"UNKNOWN_ERROR",o}return await r.json()}catch(r){throw console.error(r),d.setError(r),r}}async create(e){return await this.request("/create",{method:"POST",body:e})}async read(e={}){const t=new URLSearchParams(e).toString();return await this.request(`/read?${t}`)}async update(e){return await this.request("/update",{method:"PUT",body:e})}async delete(e){return await this.request(`/delete/${e}`,{method:"DELETE"})}setItems(e,t){t||this.state.items,t.splice(0,t.length,...e)}addItem(e,t,a="_id"){const n=t||this.state.items,s=n.findIndex(r=>r[a]===e[a]);s===-1?n.splice(0,0,e):Object.assign(n[s],e)}updateItem(e,t,a="_id"){const n=t||this.state.items,s=n.findIndex(r=>r[a]===e[a]);s!==-1&&n.splice(s,1,e)}removeItem(e,t,a="_id"){const n=t||this.state.items,s=n.findIndex(r=>r[a]===e[a]);s!==-1&&n.splice(s,1)}}exports.default=u;
@@ -1,15 +1,15 @@
1
- import { reactive as d } from "vue";
2
- import { setError as c } from "../store/globals.js";
1
+ import { reactive as c } from "vue";
2
+ import { setError as d } from "../store/globals.js";
3
3
  class m {
4
4
  constructor(t) {
5
- this.state = d({
5
+ this.state = c({
6
6
  items: [],
7
7
  current: {}
8
8
  }), this.apiUrl = t;
9
9
  }
10
10
  // Simplified request method to avoid repetition and enhance maintainability
11
11
  async request(t, e = {}) {
12
- const r = t.startsWith("http") ? t : `${this.apiUrl}${t}`, s = {
12
+ const a = t.startsWith("http") ? t : `${this.apiUrl}${t}`, s = {
13
13
  ...{
14
14
  credentials: "include",
15
15
  // Assumes credentials needed for each request
@@ -19,14 +19,14 @@ class m {
19
19
  };
20
20
  !s.headers["Content-Type"] && e.body && (s.headers["Content-Type"] = "application/json", s.body = JSON.stringify(e.body));
21
21
  try {
22
- const i = await fetch(r, s);
23
- if (!i.ok) {
24
- const n = await i.json(), o = new Error(n.message || "Unknown error");
25
- throw o.errorCode = n.errorCode || "UNKNOWN_ERROR", o;
22
+ const r = await fetch(a, s);
23
+ if (!r.ok) {
24
+ const i = await r.json(), o = new Error(i.message || "Unknown error");
25
+ throw o.errorCode = i.errorCode || "UNKNOWN_ERROR", o;
26
26
  }
27
- return await i.json();
28
- } catch (i) {
29
- throw console.error(i), c(i), i;
27
+ return await r.json();
28
+ } catch (r) {
29
+ throw console.error(r), d(r), r;
30
30
  }
31
31
  }
32
32
  async create(t) {
@@ -41,7 +41,7 @@ class m {
41
41
  }
42
42
  async update(t) {
43
43
  return await this.request("/update", {
44
- method: "POST",
44
+ method: "PUT",
45
45
  body: t
46
46
  });
47
47
  }
@@ -54,17 +54,17 @@ class m {
54
54
  setItems(t, e) {
55
55
  e || this.state.items, e.splice(0, e.length, ...t);
56
56
  }
57
- addItem(t, e) {
58
- const r = e || this.state.items, a = r.findIndex((s) => s._id === t._id);
59
- a === -1 ? r.splice(0, 0, t) : Object.assign(r[a], t);
57
+ addItem(t, e, a = "_id") {
58
+ const n = e || this.state.items, s = n.findIndex((r) => r[a] === t[a]);
59
+ s === -1 ? n.splice(0, 0, t) : Object.assign(n[s], t);
60
60
  }
61
- updateItem(t, e) {
62
- const r = e ? e.items : this.state.items, a = r.findIndex((s) => s._id === t._id);
63
- a !== -1 && r.splice(a, 1, t);
61
+ updateItem(t, e, a = "_id") {
62
+ const n = e || this.state.items, s = n.findIndex((r) => r[a] === t[a]);
63
+ s !== -1 && n.splice(s, 1, t);
64
64
  }
65
- removeItem(t, e) {
66
- const r = e ? e.items : this.state.items, a = r.findIndex((s) => s._id === t._id);
67
- a !== -1 && r.splice(a, 1);
65
+ removeItem(t, e, a = "_id") {
66
+ const n = e || this.state.items, s = n.findIndex((r) => r[a] === t[a]);
67
+ s !== -1 && n.splice(s, 1);
68
68
  }
69
69
  }
70
70
  export {
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o=require("../../../../../_virtual/_plugin-vue_export-helper.cjs"),l={props:{fill:{type:String,default:"rgb(var(--black)"}}},n={width:"80",height:"80",viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r={transform:"rotate(90 40 40)"},s=["fill"];function c(a,u,t,d,_,f){return e.openBlock(),e.createElementBlock("svg",n,[e.createElementVNode("g",r,[e.createElementVNode("path",{fill:t.fill,d:"M16.25 9.375L20 5.9375C21.5625 4.53125 23.9062 4.6875 25.3125 6.25L54.2188 37.8125C55.3125 39.0625 55.3125 40.9375 54.2188 42.1875L25.3125 73.75C23.9062 75.3125 21.5625 75.4688 20 74.0625L16.25 70.625C14.6875 69.375 14.5312 66.875 15.9375 65.4688L39.375 40L15.9375 14.5312C14.5312 13.125 14.6875 10.625 16.25 9.375Z"},null,8,s)])])}const i=o.default(l,[["render",c]]);exports.default=i;
@@ -0,0 +1,30 @@
1
+ import { openBlock as e, createElementBlock as n, createElementVNode as t } from "vue";
2
+ import r from "../../../../../_virtual/_plugin-vue_export-helper.js";
3
+ const l = {
4
+ props: {
5
+ fill: {
6
+ type: String,
7
+ default: "rgb(var(--black)"
8
+ }
9
+ }
10
+ }, s = {
11
+ width: "80",
12
+ height: "80",
13
+ viewBox: "0 0 80 80",
14
+ fill: "none",
15
+ xmlns: "http://www.w3.org/2000/svg"
16
+ }, c = { transform: "rotate(90 40 40)" }, i = ["fill"];
17
+ function a(f, _, o, p, d, h) {
18
+ return e(), n("svg", s, [
19
+ t("g", c, [
20
+ t("path", {
21
+ fill: o.fill,
22
+ d: "M16.25 9.375L20 5.9375C21.5625 4.53125 23.9062 4.6875 25.3125 6.25L54.2188 37.8125C55.3125 39.0625 55.3125 40.9375 54.2188 42.1875L25.3125 73.75C23.9062 75.3125 21.5625 75.4688 20 74.0625L16.25 70.625C14.6875 69.375 14.5312 66.875 15.9375 65.4688L39.375 40L15.9375 14.5312C14.5312 13.125 14.6875 10.625 16.25 9.375Z"
23
+ }, null, 8, i)
24
+ ])
25
+ ]);
26
+ }
27
+ const u = /* @__PURE__ */ r(l, [["render", a]]);
28
+ export {
29
+ u as default
30
+ };
@@ -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"),r={},i={width:"100%",height:"20rem",xmlns:"http://www.w3.org/2000/svg"},c=e.createStaticVNode('<rect x="0" y="0" rx="5" ry="5" width="100%" height="100%" fill="rgb(var(--grey))"></rect><rect x="15" y="15" rx="4" ry="4" width="40%" height="20" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="45" rx="5" ry="5" width="70%" height="50" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="110" rx="3" ry="3" width="90%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="130" rx="3" ry="3" width="70%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="-25%" y="0" width="25%" height="100%" fill="#fff" mask="url(#myMask)" opacity="0.3"><animate attributeName="x" from="-25%" to="100%" dur="2s" repeatCount="indefinite"></animate></rect>',6),a=[c];function l(h,n){return e.openBlock(),e.createElementBlock("svg",i,a)}const o=t.default(r,[["render",l]]);exports.default=o;
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"),r={},i={width:"100%",height:"20rem",xmlns:"http://www.w3.org/2000/svg"},c=e.createStaticVNode('<rect x="0" y="0" rx="5" ry="5" width="100%" height="100%" fill="rgb(var(--light))"></rect><rect x="15" y="15" rx="4" ry="4" width="40%" height="20" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="45" rx="5" ry="5" width="70%" height="50" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="110" rx="3" ry="3" width="90%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="130" rx="3" ry="3" width="70%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="-25%" y="0" width="25%" height="100%" fill="#fff" mask="url(#myMask)" opacity="0.3"><animate attributeName="x" from="-25%" to="100%" dur="2s" repeatCount="indefinite"></animate></rect>',6),a=[c];function l(h,n){return e.openBlock(),e.createElementBlock("svg",i,a)}const o=t.default(r,[["render",l]]);exports.default=o;
@@ -4,11 +4,11 @@ const c = {}, a = {
4
4
  width: "100%",
5
5
  height: "20rem",
6
6
  xmlns: "http://www.w3.org/2000/svg"
7
- }, o = /* @__PURE__ */ e('<rect x="0" y="0" rx="5" ry="5" width="100%" height="100%" fill="rgb(var(--grey))"></rect><rect x="15" y="15" rx="4" ry="4" width="40%" height="20" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="45" rx="5" ry="5" width="70%" height="50" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="110" rx="3" ry="3" width="90%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="130" rx="3" ry="3" width="70%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="-25%" y="0" width="25%" height="100%" fill="#fff" mask="url(#myMask)" opacity="0.3"><animate attributeName="x" from="-25%" to="100%" dur="2s" repeatCount="indefinite"></animate></rect>', 6), h = [
8
- o
7
+ }, h = /* @__PURE__ */ e('<rect x="0" y="0" rx="5" ry="5" width="100%" height="100%" fill="rgb(var(--light))"></rect><rect x="15" y="15" rx="4" ry="4" width="40%" height="20" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="45" rx="5" ry="5" width="70%" height="50" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="110" rx="3" ry="3" width="90%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="130" rx="3" ry="3" width="70%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="-25%" y="0" width="25%" height="100%" fill="#fff" mask="url(#myMask)" opacity="0.3"><animate attributeName="x" from="-25%" to="100%" dur="2s" repeatCount="indefinite"></animate></rect>', 6), o = [
8
+ h
9
9
  ];
10
10
  function l(n, s) {
11
- return t(), r("svg", a, h);
11
+ return t(), r("svg", a, o);
12
12
  }
13
13
  const d = /* @__PURE__ */ i(c, [["render", l]]);
14
14
  export {
@@ -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"),r={},i={width:"100%",height:"20rem",xmlns:"http://www.w3.org/2000/svg"},c=e.createStaticVNode('<rect x="0" y="0" rx="5" ry="5" width="100%" height="100%" fill="rgb(var(--grey))"></rect><rect x="15" y="15" rx="4" ry="4" width="40%" height="20" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="45" rx="5" ry="5" width="70%" height="50" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="110" rx="3" ry="3" width="90%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="130" rx="3" ry="3" width="70%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="-25%" y="0" width="25%" height="100%" fill="#fff" mask="url(#myMask)" opacity="0.3"><animate attributeName="x" from="-25%" to="100%" dur="2s" repeatCount="indefinite"></animate></rect>',6),a=[c];function l(h,n){return e.openBlock(),e.createElementBlock("svg",i,a)}const o=t.default(r,[["render",l]]);exports.default=o;
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"),r={},i={width:"100%",height:"20rem",xmlns:"http://www.w3.org/2000/svg"},c=e.createStaticVNode('<rect x="0" y="0" rx="5" ry="5" width="100%" height="100%" fill="rgb(var(--light))"></rect><rect x="15" y="15" rx="4" ry="4" width="40%" height="20" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="45" rx="5" ry="5" width="70%" height="50" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="110" rx="3" ry="3" width="90%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="130" rx="3" ry="3" width="70%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="-25%" y="0" width="25%" height="100%" fill="#fff" mask="url(#myMask)" opacity="0.3"><animate attributeName="x" from="-25%" to="100%" dur="2s" repeatCount="indefinite"></animate></rect>',6),a=[c];function l(o,n){return e.openBlock(),e.createElementBlock("svg",i,a)}const h=t.default(r,[["render",l]]);exports.default=h;
@@ -4,7 +4,7 @@ const c = {}, a = {
4
4
  width: "100%",
5
5
  height: "20rem",
6
6
  xmlns: "http://www.w3.org/2000/svg"
7
- }, h = /* @__PURE__ */ e('<rect x="0" y="0" rx="5" ry="5" width="100%" height="100%" fill="rgb(var(--grey))"></rect><rect x="15" y="15" rx="4" ry="4" width="40%" height="20" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="45" rx="5" ry="5" width="70%" height="50" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="110" rx="3" ry="3" width="90%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="130" rx="3" ry="3" width="70%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="-25%" y="0" width="25%" height="100%" fill="#fff" mask="url(#myMask)" opacity="0.3"><animate attributeName="x" from="-25%" to="100%" dur="2s" repeatCount="indefinite"></animate></rect>', 6), o = [
7
+ }, h = /* @__PURE__ */ e('<rect x="0" y="0" rx="5" ry="5" width="100%" height="100%" fill="rgb(var(--light))"></rect><rect x="15" y="15" rx="4" ry="4" width="40%" height="20" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="45" rx="5" ry="5" width="70%" height="50" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="110" rx="3" ry="3" width="90%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="130" rx="3" ry="3" width="70%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="-25%" y="0" width="25%" height="100%" fill="#fff" mask="url(#myMask)" opacity="0.3"><animate attributeName="x" from="-25%" to="100%" dur="2s" repeatCount="indefinite"></animate></rect>', 6), o = [
8
8
  h
9
9
  ];
10
10
  function l(n, f) {
@@ -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"),r={},c={width:"100%",height:"50",xmlns:"http://www.w3.org/2000/svg"},i=e.createStaticVNode('<rect x="0" y="0" width="100%" height="100%" fill="rgb(var(--grey))"></rect><rect x="15" y="15" rx="3" ry="3" width="40" height="20" fill="rgba(var(--black),0.05)"></rect><rect x="65" y="15" rx="3" ry="3" width="150" height="20" fill="rgba(var(--black),0.05)"></rect><circle cx="250" cy="25" r="10" fill="rgba(var(--black),0.1)"></circle><circle cx="265" cy="25" r="10" fill="rgba(var(--black),0.05)"></circle><circle cx="280" cy="25" r="10" fill="rgba(var(--black),0.025)"></circle><rect x="-25%" y="0" width="25%" height="100%" fill="#fff" opacity="0.3"><animate attributeName="x" from="-25%" to="100%" dur="2s" repeatCount="indefinite"></animate></rect>',7),l=[i];function a(n,h){return e.openBlock(),e.createElementBlock("svg",c,l)}const o=t.default(r,[["render",a]]);exports.default=o;
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"),r={},c={width:"100%",height:"50",xmlns:"http://www.w3.org/2000/svg"},i=e.createStaticVNode('<rect x="0" y="0" width="100%" height="100%" fill="rgb(var(--light))"></rect><rect x="15" y="15" rx="3" ry="3" width="40" height="20" fill="rgba(var(--black),0.05)"></rect><rect x="65" y="15" rx="3" ry="3" width="150" height="20" fill="rgba(var(--black),0.05)"></rect><circle cx="250" cy="25" r="10" fill="rgba(var(--black),0.1)"></circle><circle cx="265" cy="25" r="10" fill="rgba(var(--black),0.05)"></circle><circle cx="280" cy="25" r="10" fill="rgba(var(--black),0.025)"></circle><rect x="-25%" y="0" width="25%" height="100%" fill="#fff" opacity="0.3"><animate attributeName="x" from="-25%" to="100%" dur="2s" repeatCount="indefinite"></animate></rect>',7),l=[i];function a(n,h){return e.openBlock(),e.createElementBlock("svg",c,l)}const o=t.default(r,[["render",a]]);exports.default=o;
@@ -1,14 +1,14 @@
1
- import { openBlock as r, createElementBlock as t, createStaticVNode as e } from "vue";
1
+ import { openBlock as t, createElementBlock as r, createStaticVNode as e } from "vue";
2
2
  import c from "../../../../../_virtual/_plugin-vue_export-helper.js";
3
- const i = {}, a = {
3
+ const i = {}, l = {
4
4
  width: "100%",
5
5
  height: "50",
6
6
  xmlns: "http://www.w3.org/2000/svg"
7
- }, l = /* @__PURE__ */ e('<rect x="0" y="0" width="100%" height="100%" fill="rgb(var(--grey))"></rect><rect x="15" y="15" rx="3" ry="3" width="40" height="20" fill="rgba(var(--black),0.05)"></rect><rect x="65" y="15" rx="3" ry="3" width="150" height="20" fill="rgba(var(--black),0.05)"></rect><circle cx="250" cy="25" r="10" fill="rgba(var(--black),0.1)"></circle><circle cx="265" cy="25" r="10" fill="rgba(var(--black),0.05)"></circle><circle cx="280" cy="25" r="10" fill="rgba(var(--black),0.025)"></circle><rect x="-25%" y="0" width="25%" height="100%" fill="#fff" opacity="0.3"><animate attributeName="x" from="-25%" to="100%" dur="2s" repeatCount="indefinite"></animate></rect>', 7), o = [
8
- l
7
+ }, a = /* @__PURE__ */ e('<rect x="0" y="0" width="100%" height="100%" fill="rgb(var(--light))"></rect><rect x="15" y="15" rx="3" ry="3" width="40" height="20" fill="rgba(var(--black),0.05)"></rect><rect x="65" y="15" rx="3" ry="3" width="150" height="20" fill="rgba(var(--black),0.05)"></rect><circle cx="250" cy="25" r="10" fill="rgba(var(--black),0.1)"></circle><circle cx="265" cy="25" r="10" fill="rgba(var(--black),0.05)"></circle><circle cx="280" cy="25" r="10" fill="rgba(var(--black),0.025)"></circle><rect x="-25%" y="0" width="25%" height="100%" fill="#fff" opacity="0.3"><animate attributeName="x" from="-25%" to="100%" dur="2s" repeatCount="indefinite"></animate></rect>', 7), o = [
8
+ a
9
9
  ];
10
10
  function h(n, f) {
11
- return r(), t("svg", a, o);
11
+ return t(), r("svg", l, o);
12
12
  }
13
13
  const d = /* @__PURE__ */ c(i, [["render", h]]);
14
14
  export {
@@ -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"),r={},i={width:"100%",height:"20rem",xmlns:"http://www.w3.org/2000/svg"},c=e.createStaticVNode('<rect x="0" y="0" rx="5" ry="5" width="100%" height="100%" fill="rgb(var(--grey))"></rect><rect x="15" y="15" rx="4" ry="4" width="40%" height="20" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="45" rx="5" ry="5" width="70%" height="50" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="110" rx="3" ry="3" width="90%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="130" rx="3" ry="3" width="70%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="-25%" y="0" width="25%" height="100%" fill="#fff" mask="url(#myMask)" opacity="0.3"><animate attributeName="x" from="-25%" to="100%" dur="2s" repeatCount="indefinite"></animate></rect>',6),a=[c];function l(n,h){return e.openBlock(),e.createElementBlock("svg",i,a)}const o=t.default(r,[["render",l]]);exports.default=o;
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"),r={},i={width:"100%",height:"20rem",xmlns:"http://www.w3.org/2000/svg"},c=e.createStaticVNode('<rect x="0" y="0" rx="5" ry="5" width="100%" height="100%" fill="rgb(var(--light))"></rect><rect x="15" y="15" rx="4" ry="4" width="40%" height="20" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="45" rx="5" ry="5" width="70%" height="50" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="110" rx="3" ry="3" width="90%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="130" rx="3" ry="3" width="70%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="-25%" y="0" width="25%" height="100%" fill="#fff" mask="url(#myMask)" opacity="0.3"><animate attributeName="x" from="-25%" to="100%" dur="2s" repeatCount="indefinite"></animate></rect>',6),a=[c];function l(h,n){return e.openBlock(),e.createElementBlock("svg",i,a)}const o=t.default(r,[["render",l]]);exports.default=o;
@@ -4,7 +4,7 @@ const c = {}, a = {
4
4
  width: "100%",
5
5
  height: "20rem",
6
6
  xmlns: "http://www.w3.org/2000/svg"
7
- }, h = /* @__PURE__ */ e('<rect x="0" y="0" rx="5" ry="5" width="100%" height="100%" fill="rgb(var(--grey))"></rect><rect x="15" y="15" rx="4" ry="4" width="40%" height="20" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="45" rx="5" ry="5" width="70%" height="50" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="110" rx="3" ry="3" width="90%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="130" rx="3" ry="3" width="70%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="-25%" y="0" width="25%" height="100%" fill="#fff" mask="url(#myMask)" opacity="0.3"><animate attributeName="x" from="-25%" to="100%" dur="2s" repeatCount="indefinite"></animate></rect>', 6), o = [
7
+ }, h = /* @__PURE__ */ e('<rect x="0" y="0" rx="5" ry="5" width="100%" height="100%" fill="rgb(var(--light))"></rect><rect x="15" y="15" rx="4" ry="4" width="40%" height="20" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="45" rx="5" ry="5" width="70%" height="50" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="110" rx="3" ry="3" width="90%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="130" rx="3" ry="3" width="70%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="-25%" y="0" width="25%" height="100%" fill="#fff" mask="url(#myMask)" opacity="0.3"><animate attributeName="x" from="-25%" to="100%" dur="2s" repeatCount="indefinite"></animate></rect>', 6), o = [
8
8
  h
9
9
  ];
10
10
  function l(n, f) {
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),a=require("../../../../components/Spoiler/Spoiler.vue2.cjs"),l=require("vue-i18n"),c=require("../../../icons/navigation/IconChevronBottom.vue.cjs"),d={class:"bg-black t-white radius-big pd-big"},u={class:"mn-b-big t-center title"},p={class:"mn-b-semi"},h={key:0,class:"t-transp p-big w-m-60r mn-l-auto mn-r-auto"},m={class:"cols-1"},b={class:"cursor-pointer w-100 flex-v-center flex-nowrap flex"},v={class:"w-100"},y={class:"mn-t-semi"},f=["innerHTML"],w={__name:"SectionGuide",props:{textData:{type:Object,default:()=>({messages:{en:{title:"If you still wonder?",subtitle:"Have questions about Weeder? Check out our FAQ section for comprehensive answers about our platform, products, and policies:",FAQ:[{title:"Do you have a marijuana dispensary store that I can visit?",description:"Unfortunately, we do not currently have our own physical dispensary store that is open to the public. However, you can visit our licensed partner Fin.Kan House to purchase marijuana products. Alternatively, you can also order weed from us directly through our website or by phone for delivery to your location. 📱"},{title:"What is the minimum age requirement to purchase cannabis products?",description:"The minimum age requirement to purchase cannabis products is 21 years of age 🔞. Please be prepared to provide proof of age when you receive delivery."},{title:"How will my order be delivered?",description:"Orders will be delivered to the address provided at checkout 📬. Please ensure that someone is available to receive the delivery at the designated address."},{title:"Is it safe to order cannabis online?",description:"It is safe to order cannabis online from a licensed and reputable retailer 🏭. "},{title:"Do you deliver weed to hotels in Thailand?",description:"Hell yeah! If you order weed online, be sure to give us the hotel name and where you would like to meet your weed delivery driver."},{title:"Are there any promotions or discounts available?",description:"We frequently offer promotions and discounts on select products 🎉. Please check our website or social media pages for the latest deals."}]},ru:{title:"У вас еще есть вопросы?",FAQ:[{title:"У вас есть магазин марихуаны, который я могу посетить?",description:"К сожалению, у нас нет собственного физического магазина марихуаны, который открыт для посетителей. Однако вы можете посетить нашего лицензированного партнера Fin.Kan House, чтобы приобрести марихуану. Также вы можете заказать марихуану у нас напрямую через наш сайт или по телефону для доставки в ваш адрес."},{title:"Какой минимальный возраст для покупки каннабиса?",description:"Минимальное возрастное требование для покупки каннабиса составляет 21 год 🔞. Будьте готовы предъявить документы, когда вы будете получать доставку."},{title:"Как будет доставлен мой заказ?",description:"Заказы будут доставлены по указанному при оформлении заказа адресу 📬. Пожалуйста, убедитесь, что кто-то будет дома, чтобы принять доставку."},{title:"Безопасно ли заказывать каннабис онлайн?",description:"Да, безопасно заказывать каннабис онлайн у лицензированного и хорошо известного ретейлера 🏭. "},{title:"Вы доставляете травку в отели Таиланда?",description:"Черт возьми, да! Если вы заказываете травку онлайн, обязательно сообщите нам название отеля и место, где вы хотели бы встретиться с водителем, доставляющим травку."},{title:"Есть ли какие-то акции или скидки?",description:"Мы часто предлагаем акции и скидки на определенные товары 🎉. Пожалуйста, посетите наш сайт или страницы в социальных сетях, чтобы узнать о последних предложениях."}]}}})}},setup(r){const i=r,{t,tm:s}=l.useI18n(i.textData);return(_,g)=>(e.openBlock(),e.createElementBlock("div",d,[e.createElementVNode("div",u,[e.createElementVNode("h2",p,e.toDisplayString(e.unref(t)("title")),1),e.unref(t)("subtitle")!=="subtitle"?(e.openBlock(),e.createElementBlock("p",h,e.toDisplayString(e.unref(t)("subtitle")),1)):e.createCommentVNode("",!0)]),e.createElementVNode("div",m,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(s)("FAQ"),o=>(e.openBlock(),e.createBlock(a.default,{class:"t-white br-white-transp-10 br-solid br-1px radius-small o-hidden pd-big mn-b-thin"},{header:e.withCtx(({isOpen:n})=>[e.createElementVNode("div",b,[e.createElementVNode("h3",v,e.toDisplayString(o.title),1),e.createVNode(c.default,{class:e.normalizeClass([{"rotate-180":n},"i-semi"]),fill:"rgb(var(--white))"},null,8,["class"])])]),content:e.withCtx(()=>[e.createElementVNode("ul",y,[e.createElementVNode("p",{class:"t-transp",innerHTML:o.description},null,8,f)])]),_:2},1024))),256))])]))}};exports.default=w;
@@ -0,0 +1,98 @@
1
+ import { openBlock as t, createElementBlock as s, createElementVNode as e, toDisplayString as r, unref as o, createCommentVNode as p, Fragment as h, renderList as m, createBlock as b, withCtx as a, createVNode as f, normalizeClass as v } from "vue";
2
+ import y from "../../../../components/Spoiler/Spoiler.vue2.js";
3
+ import { useI18n as _ } from "vue-i18n";
4
+ import w from "../../../icons/navigation/IconChevronBottom.vue.js";
5
+ const g = { class: "bg-black t-white radius-big pd-big" }, k = { class: "mn-b-big t-center title" }, x = { class: "mn-b-semi" }, H = {
6
+ key: 0,
7
+ class: "t-transp p-big w-m-60r mn-l-auto mn-r-auto"
8
+ }, F = { class: "cols-1" }, I = { class: "cursor-pointer w-100 flex-v-center flex-nowrap flex" }, A = { class: "w-100" }, C = { class: "mn-t-semi" }, D = ["innerHTML"], N = {
9
+ __name: "SectionGuide",
10
+ props: {
11
+ textData: {
12
+ type: Object,
13
+ default: () => ({
14
+ messages: {
15
+ en: {
16
+ title: "If you still wonder?",
17
+ subtitle: "Have questions about Weeder? Check out our FAQ section for comprehensive answers about our platform, products, and policies:",
18
+ FAQ: [{
19
+ title: "Do you have a marijuana dispensary store that I can visit?",
20
+ description: "Unfortunately, we do not currently have our own physical dispensary store that is open to the public. However, you can visit our licensed partner Fin.Kan House to purchase marijuana products. Alternatively, you can also order weed from us directly through our website or by phone for delivery to your location. 📱"
21
+ }, {
22
+ title: "What is the minimum age requirement to purchase cannabis products?",
23
+ description: "The minimum age requirement to purchase cannabis products is 21 years of age 🔞. Please be prepared to provide proof of age when you receive delivery."
24
+ }, {
25
+ title: "How will my order be delivered?",
26
+ description: "Orders will be delivered to the address provided at checkout 📬. Please ensure that someone is available to receive the delivery at the designated address."
27
+ }, {
28
+ title: "Is it safe to order cannabis online?",
29
+ description: "It is safe to order cannabis online from a licensed and reputable retailer 🏭. "
30
+ }, {
31
+ title: "Do you deliver weed to hotels in Thailand?",
32
+ description: "Hell yeah! If you order weed online, be sure to give us the hotel name and where you would like to meet your weed delivery driver."
33
+ }, {
34
+ title: "Are there any promotions or discounts available?",
35
+ description: "We frequently offer promotions and discounts on select products 🎉. Please check our website or social media pages for the latest deals."
36
+ }]
37
+ },
38
+ ru: {
39
+ title: "У вас еще есть вопросы?",
40
+ FAQ: [{
41
+ title: "У вас есть магазин марихуаны, который я могу посетить?",
42
+ description: "К сожалению, у нас нет собственного физического магазина марихуаны, который открыт для посетителей. Однако вы можете посетить нашего лицензированного партнера Fin.Kan House, чтобы приобрести марихуану. Также вы можете заказать марихуану у нас напрямую через наш сайт или по телефону для доставки в ваш адрес."
43
+ }, {
44
+ title: "Какой минимальный возраст для покупки каннабиса?",
45
+ description: "Минимальное возрастное требование для покупки каннабиса составляет 21 год 🔞. Будьте готовы предъявить документы, когда вы будете получать доставку."
46
+ }, {
47
+ title: "Как будет доставлен мой заказ?",
48
+ description: "Заказы будут доставлены по указанному при оформлении заказа адресу 📬. Пожалуйста, убедитесь, что кто-то будет дома, чтобы принять доставку."
49
+ }, {
50
+ title: "Безопасно ли заказывать каннабис онлайн?",
51
+ description: "Да, безопасно заказывать каннабис онлайн у лицензированного и хорошо известного ретейлера 🏭. "
52
+ }, {
53
+ title: "Вы доставляете травку в отели Таиланда?",
54
+ description: "Черт возьми, да! Если вы заказываете травку онлайн, обязательно сообщите нам название отеля и место, где вы хотели бы встретиться с водителем, доставляющим травку."
55
+ }, {
56
+ title: "Есть ли какие-то акции или скидки?",
57
+ description: "Мы часто предлагаем акции и скидки на определенные товары 🎉. Пожалуйста, посетите наш сайт или страницы в социальных сетях, чтобы узнать о последних предложениях."
58
+ }]
59
+ }
60
+ }
61
+ })
62
+ }
63
+ },
64
+ setup(l) {
65
+ const c = l, { t: i, tm: d } = _(c.textData);
66
+ return (q, B) => (t(), s("div", g, [
67
+ e("div", k, [
68
+ e("h2", x, r(o(i)("title")), 1),
69
+ o(i)("subtitle") !== "subtitle" ? (t(), s("p", H, r(o(i)("subtitle")), 1)) : p("", !0)
70
+ ]),
71
+ e("div", F, [
72
+ (t(!0), s(h, null, m(o(d)("FAQ"), (n) => (t(), b(y, { class: "t-white br-white-transp-10 br-solid br-1px radius-small o-hidden pd-big mn-b-thin" }, {
73
+ header: a(({ isOpen: u }) => [
74
+ e("div", I, [
75
+ e("h3", A, r(n.title), 1),
76
+ f(w, {
77
+ class: v([{ "rotate-180": u }, "i-semi"]),
78
+ fill: "rgb(var(--white))"
79
+ }, null, 8, ["class"])
80
+ ])
81
+ ]),
82
+ content: a(() => [
83
+ e("ul", C, [
84
+ e("p", {
85
+ class: "t-transp",
86
+ innerHTML: n.description
87
+ }, null, 8, D)
88
+ ])
89
+ ]),
90
+ _: 2
91
+ }, 1024))), 256))
92
+ ])
93
+ ]));
94
+ }
95
+ };
96
+ export {
97
+ N as default
98
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./components/sections/MobileApp.vue.cjs"),t=require("./components/sections/SubscribeNewsletter.vue.cjs"),r=require("./components/sections/SectionFeatures.vue.cjs"),i=require("./components/elements/FloatingImages.vue.cjs"),u=require("./components/elements/AnimatedGrid.vue.cjs");exports.MobileApp=e.default;exports.SubscribeNewsletter=t.default;exports.SectionFeatures=r.default;exports.FloatingImages=i.default;exports.AnimatedGrid=u.default;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./components/sections/MobileApp.vue.cjs"),t=require("./components/sections/SubscribeNewsletter.vue.cjs"),i=require("./components/sections/SectionFeatures.vue.cjs"),r=require("./components/sections/SectionGuide.vue.cjs"),u=require("./components/elements/FloatingImages.vue.cjs"),o=require("./components/elements/AnimatedGrid.vue.cjs");exports.MobileApp=e.default;exports.SubscribeNewsletter=t.default;exports.SectionFeatures=i.default;exports.SectionGuide=r.default;exports.FloatingImages=u.default;exports.AnimatedGrid=o.default;
@@ -1,12 +1,14 @@
1
1
  import { default as a } from "./components/sections/MobileApp.vue.js";
2
- import { default as o } from "./components/sections/SubscribeNewsletter.vue.js";
2
+ import { default as r } from "./components/sections/SubscribeNewsletter.vue.js";
3
3
  import { default as s } from "./components/sections/SectionFeatures.vue.js";
4
- import { default as d } from "./components/elements/FloatingImages.vue.js";
4
+ import { default as l } from "./components/sections/SectionGuide.vue.js";
5
+ import { default as i } from "./components/elements/FloatingImages.vue.js";
5
6
  import { default as p } from "./components/elements/AnimatedGrid.vue.js";
6
7
  export {
7
8
  p as AnimatedGrid,
8
- d as FloatingImages,
9
+ i as FloatingImages,
9
10
  a as MobileApp,
10
11
  s as SectionFeatures,
11
- o as SubscribeNewsletter
12
+ l as SectionGuide,
13
+ r as SubscribeNewsletter
12
14
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Field/Field.vue2.cjs");require("../../../../components/Loader/Loader.vue.cjs");require("../../../../components/Button/Button.vue2.cjs");const a=require("../../../mobile/components/Menu/Menu.vue.cjs"),r=require("../../../mobile/components/Menu/MenuItem.vue.cjs"),n=require("vue-router");require("../../../auth/store/auth.cjs");require("./Legal.vue2.cjs");const u={class:"for-transition w-100 pd-medium"},l=e.createStaticVNode('<div class="bg-light 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-light"},{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.vue.cjs");require("../../../../components/Loader/Loader.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-light 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-light"},{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.vue2.js";
2
+ import "../../../../components/Field/Field.vue.js";
3
3
  import "../../../../components/Loader/Loader.vue.js";
4
- import "../../../../components/Button/Button.vue2.js";
4
+ import "../../../../components/Button/Button.vue.js";
5
5
  import p from "../../../mobile/components/Menu/Menu.vue.js";
6
6
  import n from "../../../mobile/components/Menu/MenuItem.vue.js";
7
7
  import { useRoute as d, useRouter as h } from "vue-router";