@ozdao/prometheus-framework 0.0.89 → 0.0.90

Sign up to get free protection for your applications and to get access to all the features.
Files changed (544) hide show
  1. package/dist/{Breadcrumbs.vue_vue_type_style_index_0_lang-afba007a.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-0677d446.js → Chips-2a0d9bfe.js} +1 -1
  8. package/dist/Chips-f0b7ce36.mjs +110 -0
  9. package/dist/{Feed-ca8e0e22.mjs → Feed-8bbb7077.mjs} +100 -95
  10. package/dist/{Feed-76b2997e.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-8df23653.mjs → IconEdit-f0ad8b9a.mjs} +1 -1
  15. package/dist/{Image-30f04604.js → Image-0f2814f0.js} +2 -2
  16. package/dist/{Image-6ec294f3.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-bdf043ba.mjs → Popup-31c7ffc6.mjs} +1 -1
  21. package/dist/{Product-b233e2a3.js → Product-54854cd1.js} +2 -2
  22. package/dist/{Product-eb00f35e.mjs → Product-58a83c67.mjs} +17 -16
  23. package/dist/ProductEdit-36e5cfdd.js +1 -0
  24. package/dist/{ProductEdit-61413d02.mjs → ProductEdit-56752bbe.mjs} +30 -29
  25. package/dist/{ProfileBlogposts-775b1cfa.mjs → ProfileBlogposts-67e1bd8f.mjs} +11 -10
  26. package/dist/ProfileBlogposts-a798df3d.js +1 -0
  27. package/dist/{ProfileComments-fd7d66bf.mjs → ProfileComments-17352b6a.mjs} +7 -6
  28. package/dist/ProfileComments-473c3413.js +1 -0
  29. package/dist/{ProfileEvents-7a51a9e6.mjs → ProfileEvents-76166bc5.mjs} +13 -12
  30. package/dist/ProfileEvents-cdebd612.js +1 -0
  31. package/dist/ProfileLikes-da6303a4.js +1 -0
  32. package/dist/{ProfileLikes-20a8a3c9.mjs → ProfileLikes-f838ff5e.mjs} +10 -9
  33. package/dist/ProfileOrganizations-5348e892.js +1 -0
  34. package/dist/{ProfileOrganizations-4b866823.mjs → ProfileOrganizations-58ebfe44.mjs} +7 -6
  35. package/dist/Publics-e14d36ed.js +1 -0
  36. package/dist/{Publics-0e44c61e.mjs → Publics-fcb1f708.mjs} +17 -16
  37. package/dist/{UploadImage-9e7e7468.js → UploadImage-73d66f27.js} +1 -1
  38. package/dist/{UploadImage-d33b293e.mjs → UploadImage-a3ef4012.mjs} +1 -1
  39. package/dist/_plugin-vue_export-helper-dad06003.mjs +9 -0
  40. package/dist/_plugin-vue_export-helper-f246444f.js +1 -0
  41. package/dist/{auth-8b5aac7a.mjs → auth-5217f6a5.mjs} +13 -17
  42. package/dist/auth-5a58f8cb.js +8 -0
  43. package/dist/auth.client.cjs +8 -8
  44. package/dist/auth.client.js +16 -15
  45. package/dist/{auth.validation-093babe9.mjs → auth.validation-9f87ea95.mjs} +1 -1
  46. package/dist/{auth.validation-9f7c7948.js → auth.validation-be05e981.js} +1 -1
  47. package/dist/community.client.cjs +1 -1
  48. package/dist/community.client.js +26 -25
  49. package/dist/community.server.js +7 -167
  50. package/dist/community.server.mjs +7 -167
  51. package/dist/components/Address/Address.vue.d.ts.map +1 -1
  52. package/dist/components/Button/Button.vue.d.ts.map +1 -1
  53. package/dist/components/Checkbox/Checkbox.vue.d.ts.map +1 -1
  54. package/dist/components/Dropdown/Dropdown.vue.d.ts.map +1 -1
  55. package/dist/components/Field/Field.vue.d.ts.map +1 -1
  56. package/dist/components/FieldPhone/FieldPhone.vue.d.ts.map +1 -1
  57. package/dist/components/LocationMarker/LocationMarker.vue.d.ts.map +1 -1
  58. package/dist/components/Map/Map.vue.d.ts.map +1 -1
  59. package/dist/components/Popup/Popup.vue.d.ts.map +1 -1
  60. package/dist/components/Select/Select.vue.d.ts.map +1 -1
  61. package/dist/components/SelectMulti/SelectMulti.vue.d.ts.map +1 -1
  62. package/dist/components/Spoiler/Spoiler.vue.d.ts.map +1 -1
  63. package/dist/components/Tab/Tab.vue.d.ts.map +1 -1
  64. package/dist/components/Text/Text.vue.d.ts.map +1 -1
  65. package/dist/components/Tooltip/Tooltip.vue.d.ts.map +1 -1
  66. package/dist/components/Upload/Upload.vue.d.ts.map +1 -1
  67. package/dist/events.client.cjs +1 -1
  68. package/dist/events.client.js +24 -23
  69. package/dist/landing.client.cjs +1 -0
  70. package/dist/landing.client.js +132 -0
  71. package/dist/modules/icons/labels/LabelAppStore.vue.d.ts +2 -0
  72. package/dist/modules/icons/labels/LabelGooglePlay.vue.d.ts +2 -0
  73. package/dist/modules/{community/components/blocks/HeaderBlogpost.vue.d.ts → landing/components/sections/MobileApp.vue.d.ts} +3 -3
  74. package/dist/{organizations-1581c013.mjs → organizations-2adff182.mjs} +1 -1
  75. package/dist/{organizations-c455dad7.js → organizations-e97a0f85.js} +1 -1
  76. package/dist/{organizations.client-7937e180.mjs → organizations.client-88d41199.mjs} +50 -49
  77. package/dist/organizations.client-d21a22ec.js +3 -0
  78. package/dist/organizations.client.cjs +1 -1
  79. package/dist/organizations.client.js +46 -45
  80. package/dist/prometheus-framework.cjs.js +19 -19
  81. package/dist/prometheus-framework.es.js +2171 -2164
  82. package/dist/style.css +1 -1
  83. package/dist/users.client.cjs +1 -1
  84. package/dist/users.client.js +16 -15
  85. package/package.json +6 -2
  86. package/src/components/Text/Text.vue +3 -1
  87. package/src/modules/community/community.server.js +0 -2
  88. package/src/modules/community/components/blocks/CardBlogpost.vue +8 -0
  89. package/src/modules/community/components/pages/Blog.vue +1 -1
  90. package/src/modules/community/controllers/blog.controller.js +5 -1
  91. package/src/modules/icons/labels/LabelAppStore.vue +32 -0
  92. package/src/modules/icons/labels/LabelGooglePlay.vue +48 -0
  93. package/src/modules/landing/components/sections/MobileApp.vue +125 -0
  94. package/src/modules/landing/landing.client.js +7 -0
  95. package/src/modules/organizations/components/blocks/CardOrganization.vue +3 -1
  96. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-0216f2b0.js +0 -7
  97. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-0cb41a82.js +0 -1
  98. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-15e71ec4.js +0 -1
  99. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-2809e848.mjs +0 -219
  100. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-2af7f63b.mjs +0 -80
  101. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-300fcb55.js +0 -1
  102. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-451d2614.mjs +0 -80
  103. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-474eb4c2.js +0 -1
  104. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-5ea8b4fa.js +0 -1
  105. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-628f013e.mjs +0 -138
  106. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-85119a4e.js +0 -1
  107. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-8cb3c120.mjs +0 -185
  108. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-a477dfc6.mjs +0 -138
  109. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-c6f3a0f0.js +0 -1
  110. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-cdbafd07.mjs +0 -1944
  111. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-d777ad17.mjs +0 -80
  112. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-dd037bbf.js +0 -1
  113. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-e133a3c6.mjs +0 -80
  114. package/dist/ButtonFollow-001c4a65.mjs +0 -130
  115. package/dist/ButtonFollow-0d83a04a.mjs +0 -130
  116. package/dist/ButtonFollow-1aca37e0.mjs +0 -130
  117. package/dist/ButtonFollow-1b655344.js +0 -1
  118. package/dist/ButtonFollow-2ce169ca.js +0 -1
  119. package/dist/ButtonFollow-48043cc7.js +0 -1
  120. package/dist/ButtonFollow-6bbf3e24.mjs +0 -130
  121. package/dist/ButtonFollow-6cd2efa2.mjs +0 -130
  122. package/dist/ButtonFollow-b29bd420.mjs +0 -130
  123. package/dist/ButtonFollow-c4680999.js +0 -1
  124. package/dist/ButtonFollow-c9484003.mjs +0 -130
  125. package/dist/ButtonFollow-d983e174.js +0 -1
  126. package/dist/ButtonFollow-f630623a.js +0 -1
  127. package/dist/ButtonFollow-f9c5dc7a.js +0 -1
  128. package/dist/CardHeader-2d7e5d49.mjs +0 -76
  129. package/dist/CardHeader-2ef6618e.mjs +0 -96
  130. package/dist/CardHeader-377cfc4b.js +0 -1
  131. package/dist/CardHeader-39f75e85.mjs +0 -76
  132. package/dist/CardHeader-88de7b20.mjs +0 -76
  133. package/dist/CardHeader-925a972b.js +0 -1
  134. package/dist/CardHeader-ce5a1a75.mjs +0 -96
  135. package/dist/CardHeader-ddf82318.js +0 -1
  136. package/dist/CardHeader-dff9c71a.js +0 -1
  137. package/dist/CardHeader-e15eb618.js +0 -1
  138. package/dist/CardHeader-e361dada.mjs +0 -96
  139. package/dist/CardHeader-e517c801.mjs +0 -76
  140. package/dist/CardOrganization-0291683b.js +0 -1
  141. package/dist/CardOrganization-1384ff9a.mjs +0 -320
  142. package/dist/CardOrganization-21de52b3.js +0 -1
  143. package/dist/CardOrganization-3c42e14f.mjs +0 -320
  144. package/dist/CardOrganization-4859370e.mjs +0 -320
  145. package/dist/CardOrganization-51309400.js +0 -1
  146. package/dist/CardOrganization-58b54995.js +0 -1
  147. package/dist/CardOrganization-91e79698.mjs +0 -320
  148. package/dist/CardOrganization-9841dbe0.js +0 -1
  149. package/dist/CardOrganization-a05f3a19.js +0 -1
  150. package/dist/CardOrganization-a75b523d.mjs +0 -63
  151. package/dist/CardOrganization-bacc2ef6.mjs +0 -202
  152. package/dist/CardOrganization-d462e158.mjs +0 -320
  153. package/dist/CardOrganization-ee5c34ab.js +0 -1
  154. package/dist/CardOrganization-f70bd169.mjs +0 -202
  155. package/dist/CardOrganization-ffa585a7.js +0 -1
  156. package/dist/Comments-1aec0e5e.js +0 -1
  157. package/dist/Comments-5ed669ea.mjs +0 -74
  158. package/dist/Comments-63f154a6.js +0 -9
  159. package/dist/Comments-641516f8.mjs +0 -76
  160. package/dist/Comments-646c73ee.js +0 -1
  161. package/dist/Comments-6ff58c26.js +0 -1
  162. package/dist/Comments-7c4f2715.js +0 -1
  163. package/dist/Comments-81feeb4a.mjs +0 -76
  164. package/dist/Comments-9427a0eb.mjs +0 -76
  165. package/dist/Comments-b5821190.mjs +0 -76
  166. package/dist/Comments-b620bae6.js +0 -1
  167. package/dist/Comments-b6e32958.js +0 -1
  168. package/dist/Comments-c092550f.mjs +0 -76
  169. package/dist/Comments-c5afa4d6.mjs +0 -459
  170. package/dist/Comments-d2a8fd0f.mjs +0 -76
  171. package/dist/DepartmentEdit-305a0f5d.mjs +0 -374
  172. package/dist/DepartmentEdit-6abd59e1.js +0 -1
  173. package/dist/DepartmentEdit-9e6fe007.mjs +0 -374
  174. package/dist/DepartmentEdit-d98c2239.js +0 -1
  175. package/dist/EditProductImages-04ec4326.js +0 -1
  176. package/dist/EditProductImages-11510b66.js +0 -1
  177. package/dist/EditProductImages-1d4b44a9.mjs +0 -236
  178. package/dist/EditProductImages-4246db75.mjs +0 -236
  179. package/dist/EditProductImages-42f9f665.mjs +0 -236
  180. package/dist/EditProductImages-61ff4321.mjs +0 -236
  181. package/dist/EditProductImages-98d13eb0.js +0 -1
  182. package/dist/EditProductImages-9f25f39f.mjs +0 -236
  183. package/dist/EditProductImages-b1b05c03.js +0 -1
  184. package/dist/EditProductImages-c7daafb2.mjs +0 -236
  185. package/dist/EditProductImages-cf67d31b.js +0 -1
  186. package/dist/EditProductImages-cfb1856e.mjs +0 -237
  187. package/dist/EditProductImages-d9228ad0.js +0 -1
  188. package/dist/EditProductImages-ec630dbf.js +0 -1
  189. package/dist/EditProductImages-f983f473.mjs +0 -236
  190. package/dist/EmptyState-1214f70b.mjs +0 -36
  191. package/dist/EmptyState-23c13029.js +0 -1
  192. package/dist/Feed-0b549674.js +0 -1
  193. package/dist/Feed-193dd1df.mjs +0 -342
  194. package/dist/Feed-26bf6bef.js +0 -1
  195. package/dist/Feed-2f9a1922.mjs +0 -334
  196. package/dist/Feed-31523f38.js +0 -1
  197. package/dist/Feed-4b28adc5.mjs +0 -423
  198. package/dist/Feed-51e4e232.js +0 -1
  199. package/dist/Feed-531de2d5.js +0 -1
  200. package/dist/Feed-55c5907a.js +0 -1
  201. package/dist/Feed-5c9e4e74.mjs +0 -340
  202. package/dist/Feed-5d8d5c21.js +0 -1
  203. package/dist/Feed-706cd7c0.mjs +0 -383
  204. package/dist/Feed-8009e4f8.js +0 -1
  205. package/dist/Feed-81d5802e.mjs +0 -355
  206. package/dist/Feed-83ef5666.js +0 -1
  207. package/dist/Feed-8fd41524.js +0 -1
  208. package/dist/Feed-91eff3af.mjs +0 -393
  209. package/dist/Feed-926cf4f3.mjs +0 -355
  210. package/dist/Feed-932d976d.js +0 -1
  211. package/dist/Feed-962e009b.js +0 -1
  212. package/dist/Feed-a31c43c2.mjs +0 -423
  213. package/dist/Feed-a82ae26b.js +0 -1
  214. package/dist/Feed-aa3bd30a.js +0 -1
  215. package/dist/Feed-b8eeb4e7.js +0 -1
  216. package/dist/Feed-bd7b1a45.js +0 -1
  217. package/dist/Feed-c0007a83.mjs +0 -383
  218. package/dist/Feed-c93012c7.mjs +0 -346
  219. package/dist/Feed-d2e5978c.mjs +0 -342
  220. package/dist/Feed-d4220f74.mjs +0 -340
  221. package/dist/Feed-d8e33aed.mjs +0 -397
  222. package/dist/Feed-dc8b66bf.mjs +0 -367
  223. package/dist/Feed-df5bbb3c.mjs +0 -346
  224. package/dist/Feed-e5fb4972.mjs +0 -397
  225. package/dist/Feed-e8fb21ed.js +0 -1
  226. package/dist/Feed-e91b36ea.mjs +0 -390
  227. package/dist/Feed-ecf37814.mjs +0 -367
  228. package/dist/Feed-eeb63363.js +0 -1
  229. package/dist/Feed-f4cad6c3.js +0 -1
  230. package/dist/Field-740d5a17.mjs +0 -60
  231. package/dist/Field-a1770ccf.js +0 -1
  232. package/dist/Field-ada86df2.js +0 -1
  233. package/dist/Field-e839d9ca.mjs +0 -60
  234. package/dist/Footer.vue_vue_type_style_index_0_lang-0ea8fbf8.js +0 -1
  235. package/dist/Footer.vue_vue_type_style_index_0_lang-2f7f46f1.js +0 -7
  236. package/dist/Footer.vue_vue_type_style_index_0_lang-39d2aa14.mjs +0 -37
  237. package/dist/Footer.vue_vue_type_style_index_0_lang-4ed993c7.mjs +0 -1
  238. package/dist/HeaderBlogpost-59dd9a6b.mjs +0 -93
  239. package/dist/HeaderBlogpost-8ec43cd0.js +0 -1
  240. package/dist/IconEdit-3028a3b7.js +0 -1
  241. package/dist/IconEdit-736c89be.js +0 -1
  242. package/dist/IconEdit-e9fd4c6c.mjs +0 -21
  243. package/dist/Image-6c7584f5.mjs +0 -477
  244. package/dist/Image-9a870c88.js +0 -9
  245. package/dist/PlaceholderUserpic-10fd9026.js +0 -1
  246. package/dist/PlaceholderUserpic-1a6cf257.mjs +0 -28
  247. package/dist/PlaceholderUserpic-3bf126ee.js +0 -1
  248. package/dist/PlaceholderUserpic-3c1b9f7b.mjs +0 -28
  249. package/dist/PlaceholderUserpic-43e5ab23.js +0 -1
  250. package/dist/PlaceholderUserpic-4fe04ec9.mjs +0 -28
  251. package/dist/PlaceholderUserpic-52966e09.js +0 -1
  252. package/dist/PlaceholderUserpic-9085715c.mjs +0 -28
  253. package/dist/PlaceholderUserpic-995da0fc.mjs +0 -28
  254. package/dist/PlaceholderUserpic-b27c51f7.js +0 -1
  255. package/dist/PlaceholderUserpic-d64d6dd5.js +0 -1
  256. package/dist/PlaceholderUserpic-e44ccca8.mjs +0 -28
  257. package/dist/PlaceholderUserpic-eb9820ce.mjs +0 -28
  258. package/dist/PlaceholderUserpic-fe8bd48d.js +0 -1
  259. package/dist/Popup-0c791801.mjs +0 -76
  260. package/dist/Popup-70f6a8c0.mjs +0 -76
  261. package/dist/Popup-7c331e1c.js +0 -1
  262. package/dist/Popup-82fb2c8a.mjs +0 -76
  263. package/dist/Popup-9479e39a.js +0 -1
  264. package/dist/Popup.vue_vue_type_style_index_0_lang-0cbf3253.js +0 -1
  265. package/dist/Popup.vue_vue_type_style_index_0_lang-22048704.mjs +0 -280
  266. package/dist/Popup.vue_vue_type_style_index_0_lang-28b9af00.mjs +0 -280
  267. package/dist/Popup.vue_vue_type_style_index_0_lang-4f16907f.mjs +0 -924
  268. package/dist/Popup.vue_vue_type_style_index_0_lang-5b5f9cd7.js +0 -5
  269. package/dist/Popup.vue_vue_type_style_index_0_lang-769e7cf5.js +0 -5
  270. package/dist/Popup.vue_vue_type_style_index_0_lang-8981c189.mjs +0 -280
  271. package/dist/Popup.vue_vue_type_style_index_0_lang-931f265a.js +0 -1
  272. package/dist/Popup.vue_vue_type_style_index_0_lang-a191c190.js +0 -1
  273. package/dist/Popup.vue_vue_type_style_index_0_lang-a9351a87.js +0 -1
  274. package/dist/Popup.vue_vue_type_style_index_0_lang-d05075a7.mjs +0 -280
  275. package/dist/Popup.vue_vue_type_style_index_0_lang-f2c0cfb5.mjs +0 -924
  276. package/dist/Product-0195429b.js +0 -1
  277. package/dist/Product-035252c0.js +0 -1
  278. package/dist/Product-05cc1386.mjs +0 -687
  279. package/dist/Product-151f4473.mjs +0 -904
  280. package/dist/Product-1724d88d.mjs +0 -837
  281. package/dist/Product-19cc3654.js +0 -7
  282. package/dist/Product-2f3d592f.mjs +0 -837
  283. package/dist/Product-2fbf9d99.js +0 -7
  284. package/dist/Product-334f8bf4.mjs +0 -904
  285. package/dist/Product-35904a9b.js +0 -7
  286. package/dist/Product-3c64a352.mjs +0 -904
  287. package/dist/Product-45a6e7bd.mjs +0 -687
  288. package/dist/Product-4a5f985d.mjs +0 -837
  289. package/dist/Product-60e14832.mjs +0 -904
  290. package/dist/Product-67efba5c.js +0 -7
  291. package/dist/Product-6c37ef35.js +0 -7
  292. package/dist/Product-7087b358.mjs +0 -837
  293. package/dist/Product-96195a8e.js +0 -7
  294. package/dist/Product-a94d8b65.js +0 -7
  295. package/dist/Product-b440df7f.js +0 -7
  296. package/dist/Product-c3a77d07.mjs +0 -837
  297. package/dist/Product-c8441f02.js +0 -7
  298. package/dist/Product-cf9cfe65.mjs +0 -904
  299. package/dist/Product-df622dc0.mjs +0 -837
  300. package/dist/Product-eb2b6725.js +0 -7
  301. package/dist/Product-f4dbd969.mjs +0 -837
  302. package/dist/Product-f819b17e.js +0 -7
  303. package/dist/Product-fb63c7cd.js +0 -7
  304. package/dist/ProductEdit-04760699.js +0 -1
  305. package/dist/ProductEdit-177c1f16.mjs +0 -113
  306. package/dist/ProductEdit-1e990a92.js +0 -1
  307. package/dist/ProductEdit-20709821.mjs +0 -349
  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/ProductEdit-fca68ff9.js +0 -1
  324. package/dist/ProfileBlogposts-00424109.js +0 -1
  325. package/dist/ProfileBlogposts-03658199.js +0 -1
  326. package/dist/ProfileBlogposts-11bfd9dc.js +0 -1
  327. package/dist/ProfileBlogposts-317742ee.mjs +0 -56
  328. package/dist/ProfileBlogposts-4341ca89.mjs +0 -46
  329. package/dist/ProfileBlogposts-55037a06.mjs +0 -56
  330. package/dist/ProfileBlogposts-65a7a5e0.mjs +0 -56
  331. package/dist/ProfileBlogposts-6704a38c.js +0 -1
  332. package/dist/ProfileBlogposts-79d5c858.mjs +0 -63
  333. package/dist/ProfileBlogposts-892fdcf8.mjs +0 -56
  334. package/dist/ProfileBlogposts-dc11090e.js +0 -1
  335. package/dist/ProfileBlogposts-e55e30ae.js +0 -1
  336. package/dist/ProfileBlogposts-e9a7381e.js +0 -1
  337. package/dist/ProfileBlogposts-eca9916c.js +0 -1
  338. package/dist/ProfileBlogposts-fb014bc6.mjs +0 -63
  339. package/dist/ProfileBlogposts-ffa10f34.mjs +0 -63
  340. package/dist/ProfileComments-0396b55c.js +0 -1
  341. package/dist/ProfileComments-08d1670d.mjs +0 -43
  342. package/dist/ProfileComments-175e42da.js +0 -1
  343. package/dist/ProfileComments-2e2a3a7a.mjs +0 -42
  344. package/dist/ProfileComments-34eb560b.mjs +0 -43
  345. package/dist/ProfileComments-48f3d4bc.mjs +0 -43
  346. package/dist/ProfileComments-58094a50.mjs +0 -43
  347. package/dist/ProfileComments-5884d09f.mjs +0 -43
  348. package/dist/ProfileComments-66651060.mjs +0 -43
  349. package/dist/ProfileComments-677731b3.js +0 -1
  350. package/dist/ProfileComments-730c2f73.js +0 -1
  351. package/dist/ProfileComments-82791682.js +0 -1
  352. package/dist/ProfileComments-b6a688cd.js +0 -1
  353. package/dist/ProfileComments-b919f021.js +0 -1
  354. package/dist/ProfileComments-d3966a83.mjs +0 -43
  355. package/dist/ProfileComments-f5f260ec.js +0 -1
  356. package/dist/ProfileEvents-05485e20.js +0 -1
  357. package/dist/ProfileEvents-138ae25e.mjs +0 -55
  358. package/dist/ProfileEvents-1cfe6858.mjs +0 -55
  359. package/dist/ProfileEvents-20695376.mjs +0 -55
  360. package/dist/ProfileEvents-20e9da99.mjs +0 -46
  361. package/dist/ProfileEvents-45c4b137.mjs +0 -55
  362. package/dist/ProfileEvents-4f2a5f00.js +0 -1
  363. package/dist/ProfileEvents-5d206e3d.mjs +0 -55
  364. package/dist/ProfileEvents-676239cc.js +0 -1
  365. package/dist/ProfileEvents-6e6c253b.mjs +0 -46
  366. package/dist/ProfileEvents-858e9471.mjs +0 -55
  367. package/dist/ProfileEvents-85a88674.mjs +0 -55
  368. package/dist/ProfileEvents-89def76b.js +0 -1
  369. package/dist/ProfileEvents-94d7b407.js +0 -1
  370. package/dist/ProfileEvents-b057d374.js +0 -1
  371. package/dist/ProfileEvents-b5431cd6.js +0 -1
  372. package/dist/ProfileEvents-b8a76b6e.js +0 -1
  373. package/dist/ProfileEvents-c1e04ac1.mjs +0 -46
  374. package/dist/ProfileEvents-cd75d80b.js +0 -1
  375. package/dist/ProfileEvents-cebebb17.js +0 -1
  376. package/dist/ProfileEvents-d53e7729.mjs +0 -46
  377. package/dist/ProfileEvents-d8e16509.js +0 -1
  378. package/dist/ProfileEvents-ddaf8fba.mjs +0 -55
  379. package/dist/ProfileEvents-ffe0e6f3.js +0 -1
  380. package/dist/ProfileLikes-0668b718.js +0 -1
  381. package/dist/ProfileLikes-2f3a4488.js +0 -1
  382. package/dist/ProfileLikes-405c2636.js +0 -1
  383. package/dist/ProfileLikes-4242bca5.mjs +0 -43
  384. package/dist/ProfileLikes-4a57f637.mjs +0 -43
  385. package/dist/ProfileLikes-503712ec.mjs +0 -43
  386. package/dist/ProfileLikes-7f965631.mjs +0 -43
  387. package/dist/ProfileLikes-854276f0.js +0 -1
  388. package/dist/ProfileLikes-8ccf6815.js +0 -1
  389. package/dist/ProfileLikes-a78900c0.js +0 -1
  390. package/dist/ProfileLikes-b3b1350a.js +0 -1
  391. package/dist/ProfileLikes-b5ac7f48.mjs +0 -43
  392. package/dist/ProfileLikes-c32c420b.mjs +0 -43
  393. package/dist/ProfileLikes-c4c87300.mjs +0 -42
  394. package/dist/ProfileLikes-c899e3df.js +0 -1
  395. package/dist/ProfileLikes-d978b084.mjs +0 -43
  396. package/dist/ProfileOrganizations-04cc9d6d.mjs +0 -198
  397. package/dist/ProfileOrganizations-0b76e38f.js +0 -1
  398. package/dist/ProfileOrganizations-0e202612.js +0 -1
  399. package/dist/ProfileOrganizations-13748b09.js +0 -1
  400. package/dist/ProfileOrganizations-1990d0cc.js +0 -1
  401. package/dist/ProfileOrganizations-2633e9e4.mjs +0 -198
  402. package/dist/ProfileOrganizations-32ab1e30.mjs +0 -211
  403. package/dist/ProfileOrganizations-3f305f4e.mjs +0 -210
  404. package/dist/ProfileOrganizations-46b6e015.mjs +0 -202
  405. package/dist/ProfileOrganizations-4ffaf01c.js +0 -1
  406. package/dist/ProfileOrganizations-50fce34e.js +0 -1
  407. package/dist/ProfileOrganizations-567e87e1.mjs +0 -210
  408. package/dist/ProfileOrganizations-5abfcc59.js +0 -1
  409. package/dist/ProfileOrganizations-5d681498.mjs +0 -202
  410. package/dist/ProfileOrganizations-6d3a43e4.js +0 -1
  411. package/dist/ProfileOrganizations-704f628b.js +0 -1
  412. package/dist/ProfileOrganizations-b83f6720.js +0 -1
  413. package/dist/ProfileOrganizations-c58a4fb9.js +0 -1
  414. package/dist/ProfileOrganizations-c7688210.js +0 -1
  415. package/dist/ProfileOrganizations-ca9a95a1.js +0 -1
  416. package/dist/ProfileOrganizations-dbc8a6cd.mjs +0 -214
  417. package/dist/ProfileOrganizations-dc7210f1.mjs +0 -214
  418. package/dist/ProfileOrganizations-e4fd2b05.mjs +0 -202
  419. package/dist/ProfileOrganizations-f6e00809.mjs +0 -214
  420. package/dist/ProfileOrganizations-feef34df.mjs +0 -112
  421. package/dist/Publics-07d5bbc4.js +0 -1
  422. package/dist/Publics-122d9fc7.mjs +0 -1078
  423. package/dist/Publics-13c48a23.mjs +0 -47
  424. package/dist/Publics-17009745.mjs +0 -1926
  425. package/dist/Publics-213e0e9e.mjs +0 -44
  426. package/dist/Publics-21f24533.mjs +0 -44
  427. package/dist/Publics-3f277c17.js +0 -1
  428. package/dist/Publics-450a6715.mjs +0 -1926
  429. package/dist/Publics-49dbeafc.js +0 -1
  430. package/dist/Publics-4e1c14fc.js +0 -1
  431. package/dist/Publics-501c9f27.js +0 -1
  432. package/dist/Publics-54134615.mjs +0 -47
  433. package/dist/Publics-889c25fc.js +0 -1
  434. package/dist/Publics-8bea4201.mjs +0 -44
  435. package/dist/Publics-8d94ee66.js +0 -1
  436. package/dist/Publics-9ebffff1.mjs +0 -122
  437. package/dist/Publics-a030da8f.js +0 -1
  438. package/dist/Publics-aca585c3.js +0 -1
  439. package/dist/Publics-b0fad2b0.mjs +0 -1926
  440. package/dist/Publics-becb1486.js +0 -1
  441. package/dist/Publics-c6f6b824.js +0 -1
  442. package/dist/Publics-c9d5aa74.js +0 -1
  443. package/dist/Publics-fbc8d2db.mjs +0 -1926
  444. package/dist/Select.vue_vue_type_style_index_0_scoped_a78dbba1_lang-0ea8fbf8.js +0 -1
  445. package/dist/Select.vue_vue_type_style_index_0_scoped_a78dbba1_lang-4ed993c7.mjs +0 -1
  446. package/dist/Tab-054b61f7.mjs +0 -46
  447. package/dist/Tab-1ca0fe66.js +0 -1
  448. package/dist/Tab-58cd105f.mjs +0 -46
  449. package/dist/Tab-b0a7ac11.js +0 -1
  450. package/dist/Tab-c67fbf51.mjs +0 -46
  451. package/dist/Tab-f04c185d.js +0 -1
  452. package/dist/Tab-fcb73759.mjs +0 -46
  453. package/dist/Tab.vue_vue_type_style_index_0_lang-0ea8fbf8.js +0 -1
  454. package/dist/Tab.vue_vue_type_style_index_0_lang-4ed993c7.mjs +0 -1
  455. package/dist/Unit.vue_vue_type_style_index_0_scoped_d69a370a_lang-0b4edb09.js +0 -1
  456. package/dist/Unit.vue_vue_type_style_index_0_scoped_d69a370a_lang-5531689e.mjs +0 -123
  457. package/dist/UploadImage-1b8c18c4.mjs +0 -99
  458. package/dist/UploadImage-34bc4a3f.mjs +0 -99
  459. package/dist/UploadImage-441e8526.js +0 -1
  460. package/dist/UploadImage-4e91bd99.js +0 -1
  461. package/dist/UploadImage-6e312c46.mjs +0 -83
  462. package/dist/UploadImage-74280ea3.mjs +0 -99
  463. package/dist/UploadImage-75b1a18a.js +0 -1
  464. package/dist/UploadImage-7c502f96.js +0 -1
  465. package/dist/UploadImage-96408782.mjs +0 -99
  466. package/dist/UploadImage-9abb7116.js +0 -1
  467. package/dist/UploadImage-b1acc48f.mjs +0 -99
  468. package/dist/UploadImage-c81c3b76.js +0 -1
  469. package/dist/UploadImage-cd6de241.js +0 -1
  470. package/dist/UploadImage-d1dbc280.mjs +0 -99
  471. package/dist/UploadImage-ff8f9a0c.mjs +0 -83
  472. package/dist/auth-07c01b19.js +0 -8
  473. package/dist/auth-18f80fef.mjs +0 -1501
  474. package/dist/auth-2bc18d1e.js +0 -8
  475. package/dist/auth-35ef1791.mjs +0 -1502
  476. package/dist/auth-50bd4ebb.js +0 -8
  477. package/dist/auth-5aa8e90c.js +0 -8
  478. package/dist/auth-708eebcb.mjs +0 -1446
  479. package/dist/auth-78fd9408.js +0 -8
  480. package/dist/auth-7dff19e4.js +0 -8
  481. package/dist/auth-84680727.mjs +0 -1501
  482. package/dist/auth-ab40831d.js +0 -8
  483. package/dist/auth-d102dac0.mjs +0 -1501
  484. package/dist/auth-f81f3598.mjs +0 -1439
  485. package/dist/auth-fefd15a3.mjs +0 -1503
  486. package/dist/auth.validation-1fb0cb4f.js +0 -1
  487. package/dist/auth.validation-29113f37.mjs +0 -20
  488. package/dist/auth.validation-2d33e8c7.mjs +0 -20
  489. package/dist/auth.validation-2e8ee994.js +0 -1
  490. package/dist/auth.validation-4a617c0b.mjs +0 -20
  491. package/dist/auth.validation-6923140f.js +0 -1
  492. package/dist/auth.validation-69488f55.mjs +0 -20
  493. package/dist/auth.validation-6bccabd6.mjs +0 -20
  494. package/dist/auth.validation-78a90fed.js +0 -1
  495. package/dist/auth.validation-9cfd985b.mjs +0 -20
  496. package/dist/auth.validation-a18510e8.js +0 -1
  497. package/dist/auth.validation-b644ee65.js +0 -1
  498. package/dist/auth.validation-f23a7238.mjs +0 -21
  499. package/dist/categories-75b7d14b.js +0 -1
  500. package/dist/categories-86b2d45b.mjs +0 -225
  501. package/dist/categories-d669f3af.mjs +0 -225
  502. package/dist/components/FieldPhone/<script>.vue.d.ts +0 -547
  503. package/dist/globals-d7a54bb4.js +0 -1
  504. package/dist/globals-f538c0ef.mjs +0 -87
  505. package/dist/inputs.validation-498d8ec9.js +0 -1
  506. package/dist/inputs.validation-5732152a.mjs +0 -93
  507. package/dist/inputs.validation-6960f71b.mjs +0 -93
  508. package/dist/inputs.validation-c473ebe7.mjs +0 -93
  509. package/dist/inputs.validation-c53e01a2.js +0 -1
  510. package/dist/modules/community/components/blocks/CardOrganization.vue.d.ts +0 -8
  511. package/dist/modules/community/components/elements/Bullets.vue.d.ts +0 -15
  512. package/dist/modules/community/components/elements/Caption.vue.d.ts +0 -15
  513. package/dist/modules/community/components/elements/H2.vue.d.ts +0 -16
  514. package/dist/modules/community/components/elements/Image.vue.d.ts +0 -8
  515. package/dist/modules/community/components/elements/ImageUpload.vue.d.ts +0 -9
  516. package/dist/modules/community/components/elements/Textarea.vue.d.ts +0 -16
  517. package/dist/modules/community/components/pages/BlogPost.old.vue.d.ts +0 -2
  518. package/dist/modules/community/components/sections/Publics.vue.d.ts +0 -2
  519. package/dist/modules/events/components/layouts/Events.vue.d.ts +0 -2
  520. package/dist/modules/organizations/components/blocks/CardOrganizationSocial.vue.d.ts +0 -8
  521. package/dist/organizations-0e9ff7ca.mjs +0 -319
  522. package/dist/organizations-1b4c84ee.mjs +0 -121
  523. package/dist/organizations-35fe2db4.js +0 -1
  524. package/dist/organizations-4d74e13b.js +0 -1
  525. package/dist/organizations-5f9c7fbd.js +0 -1
  526. package/dist/organizations-6c1450fa.mjs +0 -153
  527. package/dist/organizations-773c328c.mjs +0 -319
  528. package/dist/organizations-a9b86de7.mjs +0 -319
  529. package/dist/organizations-af43bda4.js +0 -1
  530. package/dist/organizations-b3df0859.js +0 -1
  531. package/dist/organizations-c77ea9d0.js +0 -1
  532. package/dist/organizations-d4307861.mjs +0 -319
  533. package/dist/organizations-dd07ba2c.js +0 -1
  534. package/dist/organizations-fb1a2214.mjs +0 -319
  535. package/dist/organizations.client-040ec107.js +0 -3
  536. package/dist/organizations.client-253c8068.mjs +0 -3179
  537. package/dist/organizations.client-3b4eb66e.mjs +0 -2898
  538. package/dist/organizations.client-4e29c957.js +0 -3
  539. package/dist/organizations.client-686845be.mjs +0 -3179
  540. package/dist/organizations.client-71c9abde.mjs +0 -2898
  541. package/dist/organizations.client-99bfc474.js +0 -3
  542. package/dist/organizations.client-ba59ed4e.js +0 -3
  543. package/dist/organizations.client-c60d7659.js +0 -3
  544. package/src/modules/community/controllers/blog.old.controller.js +0 -207
