@ozdao/prometheus-framework 0.0.88 → 0.0.90

Sign up to get free protection for your applications and to get access to all the features.
Files changed (520) hide show
  1. package/dist/{Breadcrumbs.vue_vue_type_style_index_0_lang-cdbafd07.mjs → Breadcrumbs.vue_vue_type_style_index_0_lang-d9c6e4d1.mjs} +8 -7
  2. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-e32a3041.js +1 -0
  3. package/dist/{ButtonFollow-728aab73.mjs → ButtonFollow-5e19fc49.mjs} +7 -6
  4. package/dist/ButtonFollow-959861db.js +1 -0
  5. package/dist/CardOrganization-01c2e248.mjs +210 -0
  6. package/dist/CardOrganization-1be3651b.js +1 -0
  7. package/dist/{CardHeader-925a972b.js → Chips-2a0d9bfe.js} +1 -1
  8. package/dist/Chips-f0b7ce36.mjs +110 -0
  9. package/dist/{Feed-a31c43c2.mjs → Feed-8bbb7077.mjs} +100 -95
  10. package/dist/{Feed-dc8b66bf.mjs → Feed-986ddd21.mjs} +114 -126
  11. package/dist/Feed-a2870bbf.js +1 -0
  12. package/dist/Feed-f987d8bb.js +1 -0
  13. package/dist/IconEdit-823ddda9.js +1 -0
  14. package/dist/IconEdit-f0ad8b9a.mjs +205 -0
  15. package/dist/{Image-9a870c88.js → Image-0f2814f0.js} +2 -2
  16. package/dist/{Image-6c7584f5.mjs → Image-9e90a5f6.mjs} +2 -2
  17. package/dist/{PlaceholderUserpic-2221dbf2.mjs → PlaceholderUserpic-14c6ea7e.mjs} +1 -1
  18. package/dist/PlaceholderUserpic-20d58460.js +1 -0
  19. package/dist/{Popup-105ef2c3.js → Popup-0106ee0c.js} +1 -1
  20. package/dist/{Popup-0c791801.mjs → Popup-31c7ffc6.mjs} +1 -1
  21. package/dist/{Product-2fbf9d99.js → Product-54854cd1.js} +2 -2
  22. package/dist/{Product-1724d88d.mjs → Product-58a83c67.mjs} +19 -18
  23. package/dist/ProductEdit-36e5cfdd.js +1 -0
  24. package/dist/{ProductEdit-20709821.mjs → ProductEdit-56752bbe.mjs} +32 -31
  25. package/dist/{ProfileBlogposts-fb014bc6.mjs → ProfileBlogposts-67e1bd8f.mjs} +13 -12
  26. package/dist/ProfileBlogposts-a798df3d.js +1 -0
  27. package/dist/{ProfileComments-58094a50.mjs → ProfileComments-17352b6a.mjs} +9 -8
  28. package/dist/ProfileComments-473c3413.js +1 -0
  29. package/dist/{ProfileEvents-5d206e3d.mjs → ProfileEvents-76166bc5.mjs} +15 -14
  30. package/dist/ProfileEvents-cdebd612.js +1 -0
  31. package/dist/ProfileLikes-da6303a4.js +1 -0
  32. package/dist/{ProfileLikes-503712ec.mjs → ProfileLikes-f838ff5e.mjs} +13 -12
  33. package/dist/ProfileOrganizations-5348e892.js +1 -0
  34. package/dist/{ProfileOrganizations-32ab1e30.mjs → ProfileOrganizations-58ebfe44.mjs} +9 -8
  35. package/dist/Publics-e14d36ed.js +1 -0
  36. package/dist/{Publics-9ebffff1.mjs → Publics-fcb1f708.mjs} +17 -16
  37. package/dist/{Tab-fcb73759.mjs → Tab-a243605d.mjs} +1 -1
  38. package/dist/{UploadImage-441e8526.js → UploadImage-73d66f27.js} +1 -1
  39. package/dist/{UploadImage-d33b293e.mjs → UploadImage-a3ef4012.mjs} +1 -1
  40. package/dist/_plugin-vue_export-helper-dad06003.mjs +9 -0
  41. package/dist/_plugin-vue_export-helper-f246444f.js +1 -0
  42. package/dist/{auth-8b5aac7a.mjs → auth-5217f6a5.mjs} +13 -17
  43. package/dist/auth-5a58f8cb.js +8 -0
  44. package/dist/auth.client.cjs +8 -8
  45. package/dist/auth.client.js +18 -17
  46. package/dist/{auth.validation-093babe9.mjs → auth.validation-9f87ea95.mjs} +1 -1
  47. package/dist/{auth.validation-a18510e8.js → auth.validation-be05e981.js} +1 -1
  48. package/dist/community.client.cjs +1 -1
  49. package/dist/community.client.js +28 -26
  50. package/dist/community.server.js +7 -167
  51. package/dist/community.server.mjs +7 -167
  52. package/dist/components/Address/Address.vue.d.ts.map +1 -1
  53. package/dist/components/Button/Button.vue.d.ts.map +1 -1
  54. package/dist/components/Checkbox/Checkbox.vue.d.ts.map +1 -1
  55. package/dist/components/Dropdown/Dropdown.vue.d.ts.map +1 -1
  56. package/dist/components/Field/Field.vue.d.ts.map +1 -1
  57. package/dist/components/FieldPhone/FieldPhone(script-setup).vue.d.ts +3 -3
  58. package/dist/components/FieldPhone/FieldPhone.vue.d.ts +1 -1
  59. package/dist/components/FieldPhone/FieldPhone.vue.d.ts.map +1 -1
  60. package/dist/components/LocationMarker/LocationMarker.vue.d.ts.map +1 -1
  61. package/dist/components/Map/Map.vue.d.ts.map +1 -1
  62. package/dist/components/Popup/Popup.vue.d.ts.map +1 -1
  63. package/dist/components/Select/Select.vue.d.ts.map +1 -1
  64. package/dist/components/SelectMulti/SelectMulti.vue.d.ts.map +1 -1
  65. package/dist/components/Spoiler/Spoiler.vue.d.ts.map +1 -1
  66. package/dist/components/Tab/Tab.vue.d.ts.map +1 -1
  67. package/dist/components/Text/Text.vue.d.ts.map +1 -1
  68. package/dist/components/Tooltip/Tooltip.vue.d.ts.map +1 -1
  69. package/dist/components/Upload/Upload.vue.d.ts.map +1 -1
  70. package/dist/events.client.cjs +1 -1
  71. package/dist/events.client.js +26 -24
  72. package/dist/{inputs.validation-6960f71b.mjs → inputs.validation-14e8e01f.mjs} +4 -4
  73. package/dist/landing.client.cjs +1 -0
  74. package/dist/landing.client.js +132 -0
  75. package/dist/main.css +1 -1
  76. package/dist/modules/icons/labels/LabelAppStore.vue.d.ts +2 -0
  77. package/dist/modules/icons/labels/LabelGooglePlay.vue.d.ts +2 -0
  78. package/dist/modules/{community/components/blocks/HeaderBlogpost.vue.d.ts → landing/components/sections/MobileApp.vue.d.ts} +3 -3
  79. package/dist/{organizations-1b4c84ee.mjs → organizations-2adff182.mjs} +3 -3
  80. package/dist/organizations-e97a0f85.js +1 -0
  81. package/dist/{organizations.client-253c8068.mjs → organizations.client-88d41199.mjs} +998 -1139
  82. package/dist/organizations.client-d21a22ec.js +3 -0
  83. package/dist/organizations.client.cjs +1 -1
  84. package/dist/organizations.client.js +36 -35
  85. package/dist/organizations.server.js +7 -3
  86. package/dist/organizations.server.mjs +7 -3
  87. package/dist/prometheus-framework.cjs.js +19 -19
  88. package/dist/prometheus-framework.es.js +2173 -2165
  89. package/dist/style.css +1 -1
  90. package/dist/users.client.cjs +1 -1
  91. package/dist/users.client.js +266 -256
  92. package/dist/users.server.js +2 -2
  93. package/dist/users.server.mjs +2 -2
  94. package/package.json +6 -2
  95. package/src/components/Field/Field.vue +2 -1
  96. package/src/components/Text/Text.vue +3 -1
  97. package/src/modules/community/community.server.js +0 -2
  98. package/src/modules/community/components/blocks/CardBlogpost.vue +8 -0
  99. package/src/modules/community/components/pages/Blog.vue +1 -1
  100. package/src/modules/community/components/pages/CreateBlogPost.vue +2 -1
  101. package/src/modules/community/controllers/blog.controller.js +5 -1
  102. package/src/modules/events/components/pages/EditEvent.vue +2 -1
  103. package/src/modules/icons/labels/LabelAppStore.vue +32 -0
  104. package/src/modules/icons/labels/LabelGooglePlay.vue +48 -0
  105. package/src/modules/landing/components/sections/MobileApp.vue +125 -0
  106. package/src/modules/landing/landing.client.js +7 -0
  107. package/src/modules/organizations/components/blocks/CardOrganization.vue +3 -1
  108. package/src/modules/organizations/components/blocks/Socials.vue +16 -3
  109. package/src/modules/organizations/components/pages/OrganizationEdit.vue +39 -15
  110. package/src/modules/organizations/components/sections/DetailsTab.vue +13 -9
  111. package/src/modules/organizations/controllers/organizations.controller.js +1 -1
  112. package/src/modules/organizations/models/organization.model.js +6 -2
  113. package/src/modules/organizations/store/organizations.js +2 -2
  114. package/src/modules/users/components/pages/Profile.vue +26 -11
  115. package/src/modules/users/components/pages/ProfileEdit.vue +28 -10
  116. package/src/modules/users/models/user.model.js +2 -2
  117. package/src/modules/users/store/users.js +1 -2
  118. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-0216f2b0.js +0 -7
  119. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-0cb41a82.js +0 -1
  120. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-15e71ec4.js +0 -1
  121. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-2809e848.mjs +0 -219
  122. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-2af7f63b.mjs +0 -80
  123. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-451d2614.mjs +0 -80
  124. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-474eb4c2.js +0 -1
  125. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-5ea8b4fa.js +0 -1
  126. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-628f013e.mjs +0 -138
  127. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-85119a4e.js +0 -1
  128. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-8cb3c120.mjs +0 -185
  129. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-a477dfc6.mjs +0 -138
  130. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-c6f3a0f0.js +0 -1
  131. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-d777ad17.mjs +0 -80
  132. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-dd037bbf.js +0 -1
  133. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-e133a3c6.mjs +0 -80
  134. package/dist/ButtonFollow-0d83a04a.mjs +0 -130
  135. package/dist/ButtonFollow-1aca37e0.mjs +0 -130
  136. package/dist/ButtonFollow-1b655344.js +0 -1
  137. package/dist/ButtonFollow-2ce169ca.js +0 -1
  138. package/dist/ButtonFollow-6bbf3e24.mjs +0 -130
  139. package/dist/ButtonFollow-6cd2efa2.mjs +0 -130
  140. package/dist/ButtonFollow-b29bd420.mjs +0 -130
  141. package/dist/ButtonFollow-c4680999.js +0 -1
  142. package/dist/ButtonFollow-c9484003.mjs +0 -130
  143. package/dist/ButtonFollow-d983e174.js +0 -1
  144. package/dist/ButtonFollow-f630623a.js +0 -1
  145. package/dist/ButtonFollow-f9c5dc7a.js +0 -1
  146. package/dist/CardHeader-2d7e5d49.mjs +0 -76
  147. package/dist/CardHeader-2ef6618e.mjs +0 -96
  148. package/dist/CardHeader-377cfc4b.js +0 -1
  149. package/dist/CardHeader-39f75e85.mjs +0 -76
  150. package/dist/CardHeader-88de7b20.mjs +0 -76
  151. package/dist/CardHeader-ce5a1a75.mjs +0 -96
  152. package/dist/CardHeader-ddf82318.js +0 -1
  153. package/dist/CardHeader-dff9c71a.js +0 -1
  154. package/dist/CardHeader-e15eb618.js +0 -1
  155. package/dist/CardHeader-e517c801.mjs +0 -76
  156. package/dist/CardOrganization-0291683b.js +0 -1
  157. package/dist/CardOrganization-1384ff9a.mjs +0 -320
  158. package/dist/CardOrganization-21de52b3.js +0 -1
  159. package/dist/CardOrganization-3c42e14f.mjs +0 -320
  160. package/dist/CardOrganization-4859370e.mjs +0 -320
  161. package/dist/CardOrganization-58b54995.js +0 -1
  162. package/dist/CardOrganization-91e79698.mjs +0 -320
  163. package/dist/CardOrganization-9841dbe0.js +0 -1
  164. package/dist/CardOrganization-a05f3a19.js +0 -1
  165. package/dist/CardOrganization-a75b523d.mjs +0 -63
  166. package/dist/CardOrganization-d462e158.mjs +0 -320
  167. package/dist/CardOrganization-ee5c34ab.js +0 -1
  168. package/dist/CardOrganization-f70bd169.mjs +0 -202
  169. package/dist/CardOrganization-ffa585a7.js +0 -1
  170. package/dist/Comments-1aec0e5e.js +0 -1
  171. package/dist/Comments-5ed669ea.mjs +0 -74
  172. package/dist/Comments-63f154a6.js +0 -9
  173. package/dist/Comments-641516f8.mjs +0 -76
  174. package/dist/Comments-646c73ee.js +0 -1
  175. package/dist/Comments-6ff58c26.js +0 -1
  176. package/dist/Comments-7c4f2715.js +0 -1
  177. package/dist/Comments-81feeb4a.mjs +0 -76
  178. package/dist/Comments-9427a0eb.mjs +0 -76
  179. package/dist/Comments-b5821190.mjs +0 -76
  180. package/dist/Comments-b620bae6.js +0 -1
  181. package/dist/Comments-b6e32958.js +0 -1
  182. package/dist/Comments-c092550f.mjs +0 -76
  183. package/dist/Comments-c5afa4d6.mjs +0 -459
  184. package/dist/Comments-d2a8fd0f.mjs +0 -76
  185. package/dist/DepartmentEdit-305a0f5d.mjs +0 -374
  186. package/dist/DepartmentEdit-6abd59e1.js +0 -1
  187. package/dist/DepartmentEdit-9e6fe007.mjs +0 -374
  188. package/dist/DepartmentEdit-d98c2239.js +0 -1
  189. package/dist/EditProductImages-04ec4326.js +0 -1
  190. package/dist/EditProductImages-11510b66.js +0 -1
  191. package/dist/EditProductImages-1d4b44a9.mjs +0 -236
  192. package/dist/EditProductImages-4246db75.mjs +0 -236
  193. package/dist/EditProductImages-42f9f665.mjs +0 -236
  194. package/dist/EditProductImages-61ff4321.mjs +0 -236
  195. package/dist/EditProductImages-98d13eb0.js +0 -1
  196. package/dist/EditProductImages-9f25f39f.mjs +0 -236
  197. package/dist/EditProductImages-b1b05c03.js +0 -1
  198. package/dist/EditProductImages-c7daafb2.mjs +0 -236
  199. package/dist/EditProductImages-cf67d31b.js +0 -1
  200. package/dist/EditProductImages-cfb1856e.mjs +0 -237
  201. package/dist/EditProductImages-d9228ad0.js +0 -1
  202. package/dist/EditProductImages-ec630dbf.js +0 -1
  203. package/dist/EditProductImages-f983f473.mjs +0 -236
  204. package/dist/EmptyState-1214f70b.mjs +0 -36
  205. package/dist/EmptyState-23c13029.js +0 -1
  206. package/dist/Feed-0b549674.js +0 -1
  207. package/dist/Feed-193dd1df.mjs +0 -342
  208. package/dist/Feed-26bf6bef.js +0 -1
  209. package/dist/Feed-2f9a1922.mjs +0 -334
  210. package/dist/Feed-31523f38.js +0 -1
  211. package/dist/Feed-51e4e232.js +0 -1
  212. package/dist/Feed-531de2d5.js +0 -1
  213. package/dist/Feed-55c5907a.js +0 -1
  214. package/dist/Feed-5c9e4e74.mjs +0 -340
  215. package/dist/Feed-706cd7c0.mjs +0 -383
  216. package/dist/Feed-8009e4f8.js +0 -1
  217. package/dist/Feed-81d5802e.mjs +0 -355
  218. package/dist/Feed-83ef5666.js +0 -1
  219. package/dist/Feed-8fd41524.js +0 -1
  220. package/dist/Feed-91eff3af.mjs +0 -393
  221. package/dist/Feed-926cf4f3.mjs +0 -355
  222. package/dist/Feed-932d976d.js +0 -1
  223. package/dist/Feed-962e009b.js +0 -1
  224. package/dist/Feed-a82ae26b.js +0 -1
  225. package/dist/Feed-aa3bd30a.js +0 -1
  226. package/dist/Feed-b8eeb4e7.js +0 -1
  227. package/dist/Feed-bd7b1a45.js +0 -1
  228. package/dist/Feed-c0007a83.mjs +0 -383
  229. package/dist/Feed-c93012c7.mjs +0 -346
  230. package/dist/Feed-ca8e0e22.mjs +0 -423
  231. package/dist/Feed-d2e5978c.mjs +0 -342
  232. package/dist/Feed-d4220f74.mjs +0 -340
  233. package/dist/Feed-d8e33aed.mjs +0 -397
  234. package/dist/Feed-df5bbb3c.mjs +0 -346
  235. package/dist/Feed-e5fb4972.mjs +0 -397
  236. package/dist/Feed-e8fb21ed.js +0 -1
  237. package/dist/Feed-e91b36ea.mjs +0 -390
  238. package/dist/Feed-ecf37814.mjs +0 -367
  239. package/dist/Feed-f4cad6c3.js +0 -1
  240. package/dist/Field-740d5a17.mjs +0 -60
  241. package/dist/Field-a1770ccf.js +0 -1
  242. package/dist/Field-ada86df2.js +0 -1
  243. package/dist/Field-e839d9ca.mjs +0 -60
  244. package/dist/Footer.vue_vue_type_style_index_0_lang-0ea8fbf8.js +0 -1
  245. package/dist/Footer.vue_vue_type_style_index_0_lang-2f7f46f1.js +0 -7
  246. package/dist/Footer.vue_vue_type_style_index_0_lang-39d2aa14.mjs +0 -37
  247. package/dist/Footer.vue_vue_type_style_index_0_lang-4ed993c7.mjs +0 -1
  248. package/dist/HeaderBlogpost-59dd9a6b.mjs +0 -93
  249. package/dist/HeaderBlogpost-8ec43cd0.js +0 -1
  250. package/dist/IconEdit-736c89be.js +0 -1
  251. package/dist/IconEdit-e9fd4c6c.mjs +0 -21
  252. package/dist/PlaceholderUserpic-1a6cf257.mjs +0 -28
  253. package/dist/PlaceholderUserpic-3bf126ee.js +0 -1
  254. package/dist/PlaceholderUserpic-3c1b9f7b.mjs +0 -28
  255. package/dist/PlaceholderUserpic-43e5ab23.js +0 -1
  256. package/dist/PlaceholderUserpic-4fe04ec9.mjs +0 -28
  257. package/dist/PlaceholderUserpic-52966e09.js +0 -1
  258. package/dist/PlaceholderUserpic-9085715c.mjs +0 -28
  259. package/dist/PlaceholderUserpic-995da0fc.mjs +0 -28
  260. package/dist/PlaceholderUserpic-b27c51f7.js +0 -1
  261. package/dist/PlaceholderUserpic-d64d6dd5.js +0 -1
  262. package/dist/PlaceholderUserpic-e44ccca8.mjs +0 -28
  263. package/dist/PlaceholderUserpic-fe8bd48d.js +0 -1
  264. package/dist/Popup-70f6a8c0.mjs +0 -76
  265. package/dist/Popup-82fb2c8a.mjs +0 -76
  266. package/dist/Popup-9479e39a.js +0 -1
  267. package/dist/Popup.vue_vue_type_style_index_0_lang-0cbf3253.js +0 -1
  268. package/dist/Popup.vue_vue_type_style_index_0_lang-22048704.mjs +0 -280
  269. package/dist/Popup.vue_vue_type_style_index_0_lang-28b9af00.mjs +0 -280
  270. package/dist/Popup.vue_vue_type_style_index_0_lang-4f16907f.mjs +0 -924
  271. package/dist/Popup.vue_vue_type_style_index_0_lang-5b5f9cd7.js +0 -5
  272. package/dist/Popup.vue_vue_type_style_index_0_lang-769e7cf5.js +0 -5
  273. package/dist/Popup.vue_vue_type_style_index_0_lang-8981c189.mjs +0 -280
  274. package/dist/Popup.vue_vue_type_style_index_0_lang-931f265a.js +0 -1
  275. package/dist/Popup.vue_vue_type_style_index_0_lang-a191c190.js +0 -1
  276. package/dist/Popup.vue_vue_type_style_index_0_lang-a9351a87.js +0 -1
  277. package/dist/Popup.vue_vue_type_style_index_0_lang-d05075a7.mjs +0 -280
  278. package/dist/Popup.vue_vue_type_style_index_0_lang-f2c0cfb5.mjs +0 -924
  279. package/dist/Product-0195429b.js +0 -1
  280. package/dist/Product-035252c0.js +0 -1
  281. package/dist/Product-05cc1386.mjs +0 -687
  282. package/dist/Product-151f4473.mjs +0 -904
  283. package/dist/Product-19cc3654.js +0 -7
  284. package/dist/Product-2f3d592f.mjs +0 -837
  285. package/dist/Product-334f8bf4.mjs +0 -904
  286. package/dist/Product-35904a9b.js +0 -7
  287. package/dist/Product-3c64a352.mjs +0 -904
  288. package/dist/Product-45a6e7bd.mjs +0 -687
  289. package/dist/Product-4a5f985d.mjs +0 -837
  290. package/dist/Product-60e14832.mjs +0 -904
  291. package/dist/Product-67efba5c.js +0 -7
  292. package/dist/Product-6c37ef35.js +0 -7
  293. package/dist/Product-7087b358.mjs +0 -837
  294. package/dist/Product-96195a8e.js +0 -7
  295. package/dist/Product-a94d8b65.js +0 -7
  296. package/dist/Product-b440df7f.js +0 -7
  297. package/dist/Product-c3a77d07.mjs +0 -837
  298. package/dist/Product-c8441f02.js +0 -7
  299. package/dist/Product-cf9cfe65.mjs +0 -904
  300. package/dist/Product-df622dc0.mjs +0 -837
  301. package/dist/Product-eb2b6725.js +0 -7
  302. package/dist/Product-f4dbd969.mjs +0 -837
  303. package/dist/Product-f819b17e.js +0 -7
  304. package/dist/Product-fb63c7cd.js +0 -7
  305. package/dist/ProductEdit-04760699.js +0 -1
  306. package/dist/ProductEdit-177c1f16.mjs +0 -113
  307. package/dist/ProductEdit-1e990a92.js +0 -1
  308. package/dist/ProductEdit-20bda9f1.mjs +0 -113
  309. package/dist/ProductEdit-39adf62f.mjs +0 -113
  310. package/dist/ProductEdit-4d6f3720.js +0 -1
  311. package/dist/ProductEdit-57484f1e.mjs +0 -349
  312. package/dist/ProductEdit-5e419719.mjs +0 -113
  313. package/dist/ProductEdit-5f9a55b6.mjs +0 -113
  314. package/dist/ProductEdit-765f4780.js +0 -1
  315. package/dist/ProductEdit-9e579dd7.mjs +0 -113
  316. package/dist/ProductEdit-a81d13b9.js +0 -1
  317. package/dist/ProductEdit-b98883d8.js +0 -1
  318. package/dist/ProductEdit-c3c6341d.js +0 -1
  319. package/dist/ProductEdit-c5067942.mjs +0 -113
  320. package/dist/ProductEdit-ca271287.js +0 -1
  321. package/dist/ProductEdit-e2d47403.mjs +0 -113
  322. package/dist/ProductEdit-ef301baa.js +0 -1
  323. package/dist/ProfileBlogposts-00424109.js +0 -1
  324. package/dist/ProfileBlogposts-03658199.js +0 -1
  325. package/dist/ProfileBlogposts-11bfd9dc.js +0 -1
  326. package/dist/ProfileBlogposts-317742ee.mjs +0 -56
  327. package/dist/ProfileBlogposts-4341ca89.mjs +0 -46
  328. package/dist/ProfileBlogposts-55037a06.mjs +0 -56
  329. package/dist/ProfileBlogposts-65a7a5e0.mjs +0 -56
  330. package/dist/ProfileBlogposts-79d5c858.mjs +0 -63
  331. package/dist/ProfileBlogposts-892fdcf8.mjs +0 -56
  332. package/dist/ProfileBlogposts-dc11090e.js +0 -1
  333. package/dist/ProfileBlogposts-e55e30ae.js +0 -1
  334. package/dist/ProfileBlogposts-e9a7381e.js +0 -1
  335. package/dist/ProfileBlogposts-eca9916c.js +0 -1
  336. package/dist/ProfileBlogposts-ffa10f34.mjs +0 -63
  337. package/dist/ProfileComments-0396b55c.js +0 -1
  338. package/dist/ProfileComments-08d1670d.mjs +0 -43
  339. package/dist/ProfileComments-2e2a3a7a.mjs +0 -42
  340. package/dist/ProfileComments-34eb560b.mjs +0 -43
  341. package/dist/ProfileComments-48f3d4bc.mjs +0 -43
  342. package/dist/ProfileComments-5884d09f.mjs +0 -43
  343. package/dist/ProfileComments-66651060.mjs +0 -43
  344. package/dist/ProfileComments-677731b3.js +0 -1
  345. package/dist/ProfileComments-730c2f73.js +0 -1
  346. package/dist/ProfileComments-82791682.js +0 -1
  347. package/dist/ProfileComments-b6a688cd.js +0 -1
  348. package/dist/ProfileComments-b919f021.js +0 -1
  349. package/dist/ProfileComments-d3966a83.mjs +0 -43
  350. package/dist/ProfileComments-f5f260ec.js +0 -1
  351. package/dist/ProfileEvents-05485e20.js +0 -1
  352. package/dist/ProfileEvents-138ae25e.mjs +0 -55
  353. package/dist/ProfileEvents-1cfe6858.mjs +0 -55
  354. package/dist/ProfileEvents-20695376.mjs +0 -55
  355. package/dist/ProfileEvents-20e9da99.mjs +0 -46
  356. package/dist/ProfileEvents-45c4b137.mjs +0 -55
  357. package/dist/ProfileEvents-676239cc.js +0 -1
  358. package/dist/ProfileEvents-6e6c253b.mjs +0 -46
  359. package/dist/ProfileEvents-858e9471.mjs +0 -55
  360. package/dist/ProfileEvents-85a88674.mjs +0 -55
  361. package/dist/ProfileEvents-89def76b.js +0 -1
  362. package/dist/ProfileEvents-94d7b407.js +0 -1
  363. package/dist/ProfileEvents-b057d374.js +0 -1
  364. package/dist/ProfileEvents-b5431cd6.js +0 -1
  365. package/dist/ProfileEvents-b8a76b6e.js +0 -1
  366. package/dist/ProfileEvents-c1e04ac1.mjs +0 -46
  367. package/dist/ProfileEvents-cd75d80b.js +0 -1
  368. package/dist/ProfileEvents-cebebb17.js +0 -1
  369. package/dist/ProfileEvents-d53e7729.mjs +0 -46
  370. package/dist/ProfileEvents-d8e16509.js +0 -1
  371. package/dist/ProfileEvents-ddaf8fba.mjs +0 -55
  372. package/dist/ProfileEvents-ffe0e6f3.js +0 -1
  373. package/dist/ProfileLikes-0668b718.js +0 -1
  374. package/dist/ProfileLikes-2f3a4488.js +0 -1
  375. package/dist/ProfileLikes-405c2636.js +0 -1
  376. package/dist/ProfileLikes-4242bca5.mjs +0 -43
  377. package/dist/ProfileLikes-4a57f637.mjs +0 -43
  378. package/dist/ProfileLikes-7f965631.mjs +0 -43
  379. package/dist/ProfileLikes-854276f0.js +0 -1
  380. package/dist/ProfileLikes-8ccf6815.js +0 -1
  381. package/dist/ProfileLikes-a78900c0.js +0 -1
  382. package/dist/ProfileLikes-b5ac7f48.mjs +0 -43
  383. package/dist/ProfileLikes-c32c420b.mjs +0 -43
  384. package/dist/ProfileLikes-c4c87300.mjs +0 -42
  385. package/dist/ProfileLikes-c899e3df.js +0 -1
  386. package/dist/ProfileLikes-d978b084.mjs +0 -43
  387. package/dist/ProfileOrganizations-04cc9d6d.mjs +0 -198
  388. package/dist/ProfileOrganizations-0b76e38f.js +0 -1
  389. package/dist/ProfileOrganizations-0e202612.js +0 -1
  390. package/dist/ProfileOrganizations-13748b09.js +0 -1
  391. package/dist/ProfileOrganizations-1990d0cc.js +0 -1
  392. package/dist/ProfileOrganizations-2633e9e4.mjs +0 -198
  393. package/dist/ProfileOrganizations-3f305f4e.mjs +0 -210
  394. package/dist/ProfileOrganizations-46b6e015.mjs +0 -202
  395. package/dist/ProfileOrganizations-4ffaf01c.js +0 -1
  396. package/dist/ProfileOrganizations-50fce34e.js +0 -1
  397. package/dist/ProfileOrganizations-567e87e1.mjs +0 -210
  398. package/dist/ProfileOrganizations-5abfcc59.js +0 -1
  399. package/dist/ProfileOrganizations-5d681498.mjs +0 -202
  400. package/dist/ProfileOrganizations-704f628b.js +0 -1
  401. package/dist/ProfileOrganizations-b83f6720.js +0 -1
  402. package/dist/ProfileOrganizations-c58a4fb9.js +0 -1
  403. package/dist/ProfileOrganizations-c7688210.js +0 -1
  404. package/dist/ProfileOrganizations-ca9a95a1.js +0 -1
  405. package/dist/ProfileOrganizations-dbc8a6cd.mjs +0 -214
  406. package/dist/ProfileOrganizations-dc7210f1.mjs +0 -214
  407. package/dist/ProfileOrganizations-e4fd2b05.mjs +0 -202
  408. package/dist/ProfileOrganizations-f6e00809.mjs +0 -214
  409. package/dist/ProfileOrganizations-feef34df.mjs +0 -112
  410. package/dist/Publics-07d5bbc4.js +0 -1
  411. package/dist/Publics-122d9fc7.mjs +0 -1078
  412. package/dist/Publics-13c48a23.mjs +0 -47
  413. package/dist/Publics-17009745.mjs +0 -1926
  414. package/dist/Publics-213e0e9e.mjs +0 -44
  415. package/dist/Publics-21f24533.mjs +0 -44
  416. package/dist/Publics-3f277c17.js +0 -1
  417. package/dist/Publics-450a6715.mjs +0 -1926
  418. package/dist/Publics-49dbeafc.js +0 -1
  419. package/dist/Publics-501c9f27.js +0 -1
  420. package/dist/Publics-54134615.mjs +0 -47
  421. package/dist/Publics-889c25fc.js +0 -1
  422. package/dist/Publics-8bea4201.mjs +0 -44
  423. package/dist/Publics-8d94ee66.js +0 -1
  424. package/dist/Publics-a030da8f.js +0 -1
  425. package/dist/Publics-aca585c3.js +0 -1
  426. package/dist/Publics-b0fad2b0.mjs +0 -1926
  427. package/dist/Publics-becb1486.js +0 -1
  428. package/dist/Publics-c6f6b824.js +0 -1
  429. package/dist/Publics-c9d5aa74.js +0 -1
  430. package/dist/Publics-fbc8d2db.mjs +0 -1926
  431. package/dist/Select.vue_vue_type_style_index_0_scoped_a78dbba1_lang-0ea8fbf8.js +0 -1
  432. package/dist/Select.vue_vue_type_style_index_0_scoped_a78dbba1_lang-4ed993c7.mjs +0 -1
  433. package/dist/Tab-054b61f7.mjs +0 -46
  434. package/dist/Tab-1ca0fe66.js +0 -1
  435. package/dist/Tab-58cd105f.mjs +0 -46
  436. package/dist/Tab-b0a7ac11.js +0 -1
  437. package/dist/Tab-c67fbf51.mjs +0 -46
  438. package/dist/Tab-f04c185d.js +0 -1
  439. package/dist/Tab.vue_vue_type_style_index_0_lang-0ea8fbf8.js +0 -1
  440. package/dist/Tab.vue_vue_type_style_index_0_lang-4ed993c7.mjs +0 -1
  441. package/dist/Unit.vue_vue_type_style_index_0_scoped_d69a370a_lang-0b4edb09.js +0 -1
  442. package/dist/Unit.vue_vue_type_style_index_0_scoped_d69a370a_lang-5531689e.mjs +0 -123
  443. package/dist/UploadImage-1b8c18c4.mjs +0 -99
  444. package/dist/UploadImage-34bc4a3f.mjs +0 -99
  445. package/dist/UploadImage-4e91bd99.js +0 -1
  446. package/dist/UploadImage-74280ea3.mjs +0 -99
  447. package/dist/UploadImage-75b1a18a.js +0 -1
  448. package/dist/UploadImage-7c502f96.js +0 -1
  449. package/dist/UploadImage-96408782.mjs +0 -99
  450. package/dist/UploadImage-9abb7116.js +0 -1
  451. package/dist/UploadImage-b1acc48f.mjs +0 -99
  452. package/dist/UploadImage-c81c3b76.js +0 -1
  453. package/dist/UploadImage-cd6de241.js +0 -1
  454. package/dist/UploadImage-d1dbc280.mjs +0 -99
  455. package/dist/UploadImage-ff8f9a0c.mjs +0 -83
  456. package/dist/auth-07c01b19.js +0 -8
  457. package/dist/auth-18f80fef.mjs +0 -1501
  458. package/dist/auth-35ef1791.mjs +0 -1502
  459. package/dist/auth-50bd4ebb.js +0 -8
  460. package/dist/auth-5aa8e90c.js +0 -8
  461. package/dist/auth-708eebcb.mjs +0 -1446
  462. package/dist/auth-78fd9408.js +0 -8
  463. package/dist/auth-7dff19e4.js +0 -8
  464. package/dist/auth-84680727.mjs +0 -1501
  465. package/dist/auth-ab40831d.js +0 -8
  466. package/dist/auth-d102dac0.mjs +0 -1501
  467. package/dist/auth-f81f3598.mjs +0 -1439
  468. package/dist/auth.validation-1fb0cb4f.js +0 -1
  469. package/dist/auth.validation-29113f37.mjs +0 -20
  470. package/dist/auth.validation-2d33e8c7.mjs +0 -20
  471. package/dist/auth.validation-2e8ee994.js +0 -1
  472. package/dist/auth.validation-6923140f.js +0 -1
  473. package/dist/auth.validation-69488f55.mjs +0 -20
  474. package/dist/auth.validation-6bccabd6.mjs +0 -20
  475. package/dist/auth.validation-9cfd985b.mjs +0 -20
  476. package/dist/auth.validation-9f7c7948.js +0 -1
  477. package/dist/auth.validation-b644ee65.js +0 -1
  478. package/dist/auth.validation-f23a7238.mjs +0 -21
  479. package/dist/categories-75b7d14b.js +0 -1
  480. package/dist/categories-86b2d45b.mjs +0 -225
  481. package/dist/categories-d669f3af.mjs +0 -225
  482. package/dist/components/FieldPhone/<script>.vue.d.ts +0 -547
  483. package/dist/globals-d7a54bb4.js +0 -1
  484. package/dist/globals-f538c0ef.mjs +0 -87
  485. package/dist/inputs.validation-498d8ec9.js +0 -1
  486. package/dist/inputs.validation-5732152a.mjs +0 -93
  487. package/dist/inputs.validation-c473ebe7.mjs +0 -93
  488. package/dist/inputs.validation-c53e01a2.js +0 -1
  489. package/dist/modules/community/components/blocks/CardOrganization.vue.d.ts +0 -8
  490. package/dist/modules/community/components/elements/Bullets.vue.d.ts +0 -15
  491. package/dist/modules/community/components/elements/Caption.vue.d.ts +0 -15
  492. package/dist/modules/community/components/elements/H2.vue.d.ts +0 -16
  493. package/dist/modules/community/components/elements/Image.vue.d.ts +0 -8
  494. package/dist/modules/community/components/elements/ImageUpload.vue.d.ts +0 -9
  495. package/dist/modules/community/components/elements/Textarea.vue.d.ts +0 -16
  496. package/dist/modules/community/components/pages/BlogPost.old.vue.d.ts +0 -2
  497. package/dist/modules/community/components/sections/Publics.vue.d.ts +0 -2
  498. package/dist/modules/events/components/layouts/Events.vue.d.ts +0 -2
  499. package/dist/modules/organizations/components/blocks/CardOrganizationSocial.vue.d.ts +0 -8
  500. package/dist/organizations-0e9ff7ca.mjs +0 -319
  501. package/dist/organizations-35fe2db4.js +0 -1
  502. package/dist/organizations-4d74e13b.js +0 -1
  503. package/dist/organizations-5f9c7fbd.js +0 -1
  504. package/dist/organizations-6c1450fa.mjs +0 -153
  505. package/dist/organizations-773c328c.mjs +0 -319
  506. package/dist/organizations-a9b86de7.mjs +0 -319
  507. package/dist/organizations-af43bda4.js +0 -1
  508. package/dist/organizations-b3df0859.js +0 -1
  509. package/dist/organizations-c77ea9d0.js +0 -1
  510. package/dist/organizations-d4307861.mjs +0 -319
  511. package/dist/organizations-dd07ba2c.js +0 -1
  512. package/dist/organizations-fb1a2214.mjs +0 -319
  513. package/dist/organizations.client-3b4eb66e.mjs +0 -2898
  514. package/dist/organizations.client-4e29c957.js +0 -3
  515. package/dist/organizations.client-686845be.mjs +0 -3179
  516. package/dist/organizations.client-71c9abde.mjs +0 -2898
  517. package/dist/organizations.client-99bfc474.js +0 -3
  518. package/dist/organizations.client-ba59ed4e.js +0 -3
  519. package/dist/organizations.client-c60d7659.js +0 -3
  520. package/src/modules/community/controllers/blog.old.controller.js +0 -207
