@ozdao/prometheus-framework 0.1.40 → 0.1.42

Sign up to get free protection for your applications and to get access to all the features.
Files changed (868) hide show
  1. package/dist/LeftoverAdd-5a8988d9.js +1 -0
  2. package/dist/{LeftoverAdd-08d9fb54.mjs → LeftoverAdd-c4f37f47.mjs} +4 -5
  3. package/dist/{Leftovers-296c0042.js → Leftovers-470a1689.js} +1 -1
  4. package/dist/{Leftovers-685d9f19.mjs → Leftovers-69c7dcd9.mjs} +1 -1
  5. package/dist/{Members-7251dd52.mjs → Members-87278466.mjs} +3 -3
  6. package/dist/{Members-d35ab7e8.js → Members-bbcb79ae.js} +1 -1
  7. package/dist/{Product-299070ad.mjs → Product-2f8e6943.mjs} +2 -2
  8. package/dist/{Product-aacb05f3.js → Product-4a834930.js} +1 -1
  9. package/dist/{ProductEdit-70bed802.mjs → ProductEdit-959b3cd3.mjs} +4 -5
  10. package/dist/ProductEdit-bae5e898.js +1 -0
  11. package/dist/ProductsBackoffice-0716123f.js +1 -0
  12. package/dist/{ProductsBackoffice-3d987c60.mjs → ProductsBackoffice-a36ecbc6.mjs} +3 -4
  13. package/dist/backoffice.client.cjs +1 -1
  14. package/dist/backoffice.client.js +7 -7
  15. package/dist/{categories-52a561a4.mjs → categories-5b08da53.mjs} +14 -15
  16. package/dist/categories-7ccd6be9.js +1 -0
  17. package/dist/{leftovers-be37c7a5.mjs → leftovers-5d1ff88b.mjs} +6 -6
  18. package/dist/leftovers-b60180cf.js +1 -0
  19. package/dist/{organizations.client-8f263e28.js → organizations.client-7e11a989.js} +2 -2
  20. package/dist/{organizations.client-9ffc023f.mjs → organizations.client-e519ef17.mjs} +6 -6
  21. package/dist/organizations.client.cjs +1 -1
  22. package/dist/organizations.client.js +3 -3
  23. package/dist/products-3c43eb18.js +1 -0
  24. package/dist/{products-aabe5c02.mjs → products-943fb95e.mjs} +2 -3
  25. package/package.json +1 -1
  26. package/src/components/Sidebar/Sidebar.vue +8 -10
  27. package/src/modules/backoffice/components/admin/ProductEdit.vue +0 -2
  28. package/src/modules/products/components/sections/FilterProducts.vue +2 -0
  29. package/src/modules/products/components/sections/SortProducts.vue +0 -2
  30. package/src/modules/products/store/categories.js +9 -9
  31. package/src/modules/products/store/leftovers.js +9 -6
  32. package/src/modules/products/store/products.js +0 -2
  33. package/dist/BackofficeGallery-02c9721b.mjs +0 -304
  34. package/dist/BackofficeGallery-08d96af1.mjs +0 -305
  35. package/dist/BackofficeGallery-0e0132f5.mjs +0 -306
  36. package/dist/BackofficeGallery-1d117a40.js +0 -1
  37. package/dist/BackofficeGallery-2e695fed.js +0 -1
  38. package/dist/BackofficeGallery-3bb55ea2.mjs +0 -357
  39. package/dist/BackofficeGallery-7ae8fbba.mjs +0 -307
  40. package/dist/BackofficeGallery-a52a27b6.js +0 -1
  41. package/dist/BackofficeGallery-e54a33a3.js +0 -1
  42. package/dist/BackofficeGallery-fe39cff3.js +0 -1
  43. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-19e23006.mjs +0 -1945
  44. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-2426cb6f.mjs +0 -1945
  45. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-505c3ca5.js +0 -1
  46. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-561d6db3.js +0 -1
  47. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-579e2c7a.mjs +0 -1945
  48. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-6f807eb5.js +0 -1
  49. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-8660f9cb.js +0 -1
  50. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-97217d38.mjs +0 -1945
  51. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-9e474158.mjs +0 -1945
  52. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-b1873cb7.mjs +0 -1945
  53. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-bd3889ee.mjs +0 -1945
  54. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-c6aba800.js +0 -1
  55. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-cab2bcd2.js +0 -1
  56. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-cf9f6aed.js +0 -1
  57. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-d9c6e4d1.mjs +0 -1945
  58. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-e32a3041.js +0 -1
  59. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-e60b6b7d.mjs +0 -1945
  60. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-ec801e39.mjs +0 -1945
  61. package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-f3d37f29.js +0 -1
  62. package/dist/Button-2ca405bd.js +0 -1
  63. package/dist/Button-c59d387c.mjs +0 -283
  64. package/dist/Button-d8e72ac0.mjs +0 -296
  65. package/dist/Button-ee08e6bf.js +0 -1
  66. package/dist/ButtonFollow-00d85977.mjs +0 -133
  67. package/dist/ButtonFollow-23c4d9fc.mjs +0 -132
  68. package/dist/ButtonFollow-351486b0.js +0 -1
  69. package/dist/ButtonFollow-38d9a720.mjs +0 -131
  70. package/dist/ButtonFollow-3a05d29f.mjs +0 -132
  71. package/dist/ButtonFollow-4049a57e.js +0 -1
  72. package/dist/ButtonFollow-5e19fc49.mjs +0 -131
  73. package/dist/ButtonFollow-6765c266.mjs +0 -131
  74. package/dist/ButtonFollow-7c0180b3.js +0 -1
  75. package/dist/ButtonFollow-81508d85.mjs +0 -132
  76. package/dist/ButtonFollow-959861db.js +0 -1
  77. package/dist/ButtonFollow-9a33ab06.js +0 -1
  78. package/dist/ButtonFollow-bf5e6d42.js +0 -1
  79. package/dist/ButtonFollow-d4552677.mjs +0 -131
  80. package/dist/ButtonFollow-daa0e9e4.js +0 -1
  81. package/dist/ButtonFollow-df6317f0.js +0 -1
  82. package/dist/ButtonFollow-f0cefb85.mjs +0 -131
  83. package/dist/ButtonFollow.vue_vue_type_style_index_0_scoped_0634d4a1_lang-0ea8fbf8.js +0 -1
  84. package/dist/ButtonFollow.vue_vue_type_style_index_0_scoped_0634d4a1_lang-4ed993c7.mjs +0 -1
  85. package/dist/ButtonToggleMembership-15f149cb.js +0 -1
  86. package/dist/ButtonToggleMembership-3bb9139e.mjs +0 -90
  87. package/dist/CardBlogpost-38016b80.mjs +0 -246
  88. package/dist/CardBlogpost-ae3b4d23.js +0 -1
  89. package/dist/CardBlogpost-cc208f93.js +0 -1
  90. package/dist/CardBlogpost-d6f49156.mjs +0 -246
  91. package/dist/CardOrganization-01c2e248.mjs +0 -210
  92. package/dist/CardOrganization-18c1e3fa.mjs +0 -297
  93. package/dist/CardOrganization-1b0da77c.mjs +0 -230
  94. package/dist/CardOrganization-1be3651b.js +0 -1
  95. package/dist/CardOrganization-26714a5e.mjs +0 -297
  96. package/dist/CardOrganization-3049931d.mjs +0 -230
  97. package/dist/CardOrganization-3f4a13d3.mjs +0 -230
  98. package/dist/CardOrganization-43e80590.js +0 -1
  99. package/dist/CardOrganization-4d22037e.js +0 -1
  100. package/dist/CardOrganization-522845c7.mjs +0 -230
  101. package/dist/CardOrganization-63dcc83b.js +0 -1
  102. package/dist/CardOrganization-79eb2b6f.js +0 -1
  103. package/dist/CardOrganization-7d679e75.js +0 -1
  104. package/dist/CardOrganization-82c5b4c6.js +0 -1
  105. package/dist/CardOrganization-88c6d479.js +0 -1
  106. package/dist/CardOrganization-8b376cbb.js +0 -1
  107. package/dist/CardOrganization-8c5b582b.mjs +0 -230
  108. package/dist/CardOrganization-b2098e42.js +0 -1
  109. package/dist/CardOrganization-bf366e4e.js +0 -1
  110. package/dist/CardOrganization-c2e7e903.mjs +0 -229
  111. package/dist/CardOrganization-d3a9d898.mjs +0 -230
  112. package/dist/CardOrganization-d8f209ee.js +0 -1
  113. package/dist/CardOrganization-d93c9bdb.js +0 -1
  114. package/dist/CardOrganization-de8ec36e.mjs +0 -230
  115. package/dist/CardOrganization-df0a4506.mjs +0 -229
  116. package/dist/CardOrganization-e530c9d5.mjs +0 -230
  117. package/dist/CardOrganization-e920be73.mjs +0 -234
  118. package/dist/Chips-03ff0c34.mjs +0 -108
  119. package/dist/Chips-0e5bdd54.js +0 -1
  120. package/dist/Chips-2a0d9bfe.js +0 -1
  121. package/dist/Chips-2ada5eda.mjs +0 -200
  122. package/dist/Chips-32092a52.js +0 -1
  123. package/dist/Chips-3a07f374.js +0 -1
  124. package/dist/Chips-3dac276c.js +0 -1
  125. package/dist/Chips-41cd6570.mjs +0 -203
  126. package/dist/Chips-4316f652.mjs +0 -110
  127. package/dist/Chips-493042f7.js +0 -1
  128. package/dist/Chips-4d8ac62e.js +0 -1
  129. package/dist/Chips-5e32c8cb.mjs +0 -200
  130. package/dist/Chips-8d0a1d2c.js +0 -1
  131. package/dist/Chips-92ccc11f.js +0 -1
  132. package/dist/Chips-9cf6c0da.mjs +0 -286
  133. package/dist/Chips-9d81b215.mjs +0 -214
  134. package/dist/Chips-a8681edd.mjs +0 -213
  135. package/dist/Chips-c3d7341e.js +0 -1
  136. package/dist/Chips-cc08d85a.mjs +0 -108
  137. package/dist/Chips-d47704e6.js +0 -1
  138. package/dist/Chips-f0b7ce36.mjs +0 -110
  139. package/dist/Community-72dbb933.js +0 -1
  140. package/dist/Community-87522a04.mjs +0 -132
  141. package/dist/Community-aef23aee.js +0 -1
  142. package/dist/Community-b4d10da6.mjs +0 -130
  143. package/dist/Dashboard-239fb7a6.mjs +0 -52
  144. package/dist/Dashboard-91d73bc5.js +0 -1
  145. package/dist/Dashboard-94267906.js +0 -1
  146. package/dist/Dashboard-ea9035bc.mjs +0 -152
  147. package/dist/Dropdown-31115457.js +0 -1
  148. package/dist/Dropdown-cab3605b.mjs +0 -146
  149. package/dist/EULA-8265b0cf.mjs +0 -4218
  150. package/dist/EULA-cbb27503.js +0 -1
  151. package/dist/EULA-f5fba925.js +0 -1
  152. package/dist/EmptyState-34d85f10.mjs +0 -36
  153. package/dist/EmptyState-7658d7d6.js +0 -1
  154. package/dist/Events-0c6e3ef4.mjs +0 -134
  155. package/dist/Events-4742f070.js +0 -1
  156. package/dist/Events-cdfbca78.js +0 -1
  157. package/dist/Events-e9dd58f7.mjs +0 -123
  158. package/dist/Feed-046852fc.js +0 -1
  159. package/dist/Feed-09b0790d.js +0 -1
  160. package/dist/Feed-0b1dad65.js +0 -1
  161. package/dist/Feed-0dbe15b9.js +0 -1
  162. package/dist/Feed-12b12380.js +0 -1
  163. package/dist/Feed-13499a3a.mjs +0 -428
  164. package/dist/Feed-1d0d9853.js +0 -1
  165. package/dist/Feed-22464fcd.js +0 -1
  166. package/dist/Feed-275a14d8.mjs +0 -371
  167. package/dist/Feed-27f62b1c.mjs +0 -368
  168. package/dist/Feed-2c92ceed.js +0 -1
  169. package/dist/Feed-345d8513.mjs +0 -355
  170. package/dist/Feed-361761f5.mjs +0 -366
  171. package/dist/Feed-3a187776.js +0 -1
  172. package/dist/Feed-406e3b66.mjs +0 -368
  173. package/dist/Feed-416d84b0.mjs +0 -439
  174. package/dist/Feed-44beaa4c.mjs +0 -368
  175. package/dist/Feed-44f715a7.mjs +0 -439
  176. package/dist/Feed-4d9001aa.mjs +0 -368
  177. package/dist/Feed-4df9352b.js +0 -1
  178. package/dist/Feed-4efa2a93.mjs +0 -394
  179. package/dist/Feed-505b3fa8.mjs +0 -383
  180. package/dist/Feed-51eef23f.js +0 -1
  181. package/dist/Feed-530e40ab.mjs +0 -428
  182. package/dist/Feed-536c8a92.mjs +0 -439
  183. package/dist/Feed-585d5821.mjs +0 -124
  184. package/dist/Feed-5d8c16da.mjs +0 -368
  185. package/dist/Feed-5ecd756e.js +0 -1
  186. package/dist/Feed-66095e66.js +0 -1
  187. package/dist/Feed-67f403fb.mjs +0 -366
  188. package/dist/Feed-6e96d3dd.mjs +0 -124
  189. package/dist/Feed-6fd26cb4.mjs +0 -367
  190. package/dist/Feed-76fc4475.mjs +0 -383
  191. package/dist/Feed-793b3eef.mjs +0 -146
  192. package/dist/Feed-79839e67.mjs +0 -368
  193. package/dist/Feed-7b80704d.mjs +0 -361
  194. package/dist/Feed-7c8c901a.mjs +0 -380
  195. package/dist/Feed-807d265b.mjs +0 -156
  196. package/dist/Feed-8110366a.mjs +0 -439
  197. package/dist/Feed-82ad8e29.mjs +0 -368
  198. package/dist/Feed-8a151970.js +0 -1
  199. package/dist/Feed-8a867bfc.js +0 -1
  200. package/dist/Feed-8acc6844.js +0 -1
  201. package/dist/Feed-8bbb7077.mjs +0 -428
  202. package/dist/Feed-8f6eb29d.mjs +0 -439
  203. package/dist/Feed-90f74d6c.mjs +0 -361
  204. package/dist/Feed-986ddd21.mjs +0 -355
  205. package/dist/Feed-a0df5d24.js +0 -1
  206. package/dist/Feed-a2870bbf.js +0 -1
  207. package/dist/Feed-a47977d3.js +0 -1
  208. package/dist/Feed-a5229528.js +0 -1
  209. package/dist/Feed-a75d053e.js +0 -1
  210. package/dist/Feed-a7a6bd2e.mjs +0 -368
  211. package/dist/Feed-acfbb839.mjs +0 -371
  212. package/dist/Feed-aee74095.js +0 -1
  213. package/dist/Feed-af94027c.js +0 -1
  214. package/dist/Feed-b30ef609.js +0 -1
  215. package/dist/Feed-b616f102.mjs +0 -439
  216. package/dist/Feed-bbe44c17.mjs +0 -368
  217. package/dist/Feed-bf575b72.mjs +0 -428
  218. package/dist/Feed-bfd7d1d9.js +0 -1
  219. package/dist/Feed-c25dc839.js +0 -1
  220. package/dist/Feed-c4084664.mjs +0 -368
  221. package/dist/Feed-c5d4390a.js +0 -1
  222. package/dist/Feed-c6b67df4.js +0 -1
  223. package/dist/Feed-c88eb3aa.js +0 -1
  224. package/dist/Feed-c8b1c72d.js +0 -1
  225. package/dist/Feed-c8dc4359.js +0 -1
  226. package/dist/Feed-c9e6190e.js +0 -1
  227. package/dist/Feed-d0da2943.js +0 -1
  228. package/dist/Feed-d78d4b91.mjs +0 -439
  229. package/dist/Feed-e55bc6fa.js +0 -1
  230. package/dist/Feed-e6e84388.js +0 -1
  231. package/dist/Feed-e77e3bb3.js +0 -1
  232. package/dist/Feed-e9bddb71.mjs +0 -439
  233. package/dist/Feed-ee36f80b.js +0 -1
  234. package/dist/Feed-ef6c6ca3.mjs +0 -371
  235. package/dist/Feed-f0a40b33.js +0 -1
  236. package/dist/Feed-f3b2bd74.mjs +0 -439
  237. package/dist/Feed-f4e9769e.js +0 -1
  238. package/dist/Feed-f987d8bb.js +0 -1
  239. package/dist/Feed-fb4f7ee6.mjs +0 -368
  240. package/dist/Feed-fea84ce7.mjs +0 -439
  241. package/dist/Feed-ff3b96b2.js +0 -1
  242. package/dist/Gallery-1f82841a.mjs +0 -357
  243. package/dist/Gallery-9305f294.mjs +0 -357
  244. package/dist/Gallery-dd29c7f6.js +0 -1
  245. package/dist/Gallery-dea27e94.js +0 -1
  246. package/dist/IconChevronRight-a55f838e.js +0 -1
  247. package/dist/IconChevronRight-fae9d012.mjs +0 -28
  248. package/dist/IconCommunity-468dc457.mjs +0 -65
  249. package/dist/IconCommunity-b339e806.js +0 -1
  250. package/dist/IconCross-5bf93179.js +0 -1
  251. package/dist/IconCross-84cb1292.mjs +0 -28
  252. package/dist/IconEdit-1b7b5874.js +0 -1
  253. package/dist/IconEdit-4cfe2115.js +0 -1
  254. package/dist/IconEdit-680dc269.mjs +0 -339
  255. package/dist/IconEdit-823ddda9.js +0 -1
  256. package/dist/IconEdit-c98d3d06.mjs +0 -339
  257. package/dist/IconEdit-e4d0cc6e.js +0 -1
  258. package/dist/IconEdit-eacf3856.mjs +0 -44
  259. package/dist/IconEdit-f0ad8b9a.mjs +0 -205
  260. package/dist/Image-04944a2f.js +0 -9
  261. package/dist/Image-052a3cc2.mjs +0 -480
  262. package/dist/Image-0e21ae0a.mjs +0 -477
  263. package/dist/Image-0f2814f0.js +0 -9
  264. package/dist/Image-1281bc48.mjs +0 -477
  265. package/dist/Image-1f7252c0.mjs +0 -477
  266. package/dist/Image-2269667e.js +0 -9
  267. package/dist/Image-22e17cef.js +0 -9
  268. package/dist/Image-245c003d.mjs +0 -480
  269. package/dist/Image-268e2a1b.js +0 -9
  270. package/dist/Image-2d2e606a.js +0 -9
  271. package/dist/Image-35d31936.js +0 -9
  272. package/dist/Image-3fee8409.mjs +0 -477
  273. package/dist/Image-448f9228.js +0 -9
  274. package/dist/Image-5423e8ce.mjs +0 -480
  275. package/dist/Image-58efaf35.mjs +0 -477
  276. package/dist/Image-661e2fbc.mjs +0 -477
  277. package/dist/Image-75f5becb.js +0 -9
  278. package/dist/Image-7dcfe90d.mjs +0 -477
  279. package/dist/Image-89b2a540.js +0 -9
  280. package/dist/Image-8e67dd2d.js +0 -9
  281. package/dist/Image-93c3a270.mjs +0 -480
  282. package/dist/Image-95c0fb07.mjs +0 -480
  283. package/dist/Image-9e90a5f6.mjs +0 -477
  284. package/dist/Image-a2c2ab9c.js +0 -9
  285. package/dist/Image-ad6d4f0f.mjs +0 -477
  286. package/dist/Image-b2131fa0.mjs +0 -477
  287. package/dist/Image-be69af9c.mjs +0 -477
  288. package/dist/Image-c0ae2c5f.mjs +0 -477
  289. package/dist/Image-c90ee624.js +0 -9
  290. package/dist/Image-d01026cf.js +0 -9
  291. package/dist/Image-d42a89db.mjs +0 -477
  292. package/dist/Image-d5c4d8d9.js +0 -9
  293. package/dist/Image-d74c19ee.mjs +0 -477
  294. package/dist/Image-de94b883.js +0 -9
  295. package/dist/Image-f66dbbf4.js +0 -9
  296. package/dist/Image-fd501859.js +0 -9
  297. package/dist/LabelGooglePlay-24feb437.mjs +0 -31
  298. package/dist/LabelGooglePlay-f80e5ff0.js +0 -1
  299. package/dist/LeftoverAdd-21311275.js +0 -1
  300. package/dist/LeftoverAdd-ccf4595f.mjs +0 -228
  301. package/dist/LeftoverAdd-fc673884.js +0 -1
  302. package/dist/Members-2cb2ff58.mjs +0 -114
  303. package/dist/Members-85534d1f.js +0 -1
  304. package/dist/Members-9b013515.js +0 -1
  305. package/dist/Members-d64149f3.mjs +0 -109
  306. package/dist/Menu-b5d6a0c7.js +0 -1
  307. package/dist/Menu-dd7645c1.mjs +0 -13
  308. package/dist/MenuItem-0b249b94.mjs +0 -93
  309. package/dist/MenuItem-1216a99f.js +0 -1
  310. package/dist/MenuItem-56ae7f94.js +0 -1
  311. package/dist/MenuItem-6296d02f.mjs +0 -63
  312. package/dist/MenuItem-8b70d2cf.js +0 -1
  313. package/dist/MenuItem-97c50b97.mjs +0 -93
  314. package/dist/Organizations-0cb37d68.js +0 -1
  315. package/dist/Organizations-0fd5bc8b.mjs +0 -72
  316. package/dist/Organizations-d360c360.js +0 -1
  317. package/dist/Organizations-d6ef2113.mjs +0 -73
  318. package/dist/PlaceholderUserpic-14c6ea7e.mjs +0 -28
  319. package/dist/PlaceholderUserpic-20d58460.js +0 -1
  320. package/dist/PlaceholderUserpic-47f6f319.js +0 -1
  321. package/dist/Popup-0106ee0c.js +0 -1
  322. package/dist/Popup-0420381f.js +0 -1
  323. package/dist/Popup-0915427c.mjs +0 -74
  324. package/dist/Popup-0b38b537.js +0 -1
  325. package/dist/Popup-31c7ffc6.mjs +0 -76
  326. package/dist/Popup-383abb2e.js +0 -1
  327. package/dist/Popup-47b37484.mjs +0 -76
  328. package/dist/Popup-709634dc.mjs +0 -76
  329. package/dist/Popup-795f5c88.js +0 -1
  330. package/dist/Popup-ad5f59d0.js +0 -1
  331. package/dist/Popup-b7609baa.js +0 -1
  332. package/dist/Popup-d5c4cb46.mjs +0 -76
  333. package/dist/Popup-d7dbc670.mjs +0 -76
  334. package/dist/Popup-e6685f31.mjs +0 -76
  335. package/dist/Popup-e7c9a43e.mjs +0 -76
  336. package/dist/Popup-ee4bd834.js +0 -1
  337. package/dist/Popup-f5cdd3c1.js +0 -1
  338. package/dist/Popup-f7a5e86b.mjs +0 -76
  339. package/dist/Popup-fca78130.mjs +0 -76
  340. package/dist/Product-0095681c.mjs +0 -838
  341. package/dist/Product-09a39f0b.js +0 -7
  342. package/dist/Product-1892b14a.js +0 -7
  343. package/dist/Product-2459e9da.mjs +0 -838
  344. package/dist/Product-2c6df98d.mjs +0 -838
  345. package/dist/Product-2d05acc8.mjs +0 -839
  346. package/dist/Product-3001d998.mjs +0 -838
  347. package/dist/Product-3c2ae338.js +0 -7
  348. package/dist/Product-3c7b2921.mjs +0 -841
  349. package/dist/Product-3c9c8197.js +0 -7
  350. package/dist/Product-4b58701f.js +0 -7
  351. package/dist/Product-54854cd1.js +0 -7
  352. package/dist/Product-58a83c67.mjs +0 -838
  353. package/dist/Product-5994a8c9.mjs +0 -653
  354. package/dist/Product-601a9d5b.mjs +0 -838
  355. package/dist/Product-68fa1e9e.js +0 -7
  356. package/dist/Product-6aa1c9ee.mjs +0 -844
  357. package/dist/Product-6ca8d04d.js +0 -7
  358. package/dist/Product-6d05d027.js +0 -7
  359. package/dist/Product-6df77924.js +0 -7
  360. package/dist/Product-748ec8b7.mjs +0 -842
  361. package/dist/Product-7f86f9d4.js +0 -7
  362. package/dist/Product-84e2c789.js +0 -7
  363. package/dist/Product-852f952c.js +0 -7
  364. package/dist/Product-86bb1a63.mjs +0 -838
  365. package/dist/Product-89ca1bff.js +0 -7
  366. package/dist/Product-8bee8d1c.mjs +0 -838
  367. package/dist/Product-9170a446.mjs +0 -838
  368. package/dist/Product-943b64bb.mjs +0 -838
  369. package/dist/Product-977a8a7f.js +0 -7
  370. package/dist/Product-a23f852f.js +0 -7
  371. package/dist/Product-a39f3ca3.js +0 -7
  372. package/dist/Product-a6251018.mjs +0 -844
  373. package/dist/Product-a9efa410.js +0 -7
  374. package/dist/Product-abf86516.js +0 -7
  375. package/dist/Product-b054c74c.mjs +0 -838
  376. package/dist/Product-b1336cde.js +0 -7
  377. package/dist/Product-b32fb0e1.js +0 -7
  378. package/dist/Product-b7c53f33.mjs +0 -838
  379. package/dist/Product-bbdc8460.mjs +0 -841
  380. package/dist/Product-bbe7171a.mjs +0 -842
  381. package/dist/Product-c085f00f.mjs +0 -838
  382. package/dist/Product-d01e3a0d.mjs +0 -839
  383. package/dist/Product-d3f1d10a.mjs +0 -844
  384. package/dist/Product-d9c3b9b9.js +0 -7
  385. package/dist/Product-dc5024f6.js +0 -7
  386. package/dist/Product-dccb371a.mjs +0 -838
  387. package/dist/Product-e43dd2f1.js +0 -7
  388. package/dist/Product-e4e583f0.mjs +0 -652
  389. package/dist/Product-e825edfc.mjs +0 -838
  390. package/dist/Product-f017e6cd.js +0 -7
  391. package/dist/ProductEdit-052b0aef.mjs +0 -350
  392. package/dist/ProductEdit-171c9923.js +0 -1
  393. package/dist/ProductEdit-17f4e395.mjs +0 -304
  394. package/dist/ProductEdit-23d35d67.mjs +0 -350
  395. package/dist/ProductEdit-2b4d1d88.js +0 -1
  396. package/dist/ProductEdit-2e309add.js +0 -1
  397. package/dist/ProductEdit-3350274e.js +0 -1
  398. package/dist/ProductEdit-36e5cfdd.js +0 -1
  399. package/dist/ProductEdit-3aecb5bf.js +0 -1
  400. package/dist/ProductEdit-3d7f2823.js +0 -1
  401. package/dist/ProductEdit-3ff2af92.js +0 -1
  402. package/dist/ProductEdit-4af06681.js +0 -1
  403. package/dist/ProductEdit-4f9b6d56.js +0 -1
  404. package/dist/ProductEdit-55b6cb06.mjs +0 -350
  405. package/dist/ProductEdit-56752bbe.mjs +0 -350
  406. package/dist/ProductEdit-576c9ff8.js +0 -1
  407. package/dist/ProductEdit-590b7a01.js +0 -1
  408. package/dist/ProductEdit-5e479343.mjs +0 -300
  409. package/dist/ProductEdit-64207814.mjs +0 -296
  410. package/dist/ProductEdit-6abcc97b.mjs +0 -306
  411. package/dist/ProductEdit-70ddae4d.js +0 -1
  412. package/dist/ProductEdit-737e2a5a.mjs +0 -302
  413. package/dist/ProductEdit-777bb9e2.mjs +0 -350
  414. package/dist/ProductEdit-82658f2f.mjs +0 -350
  415. package/dist/ProductEdit-86fedffe.mjs +0 -350
  416. package/dist/ProductEdit-8e779ed8.js +0 -1
  417. package/dist/ProductEdit-a1050ab6.mjs +0 -303
  418. package/dist/ProductEdit-a322f1ba.js +0 -1
  419. package/dist/ProductEdit-a434240f.js +0 -1
  420. package/dist/ProductEdit-a57fd2b0.mjs +0 -350
  421. package/dist/ProductEdit-ab0530e8.js +0 -1
  422. package/dist/ProductEdit-ab5d71ce.mjs +0 -350
  423. package/dist/ProductEdit-aca44ef7.mjs +0 -300
  424. package/dist/ProductEdit-ba3fef8c.mjs +0 -350
  425. package/dist/ProductEdit-c08ee26f.mjs +0 -350
  426. package/dist/ProductEdit-c99ab559.js +0 -1
  427. package/dist/ProductEdit-cdc3415a.mjs +0 -350
  428. package/dist/ProductEdit-d2666662.js +0 -1
  429. package/dist/ProductEdit-d5dec3cf.js +0 -1
  430. package/dist/ProductEdit-d74fddb1.mjs +0 -350
  431. package/dist/ProductEdit-dae66a53.js +0 -1
  432. package/dist/ProductEdit-e22cc4ef.js +0 -1
  433. package/dist/ProductEdit-e4cad9d1.js +0 -1
  434. package/dist/ProductEdit-e5a2e0f6.js +0 -1
  435. package/dist/ProductEdit-e71dbe52.js +0 -1
  436. package/dist/ProductEdit-e827ea38.mjs +0 -350
  437. package/dist/ProductEdit-ebcc3f98.mjs +0 -306
  438. package/dist/ProductEdit-f7a9af17.mjs +0 -303
  439. package/dist/ProductEdit-f901314c.mjs +0 -306
  440. package/dist/ProductEdit-fa0117b6.mjs +0 -350
  441. package/dist/ProductsBackoffice-0c93f9b6.js +0 -1
  442. package/dist/ProductsBackoffice-3c182d6a.mjs +0 -86
  443. package/dist/ProductsBackoffice-b684913d.js +0 -1
  444. package/dist/ProfileBlogposts-03d04b92.mjs +0 -66
  445. package/dist/ProfileBlogposts-070cb7e9.mjs +0 -65
  446. package/dist/ProfileBlogposts-08f784c3.mjs +0 -64
  447. package/dist/ProfileBlogposts-0b81d964.js +0 -1
  448. package/dist/ProfileBlogposts-2063c511.mjs +0 -65
  449. package/dist/ProfileBlogposts-39c20b79.mjs +0 -64
  450. package/dist/ProfileBlogposts-3aea0091.mjs +0 -64
  451. package/dist/ProfileBlogposts-4293a1e3.js +0 -1
  452. package/dist/ProfileBlogposts-4c326fed.mjs +0 -65
  453. package/dist/ProfileBlogposts-5379335e.js +0 -1
  454. package/dist/ProfileBlogposts-5382274b.mjs +0 -64
  455. package/dist/ProfileBlogposts-57931834.mjs +0 -70
  456. package/dist/ProfileBlogposts-5c0f3b58.js +0 -1
  457. package/dist/ProfileBlogposts-5c6ab74a.mjs +0 -64
  458. package/dist/ProfileBlogposts-5deee0c5.mjs +0 -65
  459. package/dist/ProfileBlogposts-62d5e809.mjs +0 -70
  460. package/dist/ProfileBlogposts-67e1bd8f.mjs +0 -64
  461. package/dist/ProfileBlogposts-69beaa14.js +0 -1
  462. package/dist/ProfileBlogposts-6c715a38.js +0 -1
  463. package/dist/ProfileBlogposts-6f80b734.mjs +0 -64
  464. package/dist/ProfileBlogposts-8b66ae1b.js +0 -1
  465. package/dist/ProfileBlogposts-8c10a505.js +0 -1
  466. package/dist/ProfileBlogposts-8f6191d6.js +0 -1
  467. package/dist/ProfileBlogposts-92c4addb.mjs +0 -64
  468. package/dist/ProfileBlogposts-a2d04221.js +0 -1
  469. package/dist/ProfileBlogposts-a2f7cd4c.mjs +0 -70
  470. package/dist/ProfileBlogposts-a798df3d.js +0 -1
  471. package/dist/ProfileBlogposts-aa839fcb.mjs +0 -77
  472. package/dist/ProfileBlogposts-af88ce98.js +0 -1
  473. package/dist/ProfileBlogposts-b59992cf.mjs +0 -79
  474. package/dist/ProfileBlogposts-b6bf0c42.js +0 -1
  475. package/dist/ProfileBlogposts-bf3cd8e5.mjs +0 -64
  476. package/dist/ProfileBlogposts-c31917ec.js +0 -1
  477. package/dist/ProfileBlogposts-d1d3326e.js +0 -1
  478. package/dist/ProfileBlogposts-d6bba033.js +0 -1
  479. package/dist/ProfileBlogposts-e3ea2c82.js +0 -1
  480. package/dist/ProfileBlogposts-eaecd267.js +0 -1
  481. package/dist/ProfileBlogposts-f90f947b.mjs +0 -64
  482. package/dist/ProfileBlogposts-f9312adf.js +0 -1
  483. package/dist/ProfileComments-03f88b54.mjs +0 -44
  484. package/dist/ProfileComments-061ea40b.mjs +0 -44
  485. package/dist/ProfileComments-06985576.mjs +0 -44
  486. package/dist/ProfileComments-0d22a8ec.js +0 -1
  487. package/dist/ProfileComments-12b51ae3.js +0 -1
  488. package/dist/ProfileComments-1525663e.mjs +0 -44
  489. package/dist/ProfileComments-17352b6a.mjs +0 -44
  490. package/dist/ProfileComments-1ae70859.js +0 -1
  491. package/dist/ProfileComments-1cbf5c45.js +0 -1
  492. package/dist/ProfileComments-1e0d72cc.mjs +0 -44
  493. package/dist/ProfileComments-3cf3e265.mjs +0 -44
  494. package/dist/ProfileComments-473c3413.js +0 -1
  495. package/dist/ProfileComments-6d863cd3.mjs +0 -45
  496. package/dist/ProfileComments-761ce00e.js +0 -1
  497. package/dist/ProfileComments-78231e6a.mjs +0 -44
  498. package/dist/ProfileComments-8a0c489c.mjs +0 -44
  499. package/dist/ProfileComments-8c9146ef.js +0 -1
  500. package/dist/ProfileComments-9398be62.mjs +0 -44
  501. package/dist/ProfileComments-96f6cde8.mjs +0 -44
  502. package/dist/ProfileComments-bae499e9.js +0 -1
  503. package/dist/ProfileComments-c3290211.js +0 -1
  504. package/dist/ProfileComments-c7230f42.mjs +0 -44
  505. package/dist/ProfileComments-cdaccefe.mjs +0 -44
  506. package/dist/ProfileComments-d6779ee2.mjs +0 -44
  507. package/dist/ProfileComments-db4b6fbc.js +0 -1
  508. package/dist/ProfileComments-dd923865.js +0 -1
  509. package/dist/ProfileComments-e0116e5f.js +0 -1
  510. package/dist/ProfileComments-e6970923.js +0 -1
  511. package/dist/ProfileComments-f0000ea6.js +0 -1
  512. package/dist/ProfileEvents-0bdd36e4.mjs +0 -57
  513. package/dist/ProfileEvents-11dc4034.mjs +0 -56
  514. package/dist/ProfileEvents-1ca72873.mjs +0 -56
  515. package/dist/ProfileEvents-1e0c1291.js +0 -1
  516. package/dist/ProfileEvents-26a72fe2.mjs +0 -56
  517. package/dist/ProfileEvents-2f22e7cf.mjs +0 -56
  518. package/dist/ProfileEvents-3089a526.mjs +0 -56
  519. package/dist/ProfileEvents-314eadc3.js +0 -1
  520. package/dist/ProfileEvents-3f7ca2c1.js +0 -1
  521. package/dist/ProfileEvents-47409c9e.mjs +0 -62
  522. package/dist/ProfileEvents-48c70286.mjs +0 -56
  523. package/dist/ProfileEvents-4a2fa422.mjs +0 -57
  524. package/dist/ProfileEvents-588eadf9.js +0 -1
  525. package/dist/ProfileEvents-6b3fb52e.mjs +0 -68
  526. package/dist/ProfileEvents-7502ed90.mjs +0 -57
  527. package/dist/ProfileEvents-76166bc5.mjs +0 -56
  528. package/dist/ProfileEvents-7b202655.js +0 -1
  529. package/dist/ProfileEvents-82517a3b.mjs +0 -56
  530. package/dist/ProfileEvents-893285bb.js +0 -1
  531. package/dist/ProfileEvents-89471c05.js +0 -1
  532. package/dist/ProfileEvents-8b88287a.js +0 -1
  533. package/dist/ProfileEvents-90448f97.js +0 -1
  534. package/dist/ProfileEvents-917169c6.mjs +0 -58
  535. package/dist/ProfileEvents-980b0281.mjs +0 -56
  536. package/dist/ProfileEvents-996bce18.js +0 -1
  537. package/dist/ProfileEvents-a28a4ee5.js +0 -1
  538. package/dist/ProfileEvents-a9b96fec.js +0 -1
  539. package/dist/ProfileEvents-af2536a3.js +0 -1
  540. package/dist/ProfileEvents-ba769f57.mjs +0 -56
  541. package/dist/ProfileEvents-bbdd62e7.mjs +0 -70
  542. package/dist/ProfileEvents-bff6e071.js +0 -1
  543. package/dist/ProfileEvents-c9aa3d41.mjs +0 -56
  544. package/dist/ProfileEvents-cc65404c.js +0 -1
  545. package/dist/ProfileEvents-cdebd612.js +0 -1
  546. package/dist/ProfileEvents-d0c5e3dc.js +0 -1
  547. package/dist/ProfileEvents-d978617d.mjs +0 -57
  548. package/dist/ProfileEvents-db12cf78.js +0 -1
  549. package/dist/ProfileEvents-e070d9d4.mjs +0 -62
  550. package/dist/ProfileEvents-e62e76cf.js +0 -1
  551. package/dist/ProfileEvents-ea023c17.js +0 -1
  552. package/dist/ProfileEvents-ed7f9603.mjs +0 -62
  553. package/dist/ProfileLikes-0402d1fb.js +0 -1
  554. package/dist/ProfileLikes-05911934.mjs +0 -44
  555. package/dist/ProfileLikes-0c8a7255.mjs +0 -44
  556. package/dist/ProfileLikes-11ca8c11.js +0 -1
  557. package/dist/ProfileLikes-23b6f2f9.js +0 -1
  558. package/dist/ProfileLikes-36373ac1.mjs +0 -44
  559. package/dist/ProfileLikes-3c5c02be.mjs +0 -44
  560. package/dist/ProfileLikes-3edf6fb8.mjs +0 -44
  561. package/dist/ProfileLikes-51729962.js +0 -1
  562. package/dist/ProfileLikes-553c52df.js +0 -1
  563. package/dist/ProfileLikes-5b52e4ae.mjs +0 -44
  564. package/dist/ProfileLikes-6cf19687.js +0 -1
  565. package/dist/ProfileLikes-74c78a16.mjs +0 -44
  566. package/dist/ProfileLikes-75215d15.mjs +0 -44
  567. package/dist/ProfileLikes-92196922.mjs +0 -45
  568. package/dist/ProfileLikes-a2c1b585.js +0 -1
  569. package/dist/ProfileLikes-b1060d1e.js +0 -1
  570. package/dist/ProfileLikes-b48ce0ef.js +0 -1
  571. package/dist/ProfileLikes-c068c6c6.js +0 -1
  572. package/dist/ProfileLikes-c8dab14d.mjs +0 -44
  573. package/dist/ProfileLikes-ca197731.mjs +0 -44
  574. package/dist/ProfileLikes-d5f9f058.js +0 -1
  575. package/dist/ProfileLikes-da6303a4.js +0 -1
  576. package/dist/ProfileLikes-e31f28dc.js +0 -1
  577. package/dist/ProfileLikes-e4fa0792.mjs +0 -44
  578. package/dist/ProfileLikes-e88dae8f.mjs +0 -44
  579. package/dist/ProfileLikes-f5ad4497.mjs +0 -44
  580. package/dist/ProfileLikes-f838ff5e.mjs +0 -44
  581. package/dist/ProfileLikes-fa41bad0.js +0 -1
  582. package/dist/ProfileOrganizations-1f9f1841.js +0 -1
  583. package/dist/ProfileOrganizations-3a879480.mjs +0 -212
  584. package/dist/ProfileOrganizations-422d1fa5.js +0 -1
  585. package/dist/ProfileOrganizations-43710687.js +0 -1
  586. package/dist/ProfileOrganizations-4734c02e.mjs +0 -73
  587. package/dist/ProfileOrganizations-5348e892.js +0 -1
  588. package/dist/ProfileOrganizations-55914b43.js +0 -1
  589. package/dist/ProfileOrganizations-58ebfe44.mjs +0 -212
  590. package/dist/ProfileOrganizations-5b5480d5.mjs +0 -212
  591. package/dist/ProfileOrganizations-600d310d.js +0 -1
  592. package/dist/ProfileOrganizations-6b1bc5b2.mjs +0 -213
  593. package/dist/ProfileOrganizations-6f4df3da.js +0 -1
  594. package/dist/ProfileOrganizations-738f444a.js +0 -1
  595. package/dist/ProfileOrganizations-769325c7.js +0 -1
  596. package/dist/ProfileOrganizations-774c6508.mjs +0 -212
  597. package/dist/ProfileOrganizations-78fef72e.js +0 -1
  598. package/dist/ProfileOrganizations-7911deec.mjs +0 -219
  599. package/dist/ProfileOrganizations-8961aaee.mjs +0 -213
  600. package/dist/ProfileOrganizations-930ca51f.mjs +0 -212
  601. package/dist/ProfileOrganizations-974a50ca.mjs +0 -212
  602. package/dist/ProfileOrganizations-ae258581.js +0 -1
  603. package/dist/ProfileOrganizations-bee6a3ae.js +0 -1
  604. package/dist/ProfileOrganizations-c4fb03a1.mjs +0 -72
  605. package/dist/ProfileOrganizations-c5151835.mjs +0 -214
  606. package/dist/ProfileOrganizations-cef668b5.mjs +0 -212
  607. package/dist/ProfileOrganizations-cf8a12f5.mjs +0 -213
  608. package/dist/ProfileOrganizations-d4ec181b.js +0 -1
  609. package/dist/ProfileOrganizations-d55ee487.js +0 -1
  610. package/dist/ProfileOrganizations-db313b5e.mjs +0 -219
  611. package/dist/ProfileOrganizations-ec908108.mjs +0 -212
  612. package/dist/ProfileOrganizations-f52e62e1.js +0 -1
  613. package/dist/Publics-0762210a.js +0 -1
  614. package/dist/Publics-103da60e.js +0 -1
  615. package/dist/Publics-24f055eb.js +0 -1
  616. package/dist/Publics-4438ca51.js +0 -1
  617. package/dist/Publics-4db36606.js +0 -1
  618. package/dist/Publics-50c0ff6c.js +0 -1
  619. package/dist/Publics-538180a8.mjs +0 -45
  620. package/dist/Publics-5472f70c.mjs +0 -123
  621. package/dist/Publics-5ae33b91.mjs +0 -123
  622. package/dist/Publics-640d32fc.mjs +0 -123
  623. package/dist/Publics-660e851c.mjs +0 -45
  624. package/dist/Publics-6b7c97bd.js +0 -1
  625. package/dist/Publics-70a0ca9c.mjs +0 -45
  626. package/dist/Publics-71b9efbe.js +0 -1
  627. package/dist/Publics-8595ab7e.js +0 -1
  628. package/dist/Publics-8bb9a680.js +0 -1
  629. package/dist/Publics-8bc74cc3.js +0 -1
  630. package/dist/Publics-abbe2e0c.mjs +0 -123
  631. package/dist/Publics-b1cbfd97.mjs +0 -45
  632. package/dist/Publics-bbab7a79.js +0 -1
  633. package/dist/Publics-bed70f0c.mjs +0 -123
  634. package/dist/Publics-cbb8eaaa.mjs +0 -123
  635. package/dist/Publics-e14d36ed.js +0 -1
  636. package/dist/Publics-f34131bf.mjs +0 -45
  637. package/dist/Publics-f4c3ef5b.mjs +0 -123
  638. package/dist/Publics-fcb1f708.mjs +0 -123
  639. package/dist/Publics-ffc08ad7.mjs +0 -123
  640. package/dist/Select-90d4b7c8.mjs +0 -81
  641. package/dist/Select-b9299fb6.js +0 -1
  642. package/dist/Select.vue_vue_type_style_index_0_scoped_a78dbba1_lang-0ea8fbf8.js +0 -1
  643. package/dist/Select.vue_vue_type_style_index_0_scoped_a78dbba1_lang-4ed993c7.mjs +0 -1
  644. package/dist/SkeletonBlogpost-95db0fa9.js +0 -1
  645. package/dist/SkeletonBlogpost-e0621af7.mjs +0 -16
  646. package/dist/SkeletonEventShort-6c9e3940.js +0 -1
  647. package/dist/SkeletonEventShort-f030e56f.mjs +0 -16
  648. package/dist/SkeletonOrganization-5c09cfc5.js +0 -1
  649. package/dist/SkeletonOrganization-8690422d.mjs +0 -16
  650. package/dist/Socials-31c06635.mjs +0 -74
  651. package/dist/Socials-3fe01af1.mjs +0 -275
  652. package/dist/Socials-821bd677.js +0 -1
  653. package/dist/Socials-9b2d27a6.js +0 -1
  654. package/dist/Socials-b19d0cb1.js +0 -1
  655. package/dist/Socials-becde7dc.mjs +0 -275
  656. package/dist/Socials-cceaeaf2.js +0 -1
  657. package/dist/Tab-6f0a4909.js +0 -1
  658. package/dist/Tab-a243605d.mjs +0 -46
  659. package/dist/Tab-dcd62005.js +0 -1
  660. package/dist/UploadImage-15e24d71.mjs +0 -83
  661. package/dist/UploadImage-1b4c2a5e.mjs +0 -83
  662. package/dist/UploadImage-2170c4df.js +0 -1
  663. package/dist/UploadImage-33f6a9f4.js +0 -1
  664. package/dist/UploadImage-39483aee.mjs +0 -83
  665. package/dist/UploadImage-39d42048.js +0 -1
  666. package/dist/UploadImage-6344f789.js +0 -1
  667. package/dist/UploadImage-739cab04.js +0 -1
  668. package/dist/UploadImage-73d66f27.js +0 -1
  669. package/dist/UploadImage-802b81db.js +0 -1
  670. package/dist/UploadImage-86fda95d.mjs +0 -83
  671. package/dist/UploadImage-8835be69.mjs +0 -83
  672. package/dist/UploadImage-a3ef4012.mjs +0 -83
  673. package/dist/UploadImage-c9711af2.js +0 -1
  674. package/dist/UploadImage-dfb36cdb.js +0 -1
  675. package/dist/UploadImage-e4418b43.mjs +0 -83
  676. package/dist/UploadImage-ec3714e8.mjs +0 -83
  677. package/dist/UploadImage-f04e4bc0.mjs +0 -83
  678. package/dist/UploadImage-f7b0335f.mjs +0 -83
  679. package/dist/UploadImageMultiple-297b3897.js +0 -1
  680. package/dist/UploadImageMultiple-7b132ba0.mjs +0 -58
  681. package/dist/UploadImageMultiple-b4c8d627.js +0 -1
  682. package/dist/UploadImageMultiple-c9a7b54f.js +0 -1
  683. package/dist/UploadImageMultiple-d2d48f39.mjs +0 -58
  684. package/dist/UploadImageMultiple-ebcc51e6.mjs +0 -58
  685. package/dist/addMembersQuantity-ea216f92.mjs +0 -85
  686. package/dist/addMembersQuantity-f922d82b.js +0 -84
  687. package/dist/auth-06d35b82.js +0 -7
  688. package/dist/auth-2f9b2dfc.js +0 -7
  689. package/dist/auth-3dedf391.js +0 -8
  690. package/dist/auth-4415a97a.js +0 -7
  691. package/dist/auth-45a454f2.js +0 -7
  692. package/dist/auth-5217f6a5.mjs +0 -1498
  693. package/dist/auth-5a58f8cb.js +0 -8
  694. package/dist/auth-5cd34aae.mjs +0 -905
  695. package/dist/auth-60c81f40.mjs +0 -1836
  696. package/dist/auth-78d9392a.mjs +0 -612
  697. package/dist/auth-962e3b73.mjs +0 -1836
  698. package/dist/auth-96449d96.js +0 -7
  699. package/dist/auth-98fe3efb.mjs +0 -612
  700. package/dist/auth-acbe3ae1.js +0 -7
  701. package/dist/auth-afa25b86.mjs +0 -905
  702. package/dist/auth-b047fdc0.mjs +0 -612
  703. package/dist/auth-b61483ce.js +0 -8
  704. package/dist/auth-c3234662.mjs +0 -1836
  705. package/dist/auth-cfeacd61.mjs +0 -1839
  706. package/dist/auth-e8f6d979.js +0 -8
  707. package/dist/auth-ec618cb3.mjs +0 -627
  708. package/dist/auth.validation-02e0629b.mjs +0 -20
  709. package/dist/auth.validation-0ce9e326.js +0 -1
  710. package/dist/auth.validation-1b60cef5.mjs +0 -20
  711. package/dist/auth.validation-1d5f2990.mjs +0 -20
  712. package/dist/auth.validation-2cdd2231.mjs +0 -17
  713. package/dist/auth.validation-2dfb450f.js +0 -1
  714. package/dist/auth.validation-2f00457e.js +0 -1
  715. package/dist/auth.validation-30bb0efd.js +0 -1
  716. package/dist/auth.validation-3e93dc23.mjs +0 -20
  717. package/dist/auth.validation-3fd4cc7c.mjs +0 -20
  718. package/dist/auth.validation-495e9d6d.js +0 -1
  719. package/dist/auth.validation-4b016fa5.js +0 -1
  720. package/dist/auth.validation-6a59443b.js +0 -1
  721. package/dist/auth.validation-892bea9b.js +0 -1
  722. package/dist/auth.validation-9e493d2f.mjs +0 -20
  723. package/dist/auth.validation-9f87ea95.mjs +0 -20
  724. package/dist/auth.validation-a17cd085.js +0 -1
  725. package/dist/auth.validation-a52304cf.mjs +0 -20
  726. package/dist/auth.validation-ba3606bf.mjs +0 -24
  727. package/dist/auth.validation-be05e981.js +0 -1
  728. package/dist/auth.validation-c8d5adf5.mjs +0 -20
  729. package/dist/auth.validation-d4795c25.js +0 -1
  730. package/dist/auth.validation-e265b496.mjs +0 -23
  731. package/dist/carousel.es-ee047568.js +0 -5
  732. package/dist/categories-4327a81c.js +0 -1
  733. package/dist/categories-82b28618.js +0 -1
  734. package/dist/categories-df3240a7.mjs +0 -122
  735. package/dist/components/CardFooter/CardFooter.vue.d.ts +0 -8
  736. package/dist/components/CardHeader/CardHeader.vue.d.ts +0 -15
  737. package/dist/dribbble-8e8e169b.js +0 -1
  738. package/dist/dribbble-ae37c2ac.mjs +0 -127
  739. package/dist/icons.client.cjs +0 -1
  740. package/dist/icons.client.js +0 -84
  741. package/dist/index-0ab9d59c.mjs +0 -934
  742. package/dist/index-2059e444.js +0 -2
  743. package/dist/index-2a0269fc.js +0 -2
  744. package/dist/index-4e469a71.mjs +0 -941
  745. package/dist/index-7ecbf72a.js +0 -2
  746. package/dist/index-9128ade5.mjs +0 -1228
  747. package/dist/inputs.validation-14e8e01f.mjs +0 -93
  748. package/dist/inputs.validation-24ae76b9.js +0 -1
  749. package/dist/leftovers-66951de6.js +0 -1
  750. package/dist/mailing-25d08f4c.js +0 -49
  751. package/dist/mailing-ebc6e90f.mjs +0 -50
  752. package/dist/metadata.schema-147f9902.mjs +0 -212
  753. package/dist/metadata.schema-4f856191.js +0 -85
  754. package/dist/metadata.schema-7f36e829.mjs +0 -86
  755. package/dist/metadata.schema-93397f9f.js +0 -211
  756. package/dist/modules/backoffice/components/admin/LeftoverAdd.vue.d.ts +0 -2
  757. package/dist/modules/backoffice/components/admin/Leftovers.vue.d.ts +0 -2
  758. package/dist/modules/backoffice/components/admin/Order.vue.d.ts +0 -6
  759. package/dist/modules/backoffice/components/admin/Orders.vue.d.ts +0 -2
  760. package/dist/modules/backoffice/components/admin/Product.vue.d.ts +0 -2
  761. package/dist/modules/backoffice/components/admin/Products.vue.d.ts +0 -2
  762. package/dist/modules/backoffice/components/layouts/Account.vue.d.ts +0 -2
  763. package/dist/modules/backoffice/components/pages/Favorites.vue.d.ts +0 -6
  764. package/dist/modules/backoffice/components/pages/History.vue.d.ts +0 -6
  765. package/dist/modules/backoffice/components/pages/Organizations.vue.d.ts +0 -2
  766. package/dist/modules/backoffice/components/pages/Profile.vue.d.ts +0 -2
  767. package/dist/modules/backoffice/components/pages/Wallet.vue.d.ts +0 -2
  768. package/dist/modules/backoffice/components/pages/profile/ProfileEdit.vue.d.ts +0 -2
  769. package/dist/modules/gallery/components/sections/Gallery.vue.d.ts +0 -2
  770. package/dist/modules/landing/components/pages/Legal.vue.d.ts +0 -2
  771. package/dist/modules/landing/components/pages/legal/Cookies.vue.d.ts +0 -2
  772. package/dist/modules/landing/components/pages/legal/Privacy.vue.d.ts +0 -2
  773. package/dist/modules/landing/components/pages/legal/Terms.vue.d.ts +0 -2
  774. package/dist/modules/orders/components/pages/History.vue.d.ts +0 -6
  775. package/dist/modules/organizations/components/blocks/DepartmentSubDepartmentModify.vue.d.ts +0 -11
  776. package/dist/modules/organizations/components/elements/ButtonFollow.vue.d.ts +0 -10
  777. package/dist/modules/organizations/components/pages/OrganizationsAccount.vue.d.ts +0 -2
  778. package/dist/modules/organizations/components/sections/Department.vue.d.ts +0 -7
  779. package/dist/modules/organizations/components/sections/Department2.vue.d.ts +0 -7
  780. package/dist/modules/organizations/components/sections/MembersTab.vue.d.ts +0 -7
  781. package/dist/modules/organizations/components/sections/PlaceModify.vue.d.ts +0 -9
  782. package/dist/modules/organizations/components/sections/Places.vue.d.ts +0 -9
  783. package/dist/modules/organizations/components/sections/StructureTab.vue.d.ts +0 -8
  784. package/dist/modules/products/components/blocks/Leftover.vue.d.ts +0 -6
  785. package/dist/modules/products/components/blocks/ProductCard.vue.d.ts +0 -6
  786. package/dist/organizations-0fb56927.mjs +0 -122
  787. package/dist/organizations-195ec134.js +0 -1
  788. package/dist/organizations-2adff182.mjs +0 -121
  789. package/dist/organizations-4157d81d.js +0 -1
  790. package/dist/organizations-49a10611.js +0 -1
  791. package/dist/organizations-4d18a2e2.js +0 -1
  792. package/dist/organizations-52438d24.mjs +0 -121
  793. package/dist/organizations-65937ba4.js +0 -1
  794. package/dist/organizations-6ed907e3.mjs +0 -122
  795. package/dist/organizations-81e762e7.mjs +0 -122
  796. package/dist/organizations-8408770b.mjs +0 -121
  797. package/dist/organizations-8ffdf84d.mjs +0 -121
  798. package/dist/organizations-a241b21d.js +0 -1
  799. package/dist/organizations-aed4245d.mjs +0 -122
  800. package/dist/organizations-af965fcf.mjs +0 -122
  801. package/dist/organizations-bb8f676d.js +0 -1
  802. package/dist/organizations-cf1ab766.js +0 -1
  803. package/dist/organizations-e1bfd3a8.mjs +0 -121
  804. package/dist/organizations-e74f4f84.js +0 -1
  805. package/dist/organizations-e97a0f85.js +0 -1
  806. package/dist/organizations-ea9de495.mjs +0 -122
  807. package/dist/organizations.client-0071acee.js +0 -3
  808. package/dist/organizations.client-01593e4d.js +0 -3
  809. package/dist/organizations.client-13fc2cbe.js +0 -3
  810. package/dist/organizations.client-16ee6b43.js +0 -3
  811. package/dist/organizations.client-1b0906f9.js +0 -3
  812. package/dist/organizations.client-1b9fa66e.mjs +0 -2997
  813. package/dist/organizations.client-1e9361ec.js +0 -3
  814. package/dist/organizations.client-1eb0b49c.js +0 -3
  815. package/dist/organizations.client-21cfcf36.mjs +0 -3038
  816. package/dist/organizations.client-292e8444.js +0 -3
  817. package/dist/organizations.client-2e452fee.js +0 -3
  818. package/dist/organizations.client-37ec4817.js +0 -3
  819. package/dist/organizations.client-39196bef.mjs +0 -3041
  820. package/dist/organizations.client-43816e25.mjs +0 -3018
  821. package/dist/organizations.client-48568171.mjs +0 -3017
  822. package/dist/organizations.client-49eaeca6.mjs +0 -3017
  823. package/dist/organizations.client-52d2951c.mjs +0 -3017
  824. package/dist/organizations.client-5548024c.js +0 -3
  825. package/dist/organizations.client-63b476ff.mjs +0 -2996
  826. package/dist/organizations.client-6947e530.js +0 -3
  827. package/dist/organizations.client-696eacbb.js +0 -3
  828. package/dist/organizations.client-6a69b54a.js +0 -3
  829. package/dist/organizations.client-6f1f8b73.mjs +0 -3017
  830. package/dist/organizations.client-6fc91683.mjs +0 -3072
  831. package/dist/organizations.client-723ebb3b.js +0 -3
  832. package/dist/organizations.client-76c3660a.mjs +0 -3072
  833. package/dist/organizations.client-7e51b4a8.js +0 -3
  834. package/dist/organizations.client-85a2ae66.js +0 -3
  835. package/dist/organizations.client-88d41199.mjs +0 -3038
  836. package/dist/organizations.client-8aa34e80.mjs +0 -3017
  837. package/dist/organizations.client-91e84d4f.mjs +0 -3022
  838. package/dist/organizations.client-976762d2.mjs +0 -3021
  839. package/dist/organizations.client-9e480f60.js +0 -3
  840. package/dist/organizations.client-b0878617.js +0 -3
  841. package/dist/organizations.client-b39db194.js +0 -3
  842. package/dist/organizations.client-b692a78a.mjs +0 -3018
  843. package/dist/organizations.client-bae43c7c.mjs +0 -3017
  844. package/dist/organizations.client-bdc9b044.js +0 -3
  845. package/dist/organizations.client-be1224a1.mjs +0 -3017
  846. package/dist/organizations.client-bf73e73d.mjs +0 -3017
  847. package/dist/organizations.client-c288ff44.mjs +0 -3072
  848. package/dist/organizations.client-c6fd9351.js +0 -3
  849. package/dist/organizations.client-c7844bc2.mjs +0 -3038
  850. package/dist/organizations.client-cdbaf6aa.mjs +0 -3017
  851. package/dist/organizations.client-d0cae5f4.mjs +0 -3017
  852. package/dist/organizations.client-d21a22ec.js +0 -3
  853. package/dist/organizations.client-d47f0b3f.js +0 -3
  854. package/dist/organizations.client-ddbf8809.js +0 -3
  855. package/dist/organizations.client-df5e8a6f.mjs +0 -3020
  856. package/dist/organizations.client-f4dff584.mjs +0 -3017
  857. package/dist/organizations.client-fa3b0839.mjs +0 -3017
  858. package/dist/products-7960bbd4.js +0 -1
  859. package/dist/products-7e4253eb.js +0 -1
  860. package/dist/products-bf5783aa.mjs +0 -108
  861. package/dist/states.validation-02ba0aee.js +0 -1
  862. package/dist/states.validation-03f7cd49.js +0 -1
  863. package/dist/states.validation-50e3a5a0.mjs +0 -13
  864. package/dist/states.validation-766a62a6.mjs +0 -13
  865. package/dist/states.validation-92231934.js +0 -1
  866. package/dist/states.validation-e5f4fa3a.mjs +0 -13
  867. package/dist/vue-draggable-next.esm-bundler-80731ae0.js +0 -10
  868. package/dist/vuex.esm-bundler-e8cf3cd2.js +0 -5