@@ -0,0 +1,48 @@
1
+ <template>
2
+ <svg width="205" height="69" viewBox="0 0 205 69" fill="none" xmlns="http://www.w3.org/2000/svg">
3
+ <path d="M196.627 69H7.78417C3.63152 69 0.230469 65.6794 0.230469 61.625V17.375C0.230469 13.3206 3.63152 10 7.78417 10H196.627C200.779 10 204.181 13.3206 204.181 17.375V61.625C204.181 65.6794 200.779 69 196.627 69Z" fill="black"/>
4
+ <path d="M196.627 11.1818C200.124 11.1818 202.97 13.9604 202.97 17.375V61.625C202.97 65.0396 200.124 67.8182 196.627 67.8182H7.78417C4.28681 67.8182 1.44095 65.0396 1.44095 61.625V17.375C1.44095 13.9604 4.28681 11.1818 7.78417 11.1818H196.627ZM196.627 10H7.78417C3.63152 10 0.230469 13.3206 0.230469 17.375V61.625C0.230469 65.6794 3.63152 69 7.78417 69H196.627C200.779 69 204.181 65.6794 204.181 61.625V17.375C204.181 13.3206 200.779 10 196.627 10Z" fill="#A6A6A6"/>
5
+ <path d="M71.8658 25.1096C71.8658 26.3413 71.4881 27.3277 70.744 28.0633C69.8886 28.9354 68.7744 29.3742 67.4091 29.3742C66.1042 29.3742 64.99 28.928 64.076 28.0486C63.1601 27.1562 62.7031 26.061 62.7031 24.7501C62.7031 23.4392 63.1601 22.344 64.076 21.459C64.99 20.5722 66.1042 20.126 67.4091 20.126C68.0587 20.126 68.6781 20.2569 69.2692 20.5003C69.8584 20.7455 70.338 21.0774 70.6855 21.4867L69.8961 22.2647C69.29 21.5659 68.4647 21.2212 67.4091 21.2212C66.4573 21.2212 65.6321 21.5457 64.9315 22.2002C64.2384 22.8566 63.8909 23.7065 63.8909 24.7501C63.8909 25.7937 64.2384 26.651 64.9315 27.3074C65.6321 27.9545 66.4573 28.2864 67.4091 28.2864C68.4194 28.2864 69.2692 27.9545 69.9396 27.3C70.3815 26.8667 70.6326 26.2694 70.6987 25.506H67.4091V24.4404H71.7978C71.8507 24.6708 71.8658 24.8939 71.8658 25.1096V25.1096Z" fill="white" stroke="white" stroke-width="0.16" stroke-miterlimit="10"/>
6
+ <path d="M78.8285 21.4151H74.7061V24.2176H78.4225V25.2833H74.7061V28.0858H78.8285V29.1717H73.5391V20.3291H78.8285V21.4151Z" fill="white" stroke="white" stroke-width="0.16" stroke-miterlimit="10"/>
7
+ <path d="M83.7425 29.1717H82.5755V21.4151H80.0469V20.3291H86.273V21.4151H83.7425V29.1717V29.1717Z" fill="white" stroke="white" stroke-width="0.16" stroke-miterlimit="10"/>
8
+ <path d="M90.7793 29.1717V20.3291H91.9445V29.1717H90.7793Z" fill="white" stroke="white" stroke-width="0.16" stroke-miterlimit="10"/>
9
+ <path d="M97.1077 29.1717H95.9501V21.4151H93.4121V20.3291H99.6458V21.4151H97.1077V29.1717Z" fill="white" stroke="white" stroke-width="0.16" stroke-miterlimit="10"/>
10
+ <path d="M111.434 28.0338C110.54 28.928 109.434 29.3742 108.114 29.3742C106.786 29.3742 105.68 28.928 104.786 28.0338C103.895 27.1414 103.451 26.0463 103.451 24.7501C103.451 23.4539 103.895 22.3588 104.786 21.4664C105.68 20.5722 106.786 20.126 108.114 20.126C109.426 20.126 110.533 20.5722 111.426 21.4738C112.325 22.3735 112.769 23.4613 112.769 24.7501C112.769 26.0463 112.325 27.1414 111.434 28.0338ZM105.649 27.2926C106.322 27.9545 107.139 28.2864 108.114 28.2864C109.081 28.2864 109.906 27.9545 110.571 27.2926C111.241 26.6307 111.581 25.7808 111.581 24.7501C111.581 23.7194 111.241 22.8695 110.571 22.2076C109.906 21.5457 109.081 21.2138 108.114 21.2138C107.139 21.2138 106.322 21.5457 105.649 22.2076C104.979 22.8695 104.639 23.7194 104.639 24.7501C104.639 25.7808 104.979 26.6307 105.649 27.2926V27.2926Z" fill="white" stroke="white" stroke-width="0.16" stroke-miterlimit="10"/>
11
+ <path d="M114.406 29.1717V20.3291H115.823L120.226 27.2063H120.277L120.226 25.5063V20.3291H121.392V29.1717H120.175L115.564 21.9553H115.513L115.564 23.6626V29.1717H114.406V29.1717Z" fill="white" stroke="white" stroke-width="0.16" stroke-miterlimit="10"/>
12
+ <path d="M103.164 42.0853C99.6156 42.0853 96.7169 44.7218 96.7169 48.3596C96.7169 51.9678 99.6156 54.632 103.164 54.632C106.72 54.632 109.619 51.9678 109.619 48.3596C109.619 44.7218 106.72 42.0853 103.164 42.0853ZM103.164 52.1614C101.217 52.1614 99.542 50.5923 99.542 48.3596C99.542 46.0973 101.217 44.5559 103.164 44.5559C105.111 44.5559 106.794 46.0973 106.794 48.3596C106.794 50.5923 105.111 52.1614 103.164 52.1614V52.1614ZM89.0971 42.0853C85.5412 42.0853 82.65 44.7218 82.65 48.3596C82.65 51.9678 85.5412 54.632 89.0971 54.632C92.6511 54.632 95.5442 51.9678 95.5442 48.3596C95.5442 44.7218 92.6511 42.0853 89.0971 42.0853ZM89.0971 52.1614C87.1482 52.1614 85.4675 50.5923 85.4675 48.3596C85.4675 46.0973 87.1482 44.5559 89.0971 44.5559C91.0441 44.5559 92.7191 46.0973 92.7191 48.3596C92.7191 50.5923 91.0441 52.1614 89.0971 52.1614ZM72.3581 44.0083V46.6744H78.8788C78.6881 48.1641 78.1782 49.2593 77.3964 50.0226C76.4446 50.9445 74.9622 51.9678 72.3581 51.9678C68.3452 51.9678 65.2028 48.8057 65.2028 44.8878C65.2028 40.9698 68.3452 37.8078 72.3581 37.8078C74.5279 37.8078 76.1066 38.6356 77.2718 39.7087L79.1961 37.8299C77.5664 36.3107 75.3985 35.1436 72.3581 35.1436C66.8552 35.1436 62.2305 39.5151 62.2305 44.8878C62.2305 50.2605 66.8552 54.632 72.3581 54.632C75.3324 54.632 77.5664 53.6806 79.3226 51.8959C81.1223 50.1388 81.6831 47.6682 81.6831 45.6732C81.6831 45.0537 81.6303 44.484 81.5358 44.0083H72.3581ZM140.806 46.0752C140.275 44.6721 138.638 42.0853 135.303 42.0853C131.998 42.0853 129.247 44.6278 129.247 48.3596C129.247 51.8737 131.97 54.632 135.62 54.632C138.572 54.632 140.275 52.8749 140.976 51.8516L138.785 50.4264C138.055 51.47 137.059 52.1614 135.62 52.1614C134.191 52.1614 133.165 51.5216 132.508 50.2605L141.102 46.7887L140.806 46.0752V46.0752ZM132.044 48.1641C131.97 45.7451 133.968 44.5061 135.399 44.5061C136.521 44.5061 137.473 45.0537 137.79 45.8373L132.044 48.1641V48.1641ZM125.058 54.2503H127.883V35.8128H125.058V54.2503ZM120.432 43.4828H120.337C119.703 42.749 118.492 42.0853 116.959 42.0853C113.741 42.0853 110.799 44.8435 110.799 48.3798C110.799 51.8959 113.741 54.632 116.959 54.632C118.492 54.632 119.703 53.9627 120.337 53.2068H120.432V54.1065C120.432 56.5052 119.119 57.794 117.002 57.794C115.276 57.794 114.206 56.5771 113.764 55.5539L111.307 56.555C112.015 58.2181 113.89 60.2646 117.002 60.2646C120.315 60.2646 123.11 58.3619 123.11 53.7322V42.4669H120.432V43.4828V43.4828ZM117.201 52.1614C115.254 52.1614 113.624 50.5702 113.624 48.3798C113.624 46.1692 115.254 44.5559 117.201 44.5559C119.119 44.5559 120.632 46.1692 120.632 48.3798C120.632 50.5702 119.119 52.1614 117.201 52.1614V52.1614ZM154.033 35.8128H147.276V54.2503H150.093V47.2644H154.033C157.162 47.2644 160.23 45.0537 160.23 41.5377C160.23 38.0235 157.154 35.8128 154.033 35.8128V35.8128ZM154.106 44.6997H150.093V38.3775H154.106C156.21 38.3775 157.411 40.083 157.411 41.5377C157.411 42.9647 156.21 44.6997 154.106 44.6997ZM171.523 42.0502C169.487 42.0502 167.37 42.9279 166.5 44.873L169 45.8963C169.538 44.873 170.528 44.5412 171.574 44.5412C173.036 44.5412 174.518 45.3985 174.541 46.9122V47.1058C174.031 46.8182 172.939 46.3923 171.597 46.3923C168.904 46.3923 166.16 47.8396 166.16 50.5407C166.16 53.0113 168.366 54.6025 170.845 54.6025C172.741 54.6025 173.787 53.7673 174.444 52.7956H174.541V54.2208H177.262V47.1482C177.262 43.8792 174.762 42.0502 171.523 42.0502ZM171.183 52.154C170.262 52.154 168.978 51.7078 168.978 50.5923C168.978 49.1653 170.579 48.6177 171.965 48.6177C173.206 48.6177 173.787 48.885 174.541 49.2372C174.32 50.9445 172.815 52.154 171.183 52.154V52.154ZM187.176 42.454L183.938 50.4467H183.841L180.493 42.454H177.455L182.485 53.6235L179.615 59.8387H182.559L190.311 42.454H187.176V42.454ZM161.779 54.2503H164.604V35.8128H161.779V54.2503Z" fill="white"/>
13
+ <path d="M15.9955 21.1197C15.5517 21.5732 15.2949 22.2794 15.2949 23.1939V55.8135C15.2949 56.728 15.5517 57.4342 15.9955 57.8877L16.1051 57.9873L34.8269 39.7157V39.2843L16.1051 21.0127L15.9955 21.1197Z" fill="url(#paint0_linear_1299_1348)"/>
14
+ <path d="M41.0599 45.8096L34.8262 39.716V39.2845L41.0674 33.1909L41.2072 33.2702L48.5985 37.3763C50.7078 38.5415 50.7078 40.459 48.5985 41.6316L41.2072 45.7303L41.0599 45.8096V45.8096Z" fill="url(#paint1_linear_1299_1348)"/>
15
+ <path d="M41.2065 45.7304L34.8255 39.5004L15.9941 57.8881C16.6947 58.6071 17.8372 58.6938 19.1365 57.9747L41.2065 45.7304" fill="url(#paint2_linear_1299_1348)"/>
16
+ <path d="M41.2065 33.27L19.1365 21.0256C17.8372 20.3139 16.6947 20.4006 15.9941 21.1197L34.8255 39.5L41.2065 33.27Z" fill="url(#paint3_linear_1299_1348)"/>
17
+ <rect x="138" width="58.139" height="25.139" rx="12.5695" fill="#00FF88"/>
18
+ <path d="M151.623 9.84809C151.439 9.6091 151.177 9.41147 150.837 9.25521C150.506 9.08976 150.171 9.00703 149.831 9.00703C149.629 9.00703 149.426 9.0346 149.224 9.08976C149.022 9.13572 148.838 9.21385 148.673 9.32415C148.507 9.42526 148.369 9.56314 148.259 9.73779C148.158 9.90324 148.107 10.1055 148.107 10.3445C148.107 10.5651 148.153 10.7535 148.245 10.9098C148.337 11.066 148.461 11.1993 148.617 11.3096C148.783 11.4199 148.981 11.5164 149.21 11.5992C149.44 11.6819 149.693 11.7646 149.969 11.8473C150.281 11.9485 150.603 12.0634 150.934 12.192C151.274 12.3207 151.582 12.4908 151.858 12.7022C152.143 12.9136 152.372 13.1802 152.547 13.5019C152.731 13.8236 152.823 14.2235 152.823 14.7014C152.823 15.2254 152.726 15.685 152.533 16.0802C152.34 16.4663 152.083 16.788 151.761 17.0454C151.439 17.3028 151.063 17.4958 150.63 17.6245C150.198 17.7532 149.743 17.8175 149.265 17.8175C148.631 17.8175 148.011 17.7026 147.404 17.4728C146.797 17.2338 146.301 16.8845 145.915 16.4249L147.156 15.2668C147.395 15.5977 147.712 15.8596 148.107 16.0527C148.512 16.2457 148.907 16.3422 149.293 16.3422C149.495 16.3422 149.702 16.3192 149.914 16.2733C150.125 16.2181 150.313 16.1308 150.479 16.0113C150.653 15.8918 150.791 15.7447 150.892 15.5701C151.003 15.3862 151.058 15.161 151.058 14.8945C151.058 14.6371 150.998 14.4257 150.879 14.2602C150.759 14.0856 150.598 13.9385 150.396 13.819C150.194 13.6903 149.955 13.58 149.679 13.4881C149.403 13.3962 149.114 13.2997 148.81 13.1986C148.516 13.1066 148.222 12.9963 147.928 12.8676C147.634 12.739 147.367 12.5689 147.128 12.3575C146.899 12.1461 146.71 11.8887 146.563 11.5854C146.416 11.2728 146.342 10.8868 146.342 10.4272C146.342 9.93082 146.444 9.50339 146.646 9.14491C146.857 8.78642 147.128 8.49228 147.459 8.26248C147.799 8.02349 148.181 7.84884 148.604 7.73854C149.036 7.61904 149.472 7.55929 149.914 7.55929C150.41 7.55929 150.911 7.64662 151.416 7.82127C151.931 7.99591 152.377 8.25788 152.754 8.60718L151.623 9.84809ZM154.094 12.6608C154.094 11.8795 154.223 11.1763 154.48 10.5513C154.747 9.91703 155.11 9.3793 155.57 8.93809C156.038 8.49687 156.59 8.15677 157.224 7.91778C157.868 7.67879 158.566 7.55929 159.32 7.55929C160.083 7.55929 160.786 7.67879 161.429 7.91778C162.073 8.15677 162.629 8.49687 163.098 8.93809C163.567 9.3793 163.93 9.91703 164.187 10.5513C164.454 11.1763 164.587 11.8795 164.587 12.6608C164.587 13.4238 164.454 14.1224 164.187 14.7566C163.93 15.3817 163.567 15.924 163.098 16.3836C162.629 16.834 162.073 17.1879 161.429 17.4452C160.786 17.6934 160.083 17.8175 159.32 17.8175C158.566 17.8175 157.868 17.6934 157.224 17.4452C156.59 17.1879 156.038 16.834 155.57 16.3836C155.11 15.924 154.747 15.3817 154.48 14.7566C154.223 14.1224 154.094 13.4238 154.094 12.6608ZM155.983 12.6608C155.983 13.1848 156.061 13.6673 156.218 14.1086C156.383 14.5406 156.613 14.9175 156.907 15.2392C157.21 15.5609 157.564 15.8137 157.969 15.9975C158.382 16.1722 158.837 16.2595 159.334 16.2595C159.83 16.2595 160.285 16.1722 160.699 15.9975C161.112 15.8137 161.466 15.5609 161.76 15.2392C162.064 14.9175 162.293 14.5406 162.45 14.1086C162.615 13.6673 162.698 13.1848 162.698 12.6608C162.698 12.1553 162.615 11.6865 162.45 11.2545C162.293 10.8224 162.068 10.4456 161.774 10.1239C161.48 9.80213 161.126 9.54935 160.712 9.36551C160.299 9.18168 159.839 9.08976 159.334 9.08976C158.828 9.08976 158.369 9.18168 157.955 9.36551C157.55 9.54935 157.201 9.80213 156.907 10.1239C156.613 10.4456 156.383 10.8224 156.218 11.2545C156.061 11.6865 155.983 12.1553 155.983 12.6608ZM165.795 12.6608C165.795 11.8795 165.924 11.1763 166.181 10.5513C166.448 9.91703 166.811 9.3793 167.27 8.93809C167.739 8.49687 168.291 8.15677 168.925 7.91778C169.568 7.67879 170.267 7.55929 171.021 7.55929C171.784 7.55929 172.487 7.67879 173.13 7.91778C173.774 8.15677 174.33 8.49687 174.799 8.93809C175.267 9.3793 175.631 9.91703 175.888 10.5513C176.155 11.1763 176.288 11.8795 176.288 12.6608C176.288 13.4238 176.155 14.1224 175.888 14.7566C175.631 15.3817 175.267 15.924 174.799 16.3836C174.33 16.834 173.774 17.1879 173.13 17.4452C172.487 17.6934 171.784 17.8175 171.021 17.8175C170.267 17.8175 169.568 17.6934 168.925 17.4452C168.291 17.1879 167.739 16.834 167.27 16.3836C166.811 15.924 166.448 15.3817 166.181 14.7566C165.924 14.1224 165.795 13.4238 165.795 12.6608ZM167.684 12.6608C167.684 13.1848 167.762 13.6673 167.919 14.1086C168.084 14.5406 168.314 14.9175 168.608 15.2392C168.911 15.5609 169.265 15.8137 169.67 15.9975C170.083 16.1722 170.538 16.2595 171.035 16.2595C171.531 16.2595 171.986 16.1722 172.4 15.9975C172.813 15.8137 173.167 15.5609 173.461 15.2392C173.765 14.9175 173.994 14.5406 174.151 14.1086C174.316 13.6673 174.399 13.1848 174.399 12.6608C174.399 12.1553 174.316 11.6865 174.151 11.2545C173.994 10.8224 173.769 10.4456 173.475 10.1239C173.181 9.80213 172.827 9.54935 172.413 9.36551C172 9.18168 171.54 9.08976 171.035 9.08976C170.529 9.08976 170.069 9.18168 169.656 9.36551C169.251 9.54935 168.902 9.80213 168.608 10.1239C168.314 10.4456 168.084 10.8224 167.919 11.2545C167.762 11.6865 167.684 12.1553 167.684 12.6608ZM177.965 7.80748H180.267L184.804 15.1151H184.831V7.80748H186.569V17.5693H184.362L179.73 10.0273H179.702V17.5693H177.965V7.80748Z" fill="black"/>
19
+ <defs>
20
+ <linearGradient id="paint0_linear_1299_1348" x1="33.1646" y1="56.1532" x2="8.41769" y2="30.8066" gradientUnits="userSpaceOnUse">
21
+ <stop stop-color="#00A0FF"/>
22
+ <stop offset="0.0066" stop-color="#00A1FF"/>
23
+ <stop offset="0.2601" stop-color="#00BEFF"/>
24
+ <stop offset="0.5122" stop-color="#00D2FF"/>
25
+ <stop offset="0.7604" stop-color="#00DFFF"/>
26
+ <stop offset="1" stop-color="#00E3FF"/>
27
+ </linearGradient>
28
+ <linearGradient id="paint1_linear_1299_1348" x1="51.3452" y1="39.4982" x2="14.79" y2="39.4982" gradientUnits="userSpaceOnUse">
29
+ <stop stop-color="#FFE000"/>
30
+ <stop offset="0.4087" stop-color="#FFBD00"/>
31
+ <stop offset="0.7754" stop-color="#FFA500"/>
32
+ <stop offset="1" stop-color="#FF9C00"/>
33
+ </linearGradient>
34
+ <linearGradient id="paint2_linear_1299_1348" x1="37.7367" y1="36.1136" x2="4.17785" y2="1.74157" gradientUnits="userSpaceOnUse">
35
+ <stop stop-color="#FF3A44"/>
36
+ <stop offset="1" stop-color="#C31162"/>
37
+ </linearGradient>
38
+ <linearGradient id="paint3_linear_1299_1348" x1="11.2539" y1="68.7401" x2="26.2394" y2="53.3916" gradientUnits="userSpaceOnUse">
39
+ <stop stop-color="#32A071"/>
40
+ <stop offset="0.0685" stop-color="#2DA771"/>
41
+ <stop offset="0.4762" stop-color="#15CF74"/>
42
+ <stop offset="0.8009" stop-color="#06E775"/>
43
+ <stop offset="1" stop-color="#00F076"/>
44
+ </linearGradient>
45
+ </defs>
46
+ </svg>
47
+
48
+ </template>
@@ -0,0 +1,125 @@
1
+ <template>
2
+ <div id="mobileApp" class="pd-thin">
3
+ <section class="cols-2-1_2 gap-big pd-big pd-t-big pd-b-zero o-hidden bg-black t-white radius-big">
4
+ <div class="z-index-1 w-1/2">
5
+ <img :src="mockupImage" alt="Mobile App Mockup" class="app-mockup">
6
+ </div>
7
+
8
+ <div class="z-index-1 w-1/2">
9
+ <h2 class="mn-t-medium mn-semi">{{ t('title') }}</h2>
10
+ <p class="t-transp mn-big p-big">{{ t('description') }}</p>
11
+
12
+ <div class="mn-big cols-2">
13
+ <div class="feature">
14
+ <h3 class="mn-small">{{ t('features.instantUpdates.title') }}</h3>
15
+ <p class="t-transp p-medium">{{ t('features.instantUpdates.text') }}</p>
16
+ </div>
17
+ <div class="feature">
18
+ <h3 class="mn-small">{{ t('features.locate.title') }}</h3>
19
+ <p class="t-transp p-medium">{{ t('features.locate.text') }}</p>
20
+ </div>
21
+ <div class="feature">
22
+ <h3 class="mn-small">{{ t('features.wallet.title') }}</h3>
23
+ <p class="t-transp p-medium">{{ t('features.wallet.text') }}</p>
24
+ </div>
25
+ <div class="feature">
26
+ <h3 class="mn-small">{{ t('features.customization.title') }}</h3>
27
+ <p class="t-transp p-medium">{{ t('features.customization.text') }}</p>
28
+ </div>
29
+ </div>
30
+
31
+ <div class="store-buttons">
32
+ <LabelAppStore class="h-4r" alt="Download on App Store"/>
33
+ <LabelGooglePlay class="h-4r" alt="Download on Google Play"/>
34
+ </div>
35
+ </div>
36
+
37
+ <div class="w-100 h-100 pos-absolute pos-t-0 pos-r-0 z-index-0 grid" :style="{backgroundImage: `url(${bgImage})`}">
38
+ <div v-if="!backgroundImage" class="grid-lines"></div>
39
+ </div>
40
+ </section>
41
+ </div>
42
+ </template>
43
+
44
+ <script setup>
45
+ import { useI18n } from 'vue-i18n'
46
+ import { withDefaults } from 'vue'
47
+
48
+ import LabelAppStore from '@pf/src/modules/icons/labels/LabelAppStore.vue'
49
+ import LabelGooglePlay from '@pf/src/modules/icons/labels/LabelGooglePlay.vue'
50
+
51
+ const props = defineProps({
52
+ mockupImage: {
53
+ type: String,
54
+ default: "/assets/images/landing/mockup.png"
55
+ },
56
+ bgImage: {
57
+ type: String,
58
+ default: "" // Введите ваше стандартное значение здесь, если необходимо
59
+ },
60
+ textData: {
61
+ type: Object,
62
+ default: () => ({
63
+ messages: {
64
+ en: {
65
+ title: 'Explore the Cannabis World at Your Fingertips',
66
+ description: 'Intuitive, Efficient, and Customized for Your Cannabis Needs',
67
+ features: {
68
+ instantUpdates: {
69
+ title: 'Instant Updates',
70
+ text: 'Receive real-time notifications for new product releases and community updates. Always stay in the loop.'
71
+ },
72
+ locate: {
73
+ title: 'Locate with Ease',
74
+ text: 'Discover nearby dispensaries and cannabis events with our integrated geolocation services.'
75
+ },
76
+ wallet: {
77
+ title: 'Wallet Integration',
78
+ text: 'Quickly and securely manage your transactions with integrated digital wallet functionality. Safety and convenience come together.'
79
+ },
80
+ customization: {
81
+ title: 'Customization by AI',
82
+ text: 'Experience the AI difference with personalized recommendations based on your preferences and trends in the community.'
83
+ }
84
+ }
85
+ }
86
+ }
87
+ })
88
+ }
89
+ })
90
+
91
+ const { t } = useI18n(props.textData)
92
+ </script>
93
+
94
+ <style lang="scss">
95
+ .app-mockup {
96
+ max-width: 100%;
97
+ object-fit: cover;
98
+ }
99
+ .store-buttons img {
100
+ margin-right: 10px;
101
+ }
102
+
103
+ .grid {
104
+ perspective: 450px;
105
+ }
106
+
107
+ .grid-lines {
108
+ width: 100%;
109
+ height: 200%;
110
+ background-image: linear-gradient(to right, rgba(255, 255, 255, 0.1) 1px, transparent 0), linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 1px, transparent 0);
111
+ background-size: 45px 30px;
112
+ background-repeat: repeat;
113
+ transform-origin: 100% 0 0;
114
+ animation: play 15s linear infinite;
115
+ }
116
+
117
+ @keyframes play {
118
+ 0% {
119
+ transform: rotateX(45deg) translateY(-50%);
120
+ }
121
+ 100% {
122
+ transform: rotateX(45deg) translateY(0);
123
+ }
124
+ }
125
+ </style>
@@ -0,0 +1,7 @@
1
+ // Importing Vue components
2
+ import MobileApp from './components/sections/MobileApp.vue';
3
+
4
+ // Exporting components, store modules, and routes
5
+ export {
6
+ MobileApp,
7
+ };
@@ -16,7 +16,9 @@
16
16
  </svg>
