@ozdao/prometheus-framework 0.0.89 → 0.0.91

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 +135 -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 +10 -10
  81. package/dist/prometheus-framework.es.js +1 -1
  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 +29 -0
  92. package/src/modules/icons/labels/LabelGooglePlay.vue +47 -0
  93. package/src/modules/landing/components/sections/MobileApp.vue +134 -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,47 @@
1
+ <template>
2
+ <svg width="204" height="59" viewBox="0 0 204 59" fill="none" xmlns="http://www.w3.org/2000/svg">
3
+ <path d="M196.396 59H7.55371C3.40106 59 0 55.6794 0 51.625V7.375C0 3.32059 3.40106 7.56029e-07 7.55371 7.56029e-07H196.396C200.549 7.56029e-07 203.95 3.32059 203.95 7.375V51.625C203.95 55.6794 200.549 59 196.396 59Z" fill="black"/>
4
+ <path d="M196.396 1.18184C199.894 1.18184 202.74 3.96038 202.74 7.375V51.625C202.74 55.0396 199.894 57.8182 196.396 57.8182H7.55371C4.05634 57.8182 1.21048 55.0396 1.21048 51.625V7.375C1.21048 3.96038 4.05634 1.18184 7.55371 1.18184H196.396ZM196.396 7.56029e-07H7.55371C3.40106 7.56029e-07 0 3.32059 0 7.375V51.625C0 55.6794 3.40106 59 7.55371 59H196.396C200.549 59 203.95 55.6794 203.95 51.625V7.375C203.95 3.32059 200.549 7.56029e-07 196.396 7.56029e-07Z" fill="#A6A6A6"/>
5
+ <path d="M71.6353 15.1096C71.6353 16.3413 71.2576 17.3277 70.5136 18.0633C69.6581 18.9354 68.5439 19.3742 67.1786 19.3742C65.8737 19.3742 64.7595 18.928 63.8455 18.0486C62.9297 17.1562 62.4727 16.061 62.4727 14.7501C62.4727 13.4392 62.9297 12.344 63.8455 11.459C64.7595 10.5722 65.8737 10.126 67.1786 10.126C67.8282 10.126 68.4476 10.2569 69.0387 10.5003C69.6279 10.7455 70.1076 11.0774 70.455 11.4867L69.6657 12.2647C69.0595 11.5659 68.2342 11.2212 67.1786 11.2212C66.2268 11.2212 65.4016 11.5457 64.701 12.2002C64.0079 12.8566 63.6605 13.7065 63.6605 14.7501C63.6605 15.7937 64.0079 16.651 64.701 17.3074C65.4016 17.9545 66.2268 18.2864 67.1786 18.2864C68.1889 18.2864 69.0387 17.9545 69.7091 17.3C70.151 16.8667 70.4022 16.2694 70.4683 15.506H67.1786V14.4404H71.5673C71.6202 14.6708 71.6353 14.8939 71.6353 15.1096V15.1096Z" fill="white" stroke="white" stroke-width="0.16" stroke-miterlimit="10"/>
6
+ <path d="M78.5981 11.4151H74.4756V14.2176H78.1921V15.2833H74.4756V18.0858H78.5981V19.1717H73.3086V10.3291H78.5981V11.4151Z" fill="white" stroke="white" stroke-width="0.16" stroke-miterlimit="10"/>
7
+ <path d="M83.5121 19.1717H82.345V11.4151H79.8164V10.3291H86.0425V11.4151H83.5121V19.1717V19.1717Z" fill="white" stroke="white" stroke-width="0.16" stroke-miterlimit="10"/>
8
+ <path d="M90.5488 19.1717V10.3291H91.714V19.1717H90.5488Z" fill="white" stroke="white" stroke-width="0.16" stroke-miterlimit="10"/>
9
+ <path d="M96.8773 19.1717H95.7197V11.4151H93.1816V10.3291H99.4153V11.4151H96.8773V19.1717Z" fill="white" stroke="white" stroke-width="0.16" stroke-miterlimit="10"/>
10
+ <path d="M111.203 18.0338C110.31 18.928 109.203 19.3742 107.883 19.3742C106.556 19.3742 105.449 18.928 104.556 18.0338C103.664 17.1414 103.221 16.0463 103.221 14.7501C103.221 13.4539 103.664 12.3588 104.556 11.4664C105.449 10.5722 106.556 10.126 107.883 10.126C109.196 10.126 110.302 10.5722 111.196 11.4738C112.094 12.3735 112.538 13.4613 112.538 14.7501C112.538 16.0463 112.094 17.1414 111.203 18.0338ZM105.419 17.2926C106.091 17.9545 106.909 18.2864 107.883 18.2864C108.85 18.2864 109.675 17.9545 110.34 17.2926C111.01 16.6307 111.35 15.7808 111.35 14.7501C111.35 13.7194 111.01 12.8695 110.34 12.2076C109.675 11.5457 108.85 11.2138 107.883 11.2138C106.909 11.2138 106.091 11.5457 105.419 12.2076C104.748 12.8695 104.409 13.7194 104.409 14.7501C104.409 15.7808 104.748 16.6307 105.419 17.2926V17.2926Z" fill="white" stroke="white" stroke-width="0.16" stroke-miterlimit="10"/>
11
+ <path d="M114.176 19.1717V10.3291H115.592L119.996 17.2063H120.047L119.996 15.5063V10.3291H121.161V19.1717H119.945L115.333 11.9553H115.282L115.333 13.6626V19.1717H114.176V19.1717Z" fill="white" stroke="white" stroke-width="0.16" stroke-miterlimit="10"/>
12
+ <path d="M102.934 32.0853C99.3852 32.0853 96.4864 34.7218 96.4864 38.3596C96.4864 41.9678 99.3852 44.632 102.934 44.632C106.489 44.632 109.388 41.9678 109.388 38.3596C109.388 34.7218 106.489 32.0853 102.934 32.0853ZM102.934 42.1614C100.987 42.1614 99.3115 40.5923 99.3115 38.3596C99.3115 36.0973 100.987 34.5559 102.934 34.5559C104.88 34.5559 106.563 36.0973 106.563 38.3596C106.563 40.5923 104.88 42.1614 102.934 42.1614V42.1614ZM88.8666 32.0853C85.3107 32.0853 82.4195 34.7218 82.4195 38.3596C82.4195 41.9678 85.3107 44.632 88.8666 44.632C92.4206 44.632 95.3137 41.9678 95.3137 38.3596C95.3137 34.7218 92.4206 32.0853 88.8666 32.0853ZM88.8666 42.1614C86.9178 42.1614 85.2371 40.5923 85.2371 38.3596C85.2371 36.0973 86.9178 34.5559 88.8666 34.5559C90.8136 34.5559 92.4886 36.0973 92.4886 38.3596C92.4886 40.5923 90.8136 42.1614 88.8666 42.1614ZM72.1276 34.0083V36.6744H78.6484C78.4576 38.1641 77.9478 39.2593 77.1659 40.0226C76.2142 40.9445 74.7318 41.9678 72.1276 41.9678C68.1147 41.9678 64.9724 38.8057 64.9724 34.8878C64.9724 30.9698 68.1147 27.8078 72.1276 27.8078C74.2974 27.8078 75.8762 28.6356 77.0413 29.7087L78.9656 27.8299C77.3359 26.3107 75.168 25.1436 72.1276 25.1436C66.6248 25.1436 62 29.5151 62 34.8878C62 40.2605 66.6248 44.632 72.1276 44.632C75.1019 44.632 77.3359 43.6806 79.0921 41.8959C80.8918 40.1388 81.4527 37.6682 81.4527 35.6732C81.4527 35.0537 81.3998 34.484 81.3054 34.0083H72.1276ZM140.576 36.0752C140.045 34.6721 138.408 32.0853 135.073 32.0853C131.768 32.0853 129.016 34.6278 129.016 38.3596C129.016 41.8737 131.74 44.632 135.39 44.632C138.341 44.632 140.045 42.8749 140.745 41.8516L138.555 40.4264C137.824 41.47 136.829 42.1614 135.39 42.1614C133.96 42.1614 132.935 41.5216 132.278 40.2605L140.872 36.7887L140.576 36.0752V36.0752ZM131.813 38.1641C131.74 35.7451 133.738 34.5061 135.169 34.5061C136.291 34.5061 137.242 35.0537 137.56 35.8373L131.813 38.1641V38.1641ZM124.828 44.2503H127.653V25.8128H124.828V44.2503ZM120.201 33.4828H120.107C119.472 32.749 118.262 32.0853 116.728 32.0853C113.511 32.0853 110.568 34.8435 110.568 38.3798C110.568 41.8959 113.511 44.632 116.728 44.632C118.262 44.632 119.472 43.9627 120.107 43.2068H120.201V44.1065C120.201 46.5052 118.889 47.794 116.772 47.794C115.046 47.794 113.975 46.5771 113.533 45.5539L111.076 46.555C111.785 48.2181 113.66 50.2646 116.772 50.2646C120.084 50.2646 122.879 48.3619 122.879 43.7322V32.4669H120.201V33.4828V33.4828ZM116.97 42.1614C115.023 42.1614 113.393 40.5702 113.393 38.3798C113.393 36.1692 115.023 34.5559 116.97 34.5559C118.889 34.5559 120.401 36.1692 120.401 38.3798C120.401 40.5702 118.889 42.1614 116.97 42.1614V42.1614ZM153.802 25.8128H147.045V44.2503H149.863V37.2644H153.802C156.931 37.2644 160 35.0537 160 31.5377C160 28.0235 156.924 25.8128 153.802 25.8128V25.8128ZM153.876 34.6997H149.863V28.3775H153.876C155.979 28.3775 157.18 30.083 157.18 31.5377C157.18 32.9647 155.979 34.6997 153.876 34.6997ZM171.293 32.0502C169.257 32.0502 167.14 32.9279 166.269 34.873L168.77 35.8963C169.308 34.873 170.297 34.5412 171.344 34.5412C172.805 34.5412 174.288 35.3985 174.31 36.9122V37.1058C173.8 36.8182 172.709 36.3923 171.366 36.3923C168.673 36.3923 165.929 37.8396 165.929 40.5407C165.929 43.0113 168.135 44.6025 170.615 44.6025C172.511 44.6025 173.557 43.7673 174.214 42.7956H174.31V44.2208H177.032V37.1482C177.032 33.8792 174.531 32.0502 171.293 32.0502ZM170.953 42.154C170.031 42.154 168.747 41.7078 168.747 40.5923C168.747 39.1653 170.348 38.6177 171.735 38.6177C172.975 38.6177 173.557 38.885 174.31 39.2372C174.089 40.9445 172.584 42.154 170.953 42.154V42.154ZM186.946 32.454L183.707 40.4467H183.611L180.263 32.454H177.224L182.255 43.6235L179.385 49.8387H182.329L190.081 32.454H186.946V32.454ZM161.548 44.2503H164.373V25.8128H161.548V44.2503Z" fill="white"/>
13
+ <path d="M15.7651 11.1197C15.3213 11.5732 15.0645 12.2794 15.0645 13.1939V45.8135C15.0645 46.728 15.3213 47.4342 15.7651 47.8877L15.8746 47.9873L34.5964 29.7157V29.2843L15.8746 11.0127L15.7651 11.1197Z" fill="url(#paint0_linear_1523_1188)"/>
14
+ <path d="M40.8294 35.8096L34.5957 29.716V29.2845L40.837 23.1909L40.9767 23.2702L48.368 27.3763C50.4774 28.5415 50.4774 30.459 48.368 31.6316L40.9767 35.7303L40.8294 35.8096V35.8096Z" fill="url(#paint1_linear_1523_1188)"/>
15
+ <path d="M40.976 35.7304L34.5951 29.5004L15.7637 47.8881C16.4643 48.6071 17.6068 48.6938 18.906 47.9747L40.976 35.7304" fill="url(#paint2_linear_1523_1188)"/>
16
+ <path d="M40.976 23.27L18.906 11.0256C17.6068 10.3139 16.4643 10.4006 15.7637 11.1197L34.5951 29.5L40.976 23.27Z" fill="url(#paint3_linear_1523_1188)"/>
17
+ <defs>
18
+ <linearGradient id="paint0_linear_1523_1188" x1="32.9342" y1="46.1532" x2="8.18722" y2="20.8066" gradientUnits="userSpaceOnUse">
19
+ <stop stop-color="#00A0FF"/>
20
+ <stop offset="0.0066" stop-color="#00A1FF"/>
21
+ <stop offset="0.2601" stop-color="#00BEFF"/>
22
+ <stop offset="0.5122" stop-color="#00D2FF"/>
23
+ <stop offset="0.7604" stop-color="#00DFFF"/>
24
+ <stop offset="1" stop-color="#00E3FF"/>
25
+ </linearGradient>
26
+ <linearGradient id="paint1_linear_1523_1188" x1="51.1147" y1="29.4982" x2="14.5595" y2="29.4982" gradientUnits="userSpaceOnUse">
27
+ <stop stop-color="#FFE000"/>
28
+ <stop offset="0.4087" stop-color="#FFBD00"/>
29
+ <stop offset="0.7754" stop-color="#FFA500"/>
30
+ <stop offset="1" stop-color="#FF9C00"/>
31
+ </linearGradient>
32
+ <linearGradient id="paint2_linear_1523_1188" x1="37.5063" y1="26.1136" x2="3.94738" y2="-8.25843" gradientUnits="userSpaceOnUse">
33
+ <stop stop-color="#FF3A44"/>
34
+ <stop offset="1" stop-color="#C31162"/>
35
+ </linearGradient>
36
+ <linearGradient id="paint3_linear_1523_1188" x1="11.0234" y1="58.7401" x2="26.009" y2="43.3916" gradientUnits="userSpaceOnUse">
37
+ <stop stop-color="#32A071"/>
38
+ <stop offset="0.0685" stop-color="#2DA771"/>
39
+ <stop offset="0.4762" stop-color="#15CF74"/>
40
+ <stop offset="0.8009" stop-color="#06E775"/>
41
+ <stop offset="1" stop-color="#00F076"/>
42
+ </linearGradient>
43
+ </defs>
44
+ </svg>
45
+
46
+
47
+ </template>
@@ -0,0 +1,134 @@
1
+ <template>
2
+ <div id="mobileApp">
3
+ <section class="cols-2-1_2 gap-big pd-big pd-t-big 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 w-m-40r">{{ t('title') }}</h2>
10
+ <p class="t-transp mn-big p-big w-m-33r">{{ t('description') }}</p>
11
+
12
+ <div class="mn-big gap-medium 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="w-m-33r flex-nowrap flex gap-medium">
32
+ <div class="w-100 h-100">
33
+ <span class="z-index-2 pd-tin radius-big bg-main t-semi uppercase pd-micro pos-absolute pos-r-small-negative pos-t-small-negative">{{ t('features.soonLabel') }}</span>
34
+ <LabelAppStore class="w-100 h-100" alt="Download on App Store"/>
35
+ </div>
36
+
37
+ <div class="w-100 h-100">
38
+ <span class="z-index-2 pd-tin radius-big bg-main t-semi uppercase pd-micro pos-absolute pos-r-small-negative pos-t-small-negative">{{ t('features.soonLabel') }}</span>
39
+ <LabelGooglePlay class="w-100 h-100" alt="Download on Google Play"/>
40
+ </div>
41
+
42
+ </div>
43
+ </div>
44
+
45
+ <div class="w-100 h-100 pos-absolute pos-t-0 pos-r-0 z-index-0 grid" :style="{backgroundImage: `url(${bgImage})`}">
46
+ <div v-if="!bgImage" class="grid-lines"></div>
47
+ </div>
48
+ </section>
49
+ </div>
50
+ </template>
51
+
52
+ <script setup>
53
+ import { useI18n } from 'vue-i18n'
54
+ import { withDefaults } from 'vue'
55
+
56
+ import LabelAppStore from '@pf/src/modules/icons/labels/LabelAppStore.vue'
57
+ import LabelGooglePlay from '@pf/src/modules/icons/labels/LabelGooglePlay.vue'
58
+
59
+ const props = defineProps({
60
+ mockupImage: {
61
+ type: String,
62
+ default: "/assets/images/landing/mockup.png"
63
+ },
64
+ bgImage: {
65
+ type: String,
66
+ default: "" // Введите ваше стандартное значение здесь, если необходимо
67
+ },
68
+ textData: {
69
+ type: Object,
70
+ default: () => ({
71
+ messages: {
72
+ en: {
73
+ title: 'Explore the Cannabis World at Your Fingertips',
74
+ description: 'Intuitive, Efficient, and Customized for Your Cannabis Needs',
75
+ features: {
76
+ instantUpdates: {
77
+ title: 'Instant Updates',
78
+ text: 'Receive real-time notifications for new product releases and community updates. Always stay in the loop.'
79
+ },
80
+ locate: {
81
+ title: 'Locate with Ease',
82
+ text: 'Discover nearby dispensaries and cannabis events with our integrated geolocation services.'
83
+ },
84
+ wallet: {
85
+ title: 'Wallet Integration',
86
+ text: 'Quickly and securely manage your transactions with integrated digital wallet functionality. Safety and convenience come together.'
87
+ },
88
+ customization: {
89
+ title: 'Customization by AI',
90
+ text: 'Experience the AI difference with personalized recommendations based on your preferences and trends in the community.'
91
+ }
92
+ }
93
+ }
94
+ }
95
+ })
96
+ }
97
+ })
98
+
99
+ const { t } = useI18n(props.textData)
100
+ </script>
101
+
102
+ <style lang="scss">
103
+ .app-mockup {
104
+ max-width: 100%;
105
+ object-fit: cover;
106
+ }
107
+ .store-buttons img {
108
+ margin-right: 10px;
109
+ }
110
+
111
+ .grid {
112
+ perspective: 450px;
113
+ background-size: cover;
114
+ }
115
+
116
+ .grid-lines {
117
+ width: 100%;
118
+ height: 200%;
119
+ 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);
120
+ background-size: 45px 30px;
121
+ background-repeat: repeat;
122
+ transform-origin: 100% 0 0;
123
+ animation: play 15s linear infinite;
124
+ }
125
+
126
+ @keyframes play {
127
+ 0% {
128
+ transform: rotateX(45deg) translateY(-50%);
129
+ }
130
+ 100% {
131
+ transform: rotateX(45deg) translateY(0);
132
+ }
133
+ }
134
+ </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
- };