@@ -1,2996 +0,0 @@
1
- import { openBlock as a, createElementBlock as r, createElementVNode as n, toDisplayString as g, ref as w, renderSlot as z, createVNode as m, Transition as F, withCtx as y, createCommentVNode as f, onMounted as ue, watch as H, Fragment as k, renderList as C, createBlock as b, pushScopeId as ae, popScopeId as oe, reactive as pe, withAsyncContext as ee, computed as N, unref as $, normalizeClass as ne, createTextVNode as X, watchEffect as de, resolveDirective as Te, normalizeProps as P, guardReactiveProps as V, resolveDynamicComponent as re, mergeProps as be, toHandlers as Ie, withDirectives as se, vShow as ve, withModifiers as ye, toRefs as Ue, resolveComponent as me, vModelText as $e } from "vue";
2
- import { useRoute as B, useRouter as j } from "vue-router";
3
- import { useI18n as Be } from "vue-i18n";
4
- import { s as L } from "./globals-96ba60e4.mjs";
5
- import "./Breadcrumbs.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
6
- import { _ as Me } from "./Tab-054b61f7.mjs";
7
- import "./MenuItem-4a5881bd.mjs";
8
- import { _ as je } from "./Feed-90f74d6c.mjs";
9
- import { _ as Re } from "./Feed-585d5821.mjs";
10
- import "./Tab.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
11
- import { _ as M } from "./_plugin-vue_export-helper-dad06003.mjs";
12
- import { a as he } from "./index-a661083c.mjs";
13
- import { s as T } from "./auth-ec618cb3.mjs";
14
- import { D as qe, _ as Ne, P as He } from "./Dropdown-ef2df9a9.mjs";
15
- import { a as Ze, _ as Ke } from "./CardOrganization-e920be73.mjs";
16
- import { I as Ge } from "./IconEdit-9edfd74d.mjs";
17
- import { _ as we } from "./ButtonToggleMembership-3bb9139e.mjs";
18
- import { _ as Ye } from "./Socials-8193477c.mjs";
19
- import { s as x, a as J } from "./organizations-6ed907e3.mjs";
20
- import { m as We, a as Pe, s as Ae } from "./memberships-12210953.mjs";
21
- import { C as I } from "./Checkbox-5dbe7b23.mjs";
22
- import { a as Je, s as xe, _ as Qe } from "./categories-df3240a7.mjs";
23
- import { _ as Xe } from "./Feed-d114330c.mjs";
24
- import { _ as et } from "./CardProduct-fca53299.mjs";
25
- import { a as tt, s as st } from "./products-bf5783aa.mjs";
26
- import "./Field.vue_vue_type_style_index_0_scoped_f4a29b0d_lang-4ed993c7.mjs";
27
- import { S as nt } from "./Select-11ddabf5.mjs";
28
- import "./Button.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
29
- import "./inputs.validation-db65277a.mjs";
30
- import { _ as at } from "./BlockTags-ee310572.mjs";
31
- import { F as E } from "./Field-e5ad88d3.mjs";
32
- import { S as ot } from "./SelectMulti-58704d69.mjs";
33
- import { _ as De } from "./UploadImage-3c627d89.mjs";
34
- import { _ as ce } from "./Button-9e1a9284.mjs";
35
- import "./Popup.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
36
- import "./Organizations-0fd5bc8b.mjs";
37
- import "./reports-79cd9459.mjs";
38
- import "./Publics-660e851c.mjs";
39
- import { a as Q } from "./auth.validation-ba3606bf.mjs";
40
- const it = { class: "mn-big radius-medium pd-big bg-white" }, lt = { class: "mn-regular" }, rt = { class: "mn-small t-transp p-medium" }, _e = {
41
- __name: "EmptyState",
42
- props: {
43
- title: {
44
- type: String,
45
- default: "У вас еще нет организации"
46
- },
47
- description: {
48
- type: String,
49
- default: "Для использования сервиса, вам необходимо добавить вашу организацию."
50
- },
51
- action: {
52
- type: String,
53
- default: "Создать организацию"
54
- },
55
- callback: {
56
- type: Function,
57
- default: () => {
58
- }
59
- }
60
- },
61
- setup(e) {
62
- return (t, s) => (a(), r("section", it, [
63
- n("h3", lt, g(e.title), 1),
64
- n("p", rt, g(e.description), 1),
65
- n("button", {
66
- onClick: s[0] || (s[0] = (...i) => e.callback && e.callback(...i)),
67
- class: "t-white bg-second w-100 button"
68
- }, g(e.action), 1)
69
- ]));
70
- }
71
- };
72
- const dt = {
73
- key: 0,
74
- class: "spoiler"
75
- }, q = {
76
- __name: "Spoiler",
77
- props: {
78
- status: {
79
- type: Boolean,
80
- default: !1
81
- }
82
- },
83
- setup(e) {
84
- const t = e, s = w(!1);
85
- return t.status && (s.value = t.status), (i, l) => (a(), r("div", null, [
86
- n("div", {
87
- onClick: l[0] || (l[0] = (o) => s.value = !s.value),
88
- class: "flex-v-center flex-nowrap flex"
89
- }, [
90
- z(i.$slots, "header")
91
- ]),
92
- m(F, { name: "collapse" }, {
93
- default: y(() => [
94
- s.value ? (a(), r("div", dt, [
95
- z(i.$slots, "content")
96
- ])) : f("", !0)
97
- ]),
98
- _: 3
99
- })
100
- ]));
101
- }
102
- };
103
- const ct = {
104
- __name: "Map",
105
- props: {
106
- location: Object
107
- },
108
- setup(e) {
109
- const t = e;
110
- let s = w(null), i = null, l = null;
111
- return ue(async () => {
112
- i = new google.maps.Map(s.value, {
113
- zoom: 13,
114
- center: {
115
- lat: t.location.lat,
116
- lng: t.location.lng
117
- }
118
- }), l = new google.maps.Marker({
119
- position: {
120
- lat: t.location.lat,
121
- lng: t.location.lng
122
- },
123
- map: i
124
- });
125
- }), H(() => t.location, () => {
126
- i && l && (l.setPosition(new google.maps.LatLng(t.location.lat, t.location.lng)), i.setCenter(new google.maps.LatLng(t.location.lat, t.location.lng)));
127
- }, { deep: !0 }), (o, p) => (a(), r("div", {
128
- ref_key: "gmap",
129
- ref: s,
130
- class: "gmap"
131
- }, null, 512));
132
- }
133
- }, ut = /* @__PURE__ */ M(ct, [["__scopeId", "data-v-c194b4a5"]]);
134
- const pt = { class: "pd-small flex-nowrap flex" }, mt = { class: "user-card__info" }, ht = { class: "user-card__name" }, _t = { class: "user-card__position" }, gt = {
135
- __name: "SpotSub",
136
- props: {
137
- department: {
138
- type: Object,
139
- required: !0
140
- }
141
- // Define other props here
142
- },
143
- setup(e) {
144
- return (t, s) => (a(), r("div", pt, [
145
- n("div", mt, [
146
- n("p", ht, g(e.department.name ? e.department.name : "Безымянный"), 1),
147
- n("p", _t, g(e.department.members ? e.department.members.length : "0") + " человек", 1)
148
- ])
149
- ]));
150
- }
151
- }, ft = /* @__PURE__ */ M(gt, [["__scopeId", "data-v-58a64d57"]]);
152
- const bt = { class: "pd-small flex-nowrap flex" }, vt = { class: "user-card__info" }, yt = { class: "user-card__name" }, $t = { class: "t-transp" }, wt = {
153
- __name: "User",
154
- props: {
155
- user: {
156
- type: Object,
157
- required: !0
158
- },
159
- position: {
160
- type: String,
161
- required: !0
162
- }
163
- // Define other props here
164
- },
165
- setup(e) {
166
- return (t, s) => (a(), r("div", bt, [
167
- n("div", vt, [
168
- n("p", yt, g(e.user.name ? e.user.name : "Безымянный"), 1),
169
- n("p", $t, g(e.position), 1)
170
- ])
171
- ]));
172
- }
173
- }, ge = /* @__PURE__ */ M(wt, [["__scopeId", "data-v-a27accf5"]]);
174
- const ie = (e) => (ae("data-v-6ef388c4"), e = e(), oe(), e), xt = { class: "radius-big o-hidden cols-2-1_3" }, kt = { class: "pd-medium w-100" }, Ct = /* @__PURE__ */ ie(() => /* @__PURE__ */ n("path", {
175
- d: "M515.693 9.52082C510.095 3.91669 502.49 0.765625 494.563 0.765625C486.635 0.765625 479.036 3.91669 473.432 9.52082L48.7255 434.307C44.8244 438.214 42.0848 443.125 40.8088 448.496L0.939444 615.069C-1.47202 625.168 1.528 635.788 8.86652 643.132C16.2103 650.47 26.8305 653.47 36.9292 651.059L203.516 611.261H203.511C208.88 609.985 213.792 607.246 217.699 603.35L642.485 178.496C648.089 172.892 651.241 165.293 651.241 157.366C651.241 149.439 648.089 141.835 642.485 136.235L515.693 9.52082ZM113.76 453.708L388.307 179.161L472.828 263.682L198.281 538.229L113.76 453.708ZM87.1041 511.5L140.416 564.812L70.3014 581.614L87.1041 511.5ZM515.091 221.793L430.195 136.897L494.184 72.9075L579.08 157.429L515.091 221.793Z",
176
- fill: "black"
177
- }, null, -1)), Ot = [
178
- Ct
179
- ], Lt = ["innerHTML"], St = ["innerHTML"], zt = { class: "pd-small flex-v-center flex-nowrap flex" }, Mt = /* @__PURE__ */ ie(() => /* @__PURE__ */ n("h5", { class: "w-100" }, "Contacts ", -1)), Pt = { class: "mn-r-small" }, At = /* @__PURE__ */ ie(() => /* @__PURE__ */ n("svg", {
180
- width: "14",
181
- height: "9",
182
- viewBox: "0 0 14 9",
183
- fill: "none",
184
- xmlns: "http://www.w3.org/2000/svg"
185
- }, [
186
- /* @__PURE__ */ n("path", {
187
- "fill-rule": "evenodd",
188
- "clip-rule": "evenodd",
189
- d: "M12.4697 0.469727L13.5304 1.53039L7.00006 8.06072L0.469727 1.53039L1.53039 0.469727L7.00006 5.9394L12.4697 0.469727Z",
190
- fill: "#8A8A8A"
191
- })
192
- ], -1)), Dt = { key: 0 }, Vt = { class: "pd-small flex-v-center flex-nowrap flex" }, Et = /* @__PURE__ */ ie(() => /* @__PURE__ */ n("h5", { class: "w-100" }, "Working Hours ", -1)), Ft = { class: "mn-r-small" }, Tt = /* @__PURE__ */ ie(() => /* @__PURE__ */ n("svg", {
193
- width: "14",
194
- height: "9",
195
- viewBox: "0 0 14 9",
196
- fill: "none",
197
- xmlns: "http://www.w3.org/2000/svg"
198
- }, [
199
- /* @__PURE__ */ n("path", {
200
- "fill-rule": "evenodd",
201
- "clip-rule": "evenodd",
202
- d: "M12.4697 0.469727L13.5304 1.53039L7.00006 8.06072L0.469727 1.53039L1.53039 0.469727L7.00006 5.9394L12.4697 0.469727Z",
203
- fill: "#8A8A8A"
204
- })
205
- ], -1)), It = { key: 0 }, Ut = {
206
- __name: "CardSpot",
207
- props: {
208
- spot: Object,
209
- organization: Object
210
- },
211
- setup(e) {
212
- const t = e;
213
- return (s, i) => (a(), r("div", xt, [
214
- m(ut, {
215
- location: { lat: e.spot.location.coordinates[1], lng: e.spot.location.coordinates[0] },
216
- class: ""
217
- }, null, 8, ["location"]),
218
- n("div", kt, [
219
- (a(), r("svg", {
220
- onClick: i[0] || (i[0] = (l) => s.$router.push(`/organizations/${t.organization._id}/spots/${e.spot._id}/edit`)),
221
- class: "i-regular pos-absolute pos-r-0 pos-t-0 t-transp",
222
- width: "652",
223
- height: "652",
224
- viewBox: "0 0 652 652",
225
- fill: "none",
226
- xmlns: "http://www.w3.org/2000/svg"
227
- }, Ot)),
228
- n("h3", {
229
- onClick: i[1] || (i[1] = (l) => s.$router.push(`/app/organization/${t.organization._id}/spots/${e.spot._id}`)),
230
- class: "mn-small w-100",
231
- innerHTML: e.spot.profile.name
232
- }, null, 8, Lt),
233
- n("p", {
234
- onClick: i[2] || (i[2] = (l) => s.$router.push(`/app/organization/${t.organization._id}/spots/${e.spot._id}`)),
235
- class: "mn-small p-big w-100",
236
- innerHTML: e.spot.address
237
- }, null, 8, St),
238
- m(q, { class: "radius-small o-hidden br-1px br-solid br-grey mn-thin" }, {
239
- header: y(() => [
240
- n("div", zt, [
241
- Mt,
242
- n("p", Pt, g(e.spot.members.length) + " человек", 1),
243
- At
244
- ])
245
- ]),
246
- content: y(() => [
247
- n("ul", null, [
248
- e.spot.members.length < 1 ? (a(), r("li", Dt, "В отделе еще нет участников")) : f("", !0),
249
- (a(!0), r(k, null, C(e.spot.members, (l, o) => (a(), b(ge, {
250
- class: "br-b br-solid br-grey",
251
- key: o,
252
- user: l.user,
253
- position: l.position,
254
- onClick: (p) => s.$router.push(`/app/profile/${l.user._id}`)
255
- }, null, 8, ["user", "position", "onClick"]))), 128))
256
- ])
257
- ]),
258
- _: 1
259
- }),
260
- m(q, { class: "radius-small o-hidden br-1px br-solid br-grey mn-thin" }, {
261
- header: y(() => [
262
- n("div", Vt, [
263
- Et,
264
- n("p", Ft, g(e.spot.subspots ? e.spot.subspots.length : 0) + " отделов", 1),
265
- Tt
266
- ])
267
- ]),
268
- content: y(() => [
269
- n("ul", null, [
270
- e.spot.subspots.length < 1 ? (a(), r("li", It, "В отделе еще нет подотделов")) : f("", !0),
271
- (a(!0), r(k, null, C(e.spot.subspots, (l, o) => (a(), b(ft, {
272
- onClick: (p) => s.$router.push(`/app/organization/spots/${l._id}`),
273
- key: o,
274
- class: "br-b br-solid br-grey",
275
- spot: l
276
- }, null, 8, ["onClick", "spot"]))), 128))
277
- ])
278
- ]),
279
- _: 1
280
- })
281
- ])
282
- ]));
283
- }
284
- }, Bt = /* @__PURE__ */ M(Ut, [["__scopeId", "data-v-6ef388c4"]]), G = he.create({ baseURL: process.env.API_URL, withCredentials: !0 });
285
- G.defaults.withCredentials = !0;
286
- const _ = pe({
287
- spots: [],
288
- spot: {
289
- organization: "",
290
- profile: {
291
- photo: "",
292
- name: "",
293
- description: "",
294
- categories: []
295
- },
296
- address: "",
297
- location: {
298
- lat: null,
299
- lng: null
300
- },
301
- worktime: [],
302
- delivery: [],
303
- payment: [],
304
- members: [],
305
- subspots: []
306
- },
307
- error: null
308
- }), R = {
309
- async readOne(e) {
310
- await G.get(`/api/spots/get/${e}`).then((t) => {
311
- _.spot = t.data, _.error = null;
312
- }).catch((t) => {
313
- L(t);
314
- });
315
- },
316
- async read(e) {
317
- await G.get(`/api/spots/${e}`).then((t) => {
318
- console.log("Response:", t), _.spots = t.data, _.error = null;
319
- }).catch((t) => {
320
- L(t);
321
- });
322
- },
323
- async create(e, t) {
324
- await G.post(`/api/spots/${e}/create`, t).then((s) => {
325
- _.error = null, _.spot = s.data;
326
- }).catch((s) => {
327
- L(s);
328
- });
329
- },
330
- async update(e, t) {
331
- await G.post(`/api/spots/${e}/update`, t).then(() => {
332
- _.error = null;
333
- }).catch((s) => {
334
- L(s);
335
- });
336
- },
337
- async delete(e, t) {
338
- await G.delete(`/api/spots/${e}/delete`, { data: { _id: t } }).then(() => {
339
- _.error = null;
340
- }).catch((s) => {
341
- L(s);
342
- });
343
- }
344
- };
345
- H(_, (e, t) => {
346
- });
347
- const jt = {
348
- __name: "Feed",
349
- props: {
350
- organization: Object,
351
- units: Array,
352
- memberships: Array
353
- },
354
- async setup(e) {
355
- let t, s;
356
- const i = e;
357
- w("spots"), [t, s] = ee(() => R.read(i.organization._id)), await t, s();
358
- const l = N(() => {
359
- const o = _.spots, p = o.flatMap(
360
- (c) => c.subspots.map((d) => d._id)
361
- );
362
- return o.filter(
363
- (c) => !p.includes(c._id)
364
- );
365
- });
366
- return (o, p) => (a(), b(F, { name: "slide-fade" }, {
367
- default: y(() => [
368
- n("div", null, [
369
- $(l).length < 1 ? (a(), b(_e, {
370
- key: 0,
371
- title: "You don't have any spots yet.",
372
- description: "Add spots to your hub.",
373
- action: "Add spot",
374
- callback: () => o.$router.push(`/spots/${i.organization._id}/spots/create`)
375
- }, null, 8, ["callback"])) : f("", !0),
376
- n("div", null, [
377
- (a(!0), r(k, null, C($(l), (c, d) => (a(), b(Bt, {
378
- key: d,
379
- spot: c,
380
- organization: e.organization,
381
- class: "radius-big bg-grey mn-thin"
382
- }, null, 8, ["spot", "organization"]))), 128)),
383
- $(l).length > 0 && T.user._id === e.organization.owner ? (a(), r("button", {
384
- key: 0,
385
- onClick: p[0] || (p[0] = (c) => o.$router.push(`/spots/${i.organization._id}/spots/create`)),
386
- class: "mn-thin button w-100"
387
- }, " Add spot ")) : f("", !0)
388
- ])
389
- ])
390
- ]),
391
- _: 1
392
- }));
393
- }
394
- }, Rt = { class: "mn-small w-100" }, qt = ["href"], Nt = /* @__PURE__ */ n("span", { class: "t-semi uppercase" }, "Website", -1), Ht = [
395
- Nt
396
- ], Zt = ["href"], Kt = /* @__PURE__ */ n("span", { class: "t-semi uppercase" }, "Phone", -1), Gt = [
397
- Kt
398
- ], Yt = ["href"], Wt = /* @__PURE__ */ n("span", { class: "t-semi uppercase" }, "Email", -1), Jt = [
399
- Wt
400
- ], Qt = ["href"], Xt = /* @__PURE__ */ n("span", { class: "t-semi uppercase" }, "Address", -1), es = [
401
- Xt
402
- ], qi = {
403
- __name: "Contacts",
404
- props: {
405
- website: String,
406
- phone: String,
407
- email: String,
408
- address: String
409
- },
410
- setup(e) {
411
- const t = e, s = N(() => t.website ? !t.website.startsWith("http://") && !t.website.startsWith("https://") ? `http://${t.website}` : t.website : null), i = N(() => t.address ? encodeURIComponent(t.address) : null);
412
- return (l, o) => (a(), r("div", Rt, [
413
- $(s) ? (a(), r("a", {
414
- key: 0,
415
- href: $(s),
416
- target: "_blank",
417
- class: "w-100 br-2px br-solid br-grey radius-small pd-small flex-v-center flex-nowrap flex"
418
- }, Ht, 8, qt)) : f("", !0),
419
- t.phone ? (a(), r("a", {
420
- key: 1,
421
- href: `tel:${t.phone}`,
422
- class: "w-100 br-2px br-solid br-grey radius-small pd-small flex-v-center flex-nowrap flex"
423
- }, Gt, 8, Zt)) : f("", !0),
424
- t.email ? (a(), r("a", {
425
- key: 2,
426
- href: `mailto:${t.email}`,
427
- target: "_blank",
428
- class: "w-100 br-2px br-solid br-grey radius-small pd-small flex-v-center flex-nowrap flex"
429
- }, Jt, 8, Yt)) : f("", !0),
430
- $(i) ? (a(), r("a", {
431
- key: 3,
432
- href: `https://www.google.com/maps/search/?api=1&query=${$(i)}`,
433
- target: "_blank",
434
- class: "w-100 br-2px br-solid br-grey radius-small pd-small flex-v-center flex-nowrap flex"
435
- }, es, 8, Qt)) : f("", !0)
436
- ]));
437
- }
438
- }, ts = { class: "w-100 mn-small star-container flex-v-center flex" }, ss = { class: "p-big t-semi mn-r-small" }, ns = /* @__PURE__ */ n("path", {
439
- fill: "#00FF88",
440
- d: "M62.2406 5.85971L75.413 32.6098L105.203 36.8654C110.472 37.676 112.498 44.3636 108.648 48.0113L87.1668 68.8844L92.2331 98.2689C93.2464 103.741 87.5721 107.591 82.9111 105.159L56.3637 91.3788L29.8163 105.159C25.1553 107.794 19.4811 103.741 20.4944 98.4716L25.5607 68.8844L4.07956 48.0113C0.22917 44.3636 2.25569 37.676 7.52464 36.8654L37.3145 32.6098L50.4868 5.85971C52.9186 0.996063 59.8088 0.996063 62.2406 5.85971Z"
441
- }, null, -1), as = [
442
- ns
443
- ], os = { class: "" }, Ni = {
444
- __name: "Rating",
445
- props: {
446
- rating: {
447
- type: Number,
448
- required: !0
449
- },
450
- amount: {
451
- type: Number,
452
- required: !0
453
- }
454
- },
455
- setup(e) {
456
- return (t, s) => (a(), r("section", null, [
457
- n("div", ts, [
458
- n("span", ss, g(e.rating), 1),
459
- (a(), r(k, null, C(5, (i) => n("svg", {
460
- class: ne(["i-semi mn-r-small", { "t-transp": i > e.rating }]),
461
- width: "113",
462
- height: "108",
463
- viewBox: "0 0 113 108",
464
- fill: "none",
465
- xmlns: "http://www.w3.org/2000/svg"
466
- }, as, 2)), 64))
467
- ]),
468
- n("p", os, "Based on " + g(e.amount) + " reviews", 1)
469
- ]));
470
- }
471
- }, is = { class: "t-center flex-center flex-column flex pd-medium radius-big bg-grey" }, ls = { class: "bg-black pd-thin radius-small" }, rs = /* @__PURE__ */ n("button", { class: "w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button" }, " Report ", -1), ds = ["src"], cs = { class: "mn-thin" }, us = { class: "mn-medium p-big" }, ps = { class: "flex-center flex-wrap gap-thin flex mn-semi" }, ms = { class: "pd-thin radius-small t-semi uppercase t-black bg-main p-medium" }, hs = { class: "t-semi mn-small" }, _s = {
472
- key: 5,
473
- class: "mn-t-small mn-thin"
474
- }, gs = {
475
- __name: "DetailsTab",
476
- props: {
477
- organization: Object,
478
- user: Object
479
- },
480
- setup(e) {
481
- const t = B(), s = ({ membership: i, status: l, target: o }, p, c) => {
482
- We.handleMembershipUpdate(x.current, i, l, o, p, c);
483
- };
484
- return (i, l) => (a(), b(F, { name: "slide-fade" }, {
485
- default: y(() => [
486
- n("section", is, [
487
- e.user._id !== e.organization.owner ? (a(), b(qe, {
488
- key: 0,
489
- label: "...",
490
- align: "right",
491
- class: "cursor-pointer pos-absolute pos-r-0 pos-t-0 pd-thin radius-extra"
492
- }, {
493
- default: y(() => [
494
- n("section", ls, [
495
- m(Ne, {
496
- user: e.user._id,
497
- type: "organization",
498
- target: e.organization._id,
499
- text: "Report",
500
- class: "w-100"
501
- }, {
502
- default: y(() => [
503
- rs
504
- ]),
505
- _: 1
506
- }, 8, ["user", "target"]),
507
- e.user._id && e.user._id !== e.organization.owner ? (a(), b(we, {
508
- key: 0,
509
- user: e.user._id,
510
- type: "organization",
511
- role: "blocked",
512
- target: e.organization._id,
513
- status: e.organization.isBlocked,
514
- text: { create: "Block", remove: "Unblock" },
515
- onUpdateMembership: l[0] || (l[0] = (o) => s(o, "isBlocked")),
516
- class: "t-white mn-t-thin bg-red"
517
- }, null, 8, ["user", "target", "status"])) : f("", !0)
518
- ])
519
- ]),
520
- _: 1
521
- }, 8, ["label"])) : f("", !0),
522
- e.user._id === e.organization.owner ? (a(), b(Ge, {
523
- key: 1,
524
- onClick: l[1] || (l[1] = (o) => i.$router.push({
525
- name: "Organization Edit",
526
- params: {
527
- _id: e.organization._id
528
- }
529
- })),
530
- class: "pos-absolute pos-t-regular pos-r-regular i-regular t-transp"
531
- })) : f("", !0),
532
- e.organization.profile.photo ? (a(), r("img", {
533
- key: 2,
534
- src: (i.FILE_SERVER_URL || "") + e.organization.profile.photo,
535
- class: "radius-big bg-grey flex-center flex mn-small i-extra"
536
- }, null, 8, ds)) : (a(), b(He, {
537
- key: 3,
538
- class: "radius-medium mn-small i-extra"
539
- })),
540
- n("h1", cs, g(e.organization.profile.name), 1),
541
- n("p", us, [
542
- m(Ze, {
543
- text: e.organization.profile.description ? e.organization.profile.description : "",
544
- maxLen: 240
545
- }, null, 8, ["text"])
546
- ]),
547
- n("div", ps, [
548
- (a(!0), r(k, null, C(e.organization.profile.tags, (o) => (a(), r("span", ms, g(o), 1))), 256))
549
- ]),
550
- n("p", hs, " 👨‍👨‍👧‍👧 " + g(e.organization.numberOfSubscribers) + " followers ", 1),
551
- e.user._id && $(t).params._id && $(t).params._id !== e.user._id && e.organization.owner !== e.user._id ? (a(), b(we, {
552
- key: 4,
553
- user: e.user._id,
554
- type: "organization",
555
- role: "subscriber",
556
- target: e.organization._id,
557
- status: e.organization.isSubscriber,
558
- text: { create: "Follow", remove: "Unfollow" },
559
- onUpdateMembership: l[2] || (l[2] = (o) => s(o, "isSubscriber", "numberOfSubscribers")),
560
- class: "w-min mn-medium mn-r-auto mn-l-auto"
561
- }, null, 8, ["user", "target", "status"])) : f("", !0),
562
- Object.values(e.organization.socials).some((o) => o) ? (a(), r("h4", _s, " Find us in socials ")) : f("", !0),
563
- m(Ye, {
564
- telegram: e.organization.socials.telegram,
565
- facebook: e.organization.socials.facebook,
566
- instagram: e.organization.socials.instagram,
567
- twitter: e.organization.socials.twitter
568
- }, null, 8, ["telegram", "facebook", "instagram", "twitter"])
569
- ])
570
- ]),
571
- _: 1
572
- }));
573
- }
574
- };
575
- const fs = { class: "pd-medium bg-grey radius-big" }, bs = { class: "mn-small" }, vs = /* @__PURE__ */ n("hr", { class: "mn-small" }, null, -1), ys = { class: "mn-r-auto t-medium p-big" }, $s = /* @__PURE__ */ n("hr", { class: "mn-small" }, null, -1), ws = { class: "mn-r-auto t-medium p-big" }, xs = /* @__PURE__ */ n("hr", { class: "mn-small" }, null, -1), ks = /* @__PURE__ */ n("p", { class: "mn-r-auto t-medium p-big" }, "Delivery", -1), Cs = /* @__PURE__ */ n("hr", { class: "mn-semi" }, null, -1), Os = {
576
- __name: "FilterProducts",
577
- props: {
578
- selectedFilters: Object,
579
- prices: {
580
- type: Array,
581
- default: () => [
582
- { label: "Under $5", value: { min: 0, max: 5 } },
583
- { label: "$5 to $10", value: { min: 5, max: 10 } },
584
- { label: "$10 to $20", value: { min: 10, max: 20 } },
585
- { label: "$20 and above", value: { min: 20, max: 1 / 0 } }
586
- ]
587
- },
588
- deliveryOptions: {
589
- type: Array,
590
- default: () => [
591
- { label: "Pickup", value: { min: 0, max: 25 } },
592
- { label: "Courier", value: { min: 25, max: 50 } },
593
- { label: "Post", value: { min: 50, max: 100 } }
594
- ]
595
- }
596
- },
597
- emits: ["updateFilters", "resetFilters"],
598
- async setup(e, { emit: t }) {
599
- let s, i;
600
- [s, i] = ee(() => Je.fetchCategories()), await s, i();
601
- let l = w({
602
- categories: [],
603
- prices: [],
604
- delivery: [],
605
- extra: []
606
- });
607
- const o = (u, h) => {
608
- t("updateFilters", { filterType: u, value: h });
609
- }, p = () => {
610
- t("resetFilters");
611
- }, c = {
612
- locale: "en",
613
- messages: {
614
- en: {
615
- categoriesTitle: "Category",
616
- categories: [],
617
- filters: {
618
- title: "Filters",
619
- price: {
620
- title: "Price",
621
- from: "From",
622
- to: "To"
623
- },
624
- filters: [],
625
- reset: "Reset Filters"
626
- }
627
- },
628
- ru: {
629
- categoriesTitle: "Категория",
630
- categories: [],
631
- filters: {
632
- title: "Фильтры",
633
- price: {
634
- title: "Цена",
635
- from: "От",
636
- to: "До"
637
- },
638
- filters: [],
639
- reset: "Сбросить фильтры"
640
- }
641
- }
642
- }
643
- };
644
- xe.all.forEach((u) => {
645
- u.localization.forEach((h) => {
646
- c.messages[h.locale].categories.push(h.text);
647
- });
648
- });
649
- const { t: d } = Be(c);
650
- return (u, h) => (a(), r("div", fs, [
651
- n("h3", bs, g($(d)("filters.title")), 1),
652
- vs,
653
- m(q, {
654
- class: "radius-small o-hidden br-1px br-solid br-grey mn-small",
655
- status: !0
656
- }, {
657
- header: y(() => [
658
- n("p", ys, g($(d)("categoriesTitle")), 1)
659
- ]),
660
- content: y(() => [
661
- (a(!0), r(k, null, C(xe.all, (v, O) => (a(), b(I, {
662
- key: O,
663
- label: v.name,
664
- value: v.url,
665
- class: "w-100 mn-t-small mn-small bg-white radius-small pd-small",
666
- radio: $(l).categories,
667
- onChange: (D) => o("categories", v.url)
668
- }, null, 8, ["label", "value", "radio", "onChange"]))), 128))
669
- ]),
670
- _: 1
671
- }),
672
- $s,
673
- m(q, {
674
- class: "radius-small o-hidden br-1px br-solid br-grey mn-small",
675
- status: !1
676
- }, {
677
- header: y(() => [
678
- n("p", ws, g($(d)("filters.price.title")), 1)
679
- ]),
680
- content: y(() => [
681
- (a(!0), r(k, null, C(e.prices, (v, O) => (a(), b(I, {
682
- key: O,
683
- label: v.label,
684
- value: v.value,
685
- class: "w-100 mn-t-small bg-white radius-small pd-small",
686
- radio: $(l).prices,
687
- onChange: (D) => o("prices", v.value)
688
- }, null, 8, ["label", "value", "radio", "onChange"]))), 128))
689
- ]),
690
- _: 1
691
- }),
692
- xs,
693
- m(q, {
694
- class: "radius-small o-hidden br-1px br-solid br-grey mn-small",
695
- status: !1
696
- }, {
697
- header: y(() => [
698
- ks
699
- ]),
700
- content: y(() => [
701
- (a(!0), r(k, null, C(e.deliveryOptions, (v, O) => (a(), b(I, {
702
- key: O,
703
- label: v.label,
704
- value: v.value,
705
- class: "w-100 mn-t-small bg-white radius-small pd-small",
706
- radio: $(l).delivery,
707
- onChange: (D) => o("delivery", v.value)
708
- }, null, 8, ["label", "value", "radio", "onChange"]))), 128))
709
- ]),
710
- _: 1
711
- }),
712
- Cs,
713
- n("button", {
714
- onClick: p,
715
- class: "bg-main w-100 button"
716
- }, g($(d)("filters.reset")), 1)
717
- ]));
718
- }
719
- }, Ls = { class: "cols-2-1_3 gap-thin pd-thin" }, Ss = {
720
- __name: "Products",
721
- setup(e) {
722
- const t = B();
723
- return j(), (s, i) => (a(), r("div", Ls, [
724
- m(Os),
725
- m(Xe, {
726
- states: {
727
- empty: {
728
- title: "No Products Found",
729
- description: "Currently, there are no products available."
730
- }
731
- },
732
- store: {
733
- read: (l) => tt.read(l),
734
- state: st
735
- },
736
- options: {
737
- limit: 15,
738
- organization: $(t).params._id
739
- // user: user
740
- }
741
- }, {
742
- default: y(({
743
- items: l
744
- }) => [
745
- (a(!0), r(k, null, C(l, (o) => (a(), b(et, {
746
- key: o._id,
747
- product: o,
748
- onClick: (p) => s.$router.push({
749
- name: "Product Organization",
750
- params: {
751
- _id: $(t).params._id,
752
- product: o._id
753
- }
754
- })
755
- }, null, 8, ["product", "onClick"]))), 128))
756
- ]),
757
- _: 1
758
- }, 8, ["states", "store", "options"])
759
- ]));
760
- }
761
- };
762
- const zs = { class: "pd-small flex-nowrap flex" }, Ms = { class: "user-card__info" }, Ps = { class: "user-card__name" }, As = { class: "user-card__position" }, Ds = {
763
- __name: "DepartmentSub",
764
- props: {
765
- department: {
766
- type: Object,
767
- required: !0
768
- }
769
- // Define other props here
770
- },
771
- setup(e) {
772
- return (t, s) => (a(), r("div", zs, [
773
- n("div", Ms, [
774
- n("p", Ps, g(e.department.name ? e.department.name : "Безымянный"), 1),
775
- n("p", As, g(e.department.members ? e.department.members.length : "0") + " человек", 1)
776
- ])
777
- ]));
778
- }
779
- }, Ve = /* @__PURE__ */ M(Ds, [["__scopeId", "data-v-d65b1483"]]);
780
- const le = (e) => (ae("data-v-02b80617"), e = e(), oe(), e), Vs = { class: "radius-big o-hidden cols-2-1_3" }, Es = { class: "pd-medium w-100" }, Fs = /* @__PURE__ */ le(() => /* @__PURE__ */ n("path", {
781
- d: "M515.693 9.52082C510.095 3.91669 502.49 0.765625 494.563 0.765625C486.635 0.765625 479.036 3.91669 473.432 9.52082L48.7255 434.307C44.8244 438.214 42.0848 443.125 40.8088 448.496L0.939444 615.069C-1.47202 625.168 1.528 635.788 8.86652 643.132C16.2103 650.47 26.8305 653.47 36.9292 651.059L203.516 611.261H203.511C208.88 609.985 213.792 607.246 217.699 603.35L642.485 178.496C648.089 172.892 651.241 165.293 651.241 157.366C651.241 149.439 648.089 141.835 642.485 136.235L515.693 9.52082ZM113.76 453.708L388.307 179.161L472.828 263.682L198.281 538.229L113.76 453.708ZM87.1041 511.5L140.416 564.812L70.3014 581.614L87.1041 511.5ZM515.091 221.793L430.195 136.897L494.184 72.9075L579.08 157.429L515.091 221.793Z",
782
- fill: "black"
783
- }, null, -1)), Ts = [
784
- Fs
785
- ], Is = ["innerHTML"], Us = { class: "pd-small flex-v-center flex-nowrap flex" }, Bs = /* @__PURE__ */ le(() => /* @__PURE__ */ n("h5", { class: "w-100" }, "Contacts ", -1)), js = { class: "mn-r-small" }, Rs = /* @__PURE__ */ le(() => /* @__PURE__ */ n("svg", {
786
- width: "14",
787
- height: "9",
788
- viewBox: "0 0 14 9",
789
- fill: "none",
790
- xmlns: "http://www.w3.org/2000/svg"
791
- }, [
792
- /* @__PURE__ */ n("path", {
793
- "fill-rule": "evenodd",
794
- "clip-rule": "evenodd",
795
- d: "M12.4697 0.469727L13.5304 1.53039L7.00006 8.06072L0.469727 1.53039L1.53039 0.469727L7.00006 5.9394L12.4697 0.469727Z",
796
- fill: "#8A8A8A"
797
- })
798
- ], -1)), qs = { key: 0 }, Ns = { class: "pd-small flex-v-center flex-nowrap flex" }, Hs = /* @__PURE__ */ le(() => /* @__PURE__ */ n("h5", { class: "w-100" }, "Working Hours ", -1)), Zs = { class: "mn-r-small" }, Ks = /* @__PURE__ */ le(() => /* @__PURE__ */ n("svg", {
799
- width: "14",
800
- height: "9",
801
- viewBox: "0 0 14 9",
802
- fill: "none",
803
- xmlns: "http://www.w3.org/2000/svg"
804
- }, [
805
- /* @__PURE__ */ n("path", {
806
- "fill-rule": "evenodd",
807
- "clip-rule": "evenodd",
808
- d: "M12.4697 0.469727L13.5304 1.53039L7.00006 8.06072L0.469727 1.53039L1.53039 0.469727L7.00006 5.9394L12.4697 0.469727Z",
809
- fill: "#8A8A8A"
810
- })
811
- ], -1)), Gs = { key: 0 }, Ys = {
812
- __name: "CardDepartment",
813
- props: {
814
- department: Object,
815
- organization: Object
816
- },
817
- setup(e) {
818
- const t = e;
819
- return (s, i) => (a(), r("div", Vs, [
820
- n("div", Es, [
821
- (a(), r("svg", {
822
- onClick: i[0] || (i[0] = (l) => s.$router.push(`/app/organization/${t.organization._id}/departments/${e.department._id}/edit`)),
823
- class: "i-regular pos-absolute pos-r-0 pos-t-0 t-transp",
824
- width: "652",
825
- height: "652",
826
- viewBox: "0 0 652 652",
827
- fill: "none",
828
- xmlns: "http://www.w3.org/2000/svg"
829
- }, Ts)),
830
- n("h3", {
831
- onClick: i[1] || (i[1] = (l) => s.$router.push(`/app/organization/${t.organization._id}/departments/${e.department._id}`)),
832
- class: "mn-small w-100",
833
- innerHTML: e.department.profile.name
834
- }, null, 8, Is),
835
- m(q, { class: "radius-small o-hidden br-1px br-solid br-grey mn-thin" }, {
836
- header: y(() => [
837
- n("div", Us, [
838
- Bs,
839
- n("p", js, g(e.department.members.length) + " человек", 1),
840
- Rs
841
- ])
842
- ]),
843
- content: y(() => [
844
- n("ul", null, [
845
- e.department.members.length < 1 ? (a(), r("li", qs, "В отделе еще нет участников")) : f("", !0),
846
- (a(!0), r(k, null, C(e.department.members, (l, o) => (a(), b(ge, {
847
- class: "br-b br-solid br-grey",
848
- key: o,
849
- user: l.user,
850
- position: l.position,
851
- onClick: (p) => s.$router.push(`/app/profile/${l.user._id}`)
852
- }, null, 8, ["user", "position", "onClick"]))), 128))
853
- ])
854
- ]),
855
- _: 1
856
- }),
857
- m(q, { class: "radius-small o-hidden br-1px br-solid br-grey mn-thin" }, {
858
- header: y(() => [
859
- n("div", Ns, [
860
- Hs,
861
- n("p", Zs, g(e.department.subdepartments ? e.department.subdepartments.length : 0) + " отделов", 1),
862
- Ks
863
- ])
864
- ]),
865
- content: y(() => [
866
- n("ul", null, [
867
- e.department.subdepartments.length < 1 ? (a(), r("li", Gs, "В отделе еще нет подотделов")) : f("", !0),
868
- (a(!0), r(k, null, C(e.department.subdepartments, (l, o) => (a(), b(Ve, {
869
- onClick: (p) => s.$router.push(`/app/organization/departments/${l._id}`),
870
- key: o,
871
- class: "br-b br-solid br-grey",
872
- department: l
873
- }, null, 8, ["onClick", "department"]))), 128))
874
- ])
875
- ]),
876
- _: 1
877
- })
878
- ])
879
- ]));
880
- }
881
- }, Ws = /* @__PURE__ */ M(Ys, [["__scopeId", "data-v-02b80617"]]), Y = he.create({ baseURL: process.env.API_URL, withCredentials: !0 });
882
- Y.defaults.withCredentials = !0;
883
- const A = pe({
884
- departments: [],
885
- department: {
886
- organization: "",
887
- profile: {
888
- photo: "",
889
- name: "",
890
- description: "",
891
- categories: []
892
- },
893
- address: "",
894
- location: {
895
- lat: null,
896
- lng: null
897
- },
898
- worktime: [],
899
- delivery: [],
900
- payment: [],
901
- members: [],
902
- subdepartments: []
903
- },
904
- error: null
905
- }), Ee = {
906
- async readOne(e) {
907
- await Y.get(`/api/departments/get/${e}`).then((t) => {
908
- A.department = t.data, A.error = null;
909
- }).catch((t) => {
910
- L(t);
911
- });
912
- },
913
- async read(e) {
914
- await Y.get(`/api/departments/${e}`).then((t) => {
915
- console.log("Response:", t), A.departments = t.data, A.error = null;
916
- }).catch((t) => {
917
- L(t);
918
- });
919
- },
920
- async create(e, t) {
921
- await Y.post(`/api/departments/${e}/create`, t).then((s) => {
922
- A.error = null, A.department = s.data;
923
- }).catch((s) => {
924
- L(s);
925
- });
926
- },
927
- async update(e, t) {
928
- await Y.post(`/api/departments/${e}/update`, t).then(() => {
929
- A.error = null;
930
- }).catch((s) => {
931
- L(s);
932
- });
933
- },
934
- async delete(e, t) {
935
- await Y.delete(`/api/departments/${e}/delete`, { data: { _id: t } }).then(() => {
936
- A.error = null;
937
- }).catch((s) => {
938
- L(s);
939
- });
940
- }
941
- };
942
- H(A, (e, t) => {
943
- });
944
- const Hi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
945
- __proto__: null,
946
- actions: Ee,
947
- state: A
948
- }, Symbol.toStringTag, { value: "Module" })), Zi = {
949
- __name: "FeedDepartments",
950
- props: {
951
- organization: Object,
952
- units: Array,
953
- memberships: Array
954
- },
955
- async setup(e) {
956
- let t, s;
957
- const i = e;
958
- w("departments"), [t, s] = ee(() => Ee.read(i.organization._id)), await t, s();
959
- const l = N(() => {
960
- const o = A.departments, p = o.flatMap(
961
- (c) => c.subdepartments.map((d) => d._id)
962
- );
963
- return o.filter(
964
- (c) => !p.includes(c._id)
965
- );
966
- });
967
- return (o, p) => (a(), b(F, { name: "slide-fade" }, {
968
- default: y(() => [
969
- n("div", null, [
970
- $(l).length < 1 ? (a(), b(_e, {
971
- key: 0,
972
- title: "You don't have any spots yet.",
973
- description: "Add spots to your hub.",
974
- action: "Add spot",
975
- callback: () => o.$router.push(`/organization/${i.organization._id}/departments/create`)
976
- }, null, 8, ["callback"])) : f("", !0),
977
- n("div", null, [
978
- (a(!0), r(k, null, C($(l), (c, d) => (a(), b(Ws, {
979
- key: d,
980
- department: c,
981
- organization: e.organization,
982
- class: "radius-big bg-grey mn-thin"
983
- }, null, 8, ["department", "organization"]))), 128)),
984
- $(l).length > 0 && T.user._id === e.organization.owner ? (a(), r("button", {
985
- key: 0,
986
- onClick: p[0] || (p[0] = (c) => o.$router.push(`/organization/${i.organization._id}/departments/create`)),
987
- class: "mn-thin button w-100"
988
- }, " Add spot ")) : f("", !0)
989
- ])
990
- ])
991
- ]),
992
- _: 1
993
- }));
994
- }
995
- }, W = he.create({ baseURL: process.env.API_URL, withCredentials: !0 });
996
- W.defaults.withCredentials = !0;
997
- const U = pe({
998
- invites: [],
999
- invite: null,
1000
- error: null
1001
- }), Fe = {
1002
- async read(e) {
1003
- await W.get(`/api/invites/${e}`).then((t) => {
1004
- U.invites = t.data, U.error = null;
1005
- }).catch((t) => {
1006
- L(t);
1007
- });
1008
- },
1009
- async readOne(e) {
1010
- await W.get(`/api/invites/get/${e}`).then((t) => {
1011
- U.invite = t.data, T.user.phone = t.data.invitedPhone, T.user.email = t.data.invitedEmail;
1012
- }).catch((t) => {
1013
- L(t);
1014
- });
1015
- },
1016
- async create(e, t) {
1017
- await W.post(`/api/invites/${e}/create`, t).then(() => {
1018
- U.error = null;
1019
- }).catch((s) => {
1020
- L(s);
1021
- });
1022
- },
1023
- async update(e, t) {
1024
- await W.put(`/api/invites/${e}/update`, t).then(() => {
1025
- U.error = null;
1026
- }).catch((s) => {
1027
- L(s);
1028
- });
1029
- },
1030
- async delete(e) {
1031
- await W.delete(`/api/invites/${e}/delete`).then(() => {
1032
- U.error = null;
1033
- }).catch((t) => {
1034
- L(t);
1035
- });
1036
- }
1037
- };
1038
- H(U, (e, t) => {
1039
- });
1040
- const Ki = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1041
- __proto__: null,
1042
- actions: Fe,
1043
- state: U
1044
- }, Symbol.toStringTag, { value: "Module" })), Js = { class: "mn-medium radius-medium pd-semi bg-white" }, Qs = /* @__PURE__ */ n("h3", { class: "mn-medium" }, "Добавить участников", -1), Xs = /* @__PURE__ */ n("p", { class: "mn-small t-transp p-medium" }, "Укажите email или телефон, чтобы отправить ссылку с приглашением:", -1), en = { class: "w-100 flex-nowrap flex" }, tn = {
1045
- key: 0,
1046
- class: "mn-r-medium flex-v-center flex"
1047
- }, sn = ["onClick"], nn = /* @__PURE__ */ n("p", { class: "t-blue mn-r-small" }, "+ Добавить приглашение", -1), an = [
1048
- nn
1049
- ], on = /* @__PURE__ */ n("span", null, "Отправить приглашения ", -1), ln = {
1050
- __name: "MembersAdd",
1051
- props: {
1052
- organization: Object
1053
- },
1054
- emits: ["send-invite"],
1055
- setup(e, { emit: t }) {
1056
- const s = e, i = w(null), l = w([{ contact: "", role: "" }]);
1057
- function o() {
1058
- l.value.push({ contact: "", role: "" });
1059
- }
1060
- function p(u) {
1061
- l.value.splice(u, 1);
1062
- }
1063
- async function c(u) {
1064
- await Fe.create(s.organization._id, l.value);
1065
- }
1066
- function d() {
1067
- }
1068
- return (u, h) => (a(), r("div", null, [
1069
- n("section", Js, [
1070
- Qs,
1071
- Xs,
1072
- (a(!0), r(k, null, C(l.value, (v, O) => (a(), r("div", {
1073
- key: O,
1074
- class: "br-1px br-solid br-grey flex radius-small mn-thin"
1075
- }, [
1076
- n("div", en, [
1077
- m(E, {
1078
- field: v.contact,
1079
- "onUpdate:field": (D) => v.contact = D,
1080
- placeholder: "Email или телефон",
1081
- class: "w-100 bg-white",
1082
- validation: i.value
1083
- }, null, 8, ["field", "onUpdate:field", "validation"]),
1084
- O > 0 ? (a(), r("div", tn, [
1085
- n("button", {
1086
- onClick: (D) => p(O),
1087
- class: "button-small button"
1088
- }, "×", 8, sn)
1089
- ])) : f("", !0)
1090
- ]),
1091
- m(nt, {
1092
- options: [
1093
- { name: "Директор", value: "director" },
1094
- { name: "Менеджер", value: "manager" },
1095
- { name: "Сотрудник", value: "member" }
1096
- ],
1097
- prop: v,
1098
- content: "role",
1099
- placeholder: "Роль",
1100
- size: "small",
1101
- class: "w-80"
1102
- }, null, 8, ["prop"])
1103
- ]))), 128)),
1104
- n("div", {
1105
- onClick: o,
1106
- class: "mn-small flex-v-center flex-nowrap flex"
1107
- }, an),
1108
- m(ce, {
1109
- submit: u.a = () => c(U.invites),
1110
- callback: d,
1111
- class: "mn-t-medium"
1112
- }, {
1113
- default: y(() => [
1114
- on
1115
- ]),
1116
- _: 1
1117
- }, 8, ["submit"])
1118
- ])
1119
- ]));
1120
- }
1121
- }, rn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1122
- __proto__: null,
1123
- default: ln
1124
- }, Symbol.toStringTag, { value: "Module" })), dn = { class: "mn-big radius-medium bg-white" }, cn = {
1125
- key: 0,
1126
- class: "pd-semi"
1127
- }, un = { class: "br-grey br-1px br-solid radius-small flex-nowrap flex-v-center flex pd-medium" }, pn = { class: "w-100 mn-r-small" }, mn = { class: "t-transp" }, hn = {
1128
- key: 0,
1129
- class: "mn-l-medium flex-v-center flex"
1130
- }, _n = ["onClick"], gn = {
1131
- key: 1,
1132
- class: "pd-semi"
1133
- }, fn = { key: 0 }, bn = { class: "br-grey br-1px br-solid radius-small mn-thin flex-nowrap flex-v-center flex pd-medium" }, vn = { class: "w-100 mn-r-small" }, yn = { class: "t-transp" }, $n = { class: "mn-l-medium flex-v-center flex" }, wn = ["onClick"], Gi = {
1134
- __name: "MembersList",
1135
- props: {
1136
- organization: Object,
1137
- memberships: Array,
1138
- invites: Array
1139
- },
1140
- emits: [["removeMember", "removeInvite"]],
1141
- setup(e, { emit: t }) {
1142
- const s = e, i = w("members");
1143
- function l(p, c) {
1144
- s.memberships.splice(p, 1), t("removeMember", c);
1145
- }
1146
- function o(p, c) {
1147
- s.invites.splice(p, 1), t("removeInvite", c);
1148
- }
1149
- return (p, c) => (a(), r("section", dn, [
1150
- m(Me, {
1151
- selected: i.value,
1152
- "onUpdate:selected": c[0] || (c[0] = (d) => i.value = d),
1153
- class: "br-grey br-b br-solid radius-small",
1154
- tabs: [
1155
- { name: "Участники", value: "members" },
1156
- { name: "Приглашения", value: "invites" }
1157
- ]
1158
- }, null, 8, ["selected"]),
1159
- i.value === "members" ? (a(), r("div", cn, [
1160
- (a(!0), r(k, null, C(e.memberships, (d, u) => (a(), r("div", un, [
1161
- n("span", pn, g(d.user.email) + " " + g(d.user.phone), 1),
1162
- n("span", mn, g(d.position), 1),
1163
- d.position !== "Основатель" ? (a(), r("div", hn, [
1164
- n("button", {
1165
- onClick: (h) => l(u, d),
1166
- class: "button-small button"
1167
- }, "×", 8, _n)
1168
- ])) : f("", !0)
1169
- ]))), 256))
1170
- ])) : f("", !0),
1171
- i.value === "invites" ? (a(), r("div", gn, [
1172
- e.invites.length < 1 ? (a(), r("span", fn, "В организации нет приглашений")) : f("", !0),
1173
- (a(!0), r(k, null, C(e.invites, (d, u) => (a(), r("div", bn, [
1174
- n("span", vn, g(d.invitedEmail) + " " + g(d.invitedPhone), 1),
1175
- n("span", yn, g(d.status), 1),
1176
- n("div", $n, [
1177
- n("button", {
1178
- onClick: (h) => o(u, d),
1179
- class: "button-small button"
1180
- }, "×", 8, wn)
1181
- ])
1182
- ]))), 256))
1183
- ])) : f("", !0)
1184
- ]));
1185
- }
1186
- };
1187
- const xn = {
1188
- key: 0,
1189
- class: "pd-thin for-transition w-100"
1190
- }, kn = /* @__PURE__ */ n("p", null, "34 members", -1), Cn = [
1191
- kn
1192
- ], On = { class: "pos-relative" }, Ln = { key: 0 }, Sn = {
1193
- __name: "Organization",
1194
- setup(e) {
1195
- const t = j(), s = B();
1196
- let i = s.query.tab ? s.query.tab : "events";
1197
- const l = w(null);
1198
- ue(async () => {
1199
- l.value = await J.read({ _id: s.params._id, user: T.user._id }), await Pe.read(s.params._id);
1200
- });
1201
- const o = w(i);
1202
- return s.query.tab = o.value, H(o, (p) => {
1203
- t.replace({ query: { ...s.query, tab: p } });
1204
- }), (p, c) => l.value ? (a(), r("div", xn, [
1205
- m(gs, {
1206
- organization: x.current,
1207
- user: T.user,
1208
- class: "mn-semi"
1209
- }, null, 8, ["organization", "user"]),
1210
- n("section", {
1211
- onClick: c[0] || (c[0] = (d) => $(t).push({
1212
- name: "Organization Members",
1213
- params: {
1214
- _id: $(s).params._id
1215
- }
1216
- })),
1217
- class: "mn-semi bg-grey radius-big pd-medium"
1218
- }, Cn),
1219
- m(Me, {
1220
- selected: o.value,
1221
- "onUpdate:selected": c[1] || (c[1] = (d) => o.value = d),
1222
- tabs: [
1223
- { name: "Community", value: "community" },
1224
- { name: "Products", value: "products" },
1225
- { name: "Events", value: "events" },
1226
- { name: "Spots", value: "spots" }
1227
- ],
1228
- class: "mn-small o-hidden h5 radius-big bg-grey"
1229
- }, null, 8, ["selected"]),
1230
- n("div", On, [
1231
- m(F, { name: "slide-fade" }, {
1232
- default: y(() => [
1233
- o.value === "community" ? (a(), b(Re, {
1234
- key: 0,
1235
- user: T.user._id,
1236
- owner: $(s).params._id
1237
- }, null, 8, ["user", "owner"])) : f("", !0)
1238
- ]),
1239
- _: 1
1240
- }),
1241
- m(F, { name: "slide-fade" }, {
1242
- default: y(() => [
1243
- o.value === "events" ? (a(), b(je, {
1244
- key: 0,
1245
- user: T.user._id,
1246
- owner: $(s).params._id,
1247
- sortOrder: "asc"
1248
- }, null, 8, ["user", "owner"])) : f("", !0)
1249
- ]),
1250
- _: 1
1251
- }),
1252
- m(F, { name: "slide-fade" }, {
1253
- default: y(() => [
1254
- o.value === "products" ? (a(), b(Ss, {
1255
- key: 0,
1256
- organization: x.current
1257
- }, null, 8, ["organization"])) : f("", !0)
1258
- ]),
1259
- _: 1
1260
- }),
1261
- m(F, { name: "slide-fade" }, {
1262
- default: y(() => [
1263
- o.value === "spots" ? (a(), r("div", Ln, [
1264
- m(jt, {
1265
- organization: x.current,
1266
- memberships: Ae.memberships
1267
- }, null, 8, ["organization", "memberships"])
1268
- ])) : f("", !0)
1269
- ]),
1270
- _: 1
1271
- })
1272
- ])
1273
- ])) : f("", !0);
1274
- }
1275
- }, zn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1276
- __proto__: null,
1277
- default: Sn
1278
- }, Symbol.toStringTag, { value: "Module" })), Mn = { class: "for-transition w-100" }, Pn = {
1279
- id: "dash",
1280
- class: "pd-medium bg-grey"
1281
- }, An = { class: "mn-medium radius-medium pd-semi bg-white" }, Dn = { class: "flex-nowrap flex mn-small" }, Vn = { class: "w-100" }, En = /* @__PURE__ */ n("path", {
1282
- d: "M515.693 9.52082C510.095 3.91669 502.49 0.765625 494.563 0.765625C486.635 0.765625 479.036 3.91669 473.432 9.52082L48.7255 434.307C44.8244 438.214 42.0848 443.125 40.8088 448.496L0.939444 615.069C-1.47202 625.168 1.528 635.788 8.86652 643.132C16.2103 650.47 26.8305 653.47 36.9292 651.059L203.516 611.261H203.511C208.88 609.985 213.792 607.246 217.699 603.35L642.485 178.496C648.089 172.892 651.241 165.293 651.241 157.366C651.241 149.439 648.089 141.835 642.485 136.235L515.693 9.52082ZM113.76 453.708L388.307 179.161L472.828 263.682L198.281 538.229L113.76 453.708ZM87.1041 511.5L140.416 564.812L70.3014 581.614L87.1041 511.5ZM515.091 221.793L430.195 136.897L494.184 72.9075L579.08 157.429L515.091 221.793Z",
1283
- fill: "black"
1284
- }, null, -1), Fn = [
1285
- En
1286
- ], Tn = ["innerHTML"], In = { class: "mn-medium radius-medium pd-semi bg-white" }, Un = /* @__PURE__ */ n("h3", { class: "mn-regular" }, "Команда", -1), Bn = { key: 0 }, jn = { class: "mn-medium radius-medium pd-semi bg-white" }, Rn = /* @__PURE__ */ n("h3", { class: "mn-regular" }, "Подотделы", -1), qn = { key: 0 }, Nn = {
1287
- __name: "Department",
1288
- async setup(e) {
1289
- let t, s;
1290
- j();
1291
- const i = B();
1292
- return [t, s] = ee(() => R.readOne(i.params._id)), await t, s(), (l, o) => (a(), r("div", Mn, [
1293
- n("div", Pn, [
1294
- n("section", An, [
1295
- n("div", Dn, [
1296
- n("h2", Vn, g(_.department.name), 1),
1297
- (a(), r("svg", {
1298
- onClick: o[0] || (o[0] = (p) => l.$router.push(`/app/organization/departments/${_.department._id}/edit`)),
1299
- class: "i-regular t-transp",
1300
- width: "652",
1301
- height: "652",
1302
- viewBox: "0 0 652 652",
1303
- fill: "none",
1304
- xmlns: "http://www.w3.org/2000/svg"
1305
- }, Fn))
1306
- ]),
1307
- n("p", {
1308
- class: "t-transp p-big",
1309
- innerHTML: _.department.description
1310
- }, null, 8, Tn)
1311
- ]),
1312
- n("section", In, [
1313
- Un,
1314
- n("ul", null, [
1315
- _.department.members.length < 1 ? (a(), r("li", Bn, "В отделе еще нет участников")) : f("", !0),
1316
- (a(!0), r(k, null, C(_.department.members, (p, c) => (a(), b(ge, {
1317
- class: "br-b br-solid br-grey",
1318
- key: c,
1319
- user: p.user,
1320
- position: p.position,
1321
- onClick: (d) => l.$router.push(`/app/profile/${p.user._id}`)
1322
- }, null, 8, ["user", "position", "onClick"]))), 128))
1323
- ])
1324
- ]),
1325
- n("section", jn, [
1326
- Rn,
1327
- n("ul", null, [
1328
- _.department.subdepartments.length < 1 ? (a(), r("li", qn, "В отделе еще нет подотделов")) : f("", !0),
1329
- (a(!0), r(k, null, C(_.department.subdepartments, (p, c) => (a(), b(Ve, {
1330
- onClick: (d) => l.$router.push(`/app/organization/departments/${p._id}`),
1331
- key: c,
1332
- class: "br-b br-solid br-grey",
1333
- department: p
1334
- }, null, 8, ["onClick", "department"]))), 128))
1335
- ])
1336
- ])
1337
- ])
1338
- ]));
1339
- }
1340
- }, Hn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1341
- __proto__: null,
1342
- default: Nn
1343
- }, Symbol.toStringTag, { value: "Module" })), Zn = { class: "for-transition pd-thin" }, Kn = /* @__PURE__ */ n("h3", { class: "mn-small" }, "Type of group", -1), Gn = /* @__PURE__ */ n("p", { class: "mn-thin" }, "Public groups are open to everyone, whereas in exclusive groups only members can post. If you wish to make a group private, select 'hidden'.", -1), Yn = /* @__PURE__ */ n("h3", { class: "mn-small" }, "Profile", -1), Wn = { class: "mn-thin radius-small w-100 h-10r bg-grey flex-center flex-column flex" }, Jn = /* @__PURE__ */ n("h4", null, "Upload photo", -1), Qn = /* @__PURE__ */ n("h3", { class: "mn-small" }, "Socials", -1), Xn = /* @__PURE__ */ n("p", { class: "mn-thin" }, "Please provide only the username for social media profiles, without full links.", -1), ea = {
1344
- __name: "OrganizationEdit",
1345
- async setup(e) {
1346
- let t, s;
1347
- const i = B(), l = j();
1348
- J.reset(), i.params._id && ([t, s] = ee(() => J.read({ _id: i.params._id })), await t, s());
1349
- const o = N(() => x.current);
1350
- async function p() {
1351
- i.params._id ? await J.update(i.params._id, o.value) : await J.create(x.current, T.user._id);
1352
- }
1353
- function c() {
1354
- l.replace({ name: "Organization", params: { _id: x.current._id } });
1355
- }
1356
- return (d, u) => (a(), r("div", Zn, [
1357
- Kn,
1358
- Gn,
1359
- m(ot, {
1360
- modelValue: x.current.types,
1361
- "onUpdate:modelValue": u[0] || (u[0] = (h) => x.current.types = h),
1362
- options: ["public", "exclusive", "hidden"],
1363
- multiple: !1,
1364
- taggable: !1,
1365
- placeholder: "Type to search or add type of organization",
1366
- class: "mn-semi bg-grey pd-medium radius-small"
1367
- }, null, 8, ["modelValue"]),
1368
- Yn,
1369
- n("div", Wn, [
1370
- m(De, {
1371
- photo: x.current.profile.photo,
1372
- "onUpdate:photo": u[1] || (u[1] = (h) => x.current.profile.photo = h),
1373
- uploadPath: "organizations/" + x.current._id + "/avatars",
1374
- class: "h-4r w-4r aspect-1x1 o-hidden mn-thin radius-extra"
1375
- }, null, 8, ["photo", "uploadPath"]),
1376
- Jn
1377
- ]),
1378
- m(E, {
1379
- field: x.current.profile.name,
1380
- "onUpdate:field": u[2] || (u[2] = (h) => x.current.profile.name = h),
1381
- placeholder: "Name of organization",
1382
- class: "mn-thin bg-grey pd-medium radius-small"
1383
- }, null, 8, ["field"]),
1384
- m(E, {
1385
- field: x.current.profile.description,
1386
- "onUpdate:field": u[3] || (u[3] = (h) => x.current.profile.description = h),
1387
- placeholder: "Brief description of your group",
1388
- class: "mn-thin bg-grey pd-medium radius-small"
1389
- }, null, 8, ["field"]),
1390
- m(at, {
1391
- onTagsChanged: u[4] || (u[4] = (h) => x.current.profile.tags = h),
1392
- tags: x.current.profile.tags
1393
- }, null, 8, ["tags"]),
1394
- Qn,
1395
- Xn,
1396
- m(E, {
1397
- field: x.current.socials.instagram,
1398
- "onUpdate:field": u[5] || (u[5] = (h) => x.current.socials.instagram = h),
1399
- label: "Instagram",
1400
- placeholder: "",
1401
- class: "mn-thin bg-grey pd-medium radius-small"
1402
- }, null, 8, ["field"]),
1403
- m(E, {
1404
- field: x.current.socials.twitter,
1405
- "onUpdate:field": u[6] || (u[6] = (h) => x.current.socials.twitter = h),
1406
- label: "Twitter",
1407
- placeholder: "",
1408
- class: "mn-thin bg-grey pd-medium radius-small"
1409
- }, null, 8, ["field"]),
1410
- m(E, {
1411
- field: x.current.socials.facebook,
1412
- "onUpdate:field": u[7] || (u[7] = (h) => x.current.socials.facebook = h),
1413
- label: "Facebook",
1414
- placeholder: "",
1415
- class: "mn-thin bg-grey pd-medium radius-small"
1416
- }, null, 8, ["field"]),
1417
- m(E, {
1418
- field: x.current.socials.telegram,
1419
- "onUpdate:field": u[8] || (u[8] = (h) => x.current.socials.telegram = h),
1420
- label: "Telegram",
1421
- placeholder: "",
1422
- class: "mn-thin bg-grey pd-medium radius-small"
1423
- }, null, 8, ["field"]),
1424
- m(ce, {
1425
- submit: p,
1426
- callback: c,
1427
- class: "mn-thin"
1428
- }, {
1429
- default: y(() => [
1430
- X("Save")
1431
- ]),
1432
- _: 1
1433
- })
1434
- ]));
1435
- }
1436
- }, ke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1437
- __proto__: null,
1438
- default: ea
1439
- }, Symbol.toStringTag, { value: "Module" }));
1440
- const ta = {
1441
- key: 0,
1442
- class: "t-transp mn-r-small"
1443
- }, sa = ["placeholder", "value"], na = {
1444
- key: 0,
1445
- class: "mn-t-thin invalid-feedback"
1446
- }, aa = {
1447
- __name: "Address",
1448
- props: {
1449
- apiKey: {
1450
- type: String,
1451
- required: !0
1452
- },
1453
- label: null,
1454
- placeholder: "Enter something here",
1455
- field: null,
1456
- location: {
1457
- type: Object,
1458
- default: { lat: 48.6900735, lng: 41.1620239 }
1459
- },
1460
- address: {
1461
- type: String,
1462
- default: ""
1463
- }
1464
- },
1465
- emits: ["update:address", "update:location", "update:country", "update:state", "update:city"],
1466
- setup(e, { emit: t }) {
1467
- const s = e, i = w(null);
1468
- let l;
1469
- const o = () => {
1470
- l = new google.maps.places.Autocomplete(i.value), l.addListener("place_changed", c);
1471
- }, p = () => {
1472
- l || o();
1473
- }, c = () => {
1474
- const d = l.getPlace();
1475
- if (!d.geometry || !d.address_components)
1476
- return;
1477
- let u = "", h = "", v = "";
1478
- for (let Z = 0; Z < d.address_components.length; Z++) {
1479
- console.log(d.address_components);
1480
- let S = d.address_components[Z];
1481
- S.types.includes("country") && (u = S.long_name), S.types.includes("administrative_area_level_1") && (h = S.long_name), S.types.includes("locality") && (v = S.long_name);
1482
- }
1483
- const O = d.formatted_address, D = { lat: d.geometry.location.lat(), lng: d.geometry.location.lng() };
1484
- t("update:address", O), t("update:location", D), t("update:country", u), t("update:state", h), t("update:city", v);
1485
- };
1486
- return de(() => {
1487
- s.address !== i.value && (i.value = s.address);
1488
- }), ue(() => {
1489
- o();
1490
- }), (d, u) => (a(), r("div", {
1491
- class: ne([d.$attrs.class, "flex-nowrap flex"])
1492
- }, [
1493
- e.label ? (a(), r("div", ta, [
1494
- n("span", null, g(e.label), 1)
1495
- ])) : f("", !0),
1496
- n("input", {
1497
- ref_key: "addressInput",
1498
- ref: i,
1499
- class: "w-100",
1500
- placeholder: e.placeholder,
1501
- value: e.address,
1502
- onInput: p
1503
- }, null, 40, sa),
1504
- m(F, {
1505
- mode: "out-in",
1506
- name: "fade"
1507
- }, {
1508
- default: y(() => [
1509
- d.validation ? (a(), r("div", na, " * " + g(d.validation.message), 1)) : f("", !0)
1510
- ]),
1511
- _: 1
1512
- })
1513
- ], 2));
1514
- }
1515
- }, oa = /* @__PURE__ */ M(aa, [["__scopeId", "data-v-faece1a6"]]);
1516
- const ia = (e) => (ae("data-v-1c7971e5"), e = e(), oe(), e), la = { class: "map-container" }, ra = /* @__PURE__ */ ia(() => /* @__PURE__ */ n("svg", {
1517
- class: "i-medium",
1518
- width: "98",
1519
- height: "98",
1520
- viewBox: "0 0 98 98",
1521
- fill: "none",
1522
- xmlns: "http://www.w3.org/2000/svg"
1523
- }, [
1524
- /* @__PURE__ */ n("path", {
1525
- d: "M50.0004 31.4995C39.7996 31.4995 31.5 39.7991 31.5 49.9999C31.5 60.2007 39.7996 68.5003 50.0004 68.5003C60.2012 68.5003 68.5008 60.2007 68.5008 49.9999C68.5008 39.7991 60.2012 31.4995 50.0004 31.4995ZM50.0004 63.7944C42.3941 63.7944 36.2059 57.6062 36.2059 49.9999C36.2059 42.3936 42.3941 36.2054 50.0004 36.2054C57.6067 36.2054 63.7949 42.3936 63.7949 49.9999C63.7949 57.6062 57.6067 63.7944 50.0004 63.7944Z",
1526
- fill: "white"
1527
- }),
1528
- /* @__PURE__ */ n("path", {
1529
- d: "M97.6471 47.6471H84.56C83.3977 30.4141 69.5859 16.6024 52.3529 15.44V2.35294C52.3529 1.05255 51.2988 0 50 0C48.6996 0 47.6471 1.05255 47.6471 2.35294V15.44C30.4141 16.6024 16.6024 30.4141 15.44 47.6471H2.35294C1.05255 47.6471 0 48.6996 0 50C0 51.2988 1.05255 52.3529 2.35294 52.3529H15.44C16.6024 69.5859 30.4141 83.3977 47.6471 84.56V97.6471C47.6471 98.9459 48.6996 100 50 100C51.2988 100 52.3529 98.9459 52.3529 97.6471V84.56C69.5859 83.3977 83.3977 69.5859 84.56 52.3529H97.6471C98.9459 52.3529 100 51.2988 100 50C100 48.6996 98.9459 47.6471 97.6471 47.6471ZM50 79.9435C33.4886 79.9435 20.0565 66.5114 20.0565 50C20.0565 33.4886 33.4886 20.0565 50 20.0565C66.5098 20.0565 79.9435 33.4886 79.9435 50C79.9435 66.5098 66.5098 79.9435 50 79.9435Z",
1530
- fill: "white"
1531
- })
1532
- ], -1)), da = [
1533
- ra
1534
- ], ca = {
1535
- __name: "LocationMarker",
1536
- props: {
1537
- location: {
1538
- type: Object,
1539
- default: { lat: 48.6900735, lng: 41.1620239 }
1540
- },
1541
- address: {
1542
- type: String,
1543
- default: ""
1544
- },
1545
- apiKey: String
1546
- },
1547
- emits: ["update:location", "update:address", "update:country", "update:state", "update:city"],
1548
- setup(e, { emit: t }) {
1549
- const s = e, i = w(null);
1550
- let l, o;
1551
- ue(() => {
1552
- l = new google.maps.Map(i.value, {
1553
- center: s.location,
1554
- zoom: 15,
1555
- mapTypeControl: !1,
1556
- fullscreenControl: !1
1557
- }), o = new google.maps.Marker({
1558
- position: s.location,
1559
- map: l,
1560
- draggable: !0
1561
- }), o.addListener("dragend", (d) => {
1562
- const u = { lat: d.latLng.lat(), lng: d.latLng.lng() };
1563
- t("update:location", u), p(u);
1564
- });
1565
- }), de(() => {
1566
- s.location && o && o.setPosition(new google.maps.LatLng(s.location.lat, s.location.lng));
1567
- }), de(() => {
1568
- if (s.location && l) {
1569
- const d = new google.maps.LatLng(s.location.lat, s.location.lng);
1570
- l.setCenter(d);
1571
- }
1572
- });
1573
- function p(d) {
1574
- new google.maps.Geocoder().geocode({ location: d }, (h, v) => {
1575
- if (v === "OK")
1576
- if (h[0]) {
1577
- t("update:address", h[0].formatted_address);
1578
- let O = "", D = "", Z = "";
1579
- h[0].address_components.forEach((S) => {
1580
- S.types.includes("country") && (O = S.long_name), S.types.includes("administrative_area_level_1") && (D = S.long_name), S.types.includes("locality") && (Z = S.long_name);
1581
- }), t("update:country", O), t("update:state", D), t("update:city", Z);
1582
- } else
1583
- console.error("No results found");
1584
- else
1585
- console.error("Geocoder failed due to: " + v);
1586
- });
1587
- }
1588
- async function c() {
1589
- navigator.geolocation ? navigator.geolocation.getCurrentPosition((d) => {
1590
- const u = { lat: d.coords.latitude, lng: d.coords.longitude };
1591
- t("update:location", u), p(u);
1592
- }, () => {
1593
- console.error("Error getting location");
1594
- }) : console.error("Geolocation is not supported by this browser.");
1595
- }
1596
- return (d, u) => (a(), r("div", la, [
1597
- n("div", {
1598
- ref_key: "mapContainer",
1599
- ref: i,
1600
- class: "w-100 h-100"
1601
- }, null, 512),
1602
- n("button", {
1603
- class: "pos-absolute pos-t-regular pos-r-regular i-semi bg-second radius-extra",
1604
- onClick: c
1605
- }, da)
1606
- ]));
1607
- }
1608
- }, ua = /* @__PURE__ */ M(ca, [["__scopeId", "data-v-1c7971e5"]]);
1609
- var pa = Object.defineProperty, ma = Object.defineProperties, ha = Object.getOwnPropertyDescriptors, Ce = Object.getOwnPropertySymbols, _a = Object.prototype.hasOwnProperty, ga = Object.prototype.propertyIsEnumerable, Oe = (e, t, s) => t in e ? pa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s, K = (e, t) => {
1610
- for (var s in t || (t = {}))
1611
- _a.call(t, s) && Oe(e, s, t[s]);
1612
- if (Ce)
1613
- for (var s of Ce(t))
1614
- ga.call(t, s) && Oe(e, s, t[s]);
1615
- return e;
1616
- }, Le = (e, t) => ma(e, ha(t));
1617
- const fa = {
1618
- props: {
1619
- autoscroll: {
1620
- type: Boolean,
1621
- default: !0
1622
- }
1623
- },
1624
- watch: {
1625
- typeAheadPointer() {
1626
- this.autoscroll && this.maybeAdjustScroll();
1627
- },
1628
- open(e) {
1629
- this.autoscroll && e && this.$nextTick(() => this.maybeAdjustScroll());
1630
- }
1631
- },
1632
- methods: {
1633
- maybeAdjustScroll() {
1634
- var e;
1635
- const t = ((e = this.$refs.dropdownMenu) == null ? void 0 : e.children[this.typeAheadPointer]) || !1;
1636
- if (t) {
1637
- const s = this.getDropdownViewport(), { top: i, bottom: l, height: o } = t.getBoundingClientRect();
1638
- if (i < s.top)
1639
- return this.$refs.dropdownMenu.scrollTop = t.offsetTop;
1640
- if (l > s.bottom)
1641
- return this.$refs.dropdownMenu.scrollTop = t.offsetTop - (s.height - o);
1642
- }
1643
- },
1644
- getDropdownViewport() {
1645
- return this.$refs.dropdownMenu ? this.$refs.dropdownMenu.getBoundingClientRect() : {
1646
- height: 0,
1647
- top: 0,
1648
- bottom: 0
1649
- };
1650
- }
1651
- }
1652
- }, ba = {
1653
- data() {
1654
- return {
1655
- typeAheadPointer: -1
1656
- };
1657
- },
1658
- watch: {
1659
- filteredOptions() {
1660
- for (let e = 0; e < this.filteredOptions.length; e++)
1661
- if (this.selectable(this.filteredOptions[e])) {
1662
- this.typeAheadPointer = e;
1663
- break;
1664
- }
1665
- },
1666
- open(e) {
1667
- e && this.typeAheadToLastSelected();
1668
- },
1669
- selectedValue() {
1670
- this.open && this.typeAheadToLastSelected();
1671
- }
1672
- },
1673
- methods: {
1674
- typeAheadUp() {
1675
- for (let e = this.typeAheadPointer - 1; e >= 0; e--)
1676
- if (this.selectable(this.filteredOptions[e])) {
1677
- this.typeAheadPointer = e;
1678
- break;
1679
- }
1680
- },
1681
- typeAheadDown() {
1682
- for (let e = this.typeAheadPointer + 1; e < this.filteredOptions.length; e++)
1683
- if (this.selectable(this.filteredOptions[e])) {
1684
- this.typeAheadPointer = e;
1685
- break;
1686
- }
1687
- },
1688
- typeAheadSelect() {
1689
- const e = this.filteredOptions[this.typeAheadPointer];
1690
- e && this.selectable(e) && this.select(e);
1691
- },
1692
- typeAheadToLastSelected() {
1693
- this.typeAheadPointer = this.selectedValue.length !== 0 ? this.filteredOptions.indexOf(this.selectedValue[this.selectedValue.length - 1]) : -1;
1694
- }
1695
- }
1696
- }, va = {
1697
- props: {
1698
- loading: {
1699
- type: Boolean,
1700
- default: !1
1701
- }
1702
- },
1703
- data() {
1704
- return {
1705
- mutableLoading: !1
1706
- };
1707
- },
1708
- watch: {
1709
- search() {
1710
- this.$emit("search", this.search, this.toggleLoading);
1711
- },
1712
- loading(e) {
1713
- this.mutableLoading = e;
1714
- }
1715
- },
1716
- methods: {
1717
- toggleLoading(e = null) {
1718
- return e == null ? this.mutableLoading = !this.mutableLoading : this.mutableLoading = e;
1719
- }
1720
- }
1721
- }, fe = (e, t) => {
1722
- const s = e.__vccOpts || e;
1723
- for (const [i, l] of t)
1724
- s[i] = l;
1725
- return s;
1726
- }, ya = {}, $a = {
1727
- xmlns: "http://www.w3.org/2000/svg",
1728
- width: "10",
1729
- height: "10"
1730
- }, wa = /* @__PURE__ */ n("path", { d: "M6.895455 5l2.842897-2.842898c.348864-.348863.348864-.914488 0-1.263636L9.106534.261648c-.348864-.348864-.914489-.348864-1.263636 0L5 3.104545 2.157102.261648c-.348863-.348864-.914488-.348864-1.263636 0L.261648.893466c-.348864.348864-.348864.914489 0 1.263636L3.104545 5 .261648 7.842898c-.348864.348863-.348864.914488 0 1.263636l.631818.631818c.348864.348864.914773.348864 1.263636 0L5 6.895455l2.842898 2.842897c.348863.348864.914772.348864 1.263636 0l.631818-.631818c.348864-.348864.348864-.914489 0-1.263636L6.895455 5z" }, null, -1), xa = [
1731
- wa
1732
- ];
1733
- function ka(e, t) {
1734
- return a(), r("svg", $a, xa);
1735
- }
1736
- const Ca = /* @__PURE__ */ fe(ya, [["render", ka]]), Oa = {}, La = {
1737
- xmlns: "http://www.w3.org/2000/svg",
1738
- width: "14",
1739
- height: "10"
1740
- }, Sa = /* @__PURE__ */ n("path", { d: "M9.211364 7.59931l4.48338-4.867229c.407008-.441854.407008-1.158247 0-1.60046l-.73712-.80023c-.407008-.441854-1.066904-.441854-1.474243 0L7 5.198617 2.51662.33139c-.407008-.441853-1.066904-.441853-1.474243 0l-.737121.80023c-.407008.441854-.407008 1.158248 0 1.600461l4.48338 4.867228L7 10l2.211364-2.40069z" }, null, -1), za = [
1741
- Sa
1742
- ];
1743
- function Ma(e, t) {
1744
- return a(), r("svg", La, za);
1745
- }
1746
- const Pa = /* @__PURE__ */ fe(Oa, [["render", Ma]]), Se = {
1747
- Deselect: Ca,
1748
- OpenIndicator: Pa
1749
- }, Aa = {
1750
- mounted(e, { instance: t }) {
1751
- if (t.appendToBody) {
1752
- const {
1753
- height: s,
1754
- top: i,
1755
- left: l,
1756
- width: o
1757
- } = t.$refs.toggle.getBoundingClientRect();
1758
- let p = window.scrollX || window.pageXOffset, c = window.scrollY || window.pageYOffset;
1759
- e.unbindPosition = t.calculatePosition(e, t, {
1760
- width: o + "px",
1761
- left: p + l + "px",
1762
- top: c + i + s + "px"
1763
- }), document.body.appendChild(e);
1764
- }
1765
- },
1766
- unmounted(e, { instance: t }) {
1767
- t.appendToBody && (e.unbindPosition && typeof e.unbindPosition == "function" && e.unbindPosition(), e.parentNode && e.parentNode.removeChild(e));
1768
- }
1769
- };
1770
- function Da(e) {
1771
- const t = {};
1772
- return Object.keys(e).sort().forEach((s) => {
1773
- t[s] = e[s];
1774
- }), JSON.stringify(t);
1775
- }
1776
- let Va = 0;
1777
- function Ea() {
1778
- return ++Va;
1779
- }
1780
- const Fa = {
1781
- components: K({}, Se),
1782
- directives: { appendToBody: Aa },
1783
- mixins: [fa, ba, va],
1784
- compatConfig: {
1785
- MODE: 3
1786
- },
1787
- emits: [
1788
- "open",
1789
- "close",
1790
- "update:modelValue",
1791
- "search",
1792
- "search:compositionstart",
1793
- "search:compositionend",
1794
- "search:keydown",
1795
- "search:blur",
1796
- "search:focus",
1797
- "search:input",
1798
- "option:created",
1799
- "option:selecting",
1800
- "option:selected",
1801
- "option:deselecting",
1802
- "option:deselected"
1803
- ],
1804
- props: {
1805
- modelValue: {},
1806
- components: {
1807
- type: Object,
1808
- default: () => ({})
1809
- },
1810
- options: {
1811
- type: Array,
1812
- default() {
1813
- return [];
1814
- }
1815
- },
1816
- disabled: {
1817
- type: Boolean,
1818
- default: !1
1819
- },
1820
- clearable: {
1821
- type: Boolean,
1822
- default: !0
1823
- },
1824
- deselectFromDropdown: {
1825
- type: Boolean,
1826
- default: !1
1827
- },
1828
- searchable: {
1829
- type: Boolean,
1830
- default: !0
1831
- },
1832
- multiple: {
1833
- type: Boolean,
1834
- default: !1
1835
- },
1836
- placeholder: {
1837
- type: String,
1838
- default: ""
1839
- },
1840
- transition: {
1841
- type: String,
1842
- default: "vs__fade"
1843
- },
1844
- clearSearchOnSelect: {
1845
- type: Boolean,
1846
- default: !0
1847
- },
1848
- closeOnSelect: {
1849
- type: Boolean,
1850
- default: !0
1851
- },
1852
- label: {
1853
- type: String,
1854
- default: "label"
1855
- },
1856
- autocomplete: {
1857
- type: String,
1858
- default: "off"
1859
- },
1860
- reduce: {
1861
- type: Function,
1862
- default: (e) => e
1863
- },
1864
- selectable: {
1865
- type: Function,
1866
- default: (e) => !0
1867
- },
1868
- getOptionLabel: {
1869
- type: Function,
1870
- default(e) {
1871
- return typeof e == "object" ? e.hasOwnProperty(this.label) ? e[this.label] : console.warn(`[vue-select warn]: Label key "option.${this.label}" does not exist in options object ${JSON.stringify(e)}.
1872
- https://vue-select.org/api/props.html#getoptionlabel`) : e;
1873
- }
1874
- },
1875
- getOptionKey: {
1876
- type: Function,
1877
- default(e) {
1878
- if (typeof e != "object")
1879
- return e;
1880
- try {
1881
- return e.hasOwnProperty("id") ? e.id : Da(e);
1882
- } catch (t) {
1883
- return console.warn(`[vue-select warn]: Could not stringify this option to generate unique key. Please provide'getOptionKey' prop to return a unique key for each option.
1884
- https://vue-select.org/api/props.html#getoptionkey`, e, t);
1885
- }
1886
- }
1887
- },
1888
- onTab: {
1889
- type: Function,
1890
- default: function() {
1891
- this.selectOnTab && !this.isComposing && this.typeAheadSelect();
1892
- }
1893
- },
1894
- taggable: {
1895
- type: Boolean,
1896
- default: !1
1897
- },
1898
- tabindex: {
1899
- type: Number,
1900
- default: null
1901
- },
1902
- pushTags: {
1903
- type: Boolean,
1904
- default: !1
1905
- },
1906
- filterable: {
1907
- type: Boolean,
1908
- default: !0
1909
- },
1910
- filterBy: {
1911
- type: Function,
1912
- default(e, t, s) {
1913
- return (t || "").toLocaleLowerCase().indexOf(s.toLocaleLowerCase()) > -1;
1914
- }
1915
- },
1916
- filter: {
1917
- type: Function,
1918
- default(e, t) {
1919
- return e.filter((s) => {
1920
- let i = this.getOptionLabel(s);
1921
- return typeof i == "number" && (i = i.toString()), this.filterBy(s, i, t);
1922
- });
1923
- }
1924
- },
1925
- createOption: {
1926
- type: Function,
1927
- default(e) {
1928
- return typeof this.optionList[0] == "object" ? { [this.label]: e } : e;
1929
- }
1930
- },
1931
- resetOnOptionsChange: {
1932
- default: !1,
1933
- validator: (e) => ["function", "boolean"].includes(typeof e)
1934
- },
1935
- clearSearchOnBlur: {
1936
- type: Function,
1937
- default: function({ clearSearchOnSelect: e, multiple: t }) {
1938
- return e && !t;
1939
- }
1940
- },
1941
- noDrop: {
1942
- type: Boolean,
1943
- default: !1
1944
- },
1945
- inputId: {
1946
- type: String
1947
- },
1948
- dir: {
1949
- type: String,
1950
- default: "auto"
1951
- },
1952
- selectOnTab: {
1953
- type: Boolean,
1954
- default: !1
1955
- },
1956
- selectOnKeyCodes: {
1957
- type: Array,
1958
- default: () => [13]
1959
- },
1960
- searchInputQuerySelector: {
1961
- type: String,
1962
- default: "[type=search]"
1963
- },
1964
- mapKeydown: {
1965
- type: Function,
1966
- default: (e, t) => e
1967
- },
1968
- appendToBody: {
1969
- type: Boolean,
1970
- default: !1
1971
- },
1972
- calculatePosition: {
1973
- type: Function,
1974
- default(e, t, { width: s, top: i, left: l }) {
1975
- e.style.top = i, e.style.left = l, e.style.width = s;
1976
- }
1977
- },
1978
- dropdownShouldOpen: {
1979
- type: Function,
1980
- default({ noDrop: e, open: t, mutableLoading: s }) {
1981
- return e ? !1 : t && !s;
1982
- }
1983
- },
1984
- uid: {
1985
- type: [String, Number],
1986
- default: () => Ea()
1987
- }
1988
- },
1989
- data() {
1990
- return {
1991
- search: "",
1992
- open: !1,
1993
- isComposing: !1,
1994
- pushedTags: [],
1995
- _value: [],
1996
- deselectButtons: []
1997
- };
1998
- },
1999
- computed: {
2000
- isReducingValues() {
2001
- return this.$props.reduce !== this.$options.props.reduce.default;
2002
- },
2003
- isTrackingValues() {
2004
- return typeof this.modelValue > "u" || this.isReducingValues;
2005
- },
2006
- selectedValue() {
2007
- let e = this.modelValue;
2008
- return this.isTrackingValues && (e = this.$data._value), e != null && e !== "" ? [].concat(e) : [];
2009
- },
2010
- optionList() {
2011
- return this.options.concat(this.pushTags ? this.pushedTags : []);
2012
- },
2013
- searchEl() {
2014
- return this.$slots.search ? this.$refs.selectedOptions.querySelector(this.searchInputQuerySelector) : this.$refs.search;
2015
- },
2016
- scope() {
2017
- const e = {
2018
- search: this.search,
2019
- loading: this.loading,
2020
- searching: this.searching,
2021
- filteredOptions: this.filteredOptions
2022
- };
2023
- return {
2024
- search: {
2025
- attributes: K({
2026
- disabled: this.disabled,
2027
- placeholder: this.searchPlaceholder,
2028
- tabindex: this.tabindex,
2029
- readonly: !this.searchable,
2030
- id: this.inputId,
2031
- "aria-autocomplete": "list",
2032
- "aria-labelledby": `vs${this.uid}__combobox`,
2033
- "aria-controls": `vs${this.uid}__listbox`,
2034
- ref: "search",
2035
- type: "search",
2036
- autocomplete: this.autocomplete,
2037
- value: this.search
2038
- }, this.dropdownOpen && this.filteredOptions[this.typeAheadPointer] ? {
2039
- "aria-activedescendant": `vs${this.uid}__option-${this.typeAheadPointer}`
2040
- } : {}),
2041
- events: {
2042
- compositionstart: () => this.isComposing = !0,
2043
- compositionend: () => this.isComposing = !1,
2044
- keydown: this.onSearchKeyDown,
2045
- blur: this.onSearchBlur,
2046
- focus: this.onSearchFocus,
2047
- input: (t) => this.search = t.target.value
2048
- }
2049
- },
2050
- spinner: {
2051
- loading: this.mutableLoading
2052
- },
2053
- noOptions: {
2054
- search: this.search,
2055
- loading: this.mutableLoading,
2056
- searching: this.searching
2057
- },
2058
- openIndicator: {
2059
- attributes: {
2060
- ref: "openIndicator",
2061
- role: "presentation",
2062
- class: "vs__open-indicator"
2063
- }
2064
- },
2065
- listHeader: e,
2066
- listFooter: e,
2067
- header: Le(K({}, e), { deselect: this.deselect }),
2068
- footer: Le(K({}, e), { deselect: this.deselect })
2069
- };
2070
- },
2071
- childComponents() {
2072
- return K(K({}, Se), this.components);
2073
- },
2074
- stateClasses() {
2075
- return {
2076
- "vs--open": this.dropdownOpen,
2077
- "vs--single": !this.multiple,
2078
- "vs--multiple": this.multiple,
2079
- "vs--searching": this.searching && !this.noDrop,
2080
- "vs--searchable": this.searchable && !this.noDrop,
2081
- "vs--unsearchable": !this.searchable,
2082
- "vs--loading": this.mutableLoading,
2083
- "vs--disabled": this.disabled
2084
- };
2085
- },
2086
- searching() {
2087
- return !!this.search;
2088
- },
2089
- dropdownOpen() {
2090
- return this.dropdownShouldOpen(this);
2091
- },
2092
- searchPlaceholder() {
2093
- return this.isValueEmpty && this.placeholder ? this.placeholder : void 0;
2094
- },
2095
- filteredOptions() {
2096
- const e = [].concat(this.optionList);
2097
- if (!this.filterable && !this.taggable)
2098
- return e;
2099
- const t = this.search.length ? this.filter(e, this.search, this) : e;
2100
- if (this.taggable && this.search.length) {
2101
- const s = this.createOption(this.search);
2102
- this.optionExists(s) || t.unshift(s);
2103
- }
2104
- return t;
2105
- },
2106
- isValueEmpty() {
2107
- return this.selectedValue.length === 0;
2108
- },
2109
- showClearButton() {
2110
- return !this.multiple && this.clearable && !this.open && !this.isValueEmpty;
2111
- }
2112
- },
2113
- watch: {
2114
- options(e, t) {
2115
- const s = () => typeof this.resetOnOptionsChange == "function" ? this.resetOnOptionsChange(e, t, this.selectedValue) : this.resetOnOptionsChange;
2116
- !this.taggable && s() && this.clearSelection(), this.modelValue && this.isTrackingValues && this.setInternalValueFromOptions(this.modelValue);
2117
- },
2118
- modelValue: {
2119
- immediate: !0,
2120
- handler(e) {
2121
- this.isTrackingValues && this.setInternalValueFromOptions(e);
2122
- }
2123
- },
2124
- multiple() {
2125
- this.clearSelection();
2126
- },
2127
- open(e) {
2128
- this.$emit(e ? "open" : "close");
2129
- }
2130
- },
2131
- created() {
2132
- this.mutableLoading = this.loading;
2133
- },
2134
- methods: {
2135
- setInternalValueFromOptions(e) {
2136
- Array.isArray(e) ? this.$data._value = e.map((t) => this.findOptionFromReducedValue(t)) : this.$data._value = this.findOptionFromReducedValue(e);
2137
- },
2138
- select(e) {
2139
- this.$emit("option:selecting", e), this.isOptionSelected(e) ? this.deselectFromDropdown && (this.clearable || this.multiple && this.selectedValue.length > 1) && this.deselect(e) : (this.taggable && !this.optionExists(e) && (this.$emit("option:created", e), this.pushTag(e)), this.multiple && (e = this.selectedValue.concat(e)), this.updateValue(e), this.$emit("option:selected", e)), this.onAfterSelect(e);
2140
- },
2141
- deselect(e) {
2142
- this.$emit("option:deselecting", e), this.updateValue(this.selectedValue.filter((t) => !this.optionComparator(t, e))), this.$emit("option:deselected", e);
2143
- },
2144
- clearSelection() {
2145
- this.updateValue(this.multiple ? [] : null);
2146
- },
2147
- onAfterSelect(e) {
2148
- this.closeOnSelect && (this.open = !this.open, this.searchEl.blur()), this.clearSearchOnSelect && (this.search = "");
2149
- },
2150
- updateValue(e) {
2151
- typeof this.modelValue > "u" && (this.$data._value = e), e !== null && (Array.isArray(e) ? e = e.map((t) => this.reduce(t)) : e = this.reduce(e)), this.$emit("update:modelValue", e);
2152
- },
2153
- toggleDropdown(e) {
2154
- const t = e.target !== this.searchEl;
2155
- t && e.preventDefault();
2156
- const s = [
2157
- ...this.deselectButtons || [],
2158
- this.$refs.clearButton
2159
- ];
2160
- if (this.searchEl === void 0 || s.filter(Boolean).some((i) => i.contains(e.target) || i === e.target)) {
2161
- e.preventDefault();
2162
- return;
2163
- }
2164
- this.open && t ? this.searchEl.blur() : this.disabled || (this.open = !0, this.searchEl.focus());
2165
- },
2166
- isOptionSelected(e) {
2167
- return this.selectedValue.some((t) => this.optionComparator(t, e));
2168
- },
2169
- isOptionDeselectable(e) {
2170
- return this.isOptionSelected(e) && this.deselectFromDropdown;
2171
- },
2172
- optionComparator(e, t) {
2173
- return this.getOptionKey(e) === this.getOptionKey(t);
2174
- },
2175
- findOptionFromReducedValue(e) {
2176
- const t = (i) => JSON.stringify(this.reduce(i)) === JSON.stringify(e), s = [...this.options, ...this.pushedTags].filter(t);
2177
- return s.length === 1 ? s[0] : s.find((i) => this.optionComparator(i, this.$data._value)) || e;
2178
- },
2179
- closeSearchOptions() {
2180
- this.open = !1, this.$emit("search:blur");
2181
- },
2182
- maybeDeleteValue() {
2183
- if (!this.searchEl.value.length && this.selectedValue && this.selectedValue.length && this.clearable) {
2184
- let e = null;
2185
- this.multiple && (e = [
2186
- ...this.selectedValue.slice(0, this.selectedValue.length - 1)
2187
- ]), this.updateValue(e);
2188
- }
2189
- },
2190
- optionExists(e) {
2191
- return this.optionList.some((t) => this.optionComparator(t, e));
2192
- },
2193
- normalizeOptionForSlot(e) {
2194
- return typeof e == "object" ? e : { [this.label]: e };
2195
- },
2196
- pushTag(e) {
2197
- this.pushedTags.push(e);
2198
- },
2199
- onEscape() {
2200
- this.search.length ? this.search = "" : this.searchEl.blur();
2201
- },
2202
- onSearchBlur() {
2203
- if (this.mousedown && !this.searching)
2204
- this.mousedown = !1;
2205
- else {
2206
- const { clearSearchOnSelect: e, multiple: t } = this;
2207
- this.clearSearchOnBlur({ clearSearchOnSelect: e, multiple: t }) && (this.search = ""), this.closeSearchOptions();
2208
- return;
2209
- }
2210
- if (this.search.length === 0 && this.options.length === 0) {
2211
- this.closeSearchOptions();
2212
- return;
2213
- }
2214
- },
2215
- onSearchFocus() {
2216
- this.open = !0, this.$emit("search:focus");
2217
- },
2218
- onMousedown() {
2219
- this.mousedown = !0;
2220
- },
2221
- onMouseUp() {
2222
- this.mousedown = !1;
2223
- },
2224
- onSearchKeyDown(e) {
2225
- const t = (l) => (l.preventDefault(), !this.isComposing && this.typeAheadSelect()), s = {
2226
- 8: (l) => this.maybeDeleteValue(),
2227
- 9: (l) => this.onTab(),
2228
- 27: (l) => this.onEscape(),
2229
- 38: (l) => (l.preventDefault(), this.typeAheadUp()),
2230
- 40: (l) => (l.preventDefault(), this.typeAheadDown())
2231
- };
2232
- this.selectOnKeyCodes.forEach((l) => s[l] = t);
2233
- const i = this.mapKeydown(s, this);
2234
- if (typeof i[e.keyCode] == "function")
2235
- return i[e.keyCode](e);
2236
- }
2237
- }
2238
- }, Ta = ["dir"], Ia = ["id", "aria-expanded", "aria-owns"], Ua = {
2239
- ref: "selectedOptions",
2240
- class: "vs__selected-options"
2241
- }, Ba = ["disabled", "title", "aria-label", "onClick"], ja = {
2242
- ref: "actions",
2243
- class: "vs__actions"
2244
- }, Ra = ["disabled"], qa = { class: "vs__spinner" }, Na = ["id"], Ha = ["id", "aria-selected", "onMouseover", "onClick"], Za = {
2245
- key: 0,
2246
- class: "vs__no-options"
2247
- }, Ka = /* @__PURE__ */ X(" Sorry, no matching options. "), Ga = ["id"];
2248
- function Ya(e, t, s, i, l, o) {
2249
- const p = Te("append-to-body");
2250
- return a(), r("div", {
2251
- dir: s.dir,
2252
- class: ne(["v-select", o.stateClasses])
2253
- }, [
2254
- z(e.$slots, "header", P(V(o.scope.header))),
2255
- n("div", {
2256
- id: `vs${s.uid}__combobox`,
2257
- ref: "toggle",
2258
- class: "vs__dropdown-toggle",
2259
- role: "combobox",
2260
- "aria-expanded": o.dropdownOpen.toString(),
2261
- "aria-owns": `vs${s.uid}__listbox`,
2262
- "aria-label": "Search for option",
2263
- onMousedown: t[1] || (t[1] = (c) => o.toggleDropdown(c))
2264
- }, [
2265
- n("div", Ua, [
2266
- (a(!0), r(k, null, C(o.selectedValue, (c, d) => z(e.$slots, "selected-option-container", {
2267
- option: o.normalizeOptionForSlot(c),
2268
- deselect: o.deselect,
2269
- multiple: s.multiple,
2270
- disabled: s.disabled
2271
- }, () => [
2272
- (a(), r("span", {
2273
- key: s.getOptionKey(c),
2274
- class: "vs__selected"
2275
- }, [
2276
- z(e.$slots, "selected-option", P(V(o.normalizeOptionForSlot(c))), () => [
2277
- X(g(s.getOptionLabel(c)), 1)
2278
- ]),
2279
- s.multiple ? (a(), r("button", {
2280
- key: 0,
2281
- ref_for: !0,
2282
- ref: (u) => l.deselectButtons[d] = u,
2283
- disabled: s.disabled,
2284
- type: "button",
2285
- class: "vs__deselect",
2286
- title: `Deselect ${s.getOptionLabel(c)}`,
2287
- "aria-label": `Deselect ${s.getOptionLabel(c)}`,
2288
- onClick: (u) => o.deselect(c)
2289
- }, [
2290
- (a(), b(re(o.childComponents.Deselect)))
2291
- ], 8, Ba)) : f("", !0)
2292
- ]))
2293
- ])), 256)),
2294
- z(e.$slots, "search", P(V(o.scope.search)), () => [
2295
- n("input", be({ class: "vs__search" }, o.scope.search.attributes, Ie(o.scope.search.events)), null, 16)
2296
- ])
2297
- ], 512),
2298
- n("div", ja, [
2299
- se(n("button", {
2300
- ref: "clearButton",
2301
- disabled: s.disabled,
2302
- type: "button",
2303
- class: "vs__clear",
2304
- title: "Clear Selected",
2305
- "aria-label": "Clear Selected",
2306
- onClick: t[0] || (t[0] = (...c) => o.clearSelection && o.clearSelection(...c))
2307
- }, [
2308
- (a(), b(re(o.childComponents.Deselect)))
2309
- ], 8, Ra), [
2310
- [ve, o.showClearButton]
2311
- ]),
2312
- z(e.$slots, "open-indicator", P(V(o.scope.openIndicator)), () => [
2313
- s.noDrop ? f("", !0) : (a(), b(re(o.childComponents.OpenIndicator), P(be({ key: 0 }, o.scope.openIndicator.attributes)), null, 16))
2314
- ]),
2315
- z(e.$slots, "spinner", P(V(o.scope.spinner)), () => [
2316
- se(n("div", qa, "Loading...", 512), [
2317
- [ve, e.mutableLoading]
2318
- ])
2319
- ])
2320
- ], 512)
2321
- ], 40, Ia),
2322
- m(F, { name: s.transition }, {
2323
- default: y(() => [
2324
- o.dropdownOpen ? se((a(), r("ul", {
2325
- id: `vs${s.uid}__listbox`,
2326
- ref: "dropdownMenu",
2327
- key: `vs${s.uid}__listbox`,
2328
- class: "vs__dropdown-menu",
2329
- role: "listbox",
2330
- tabindex: "-1",
2331
- onMousedown: t[2] || (t[2] = ye((...c) => o.onMousedown && o.onMousedown(...c), ["prevent"])),
2332
- onMouseup: t[3] || (t[3] = (...c) => o.onMouseUp && o.onMouseUp(...c))
2333
- }, [
2334
- z(e.$slots, "list-header", P(V(o.scope.listHeader))),
2335
- (a(!0), r(k, null, C(o.filteredOptions, (c, d) => (a(), r("li", {
2336
- id: `vs${s.uid}__option-${d}`,
2337
- key: s.getOptionKey(c),
2338
- role: "option",
2339
- class: ne(["vs__dropdown-option", {
2340
- "vs__dropdown-option--deselect": o.isOptionDeselectable(c) && d === e.typeAheadPointer,
2341
- "vs__dropdown-option--selected": o.isOptionSelected(c),
2342
- "vs__dropdown-option--highlight": d === e.typeAheadPointer,
2343
- "vs__dropdown-option--disabled": !s.selectable(c)
2344
- }]),
2345
- "aria-selected": d === e.typeAheadPointer ? !0 : null,
2346
- onMouseover: (u) => s.selectable(c) ? e.typeAheadPointer = d : null,
2347
- onClick: ye((u) => s.selectable(c) ? o.select(c) : null, ["prevent", "stop"])
2348
- }, [
2349
- z(e.$slots, "option", P(V(o.normalizeOptionForSlot(c))), () => [
2350
- X(g(s.getOptionLabel(c)), 1)
2351
- ])
2352
- ], 42, Ha))), 128)),
2353
- o.filteredOptions.length === 0 ? (a(), r("li", Za, [
2354
- z(e.$slots, "no-options", P(V(o.scope.noOptions)), () => [
2355
- Ka
2356
- ])
2357
- ])) : f("", !0),
2358
- z(e.$slots, "list-footer", P(V(o.scope.listFooter)))
2359
- ], 40, Na)), [
2360
- [p]
2361
- ]) : (a(), r("ul", {
2362
- key: 1,
2363
- id: `vs${s.uid}__listbox`,
2364
- role: "listbox",
2365
- style: { display: "none", visibility: "hidden" }
2366
- }, null, 8, Ga))
2367
- ]),
2368
- _: 3
2369
- }, 8, ["name"]),
2370
- z(e.$slots, "footer", P(V(o.scope.footer)))
2371
- ], 10, Ta);
2372
- }
2373
- const Wa = /* @__PURE__ */ fe(Fa, [["render", Ya]]);
2374
- const Ja = { class: "w-100" }, Qa = { class: "flex" }, Xa = { class: "mn-regular" }, eo = { class: "flex-column flex-wrap block" }, to = {
2375
- key: 0,
2376
- class: "w-100"
2377
- }, so = { class: "w-100 flex-center flex-nowrap flex" }, no = { class: "mn-r-regular w-100" }, ao = ["onClick"], oo = {
2378
- key: 0,
2379
- class: "mn-t-small mn-small w-100"
2380
- }, Yi = {
2381
- __name: "EditArray",
2382
- props: {
2383
- name: Object,
2384
- items: Array
2385
- },
2386
- emits: ["add", "remove"],
2387
- setup(e, { emit: t }) {
2388
- j(), B();
2389
- let s = pe([]);
2390
- Ue(s);
2391
- const i = w(null), l = w(null), o = w(null);
2392
- N(() => {
2393
- if (i.value === null || o.value === null || o.value === "")
2394
- return !0;
2395
- if (i.value.modifications.length > 0)
2396
- return l.value === null;
2397
- });
2398
- function p(c) {
2399
- store.commit("leftovers/deleteItemFromLeftover", c);
2400
- }
2401
- return (c, d) => (a(), r("div", Ja, [
2402
- n("div", Qa, [
2403
- n("h3", Xa, g(e.name), 1)
2404
- ]),
2405
- n("ul", eo, [
2406
- e.items.length < 1 ? (a(), r("span", to, "Вы еще не добавили позиции")) : f("", !0),
2407
- (a(!0), r(k, null, C(e.items, (u, h) => (a(), r("li", {
2408
- key: u._id,
2409
- class: "w-100"
2410
- }, [
2411
- n("div", so, [
2412
- n("span", no, g(u.name), 1),
2413
- n("a", {
2414
- class: "w-20 button",
2415
- onClick: (v) => p(u)
2416
- }, "Удалить", 8, ao)
2417
- ]),
2418
- h != e.items.length - 1 ? (a(), r("hr", oo)) : f("", !0)
2419
- ]))), 128))
2420
- ])
2421
- ]));
2422
- }
2423
- };
2424
- const io = { class: "br-grey radius-small mn-small" }, lo = {
2425
- key: 1,
2426
- class: "pd-small br-grey br-1px br-solid"
2427
- }, ro = ["disabled"], co = {
2428
- __name: "DepartmentMemberModify",
2429
- props: {
2430
- isPopupOpen: Boolean,
2431
- department: Number,
2432
- departments: Array,
2433
- maindepartment: Object,
2434
- alldepartments: Array
2435
- },
2436
- emits: ["callback", "remove"],
2437
- setup(e, { emit: t }) {
2438
- const s = e, i = w({
2439
- subdepartment: null
2440
- });
2441
- s.department !== null && (i.value = s.departments[s.department]);
2442
- function l(d, u, h) {
2443
- return d.filter((v) => !(u.some((O) => O._id === v._id) || h._id === v._id));
2444
- }
2445
- const o = N(() => l(s.alldepartments, s.departments, s.maindepartment));
2446
- async function p() {
2447
- s.departments.push(i.value.subdepartment), t("callback");
2448
- }
2449
- async function c() {
2450
- s.departments.splice(s.department, 1), t("callback");
2451
- }
2452
- return (d, u) => (a(), r("div", null, [
2453
- n("div", io, [
2454
- s.department === null ? (a(), b($(Wa), {
2455
- key: 0,
2456
- modelValue: i.value.subdepartment,
2457
- "onUpdate:modelValue": u[0] || (u[0] = (h) => i.value.subdepartment = h),
2458
- options: $(o),
2459
- "get-option-label": (h) => h.name,
2460
- class: "w-100 mn-small"
2461
- }, null, 8, ["modelValue", "options", "get-option-label"])) : (a(), r("div", lo, g(i.value.name ? i.value.name : "Безымянный"), 1))
2462
- ]),
2463
- s.department === null ? (a(), r("button", {
2464
- key: 0,
2465
- disabled: !i.value.subdepartment,
2466
- onClick: p,
2467
- class: "w-100 button bg-second t-white"
2468
- }, " Добавить отдел ", 8, ro)) : f("", !0),
2469
- s.department !== null ? (a(), r("button", {
2470
- key: 1,
2471
- onClick: c,
2472
- class: "w-100 button bg-fourth t-white"
2473
- }, " Удалить отдел ")) : f("", !0)
2474
- ]));
2475
- }
2476
- }, Wi = /* @__PURE__ */ M(co, [["__scopeId", "data-v-21f393e1"]]);
2477
- const te = (e) => (ae("data-v-6a9ce43d"), e = e(), oe(), e), uo = { class: "for-transition w-100" }, po = { class: "pd-b-zero pd-t-zero pd-thin" }, mo = { class: "pd-thin" }, ho = { class: "flex-nowrap flex bg-grey pd-medium radius-big" }, _o = {
2478
- key: 0,
2479
- class: "mn-r-auto"
2480
- }, go = {
2481
- key: 1,
2482
- class: "mn-r-auto"
2483
- }, fo = { class: "flex-nowrap flex pd-thin" }, bo = { class: "pd-b-zero pd-t-zero pd-thin cols-2 gap-thin" }, vo = { class: "flex-stretch flex-column flex" }, yo = { class: "mn-thin bg-grey pd-medium o-hidden radius-big" }, $o = /* @__PURE__ */ te(() => /* @__PURE__ */ n("h3", { class: "mn-semi" }, "Profile", -1)), wo = { class: "radius-small flex-nowrap flex" }, xo = { class: "w-100 flex-child-grow-1 flex-child" }, ko = { class: "bg-grey pd-medium o-hidden radius-big" }, Co = /* @__PURE__ */ te(() => /* @__PURE__ */ n("h3", { class: "mn-semi" }, "Details", -1)), Oo = /* @__PURE__ */ te(() => /* @__PURE__ */ n("p", { class: "p-medium mn-small" }, "Please the available delivery options:", -1)), Lo = { class: "mn-medium flex-nowrap flex" }, So = /* @__PURE__ */ te(() => /* @__PURE__ */ n("p", { class: "p-medium mn-small" }, "Please select the available payment methods:", -1)), zo = { class: "flex-nowrap flex" }, Mo = { class: "bg-grey pd-medium o-hidden radius-big" }, Po = /* @__PURE__ */ te(() => /* @__PURE__ */ n("h3", { class: "mn-semi" }, "Location", -1)), Ao = /* @__PURE__ */ te(() => /* @__PURE__ */ n("p", { class: "mn-small p-medium" }, "Or choose on map:", -1)), Do = { class: "flex-nowrap flex pd-thin" }, Vo = {
2484
- __name: "DepartmentEdit",
2485
- setup(e) {
2486
- const t = j(), s = B();
2487
- w("details"), w(!1);
2488
- async function i() {
2489
- s.params.department && await Pe.read(s.params.department), w(Ae.memberships), await R.read(s.params._id), s.params.department && await R.readOne(s.params.department);
2490
- }
2491
- i(), w(_.department.members), w(!1), w(null), w(!1), w(null);
2492
- async function l() {
2493
- s.params.department && await R.update(
2494
- s.params._id,
2495
- _.department
2496
- ), s.params.department || await R.create(
2497
- s.params._id,
2498
- _.department
2499
- );
2500
- }
2501
- function o() {
2502
- t.replace({ name: "Department", params: { _id: s.params._id, department: _.department._id } });
2503
- }
2504
- async function p() {
2505
- await R.delete(
2506
- s.params._id,
2507
- _.department
2508
- );
2509
- }
2510
- return (c, d) => (a(), r("div", uo, [
2511
- n("div", po, [
2512
- m(Qe, { class: "pd-medium bg-grey radius-big" })
2513
- ]),
2514
- n("div", mo, [
2515
- n("header", ho, [
2516
- $(s).params.department ? (a(), r("h1", _o, "Edit Spot")) : (a(), r("h1", go, "Create Spot")),
2517
- n("section", fo, [
2518
- m(ce, {
2519
- submit: l,
2520
- callback: o
2521
- }, {
2522
- default: y(() => [
2523
- X("Save Spot")
2524
- ]),
2525
- _: 1
2526
- })
2527
- ])
2528
- ])
2529
- ]),
2530
- n("div", bo, [
2531
- n("div", vo, [
2532
- n("div", yo, [
2533
- $o,
2534
- n("div", wo, [
2535
- m(De, {
2536
- photo: _.department.profile.photo,
2537
- "onUpdate:photo": d[0] || (d[0] = (u) => _.department.profile.photo = u),
2538
- uploadPath: "organizations/" + _.department.name + "/avatars",
2539
- class: "w-8r aspect-1x1 o-hidden mn-r-small radius-extra"
2540
- }, null, 8, ["photo", "uploadPath"]),
2541
- n("div", xo, [
2542
- m(E, {
2543
- field: _.department.profile.name,
2544
- "onUpdate:field": d[1] || (d[1] = (u) => _.department.profile.name = u),
2545
- label: "Name",
2546
- placeholder: "Spot Name",
2547
- class: "mn-small bg-white radius-small pd-medium",
2548
- validation: c.organizationName
2549
- }, null, 8, ["field", "validation"]),
2550
- m(E, {
2551
- field: _.department.profile.description,
2552
- "onUpdate:field": d[2] || (d[2] = (u) => _.department.profile.description = u),
2553
- label: "Description",
2554
- placeholder: "Spot description (max 120 symbols)",
2555
- class: "bg-white radius-small pd-medium",
2556
- validation: c.organizationName
2557
- }, null, 8, ["field", "validation"])
2558
- ])
2559
- ])
2560
- ]),
2561
- n("div", ko, [
2562
- Co,
2563
- Oo,
2564
- n("div", Lo, [
2565
- m(I, {
2566
- label: "Pickup",
2567
- name: "Delivery",
2568
- value: "pickup",
2569
- class: "w-100 mn-r-small bg-white radius-small pd-small",
2570
- radio: _.department.delivery
2571
- }, null, 8, ["radio"]),
2572
- m(I, {
2573
- label: "Delivery",
2574
- name: "Delivery",
2575
- value: "courier",
2576
- class: "w-100 mn-r-small bg-white radius-small pd-small",
2577
- radio: _.department.delivery
2578
- }, null, 8, ["radio"]),
2579
- m(I, {
2580
- label: "Post",
2581
- name: "Delivery",
2582
- value: "post",
2583
- class: "w-100 bg-white radius-small pd-small",
2584
- radio: _.department.delivery
2585
- }, null, 8, ["radio"])
2586
- ]),
2587
- So,
2588
- n("div", zo, [
2589
- m(I, {
2590
- label: "Cash",
2591
- name: "Payment",
2592
- value: "cash",
2593
- class: "w-100 mn-r-small bg-white radius-small pd-small",
2594
- radio: _.department.payment
2595
- }, null, 8, ["radio"]),
2596
- m(I, {
2597
- label: "Bank Transfer",
2598
- name: "Payment",
2599
- value: "bank",
2600
- class: "w-100 mn-r-small bg-white radius-small pd-small",
2601
- radio: _.department.payment
2602
- }, null, 8, ["radio"]),
2603
- m(I, {
2604
- label: "Crypto",
2605
- name: "Payment",
2606
- value: "crypto",
2607
- class: "w-100 bg-white radius-small pd-small",
2608
- radio: _.department.payment
2609
- }, null, 8, ["radio"])
2610
- ])
2611
- ])
2612
- ]),
2613
- n("div", Mo, [
2614
- Po,
2615
- m(oa, {
2616
- apiKey: c.GOOGLE_MAPS_API_KEY,
2617
- address: _.department.address,
2618
- location: _.department.location,
2619
- label: "Address",
2620
- placeholder: "Enter delivery address",
2621
- class: "bg-white radius-small pd-small mn-small",
2622
- "onUpdate:location": d[3] || (d[3] = (u) => {
2623
- _.department.location = u;
2624
- }),
2625
- "onUpdate:address": d[4] || (d[4] = (u) => {
2626
- _.department.address = u;
2627
- })
2628
- }, null, 8, ["apiKey", "address", "location"]),
2629
- Ao,
2630
- m(ua, {
2631
- address: _.department.address,
2632
- location: _.department.location,
2633
- apiKey: c.GOOGLE_MAPS_API_KEY,
2634
- class: "radius-big o-hidden",
2635
- "onUpdate:location": d[5] || (d[5] = (u) => {
2636
- _.department.location = u;
2637
- }),
2638
- "onUpdate:address": d[6] || (d[6] = (u) => {
2639
- _.department.address = u;
2640
- })
2641
- }, null, 8, ["address", "location", "apiKey"])
2642
- ])
2643
- ]),
2644
- n("section", Do, [
2645
- m(ce, {
2646
- submit: p,
2647
- callback: c.redirectToDash,
2648
- class: "bg-grey"
2649
- }, {
2650
- default: y(() => [
2651
- X("Delete Spot")
2652
- ]),
2653
- _: 1
2654
- }, 8, ["callback"])
2655
- ])
2656
- ]));
2657
- }
2658
- }, Eo = /* @__PURE__ */ M(Vo, [["__scopeId", "data-v-6a9ce43d"]]), ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2659
- __proto__: null,
2660
- default: Eo
2661
- }, Symbol.toStringTag, { value: "Module" })), Fo = { class: "unit" }, To = { class: "unit-details" }, Io = { key: 0 }, Uo = { class: "subunits" }, Ji = {
2662
- __name: "Unit",
2663
- props: {
2664
- unit: {
2665
- type: Object,
2666
- required: !0
2667
- },
2668
- editMode: {
2669
- type: Boolean,
2670
- required: !0
2671
- }
2672
- },
2673
- setup(e) {
2674
- const t = e, s = w({ ...t.unit });
2675
- H(t.unit, () => {
2676
- s.value = { ...t.unit };
2677
- });
2678
- async function i() {
2679
- emit("unit-updated", s.value);
2680
- }
2681
- async function l() {
2682
- emit("subunit-added", t.unit._id);
2683
- }
2684
- return (o, p) => {
2685
- const c = me("unit-component");
2686
- return a(), r("div", Fo, [
2687
- n("div", To, [
2688
- n("h3", null, g(e.unit.name), 1),
2689
- n("p", null, g(e.unit.description), 1),
2690
- e.editMode ? (a(), r("div", Io, [
2691
- se(n("input", {
2692
- "onUpdate:modelValue": p[0] || (p[0] = (d) => s.value.name = d),
2693
- placeholder: "Название отдела"
2694
- }, null, 512), [
2695
- [$e, s.value.name]
2696
- ]),
2697
- se(n("input", {
2698
- "onUpdate:modelValue": p[1] || (p[1] = (d) => s.value.description = d),
2699
- placeholder: "Описание отдела"
2700
- }, null, 512), [
2701
- [$e, s.value.description]
2702
- ]),
2703
- n("button", { onClick: i }, "Сохранить"),
2704
- n("button", { onClick: l }, "Добавить подотдел")
2705
- ])) : f("", !0)
2706
- ]),
2707
- n("div", Uo, [
2708
- (a(!0), r(k, null, C(e.unit.subunits, (d, u) => (a(), b(c, {
2709
- key: u,
2710
- unit: d,
2711
- "edit-mode": e.editMode
2712
- }, null, 8, ["unit", "edit-mode"]))), 128))
2713
- ])
2714
- ]);
2715
- };
2716
- }
2717
- };
2718
- const Bo = { class: "for-transition bg-white radius-big w-100" }, jo = { class: "" }, Ro = {
2719
- key: 1,
2720
- class: "cols-1"
2721
- }, Qi = {
2722
- __name: "Organizations",
2723
- props: {
2724
- owner: {
2725
- type: String,
2726
- default: null
2727
- },
2728
- user: {
2729
- type: [String, Number],
2730
- default: null
2731
- },
2732
- onlyuser: {
2733
- type: [String, Number],
2734
- default: null
2735
- }
2736
- },
2737
- async setup(e) {
2738
- let t, s;
2739
- const i = e, l = w(null);
2740
- l.value = ([t, s] = ee(() => J.read({ owner: i.owner, user: i.user, onlyuser: i.onlyuser })), t = await t, s(), t);
2741
- const o = j(), p = B();
2742
- let c = p.query.tab ? p.query.tab : "details";
2743
- const d = w(c);
2744
- return p.query.tab = d.value, H(d, (u) => {
2745
- o.replace({ query: { ...p.query, tab: u } });
2746
- }), (u, h) => (a(), r("div", Bo, [
2747
- n("div", jo, [
2748
- l.value < 1 ? (a(), b(_e, {
2749
- key: 0,
2750
- title: "You Haven't Joined Any Organization Yet",
2751
- description: "Weeder is all about community. Join an organization or maybe you want to create your own?",
2752
- action: "Create organization",
2753
- callback: u.a = () => u.$router.push("/app/organization/create/details")
2754
- }, null, 8, ["callback"])) : (a(), r("div", Ro, [
2755
- (a(!0), r(k, null, C(l.value, (v) => (a(), b(Ke, {
2756
- key: v._id,
2757
- organization: v,
2758
- user: T.user,
2759
- onUpdateMembership: u.handleMembershipUpdate,
2760
- class: ne(["w-100", { "mn-r-small": u.index !== l.value.length - 1 }])
2761
- }, null, 8, ["organization", "user", "onUpdateMembership", "class"]))), 128))
2762
- ]))
2763
- ])
2764
- ]));
2765
- }
2766
- };
2767
- const qo = (e) => (ae("data-v-20739d92"), e = e(), oe(), e), No = { class: "documents" }, Ho = /* @__PURE__ */ qo(() => /* @__PURE__ */ n("h3", { class: "mn-small" }, "Список документов", -1)), Zo = { class: "mn-big cols-4" }, Ko = ["onClick"], Go = { class: "mn-small" }, Yo = { class: "t-semi t-transp radius-small" }, Wo = {
2768
- __name: "Documents",
2769
- setup(e) {
2770
- j(), B();
2771
- let t = [{
2772
- name: "Паспорт",
2773
- status: "Не добавлен",
2774
- inputs: [{
2775
- type: "text",
2776
- name: "Номер и серия"
2777
- }, {
2778
- type: "text",
2779
- name: "Место выдачи"
2780
- }, {
2781
- type: "text",
2782
- name: "Дата выдачи"
2783
- }]
2784
- }, {
2785
- name: "ИНН",
2786
- status: "Не добавлен",
2787
- inputs: [{
2788
- type: "text",
2789
- name: "Дата регистрации"
2790
- }]
2791
- }, {
2792
- name: "СНИЛС",
2793
- status: "Не добавлен",
2794
- inputs: [{
2795
- type: "text",
2796
- name: "Дата регистрации"
2797
- }]
2798
- }, {
2799
- name: "Военный билет",
2800
- status: "Не добавлен",
2801
- inputs: [{
2802
- type: "text",
2803
- name: "Дата регистрации"
2804
- }]
2805
- }];
2806
- const s = w(!1), i = w(null), l = (c) => {
2807
- i.value = c, s.value = !0;
2808
- }, o = () => {
2809
- s.value = !1;
2810
- }, p = () => {
2811
- o();
2812
- };
2813
- return de(() => {
2814
- }), (c, d) => {
2815
- const u = me("Popup");
2816
- return a(), r("div", No, [
2817
- Ho,
2818
- n("div", Zo, [
2819
- (a(!0), r(k, null, C($(t), (h, v) => (a(), r("div", {
2820
- key: v,
2821
- onClick: (O) => l(v),
2822
- class: "h-100 pd-medium bg-white radius-small"
2823
- }, [
2824
- n("h3", Go, g(h.name), 1),
2825
- n("p", Yo, g(h.status), 1)
2826
- ], 8, Ko))), 128))
2827
- ]),
2828
- m(u, {
2829
- title: "Добавить документ",
2830
- onClosePopup: o,
2831
- isPopupOpen: s.value
2832
- }, {
2833
- default: y(() => [
2834
- (a(!0), r(k, null, C($(t)[i.value].inputs, (h) => (a(), r("div", {
2835
- key: h.name
2836
- }, [
2837
- m(E, {
2838
- field: h.value,
2839
- "onUpdate:field": (v) => h.value = v,
2840
- label: h.name,
2841
- _id: h.name,
2842
- placeholder: h.name,
2843
- class: "w-100"
2844
- }, null, 8, ["field", "onUpdate:field", "label", "_id", "placeholder"])
2845
- ]))), 128)),
2846
- n("button", {
2847
- onClick: p,
2848
- class: "w-100 mn-small button"
2849
- }, "Отправить на верификацию")
2850
- ]),
2851
- _: 1
2852
- }, 8, ["isPopupOpen"])
2853
- ]);
2854
- };
2855
- }
2856
- }, Xi = /* @__PURE__ */ M(Wo, [["__scopeId", "data-v-20739d92"]]), Jo = {};
2857
- function Qo(e, t) {
2858
- const s = me("router-view");
2859
- return a(), b(s, null, {
2860
- default: y(({ Component: i, route: l }) => [
2861
- (a(), b(re(i)))
2862
- ]),
2863
- _: 1
2864
- });
2865
- }
2866
- const Xo = /* @__PURE__ */ M(Jo, [["render", Qo]]), ei = [{
2867
- path: ":_id",
2868
- name: "Organization",
2869
- meta: {
2870
- title: {
2871
- en: "Organization",
2872
- ru: "Организация"
2873
- }
2874
- },
2875
- component: () => Promise.resolve().then(() => zn)
2876
- }, {
2877
- path: "create",
2878
- name: "Create Organization",
2879
- meta: {
2880
- title: {
2881
- en: "Create Organization",
2882
- ru: "Создать Организацию"
2883
- }
2884
- },
2885
- beforeEnter: [Q],
2886
- component: () => Promise.resolve().then(() => ke)
2887
- }, {
2888
- path: ":_id/edit",
2889
- name: "Organization Edit",
2890
- meta: {
2891
- title: {
2892
- en: "Edit Organization",
2893
- ru: "Редактировать Организацию"
2894
- }
2895
- },
2896
- beforeEnter: [Q],
2897
- component: () => Promise.resolve().then(() => ke)
2898
- }], ti = [{
2899
- path: ":_id/departments/create",
2900
- name: "Department Creation",
2901
- meta: {
2902
- title: "Создание отдела"
2903
- },
2904
- beforeEnter: [Q],
2905
- component: () => Promise.resolve().then(() => ze)
2906
- }, {
2907
- path: ":_id/departments/:department",
2908
- name: "Department",
2909
- meta: {
2910
- title: "Отдел"
2911
- },
2912
- beforeEnter: [Q],
2913
- component: () => Promise.resolve().then(() => Hn)
2914
- }, {
2915
- path: ":_id/departments/:department/edit",
2916
- name: "Department Edit",
2917
- meta: {
2918
- title: "Редактирование отдела"
2919
- },
2920
- beforeEnter: [Q],
2921
- component: () => Promise.resolve().then(() => ze)
2922
- }], si = [{
2923
- path: ":_id/members",
2924
- name: "Organization Members",
2925
- meta: {
2926
- title: {
2927
- en: "Members",
2928
- ru: "Участникb"
2929
- }
2930
- },
2931
- component: () => import("./Members-d64149f3.mjs")
2932
- }, {
2933
- path: ":_id/members/invite",
2934
- name: "Invite Member",
2935
- component: () => Promise.resolve().then(() => rn)
2936
- }], ni = [{
2937
- path: ":_id/products/:product",
2938
- name: "Product Organization",
2939
- meta: {
2940
- title: {
2941
- en: "Product",
2942
- ru: "Продукт"
2943
- }
2944
- },
2945
- component: () => import("./Product-e4e583f0.mjs")
2946
- }, {
2947
- path: ":_id/products/:product/edit",
2948
- name: "ProductEdit",
2949
- beforeEnter: [Q],
2950
- component: () => import("./ProductEdit-64207814.mjs")
2951
- }, {
2952
- path: ":_id/products/add",
2953
- name: "AddProduct",
2954
- component: () => import("./ProductEdit-64207814.mjs")
2955
- }], el = [{
2956
- path: "organizations",
2957
- component: Xo,
2958
- meta: {
2959
- title: {
2960
- en: "Organizations",
2961
- ru: "Организации"
2962
- }
2963
- },
2964
- children: [
2965
- ...ei,
2966
- ...ti,
2967
- ...ni,
2968
- ...si
2969
- ]
2970
- }];
2971
- export {
2972
- Ws as C,
2973
- Eo as D,
2974
- ge as U,
2975
- ln as _,
2976
- Fe as a,
2977
- Gi as b,
2978
- Sn as c,
2979
- Nn as d,
2980
- ea as e,
2981
- Yi as f,
2982
- Ji as g,
2983
- Ve as h,
2984
- Wi as i,
2985
- Ni as j,
2986
- _e as k,
2987
- qi as l,
2988
- Zi as m,
2989
- gs as n,
2990
- Qi as o,
2991
- Xi as p,
2992
- Ki as q,
2993
- Hi as r,
2994
- U as s,
2995
- el as t
2996
- };