17
17
 
18
18
  <div class="mn-l-small">
19
- <p class="h3 mn-r-semi mn-thin">{{organization.profile.name}}</p>
19
+ <p class="h3 mn-r-semi mn-thin">
20
+ <Text :text="organization.profile.name ? organization.profile.name : ''" :maxLen="20" />
21
+ </p>
20
22
 
21
23
  <div v-if="organization.ratingS" class="w-max star-container flex-v-center flex">
22
24
  <span class="mn-r-thin pd-r-thin pd-l-thin pd-micro radius-small t-semi uppercase bg-main p-small">
@@ -1,7 +0,0 @@
1
- "use strict";const r=require("vue");require("./Select.vue_vue_type_style_index_0_scoped_a78dbba1_lang-0ea8fbf8.js");const g=require("./auth-50bd4ebb.js"),c=require("./globals-d7a54bb4.js");/**
2
- * vue-meta v3.0.0-alpha.10
3
- * (c) 2022
4
- * - Pim (@pimlie)
5
- * - All the amazing contributors
6
- * @license MIT
7
- */const v=e=>e!==null&&typeof e=="object";function p(e,t,a){for(const n in t)n in a?v(e[n])?p(e[n],t[n],a[n]):t[n]!==a[n]&&(e[n]=t[n]):e[n]=t[n];for(const n in a)t&&n in t||delete e[n]}function P(e){if(e||(e=r.getCurrentInstance()||void 0),e)return e.appContext.config.globalProperties.$metaManager}function y(e,t){const a=r.getCurrentInstance()||void 0;if(!t&&a&&(t=P(a)),!t)throw new Error("No manager or current instance");r.isProxy(e)&&(r.watch(e,(i,d)=>{p(n.meta,i,d)}),e=e.value);const n=t.addMeta(e,a);return n}r.defineComponent({name:"Metainfo",inheritAttrs:!1,setup:(e,{slots:t})=>()=>{const a=P();if(a)return a.render({slots:t})}});const k={key:0,class:"t-transp mn-r-small"},w=["onClick"],E=["onClick"],b={key:0,class:"mn-t-thin invalid-feedback"},_={__name:"Select",props:{label:String,select:[String,Object],placeholder:{type:String,default:"Please select an item"},options:{type:Array,default:()=>[]},validation:Boolean},emits:["update:select","focus","blur"],setup(e,{emit:t}){const a=e,n=r.ref(a.select),i=r.ref(!1);r.watch(()=>a.select,l=>{n.value=l});const d=r.computed(()=>a.select?a.options.filter(l=>l!==a.select):a.options),m=()=>{i.value=!i.value,t(i.value?"focus":"blur")},h=l=>{n.value=l,m(),t("update:select",n.value)};return(l,j)=>{var f;return r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createElementVNode("div",{class:r.normalizeClass([l.$attrs.class,"flex-nowrap flex"])},[e.label?(r.openBlock(),r.createElementBlock("div",k,[r.createElementVNode("span",null,r.toDisplayString(e.label),1)])):r.createCommentVNode("",!0),r.createElementVNode("li",{onClick:r.withModifiers(m,["stop"]),class:"w-100"},[r.createElementVNode("span",null,r.toDisplayString(((f=n.value)==null?void 0:f.name)||n.value||e.placeholder),1)],8,w),r.createVNode(r.Transition,{mode:"out-in",name:"fade"},{default:r.withCtx(()=>[i.value?(r.openBlock(),r.createElementBlock("ul",{key:0,class:r.normalizeClass([l.$attrs.class,"pos-absolute pos-l-0 z-index-5 w-100 mn-t-big"])},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(d),u=>(r.openBlock(),r.createElementBlock("li",null,[u?(r.openBlock(),r.createElementBlock("span",{key:0,onClick:x=>h(u),class:"w-100"},r.toDisplayString(u.name||u),9,E)):r.createCommentVNode("",!0)]))),256))],2)):r.createCommentVNode("",!0)]),_:1})],2),r.createVNode(r.Transition,{mode:"out-in",name:"fade"},{default:r.withCtx(()=>[e.validation?(r.openBlock(),r.createElementBlock("div",b," * "+r.toDisplayString(e.validation.message),1)):r.createCommentVNode("",!0)]),_:1})],64)}}},B=g._export_sfc(_,[["__scopeId","data-v-a78dbba1"]]),o=g.axios.create({baseURL:process.env.API_URL,withCredentials:!0}),s=r.reactive({all:[],current:{recommendation:!1,category:[],status:"unpublished",information:[],coverImage:"",images:[],files:[],image3d:!1,name:"",sale:0,price:0,localization:[],modifications:[],description:""}}),C={async create(e,t){const a={...t,organization:e};return await o.post("/products/create",a).then(n=>(S(n.data,"current"),Promise.resolve(n.data)),n=>(c.setError(n),Promise.reject(n)))},async read(e={}){e._id&&(e.params={_id:e._id}),e.category&&(e.params=e.params||{},e.params.category=e.category),e.params=e.params||{},e.params.skip=e.skip||0,e.params.limit=e.limit||10,e.organization&&(e.params.organization=e.organization),e.params.sort="createdAt";try{console.log("Request params:"+e.params);const t=await o.get("/products/read",{params:e.params});return e._id?s.current=t.data[0]:s.all=t.data,Promise.resolve(t.data)}catch(t){return c.setError(t),Promise.reject(t)}},async update(e,t){return await o.post("/products/"+e,t).then(a=>Promise.resolve(a.data),a=>(c.setError(a),Promise.reject(a)))},async deleteProduct(e){return await o.delete("/products/"+e).then(t=>Promise.resolve(t.data),t=>(c.setError(t),Promise.reject(t)))},async submitMood(e=null){return console.log(e),o.post("/product/recommended",{mood:e}).then(t=>(s.current=t.data.product,s.current.recommendation=t.data.recommendationText,Promise.resolve(t.data)),t=>(console.log(t),c.setError(t),Promise.reject(t)))},async fetchProducts(){return await o.get("/products").then(e=>(s.all=e.data,s.filtered=e.data.slice(),s.filteredPrice=s.filtered,s.filteredPrice.sort(function(t,a){return t[s.sort.current]>a[s.sort.current]?s.sort.ascending?1:-1:t[s.sort.current]<a[s.sort.current]?s.sort.ascending?-1:1:0}),Promise.resolve(e.data)),e=>(c.setError(e),Promise.reject(e)))},async fetchProductsPopular(){return await o.get("/products/popular").then(e=>(s.popular=e.data,Promise.resolve(e.data)),e=>(c.setError(e),Promise.reject(e)))},async fetchProductsPublished(){return await o.get("/products").then(e=>{let t=e.data.filter(function(a,n){return a.status!=="unpublished"});return s.all=t,s.filtered=t.slice(),s.filteredPrice=s.filtered,s.filteredPrice.sort(function(a,n){return a[s.sort.current]>n[s.sort.current]?s.sort.ascending?1:-1:a[s.sort.current]<n[s.sort.current]?s.sort.ascending?-1:1:0}),Promise.resolve(e.data)},e=>(c.setError(e),Promise.reject(e)))},async fetchProduct(e){return await o.get("/products/"+e).then(t=>(t.localization||(t.localization=[]),s.current=t.data,Promise.resolve(t.data)),t=>(c.setError(t),Promise.reject(t)))},async fetchProductPopular(){return await o.get("/products").then(e=>(s.all=e.data.slice(1,5),Promise.resolve(e.data.slice(1,5))),e=>(c.setError(e),Promise.reject(e)))}};function S(e,t){s[t]=e}r.watch(s,(e,t)=>{});exports.B=y;exports.Select=B;exports.actions=C;exports.state=s;
@@ -1 +0,0 @@
1
- "use strict";const t=require("vue");require("./Select.vue_vue_type_style_index_0_scoped_a78dbba1_lang-0ea8fbf8.js");const f=require("./auth-50bd4ebb.js"),c=require("./globals-d7a54bb4.js"),P={key:0,class:"t-transp mn-r-small"},h=["onClick"],v=["onClick"],y={key:0,class:"mn-t-thin invalid-feedback"},k={__name:"Select",props:{label:String,select:[String,Object],placeholder:{type:String,default:"Please select an item"},options:{type:Array,default:()=>[]},validation:Boolean},emits:["update:select","focus","blur"],setup(e,{emit:r}){const n=e,s=t.ref(n.select),i=t.ref(!1);t.watch(()=>n.select,o=>{s.value=o});const g=t.computed(()=>n.select?n.options.filter(o=>o!==n.select):n.options),d=()=>{i.value=!i.value,r(i.value?"focus":"blur")},p=o=>{s.value=o,d(),r("update:select",s.value)};return(o,b)=>{var m;return t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("div",{class:t.normalizeClass([o.$attrs.class,"flex-nowrap flex"])},[e.label?(t.openBlock(),t.createElementBlock("div",P,[t.createElementVNode("span",null,t.toDisplayString(e.label),1)])):t.createCommentVNode("",!0),t.createElementVNode("li",{onClick:t.withModifiers(d,["stop"]),class:"w-100"},[t.createElementVNode("span",null,t.toDisplayString(((m=s.value)==null?void 0:m.name)||s.value||e.placeholder),1)],8,h),t.createVNode(t.Transition,{mode:"out-in",name:"fade"},{default:t.withCtx(()=>[i.value?(t.openBlock(),t.createElementBlock("ul",{key:0,class:t.normalizeClass([o.$attrs.class,"pos-absolute pos-l-0 z-index-5 w-100 mn-t-big"])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(g),u=>(t.openBlock(),t.createElementBlock("li",null,[u?(t.openBlock(),t.createElementBlock("span",{key:0,onClick:B=>p(u),class:"w-100"},t.toDisplayString(u.name||u),9,v)):t.createCommentVNode("",!0)]))),256))],2)):t.createCommentVNode("",!0)]),_:1})],2),t.createVNode(t.Transition,{mode:"out-in",name:"fade"},{default:t.withCtx(()=>[e.validation?(t.openBlock(),t.createElementBlock("div",y," * "+t.toDisplayString(e.validation.message),1)):t.createCommentVNode("",!0)]),_:1})],64)}}},w=f._export_sfc(k,[["__scopeId","data-v-a78dbba1"]]),l=f.axios.create({baseURL:process.env.API_URL,withCredentials:!0}),a=t.reactive({all:[],current:{recommendation:!1,category:[],status:"unpublished",information:[],coverImage:"",images:[],files:[],image3d:!1,name:"",sale:0,price:0,localization:[],modifications:[],description:""}}),E={async create(e,r){const n={...r,organization:e};return await l.post("/products/create",n).then(s=>(_(s.data,"current"),Promise.resolve(s.data)),s=>(c.setError(s),Promise.reject(s)))},async read(e={}){e._id&&(e.params={_id:e._id}),e.category&&(e.params=e.params||{},e.params.category=e.category),e.params=e.params||{},e.params.skip=e.skip||0,e.params.limit=e.limit||10,e.organization&&(e.params.organization=e.organization),e.params.sort="createdAt";try{console.log("Request params:"+e.params);const r=await l.get("/products/read",{params:e.params});return e._id?a.current=r.data[0]:a.all=r.data,Promise.resolve(r.data)}catch(r){return c.setError(r),Promise.reject(r)}},async update(e,r){return await l.post("/products/"+e,r).then(n=>Promise.resolve(n.data),n=>(c.setError(n),Promise.reject(n)))},async deleteProduct(e){return await l.delete("/products/"+e).then(r=>Promise.resolve(r.data),r=>(c.setError(r),Promise.reject(r)))},async submitMood(e=null){return console.log(e),l.post("/product/recommended",{mood:e}).then(r=>(a.current=r.data.product,a.current.recommendation=r.data.recommendationText,Promise.resolve(r.data)),r=>(console.log(r),c.setError(r),Promise.reject(r)))},async fetchProducts(){return await l.get("/products").then(e=>(a.all=e.data,a.filtered=e.data.slice(),a.filteredPrice=a.filtered,a.filteredPrice.sort(function(r,n){return r[a.sort.current]>n[a.sort.current]?a.sort.ascending?1:-1:r[a.sort.current]<n[a.sort.current]?a.sort.ascending?-1:1:0}),Promise.resolve(e.data)),e=>(c.setError(e),Promise.reject(e)))},async fetchProductsPopular(){return await l.get("/products/popular").then(e=>(a.popular=e.data,Promise.resolve(e.data)),e=>(c.setError(e),Promise.reject(e)))},async fetchProductsPublished(){return await l.get("/products").then(e=>{let r=e.data.filter(function(n,s){return n.status!=="unpublished"});return a.all=r,a.filtered=r.slice(),a.filteredPrice=a.filtered,a.filteredPrice.sort(function(n,s){return n[a.sort.current]>s[a.sort.current]?a.sort.ascending?1:-1:n[a.sort.current]<s[a.sort.current]?a.sort.ascending?-1:1:0}),Promise.resolve(e.data)},e=>(c.setError(e),Promise.reject(e)))},async fetchProduct(e){return await l.get("/products/"+e).then(r=>(r.localization||(r.localization=[]),a.current=r.data,Promise.resolve(r.data)),r=>(c.setError(r),Promise.reject(r)))},async fetchProductPopular(){return await l.get("/products").then(e=>(a.all=e.data.slice(1,5),Promise.resolve(e.data.slice(1,5))),e=>(c.setError(e),Promise.reject(e)))}};function _(e,r){a[r]=e}t.watch(a,(e,r)=>{});exports.Select=w;exports.actions=E;exports.state=a;
@@ -1 +0,0 @@
1
- "use strict";const t=require("vue"),f=require("./auth-5aa8e90c.js");var V=function e(i,s){if(i===s)return!0;if(i&&s&&typeof i=="object"&&typeof s=="object"){if(i.constructor!==s.constructor)return!1;var n,a,o;if(Array.isArray(i)){if(n=i.length,n!=s.length)return!1;for(a=n;a--!==0;)if(!e(i[a],s[a]))return!1;return!0}if(i.constructor===RegExp)return i.source===s.source&&i.flags===s.flags;if(i.valueOf!==Object.prototype.valueOf)return i.valueOf()===s.valueOf();if(i.toString!==Object.prototype.toString)return i.toString()===s.toString();if(o=Object.keys(i),n=o.length,n!==Object.keys(s).length)return!1;for(a=n;a--!==0;)if(!Object.prototype.hasOwnProperty.call(s,o[a]))return!1;for(a=n;a--!==0;){var l=o[a];if(!e(i[l],s[l]))return!1}return!0}return i!==i&&s!==s};const $=f.getDefaultExportFromCjs(V),O=(e,i)=>i.filter(s=>{const{text:n}=e;if(typeof s.rule=="string")return!new RegExp(s.rule).test(n);if(s.rule instanceof RegExp)return!s.rule.test(n);if({}.toString.call(s.rule)==="[object Function]")return s.rule(e)}).map(s=>s.classes),c=e=>JSON.parse(JSON.stringify(e)),B=(e,i)=>{let s=0;for(;s<e.length;){if(i(e[s],s,e))return s;s++}return-1},k=(e,i,s=[],n)=>{e.text===void 0&&(e={text:e});const a=O(e,s),o=B(i,d=>d===e),l=c(i),r=o!==-1?l.splice(o,1)[0]:c(e);return(n?n(l,r):l.map(d=>d.text).indexOf(r.text)!==-1)&&a.push("ti-duplicate"),a.length===0?a.push("ti-valid"):a.push("ti-invalid"),a},m=(e,...i)=>{e.text===void 0&&(e={text:e});const s=c(e);return s.tiClasses=k(e,...i),s},C=(e,...i)=>e.map(s=>m(s,e,...i));const D={name:"TagInput",props:{scope:{type:Object}}},L=["maxlength"];function A(e,i,s,n,a,o){return s.scope.edit?t.withDirectives((t.openBlock(),t.createElementBlock("input",{key:0,"onUpdate:modelValue":i[0]||(i[0]=l=>s.scope.tag.text=l),maxlength:s.scope.maxlength,type:"text",class:"ti-tag-input",size:"1",onInput:i[1]||(i[1]=l=>s.scope.validateTag(s.scope.index,l)),onBlur:i[2]||(i[2]=l=>s.scope.performCancelEdit(s.scope.index)),onKeydown:i[3]||(i[3]=l=>s.scope.performSaveEdit(s.scope.index,l))},null,40,L)),[[t.vModelText,s.scope.tag.text]]):t.createCommentVNode("",!0)}const N=f._export_sfc(D,[["render",A],["__scopeId","data-v-a1f1c345"]]),b=e=>!e.some(i=>{const s=!i.text;s&&console.warn('Missing property "text"',i);let n=!1;return i.classes&&(n=typeof i.classes!="string"),n&&console.warn('Property "classes" must be type of string',i),s||n}),w=e=>!e.some(i=>{if(typeof i=="number"){const s=isFinite(i)&&Math.floor(i)===i;return s||console.warn("Only numerics are allowed for this prop. Found:",i),!s}else if(typeof i=="string"){const s=/\W|[a-z]|!\d/i.test(i);return s||console.warn("Only alpha strings are allowed for this prop. Found:",i),!s}else return console.warn("Only numeric and string values are allowed. Found:",i),!1}),M={modelValue:{type:String,default:"",required:!0},tags:{type:Array,default:()=>[],validator:b},autocompleteItems:{type:Array,default:()=>[],validator:b},allowEditTags:{type:Boolean,default:!1},autocompleteFilterDuplicates:{default:!0,type:Boolean},addOnlyFromAutocomplete:{type:Boolean,default:!1},autocompleteMinLength:{type:Number,default:1},autocompleteAlwaysOpen:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placeholder:{type:String,default:"Add Tag"},addOnKey:{type:Array,default:()=>[13],validator:w},saveOnKey:{type:Array,default:()=>[13],validator:w},maxTags:{type:Number},maxlength:{type:Number},validation:{type:Array,default:()=>[],validator(e){return!e.some(i=>{const s=!i.rule;s&&console.warn('Property "rule" is missing',i);const n=i.rule&&(typeof i.rule=="string"||i.rule instanceof RegExp||{}.toString.call(i.rule)==="[object Function]");n||console.warn("A rule must be type of string, RegExp or function. Found:",JSON.stringify(i.rule));const a=!i.classes;a&&console.warn('Property "classes" is missing',i);const o=i.type&&typeof i.type!="string";return o&&console.warn('Property "type" must be type of string. Found:',i),!n||s||a||o})}},separators:{type:Array,default:()=>[";"],validator(e){return!e.some(i=>{const s=typeof i!="string";return s&&console.warn("Separators must be type of string. Found:",i),s})}},avoidAddingDuplicates:{type:Boolean,default:!0},addOnBlur:{type:Boolean,default:!0},isDuplicate:{type:Function,default:null},addFromPaste:{type:Boolean,default:!0},deleteOnBackspace:{default:!0,type:Boolean},onBeforeAddingTag:Function,onBeforeDeletingTag:Function,onBeforeEditingTag:Function,onBeforeSavingTag:Function},F={name:"VueTagsInput",components:{TagInput:N},props:M,emits:["adding-duplicate","before-adding-tag","before-deleting-tag","before-editing-tag","before-saving-tag","max-tags-reached","saving-duplicate","tags-changed","tag-clicked","update:modelValue","update:tags"],inheritAttrs:!1,data(){return{tagCenter:[],newTag:null,tagsCopy:[],tagsEditStatus:null,deletionMark:null,deletionMarkTime:null,selectedItem:null,focused:null}},computed:{autocompleteOpen(){return this.autocompleteAlwaysOpen?!0:this.newTag!==null&&this.newTag.length>=this.autocompleteMinLength&&this.filteredAutocompleteItems.length>0&&this.focused},filteredAutocompleteItems(){const e=this.autocompleteItems.map(i=>m(i,this.tags,this.validation,this.isDuplicate));return this.autocompleteFilterDuplicates?e.filter(this.duplicateFilter):e}},methods:{createClasses:k,getSelectedIndex(e){const i=this.filteredAutocompleteItems,s=this.selectedItem,n=i.length-1;if(i.length!==0)return s===null?0:e==="before"&&s===0?n:e==="after"&&s===n?0:e==="after"?s+1:s-1},selectDefaultItem(){this.addOnlyFromAutocomplete&&this.filteredAutocompleteItems.length>0?this.selectedItem=0:this.selectedItem=null},selectItem(e,i){e.preventDefault(),this.selectedItem=this.getSelectedIndex(i)},isSelected(e){return this.selectedItem===e},isMarked(e){return this.deletionMark===e},setTagCenter(e){e&&this.tagCenter.push(e)},invokeDelete(){if(!this.deleteOnBackspace||this.newTag.length>0)return;const e=this.tagsCopy.length-1;this.deletionMark===null?(this.deletionMarkTime=setTimeout(()=>this.deletionMark=null,1e3),this.deletionMark=e):this.performDeleteTag(e)},addTagsFromPaste(){this.addFromPaste&&setTimeout(()=>this.performAddTags(this.newTag),10)},performEditTag(e){this.allowEditTags&&(this.onBeforeAddingTag||this.editTag(e),this.$emit("before-editing-tag",{index:e,tag:this.tagsCopy[e],editTag:()=>this.editTag(e)}))},editTag(e){this.allowEditTags&&(this.toggleEditMode(e),this.focus(e))},toggleEditMode(e){!this.allowEditTags||this.disabled||(this.tagsEditStatus[e]=!this.tagsEditStatus[e])},createChangedTag(e,i){const s=this.tagsCopy[e];s.text=i?i.target.value:this.tagsCopy[e].text,this.tagsCopy[e]=m(s,this.tagsCopy,this.validation,this.isDuplicate)},focus(e){this.$nextTick(()=>{const i=this.tagCenter[e].querySelector("input.ti-tag-input");i&&i.focus()})},quote(e){return e.replace(/([()[{*+.$^\\|?])/g,"\\$1")},cancelEdit(e){this.tags[e]&&(this.tagsCopy[e]=c(m(this.tags[e],this.tags,this.validation,this.isDuplicate)),this.tagsEditStatus[e]=!1)},hasForbiddingAddRule(e){return e.some(i=>{const s=this.validation.find(n=>i===n.classes);return s?s.disableAdd:!1})},createTagTexts(e){const i=new RegExp(this.separators.map(s=>this.quote(s)).join("|"));return e.split(i).map(s=>({text:s}))},performDeleteTag(e){this.onBeforeDeletingTag||this.deleteTag(e),this.$emit("before-deleting-tag",{index:e,tag:this.tagsCopy[e],deleteTag:()=>this.deleteTag(e)})},deleteTag(e){this.disabled||(this.deletionMark=null,clearTimeout(this.deletionMarkTime),this.tagsCopy.splice(e,1),this.$emit("update:tags",this.tagsCopy),this.$emit("tags-changed",this.tagsCopy))},noTriggerKey(e,i){const s=this[i].indexOf(e.keyCode)!==-1||this[i].indexOf(e.key)!==-1;return s&&e.preventDefault(),!s},performAddTags(e,i,s){if(this.disabled||i&&this.noTriggerKey(i,"addOnKey"))return;let n=[];typeof e=="object"&&(n=[e]),typeof e=="string"&&(n=this.createTagTexts(e)),n=n.filter(a=>a.text.trim().length>0),n.forEach(a=>{a=m(a,this.tags,this.validation,this.isDuplicate),this.onBeforeAddingTag||this.addTag(a,s),this.$emit("before-adding-tag",{tag:a,addTag:()=>this.addTag(a,s)})})},duplicateFilter(e){return this.isDuplicate?!this.isDuplicate(this.tagsCopy,e):!this.tagsCopy.find(i=>i.text===e.text)},addTag(e,i="new-tag-input"){const s=this.filteredAutocompleteItems.map(n=>n.text);this.addOnlyFromAutocomplete&&s.indexOf(e.text)===-1||this.$nextTick(()=>{if(this.maxTags&&this.maxTags<=this.tagsCopy.length)return this.$emit("max-tags-reached",e);if(this.avoidAddingDuplicates&&!this.duplicateFilter(e))return this.$emit("adding-duplicate",e);this.hasForbiddingAddRule(e.tiClasses)||(this.newTag="",this.tagsCopy.push(e),this.$emit("update:tags",this.tagsCopy),i==="autocomplete"&&this.$refs.newTagInput.focus(),this.$emit("tags-changed",this.tagsCopy))})},performSaveTag(e,i){const s=this.tagsCopy[e];this.disabled||i&&this.noTriggerKey(i,"addOnKey")||s.text.trim().length!==0&&(this["on-before-saving-tag"]||this.saveTag(e,s),this.$emit("before-saving-tag",{index:e,tag:s,saveTag:()=>this.saveTag(e,s)}))},saveTag(e,i){if(this.avoidAddingDuplicates){const s=c(this.tagsCopy),n=s.splice(e,1)[0];if(this.isDuplicate?this.isDuplicate(s,n):s.map(o=>o.text).indexOf(n.text)!==-1)return this.$emit("saving-duplicate",i)}this.hasForbiddingAddRule(i.tiClasses)||(this.tagsCopy[e]=i,this.toggleEditMode(e),this.$emit("update:tags",this.tagsCopy),this.$emit("tags-changed",this.tagsCopy))},tagsEqual(){return!this.tagsCopy.some((e,i)=>!$(e,this.tags[i]))},updateNewTag(e){const i=e.target.value;this.newTag=i,this.$emit("update:modelValue",i)},initTags(){this.tagsCopy=C(this.tags,this.validation,this.isDuplicate),this.tagsEditStatus=c(this.tags).map(()=>!1),this.tagsEqual()||this.$emit("update:tags",this.tagsCopy)},blurredOnClick(e){this.$el.contains(e.target)||this.$el.contains(document.activeElement)||this.performBlur(e)},performBlur(){this.addOnBlur&&this.focused&&this.performAddTags(this.newTag),this.focused=!1}},watch:{modelValue(e){this.addOnlyFromAutocomplete||(this.selectedItem=null),this.newTag=e},tags:{handler(){this.initTags()},deep:!0},autocompleteOpen:"selectDefaultItem"},created(){this.newTag=this.modelValue,this.initTags()},mounted(){this.selectDefaultItem(),document.addEventListener("click",this.blurredOnClick)},beforeUpdate(){this.tagCenter=[]},unmounted(){document.removeEventListener("click",this.blurredOnClick)}};const I={class:"ti-input"},K={key:0,class:"ti-tags"},P=["onClick"],z={class:"ti-content"},R={key:0,class:"ti-tag-left"},H=["onClick"],G={key:1,class:"ti-tag-right"},j={class:"ti-actions"},q=["onClick"],U=["onClick"],J={class:"ti-new-tag-input-wrapper"},W=["placeholder","value","maxlength","disabled"],Y=["onMouseover"],Q=["onClick"];function X(e,i,s,n,a,o){const l=t.resolveComponent("tag-input");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["vue-tags-input",[{"ti-disabled":e.disabled},{"ti-focus":e.focused},e.$attrs.class]]),style:t.normalizeStyle(e.$attrs.style)},[t.createElementVNode("div",I,[e.tagsCopy?(t.openBlock(),t.createElementBlock("ul",K,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.tagsCopy,(r,u)=>(t.openBlock(),t.createElementBlock("li",{key:u,style:t.normalizeStyle(r.style),class:t.normalizeClass([[{"ti-editing":e.tagsEditStatus[u]},r.tiClasses,r.classes,{"ti-deletion-mark":e.isMarked(u)}],"ti-tag"]),tabindex:"0",onClick:d=>e.$emit("tag-clicked",{tag:r,index:u})},[t.createElementVNode("div",z,[e.$slots["tag-left"]?(t.openBlock(),t.createElementBlock("div",R,[t.renderSlot(e.$slots,"tag-left",{tag:r,index:u,edit:e.tagsEditStatus[u],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(u)},void 0,!0)])):t.createCommentVNode("",!0),t.createElementVNode("div",{ref_for:!0,ref:e.setTagCenter,class:"ti-tag-center"},[e.$slots["tag-center"]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass({"ti-hidden":e.tagsEditStatus[u]}),onClick:d=>e.performEditTag(u)},t.toDisplayString(r.text),11,H)),e.$slots["tag-center"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(l,{key:1,scope:{edit:e.tagsEditStatus[u],maxlength:e.maxlength,tag:r,index:u,validateTag:e.createChangedTag,performCancelEdit:e.cancelEdit,performSaveEdit:e.performSaveTag}},null,8,["scope"])),t.renderSlot(e.$slots,"tag-center",{tag:r,index:u,maxlength:e.maxlength,edit:e.tagsEditStatus[u],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,validateTag:e.createChangedTag,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(u)},void 0,!0)],512),e.$slots["tag-right"]?(t.openBlock(),t.createElementBlock("div",G,[t.renderSlot(e.$slots,"tag-right",{tag:r,index:u,edit:e.tagsEditStatus[u],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(u)},void 0,!0)])):t.createCommentVNode("",!0)]),t.createElementVNode("div",j,[e.$slots["tag-actions"]?t.createCommentVNode("",!0):t.withDirectives((t.openBlock(),t.createElementBlock("i",{key:0,class:"ti-icon-undo",onClick:d=>e.cancelEdit(u)},null,8,q)),[[t.vShow,e.tagsEditStatus[u]]]),e.$slots["tag-actions"]?t.createCommentVNode("",!0):t.withDirectives((t.openBlock(),t.createElementBlock("i",{key:1,class:"ti-icon-close",onClick:d=>e.performDeleteTag(u)},null,8,U)),[[t.vShow,!e.tagsEditStatus[u]]]),e.$slots["tag-actions"]?t.renderSlot(e.$slots,"tag-actions",{key:2,tag:r,index:u,edit:e.tagsEditStatus[u],performSaveEdit:e.performSaveTag,performDelete:e.performDeleteTag,performCancelEdit:e.cancelEdit,performOpenEdit:e.performEditTag,deletionMark:e.isMarked(u)},void 0,!0):t.createCommentVNode("",!0)])],14,P))),128)),t.createElementVNode("li",J,[t.createElementVNode("input",t.mergeProps({ref:"newTagInput"},e.$attrs,{class:[[e.createClasses(e.newTag,e.tags,e.validation,e.isDuplicate)],"ti-new-tag-input"],placeholder:e.placeholder,value:e.newTag,maxlength:e.maxlength,disabled:e.disabled,type:"text",size:"1",onKeydown:[i[0]||(i[0]=r=>e.performAddTags(e.filteredAutocompleteItems[e.selectedItem]||e.newTag,r)),i[2]||(i[2]=t.withKeys((...r)=>e.invokeDelete&&e.invokeDelete(...r),["delete"])),i[3]||(i[3]=t.withKeys((...r)=>e.performBlur&&e.performBlur(...r),["tab"])),i[4]||(i[4]=t.withKeys(r=>e.selectItem(r,"before"),["up"])),i[5]||(i[5]=t.withKeys(r=>e.selectItem(r,"after"),["down"]))],onPaste:i[1]||(i[1]=(...r)=>e.addTagsFromPaste&&e.addTagsFromPaste(...r)),onInput:i[6]||(i[6]=(...r)=>e.updateNewTag&&e.updateNewTag(...r)),onFocus:i[7]||(i[7]=r=>e.focused=!0),onClick:i[8]||(i[8]=r=>e.addOnlyFromAutocomplete?!1:e.selectedItem=null)}),null,16,W)])])):t.createCommentVNode("",!0)]),t.renderSlot(e.$slots,"between-elements",{},void 0,!0),e.autocompleteOpen?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["ti-autocomplete",e.$attrs.class]),onMouseout:i[9]||(i[9]=r=>e.selectedItem=null)},[t.renderSlot(e.$slots,"autocomplete-header",{},void 0,!0),t.createElementVNode("ul",null,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.filteredAutocompleteItems,(r,u)=>(t.openBlock(),t.createElementBlock("li",{key:u,style:t.normalizeStyle(r.style),class:t.normalizeClass([[r.tiClasses,r.classes,{"ti-selected-item":e.isSelected(u)}],"ti-item"]),onMouseover:d=>e.disabled?!1:e.selectedItem=u},[e.$slots["autocomplete-item"]?t.renderSlot(e.$slots,"autocomplete-item",{key:1,item:r,index:u,performAdd:d=>e.performAddTags(d,void 0,"autocomplete"),selected:e.isSelected(u)},void 0,!0):(t.openBlock(),t.createElementBlock("div",{key:0,onClick:d=>e.performAddTags(r,void 0,"autocomplete")},t.toDisplayString(r.text),9,Q))],46,Y))),128))]),t.renderSlot(e.$slots,"autocomplete-footer",{},void 0,!0)],34)):t.createCommentVNode("",!0)],6)}const Z=f._export_sfc(F,[["render",X],["__scopeId","data-v-d14eec25"]]);const x=t.createElementVNode("h5",{class:"mn-thin"},"Tags (maximum 20):",-1),_={class:"mn-medium"},ee=t.createElementVNode("p",{class:"p-small mn-thin"},"Suggested:",-1),te=["onClick"],ie={key:1},se={__name:"BlockTags",props:["tags"],emits:["tags-changed"],setup(e,{emit:i}){const s=e,n=t.ref(""),a=t.ref([]),o=t.ref([{text:"story"},{text:"news"},{text:"guide"},{text:"discussion"},{text:"photos"}]);s.tags&&(a.value=s.tags.map(h=>({text:h})));const l=t.computed(()=>o.value.filter(h=>h.text.toLowerCase().includes(n.value.toLowerCase()))),r=t.computed(()=>o.value.filter(h=>!a.value.some(p=>p.text===h.text)));function u(h){a.value.push(h),i("tags-changed",a.value.map(p=>p.text))}function d(h){a.value=h,i("tags-changed",a.value.map(p=>p.text))}return(h,p)=>(t.openBlock(),t.createElementBlock("div",null,[x,t.createVNode(Z,{modelValue:n.value,"onUpdate:modelValue":p[0]||(p[0]=g=>n.value=g),tags:a.value,"autocomplete-items":t.unref(l),"add-on-key":[13,":",";",","],"save-on-key":[13,":",";",","],separators:[";",","],"max-tags":20,maxlength:20,placeholder:"Please add tags","add-from-paste":!0,"allow-edit-tags":!0,onTagsChanged:d,class:"mn-thin bg-grey radius-medium pd-small"},null,8,["modelValue","tags","autocomplete-items"]),t.createElementVNode("p",_,[ee,t.unref(r).length>0?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(t.unref(r),(g,E)=>(t.openBlock(),t.createElementBlock("span",{onClick:Me=>u(g),class:t.normalizeClass(["cursor-pointer ti-tag-toDefactor",{"mn-r-micro":E!==t.unref(r).length-1}])},t.toDisplayString(g.text),11,te))),256)):(t.openBlock(),t.createElementBlock("span",ie,"You added all suggested tags"))])]))}};const le={class:"flex-v-center flex-nowrap flex"},ne={key:0,class:"mn-r-auto t-transp mn-r-small"},ae=["name","value","checked"],re={__name:"Checkbox",props:{label:String,name:String,value:String,radio:{type:[Array,Boolean,Object],default:()=>[]}},emits:["update:radio"],setup(e,{emit:i}){const s=e,n=a=>{if(Array.isArray(s.radio)){let o=[...s.radio];if(a.target.checked)o.push(s.value);else{const l=o.indexOf(s.value);l!==-1&&o.splice(l,1)}i("update:radio",o)}else typeof s.radio=="boolean"&&i("update:radio",a.target.checked)};return(a,o)=>(t.openBlock(),t.createElementBlock("label",le,[e.label?(t.openBlock(),t.createElementBlock("div",ne,[t.createElementVNode("span",null,t.toDisplayString(e.label),1)])):t.createCommentVNode("",!0),t.createElementVNode("input",{onChange:n,class:"round radiobutton",type:"checkbox",name:e.name,value:e.value,checked:Array.isArray(e.radio)?e.radio.includes(e.value):e.radio},null,40,ae),t.createElementVNode("div",{class:t.normalizeClass(["transition-elastic pd-thin h-2r w-4r radius-extra",{"bg-grey":!(Array.isArray(e.radio)?e.radio.includes(e.value):e.radio),"bg-main":Array.isArray(e.radio)?e.radio.includes(e.value):e.radio}])},[t.createElementVNode("div",{class:t.normalizeClass(["transition-linear w-1r h-1r radius-extra h-100 bg-white",{"mn-r-auto":!(Array.isArray(e.radio)?e.radio.includes(e.value):e.radio),"mn-l-auto":Array.isArray(e.radio)?e.radio.includes(e.value):e.radio}])},null,2)],2)]))}},oe=f._export_sfc(re,[["__scopeId","data-v-f641f618"]]);function y(e){return e===0?!1:Array.isArray(e)&&e.length===0?!0:!e}function ue(e){return(...i)=>!e(...i)}function de(e,i){return e===void 0&&(e="undefined"),e===null&&(e="null"),e===!1&&(e="false"),e.toString().toLowerCase().indexOf(i.trim())!==-1}function T(e,i,s,n){return i?e.filter(a=>de(n(a,s),i)).sort((a,o)=>n(a,s).length-n(o,s).length):e}function he(e){return e.filter(i=>!i.$isLabel)}function v(e,i){return s=>s.reduce((n,a)=>a[e]&&a[e].length?(n.push({$groupLabel:a[i],$isLabel:!0}),n.concat(a[e])):n,[])}function pe(e,i,s,n,a){return o=>o.map(l=>{if(!l[s])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];const r=T(l[s],e,i,a);return r.length?{[n]:l[n],[s]:r}:[]})}const S=(...e)=>i=>e.reduce((s,n)=>n(s),i),ce={data(){return{search:"",isOpen:!1,preferredOpenDirection:"below",optimizedHeight:this.maxHeight}},props:{internalSearch:{type:Boolean,default:!0},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},trackBy:{type:String},label:{type:String},searchable:{type:Boolean,default:!0},clearOnSelect:{type:Boolean,default:!0},hideSelected:{type:Boolean,default:!1},placeholder:{type:String,default:"Select option"},allowEmpty:{type:Boolean,default:!0},resetAfter:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},customLabel:{type:Function,default(e,i){return y(e)?"":i?e[i]:e}},taggable:{type:Boolean,default:!1},tagPlaceholder:{type:String,default:"Press enter to create a tag"},tagPosition:{type:String,default:"top"},max:{type:[Number,Boolean],default:!1},id:{default:null},optionsLimit:{type:Number,default:1e3},groupValues:{type:String},groupLabel:{type:String},groupSelect:{type:Boolean,default:!1},blockKeys:{type:Array,default(){return[]}},preserveSearch:{type:Boolean,default:!1},preselectFirst:{type:Boolean,default:!1},preventAutofocus:{type:Boolean,default:!1}},mounted(){!this.multiple&&this.max&&console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."),this.preselectFirst&&!this.internalValue.length&&this.options.length&&this.select(this.filteredOptions[0])},computed:{internalValue(){return this.modelValue||this.modelValue===0?Array.isArray(this.modelValue)?this.modelValue:[this.modelValue]:[]},filteredOptions(){const e=this.search||"",i=e.toLowerCase().trim();let s=this.options.concat();return this.internalSearch?s=this.groupValues?this.filterAndFlat(s,i,this.label):T(s,i,this.label,this.customLabel):s=this.groupValues?v(this.groupValues,this.groupLabel)(s):s,s=this.hideSelected?s.filter(ue(this.isSelected)):s,this.taggable&&i.length&&!this.isExistingOption(i)&&(this.tagPosition==="bottom"?s.push({isTag:!0,label:e}):s.unshift({isTag:!0,label:e})),s.slice(0,this.optionsLimit)},valueKeys(){return this.trackBy?this.internalValue.map(e=>e[this.trackBy]):this.internalValue},optionKeys(){return(this.groupValues?this.flatAndStrip(this.options):this.options).map(i=>this.customLabel(i,this.label).toString().toLowerCase())},currentOptionLabel(){return this.multiple?this.searchable?"":this.placeholder:this.internalValue.length?this.getOptionLabel(this.internalValue[0]):this.searchable?"":this.placeholder}},watch:{internalValue:{handler(){this.resetAfter&&this.internalValue.length&&(this.search="",this.$emit("update:modelValue",this.multiple?[]:null))},deep:!0},search(){this.$emit("search-change",this.search)}},emits:["open","search-change","close","select","update:modelValue","remove","tag"],methods:{getValue(){return this.multiple?this.internalValue:this.internalValue.length===0?null:this.internalValue[0]},filterAndFlat(e,i,s){return S(pe(i,s,this.groupValues,this.groupLabel,this.customLabel),v(this.groupValues,this.groupLabel))(e)},flatAndStrip(e){return S(v(this.groupValues,this.groupLabel),he)(e)},updateSearch(e){this.search=e},isExistingOption(e){return this.options?this.optionKeys.indexOf(e)>-1:!1},isSelected(e){const i=this.trackBy?e[this.trackBy]:e;return this.valueKeys.indexOf(i)>-1},isOptionDisabled(e){return!!e.$isDisabled},getOptionLabel(e){if(y(e))return"";if(e.isTag)return e.label;if(e.$isLabel)return e.$groupLabel;const i=this.customLabel(e,this.label);return y(i)?"":i},select(e,i){if(e.$isLabel&&this.groupSelect){this.selectGroup(e);return}if(!(this.blockKeys.indexOf(i)!==-1||this.disabled||e.$isDisabled||e.$isLabel)&&!(this.max&&this.multiple&&this.internalValue.length===this.max)&&!(i==="Tab"&&!this.pointerDirty)){if(e.isTag)this.$emit("tag",e.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(e)){i!=="Tab"&&this.removeElement(e);return}this.multiple?this.$emit("update:modelValue",this.internalValue.concat([e])):this.$emit("update:modelValue",e),this.$emit("select",e,this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},selectGroup(e){const i=this.options.find(s=>s[this.groupLabel]===e.$groupLabel);if(i){if(this.wholeGroupSelected(i)){this.$emit("remove",i[this.groupValues],this.id);const s=this.internalValue.filter(n=>i[this.groupValues].indexOf(n)===-1);this.$emit("update:modelValue",s)}else{let s=i[this.groupValues].filter(n=>!(this.isOptionDisabled(n)||this.isSelected(n)));this.max&&s.splice(this.max-this.internalValue.length),this.$emit("select",s,this.id),this.$emit("update:modelValue",this.internalValue.concat(s))}this.closeOnSelect&&this.deactivate()}},wholeGroupSelected(e){return e[this.groupValues].every(i=>this.isSelected(i)||this.isOptionDisabled(i))},wholeGroupDisabled(e){return e[this.groupValues].every(this.isOptionDisabled)},removeElement(e,i=!0){if(this.disabled||e.$isDisabled)return;if(!this.allowEmpty&&this.internalValue.length<=1){this.deactivate();return}const s=typeof e=="object"?this.valueKeys.indexOf(e[this.trackBy]):this.valueKeys.indexOf(e);if(this.multiple){const n=this.internalValue.slice(0,s).concat(this.internalValue.slice(s+1));this.$emit("update:modelValue",n)}else this.$emit("update:modelValue",null);this.$emit("remove",e,this.id),this.closeOnSelect&&i&&this.deactivate()},removeLastElement(){this.blockKeys.indexOf("Delete")===-1&&this.search.length===0&&Array.isArray(this.internalValue)&&this.internalValue.length&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate(){this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&this.pointer===0&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.preventAutofocus||this.$nextTick(()=>this.$refs.search&&this.$refs.search.focus())):this.preventAutofocus||typeof this.$el<"u"&&this.$el.focus(),this.$emit("open",this.id))},deactivate(){this.isOpen&&(this.isOpen=!1,this.searchable?typeof this.$refs.search<"u"&&this.$refs.search.blur():typeof this.$el<"u"&&this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle(){this.isOpen?this.deactivate():this.activate()},adjustPosition(){if(typeof window>"u")return;const e=this.$el.getBoundingClientRect().top,i=window.innerHeight-this.$el.getBoundingClientRect().bottom;i>this.maxHeight||i>e||this.openDirection==="below"||this.openDirection==="bottom"?(this.preferredOpenDirection="below",this.optimizedHeight=Math.min(i-40,this.maxHeight)):(this.preferredOpenDirection="above",this.optimizedHeight=Math.min(e-40,this.maxHeight))}}},me={data(){return{pointer:0,pointerDirty:!1}},props:{showPointer:{type:Boolean,default:!0},optionHeight:{type:Number,default:40}},computed:{pointerPosition(){return this.pointer*this.optionHeight},visibleElements(){return this.optimizedHeight/this.optionHeight}},watch:{filteredOptions(){this.pointerAdjust()},isOpen(){this.pointerDirty=!1},pointer(){this.$refs.search&&this.$refs.search.setAttribute("aria-activedescendant",this.id+"-"+this.pointer.toString())}},methods:{optionHighlight(e,i){return{"multiselect__option--highlight":e===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(i)}},groupHighlight(e,i){if(!this.groupSelect)return["multiselect__option--disabled",{"multiselect__option--group":i.$isLabel}];const s=this.options.find(n=>n[this.groupLabel]===i.$groupLabel);return s&&!this.wholeGroupDisabled(s)?["multiselect__option--group",{"multiselect__option--highlight":e===this.pointer&&this.showPointer},{"multiselect__option--group-selected":this.wholeGroupSelected(s)}]:"multiselect__option--disabled"},addPointerElement({key:e}="Enter"){this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],e),this.pointerReset()},pointerForward(){this.pointer<this.filteredOptions.length-1&&(this.pointer++,this.$refs.list.scrollTop<=this.pointerPosition-(this.visibleElements-1)*this.optionHeight&&(this.$refs.list.scrollTop=this.pointerPosition-(this.visibleElements-1)*this.optionHeight),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()),this.pointerDirty=!0},pointerBackward(){this.pointer>0?(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerBackward()):this.filteredOptions[this.pointer]&&this.filteredOptions[0].$isLabel&&!this.groupSelect&&this.pointerForward(),this.pointerDirty=!0},pointerReset(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0),this.filteredOptions.length>0&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()},pointerSet(e){this.pointer=e,this.pointerDirty=!0}}};const fe={name:"vue-multiselect",mixins:[ce,me],compatConfig:{MODE:3,ATTR_ENUMERATED_COERCION:!1},props:{name:{type:String,default:""},modelValue:{type:null,default(){return[]}},selectLabel:{type:String,default:"Press enter to select"},selectGroupLabel:{type:String,default:"Press enter to select group"},selectedLabel:{type:String,default:"Selected"},deselectLabel:{type:String,default:"Press enter to remove"},deselectGroupLabel:{type:String,default:"Press enter to deselect group"},showLabels:{type:Boolean,default:!0},limit:{type:Number,default:99999},maxHeight:{type:Number,default:300},limitText:{type:Function,default:e=>`and ${e} more`},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},openDirection:{type:String,default:""},showNoOptions:{type:Boolean,default:!0},showNoResults:{type:Boolean,default:!0},tabindex:{type:Number,default:0}},computed:{hasOptionGroup(){return this.groupValues&&this.groupLabel&&this.groupSelect},isSingleLabelVisible(){return(this.singleValue||this.singleValue===0)&&(!this.isOpen||!this.searchable)&&!this.visibleValues.length},isPlaceholderVisible(){return!this.internalValue.length&&(!this.searchable||!this.isOpen)},visibleValues(){return this.multiple?this.internalValue.slice(0,this.limit):[]},singleValue(){return this.internalValue[0]},deselectLabelText(){return this.showLabels?this.deselectLabel:""},deselectGroupLabelText(){return this.showLabels?this.deselectGroupLabel:""},selectLabelText(){return this.showLabels?this.selectLabel:""},selectGroupLabelText(){return this.showLabels?this.selectGroupLabel:""},selectedLabelText(){return this.showLabels?this.selectedLabel:""},inputStyle(){return this.searchable||this.multiple&&this.modelValue&&this.modelValue.length?this.isOpen?{width:"100%"}:{width:"0",position:"absolute",padding:"0"}:""},contentStyle(){return this.options.length?{display:"inline-block"}:{display:"block"}},isAbove(){return this.openDirection==="above"||this.openDirection==="top"?!0:this.openDirection==="below"||this.openDirection==="bottom"?!1:this.preferredOpenDirection==="above"},showSearchInput(){return this.searchable&&(this.hasSingleSelectedSlot&&(this.visibleSingleValue||this.visibleSingleValue===0)?this.isOpen:!0)}}},ge=["tabindex","aria-owns"],ye={ref:"tags",class:"multiselect__tags"},ve={class:"multiselect__tags-wrap"},be=["textContent"],we=["onKeypress","onMousedown"],Se=["textContent"],ke={class:"multiselect__spinner"},Te=["name","id","placeholder","value","disabled","tabindex","aria-controls"],Ee=["id"],Ve={key:0},$e={class:"multiselect__option"},Oe=["id","role"],Be=["onClick","onMouseenter","data-select","data-selected","data-deselect"],Ce=["data-select","data-deselect","onMouseenter","onMousedown"],De={class:"multiselect__option"},Le={class:"multiselect__option"};function Ae(e,i,s,n,a,o){return t.openBlock(),t.createElementBlock("div",{tabindex:e.searchable?-1:s.tabindex,class:t.normalizeClass([{"multiselect--active":e.isOpen,"multiselect--disabled":s.disabled,"multiselect--above":o.isAbove,"multiselect--has-options-group":o.hasOptionGroup},"multiselect"]),onFocus:i[13]||(i[13]=l=>e.activate()),onBlur:i[14]||(i[14]=l=>e.searchable?!1:e.deactivate()),onKeydown:[i[15]||(i[15]=t.withKeys(t.withModifiers(l=>e.pointerForward(),["self","prevent"]),["down"])),i[16]||(i[16]=t.withKeys(t.withModifiers(l=>e.pointerBackward(),["self","prevent"]),["up"]))],onKeypress:i[17]||(i[17]=t.withKeys(t.withModifiers(l=>e.addPointerElement(l),["stop","self"]),["enter","tab"])),onKeyup:i[18]||(i[18]=t.withKeys(l=>e.deactivate(),["esc"])),role:"combobox","aria-owns":"listbox-"+e.id},[t.renderSlot(e.$slots,"caret",{toggle:e.toggle},()=>[t.createElementVNode("div",{onMousedown:i[0]||(i[0]=t.withModifiers(l=>e.toggle(),["prevent","stop"])),class:"multiselect__select"},null,32)]),t.renderSlot(e.$slots,"clear",{search:e.search}),t.createElementVNode("div",ye,[t.renderSlot(e.$slots,"selection",{search:e.search,remove:e.removeElement,values:o.visibleValues,isOpen:e.isOpen},()=>[t.withDirectives(t.createElementVNode("div",ve,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.visibleValues,(l,r)=>t.renderSlot(e.$slots,"tag",{option:l,search:e.search,remove:e.removeElement},()=>[(t.openBlock(),t.createElementBlock("span",{class:"multiselect__tag",key:r},[t.createElementVNode("span",{textContent:t.toDisplayString(e.getOptionLabel(l))},null,8,be),t.createElementVNode("i",{tabindex:"1",onKeypress:t.withKeys(t.withModifiers(u=>e.removeElement(l),["prevent"]),["enter"]),onMousedown:t.withModifiers(u=>e.removeElement(l),["prevent"]),class:"multiselect__tag-icon"},null,40,we)]))])),256))],512),[[t.vShow,o.visibleValues.length>0]]),e.internalValue&&e.internalValue.length>s.limit?t.renderSlot(e.$slots,"limit",{key:0},()=>[t.createElementVNode("strong",{class:"multiselect__strong",textContent:t.toDisplayString(s.limitText(e.internalValue.length-s.limit))},null,8,Se)]):t.createCommentVNode("",!0)]),t.createVNode(t.Transition,{name:"multiselect__loading"},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"loading",{},()=>[t.withDirectives(t.createElementVNode("div",ke,null,512),[[t.vShow,s.loading]])])]),_:3}),e.searchable?(t.openBlock(),t.createElementBlock("input",{key:0,ref:"search",name:s.name,id:e.id,type:"text",autocomplete:"off",spellcheck:"false",placeholder:e.placeholder,style:t.normalizeStyle(o.inputStyle),value:e.search,disabled:s.disabled,tabindex:s.tabindex,onInput:i[1]||(i[1]=l=>e.updateSearch(l.target.value)),onFocus:i[2]||(i[2]=t.withModifiers(l=>e.activate(),["prevent"])),onBlur:i[3]||(i[3]=t.withModifiers(l=>e.deactivate(),["prevent"])),onKeyup:i[4]||(i[4]=t.withKeys(l=>e.deactivate(),["esc"])),onKeydown:[i[5]||(i[5]=t.withKeys(t.withModifiers(l=>e.pointerForward(),["prevent"]),["down"])),i[6]||(i[6]=t.withKeys(t.withModifiers(l=>e.pointerBackward(),["prevent"]),["up"])),i[8]||(i[8]=t.withKeys(t.withModifiers(l=>e.removeLastElement(),["stop"]),["delete"]))],onKeypress:i[7]||(i[7]=t.withKeys(t.withModifiers(l=>e.addPointerElement(l),["prevent","stop","self"]),["enter"])),class:"multiselect__input","aria-controls":"listbox-"+e.id},null,44,Te)):t.createCommentVNode("",!0),o.isSingleLabelVisible?(t.openBlock(),t.createElementBlock("span",{key:1,class:"multiselect__single",onMousedown:i[9]||(i[9]=t.withModifiers((...l)=>e.toggle&&e.toggle(...l),["prevent"]))},[t.renderSlot(e.$slots,"singleLabel",{option:o.singleValue},()=>[t.createTextVNode(t.toDisplayString(e.currentOptionLabel),1)])],32)):t.createCommentVNode("",!0),o.isPlaceholderVisible?(t.openBlock(),t.createElementBlock("span",{key:2,class:"multiselect__placeholder",onMousedown:i[10]||(i[10]=t.withModifiers((...l)=>e.toggle&&e.toggle(...l),["prevent"]))},[t.renderSlot(e.$slots,"placeholder",{},()=>[t.createTextVNode(t.toDisplayString(e.placeholder),1)])],32)):t.createCommentVNode("",!0)],512),t.createVNode(t.Transition,{name:"multiselect"},{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("div",{class:t.normalizeClass(["multiselect__content-wrapper",e.$attrs.class]),onFocus:i[11]||(i[11]=(...l)=>e.activate&&e.activate(...l)),tabindex:"-1",onMousedown:i[12]||(i[12]=t.withModifiers(()=>{},["prevent"])),style:t.normalizeStyle({maxHeight:e.optimizedHeight+"px"}),ref:"list"},[t.createElementVNode("ul",{class:"multiselect__content",style:t.normalizeStyle(o.contentStyle),role:"listbox",id:"listbox-"+e.id},[t.renderSlot(e.$slots,"beforeList"),e.multiple&&e.max===e.internalValue.length?(t.openBlock(),t.createElementBlock("li",Ve,[t.createElementVNode("span",$e,[t.renderSlot(e.$slots,"maxElements",{},()=>[t.createTextVNode("Maximum of "+t.toDisplayString(e.max)+" options selected. First remove a selected option to select another.",1)])])])):t.createCommentVNode("",!0),!e.max||e.internalValue.length<e.max?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(e.filteredOptions,(l,r)=>(t.openBlock(),t.createElementBlock("li",{class:"multiselect__element",key:r,id:e.id+"-"+r,role:l&&(l.$isLabel||l.$isDisabled)?null:"option"},[l&&(l.$isLabel||l.$isDisabled)?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",{key:0,class:t.normalizeClass([e.optionHighlight(r,l),"multiselect__option"]),onClick:t.withModifiers(u=>e.select(l),["stop"]),onMouseenter:t.withModifiers(u=>e.pointerSet(r),["self"]),"data-select":l&&l.isTag?e.tagPlaceholder:o.selectLabelText,"data-selected":o.selectedLabelText,"data-deselect":o.deselectLabelText},[t.renderSlot(e.$slots,"option",{option:l,search:e.search,index:r},()=>[t.createElementVNode("span",null,t.toDisplayString(e.getOptionLabel(l)),1)])],42,Be)),l&&(l.$isLabel||l.$isDisabled)?(t.openBlock(),t.createElementBlock("span",{key:1,"data-select":e.groupSelect&&o.selectGroupLabelText,"data-deselect":e.groupSelect&&o.deselectGroupLabelText,class:t.normalizeClass([e.groupHighlight(r,l),"multiselect__option"]),onMouseenter:t.withModifiers(u=>e.groupSelect&&e.pointerSet(r),["self"]),onMousedown:t.withModifiers(u=>e.selectGroup(l),["prevent"])},[t.renderSlot(e.$slots,"option",{option:l,search:e.search,index:r},()=>[t.createElementVNode("span",null,t.toDisplayString(e.getOptionLabel(l)),1)])],42,Ce)):t.createCommentVNode("",!0)],8,Oe))),128)):t.createCommentVNode("",!0),t.withDirectives(t.createElementVNode("li",null,[t.createElementVNode("span",De,[t.renderSlot(e.$slots,"noResult",{search:e.search},()=>[t.createTextVNode("No elements found. Consider changing the search query.")])])],512),[[t.vShow,s.showNoResults&&e.filteredOptions.length===0&&e.search&&!s.loading]]),t.withDirectives(t.createElementVNode("li",null,[t.createElementVNode("span",Le,[t.renderSlot(e.$slots,"noOptions",{},()=>[t.createTextVNode("List is empty.")])])],512),[[t.vShow,s.showNoOptions&&(e.options.length===0||o.hasOptionGroup===!0&&e.filteredOptions.length===0)&&!e.search&&!s.loading]]),t.renderSlot(e.$slots,"afterList")],12,Ee)],38),[[t.vShow,e.isOpen]])]),_:3})],42,ge)}const Ne=f._export_sfc(fe,[["render",Ae]]);exports.Checkbox=oe;exports.SelectMulti=Ne;exports._sfc_main=se;
@@ -1,219 +0,0 @@
1
- import { getCurrentInstance as x, isProxy as M, watch as P, defineComponent as B, ref as y, computed as L, openBlock as l, createElementBlock as o, Fragment as w, createElementVNode as m, normalizeClass as _, toDisplayString as f, createCommentVNode as p, withModifiers as $, createVNode as b, Transition as k, withCtx as j, renderList as A, unref as E, reactive as I } from "vue";
2
- import "./Select.vue_vue_type_style_index_0_scoped_a78dbba1_lang-4ed993c7.mjs";
3
- import { _ as N, a as O } from "./auth-f81f3598.mjs";
4
- import { s } from "./globals-f538c0ef.mjs";
5
- /**
6
- * vue-meta v3.0.0-alpha.10
7
- * (c) 2022
8
- * - Pim (@pimlie)
9
- * - All the amazing contributors
10
- * @license MIT
11
- */
12
- const R = (e) => e !== null && typeof e == "object";
13
- function C(e, t, r) {
14
- for (const a in t)
15
- a in r ? R(e[a]) ? C(e[a], t[a], r[a]) : t[a] !== r[a] && (e[a] = t[a]) : e[a] = t[a];
16
- for (const a in r)
17
- t && a in t || delete e[a];
18
- }
19
- function S(e) {
20
- if (e || (e = x() || void 0), e)
21
- return e.appContext.config.globalProperties.$metaManager;
22
- }
23
- function X(e, t) {
24
- const r = x() || void 0;
25
- if (!t && r && (t = S(r)), !t)
26
- throw new Error("No manager or current instance");
27
- M(e) && (P(e, (u, g) => {
28
- C(a.meta, u, g);
29
- }), e = e.value);
30
- const a = t.addMeta(e, r);
31
- return a;
32
- }
33
- B({ name: "Metainfo", inheritAttrs: !1, setup: (e, { slots: t }) => () => {
34
- const r = S();
35
- if (r)
36
- return r.render({ slots: t });
37
- } });
38
- const V = {
39
- key: 0,
40
- class: "t-transp mn-r-small"
41
- }, q = ["onClick"], T = ["onClick"], U = {
42
- key: 0,
43
- class: "mn-t-thin invalid-feedback"
44
- }, D = {
45
- __name: "Select",
46
- props: {
47
- label: String,
48
- select: [String, Object],
49
- placeholder: { type: String, default: "Please select an item" },
50
- options: { type: Array, default: () => [] },
51
- validation: Boolean
52
- },
53
- emits: ["update:select", "focus", "blur"],
54
- setup(e, { emit: t }) {
55
- const r = e, a = y(r.select), u = y(!1);
56
- P(() => r.select, (i) => {
57
- a.value = i;
58
- });
59
- const g = L(() => r.select ? r.options.filter((i) => i !== r.select) : r.options), v = () => {
60
- u.value = !u.value, t(u.value ? "focus" : "blur");
61
- }, z = (i) => {
62
- a.value = i, v(), t("update:select", a.value);
63
- };
64
- return (i, G) => {
65
- var h;
66
- return l(), o(w, null, [
67
- m("div", {
68
- class: _([i.$attrs.class, "flex-nowrap flex"])
69
- }, [
70
- e.label ? (l(), o("div", V, [
71
- m("span", null, f(e.label), 1)
72
- ])) : p("", !0),
73
- m("li", {
74
- onClick: $(v, ["stop"]),
75
- class: "w-100"
76
- }, [
77
- m("span", null, f(((h = a.value) == null ? void 0 : h.name) || a.value || e.placeholder), 1)
78
- ], 8, q),
79
- b(k, {
80
- mode: "out-in",
81
- name: "fade"
82
- }, {
83
- default: j(() => [
84
- u.value ? (l(), o("ul", {
85
- key: 0,
86
- class: _([i.$attrs.class, "pos-absolute pos-l-0 z-index-5 w-100 mn-t-big"])
87
- }, [
88
- (l(!0), o(w, null, A(E(g), (d) => (l(), o("li", null, [
89
- d ? (l(), o("span", {
90
- key: 0,
91
- onClick: (H) => z(d),
92
- class: "w-100"
93
- }, f(d.name || d), 9, T)) : p("", !0)
94
- ]))), 256))
95
- ], 2)) : p("", !0)
96
- ]),
97
- _: 1
98
- })
99
- ], 2),
100
- b(k, {
101
- mode: "out-in",
102
- name: "fade"
103
- }, {
104
- default: j(() => [
105
- e.validation ? (l(), o("div", U, " * " + f(e.validation.message), 1)) : p("", !0)
106
- ]),
107
- _: 1
108
- })
109
- ], 64);
110
- };
111
- }
112
- }, Y = /* @__PURE__ */ N(D, [["__scopeId", "data-v-a78dbba1"]]), c = O.create({ baseURL: process.env.API_URL, withCredentials: !0 }), n = I({
113
- all: [],
114
- current: {
115
- recommendation: !1,
116
- category: [],
117
- status: "unpublished",
118
- information: [],
119
- coverImage: "",
120
- images: [],
121
- files: [],
122
- image3d: !1,
123
- name: "",
124
- sale: 0,
125
- price: 0,
126
- localization: [],
127
- modifications: [],
128
- description: ""
129
- }
130
- }), Z = {
131
- async create(e, t) {
132
- const r = {
133
- ...t,
134
- organization: e
135
- };
136
- return await c.post("/products/create", r).then(
137
- (a) => (F(a.data, "current"), Promise.resolve(a.data)),
138
- (a) => (s(a), Promise.reject(a))
139
- );
140
- },
141
- async read(e = {}) {
142
- e._id && (e.params = { _id: e._id }), e.category && (e.params = e.params || {}, e.params.category = e.category), e.params = e.params || {}, e.params.skip = e.skip || 0, e.params.limit = e.limit || 10, e.organization && (e.params.organization = e.organization), e.params.sort = "createdAt";
143
- try {
144
- console.log("Request params:" + e.params);
145
- const t = await c.get("/products/read", { params: e.params });
146
- return e._id ? n.current = t.data[0] : n.all = t.data, Promise.resolve(t.data);
147
- } catch (t) {
148
- return s(t), Promise.reject(t);
149
- }
150
- },
151
- async update(e, t) {
152
- return await c.post("/products/" + e, t).then(
153
- (r) => Promise.resolve(r.data),
154
- (r) => (s(r), Promise.reject(r))
155
- );
156
- },
157
- async deleteProduct(e) {
158
- return await c.delete("/products/" + e).then(
159
- (t) => Promise.resolve(t.data),
160
- (t) => (s(t), Promise.reject(t))
161
- );
162
- },
163
- async submitMood(e = null) {
164
- return console.log(e), c.post("/product/recommended", { mood: e }).then(
165
- (t) => (n.current = t.data.product, n.current.recommendation = t.data.recommendationText, Promise.resolve(t.data)),
166
- (t) => (console.log(t), s(t), Promise.reject(t))
167
- );
168
- },
169
- async fetchProducts() {
170
- return await c.get("/products").then(
171
- (e) => (n.all = e.data, n.filtered = e.data.slice(), n.filteredPrice = n.filtered, n.filteredPrice.sort(function(t, r) {
172
- return t[n.sort.current] > r[n.sort.current] ? n.sort.ascending ? 1 : -1 : t[n.sort.current] < r[n.sort.current] ? n.sort.ascending ? -1 : 1 : 0;
173
- }), Promise.resolve(e.data)),
174
- (e) => (s(e), Promise.reject(e))
175
- );
176
- },
177
- async fetchProductsPopular() {
178
- return await c.get("/products/popular").then(
179
- (e) => (n.popular = e.data, Promise.resolve(e.data)),
180
- (e) => (s(e), Promise.reject(e))
181
- );
182
- },
183
- async fetchProductsPublished() {
184
- return await c.get("/products").then(
185
- (e) => {
186
- let t = e.data.filter(function(r, a) {
187
- return r.status !== "unpublished";
188
- });
189
- return n.all = t, n.filtered = t.slice(), n.filteredPrice = n.filtered, n.filteredPrice.sort(function(r, a) {
190
- return r[n.sort.current] > a[n.sort.current] ? n.sort.ascending ? 1 : -1 : r[n.sort.current] < a[n.sort.current] ? n.sort.ascending ? -1 : 1 : 0;
191
- }), Promise.resolve(e.data);
192
- },
193
- (e) => (s(e), Promise.reject(e))
194
- );
195
- },
196
- async fetchProduct(e) {
197
- return await c.get("/products/" + e).then(
198
- (t) => (t.localization || (t.localization = []), n.current = t.data, Promise.resolve(t.data)),
199
- (t) => (s(t), Promise.reject(t))
200
- );
201
- },
202
- async fetchProductPopular() {
203
- return await c.get("/products").then(
204
- (e) => (n.all = e.data.slice(1, 5), Promise.resolve(e.data.slice(1, 5))),
205
- (e) => (s(e), Promise.reject(e))
206
- );
207
- }
208
- };
209
- function F(e, t) {
210
- n[t] = e;
211
- }
212
- P(n, (e, t) => {
213
- });
214
- export {
215
- X as B,
216
- Y as S,
217
- Z as a,
218
- n as s
219
- };