@@ -1,904 +0,0 @@
1
- import { getCurrentInstance as E, isProxy as Y, watch as T, defineComponent as G, withAsyncContext as B, openBlock as n, createElementBlock as a, createElementVNode as o, toDisplayString as l, unref as m, Fragment as O, renderList as N, createCommentVNode as u, normalizeClass as S, computed as x, createBlock as M, createVNode as C, Teleport as Q, Transition as F, withCtx as I, withDirectives as U, mergeProps as K, renderSlot as tt, vShow as et, ref as w, onMounted as q, onUnmounted as ot, withModifiers as st, createStaticVNode as it, normalizeStyle as nt, reactive as at } from "vue";
2
- import { b as j, s as b, _ as rt } from "./Popup.vue_vue_type_style_index_0_lang-d05075a7.mjs";
3
- import { useRouter as Z, useRoute as R } from "vue-router";
4
- import { useI18n as P } from "vue-i18n";
5
- import { C as ct, S as lt } from "./carousel.es-44c501bc.mjs";
6
- import { u as ut } from "./vuex.esm-bundler-57d8b6ba.mjs";
7
- import "./organizations.client.js";
8
- import { L as dt } from "./Feed-e5fb4972.mjs";
9
- import { _ as D } from "./auth-84680727.mjs";
10
- import "./globals-f538c0ef.mjs";
11
- import "./Breadcrumbs.vue_vue_type_style_index_0_lang-d777ad17.mjs";
12
- import "./Tab-054b61f7.mjs";
13
- import "./Tab.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
14
- import "./ButtonFollow-6bbf3e24.mjs";
15
- import "./Feed-df5bbb3c.mjs";
16
- import "./EmptyState-1214f70b.mjs";
17
- import "./CardHeader-88de7b20.mjs";
18
- import "./PlaceholderUserpic-4fe04ec9.mjs";
19
- import "./UploadImage-b1acc48f.mjs";
20
- import "./inputs.validation-5732152a.mjs";
21
- import "./organizations-a9b86de7.mjs";
22
- import "./Publics-21f24533.mjs";
23
- /**
24
- * vue-meta v3.0.0-alpha.10
25
- * (c) 2022
26
- * - Pim (@pimlie)
27
- * - All the amazing contributors
28
- * @license MIT
29
- */
30
- const mt = (t) => t !== null && typeof t == "object";
31
- function X(t, e, s) {
32
- for (const i in e)
33
- i in s ? mt(t[i]) ? X(t[i], e[i], s[i]) : e[i] !== s[i] && (t[i] = e[i]) : t[i] = e[i];
34
- for (const i in s)
35
- e && i in e || delete t[i];
36
- }
37
- function W(t) {
38
- if (t || (t = E() || void 0), t)
39
- return t.appContext.config.globalProperties.$metaManager;
40
- }
41
- function ht(t, e) {
42
- const s = E() || void 0;
43
- if (!e && s && (e = W(s)), !e)
44
- throw new Error("No manager or current instance");
45
- Y(t) && (T(t, (r, c) => {
46
- X(i.meta, r, c);
47
- }), t = t.value);
48
- const i = e.addMeta(t, s);
49
- return i;
50
- }
51
- G({ name: "Metainfo", inheritAttrs: !1, setup: (t, { slots: e }) => () => {
52
- const s = W();
53
- if (s)
54
- return s.render({ slots: e });
55
- } });
56
- const pt = { class: "pd-t-zero pd-thin" }, ft = { class: "bg-black t-white radius-big footer" }, gt = {
57
- id: "top-footer",
58
- class: "cols-3 section"
59
- }, _t = {
60
- href: "mailto:hello@weeder.delivery",
61
- class: "w-100 radius-small contact col"
62
- }, vt = { class: "t-transp" }, wt = { class: "h4 mn-small" }, Ct = /* @__PURE__ */ o("div", { class: "store-buttons" }, null, -1), yt = {
63
- href: "https://t.me/weeder_support",
64
- target: "_blank",
65
- class: "w-100 radius-small contact col"
66
- }, $t = { class: "h4 mn-small" }, bt = /* @__PURE__ */ o("div", { class: "socials flex-nojustify flex" }, [
67
- /* @__PURE__ */ o("a", {
68
- class: "mn-r-small",
69
- href: "https://t.me/weederdelivery",
70
- target: "_blank"
71
- }),
72
- /* @__PURE__ */ o("a", {
73
- class: "mn-r-small",
74
- href: "https://t.me/weederdelivery",
75
- target: "_blank"
76
- }),
77
- /* @__PURE__ */ o("a", {
78
- class: "mn-r-small",
79
- href: "https://t.me/weederdelivery",
80
- target: "_blank"
81
- })
82
- ], -1), xt = { class: "cols-3 section" }, kt = { class: "lh-semi nav-footer col" }, Lt = { class: "mn-small t-semi h5" }, St = { class: "mn-medium ol" }, Mt = ["innerHTML"], It = /* @__PURE__ */ o("a", {
83
- href: "https://ozdao.dev",
84
- target: "_blank"
85
- }, null, -1), Pt = { class: "lh-semi nav-footer col" }, zt = { class: "mn-small t-semi h5" }, Vt = { class: "lh-semi col" }, At = { class: "mn-small t-semi h5" }, Tt = /* @__PURE__ */ o("div", { class: "mn-medium" }, [
86
- /* @__PURE__ */ o("li", null, "Phuket,"),
87
- /* @__PURE__ */ o("li", null, "43 283 Soi Boathouse,"),
88
- /* @__PURE__ */ o("li", null, "Rawai")
89
- ], -1), Ot = { class: "pd-small t-center br-top-dark copyright" }, Nt = {
90
- __name: "Footer",
91
- async setup(t) {
92
- let e, s;
93
- Z(), [e, s] = B(() => j.fetchCategories()), await e, s();
94
- const i = {
95
- locale: "en",
96
- messages: {
97
- en: {
98
- store: "Online Store",
99
- information: "Information",
100
- description: "Weeder Delivery stocks a wide range of quality!",
101
- app: "Get Our App",
102
- adress: "Adress",
103
- support: "Get Online Support",
104
- socials: "Find Us in Socials",
105
- email: "Contact by email",
106
- // request: 'hello@weeder.delivery',
107
- time: "24 / 7 Seven days a week",
108
- copyright: "2022 © Weeder Delivery. Proudly created with OZ DAO.",
109
- pages: [],
110
- categories: []
111
- },
112
- ru: {
113
- store: "Онлайн Каталог",
114
- information: "Информация",
115
- description: "Weeder Delivery предлагает широкий ассортимент качественных!",
116
- app: "Скачайте Наше Приложение",
117
- adress: "Адрес",
118
- support: "Онлайн Поддержка",
119
- socials: "Найдите Нас в Социальных Сетях",
120
- email: "Связаться по email",
121
- // request: 'hello@weeder.delivery',
122
- time: "24 / 7 без перерывов",
123
- copyright: "2022 © Weeder Delivery. С гордостью создано OZ DAO.",
124
- pages: [],
125
- categories: []
126
- }
127
- }
128
- };
129
- b.all.forEach((c) => {
130
- c.localization.forEach((d) => {
131
- i.messages[d.locale].categories.push(d.text);
132
- });
133
- });
134
- const { t: r } = P(i);
135
- return (c, d) => (n(), a("div", pt, [
136
- o("footer", ft, [
137
- o("div", gt, [
138
- o("a", _t, [
139
- o("p", vt, l(m(r)("description")), 1)
140
- ]),
141
- o("div", {
142
- onClick: d[0] || (d[0] = (h) => this.$router.push({ name: "Home" })),
143
- class: "flex-v-center flex logo-link col"
144
- }, [
145
- o("p", wt, l(m(r)("app")), 1),
146
- Ct
147
- ]),
148
- o("a", yt, [
149
- o("p", $t, l(m(r)("socials")), 1),
150
- bt
151
- ])
152
- ]),
153
- o("div", xt, [
154
- o("ul", kt, [
155
- o("li", Lt, l(m(r)("store")), 1),
156
- o("div", St, [
157
- (n(!0), a(O, null, N(b.all, (h, f) => (n(), a("li", null, [
158
- o("span", {
159
- innerHTML: m(r)("categories[" + f + "]")
160
- }, null, 8, Mt)
161
- ]))), 256))
162
- ]),
163
- It
164
- ]),
165
- o("ul", Pt, [
166
- o("li", zt, l(m(r)("information")), 1)
167
- ]),
168
- o("ul", Vt, [
169
- o("li", At, l(m(r)("email")), 1),
170
- Tt
171
- ])
172
- ]),
173
- o("p", Ot, l(m(r)("copyright")), 1)
174
- ])
175
- ]));
176
- }
177
- }, Zt = {
178
- key: 0,
179
- class: "thc"
180
- }, Ht = { class: "t-bold t-white" }, Ft = /* @__PURE__ */ o("p", { class: "t-white h6" }, "THC", -1), Bt = {
181
- key: 0,
182
- width: "60",
183
- height: "66",
184
- viewBox: "0 0 60 66",
185
- fill: "none",
186
- xmlns: "http://www.w3.org/2000/svg"
187
- }, qt = /* @__PURE__ */ o("path", {
188
- fill: "#FF0000",
189
- stroke: "white",
190
- "stroke-width": "3",
191
- d: "M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"
192
- }, null, -1), jt = [
193
- qt
194
- ], Dt = {
195
- key: 1,
196
- width: "60",
197
- height: "66",
198
- viewBox: "0 0 60 66",
199
- fill: "none",
200
- xmlns: "http://www.w3.org/2000/svg"
201
- }, Et = /* @__PURE__ */ o("path", {
202
- fill: "#FF0099",
203
- stroke: "white",
204
- "stroke-width": "3",
205
- d: "M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"
206
- }, null, -1), Rt = [
207
- Et
208
- ], Xt = {
209
- key: 2,
210
- width: "60",
211
- height: "66",
212
- viewBox: "0 0 60 66",
213
- fill: "none",
214
- xmlns: "http://www.w3.org/2000/svg"
215
- }, Wt = /* @__PURE__ */ o("path", {
216
- fill: "#EB00FF",
217
- stroke: "white",
218
- "stroke-width": "3",
219
- d: "M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"
220
- }, null, -1), Jt = [
221
- Wt
222
- ], Yt = {
223
- key: 3,
224
- width: "60",
225
- height: "66",
226
- viewBox: "0 0 60 66",
227
- fill: "none",
228
- xmlns: "http://www.w3.org/2000/svg"
229
- }, Gt = /* @__PURE__ */ o("path", {
230
- fill: "#00FF29",
231
- stroke: "white",
232
- "stroke-width": "3",
233
- d: "M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"
234
- }, null, -1), Qt = [
235
- Gt
236
- ], Ut = {
237
- __name: "THC",
238
- props: {
239
- product: Object
240
- },
241
- setup(t) {
242
- return (e, s) => t.product.information[1] ? (n(), a("div", Zt, [
243
- o("p", Ht, l(t.product.information[1].value) + " %", 1),
244
- Ft,
245
- Number(t.product.information[1].value) >= 18 ? (n(), a("svg", Bt, jt)) : u("", !0),
246
- Number(t.product.information[1].value) <= 18 && Number(t.product.information[1].value) >= 14 ? (n(), a("svg", Dt, Rt)) : u("", !0),
247
- Number(t.product.information[1].value) <= 14 && Number(t.product.information[1].value) >= 10 ? (n(), a("svg", Xt, Jt)) : u("", !0),
248
- Number(t.product.information[1].value) <= 10 ? (n(), a("svg", Yt, Qt)) : u("", !0)
249
- ])) : u("", !0);
250
- }
251
- }, Kt = { class: "price-tag radius-small" }, te = {
252
- key: 0,
253
- class: "t-transp t-main p-medium line-through price"
254
- }, J = {
255
- __name: "Price",
256
- props: {
257
- product: Object,
258
- size: String
259
- },
260
- setup(t) {
261
- return (e, s) => (n(), a("div", Kt, [
262
- o("p", {
263
- class: S(
264
- {
265
- "t-main": t.product.sale,
266
- h4: !t.size,
267
- "h5 t-semi pd-thin": t.size === "small",
268
- "h3 t-semi pd-small": t.size === "big"
269
- }
270
- )
271
- }, l(t.product.price) + " " + l(e.returnCurrency()), 3),
272
- t.product.sale ? (n(), a("p", te, l(t.product.price / 100 * (100 + t.product.sale)) + " " + l(e.returnCurrency()), 1)) : u("", !0)
273
- ]));
274
- }
275
- }, ee = ["src"], oe = {
276
- key: 1,
277
- class: "h-100 w-100",
278
- style: { "object-fit": "cover" },
279
- width: "524",
280
- height: "345",
281
- viewBox: "0 0 524 345",
282
- fill: "none",
283
- xmlns: "http://www.w3.org/2000/svg"
284
- }, se = /* @__PURE__ */ o("rect", {
285
- width: "524",
286
- height: "345",
287
- fill: "white"
288
- }, null, -1), ie = /* @__PURE__ */ o("rect", {
289
- width: "524",
290
- height: "345",
291
- fill: "white"
292
- }, null, -1), ne = /* @__PURE__ */ o("circle", {
293
- cx: "262",
294
- cy: "172",
295
- r: "56",
296
- fill: "#00ff88",
297
- "fill-opacity": "0.1"
298
- }, null, -1), ae = /* @__PURE__ */ o("path", {
299
- fill: "#00ff88",
300
- d: "M229.348 186.819C230.243 191.884 233.393 194.231 238.458 193.273V193.644C238.458 198.832 241.206 201.581 246.364 201.581H291.545C296.733 201.581 299.481 198.74 299.481 193.644V162.576C299.481 157.481 296.733 154.64 291.545 154.64H285.677L284.071 145.653C283.175 140.619 279.995 138.303 274.899 139.198L230.398 147.043C225.302 147.969 223.048 151.15 223.943 156.246L229.348 186.819ZM230.83 186.479L225.456 156.06C224.715 151.86 226.537 149.266 230.737 148.525L275.084 140.712C279.13 140.001 281.848 141.762 282.62 145.993L284.102 154.64H246.364C241.206 154.64 238.458 157.419 238.458 162.576V191.729L238.365 191.76C234.165 192.532 231.571 190.679 230.83 186.479ZM239.971 162.669C239.971 158.376 242.164 156.153 246.456 156.153H291.483C295.59 156.153 297.968 158.376 297.968 162.669V190.093L284.565 177.894C283.145 176.597 281.662 175.856 279.809 175.856C277.987 175.856 276.628 176.566 275.146 177.863L262.052 189.073L257.142 184.565C255.875 183.36 254.764 182.743 253.158 182.743C251.675 182.743 250.656 183.36 249.39 184.503L239.971 193.212V162.669ZM257.636 178.419C261.373 178.419 264.43 175.3 264.43 171.471C264.43 167.734 261.373 164.584 257.636 164.584C253.806 164.584 250.718 167.734 250.718 171.471C250.718 175.3 253.806 178.419 257.636 178.419Z"
301
- }, null, -1), re = [
302
- se,
303
- ie,
304
- ne,
305
- ae
306
- ], ce = { class: "pd-medium t-left product-card-content" }, le = { class: "mn-thin h4" }, ue = {
307
- key: 1,
308
- class: "mn-small t-transp p-small"
309
- }, de = /* @__PURE__ */ o("div", null, null, -1), me = {
310
- __name: "ProductCard",
311
- props: ["product"],
312
- setup(t) {
313
- const e = t, s = ut();
314
- return P(), x(() => s.state.favorites.items.filter(function(i, r) {
315
- if (i._id === e.product._id)
316
- return !0;
317
- })), (i, r) => (n(), a("div", {
318
- class: S([
319
- "radius-big product",
320
- t.product.information[2] && t.product.information[2].value === "AAAA" ? "bg-black t-white" : "bg-white"
321
- ])
322
- }, [
323
- o("div", {
324
- class: S([
325
- "o-hidden w-100 h-100 square",
326
- t.product.information[2] && t.product.information[2].value === "AAAA" ? "bg-black" : "bg-white"
327
- ])
328
- }, [
329
- t.product.images[0] ? (n(), a("img", {
330
- key: 0,
331
- src: t.product.images[0],
332
- class: "w-100 h-100"
333
- }, null, 8, ee)) : (n(), a("svg", oe, re)),
334
- t.product.information.length > 0 ? (n(), M(Ut, {
335
- key: 2,
336
- product: t.product
337
- }, null, 8, ["product"])) : u("", !0)
338
- ], 2),
339
- o("div", ce, [
340
- t.product.information.length > 0 ? (n(), a("p", {
341
- key: 0,
342
- class: S([
343
- "t-semi h6",
344
- t.product.information[2] && t.product.information[2].value === "AAAA" ? "t-violet" : "t-main"
345
- ])
346
- }, l(t.product.information[0].value), 3)) : u("", !0),
347
- o("p", le, l(t.product.name), 1),
348
- t.product.description && !t.product.localization ? (n(), a("p", ue, l(t.product.description.substring(0, 99)) + "... ", 1)) : u("", !0),
349
- C(J, {
350
- product: t.product,
351
- size: "small",
352
- class: S(
353
- t.product.information[2] && t.product.information[2].value === "AAAA" ? "bg-violet t-white" : ""
354
- )
355
- }, null, 8, ["product", "class"])
356
- ]),
357
- de
358
- ], 2));
359
- }
360
- }, he = { class: "pd-small popup-wrapper" }, pe = /* @__PURE__ */ o("svg", {
361
- width: "26",
362
- height: "26",
363
- viewBox: "0 0 26 26",
364
- fill: "none",
365
- xmlns: "http://www.w3.org/2000/svg"
366
- }, [
367
- /* @__PURE__ */ o("rect", {
368
- width: "24",
369
- height: "24",
370
- transform: "translate(1 1)"
371
- }),
372
- /* @__PURE__ */ o("path", {
373
- "fill-rule": "evenodd",
374
- "clip-rule": "evenodd",
375
- d: "M12.9996 10.8L22.8994 0.900244L25.0993 3.1002L15.1995 13L25.0993 22.8998L22.8994 25.0998L12.9996 15.2L3.09976 25.0998L0.899801 22.8998L10.7996 13L0.899801 3.1002L3.09976 0.900244L12.9996 10.8Z",
376
- fill: "white"
377
- })
378
- ], -1), fe = [
379
- pe
380
- ], ge = {
381
- __name: "Popup",
382
- props: {
383
- isPopupOpen: {
384
- type: Boolean,
385
- default: !1
386
- },
387
- style: String
388
- },
389
- emits: ["close-popup"],
390
- setup(t, { emit: e }) {
391
- const s = t;
392
- function i() {
393
- e("close-popup");
394
- }
395
- return T(() => s.isPopupOpen, (c) => {
396
- c ? document.body.classList.add("no-scroll") : document.body.classList.remove("no-scroll");
397
- }), R(), Z(), P({
398
- messages: {
399
- en: {},
400
- ru: {}
401
- }
402
- }), (c, d) => t.isPopupOpen ? (n(), M(Q, {
403
- key: 0,
404
- to: "body"
405
- }, [
406
- C(F, { name: "scale" }, {
407
- default: I(() => [
408
- U(o("div", he, [
409
- o("section", K({ class: "t-center z-index-4" }, c.$attrs), [
410
- o("button", {
411
- onClick: d[0] || (d[0] = (h) => i()),
412
- class: "pd-regular hover-scale-1 z-index-5 button-close-popup button"
413
- }, fe),
414
- tt(c.$slots, "default")
415
- ], 16),
416
- o("div", {
417
- onClick: d[1] || (d[1] = (h) => i()),
418
- class: S([{ active: t.isPopupOpen === !0 }, "color-overlay z-index-3"])
419
- }, null, 2)
420
- ], 512), [
421
- [et, t.isPopupOpen]
422
- ])
423
- ]),
424
- _: 3
425
- })
426
- ])) : u("", !0);
427
- }
428
- }, _e = {
429
- id: "popularProducts",
430
- class: "pd-thin"
431
- }, ve = { class: "bg-grey radius-big pd-t-big pd-b-big" }, we = { class: "mn-semi t-center title" }, Ce = { class: "" }, ye = {
432
- __name: "PopularProducts",
433
- async setup(t) {
434
- let e, s;
435
- Z(), [e, s] = B(() => j.read({ limit: 10 })), await e, s();
436
- const i = {
437
- messages: {
438
- en: {
439
- title: "Explore Hot Products 🔥",
440
- subtitle: "We attach great importance to high quality and customer satisfaction"
441
- },
442
- ru: {
443
- title: "Самое Горячее 🔥",
444
- subtitle: "Мы придаем большое значение высокому качеству товаров и удовлетворенности клиентов"
445
- }
446
- }
447
- }, { t: r } = P(i), c = w(null), d = {
448
- 320: { itemsToShow: 1 },
449
- 640: { itemsToShow: 3 },
450
- 1024: { itemsToShow: 3 }
451
- };
452
- return q(async () => {
453
- setTimeout(() => {
454
- c.value.updateSlideWidth();
455
- }, 500);
456
- }), (h, f) => (n(), a("div", _e, [
457
- o("div", ve, [
458
- o("div", we, [
459
- o("h2", Ce, l(m(r)("title")), 1)
460
- ]),
461
- C(m(ct), {
462
- ref_key: "myCarousel",
463
- ref: c,
464
- "items-to-show": 3,
465
- transition: 330,
466
- wrapAround: !0,
467
- autoplay: 3e3,
468
- pauseAutoplayOnHover: !0,
469
- breakpoints: d
470
- }, {
471
- default: I(() => [
472
- (n(!0), a(O, null, N(b.all, (g, _, y) => (n(), M(m(lt), {
473
- class: "pd-thin",
474
- key: _
475
- }, {
476
- default: I(() => [
477
- C(me, {
478
- class: "carousel__item h-100 w-100",
479
- product: g
480
- }, null, 8, ["product"])
481
- ]),
482
- _: 2
483
- }, 1024))), 128))
484
- ]),
485
- _: 1
486
- }, 512)
487
- ])
488
- ]));
489
- }
490
- };
491
- const $e = { class: "product-360-viewer" }, be = /* @__PURE__ */ it('<svg class="pos-absolute z-index-2 pos-b-0 pd-small" width="73" height="50" viewBox="0 0 73 50" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-333fa548><path d="M42.5934 17.2017C42.5934 20.8208 39.8428 23.7544 36.45 23.7544C33.0573 23.7544 30.3066 20.8208 30.3066 17.2017C30.3066 13.5826 33.0573 10.6484 36.45 10.6484C39.8428 10.6484 42.5934 13.5826 42.5934 17.2017Z" fill="black" fill-opacity="0.1" data-v-333fa548></path><path d="M22.5953 29.4883H50.3053C53.7389 29.4883 56.5197 26.778 56.5197 23.4405V10.8396C56.5197 7.49996 53.739 4.79176 50.3053 4.79176H48.8712C48.2747 2.05313 45.7826 0 42.7962 0H30.1063C27.1179 0 24.6257 2.053 24.0313 4.78967H22.5971C19.1656 4.78967 16.3828 7.49788 16.3828 10.8375V23.4384C16.3807 26.778 19.1634 29.4882 22.595 29.4882L22.5953 29.4883ZM36.449 8.31471C41.4535 8.31471 45.5123 12.2648 45.5123 17.1352C45.5123 22.0062 41.4535 25.9582 36.449 25.9582C31.4445 25.9582 27.3856 22.0081 27.3856 17.1377C27.3856 12.2673 31.4445 8.31471 36.449 8.31471ZM20.9092 9.32597H24.0182C24.9472 9.32597 25.7019 10.0584 25.7019 10.9625C25.7019 11.8686 24.9493 12.6011 24.0182 12.6011H20.9092C19.9823 12.6011 19.2254 11.8707 19.2254 10.9625C19.2275 10.0604 19.9822 9.32597 20.9092 9.32597Z" fill="black" fill-opacity="0.1" data-v-333fa548></path><path d="M58.8645 12.2878C58.8645 12.2878 77.1839 21.8549 65.5604 32.0445C63.6718 33.6967 55.2747 38.9138 42.5947 39.9368V45.0519C50.0424 44.2514 61.7635 41.887 68.4037 34.9253C82.5323 20.1097 58.8657 12.2871 58.8657 12.2871L58.8645 12.2878Z" fill="black" fill-opacity="0.1" data-v-333fa548></path><path d="M37.6664 41.209L29.1818 35.5097C28.077 34.7658 27.1702 35.2358 27.1702 36.5516V39.5855C16.2598 38.0408 9.07761 33.565 7.35125 32.0517C-4.2894 21.858 14.0557 12.2871 14.0557 12.2871C14.0557 12.2871 -9.64257 20.1134 4.5039 34.9343C10.2723 40.9769 19.8619 43.5552 27.1712 44.656V44.952V48.5701C27.1712 49.8901 28.078 50.3554 29.1827 49.6141L37.6673 43.9127C38.7757 43.1683 38.7757 41.9525 37.6673 41.2092L37.6664 41.209Z" fill="black" fill-opacity="0.1" data-v-333fa548></path></svg>', 1), xe = {
492
- key: 0,
493
- class: "h-100 w-100 transition-ease"
494
- }, ke = ["src"], Le = {
495
- __name: "Images360",
496
- props: {
497
- imagePath: {
498
- type: String,
499
- required: !0
500
- },
501
- imageCount: {
502
- type: Number,
503
- default: 36
504
- },
505
- autoRotateSpeed: {
506
- type: Number,
507
- default: 100
508
- }
509
- },
510
- setup(t) {
511
- const e = t, s = w(0), i = w(!1), r = w(0), c = w(0);
512
- w(!0);
513
- const d = async () => {
514
- const v = [];
515
- for (let $ = 1; $ <= e.imageCount; $++) {
516
- const L = new Image();
517
- L.src = `${e.imagePath}/${$}.jpg`;
518
- try {
519
- await L.decode(), c.value++;
520
- } catch (H) {
521
- console.warn(`Failed to decode ${e.imagePath}/${$}.jpg:`, H);
522
- }
523
- v.push(L);
524
- }
525
- return v;
526
- }, h = x(() => Math.round(c.value / e.imageCount * 100)), f = w([]), g = w(""), _ = w(null);
527
- T(s, (v) => {
528
- g.value = f.value[v] || "";
529
- });
530
- function y(v) {
531
- i.value = !0, r.value = v.clientX || v.touches[0].clientX;
532
- }
533
- function V(v) {
534
- if (!i.value)
535
- return;
536
- const $ = v.clientX || v.touches[0].clientX, L = $ - r.value;
537
- if (Math.abs(L) >= 5) {
538
- const H = L > 0 ? 1 : -1;
539
- s.value = (s.value + H) % e.imageCount, s.value < 0 && (s.value = e.imageCount - 1), r.value = $;
540
- }
541
- }
542
- function z() {
543
- i.value = !1;
544
- }
545
- let k = null;
546
- const A = () => {
547
- f.value = [];
548
- };
549
- return q(async () => {
550
- f.value = await d(), g.value = f.value[0] || "";
551
- }), ot(() => {
552
- clearInterval(k), A();
553
- }), (v, $) => (n(), a("div", $e, [
554
- be,
555
- C(F, {
556
- name: "scale5",
557
- css: !_.value,
558
- appear: ""
559
- }, {
560
- default: I(() => [
561
- g.value ? (n(), a("div", xe, [
562
- g.value ? (n(), a("img", {
563
- key: g.value,
564
- class: "h-100 w-100 transition-ease",
565
- src: g.value.src,
566
- alt: "360 product view",
567
- onMousedown: y,
568
- onMousemove: V,
569
- onMouseup: z,
570
- onMouseleave: z,
571
- onTouchstart: y,
572
- onTouchmove: V,
573
- onTouchend: z,
574
- onDragstart: $[0] || ($[0] = st(() => {
575
- }, ["prevent"]))
576
- }, null, 40, ke)) : u("", !0)
577
- ])) : u("", !0)
578
- ]),
579
- _: 1
580
- }, 8, ["css"]),
581
- C(F, { name: "scale5" }, {
582
- default: I(() => [
583
- g.value ? u("", !0) : (n(), M(dt, {
584
- key: 0,
585
- progress: m(h),
586
- class: "center z-index-5"
587
- }, null, 8, ["progress"]))
588
- ]),
589
- _: 1
590
- })
591
- ]));
592
- }
593
- }, Se = /* @__PURE__ */ D(Le, [["__scopeId", "data-v-333fa548"]]);
594
- const Me = ["src"], Ie = {
595
- __name: "Magnifier",
596
- props: {
597
- imageSrc: String,
598
- zoomFactor: {
599
- type: Number,
600
- default: 2
601
- }
602
- },
603
- setup(t) {
604
- const e = t, s = w(!1), i = w({});
605
- function r(_) {
606
- const y = _.target.getBoundingClientRect(), V = _.clientX - y.left, z = _.clientY - y.top, k = 100, A = Math.max(0, Math.min(V - k / 2, y.width - k)), v = Math.max(0, Math.min(z - k / 2, y.height - k));
607
- i.value = {
608
- left: `${A}px`,
609
- top: `${v}px`,
610
- backgroundPosition: `-${A * e.zoomFactor}px -${v * e.zoomFactor}px`,
611
- backgroundImage: `url(${e.imageSrc})`,
612
- backgroundSize: `${y.width * e.zoomFactor}px ${y.height * e.zoomFactor}px`
613
- };
614
- }
615
- function c(_) {
616
- s.value = !0, r(_);
617
- }
618
- function d() {
619
- s.value = !1;
620
- }
621
- function h(_) {
622
- _.preventDefault(), s.value = !0, r(_.touches[0]);
623
- }
624
- function f(_) {
625
- _.preventDefault(), r(_.touches[0]);
626
- }
627
- function g() {
628
- s.value = !1;
629
- }
630
- return (_, y) => (n(), a("div", {
631
- class: "w-100 image-container",
632
- onMousemove: c,
633
- onMouseleave: d,
634
- onTouchstart: h,
635
- onTouchmove: f,
636
- onTouchend: g
637
- }, [
638
- o("img", {
639
- src: t.imageSrc,
640
- class: "w-100"
641
- }, null, 8, Me),
642
- s.value ? (n(), a("div", {
643
- key: 0,
644
- class: "zoom-lens",
645
- style: nt(i.value)
646
- }, null, 4)) : u("", !0)
647
- ], 32));
648
- }
649
- }, Pe = /* @__PURE__ */ D(Ie, [["__scopeId", "data-v-a2ed98ca"]]);
650
- const ze = { class: "product-images" }, Ve = { class: "no-responsive cols-4 thumbnails" }, Ae = ["src", "onClick"], Te = {
651
- __name: "ImagesThumbnails",
652
- props: {
653
- images: {
654
- type: Array,
655
- required: !0
656
- }
657
- },
658
- setup(t) {
659
- const e = w(!1), s = w(0), i = (c) => {
660
- s.value = c, e.value = !0;
661
- }, r = () => {
662
- e.value = !1;
663
- };
664
- return (c, d) => (n(), a("div", ze, [
665
- o("div", Ve, [
666
- (n(!0), a(O, null, N(t.images, (h, f) => (n(), a("img", {
667
- key: f,
668
- src: h,
669
- onClick: (g) => i(f),
670
- class: "radius-medium bg-white o-hidden thumbnail"
671
- }, null, 8, Ae))), 128))
672
- ]),
673
- C(ge, {
674
- onClosePopup: r,
675
- isPopupOpen: e.value,
676
- class: "radius-medium o-hidden"
677
- }, {
678
- default: I(() => [
679
- C(Pe, {
680
- imageSrc: c.path + t.images[s.value],
681
- class: "magnifier z-index-4"
682
- }, null, 8, ["imageSrc"])
683
- ]),
684
- _: 1
685
- }, 8, ["isPopupOpen"])
686
- ]));
687
- }
688
- }, Oe = /* @__PURE__ */ D(Te, [["__scopeId", "data-v-54ffbce2"]]), p = at({
689
- items: [],
690
- currentState: !1
691
- }), Ne = {
692
- toggleShopcart() {
693
- p.currentState = !p.currentState;
694
- },
695
- setShopcart() {
696
- try {
697
- localStorage.getItem("shopcart") && (p.items = JSON.parse(localStorage.getItem("shopcart")));
698
- } catch (t) {
699
- throw console.error(t), t;
700
- }
701
- },
702
- addProductToCart(t) {
703
- const e = p.items.find(
704
- (s) => s._id === t._id
705
- );
706
- e ? e.quantity++ : p.items.push({
707
- _id: t._id,
708
- images: t.images,
709
- name: t.name,
710
- price: t.price,
711
- quantity: 1
712
- }), localStorage.setItem("shopcart", JSON.stringify(p.items));
713
- },
714
- removeProduct(t) {
715
- const e = p.items.find(
716
- (i) => i._id === t
717
- ), s = p.items.indexOf(e);
718
- s > -1 && (p.items.splice(s, 1), localStorage.setItem("shopcart", JSON.stringify(p.items)));
719
- },
720
- decrementItemQuantity(t) {
721
- const e = p.items.find(
722
- (i) => i._id === t
723
- ), s = p.items.indexOf(e);
724
- s > -1 && (e.quantity--, e.quantity < 1 && p.items.splice(s, 1), localStorage.setItem("shopcart", JSON.stringify(p.items)));
725
- },
726
- incrementItemQuantity(t) {
727
- const e = p.items.find(
728
- (s) => s._id === t
729
- );
730
- e && (e.quantity++, localStorage.setItem("shopcart", JSON.stringify(p.items)));
731
- },
732
- resetShopcart({ state: t }) {
733
- t.items = [], localStorage.removeItem("shopcart");
734
- }
735
- };
736
- x(() => Number(p.items.reduce((t, e) => t + e.price * e.quantity, 0))), x(() => Number(p.items.reduce((t, e) => t + e.quantity, 0))), x(() => Number(p.currentState));
737
- T(p, (t, e) => {
738
- });
739
- const Ze = { class: "cols-2-1_2 gap-big product-data-wrapper" }, He = { class: "flex-nowrap flex-column flex" }, Fe = { class: "h-100 bg-white radius-medium o-hidden" }, Be = ["src"], qe = {
740
- key: 2,
741
- width: "524",
742
- height: "345",
743
- viewBox: "0 0 524 345",
744
- fill: "none",
745
- xmlns: "http://www.w3.org/2000/svg",
746
- class: "h-100 w-100",
747
- style: { "object-fit": "cover" }
748
- }, je = /* @__PURE__ */ o("rect", {
749
- width: "524",
750
- height: "345",
751
- fill: "white"
752
- }, null, -1), De = /* @__PURE__ */ o("rect", {
753
- width: "524",
754
- height: "345",
755
- fill: "white"
756
- }, null, -1), Ee = /* @__PURE__ */ o("circle", {
757
- cx: "262",
758
- cy: "172",
759
- r: "56",
760
- fill: "#00ff88",
761
- "fill-opacity": "0.1"
762
- }, null, -1), Re = /* @__PURE__ */ o("path", {
763
- fill: "#00ff88",
764
- d: "M229.348 186.819C230.243 191.884 233.393 194.231 238.458 193.273V193.644C238.458 198.832 241.206 201.581 246.364 201.581H291.545C296.733 201.581 299.481 198.74 299.481 193.644V162.576C299.481 157.481 296.733 154.64 291.545 154.64H285.677L284.071 145.653C283.175 140.619 279.995 138.303 274.899 139.198L230.398 147.043C225.302 147.969 223.048 151.15 223.943 156.246L229.348 186.819ZM230.83 186.479L225.456 156.06C224.715 151.86 226.537 149.266 230.737 148.525L275.084 140.712C279.13 140.001 281.848 141.762 282.62 145.993L284.102 154.64H246.364C241.206 154.64 238.458 157.419 238.458 162.576V191.729L238.365 191.76C234.165 192.532 231.571 190.679 230.83 186.479ZM239.971 162.669C239.971 158.376 242.164 156.153 246.456 156.153H291.483C295.59 156.153 297.968 158.376 297.968 162.669V190.093L284.565 177.894C283.145 176.597 281.662 175.856 279.809 175.856C277.987 175.856 276.628 176.566 275.146 177.863L262.052 189.073L257.142 184.565C255.875 183.36 254.764 182.743 253.158 182.743C251.675 182.743 250.656 183.36 249.39 184.503L239.971 193.212V162.669ZM257.636 178.419C261.373 178.419 264.43 175.3 264.43 171.471C264.43 167.734 261.373 164.584 257.636 164.584C253.806 164.584 250.718 167.734 250.718 171.471C250.718 175.3 253.806 178.419 257.636 178.419Z"
765
- }, null, -1), Xe = [
766
- je,
767
- De,
768
- Ee,
769
- Re
770
- ], We = { class: "h-100 flex-justify flex col" }, Je = {
771
- key: 0,
772
- class: "t-main t-semi p-big"
773
- }, Ye = { class: "w-100 h1-product mn-thin" }, Ge = {
774
- key: 1,
775
- class: "mn-semi"
776
- }, Qe = {
777
- key: 2,
778
- class: "w-100 mn-medium t-transp"
779
- }, Ue = {
780
- key: 3,
781
- class: "w-100 mn-medium t-transp"
782
- }, Ke = { class: "cols-2 w-100 gap-small mn-semi" }, to = { class: "w-100 pd-small radius-small bg-white product-information" }, eo = { class: "t-demi" }, oo = { class: "max-w-33rem mobile-w-100 t-white gap-small cols-2" }, so = ["disabled"], io = {
783
- __name: "SectionProduct",
784
- props: {
785
- product: {
786
- type: Object,
787
- required: !0
788
- },
789
- recommendation: {
790
- type: String
791
- }
792
- },
793
- setup(t) {
794
- const e = t, s = x(() => e.product.images), i = {
795
- messages: {
796
- en: {
797
- airecommend: "AI Recommends You",
798
- description: "",
799
- addtoorder: "Add to order",
800
- fastorder: "Fast Order"
801
- },
802
- ru: {
803
- airecommend: "AI Рекомендует вам",
804
- description: "",
805
- addtoorder: "Добавить в корзину",
806
- fastorder: "Быстрый заказ"
807
- }
808
- }
809
- };
810
- e.product.localization.forEach((h) => {
811
- i.messages[h.locale].description = h.text;
812
- });
813
- const { t: r } = P(i);
814
- function c(h) {
815
- return !(h.quantity > 0);
816
- }
817
- function d(h) {
818
- Ne.addProductToCart(h);
819
- }
820
- return (h, f) => (n(), a("div", Ze, [
821
- o("div", He, [
822
- o("div", Fe, [
823
- t.product && t.product.image3d ? (n(), M(Se, {
824
- key: 0,
825
- class: "h-100 w-100",
826
- imagePath: `/assets/images/products/${t.product.image3d}`,
827
- imageCount: 36
828
- }, null, 8, ["imagePath"])) : u("", !0),
829
- m(s)[0] && !t.product.image3d ? (n(), a("img", {
830
- key: 1,
831
- class: "h-100 w-100",
832
- style: { "object-fit": "cover" },
833
- src: m(s)[0]
834
- }, null, 8, Be)) : u("", !0),
835
- !m(s)[0] && !t.product.image3d ? (n(), a("svg", qe, Xe)) : u("", !0)
836
- ]),
837
- m(s).length > 1 ? (n(), M(Oe, {
838
- key: 0,
839
- images: m(s),
840
- class: "mn-t-medium"
841
- }, null, 8, ["images"])) : u("", !0)
842
- ]),
843
- o("div", We, [
844
- t.recommendation ? (n(), a("h2", Je, l(m(r)("airecommend")), 1)) : u("", !0),
845
- o("h1", Ye, l(t.product.name), 1),
846
- C(J, {
847
- product: t.product,
848
- size: "big",
849
- class: "mn-semi"
850
- }, null, 8, ["product"]),
851
- t.recommendation ? (n(), a("h3", Ge, l(t.recommendation), 1)) : u("", !0),
852
- t.product.description && !t.product.localization && !t.recommendation ? (n(), a("p", Qe, l(t.product.description), 1)) : u("", !0),
853
- t.product.localization && t.product.localization.length > 1 && !t.recommendation ? (n(), a("p", Ue, l(m(r)("description")), 1)) : u("", !0),
854
- o("div", Ke, [
855
- t.product.information.length > 0 ? (n(!0), a(O, { key: 0 }, N(t.product.information, (g) => (n(), a("div", to, [
856
- o("p", eo, l(g.name), 1),
857
- o("p", null, l(g.value), 1)
858
- ]))), 256)) : u("", !0)
859
- ]),
860
- o("div", oo, [
861
- o("button", {
862
- disabled: c(t.product),
863
- onClick: f[0] || (f[0] = (g) => d(t.product)),
864
- class: "w-100 mn-r-small bg-main button"
865
- }, l(m(r)("addtoorder")), 9, so)
866
- ])
867
- ])
868
- ]));
869
- }
870
- };
871
- const Mo = {
872
- __name: "Product",
873
- async setup(t) {
874
- let e, s;
875
- const i = R();
876
- Z(), [e, s] = B(() => j.read({ _id: i.params.product })), await e, s(), i.meta.title.en = b.current.name, i.meta.title.ru = b.current.name;
877
- const r = x(() => b.current), c = {
878
- messages: {
879
- en: {},
880
- ru: {}
881
- }
882
- };
883
- b.current.localization.forEach((f) => {
884
- c.messages[f.locale].description = f.text;
885
- });
886
- const { t: d } = P(c), h = x(() => ({
887
- title: b.current.name,
888
- description: d("description")
889
- }));
890
- return ht(h), q(() => {
891
- }), (f, g) => (n(), a("div", null, [
892
- C(rt, { class: "section" }),
893
- C(io, {
894
- product: m(r),
895
- class: "section"
896
- }, null, 8, ["product"]),
897
- C(ye),
898
- C(Nt)
899
- ]));
900
- }
901
- };
902
- export {
903
- Mo as default
904
- };