@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,3041 +0,0 @@
1
- import { computed as Z, resolveComponent as pe, openBlock as o, createElementBlock as r, Fragment as O, renderList as L, unref as k, normalizeClass as se, createCommentVNode as g, createBlock as $, withCtx as x, createTextVNode as W, toDisplayString as f, createElementVNode as n, Transition as H, createVNode as h, renderSlot as z, ref as v, reactive as ie, watch as T, onMounted as me, pushScopeId as he, popScopeId as _e, withAsyncContext as Y, withModifiers as de, watchEffect as ce, resolveDirective as Ee, normalizeProps as V, guardReactiveProps as E, resolveDynamicComponent as re, mergeProps as ye, toHandlers as Ue, withDirectives as ae, vShow as we, toRefs as Be, vModelText as $e } from "vue";
2
- import { useRoute as F, useRouter as q } from "vue-router";
3
- import { useI18n as je } from "vue-i18n";
4
- import { s as C } from "./globals-96ba60e4.mjs";
5
- import { S as Te, _ as Fe, C as J } from "./Breadcrumbs.vue_vue_type_style_index_0_lang-19e23006.mjs";
6
- import { _ as ze } from "./Tab-a243605d.mjs";
7
- import { a as be, B as qe, m as Re, s as Ze } from "./ButtonFollow-00d85977.mjs";
8
- import { _ as He } from "./Feed-27f62b1c.mjs";
9
- import { _ as Ne } from "./Feed-7c8c901a.mjs";
10
- import { _ as Ke } from "./Socials-8193477c.mjs";
11
- import { a as We, _ as Ye } from "./CardOrganization-3f4a13d3.mjs";
12
- import { I as Je, P as Qe } from "./IconEdit-eacf3856.mjs";
13
- import { a as fe } from "./index-0ab9d59c.mjs";
14
- import { s as S } from "./auth-b047fdc0.mjs";
15
- import "./Select.vue_vue_type_style_index_0_scoped_a78dbba1_lang-4ed993c7.mjs";
16
- import { v as Xe, a as Ge } from "./inputs.validation-14e8e01f.mjs";
17
- import { a as R, s as b } from "./organizations-aed4245d.mjs";
18
- import { _ as A } from "./_plugin-vue_export-helper-dad06003.mjs";
19
- import { F as D, _ as ue } from "./Button-d8e72ac0.mjs";
20
- import { _ as Me } from "./UploadImage-f7b0335f.mjs";
21
- import "./Chips-9cf6c0da.mjs";
22
- import { S as De } from "./Select-90d4b7c8.mjs";
23
- import "./Publics-538180a8.mjs";
24
- import { r as Q } from "./auth.validation-2cdd2231.mjs";
25
- const et = {
26
- class: "breadcrumbs flex-row flex-nowrap flex-left flex",
27
- "aria-label": "breadcrumbs"
28
- }, tt = {
29
- key: 0,
30
- class: "i-small mn-r-thin",
31
- viewBox: "0 0 10 9",
32
- fill: "none",
33
- xmlns: "http://www.w3.org/2000/svg"
34
- }, st = /* @__PURE__ */ n("path", {
35
- fill: "black",
36
- d: "M0.494141 4.26391C0.494141 4.48862 0.659906 4.66912 0.928813 4.66912C1.05037 4.66912 1.16825 4.6065 1.27139 4.52177L1.64344 4.20866V7.56448C1.64344 8.13545 1.98971 8.47803 2.5791 8.47803H7.56678C8.15616 8.47803 8.50243 8.13545 8.50243 7.56448V4.19392L8.8929 4.52177C8.99604 4.6065 9.11392 4.66912 9.23916 4.66912C9.48597 4.66912 9.67015 4.5144 9.67015 4.27128C9.67015 4.1313 9.61121 4.01343 9.5007 3.92133L8.50243 3.08146V1.47538C8.50243 1.30961 8.3956 1.1991 8.22984 1.1991H7.63308C7.46732 1.1991 7.35313 1.30961 7.35313 1.47538V2.11634L5.66969 0.70181C5.31606 0.403433 4.85928 0.403433 4.50197 0.70181L0.663589 3.92133C0.553079 4.01711 0.494141 4.14235 0.494141 4.26391ZM6.13752 5.26219C6.13752 5.08906 6.02701 4.97855 5.85387 4.97855H4.31779C4.14097 4.97855 4.02678 5.08906 4.02678 5.26219V7.63447H2.83327C2.60856 7.63447 2.48332 7.50922 2.48332 7.28084V3.5014L4.90349 1.47538C5.01768 1.37592 5.15029 1.37592 5.26817 1.47538L7.66255 3.48298V7.28084C7.66255 7.50922 7.53731 7.63447 7.3126 7.63447H6.13752V5.26219Z"
37
- }, null, -1), nt = [
38
- st
39
- ], at = { key: 2 }, ot = {
40
- key: 3,
41
- class: "i-small chevron",
42
- viewBox: "0 0 4 8",
43
- fill: "none",
44
- xmlns: "http://www.w3.org/2000/svg"
45
- }, it = /* @__PURE__ */ n("path", {
46
- d: "M4 3.99992C4 3.83673 3.94307 3.70391 3.81025 3.57867L0.899431 0.732369C0.800759 0.629902 0.679317 0.580566 0.531309 0.580566C0.239089 0.580566 0 0.815861 0 1.10808C0 1.25229 0.0607211 1.38512 0.166983 1.49138L2.74763 3.99613L0.166983 6.50846C0.0607211 6.61093 0 6.74375 0 6.89176C0 7.18398 0.239089 7.41928 0.531309 7.41928C0.675522 7.41928 0.800759 7.36994 0.899431 7.26747L3.81025 4.42117C3.94307 4.29594 4 4.15931 4 3.99992Z",
47
- fill: "black"
48
- }, null, -1), lt = [
49
- it
50
- ], rt = {
51
- __name: "Breadcrumbs",
52
- setup(e) {
53
- const t = F(), { t: s, locale: a } = je(), d = Z(() => t.matched.map((c) => {
54
- var w, P, I;
55
- const p = (w = c.meta) == null ? void 0 : w.title, l = a == null ? void 0 : a.value, u = p && l && p[l], i = c.path.replace(/:.+?\//g, (N) => ""), m = (I = (P = c.meta) == null ? void 0 : P.breadcrumbs) == null ? void 0 : I.hidden;
56
- return { name: u, path: i, isHidden: m };
57
- }).filter((c) => c.name && !c.isHidden));
58
- return (c, p) => {
59
- const l = pe("router-link");
60
- return o(), r("ol", et, [
61
- (o(!0), r(O, null, L(k(d), (u, i) => (o(), r("li", {
62
- key: i,
63
- class: se(["flex-v-center flex-nowrap flex", { "t-main": i === k(d).length - 1 }])
64
- }, [
65
- i === 0 ? (o(), r("svg", tt, nt)) : g("", !0),
66
- i !== k(d).length - 1 ? (o(), $(l, {
67
- key: 1,
68
- to: i === 0 ? "/" : u.path
69
- }, {
70
- default: x(() => [
71
- W(f(u.name), 1)
72
- ]),
73
- _: 2
74
- }, 1032, ["to"])) : (o(), r("span", at, f(u.name), 1)),
75
- i !== k(d).length - 1 ? (o(), r("svg", ot, lt)) : g("", !0)
76
- ], 2))), 128))
77
- ]);
78
- };
79
- }
80
- }, dt = { class: "mn-small w-100" }, ct = ["href"], ut = /* @__PURE__ */ n("span", { class: "t-semi uppercase" }, "Website", -1), pt = [
81
- ut
82
- ], mt = ["href"], ht = /* @__PURE__ */ n("span", { class: "t-semi uppercase" }, "Phone", -1), _t = [
83
- ht
84
- ], ft = ["href"], gt = /* @__PURE__ */ n("span", { class: "t-semi uppercase" }, "Email", -1), bt = [
85
- gt
86
- ], vt = ["href"], yt = /* @__PURE__ */ n("span", { class: "t-semi uppercase" }, "Address", -1), wt = [
87
- yt
88
- ], ki = {
89
- __name: "Contacts",
90
- props: {
91
- website: String,
92
- phone: String,
93
- email: String,
94
- address: String
95
- },
96
- setup(e) {
97
- const t = e, s = Z(() => t.website ? !t.website.startsWith("http://") && !t.website.startsWith("https://") ? `http://${t.website}` : t.website : null), a = Z(() => t.address ? encodeURIComponent(t.address) : null);
98
- return (d, c) => (o(), r("div", dt, [
99
- k(s) ? (o(), r("a", {
100
- key: 0,
101
- href: k(s),
102
- target: "_blank",
103
- class: "w-100 br-2px br-solid br-grey radius-small pd-small flex-v-center flex-nowrap flex"
104
- }, pt, 8, ct)) : g("", !0),
105
- t.phone ? (o(), r("a", {
106
- key: 1,
107
- href: `tel:${t.phone}`,
108
- class: "w-100 br-2px br-solid br-grey radius-small pd-small flex-v-center flex-nowrap flex"
109
- }, _t, 8, mt)) : g("", !0),
110
- t.email ? (o(), r("a", {
111
- key: 2,
112
- href: `mailto:${t.email}`,
113
- target: "_blank",
114
- class: "w-100 br-2px br-solid br-grey radius-small pd-small flex-v-center flex-nowrap flex"
115
- }, bt, 8, ft)) : g("", !0),
116
- k(a) ? (o(), r("a", {
117
- key: 3,
118
- href: `https://www.google.com/maps/search/?api=1&query=${k(a)}`,
119
- target: "_blank",
120
- class: "w-100 br-2px br-solid br-grey radius-small pd-small flex-v-center flex-nowrap flex"
121
- }, wt, 8, vt)) : g("", !0)
122
- ]));
123
- }
124
- }, $t = { class: "w-100 mn-small star-container flex-v-center flex" }, Ct = { class: "p-big t-semi mn-r-small" }, kt = /* @__PURE__ */ n("path", {
125
- fill: "#00FF88",
126
- 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"
127
- }, null, -1), xt = [
128
- kt
129
- ], Ot = { class: "" }, xi = {
130
- __name: "Rating",
131
- props: {
132
- rating: {
133
- type: Number,
134
- required: !0
135
- },
136
- amount: {
137
- type: Number,
138
- required: !0
139
- }
140
- },
141
- setup(e) {
142
- return (t, s) => (o(), r("section", null, [
143
- n("div", $t, [
144
- n("span", Ct, f(e.rating), 1),
145
- (o(), r(O, null, L(5, (a) => n("svg", {
146
- class: se(["i-semi mn-r-small", { "t-transp": a > e.rating }]),
147
- width: "113",
148
- height: "108",
149
- viewBox: "0 0 113 108",
150
- fill: "none",
151
- xmlns: "http://www.w3.org/2000/svg"
152
- }, xt, 2)), 64))
153
- ]),
154
- n("p", Ot, "Based on " + f(e.amount) + " reviews", 1)
155
- ]));
156
- }
157
- }, Lt = { class: "t-center flex-center flex-column flex pd-medium radius-big bg-grey" }, St = ["src"], Pt = { class: "mn-thin" }, zt = { class: "mn-medium p-big" }, Mt = { class: "flex-center flex-wrap gap-thin flex mn-semi" }, Dt = { class: "pd-thin radius-small t-semi uppercase t-black bg-main p-medium" }, At = {
158
- key: 3,
159
- class: "mn-t-small mn-thin"
160
- }, Vt = {
161
- __name: "DetailsTab",
162
- props: {
163
- organization: Object,
164
- user: Object
165
- },
166
- setup(e) {
167
- return (t, s) => (o(), $(H, { name: "slide-fade" }, {
168
- default: x(() => [
169
- n("section", Lt, [
170
- e.user._id === e.organization.owner ? (o(), $(Je, {
171
- key: 0,
172
- onClick: s[0] || (s[0] = (a) => t.$router.push({
173
- name: "Organization Edit",
174
- params: {
175
- _id: e.organization._id
176
- }
177
- })),
178
- class: "pos-absolute pos-t-regular pos-r-regular i-regular t-transp"
179
- })) : g("", !0),
180
- e.organization.profile.photo ? (o(), r("img", {
181
- key: 1,
182
- src: (t.FILE_SERVER_URL || "") + e.organization.profile.photo,
183
- class: "radius-big bg-grey flex-center flex mn-small i-extra"
184
- }, null, 8, St)) : (o(), $(Qe, {
185
- key: 2,
186
- class: "radius-medium mn-small i-extra"
187
- })),
188
- n("h1", Pt, f(e.organization.profile.name), 1),
189
- n("p", zt, [
190
- h(We, {
191
- text: e.organization.profile.description ? e.organization.profile.description : "",
192
- maxLen: 240
193
- }, null, 8, ["text"])
194
- ]),
195
- n("div", Mt, [
196
- (o(!0), r(O, null, L(e.organization.profile.tags, (a) => (o(), r("span", Dt, f(a), 1))), 256))
197
- ]),
198
- z(t.$slots, "default"),
199
- Object.values(e.organization.socials).some((a) => a) ? (o(), r("h4", At, " Find us in socials ")) : g("", !0),
200
- h(Ke, {
201
- telegram: e.organization.socials.telegram,
202
- facebook: e.organization.socials.facebook,
203
- instagram: e.organization.socials.instagram,
204
- twitter: e.organization.socials.twitter
205
- }, null, 8, ["telegram", "facebook", "instagram", "twitter"])
206
- ])
207
- ]),
208
- _: 3
209
- }));
210
- }
211
- };
212
- const It = {
213
- key: 0,
214
- class: "spoiler"
215
- }, Ce = {
216
- __name: "Spoiler",
217
- props: {
218
- status: {
219
- type: Boolean,
220
- default: !1
221
- }
222
- },
223
- setup(e) {
224
- const t = e, s = v(!1);
225
- return t.status && (s.value = t.status), (a, d) => (o(), r("div", null, [
226
- n("div", {
227
- onClick: d[0] || (d[0] = (c) => s.value = !s.value),
228
- class: "flex-v-center flex-nowrap flex"
229
- }, [
230
- z(a.$slots, "header")
231
- ]),
232
- h(H, { name: "collapse" }, {
233
- default: x(() => [
234
- s.value ? (o(), r("div", It, [
235
- z(a.$slots, "content")
236
- ])) : g("", !0)
237
- ]),
238
- _: 3
239
- })
240
- ]));
241
- }
242
- }, U = fe.create({ baseURL: process.env.API_URL, withCredentials: !0 }), y = ie({
243
- all: [],
244
- current: {
245
- recommendation: !1,
246
- category: [],
247
- status: "unpublished",
248
- information: [],
249
- coverImage: "",
250
- images: [],
251
- files: [],
252
- image3d: !1,
253
- name: "",
254
- sale: 0,
255
- price: 0,
256
- localization: [],
257
- modifications: [],
258
- description: ""
259
- }
260
- }), Oi = {
261
- async create(e, t) {
262
- const s = {
263
- ...t,
264
- organization: e
265
- };
266
- return await U.post("/products/create", s).then(
267
- (a) => (Et(a.data, "current"), Promise.resolve(a.data)),
268
- (a) => (C(a), Promise.reject(a))
269
- );
270
- },
271
- async read(e = {}) {
272
- e._id && (e.params = { _id: e._id }), e.category && (e.params = e.params || {}, e.params.category = e.category), e.params = e.params || {}, e.params.skip = e.skip || 0, e.params.limit = e.limit || 10, e.organization && (e.params.organization = e.organization), e.params.sort = "createdAt";
273
- try {
274
- console.log("Request params:" + e.params);
275
- const t = await U.get("/products/read", { params: e.params });
276
- return e._id ? y.current = t.data[0] : y.all = t.data, Promise.resolve(t.data);
277
- } catch (t) {
278
- return C(t), Promise.reject(t);
279
- }
280
- },
281
- async update(e, t) {
282
- return await U.post("/products/" + e, t).then(
283
- (s) => Promise.resolve(s.data),
284
- (s) => (C(s), Promise.reject(s))
285
- );
286
- },
287
- async deleteProduct(e) {
288
- return await U.delete("/products/" + e).then(
289
- (t) => Promise.resolve(t.data),
290
- (t) => (C(t), Promise.reject(t))
291
- );
292
- },
293
- async submitMood(e = null) {
294
- return console.log(e), U.post("/product/recommended", { mood: e }).then(
295
- (t) => (y.current = t.data.product, y.current.recommendation = t.data.recommendationText, Promise.resolve(t.data)),
296
- (t) => (console.log(t), C(t), Promise.reject(t))
297
- );
298
- },
299
- async fetchProducts() {
300
- return await U.get("/products").then(
301
- (e) => (y.all = e.data, y.filtered = e.data.slice(), y.filteredPrice = y.filtered, y.filteredPrice.sort(function(t, s) {
302
- return t[y.sort.current] > s[y.sort.current] ? y.sort.ascending ? 1 : -1 : t[y.sort.current] < s[y.sort.current] ? y.sort.ascending ? -1 : 1 : 0;
303
- }), Promise.resolve(e.data)),
304
- (e) => (C(e), Promise.reject(e))
305
- );
306
- },
307
- async fetchProductsPopular() {
308
- return await U.get("/products/popular").then(
309
- (e) => (y.popular = e.data, Promise.resolve(e.data)),
310
- (e) => (C(e), Promise.reject(e))
311
- );
312
- },
313
- async fetchProductsPublished() {
314
- return await U.get("/products").then(
315
- (e) => {
316
- let t = e.data.filter(function(s, a) {
317
- return s.status !== "unpublished";
318
- });
319
- return y.all = t, y.filtered = t.slice(), y.filteredPrice = y.filtered, y.filteredPrice.sort(function(s, a) {
320
- return s[y.sort.current] > a[y.sort.current] ? y.sort.ascending ? 1 : -1 : s[y.sort.current] < a[y.sort.current] ? y.sort.ascending ? -1 : 1 : 0;
321
- }), Promise.resolve(e.data);
322
- },
323
- (e) => (C(e), Promise.reject(e))
324
- );
325
- },
326
- async fetchProduct(e) {
327
- return await U.get("/products/" + e).then(
328
- (t) => (t.localization || (t.localization = []), y.current = t.data, Promise.resolve(t.data)),
329
- (t) => (C(t), Promise.reject(t))
330
- );
331
- },
332
- async fetchProductPopular() {
333
- return await U.get("/products").then(
334
- (e) => (y.all = e.data.slice(1, 5), Promise.resolve(e.data.slice(1, 5))),
335
- (e) => (C(e), Promise.reject(e))
336
- );
337
- }
338
- };
339
- function Et(e, t) {
340
- y[t] = e;
341
- }
342
- T(y, (e, t) => {
343
- });
344
- const Ut = process.env.API_URL, X = fe.create({ baseURL: Ut, withCredentials: !0 }), B = ie({
345
- all: [],
346
- current: {
347
- order: "1",
348
- name: "",
349
- url: "",
350
- subcategories: [],
351
- filters: [],
352
- localization: []
353
- }
354
- }), Li = {
355
- async fetchCategories() {
356
- return await X.get("/categories").then(
357
- (e) => (B.all = e.data, Promise.resolve(e.data)),
358
- (e) => (C(e), Promise.reject(e))
359
- );
360
- },
361
- updateCategories(e) {
362
- return X.post("/categories", e).then(
363
- (t) => (B.all = e, Promise.resolve(e)),
364
- (t) => (C(t), Promise.reject(t))
365
- );
366
- },
367
- fetchCategory(e) {
368
- return X.get("/categories/" + e).then(
369
- (t) => (B.current = t.data, Promise.resolve(t.data)),
370
- (t) => (C(t), Promise.reject(t))
371
- );
372
- },
373
- addCategory() {
374
- return X.post("/categories/add", B.current).then(
375
- (e) => (B.all.push(e.data), Promise.resolve(e.data)),
376
- (e) => (C(e), Promise.reject(e))
377
- );
378
- },
379
- updateCategory(e) {
380
- return X.post("/categories/" + e, B.current).then(
381
- (t) => (B.current = t.data, Promise.resolve(t.data)),
382
- (t) => (C(t), Promise.reject(t))
383
- );
384
- },
385
- deleteCategory(e) {
386
- return X.delete("/categories/" + e).then(
387
- (t) => {
388
- const s = B.all.findIndex((a) => a.url === e);
389
- B.all.splice(s, 1);
390
- },
391
- (t) => {
392
- C(t);
393
- }
394
- );
395
- }
396
- };
397
- T(B, (e) => {
398
- });
399
- const Bt = { class: "mn-big radius-medium pd-big bg-white" }, jt = { class: "mn-regular" }, Tt = { class: "mn-small t-transp p-medium" }, ge = {
400
- __name: "EmptyState",
401
- props: {
402
- title: {
403
- type: String,
404
- default: "У вас еще нет организации"
405
- },
406
- description: {
407
- type: String,
408
- default: "Для использования сервиса, вам необходимо добавить вашу организацию."
409
- },
410
- action: {
411
- type: String,
412
- default: "Создать организацию"
413
- },
414
- callback: {
415
- type: Function,
416
- default: () => {
417
- }
418
- }
419
- },
420
- setup(e) {
421
- return (t, s) => (o(), r("section", Bt, [
422
- n("h3", jt, f(e.title), 1),
423
- n("p", Tt, f(e.description), 1),
424
- n("button", {
425
- onClick: s[0] || (s[0] = (...a) => e.callback && e.callback(...a)),
426
- class: "t-white bg-second w-100 button"
427
- }, f(e.action), 1)
428
- ]));
429
- }
430
- };
431
- const Ft = {
432
- __name: "Map",
433
- props: {
434
- location: Object
435
- },
436
- setup(e) {
437
- const t = e;
438
- let s = v(null), a = null, d = null;
439
- return me(async () => {
440
- a = new google.maps.Map(s.value, {
441
- zoom: 13,
442
- center: {
443
- lat: t.location.lat,
444
- lng: t.location.lng
445
- }
446
- }), d = new google.maps.Marker({
447
- position: {
448
- lat: t.location.lat,
449
- lng: t.location.lng
450
- },
451
- map: a
452
- });
453
- }), T(() => t.location, () => {
454
- a && d && (d.setPosition(new google.maps.LatLng(t.location.lat, t.location.lng)), a.setCenter(new google.maps.LatLng(t.location.lat, t.location.lng)));
455
- }, { deep: !0 }), (c, p) => (o(), r("div", {
456
- ref_key: "gmap",
457
- ref: s,
458
- class: "gmap"
459
- }, null, 512));
460
- }
461
- }, qt = /* @__PURE__ */ A(Ft, [["__scopeId", "data-v-c194b4a5"]]);
462
- const Rt = { class: "pd-small flex-nowrap flex" }, Zt = { class: "user-card__info" }, Ht = { class: "user-card__name" }, Nt = { class: "user-card__position" }, Kt = {
463
- __name: "DepartmentSub",
464
- props: {
465
- department: {
466
- type: Object,
467
- required: !0
468
- }
469
- // Define other props here
470
- },
471
- setup(e) {
472
- return (t, s) => (o(), r("div", Rt, [
473
- n("div", Zt, [
474
- n("p", Ht, f(e.department.name ? e.department.name : "Безымянный"), 1),
475
- n("p", Nt, f(e.department.members ? e.department.members.length : "0") + " человек", 1)
476
- ])
477
- ]));
478
- }
479
- }, Ae = /* @__PURE__ */ A(Kt, [["__scopeId", "data-v-d65b1483"]]);
480
- const Wt = { class: "pd-small flex-nowrap flex" }, Yt = { class: "user-card__info" }, Jt = { class: "user-card__name" }, Qt = { class: "t-transp" }, Xt = {
481
- __name: "User",
482
- props: {
483
- user: {
484
- type: Object,
485
- required: !0
486
- },
487
- position: {
488
- type: String,
489
- required: !0
490
- }
491
- // Define other props here
492
- },
493
- setup(e) {
494
- return (t, s) => (o(), r("div", Wt, [
495
- n("div", Yt, [
496
- n("p", Jt, f(e.user.name ? e.user.name : "Безымянный"), 1),
497
- n("p", Qt, f(e.position), 1)
498
- ])
499
- ]));
500
- }
501
- }, Ve = /* @__PURE__ */ A(Xt, [["__scopeId", "data-v-a27accf5"]]);
502
- const le = (e) => (he("data-v-1d33cf95"), e = e(), _e(), e), Gt = { class: "radius-big o-hidden cols-2-1_3" }, es = { class: "pd-medium w-100" }, ts = /* @__PURE__ */ le(() => /* @__PURE__ */ n("path", {
503
- 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",
504
- fill: "black"
505
- }, null, -1)), ss = [
506
- ts
507
- ], ns = ["innerHTML"], as = ["innerHTML"], os = { class: "pd-small flex-v-center flex-nowrap flex" }, is = /* @__PURE__ */ le(() => /* @__PURE__ */ n("h5", { class: "w-100" }, "Contacts ", -1)), ls = { class: "mn-r-small" }, rs = /* @__PURE__ */ le(() => /* @__PURE__ */ n("svg", {
508
- width: "14",
509
- height: "9",
510
- viewBox: "0 0 14 9",
511
- fill: "none",
512
- xmlns: "http://www.w3.org/2000/svg"
513
- }, [
514
- /* @__PURE__ */ n("path", {
515
- "fill-rule": "evenodd",
516
- "clip-rule": "evenodd",
517
- d: "M12.4697 0.469727L13.5304 1.53039L7.00006 8.06072L0.469727 1.53039L1.53039 0.469727L7.00006 5.9394L12.4697 0.469727Z",
518
- fill: "#8A8A8A"
519
- })
520
- ], -1)), ds = { key: 0 }, cs = { class: "pd-small flex-v-center flex-nowrap flex" }, us = /* @__PURE__ */ le(() => /* @__PURE__ */ n("h5", { class: "w-100" }, "Working Hours ", -1)), ps = { class: "mn-r-small" }, ms = /* @__PURE__ */ le(() => /* @__PURE__ */ n("svg", {
521
- width: "14",
522
- height: "9",
523
- viewBox: "0 0 14 9",
524
- fill: "none",
525
- xmlns: "http://www.w3.org/2000/svg"
526
- }, [
527
- /* @__PURE__ */ n("path", {
528
- "fill-rule": "evenodd",
529
- "clip-rule": "evenodd",
530
- d: "M12.4697 0.469727L13.5304 1.53039L7.00006 8.06072L0.469727 1.53039L1.53039 0.469727L7.00006 5.9394L12.4697 0.469727Z",
531
- fill: "#8A8A8A"
532
- })
533
- ], -1)), hs = { key: 0 }, _s = {
534
- __name: "Department",
535
- props: {
536
- department: Object,
537
- organization: Object
538
- },
539
- setup(e) {
540
- const t = e;
541
- return (s, a) => (o(), r("div", Gt, [
542
- h(qt, {
543
- location: { lat: e.department.location.coordinates[1], lng: e.department.location.coordinates[0] },
544
- class: ""
545
- }, null, 8, ["location"]),
546
- n("div", es, [
547
- (o(), r("svg", {
548
- onClick: a[0] || (a[0] = (d) => s.$router.push(`/app/organization/${t.organization._id}/departments/${e.department._id}/edit`)),
549
- class: "i-regular pos-absolute pos-r-0 pos-t-0 t-transp",
550
- width: "652",
551
- height: "652",
552
- viewBox: "0 0 652 652",
553
- fill: "none",
554
- xmlns: "http://www.w3.org/2000/svg"
555
- }, ss)),
556
- n("h3", {
557
- onClick: a[1] || (a[1] = (d) => s.$router.push(`/app/organization/${t.organization._id}/departments/${e.department._id}`)),
558
- class: "mn-small w-100",
559
- innerHTML: e.department.profile.name
560
- }, null, 8, ns),
561
- n("p", {
562
- onClick: a[2] || (a[2] = (d) => s.$router.push(`/app/organization/${t.organization._id}/departments/${e.department._id}`)),
563
- class: "mn-small p-big w-100",
564
- innerHTML: e.department.address
565
- }, null, 8, as),
566
- h(Ce, { class: "radius-small o-hidden br-1px br-solid br-grey mn-thin" }, {
567
- header: x(() => [
568
- n("div", os, [
569
- is,
570
- n("p", ls, f(e.department.members.length) + " человек", 1),
571
- rs
572
- ])
573
- ]),
574
- content: x(() => [
575
- n("ul", null, [
576
- e.department.members.length < 1 ? (o(), r("li", ds, "В отделе еще нет участников")) : g("", !0),
577
- (o(!0), r(O, null, L(e.department.members, (d, c) => (o(), $(Ve, {
578
- class: "br-b br-solid br-grey",
579
- key: c,
580
- user: d.user,
581
- position: d.position,
582
- onClick: (p) => s.$router.push(`/app/profile/${d.user._id}`)
583
- }, null, 8, ["user", "position", "onClick"]))), 128))
584
- ])
585
- ]),
586
- _: 1
587
- }),
588
- h(Ce, { class: "radius-small o-hidden br-1px br-solid br-grey mn-thin" }, {
589
- header: x(() => [
590
- n("div", cs, [
591
- us,
592
- n("p", ps, f(e.department.subdepartments ? e.department.subdepartments.length : 0) + " отделов", 1),
593
- ms
594
- ])
595
- ]),
596
- content: x(() => [
597
- n("ul", null, [
598
- e.department.subdepartments.length < 1 ? (o(), r("li", hs, "В отделе еще нет подотделов")) : g("", !0),
599
- (o(!0), r(O, null, L(e.department.subdepartments, (d, c) => (o(), $(Ae, {
600
- onClick: (p) => s.$router.push(`/app/organization/departments/${d._id}`),
601
- key: c,
602
- class: "br-b br-solid br-grey",
603
- department: d
604
- }, null, 8, ["onClick", "department"]))), 128))
605
- ])
606
- ]),
607
- _: 1
608
- })
609
- ])
610
- ]));
611
- }
612
- }, fs = /* @__PURE__ */ A(_s, [["__scopeId", "data-v-1d33cf95"]]), ee = fe.create({ baseURL: process.env.API_URL, withCredentials: !0 });
613
- ee.defaults.withCredentials = !0;
614
- const _ = ie({
615
- departments: [],
616
- department: {
617
- organization: "",
618
- profile: {
619
- photo: "",
620
- name: "",
621
- description: "",
622
- categories: []
623
- },
624
- address: "",
625
- location: {
626
- lat: null,
627
- lng: null
628
- },
629
- worktime: [],
630
- delivery: [],
631
- payment: [],
632
- members: [],
633
- subdepartments: []
634
- },
635
- error: null
636
- }), K = {
637
- async readOne(e) {
638
- await ee.get(`/api/departments/get/${e}`).then((t) => {
639
- _.department = t.data, _.error = null;
640
- }).catch((t) => {
641
- C(t);
642
- });
643
- },
644
- async read(e) {
645
- await ee.get(`/api/departments/${e}`).then((t) => {
646
- console.log("Response:", t), _.departments = t.data, _.error = null;
647
- }).catch((t) => {
648
- C(t);
649
- });
650
- },
651
- async create(e, t) {
652
- await ee.post(`/api/departments/${e}/create`, t).then((s) => {
653
- _.error = null, _.department = s.data;
654
- }).catch((s) => {
655
- C(s);
656
- });
657
- },
658
- async update(e, t) {
659
- await ee.post(`/api/departments/${e}/update`, t).then(() => {
660
- _.error = null;
661
- }).catch((s) => {
662
- C(s);
663
- });
664
- },
665
- async delete(e, t) {
666
- await ee.delete(`/api/departments/${e}/delete`, { data: { _id: t } }).then(() => {
667
- _.error = null;
668
- }).catch((s) => {
669
- C(s);
670
- });
671
- }
672
- };
673
- T(_, (e, t) => {
674
- });
675
- const Si = {
676
- __name: "StructureTab",
677
- props: {
678
- organization: Object,
679
- units: Array,
680
- memberships: Array
681
- },
682
- async setup(e) {
683
- let t, s;
684
- const a = e;
685
- v("departments"), [t, s] = Y(() => K.read(a.organization._id)), await t, s();
686
- const d = Z(() => {
687
- const c = _.departments, p = c.flatMap(
688
- (l) => l.subdepartments.map((u) => u._id)
689
- );
690
- return c.filter(
691
- (l) => !p.includes(l._id)
692
- );
693
- });
694
- return (c, p) => (o(), $(H, { name: "slide-fade" }, {
695
- default: x(() => [
696
- n("div", null, [
697
- k(d).length < 1 ? (o(), $(ge, {
698
- key: 0,
699
- title: "You don't have any spots yet.",
700
- description: "Add spots to your hub.",
701
- action: "Add spot",
702
- callback: () => c.$router.push(`/app/organization/${a.organization._id}/departments/create`)
703
- }, null, 8, ["callback"])) : g("", !0),
704
- n("div", null, [
705
- (o(!0), r(O, null, L(k(d), (l, u) => (o(), $(fs, {
706
- key: u,
707
- department: l,
708
- organization: e.organization,
709
- class: "radius-big bg-grey mn-thin"
710
- }, null, 8, ["department", "organization"]))), 128)),
711
- k(d).length > 0 && S.user._id === e.organization.owner ? (o(), r("button", {
712
- key: 0,
713
- onClick: p[0] || (p[0] = (l) => c.$router.push(`/app/organization/${a.organization._id}/departments/create`)),
714
- class: "mn-thin button w-100"
715
- }, " Add spot ")) : g("", !0)
716
- ])
717
- ])
718
- ]),
719
- _: 1
720
- }));
721
- }
722
- }, te = fe.create({ baseURL: process.env.API_URL, withCredentials: !0 });
723
- te.defaults.withCredentials = !0;
724
- const j = ie({
725
- invites: [],
726
- invite: null,
727
- error: null
728
- }), oe = {
729
- async read(e) {
730
- await te.get(`/api/invites/${e}`).then((t) => {
731
- j.invites = t.data, j.error = null;
732
- }).catch((t) => {
733
- C(t);
734
- });
735
- },
736
- async readOne(e) {
737
- await te.get(`/api/invites/get/${e}`).then((t) => {
738
- j.invite = t.data, S.user.phone = t.data.invitedPhone, S.user.email = t.data.invitedEmail;
739
- }).catch((t) => {
740
- C(t);
741
- });
742
- },
743
- async create(e, t) {
744
- await te.post(`/api/invites/${e}/create`, t).then(() => {
745
- j.error = null;
746
- }).catch((s) => {
747
- C(s);
748
- });
749
- },
750
- async update(e, t) {
751
- await te.put(`/api/invites/${e}/update`, t).then(() => {
752
- j.error = null;
753
- }).catch((s) => {
754
- C(s);
755
- });
756
- },
757
- async delete(e) {
758
- await te.delete(`/api/invites/${e}/delete`).then(() => {
759
- j.error = null;
760
- }).catch((t) => {
761
- C(t);
762
- });
763
- }
764
- };
765
- T(j, (e, t) => {
766
- });
767
- const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
768
- __proto__: null,
769
- actions: oe,
770
- state: j
771
- }, Symbol.toStringTag, { value: "Module" })), gs = { class: "mn-medium radius-medium pd-semi bg-white" }, bs = /* @__PURE__ */ n("h3", { class: "mn-medium" }, "Добавить участников", -1), vs = /* @__PURE__ */ n("p", { class: "mn-small t-transp p-medium" }, "Укажите email или телефон, чтобы отправить ссылку с приглашением:", -1), ys = { class: "w-100 flex-nowrap flex" }, ws = {
772
- key: 0,
773
- class: "mn-r-medium flex-v-center flex"
774
- }, $s = ["onClick"], Cs = /* @__PURE__ */ n("p", { class: "t-blue mn-r-small" }, "+ Добавить приглашение", -1), ks = [
775
- Cs
776
- ], xs = /* @__PURE__ */ n("span", null, "Отправить приглашения ", -1), Os = {
777
- __name: "MembersAdd",
778
- props: {
779
- organization: Object
780
- },
781
- emits: ["send-invite"],
782
- setup(e, { emit: t }) {
783
- const s = e, a = v(null), d = v([{ contact: "", role: "" }]);
784
- function c() {
785
- d.value.push({ contact: "", role: "" });
786
- }
787
- function p(i) {
788
- d.value.splice(i, 1);
789
- }
790
- async function l(i) {
791
- await oe.create(s.organization._id, d.value);
792
- }
793
- function u() {
794
- }
795
- return (i, m) => (o(), r("div", null, [
796
- n("section", gs, [
797
- bs,
798
- vs,
799
- (o(!0), r(O, null, L(d.value, (w, P) => (o(), r("div", {
800
- key: P,
801
- class: "br-1px br-solid br-grey flex radius-small mn-thin"
802
- }, [
803
- n("div", ys, [
804
- h(D, {
805
- field: w.contact,
806
- "onUpdate:field": (I) => w.contact = I,
807
- placeholder: "Email или телефон",
808
- class: "w-100 bg-white",
809
- validation: a.value
810
- }, null, 8, ["field", "onUpdate:field", "validation"]),
811
- P > 0 ? (o(), r("div", ws, [
812
- n("button", {
813
- onClick: (I) => p(P),
814
- class: "button-small button"
815
- }, "×", 8, $s)
816
- ])) : g("", !0)
817
- ]),
818
- h(De, {
819
- options: [
820
- { name: "Директор", value: "director" },
821
- { name: "Менеджер", value: "manager" },
822
- { name: "Сотрудник", value: "member" }
823
- ],
824
- prop: w,
825
- content: "role",
826
- placeholder: "Роль",
827
- size: "small",
828
- class: "w-80"
829
- }, null, 8, ["prop"])
830
- ]))), 128)),
831
- n("div", {
832
- onClick: c,
833
- class: "mn-small flex-v-center flex-nowrap flex"
834
- }, ks),
835
- h(ue, {
836
- submit: i.a = () => l(j.invites),
837
- callback: u,
838
- class: "mn-t-medium"
839
- }, {
840
- default: x(() => [
841
- xs
842
- ]),
843
- _: 1
844
- }, 8, ["submit"])
845
- ])
846
- ]));
847
- }
848
- }, Ls = { class: "mn-big radius-medium bg-white" }, Ss = {
849
- key: 0,
850
- class: "pd-semi"
851
- }, Ps = { class: "br-grey br-1px br-solid radius-small flex-nowrap flex-v-center flex pd-medium" }, zs = { class: "w-100 mn-r-small" }, Ms = { class: "t-transp" }, Ds = {
852
- key: 0,
853
- class: "mn-l-medium flex-v-center flex"
854
- }, As = ["onClick"], Vs = {
855
- key: 1,
856
- class: "pd-semi"
857
- }, Is = { key: 0 }, Es = { class: "br-grey br-1px br-solid radius-small mn-thin flex-nowrap flex-v-center flex pd-medium" }, Us = { class: "w-100 mn-r-small" }, Bs = { class: "t-transp" }, js = { class: "mn-l-medium flex-v-center flex" }, Ts = ["onClick"], Fs = {
858
- __name: "MembersList",
859
- props: {
860
- organization: Object,
861
- memberships: Array,
862
- invites: Array
863
- },
864
- emits: [["removeMember", "removeInvite"]],
865
- setup(e, { emit: t }) {
866
- const s = e, a = v("members");
867
- function d(p, l) {
868
- s.memberships.splice(p, 1), t("removeMember", l);
869
- }
870
- function c(p, l) {
871
- s.invites.splice(p, 1), t("removeInvite", l);
872
- }
873
- return (p, l) => (o(), r("section", Ls, [
874
- h(ze, {
875
- selected: a.value,
876
- "onUpdate:selected": l[0] || (l[0] = (u) => a.value = u),
877
- class: "br-grey br-b br-solid radius-small",
878
- tabs: [
879
- { name: "Участники", value: "members" },
880
- { name: "Приглашения", value: "invites" }
881
- ]
882
- }, null, 8, ["selected"]),
883
- a.value === "members" ? (o(), r("div", Ss, [
884
- (o(!0), r(O, null, L(e.memberships, (u, i) => (o(), r("div", Ps, [
885
- n("span", zs, f(u.user.email) + " " + f(u.user.phone), 1),
886
- n("span", Ms, f(u.position), 1),
887
- u.position !== "Основатель" ? (o(), r("div", Ds, [
888
- n("button", {
889
- onClick: (m) => d(i, u),
890
- class: "button-small button"
891
- }, "×", 8, As)
892
- ])) : g("", !0)
893
- ]))), 256))
894
- ])) : g("", !0),
895
- a.value === "invites" ? (o(), r("div", Vs, [
896
- e.invites.length < 1 ? (o(), r("span", Is, "В организации нет приглашений")) : g("", !0),
897
- (o(!0), r(O, null, L(e.invites, (u, i) => (o(), r("div", Es, [
898
- n("span", Us, f(u.invitedEmail) + " " + f(u.invitedPhone), 1),
899
- n("span", Bs, f(u.status), 1),
900
- n("div", js, [
901
- n("button", {
902
- onClick: (m) => c(i, u),
903
- class: "button-small button"
904
- }, "×", 8, Ts)
905
- ])
906
- ]))), 256))
907
- ])) : g("", !0)
908
- ]));
909
- }
910
- }, qs = /* @__PURE__ */ n("section", { class: "mn-medium radius-medium pd-semi bg-white" }, [
911
- /* @__PURE__ */ n("h2", { class: "mn-regular" }, "Участники"),
912
- /* @__PURE__ */ n("p", { class: "t-transp p-big" }, "Добавляйте новых участников организации и настраивайте права доступа.")
913
- ], -1), zi = {
914
- __name: "MembersTab",
915
- props: {
916
- organization: Object,
917
- memberships: Array
918
- },
919
- async setup(e) {
920
- let t, s;
921
- const a = e;
922
- [t, s] = Y(() => oe.read(a.organization._id)), await t, s();
923
- async function d(l) {
924
- await oe.create(a.organization._id, l);
925
- }
926
- async function c(l) {
927
- await be.delete(l._id);
928
- }
929
- async function p(l) {
930
- await oe.delete(l._id);
931
- }
932
- return (l, u) => (o(), $(H, { name: "slide-fade" }, {
933
- default: x(() => [
934
- n("div", null, [
935
- qs,
936
- h(Os, {
937
- organization: e.organization,
938
- onSendInvite: d
939
- }, null, 8, ["organization"]),
940
- h(Fs, {
941
- organization: e.organization,
942
- memberships: e.memberships,
943
- invites: j.invites,
944
- onRemoveInvite: p,
945
- onRemoveMember: c
946
- }, null, 8, ["organization", "memberships", "invites"])
947
- ])
948
- ]),
949
- _: 1
950
- }));
951
- }
952
- };
953
- const Rs = {
954
- key: 0,
955
- class: "pd-thin for-transition w-100"
956
- }, Zs = { class: "t-semi mn-small" }, Hs = {
957
- __name: "Organization",
958
- setup(e) {
959
- const t = q(), s = F();
960
- let a = s.query.tab ? s.query.tab : "events";
961
- const d = v(null);
962
- me(async () => {
963
- d.value = await R.read({ _id: s.params._id, user: S.user._id }), await be.read(s.params._id);
964
- });
965
- const c = v(a);
966
- s.query.tab = c.value, T(c, (l) => {
967
- t.replace({ query: { ...s.query, tab: l } });
968
- });
969
- const p = ({ membership: l, isMember: u, targetId: i }) => {
970
- Re.handleMembershipUpdate(b.current, l, u, i);
971
- };
972
- return (l, u) => d.value ? (o(), r("div", Rs, [
973
- h(Vt, {
974
- organization: b.current,
975
- user: S.user,
976
- class: "mn-semi"
977
- }, {
978
- default: x(() => [
979
- n("p", Zs, " 👨‍👨‍👧‍👧 " + f(b.current.numberOfMemberships) + " followers ", 1),
980
- S.user._id && k(s).params._id && k(s).params._id !== S.user._id && b.current.owner !== S.user._id ? (o(), $(qe, {
981
- key: 0,
982
- type: "organization",
983
- isMember: b.current.isMember,
984
- targetId: b.current._id,
985
- userId: S.user._id,
986
- class: "w-min mn-auto",
987
- onUpdateMembership: p
988
- }, null, 8, ["isMember", "targetId", "userId"])) : g("", !0)
989
- ]),
990
- _: 1
991
- }, 8, ["organization", "user"]),
992
- h(ze, {
993
- selected: c.value,
994
- "onUpdate:selected": u[0] || (u[0] = (i) => c.value = i),
995
- tabs: [
996
- { name: "Events", value: "events" },
997
- { name: "Community", value: "community" }
998
- ],
999
- class: "mn-small o-hidden h5 radius-big bg-grey"
1000
- }, null, 8, ["selected"]),
1001
- h(H, { name: "slide-fade" }, {
1002
- default: x(() => [
1003
- c.value === "events" ? (o(), $(He, {
1004
- key: 0,
1005
- user: S.user._id,
1006
- owner: k(s).params._id,
1007
- sortOrder: "asc"
1008
- }, null, 8, ["user", "owner"])) : g("", !0)
1009
- ]),
1010
- _: 1
1011
- }),
1012
- h(H, { name: "slide-fade" }, {
1013
- default: x(() => [
1014
- c.value === "community" ? (o(), $(Ne, {
1015
- key: 0,
1016
- user: S.user._id,
1017
- owner: k(s).params._id
1018
- }, null, 8, ["user", "owner"])) : g("", !0)
1019
- ]),
1020
- _: 1
1021
- })
1022
- ])) : g("", !0);
1023
- }
1024
- }, Ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1025
- __proto__: null,
1026
- default: Hs
1027
- }, Symbol.toStringTag, { value: "Module" })), Ks = { class: "for-transition w-100" }, Ws = {
1028
- id: "dash",
1029
- class: "pd-medium bg-grey"
1030
- }, Ys = { class: "mn-medium radius-medium pd-semi bg-white" }, Js = { class: "flex-nowrap flex mn-small" }, Qs = { class: "w-100" }, Xs = /* @__PURE__ */ n("path", {
1031
- 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",
1032
- fill: "black"
1033
- }, null, -1), Gs = [
1034
- Xs
1035
- ], en = ["innerHTML"], tn = { class: "mn-medium radius-medium pd-semi bg-white" }, sn = /* @__PURE__ */ n("h3", { class: "mn-regular" }, "Команда", -1), nn = { key: 0 }, an = { class: "mn-medium radius-medium pd-semi bg-white" }, on = /* @__PURE__ */ n("h3", { class: "mn-regular" }, "Подотделы", -1), ln = { key: 0 }, rn = {
1036
- __name: "Department",
1037
- async setup(e) {
1038
- let t, s;
1039
- q();
1040
- const a = F();
1041
- return [t, s] = Y(() => K.readOne(a.params._id)), await t, s(), (d, c) => (o(), r("div", Ks, [
1042
- n("div", Ws, [
1043
- n("section", Ys, [
1044
- n("div", Js, [
1045
- n("h2", Qs, f(_.department.name), 1),
1046
- (o(), r("svg", {
1047
- onClick: c[0] || (c[0] = (p) => d.$router.push(`/app/organization/departments/${_.department._id}/edit`)),
1048
- class: "i-regular t-transp",
1049
- width: "652",
1050
- height: "652",
1051
- viewBox: "0 0 652 652",
1052
- fill: "none",
1053
- xmlns: "http://www.w3.org/2000/svg"
1054
- }, Gs))
1055
- ]),
1056
- n("p", {
1057
- class: "t-transp p-big",
1058
- innerHTML: _.department.description
1059
- }, null, 8, en)
1060
- ]),
1061
- n("section", tn, [
1062
- sn,
1063
- n("ul", null, [
1064
- _.department.members.length < 1 ? (o(), r("li", nn, "В отделе еще нет участников")) : g("", !0),
1065
- (o(!0), r(O, null, L(_.department.members, (p, l) => (o(), $(Ve, {
1066
- class: "br-b br-solid br-grey",
1067
- key: l,
1068
- user: p.user,
1069
- position: p.position,
1070
- onClick: (u) => d.$router.push(`/app/profile/${p.user._id}`)
1071
- }, null, 8, ["user", "position", "onClick"]))), 128))
1072
- ])
1073
- ]),
1074
- n("section", an, [
1075
- on,
1076
- n("ul", null, [
1077
- _.department.subdepartments.length < 1 ? (o(), r("li", ln, "В отделе еще нет подотделов")) : g("", !0),
1078
- (o(!0), r(O, null, L(_.department.subdepartments, (p, l) => (o(), $(Ae, {
1079
- onClick: (u) => d.$router.push(`/app/organization/departments/${p._id}`),
1080
- key: l,
1081
- class: "br-b br-solid br-grey",
1082
- department: p
1083
- }, null, 8, ["onClick", "department"]))), 128))
1084
- ])
1085
- ])
1086
- ])
1087
- ]));
1088
- }
1089
- }, dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1090
- __proto__: null,
1091
- default: rn
1092
- }, Symbol.toStringTag, { value: "Module" }));
1093
- const cn = { class: "for-transition bg-white radius-big w-100" }, un = { class: "flex-v-center flex-nowrap flex pd-semi" }, pn = /* @__PURE__ */ n("h2", { class: "mn-r-medium" }, "Organizations", -1), mn = { class: "pd-semi" }, hn = {
1094
- key: 1,
1095
- class: "cols-3"
1096
- }, _n = ["onClick"], fn = ["src"], gn = {
1097
- key: 1,
1098
- class: "radius-medium mn-small i-thin",
1099
- width: "42",
1100
- height: "42",
1101
- viewBox: "0 0 42 42",
1102
- fill: "none",
1103
- xmlns: "http://www.w3.org/2000/svg"
1104
- }, bn = /* @__PURE__ */ n("circle", {
1105
- fill: "rgb(var(--main))",
1106
- cx: "21",
1107
- cy: "21",
1108
- r: "21"
1109
- }, null, -1), vn = /* @__PURE__ */ n("path", {
1110
- fill: "#242424",
1111
- "fill-opacity": "0.1",
1112
- "fill-rule": "evenodd",
1113
- "clip-rule": "evenodd",
1114
- d: "M8.00233 37.4954C8.00078 37.4458 8 37.3961 8 37.3462C8 32.9066 11.5673 29.3077 15.9677 29.3077H26.0323C30.4328 29.3077 34 32.9066 34 37.3462C34 37.3961 33.9992 37.4458 33.9977 37.4954C30.4223 40.3165 25.9078 42 21 42C16.0922 42 11.5777 40.3164 8.00233 37.4954ZM21 9C16.5995 9 13.0323 12.5989 13.0323 17.0385C13.0323 21.478 16.5995 25.0769 21 25.0769C25.4005 25.0769 28.9677 21.478 28.9677 17.0385C28.9677 12.5989 25.4005 9 21 9Z"
1115
- }, null, -1), yn = [
1116
- bn,
1117
- vn
1118
- ], wn = { class: "h4 mn-r-semi mn-small" }, $n = ["onClick"], Cn = /* @__PURE__ */ n("path", {
1119
- fill: "black",
1120
- d: "M6.41357 11.979C9.6831 11.979 12.3901 9.26611 12.3901 6.00244C12.3901 2.73291 9.67724 0.0258789 6.40771 0.0258789C3.14404 0.0258789 0.437008 2.73291 0.437008 6.00244C0.437008 9.26611 3.1499 11.979 6.41357 11.979ZM6.41357 10.9829C3.64795 10.9829 1.43896 8.76807 1.43896 6.00244C1.43896 3.23682 3.64209 1.02197 6.40771 1.02197C9.17334 1.02197 11.3882 3.23682 11.394 6.00244C11.3999 8.76807 9.1792 10.9829 6.41357 10.9829ZM8.72802 4.36182L9.1499 3.93408C9.3374 3.74072 9.35498 3.52979 9.1792 3.34814L9.04443 3.21924C8.86865 3.0376 8.65185 3.06104 8.46435 3.24854L8.03662 3.67041L8.72802 4.36182ZM4.53271 8.53955L8.37646 4.71338L7.68505 4.02197L3.84716 7.84814L3.51318 8.62158C3.45459 8.76807 3.59521 8.89697 3.72412 8.8501L4.53271 8.53955Z"
1121
- }, null, -1), kn = [
1122
- Cn
1123
- ], xn = { class: "t-black p-small" }, Mi = {
1124
- __name: "OrganizationsAccount",
1125
- async setup(e) {
1126
- let t, s;
1127
- S.user._id && ([t, s] = Y(() => R.read({ owner: S.user._id })), await t, s());
1128
- const a = q(), d = F();
1129
- let c = d.query.tab ? d.query.tab : "details";
1130
- const p = v(c);
1131
- return d.query.tab = p.value, T(p, (l) => {
1132
- a.replace({ query: { ...d.query, tab: l } });
1133
- }), (l, u) => (o(), r("div", cn, [
1134
- n("header", un, [
1135
- pn,
1136
- n("button", {
1137
- onClick: u[0] || (u[0] = (i) => l.$router.push({ name: "Create Organization" })),
1138
- class: "radius-100p i-semi hover-scale-1 cursor-pointer t-white bg-second"
1139
- }, "+")
1140
- ]),
1141
- n("div", mn, [
1142
- b.all.length < 1 ? (o(), $(ge, {
1143
- key: 0,
1144
- title: "You Haven't Joined Any Organization Yet",
1145
- description: "Weeder is all about community. Join an organization or maybe you want to create your own?",
1146
- action: "Create organization",
1147
- callback: l.a = () => l.$router.push("/app/organization/create/details")
1148
- }, null, 8, ["callback"])) : (o(), r("div", hn, [
1149
- (o(!0), r(O, null, L(b.all, (i) => (o(), r("div", {
1150
- key: i._id,
1151
- class: "mn-small radius-medium pd-medium br-2px br-solid br-grey",
1152
- onClick: (m) => l.$router.push({ name: "Organization", params: { _id: i._id } })
1153
- }, [
1154
- i.profile.photo.length > 0 ? (o(), r("img", {
1155
- key: 0,
1156
- src: (l.FILE_SERVER_URL || "") + i.profile.photo,
1157
- class: "radius-medium mn-small i-thin"
1158
- }, null, 8, fn)) : (o(), r("svg", gn, yn)),
1159
- n("p", wn, f(i.profile.name), 1),
1160
- (o(), r("svg", {
1161
- onClick: de((m) => l.$router.push({ name: "Organization Edit", params: { _id: i._id } }), ["stop"]),
1162
- class: "t-transp hover-scale-1 z-index-1 pos-absolute pos-t-regular pos-r-regular i-medium",
1163
- width: "13",
1164
- height: "12",
1165
- viewBox: "0 0 13 12",
1166
- xmlns: "http://www.w3.org/2000/svg"
1167
- }, kn, 8, $n)),
1168
- n("p", xn, f(i.profile.description.slice(0, 120) + "..."), 1)
1169
- ], 8, _n))), 128))
1170
- ]))
1171
- ])
1172
- ]));
1173
- }
1174
- }, On = { class: "for-transition pd-thin" }, Ln = /* @__PURE__ */ n("h3", { class: "mn-small" }, "Type of group", -1), Sn = /* @__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), Pn = /* @__PURE__ */ n("h3", { class: "mn-small" }, "Profile", -1), zn = { class: "mn-thin radius-small w-100 h-10r bg-grey flex-center flex-column flex" }, Mn = /* @__PURE__ */ n("h4", null, "Upload photo", -1), Dn = /* @__PURE__ */ n("h3", { class: "mn-small" }, "Socials", -1), An = /* @__PURE__ */ n("p", { class: "mn-thin" }, "Please provide only the username for social media profiles, without full links.", -1), Vn = {
1175
- __name: "OrganizationEdit",
1176
- async setup(e) {
1177
- let t, s;
1178
- const a = F(), d = q();
1179
- R.reset(), a.params._id && ([t, s] = Y(() => R.read({ _id: a.params._id })), await t, s());
1180
- const c = Z(() => b.current);
1181
- async function p() {
1182
- a.params._id ? await R.update(a.params._id, c.value) : await R.create(b.current, S.user._id);
1183
- }
1184
- function l() {
1185
- d.replace({ name: "Organization", params: { _id: b.current._id } });
1186
- }
1187
- return (u, i) => (o(), r("div", On, [
1188
- Ln,
1189
- Sn,
1190
- h(Te, {
1191
- modelValue: b.current.types,
1192
- "onUpdate:modelValue": i[0] || (i[0] = (m) => b.current.types = m),
1193
- options: ["public", "exclusive", "hidden"],
1194
- multiple: !1,
1195
- taggable: !1,
1196
- placeholder: "Type to search or add type of organization",
1197
- class: "mn-semi bg-grey pd-medium radius-small"
1198
- }, null, 8, ["modelValue"]),
1199
- Pn,
1200
- n("div", zn, [
1201
- h(Me, {
1202
- photo: b.current.profile.photo,
1203
- "onUpdate:photo": i[1] || (i[1] = (m) => b.current.profile.photo = m),
1204
- uploadPath: "organizations/" + b.current._id + "/avatars",
1205
- class: "h-4r w-4r aspect-1x1 o-hidden mn-thin radius-extra"
1206
- }, null, 8, ["photo", "uploadPath"]),
1207
- Mn
1208
- ]),
1209
- h(D, {
1210
- field: b.current.profile.name,
1211
- "onUpdate:field": i[2] || (i[2] = (m) => b.current.profile.name = m),
1212
- placeholder: "Name of organization",
1213
- class: "mn-thin bg-grey pd-medium radius-small"
1214
- }, null, 8, ["field"]),
1215
- h(D, {
1216
- field: b.current.profile.description,
1217
- "onUpdate:field": i[3] || (i[3] = (m) => b.current.profile.description = m),
1218
- placeholder: "Brief description of your group",
1219
- class: "mn-thin bg-grey pd-medium radius-small"
1220
- }, null, 8, ["field"]),
1221
- h(Fe, {
1222
- onTagsChanged: i[4] || (i[4] = (m) => b.current.profile.tags = m),
1223
- tags: b.current.profile.tags
1224
- }, null, 8, ["tags"]),
1225
- Dn,
1226
- An,
1227
- h(D, {
1228
- field: b.current.socials.instagram,
1229
- "onUpdate:field": i[5] || (i[5] = (m) => b.current.socials.instagram = m),
1230
- label: "Instagram",
1231
- placeholder: "",
1232
- class: "mn-thin bg-grey pd-medium radius-small"
1233
- }, null, 8, ["field"]),
1234
- h(D, {
1235
- field: b.current.socials.twitter,
1236
- "onUpdate:field": i[6] || (i[6] = (m) => b.current.socials.twitter = m),
1237
- label: "Twitter",
1238
- placeholder: "",
1239
- class: "mn-thin bg-grey pd-medium radius-small"
1240
- }, null, 8, ["field"]),
1241
- h(D, {
1242
- field: b.current.socials.facebook,
1243
- "onUpdate:field": i[7] || (i[7] = (m) => b.current.socials.facebook = m),
1244
- label: "Facebook",
1245
- placeholder: "",
1246
- class: "mn-thin bg-grey pd-medium radius-small"
1247
- }, null, 8, ["field"]),
1248
- h(D, {
1249
- field: b.current.socials.telegram,
1250
- "onUpdate:field": i[8] || (i[8] = (m) => b.current.socials.telegram = m),
1251
- label: "Telegram",
1252
- placeholder: "",
1253
- class: "mn-thin bg-grey pd-medium radius-small"
1254
- }, null, 8, ["field"]),
1255
- h(ue, {
1256
- submit: p,
1257
- callback: l,
1258
- class: "mn-thin"
1259
- }, {
1260
- default: x(() => [
1261
- W("Save")
1262
- ]),
1263
- _: 1
1264
- })
1265
- ]));
1266
- }
1267
- }, ke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1268
- __proto__: null,
1269
- default: Vn
1270
- }, Symbol.toStringTag, { value: "Module" }));
1271
- const In = { class: "for-transition bg-white radius-big w-100" }, En = /* @__PURE__ */ n("header", { class: "flex-v-center flex-nowrap flex pd-semi" }, [
1272
- /* @__PURE__ */ n("h2", { class: "mn-r-medium" }, "Weed dispensaries in Thailand")
1273
- ], -1), Un = { class: "pd-semi" }, Bn = {
1274
- key: 1,
1275
- class: "cols-3"
1276
- }, jn = ["onClick"], Tn = ["src"], Fn = {
1277
- key: 1,
1278
- class: "radius-medium mn-small i-thin",
1279
- width: "42",
1280
- height: "42",
1281
- viewBox: "0 0 42 42",
1282
- fill: "none",
1283
- xmlns: "http://www.w3.org/2000/svg"
1284
- }, qn = /* @__PURE__ */ n("circle", {
1285
- fill: "rgb(var(--main))",
1286
- cx: "21",
1287
- cy: "21",
1288
- r: "21"
1289
- }, null, -1), Rn = /* @__PURE__ */ n("path", {
1290
- fill: "#242424",
1291
- "fill-opacity": "0.1",
1292
- "fill-rule": "evenodd",
1293
- "clip-rule": "evenodd",
1294
- d: "M8.00233 37.4954C8.00078 37.4458 8 37.3961 8 37.3462C8 32.9066 11.5673 29.3077 15.9677 29.3077H26.0323C30.4328 29.3077 34 32.9066 34 37.3462C34 37.3961 33.9992 37.4458 33.9977 37.4954C30.4223 40.3165 25.9078 42 21 42C16.0922 42 11.5777 40.3164 8.00233 37.4954ZM21 9C16.5995 9 13.0323 12.5989 13.0323 17.0385C13.0323 21.478 16.5995 25.0769 21 25.0769C25.4005 25.0769 28.9677 21.478 28.9677 17.0385C28.9677 12.5989 25.4005 9 21 9Z"
1295
- }, null, -1), Zn = [
1296
- qn,
1297
- Rn
1298
- ], Hn = { class: "h4 mn-r-semi mn-small" }, Nn = ["onClick"], Kn = /* @__PURE__ */ n("path", {
1299
- fill: "black",
1300
- d: "M6.41357 11.979C9.6831 11.979 12.3901 9.26611 12.3901 6.00244C12.3901 2.73291 9.67724 0.0258789 6.40771 0.0258789C3.14404 0.0258789 0.437008 2.73291 0.437008 6.00244C0.437008 9.26611 3.1499 11.979 6.41357 11.979ZM6.41357 10.9829C3.64795 10.9829 1.43896 8.76807 1.43896 6.00244C1.43896 3.23682 3.64209 1.02197 6.40771 1.02197C9.17334 1.02197 11.3882 3.23682 11.394 6.00244C11.3999 8.76807 9.1792 10.9829 6.41357 10.9829ZM8.72802 4.36182L9.1499 3.93408C9.3374 3.74072 9.35498 3.52979 9.1792 3.34814L9.04443 3.21924C8.86865 3.0376 8.65185 3.06104 8.46435 3.24854L8.03662 3.67041L8.72802 4.36182ZM4.53271 8.53955L8.37646 4.71338L7.68505 4.02197L3.84716 7.84814L3.51318 8.62158C3.45459 8.76807 3.59521 8.89697 3.72412 8.8501L4.53271 8.53955Z"
1301
- }, null, -1), Wn = [
1302
- Kn
1303
- ], Yn = { class: "t-black p-small" }, Di = {
1304
- __name: "Organizations",
1305
- async setup(e) {
1306
- let t, s;
1307
- S.user._id && ([t, s] = Y(() => R.read({ owner: S.user._id })), await t, s());
1308
- const a = q(), d = F();
1309
- let c = d.query.tab ? d.query.tab : "details";
1310
- const p = v(c);
1311
- return d.query.tab = p.value, T(p, (l) => {
1312
- a.replace({ query: { ...d.query, tab: l } });
1313
- }), (l, u) => (o(), r("div", In, [
1314
- En,
1315
- n("div", Un, [
1316
- b.all.length < 1 ? (o(), $(ge, {
1317
- key: 0,
1318
- title: "You Haven't Joined Any Organization Yet",
1319
- description: "Weeder is all about community. Join an organization or maybe you want to create your own?",
1320
- action: "Create organization",
1321
- callback: l.a = () => l.$router.push("/app/organization/create/details")
1322
- }, null, 8, ["callback"])) : (o(), r("div", Bn, [
1323
- (o(!0), r(O, null, L(b.all, (i) => (o(), r("div", {
1324
- key: i._id,
1325
- class: "mn-small radius-medium pd-medium br-2px br-solid br-grey",
1326
- onClick: (m) => l.$router.push({ name: "Organization", params: { _id: i._id } })
1327
- }, [
1328
- i.profile.photo.length > 0 ? (o(), r("img", {
1329
- key: 0,
1330
- src: (l.FILE_SERVER_URL || "") + i.profile.photo,
1331
- class: "radius-medium mn-small i-thin"
1332
- }, null, 8, Tn)) : (o(), r("svg", Fn, Zn)),
1333
- n("p", Hn, f(i.profile.name), 1),
1334
- (o(), r("svg", {
1335
- onClick: de((m) => l.$router.push({ name: "Organization Edit", params: { _id: i._id } }), ["stop"]),
1336
- class: "t-transp hover-scale-1 z-index-1 pos-absolute pos-t-regular pos-r-regular i-medium",
1337
- width: "13",
1338
- height: "12",
1339
- viewBox: "0 0 13 12",
1340
- xmlns: "http://www.w3.org/2000/svg"
1341
- }, Wn, 8, Nn)),
1342
- n("p", Yn, f(i.profile.description.slice(0, 120) + "..."), 1)
1343
- ], 8, jn))), 128))
1344
- ]))
1345
- ])
1346
- ]));
1347
- }
1348
- };
1349
- const Jn = {
1350
- key: 0,
1351
- class: "t-transp mn-r-small"
1352
- }, Qn = ["placeholder", "value"], Xn = {
1353
- key: 0,
1354
- class: "mn-t-thin invalid-feedback"
1355
- }, Gn = {
1356
- __name: "Address",
1357
- props: {
1358
- apiKey: {
1359
- type: String,
1360
- required: !0
1361
- },
1362
- label: null,
1363
- placeholder: "Enter something here",
1364
- field: null,
1365
- location: {
1366
- type: Object,
1367
- default: { lat: 48.6900735, lng: 41.1620239 }
1368
- },
1369
- address: {
1370
- type: String,
1371
- default: ""
1372
- }
1373
- },
1374
- emits: ["update:address", "update:location", "update:country", "update:state", "update:city"],
1375
- setup(e, { emit: t }) {
1376
- const s = e, a = v(null);
1377
- let d;
1378
- const c = () => {
1379
- d = new google.maps.places.Autocomplete(a.value), d.addListener("place_changed", l);
1380
- }, p = () => {
1381
- d || c();
1382
- }, l = () => {
1383
- const u = d.getPlace();
1384
- if (!u.geometry || !u.address_components)
1385
- return;
1386
- let i = "", m = "", w = "";
1387
- for (let N = 0; N < u.address_components.length; N++) {
1388
- console.log(u.address_components);
1389
- let M = u.address_components[N];
1390
- M.types.includes("country") && (i = M.long_name), M.types.includes("administrative_area_level_1") && (m = M.long_name), M.types.includes("locality") && (w = M.long_name);
1391
- }
1392
- const P = u.formatted_address, I = { lat: u.geometry.location.lat(), lng: u.geometry.location.lng() };
1393
- t("update:address", P), t("update:location", I), t("update:country", i), t("update:state", m), t("update:city", w);
1394
- };
1395
- return ce(() => {
1396
- s.address !== a.value && (a.value = s.address);
1397
- }), me(() => {
1398
- c();
1399
- }), (u, i) => (o(), r("div", {
1400
- class: se([u.$attrs.class, "flex-nowrap flex"])
1401
- }, [
1402
- e.label ? (o(), r("div", Jn, [
1403
- n("span", null, f(e.label), 1)
1404
- ])) : g("", !0),
1405
- n("input", {
1406
- ref_key: "addressInput",
1407
- ref: a,
1408
- class: "w-100",
1409
- placeholder: e.placeholder,
1410
- value: e.address,
1411
- onInput: p
1412
- }, null, 40, Qn),
1413
- h(H, {
1414
- mode: "out-in",
1415
- name: "fade"
1416
- }, {
1417
- default: x(() => [
1418
- u.validation ? (o(), r("div", Xn, " * " + f(u.validation.message), 1)) : g("", !0)
1419
- ]),
1420
- _: 1
1421
- })
1422
- ], 2));
1423
- }
1424
- }, ea = /* @__PURE__ */ A(Gn, [["__scopeId", "data-v-faece1a6"]]);
1425
- const ta = (e) => (he("data-v-1c7971e5"), e = e(), _e(), e), sa = { class: "map-container" }, na = /* @__PURE__ */ ta(() => /* @__PURE__ */ n("svg", {
1426
- class: "i-medium",
1427
- width: "98",
1428
- height: "98",
1429
- viewBox: "0 0 98 98",
1430
- fill: "none",
1431
- xmlns: "http://www.w3.org/2000/svg"
1432
- }, [
1433
- /* @__PURE__ */ n("path", {
1434
- 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",
1435
- fill: "white"
1436
- }),
1437
- /* @__PURE__ */ n("path", {
1438
- 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",
1439
- fill: "white"
1440
- })
1441
- ], -1)), aa = [
1442
- na
1443
- ], oa = {
1444
- __name: "LocationMarker",
1445
- props: {
1446
- location: {
1447
- type: Object,
1448
- default: { lat: 48.6900735, lng: 41.1620239 }
1449
- },
1450
- address: {
1451
- type: String,
1452
- default: ""
1453
- },
1454
- apiKey: String
1455
- },
1456
- emits: ["update:location", "update:address", "update:country", "update:state", "update:city"],
1457
- setup(e, { emit: t }) {
1458
- const s = e, a = v(null);
1459
- let d, c;
1460
- me(() => {
1461
- d = new google.maps.Map(a.value, {
1462
- center: s.location,
1463
- zoom: 15,
1464
- mapTypeControl: !1,
1465
- fullscreenControl: !1
1466
- }), c = new google.maps.Marker({
1467
- position: s.location,
1468
- map: d,
1469
- draggable: !0
1470
- }), c.addListener("dragend", (u) => {
1471
- const i = { lat: u.latLng.lat(), lng: u.latLng.lng() };
1472
- t("update:location", i), p(i);
1473
- });
1474
- }), ce(() => {
1475
- s.location && c && c.setPosition(new google.maps.LatLng(s.location.lat, s.location.lng));
1476
- }), ce(() => {
1477
- if (s.location && d) {
1478
- const u = new google.maps.LatLng(s.location.lat, s.location.lng);
1479
- d.setCenter(u);
1480
- }
1481
- });
1482
- function p(u) {
1483
- new google.maps.Geocoder().geocode({ location: u }, (m, w) => {
1484
- if (w === "OK")
1485
- if (m[0]) {
1486
- t("update:address", m[0].formatted_address);
1487
- let P = "", I = "", N = "";
1488
- m[0].address_components.forEach((M) => {
1489
- M.types.includes("country") && (P = M.long_name), M.types.includes("administrative_area_level_1") && (I = M.long_name), M.types.includes("locality") && (N = M.long_name);
1490
- }), t("update:country", P), t("update:state", I), t("update:city", N);
1491
- } else
1492
- console.error("No results found");
1493
- else
1494
- console.error("Geocoder failed due to: " + w);
1495
- });
1496
- }
1497
- async function l() {
1498
- navigator.geolocation ? navigator.geolocation.getCurrentPosition((u) => {
1499
- const i = { lat: u.coords.latitude, lng: u.coords.longitude };
1500
- t("update:location", i), p(i);
1501
- }, () => {
1502
- console.error("Error getting location");
1503
- }) : console.error("Geolocation is not supported by this browser.");
1504
- }
1505
- return (u, i) => (o(), r("div", sa, [
1506
- n("div", {
1507
- ref_key: "mapContainer",
1508
- ref: a,
1509
- class: "w-100 h-100"
1510
- }, null, 512),
1511
- n("button", {
1512
- class: "pos-absolute pos-t-regular pos-r-regular i-semi bg-second radius-extra",
1513
- onClick: l
1514
- }, aa)
1515
- ]));
1516
- }
1517
- }, ia = /* @__PURE__ */ A(oa, [["__scopeId", "data-v-1c7971e5"]]);
1518
- var la = Object.defineProperty, ra = Object.defineProperties, da = Object.getOwnPropertyDescriptors, xe = Object.getOwnPropertySymbols, ca = Object.prototype.hasOwnProperty, ua = Object.prototype.propertyIsEnumerable, Oe = (e, t, s) => t in e ? la(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s, G = (e, t) => {
1519
- for (var s in t || (t = {}))
1520
- ca.call(t, s) && Oe(e, s, t[s]);
1521
- if (xe)
1522
- for (var s of xe(t))
1523
- ua.call(t, s) && Oe(e, s, t[s]);
1524
- return e;
1525
- }, Le = (e, t) => ra(e, da(t));
1526
- const pa = {
1527
- props: {
1528
- autoscroll: {
1529
- type: Boolean,
1530
- default: !0
1531
- }
1532
- },
1533
- watch: {
1534
- typeAheadPointer() {
1535
- this.autoscroll && this.maybeAdjustScroll();
1536
- },
1537
- open(e) {
1538
- this.autoscroll && e && this.$nextTick(() => this.maybeAdjustScroll());
1539
- }
1540
- },
1541
- methods: {
1542
- maybeAdjustScroll() {
1543
- var e;
1544
- const t = ((e = this.$refs.dropdownMenu) == null ? void 0 : e.children[this.typeAheadPointer]) || !1;
1545
- if (t) {
1546
- const s = this.getDropdownViewport(), { top: a, bottom: d, height: c } = t.getBoundingClientRect();
1547
- if (a < s.top)
1548
- return this.$refs.dropdownMenu.scrollTop = t.offsetTop;
1549
- if (d > s.bottom)
1550
- return this.$refs.dropdownMenu.scrollTop = t.offsetTop - (s.height - c);
1551
- }
1552
- },
1553
- getDropdownViewport() {
1554
- return this.$refs.dropdownMenu ? this.$refs.dropdownMenu.getBoundingClientRect() : {
1555
- height: 0,
1556
- top: 0,
1557
- bottom: 0
1558
- };
1559
- }
1560
- }
1561
- }, ma = {
1562
- data() {
1563
- return {
1564
- typeAheadPointer: -1
1565
- };
1566
- },
1567
- watch: {
1568
- filteredOptions() {
1569
- for (let e = 0; e < this.filteredOptions.length; e++)
1570
- if (this.selectable(this.filteredOptions[e])) {
1571
- this.typeAheadPointer = e;
1572
- break;
1573
- }
1574
- },
1575
- open(e) {
1576
- e && this.typeAheadToLastSelected();
1577
- },
1578
- selectedValue() {
1579
- this.open && this.typeAheadToLastSelected();
1580
- }
1581
- },
1582
- methods: {
1583
- typeAheadUp() {
1584
- for (let e = this.typeAheadPointer - 1; e >= 0; e--)
1585
- if (this.selectable(this.filteredOptions[e])) {
1586
- this.typeAheadPointer = e;
1587
- break;
1588
- }
1589
- },
1590
- typeAheadDown() {
1591
- for (let e = this.typeAheadPointer + 1; e < this.filteredOptions.length; e++)
1592
- if (this.selectable(this.filteredOptions[e])) {
1593
- this.typeAheadPointer = e;
1594
- break;
1595
- }
1596
- },
1597
- typeAheadSelect() {
1598
- const e = this.filteredOptions[this.typeAheadPointer];
1599
- e && this.selectable(e) && this.select(e);
1600
- },
1601
- typeAheadToLastSelected() {
1602
- this.typeAheadPointer = this.selectedValue.length !== 0 ? this.filteredOptions.indexOf(this.selectedValue[this.selectedValue.length - 1]) : -1;
1603
- }
1604
- }
1605
- }, ha = {
1606
- props: {
1607
- loading: {
1608
- type: Boolean,
1609
- default: !1
1610
- }
1611
- },
1612
- data() {
1613
- return {
1614
- mutableLoading: !1
1615
- };
1616
- },
1617
- watch: {
1618
- search() {
1619
- this.$emit("search", this.search, this.toggleLoading);
1620
- },
1621
- loading(e) {
1622
- this.mutableLoading = e;
1623
- }
1624
- },
1625
- methods: {
1626
- toggleLoading(e = null) {
1627
- return e == null ? this.mutableLoading = !this.mutableLoading : this.mutableLoading = e;
1628
- }
1629
- }
1630
- }, ve = (e, t) => {
1631
- const s = e.__vccOpts || e;
1632
- for (const [a, d] of t)
1633
- s[a] = d;
1634
- return s;
1635
- }, _a = {}, fa = {
1636
- xmlns: "http://www.w3.org/2000/svg",
1637
- width: "10",
1638
- height: "10"
1639
- }, ga = /* @__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), ba = [
1640
- ga
1641
- ];
1642
- function va(e, t) {
1643
- return o(), r("svg", fa, ba);
1644
- }
1645
- const ya = /* @__PURE__ */ ve(_a, [["render", va]]), wa = {}, $a = {
1646
- xmlns: "http://www.w3.org/2000/svg",
1647
- width: "14",
1648
- height: "10"
1649
- }, Ca = /* @__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), ka = [
1650
- Ca
1651
- ];
1652
- function xa(e, t) {
1653
- return o(), r("svg", $a, ka);
1654
- }
1655
- const Oa = /* @__PURE__ */ ve(wa, [["render", xa]]), Se = {
1656
- Deselect: ya,
1657
- OpenIndicator: Oa
1658
- }, La = {
1659
- mounted(e, { instance: t }) {
1660
- if (t.appendToBody) {
1661
- const {
1662
- height: s,
1663
- top: a,
1664
- left: d,
1665
- width: c
1666
- } = t.$refs.toggle.getBoundingClientRect();
1667
- let p = window.scrollX || window.pageXOffset, l = window.scrollY || window.pageYOffset;
1668
- e.unbindPosition = t.calculatePosition(e, t, {
1669
- width: c + "px",
1670
- left: p + d + "px",
1671
- top: l + a + s + "px"
1672
- }), document.body.appendChild(e);
1673
- }
1674
- },
1675
- unmounted(e, { instance: t }) {
1676
- t.appendToBody && (e.unbindPosition && typeof e.unbindPosition == "function" && e.unbindPosition(), e.parentNode && e.parentNode.removeChild(e));
1677
- }
1678
- };
1679
- function Sa(e) {
1680
- const t = {};
1681
- return Object.keys(e).sort().forEach((s) => {
1682
- t[s] = e[s];
1683
- }), JSON.stringify(t);
1684
- }
1685
- let Pa = 0;
1686
- function za() {
1687
- return ++Pa;
1688
- }
1689
- const Ma = {
1690
- components: G({}, Se),
1691
- directives: { appendToBody: La },
1692
- mixins: [pa, ma, ha],
1693
- compatConfig: {
1694
- MODE: 3
1695
- },
1696
- emits: [
1697
- "open",
1698
- "close",
1699
- "update:modelValue",
1700
- "search",
1701
- "search:compositionstart",
1702
- "search:compositionend",
1703
- "search:keydown",
1704
- "search:blur",
1705
- "search:focus",
1706
- "search:input",
1707
- "option:created",
1708
- "option:selecting",
1709
- "option:selected",
1710
- "option:deselecting",
1711
- "option:deselected"
1712
- ],
1713
- props: {
1714
- modelValue: {},
1715
- components: {
1716
- type: Object,
1717
- default: () => ({})
1718
- },
1719
- options: {
1720
- type: Array,
1721
- default() {
1722
- return [];
1723
- }
1724
- },
1725
- disabled: {
1726
- type: Boolean,
1727
- default: !1
1728
- },
1729
- clearable: {
1730
- type: Boolean,
1731
- default: !0
1732
- },
1733
- deselectFromDropdown: {
1734
- type: Boolean,
1735
- default: !1
1736
- },
1737
- searchable: {
1738
- type: Boolean,
1739
- default: !0
1740
- },
1741
- multiple: {
1742
- type: Boolean,
1743
- default: !1
1744
- },
1745
- placeholder: {
1746
- type: String,
1747
- default: ""
1748
- },
1749
- transition: {
1750
- type: String,
1751
- default: "vs__fade"
1752
- },
1753
- clearSearchOnSelect: {
1754
- type: Boolean,
1755
- default: !0
1756
- },
1757
- closeOnSelect: {
1758
- type: Boolean,
1759
- default: !0
1760
- },
1761
- label: {
1762
- type: String,
1763
- default: "label"
1764
- },
1765
- autocomplete: {
1766
- type: String,
1767
- default: "off"
1768
- },
1769
- reduce: {
1770
- type: Function,
1771
- default: (e) => e
1772
- },
1773
- selectable: {
1774
- type: Function,
1775
- default: (e) => !0
1776
- },
1777
- getOptionLabel: {
1778
- type: Function,
1779
- default(e) {
1780
- 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)}.
1781
- https://vue-select.org/api/props.html#getoptionlabel`) : e;
1782
- }
1783
- },
1784
- getOptionKey: {
1785
- type: Function,
1786
- default(e) {
1787
- if (typeof e != "object")
1788
- return e;
1789
- try {
1790
- return e.hasOwnProperty("id") ? e.id : Sa(e);
1791
- } catch (t) {
1792
- 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.
1793
- https://vue-select.org/api/props.html#getoptionkey`, e, t);
1794
- }
1795
- }
1796
- },
1797
- onTab: {
1798
- type: Function,
1799
- default: function() {
1800
- this.selectOnTab && !this.isComposing && this.typeAheadSelect();
1801
- }
1802
- },
1803
- taggable: {
1804
- type: Boolean,
1805
- default: !1
1806
- },
1807
- tabindex: {
1808
- type: Number,
1809
- default: null
1810
- },
1811
- pushTags: {
1812
- type: Boolean,
1813
- default: !1
1814
- },
1815
- filterable: {
1816
- type: Boolean,
1817
- default: !0
1818
- },
1819
- filterBy: {
1820
- type: Function,
1821
- default(e, t, s) {
1822
- return (t || "").toLocaleLowerCase().indexOf(s.toLocaleLowerCase()) > -1;
1823
- }
1824
- },
1825
- filter: {
1826
- type: Function,
1827
- default(e, t) {
1828
- return e.filter((s) => {
1829
- let a = this.getOptionLabel(s);
1830
- return typeof a == "number" && (a = a.toString()), this.filterBy(s, a, t);
1831
- });
1832
- }
1833
- },
1834
- createOption: {
1835
- type: Function,
1836
- default(e) {
1837
- return typeof this.optionList[0] == "object" ? { [this.label]: e } : e;
1838
- }
1839
- },
1840
- resetOnOptionsChange: {
1841
- default: !1,
1842
- validator: (e) => ["function", "boolean"].includes(typeof e)
1843
- },
1844
- clearSearchOnBlur: {
1845
- type: Function,
1846
- default: function({ clearSearchOnSelect: e, multiple: t }) {
1847
- return e && !t;
1848
- }
1849
- },
1850
- noDrop: {
1851
- type: Boolean,
1852
- default: !1
1853
- },
1854
- inputId: {
1855
- type: String
1856
- },
1857
- dir: {
1858
- type: String,
1859
- default: "auto"
1860
- },
1861
- selectOnTab: {
1862
- type: Boolean,
1863
- default: !1
1864
- },
1865
- selectOnKeyCodes: {
1866
- type: Array,
1867
- default: () => [13]
1868
- },
1869
- searchInputQuerySelector: {
1870
- type: String,
1871
- default: "[type=search]"
1872
- },
1873
- mapKeydown: {
1874
- type: Function,
1875
- default: (e, t) => e
1876
- },
1877
- appendToBody: {
1878
- type: Boolean,
1879
- default: !1
1880
- },
1881
- calculatePosition: {
1882
- type: Function,
1883
- default(e, t, { width: s, top: a, left: d }) {
1884
- e.style.top = a, e.style.left = d, e.style.width = s;
1885
- }
1886
- },
1887
- dropdownShouldOpen: {
1888
- type: Function,
1889
- default({ noDrop: e, open: t, mutableLoading: s }) {
1890
- return e ? !1 : t && !s;
1891
- }
1892
- },
1893
- uid: {
1894
- type: [String, Number],
1895
- default: () => za()
1896
- }
1897
- },
1898
- data() {
1899
- return {
1900
- search: "",
1901
- open: !1,
1902
- isComposing: !1,
1903
- pushedTags: [],
1904
- _value: [],
1905
- deselectButtons: []
1906
- };
1907
- },
1908
- computed: {
1909
- isReducingValues() {
1910
- return this.$props.reduce !== this.$options.props.reduce.default;
1911
- },
1912
- isTrackingValues() {
1913
- return typeof this.modelValue > "u" || this.isReducingValues;
1914
- },
1915
- selectedValue() {
1916
- let e = this.modelValue;
1917
- return this.isTrackingValues && (e = this.$data._value), e != null && e !== "" ? [].concat(e) : [];
1918
- },
1919
- optionList() {
1920
- return this.options.concat(this.pushTags ? this.pushedTags : []);
1921
- },
1922
- searchEl() {
1923
- return this.$slots.search ? this.$refs.selectedOptions.querySelector(this.searchInputQuerySelector) : this.$refs.search;
1924
- },
1925
- scope() {
1926
- const e = {
1927
- search: this.search,
1928
- loading: this.loading,
1929
- searching: this.searching,
1930
- filteredOptions: this.filteredOptions
1931
- };
1932
- return {
1933
- search: {
1934
- attributes: G({
1935
- disabled: this.disabled,
1936
- placeholder: this.searchPlaceholder,
1937
- tabindex: this.tabindex,
1938
- readonly: !this.searchable,
1939
- id: this.inputId,
1940
- "aria-autocomplete": "list",
1941
- "aria-labelledby": `vs${this.uid}__combobox`,
1942
- "aria-controls": `vs${this.uid}__listbox`,
1943
- ref: "search",
1944
- type: "search",
1945
- autocomplete: this.autocomplete,
1946
- value: this.search
1947
- }, this.dropdownOpen && this.filteredOptions[this.typeAheadPointer] ? {
1948
- "aria-activedescendant": `vs${this.uid}__option-${this.typeAheadPointer}`
1949
- } : {}),
1950
- events: {
1951
- compositionstart: () => this.isComposing = !0,
1952
- compositionend: () => this.isComposing = !1,
1953
- keydown: this.onSearchKeyDown,
1954
- blur: this.onSearchBlur,
1955
- focus: this.onSearchFocus,
1956
- input: (t) => this.search = t.target.value
1957
- }
1958
- },
1959
- spinner: {
1960
- loading: this.mutableLoading
1961
- },
1962
- noOptions: {
1963
- search: this.search,
1964
- loading: this.mutableLoading,
1965
- searching: this.searching
1966
- },
1967
- openIndicator: {
1968
- attributes: {
1969
- ref: "openIndicator",
1970
- role: "presentation",
1971
- class: "vs__open-indicator"
1972
- }
1973
- },
1974
- listHeader: e,
1975
- listFooter: e,
1976
- header: Le(G({}, e), { deselect: this.deselect }),
1977
- footer: Le(G({}, e), { deselect: this.deselect })
1978
- };
1979
- },
1980
- childComponents() {
1981
- return G(G({}, Se), this.components);
1982
- },
1983
- stateClasses() {
1984
- return {
1985
- "vs--open": this.dropdownOpen,
1986
- "vs--single": !this.multiple,
1987
- "vs--multiple": this.multiple,
1988
- "vs--searching": this.searching && !this.noDrop,
1989
- "vs--searchable": this.searchable && !this.noDrop,
1990
- "vs--unsearchable": !this.searchable,
1991
- "vs--loading": this.mutableLoading,
1992
- "vs--disabled": this.disabled
1993
- };
1994
- },
1995
- searching() {
1996
- return !!this.search;
1997
- },
1998
- dropdownOpen() {
1999
- return this.dropdownShouldOpen(this);
2000
- },
2001
- searchPlaceholder() {
2002
- return this.isValueEmpty && this.placeholder ? this.placeholder : void 0;
2003
- },
2004
- filteredOptions() {
2005
- const e = [].concat(this.optionList);
2006
- if (!this.filterable && !this.taggable)
2007
- return e;
2008
- const t = this.search.length ? this.filter(e, this.search, this) : e;
2009
- if (this.taggable && this.search.length) {
2010
- const s = this.createOption(this.search);
2011
- this.optionExists(s) || t.unshift(s);
2012
- }
2013
- return t;
2014
- },
2015
- isValueEmpty() {
2016
- return this.selectedValue.length === 0;
2017
- },
2018
- showClearButton() {
2019
- return !this.multiple && this.clearable && !this.open && !this.isValueEmpty;
2020
- }
2021
- },
2022
- watch: {
2023
- options(e, t) {
2024
- const s = () => typeof this.resetOnOptionsChange == "function" ? this.resetOnOptionsChange(e, t, this.selectedValue) : this.resetOnOptionsChange;
2025
- !this.taggable && s() && this.clearSelection(), this.modelValue && this.isTrackingValues && this.setInternalValueFromOptions(this.modelValue);
2026
- },
2027
- modelValue: {
2028
- immediate: !0,
2029
- handler(e) {
2030
- this.isTrackingValues && this.setInternalValueFromOptions(e);
2031
- }
2032
- },
2033
- multiple() {
2034
- this.clearSelection();
2035
- },
2036
- open(e) {
2037
- this.$emit(e ? "open" : "close");
2038
- }
2039
- },
2040
- created() {
2041
- this.mutableLoading = this.loading;
2042
- },
2043
- methods: {
2044
- setInternalValueFromOptions(e) {
2045
- Array.isArray(e) ? this.$data._value = e.map((t) => this.findOptionFromReducedValue(t)) : this.$data._value = this.findOptionFromReducedValue(e);
2046
- },
2047
- select(e) {
2048
- 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);
2049
- },
2050
- deselect(e) {
2051
- this.$emit("option:deselecting", e), this.updateValue(this.selectedValue.filter((t) => !this.optionComparator(t, e))), this.$emit("option:deselected", e);
2052
- },
2053
- clearSelection() {
2054
- this.updateValue(this.multiple ? [] : null);
2055
- },
2056
- onAfterSelect(e) {
2057
- this.closeOnSelect && (this.open = !this.open, this.searchEl.blur()), this.clearSearchOnSelect && (this.search = "");
2058
- },
2059
- updateValue(e) {
2060
- 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);
2061
- },
2062
- toggleDropdown(e) {
2063
- const t = e.target !== this.searchEl;
2064
- t && e.preventDefault();
2065
- const s = [
2066
- ...this.deselectButtons || [],
2067
- this.$refs.clearButton
2068
- ];
2069
- if (this.searchEl === void 0 || s.filter(Boolean).some((a) => a.contains(e.target) || a === e.target)) {
2070
- e.preventDefault();
2071
- return;
2072
- }
2073
- this.open && t ? this.searchEl.blur() : this.disabled || (this.open = !0, this.searchEl.focus());
2074
- },
2075
- isOptionSelected(e) {
2076
- return this.selectedValue.some((t) => this.optionComparator(t, e));
2077
- },
2078
- isOptionDeselectable(e) {
2079
- return this.isOptionSelected(e) && this.deselectFromDropdown;
2080
- },
2081
- optionComparator(e, t) {
2082
- return this.getOptionKey(e) === this.getOptionKey(t);
2083
- },
2084
- findOptionFromReducedValue(e) {
2085
- const t = (a) => JSON.stringify(this.reduce(a)) === JSON.stringify(e), s = [...this.options, ...this.pushedTags].filter(t);
2086
- return s.length === 1 ? s[0] : s.find((a) => this.optionComparator(a, this.$data._value)) || e;
2087
- },
2088
- closeSearchOptions() {
2089
- this.open = !1, this.$emit("search:blur");
2090
- },
2091
- maybeDeleteValue() {
2092
- if (!this.searchEl.value.length && this.selectedValue && this.selectedValue.length && this.clearable) {
2093
- let e = null;
2094
- this.multiple && (e = [
2095
- ...this.selectedValue.slice(0, this.selectedValue.length - 1)
2096
- ]), this.updateValue(e);
2097
- }
2098
- },
2099
- optionExists(e) {
2100
- return this.optionList.some((t) => this.optionComparator(t, e));
2101
- },
2102
- normalizeOptionForSlot(e) {
2103
- return typeof e == "object" ? e : { [this.label]: e };
2104
- },
2105
- pushTag(e) {
2106
- this.pushedTags.push(e);
2107
- },
2108
- onEscape() {
2109
- this.search.length ? this.search = "" : this.searchEl.blur();
2110
- },
2111
- onSearchBlur() {
2112
- if (this.mousedown && !this.searching)
2113
- this.mousedown = !1;
2114
- else {
2115
- const { clearSearchOnSelect: e, multiple: t } = this;
2116
- this.clearSearchOnBlur({ clearSearchOnSelect: e, multiple: t }) && (this.search = ""), this.closeSearchOptions();
2117
- return;
2118
- }
2119
- if (this.search.length === 0 && this.options.length === 0) {
2120
- this.closeSearchOptions();
2121
- return;
2122
- }
2123
- },
2124
- onSearchFocus() {
2125
- this.open = !0, this.$emit("search:focus");
2126
- },
2127
- onMousedown() {
2128
- this.mousedown = !0;
2129
- },
2130
- onMouseUp() {
2131
- this.mousedown = !1;
2132
- },
2133
- onSearchKeyDown(e) {
2134
- const t = (d) => (d.preventDefault(), !this.isComposing && this.typeAheadSelect()), s = {
2135
- 8: (d) => this.maybeDeleteValue(),
2136
- 9: (d) => this.onTab(),
2137
- 27: (d) => this.onEscape(),
2138
- 38: (d) => (d.preventDefault(), this.typeAheadUp()),
2139
- 40: (d) => (d.preventDefault(), this.typeAheadDown())
2140
- };
2141
- this.selectOnKeyCodes.forEach((d) => s[d] = t);
2142
- const a = this.mapKeydown(s, this);
2143
- if (typeof a[e.keyCode] == "function")
2144
- return a[e.keyCode](e);
2145
- }
2146
- }
2147
- }, Da = ["dir"], Aa = ["id", "aria-expanded", "aria-owns"], Va = {
2148
- ref: "selectedOptions",
2149
- class: "vs__selected-options"
2150
- }, Ia = ["disabled", "title", "aria-label", "onClick"], Ea = {
2151
- ref: "actions",
2152
- class: "vs__actions"
2153
- }, Ua = ["disabled"], Ba = { class: "vs__spinner" }, ja = ["id"], Ta = ["id", "aria-selected", "onMouseover", "onClick"], Fa = {
2154
- key: 0,
2155
- class: "vs__no-options"
2156
- }, qa = /* @__PURE__ */ W(" Sorry, no matching options. "), Ra = ["id"];
2157
- function Za(e, t, s, a, d, c) {
2158
- const p = Ee("append-to-body");
2159
- return o(), r("div", {
2160
- dir: s.dir,
2161
- class: se(["v-select", c.stateClasses])
2162
- }, [
2163
- z(e.$slots, "header", V(E(c.scope.header))),
2164
- n("div", {
2165
- id: `vs${s.uid}__combobox`,
2166
- ref: "toggle",
2167
- class: "vs__dropdown-toggle",
2168
- role: "combobox",
2169
- "aria-expanded": c.dropdownOpen.toString(),
2170
- "aria-owns": `vs${s.uid}__listbox`,
2171
- "aria-label": "Search for option",
2172
- onMousedown: t[1] || (t[1] = (l) => c.toggleDropdown(l))
2173
- }, [
2174
- n("div", Va, [
2175
- (o(!0), r(O, null, L(c.selectedValue, (l, u) => z(e.$slots, "selected-option-container", {
2176
- option: c.normalizeOptionForSlot(l),
2177
- deselect: c.deselect,
2178
- multiple: s.multiple,
2179
- disabled: s.disabled
2180
- }, () => [
2181
- (o(), r("span", {
2182
- key: s.getOptionKey(l),
2183
- class: "vs__selected"
2184
- }, [
2185
- z(e.$slots, "selected-option", V(E(c.normalizeOptionForSlot(l))), () => [
2186
- W(f(s.getOptionLabel(l)), 1)
2187
- ]),
2188
- s.multiple ? (o(), r("button", {
2189
- key: 0,
2190
- ref_for: !0,
2191
- ref: (i) => d.deselectButtons[u] = i,
2192
- disabled: s.disabled,
2193
- type: "button",
2194
- class: "vs__deselect",
2195
- title: `Deselect ${s.getOptionLabel(l)}`,
2196
- "aria-label": `Deselect ${s.getOptionLabel(l)}`,
2197
- onClick: (i) => c.deselect(l)
2198
- }, [
2199
- (o(), $(re(c.childComponents.Deselect)))
2200
- ], 8, Ia)) : g("", !0)
2201
- ]))
2202
- ])), 256)),
2203
- z(e.$slots, "search", V(E(c.scope.search)), () => [
2204
- n("input", ye({ class: "vs__search" }, c.scope.search.attributes, Ue(c.scope.search.events)), null, 16)
2205
- ])
2206
- ], 512),
2207
- n("div", Ea, [
2208
- ae(n("button", {
2209
- ref: "clearButton",
2210
- disabled: s.disabled,
2211
- type: "button",
2212
- class: "vs__clear",
2213
- title: "Clear Selected",
2214
- "aria-label": "Clear Selected",
2215
- onClick: t[0] || (t[0] = (...l) => c.clearSelection && c.clearSelection(...l))
2216
- }, [
2217
- (o(), $(re(c.childComponents.Deselect)))
2218
- ], 8, Ua), [
2219
- [we, c.showClearButton]
2220
- ]),
2221
- z(e.$slots, "open-indicator", V(E(c.scope.openIndicator)), () => [
2222
- s.noDrop ? g("", !0) : (o(), $(re(c.childComponents.OpenIndicator), V(ye({ key: 0 }, c.scope.openIndicator.attributes)), null, 16))
2223
- ]),
2224
- z(e.$slots, "spinner", V(E(c.scope.spinner)), () => [
2225
- ae(n("div", Ba, "Loading...", 512), [
2226
- [we, e.mutableLoading]
2227
- ])
2228
- ])
2229
- ], 512)
2230
- ], 40, Aa),
2231
- h(H, { name: s.transition }, {
2232
- default: x(() => [
2233
- c.dropdownOpen ? ae((o(), r("ul", {
2234
- id: `vs${s.uid}__listbox`,
2235
- ref: "dropdownMenu",
2236
- key: `vs${s.uid}__listbox`,
2237
- class: "vs__dropdown-menu",
2238
- role: "listbox",
2239
- tabindex: "-1",
2240
- onMousedown: t[2] || (t[2] = de((...l) => c.onMousedown && c.onMousedown(...l), ["prevent"])),
2241
- onMouseup: t[3] || (t[3] = (...l) => c.onMouseUp && c.onMouseUp(...l))
2242
- }, [
2243
- z(e.$slots, "list-header", V(E(c.scope.listHeader))),
2244
- (o(!0), r(O, null, L(c.filteredOptions, (l, u) => (o(), r("li", {
2245
- id: `vs${s.uid}__option-${u}`,
2246
- key: s.getOptionKey(l),
2247
- role: "option",
2248
- class: se(["vs__dropdown-option", {
2249
- "vs__dropdown-option--deselect": c.isOptionDeselectable(l) && u === e.typeAheadPointer,
2250
- "vs__dropdown-option--selected": c.isOptionSelected(l),
2251
- "vs__dropdown-option--highlight": u === e.typeAheadPointer,
2252
- "vs__dropdown-option--disabled": !s.selectable(l)
2253
- }]),
2254
- "aria-selected": u === e.typeAheadPointer ? !0 : null,
2255
- onMouseover: (i) => s.selectable(l) ? e.typeAheadPointer = u : null,
2256
- onClick: de((i) => s.selectable(l) ? c.select(l) : null, ["prevent", "stop"])
2257
- }, [
2258
- z(e.$slots, "option", V(E(c.normalizeOptionForSlot(l))), () => [
2259
- W(f(s.getOptionLabel(l)), 1)
2260
- ])
2261
- ], 42, Ta))), 128)),
2262
- c.filteredOptions.length === 0 ? (o(), r("li", Fa, [
2263
- z(e.$slots, "no-options", V(E(c.scope.noOptions)), () => [
2264
- qa
2265
- ])
2266
- ])) : g("", !0),
2267
- z(e.$slots, "list-footer", V(E(c.scope.listFooter)))
2268
- ], 40, ja)), [
2269
- [p]
2270
- ]) : (o(), r("ul", {
2271
- key: 1,
2272
- id: `vs${s.uid}__listbox`,
2273
- role: "listbox",
2274
- style: { display: "none", visibility: "hidden" }
2275
- }, null, 8, Ra))
2276
- ]),
2277
- _: 3
2278
- }, 8, ["name"]),
2279
- z(e.$slots, "footer", V(E(c.scope.footer)))
2280
- ], 10, Da);
2281
- }
2282
- const Ie = /* @__PURE__ */ ve(Ma, [["render", Za]]);
2283
- const Ha = { class: "w-100" }, Na = { class: "flex" }, Ka = { class: "mn-regular" }, Wa = { class: "flex-column flex-wrap block" }, Ya = {
2284
- key: 0,
2285
- class: "w-100"
2286
- }, Ja = { class: "w-100 flex-center flex-nowrap flex" }, Qa = { class: "mn-r-regular w-100" }, Xa = ["onClick"], Ga = {
2287
- key: 0,
2288
- class: "mn-t-small mn-small w-100"
2289
- }, Ai = {
2290
- __name: "EditArray",
2291
- props: {
2292
- name: Object,
2293
- items: Array
2294
- },
2295
- emits: ["add", "remove"],
2296
- setup(e, { emit: t }) {
2297
- q(), F();
2298
- let s = ie([]);
2299
- Be(s);
2300
- const a = v(null), d = v(null), c = v(null);
2301
- Z(() => {
2302
- if (a.value === null || c.value === null || c.value === "")
2303
- return !0;
2304
- if (a.value.modifications.length > 0)
2305
- return d.value === null;
2306
- });
2307
- function p(l) {
2308
- store.commit("leftovers/deleteItemFromLeftover", l);
2309
- }
2310
- return (l, u) => (o(), r("div", Ha, [
2311
- n("div", Na, [
2312
- n("h3", Ka, f(e.name), 1)
2313
- ]),
2314
- n("ul", Wa, [
2315
- e.items.length < 1 ? (o(), r("span", Ya, "Вы еще не добавили позиции")) : g("", !0),
2316
- (o(!0), r(O, null, L(e.items, (i, m) => (o(), r("li", {
2317
- key: i._id,
2318
- class: "w-100"
2319
- }, [
2320
- n("div", Ja, [
2321
- n("span", Qa, f(i.name), 1),
2322
- n("a", {
2323
- class: "w-20 button",
2324
- onClick: (w) => p(i)
2325
- }, "Удалить", 8, Xa)
2326
- ]),
2327
- m != e.items.length - 1 ? (o(), r("hr", Ga)) : g("", !0)
2328
- ]))), 128))
2329
- ])
2330
- ]));
2331
- }
2332
- };
2333
- const eo = { class: "br-grey radius-small mn-small" }, to = {
2334
- key: 1,
2335
- class: "pd-small br-grey br-1px br-solid"
2336
- }, so = ["disabled"], no = {
2337
- __name: "DepartmentMemberModify",
2338
- props: {
2339
- isPopupOpen: Boolean,
2340
- department: Number,
2341
- departments: Array,
2342
- maindepartment: Object,
2343
- alldepartments: Array
2344
- },
2345
- emits: ["callback", "remove"],
2346
- setup(e, { emit: t }) {
2347
- const s = e, a = v({
2348
- subdepartment: null
2349
- });
2350
- s.department !== null && (a.value = s.departments[s.department]);
2351
- function d(u, i, m) {
2352
- return u.filter((w) => !(i.some((P) => P._id === w._id) || m._id === w._id));
2353
- }
2354
- const c = Z(() => d(s.alldepartments, s.departments, s.maindepartment));
2355
- async function p() {
2356
- s.departments.push(a.value.subdepartment), t("callback");
2357
- }
2358
- async function l() {
2359
- s.departments.splice(s.department, 1), t("callback");
2360
- }
2361
- return (u, i) => (o(), r("div", null, [
2362
- n("div", eo, [
2363
- s.department === null ? (o(), $(k(Ie), {
2364
- key: 0,
2365
- modelValue: a.value.subdepartment,
2366
- "onUpdate:modelValue": i[0] || (i[0] = (m) => a.value.subdepartment = m),
2367
- options: k(c),
2368
- "get-option-label": (m) => m.name,
2369
- class: "w-100 mn-small"
2370
- }, null, 8, ["modelValue", "options", "get-option-label"])) : (o(), r("div", to, f(a.value.name ? a.value.name : "Безымянный"), 1))
2371
- ]),
2372
- s.department === null ? (o(), r("button", {
2373
- key: 0,
2374
- disabled: !a.value.subdepartment,
2375
- onClick: p,
2376
- class: "w-100 button bg-second t-white"
2377
- }, " Добавить отдел ", 8, so)) : g("", !0),
2378
- s.department !== null ? (o(), r("button", {
2379
- key: 1,
2380
- onClick: l,
2381
- class: "w-100 button bg-fourth t-white"
2382
- }, " Удалить отдел ")) : g("", !0)
2383
- ]));
2384
- }
2385
- }, Vi = /* @__PURE__ */ A(no, [["__scopeId", "data-v-21f393e1"]]);
2386
- const ao = { class: "br-grey radius-small mn-small" }, oo = {
2387
- key: 1,
2388
- class: "pd-small br-grey br-1px br-solid"
2389
- }, io = ["disabled"], lo = {
2390
- __name: "DepartmentSubDepartmentModify",
2391
- props: {
2392
- isPopupOpen: Boolean,
2393
- department: Number,
2394
- departments: Array,
2395
- maindepartment: Object,
2396
- alldepartments: Array
2397
- },
2398
- emits: ["callback", "remove"],
2399
- setup(e, { emit: t }) {
2400
- const s = e, a = v({
2401
- subdepartment: null
2402
- });
2403
- s.department !== null && (a.value = s.departments[s.department]);
2404
- function d(u, i, m) {
2405
- return u.filter((w) => !(i.some((P) => P._id === w._id) || m._id === w._id));
2406
- }
2407
- const c = Z(() => d(s.alldepartments, s.departments, s.maindepartment));
2408
- async function p() {
2409
- s.departments.push(a.value.subdepartment), t("callback");
2410
- }
2411
- async function l() {
2412
- s.departments.splice(s.department, 1), t("callback");
2413
- }
2414
- return (u, i) => (o(), r("div", null, [
2415
- n("div", ao, [
2416
- s.department === null ? (o(), $(k(Ie), {
2417
- key: 0,
2418
- modelValue: a.value.subdepartment,
2419
- "onUpdate:modelValue": i[0] || (i[0] = (m) => a.value.subdepartment = m),
2420
- options: k(c),
2421
- "get-option-label": (m) => m.name,
2422
- class: "w-100 mn-small"
2423
- }, null, 8, ["modelValue", "options", "get-option-label"])) : (o(), r("div", oo, f(a.value.name ? a.value.name : "Безымянный"), 1))
2424
- ]),
2425
- s.department === null ? (o(), r("button", {
2426
- key: 0,
2427
- disabled: !a.value.subdepartment,
2428
- onClick: p,
2429
- class: "w-100 button bg-second t-white"
2430
- }, " Добавить отдел ", 8, io)) : g("", !0),
2431
- s.department !== null ? (o(), r("button", {
2432
- key: 1,
2433
- onClick: l,
2434
- class: "w-100 button bg-fourth t-white"
2435
- }, " Удалить отдел ")) : g("", !0)
2436
- ]));
2437
- }
2438
- }, Ii = /* @__PURE__ */ A(lo, [["__scopeId", "data-v-d3c6f191"]]);
2439
- const ne = (e) => (he("data-v-195322bd"), e = e(), _e(), e), ro = { class: "for-transition w-100" }, co = { class: "pd-b-zero pd-t-zero pd-thin" }, uo = { class: "pd-thin" }, po = { class: "flex-nowrap flex bg-grey pd-medium radius-big" }, mo = {
2440
- key: 0,
2441
- class: "mn-r-auto"
2442
- }, ho = {
2443
- key: 1,
2444
- class: "mn-r-auto"
2445
- }, _o = { class: "flex-nowrap flex pd-thin" }, fo = { class: "pd-b-zero pd-t-zero pd-thin cols-2 gap-thin" }, go = { class: "flex-stretch flex-column flex" }, bo = { class: "mn-thin bg-grey pd-medium o-hidden radius-big" }, vo = /* @__PURE__ */ ne(() => /* @__PURE__ */ n("h3", { class: "mn-semi" }, "Profile", -1)), yo = { class: "radius-small flex-nowrap flex" }, wo = { class: "w-100 flex-child-grow-1 flex-child" }, $o = { class: "bg-grey pd-medium o-hidden radius-big" }, Co = /* @__PURE__ */ ne(() => /* @__PURE__ */ n("h3", { class: "mn-semi" }, "Details", -1)), ko = /* @__PURE__ */ ne(() => /* @__PURE__ */ n("p", { class: "p-medium mn-small" }, "Please the available delivery options:", -1)), xo = { class: "mn-medium flex-nowrap flex" }, Oo = /* @__PURE__ */ ne(() => /* @__PURE__ */ n("p", { class: "p-medium mn-small" }, "Please select the available payment methods:", -1)), Lo = { class: "flex-nowrap flex" }, So = { class: "bg-grey pd-medium o-hidden radius-big" }, Po = /* @__PURE__ */ ne(() => /* @__PURE__ */ n("h3", { class: "mn-semi" }, "Location", -1)), zo = /* @__PURE__ */ ne(() => /* @__PURE__ */ n("p", { class: "mn-small p-medium" }, "Or choose on map:", -1)), Mo = { class: "flex-nowrap flex pd-thin" }, Do = {
2446
- __name: "DepartmentEdit",
2447
- setup(e) {
2448
- const t = q(), s = F();
2449
- v("details"), v(!1);
2450
- async function a() {
2451
- s.params.department && await be.read(s.params.department), v(Ze.memberships), await K.read(s.params._id), s.params.department && await K.readOne(s.params.department);
2452
- }
2453
- a(), v(_.department.members), v(!1), v(null), v(!1), v(null);
2454
- async function d() {
2455
- s.params.department && await K.update(
2456
- s.params._id,
2457
- _.department
2458
- ), s.params.department || await K.create(
2459
- s.params._id,
2460
- _.department
2461
- );
2462
- }
2463
- function c() {
2464
- t.replace({ name: "Department", params: { _id: s.params._id, department: _.department._id } });
2465
- }
2466
- async function p() {
2467
- await K.delete(
2468
- s.params._id,
2469
- _.department
2470
- );
2471
- }
2472
- return (l, u) => (o(), r("div", ro, [
2473
- n("div", co, [
2474
- h(rt, { class: "pd-medium bg-grey radius-big" })
2475
- ]),
2476
- n("div", uo, [
2477
- n("header", po, [
2478
- k(s).params.department ? (o(), r("h1", mo, "Edit Spot")) : (o(), r("h1", ho, "Create Spot")),
2479
- n("section", _o, [
2480
- h(ue, {
2481
- submit: d,
2482
- callback: c
2483
- }, {
2484
- default: x(() => [
2485
- W("Save Spot")
2486
- ]),
2487
- _: 1
2488
- })
2489
- ])
2490
- ])
2491
- ]),
2492
- n("div", fo, [
2493
- n("div", go, [
2494
- n("div", bo, [
2495
- vo,
2496
- n("div", yo, [
2497
- h(Me, {
2498
- photo: _.department.profile.photo,
2499
- "onUpdate:photo": u[0] || (u[0] = (i) => _.department.profile.photo = i),
2500
- uploadPath: "organizations/" + _.department.name + "/avatars",
2501
- class: "w-8r aspect-1x1 o-hidden mn-r-small radius-extra"
2502
- }, null, 8, ["photo", "uploadPath"]),
2503
- n("div", wo, [
2504
- h(D, {
2505
- field: _.department.profile.name,
2506
- "onUpdate:field": u[1] || (u[1] = (i) => _.department.profile.name = i),
2507
- label: "Name",
2508
- placeholder: "Spot Name",
2509
- class: "mn-small bg-white radius-small pd-medium",
2510
- validation: l.organizationName
2511
- }, null, 8, ["field", "validation"]),
2512
- h(D, {
2513
- field: _.department.profile.description,
2514
- "onUpdate:field": u[2] || (u[2] = (i) => _.department.profile.description = i),
2515
- label: "Description",
2516
- placeholder: "Spot description (max 120 symbols)",
2517
- class: "bg-white radius-small pd-medium",
2518
- validation: l.organizationName
2519
- }, null, 8, ["field", "validation"])
2520
- ])
2521
- ])
2522
- ]),
2523
- n("div", $o, [
2524
- Co,
2525
- ko,
2526
- n("div", xo, [
2527
- h(J, {
2528
- label: "Pickup",
2529
- name: "Delivery",
2530
- value: "pickup",
2531
- class: "w-100 mn-r-small bg-white radius-small pd-small",
2532
- radio: _.department.delivery
2533
- }, null, 8, ["radio"]),
2534
- h(J, {
2535
- label: "Delivery",
2536
- name: "Delivery",
2537
- value: "courier",
2538
- class: "w-100 mn-r-small bg-white radius-small pd-small",
2539
- radio: _.department.delivery
2540
- }, null, 8, ["radio"]),
2541
- h(J, {
2542
- label: "Post",
2543
- name: "Delivery",
2544
- value: "post",
2545
- class: "w-100 bg-white radius-small pd-small",
2546
- radio: _.department.delivery
2547
- }, null, 8, ["radio"])
2548
- ]),
2549
- Oo,
2550
- n("div", Lo, [
2551
- h(J, {
2552
- label: "Cash",
2553
- name: "Payment",
2554
- value: "cash",
2555
- class: "w-100 mn-r-small bg-white radius-small pd-small",
2556
- radio: _.department.payment
2557
- }, null, 8, ["radio"]),
2558
- h(J, {
2559
- label: "Bank Transfer",
2560
- name: "Payment",
2561
- value: "bank",
2562
- class: "w-100 mn-r-small bg-white radius-small pd-small",
2563
- radio: _.department.payment
2564
- }, null, 8, ["radio"]),
2565
- h(J, {
2566
- label: "Crypto",
2567
- name: "Payment",
2568
- value: "crypto",
2569
- class: "w-100 bg-white radius-small pd-small",
2570
- radio: _.department.payment
2571
- }, null, 8, ["radio"])
2572
- ])
2573
- ])
2574
- ]),
2575
- n("div", So, [
2576
- Po,
2577
- h(ea, {
2578
- apiKey: "AIzaSyDDR6WgYB7XMt7yTDDzQNEdF_gTdUiq8dI",
2579
- address: _.department.address,
2580
- location: _.department.location,
2581
- label: "Address",
2582
- placeholder: "Enter delivery address",
2583
- class: "bg-white radius-small pd-small mn-small",
2584
- "onUpdate:location": u[3] || (u[3] = (i) => {
2585
- _.department.location = i;
2586
- }),
2587
- "onUpdate:address": u[4] || (u[4] = (i) => {
2588
- _.department.address = i;
2589
- })
2590
- }, null, 8, ["address", "location"]),
2591
- zo,
2592
- h(ia, {
2593
- address: _.department.address,
2594
- location: _.department.location,
2595
- apiKey: "AIzaSyDDR6WgYB7XMt7yTDDzQNEdF_gTdUiq8dI",
2596
- class: "radius-big o-hidden",
2597
- "onUpdate:location": u[5] || (u[5] = (i) => {
2598
- _.department.location = i;
2599
- }),
2600
- "onUpdate:address": u[6] || (u[6] = (i) => {
2601
- _.department.address = i;
2602
- })
2603
- }, null, 8, ["address", "location"])
2604
- ])
2605
- ]),
2606
- n("section", Mo, [
2607
- h(ue, {
2608
- submit: p,
2609
- callback: l.redirectToDash,
2610
- class: "bg-grey"
2611
- }, {
2612
- default: x(() => [
2613
- W("Delete Spot")
2614
- ]),
2615
- _: 1
2616
- }, 8, ["callback"])
2617
- ])
2618
- ]));
2619
- }
2620
- }, Ao = /* @__PURE__ */ A(Do, [["__scopeId", "data-v-195322bd"]]), Pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2621
- __proto__: null,
2622
- default: Ao
2623
- }, Symbol.toStringTag, { value: "Module" })), Vo = { class: "unit" }, Io = { class: "unit-details" }, Eo = { key: 0 }, Uo = { class: "subunits" }, Ei = {
2624
- __name: "Unit",
2625
- props: {
2626
- unit: {
2627
- type: Object,
2628
- required: !0
2629
- },
2630
- editMode: {
2631
- type: Boolean,
2632
- required: !0
2633
- }
2634
- },
2635
- setup(e) {
2636
- const t = e, s = v({ ...t.unit });
2637
- T(t.unit, () => {
2638
- s.value = { ...t.unit };
2639
- });
2640
- async function a() {
2641
- emit("unit-updated", s.value);
2642
- }
2643
- async function d() {
2644
- emit("subunit-added", t.unit._id);
2645
- }
2646
- return (c, p) => {
2647
- const l = pe("unit-component");
2648
- return o(), r("div", Vo, [
2649
- n("div", Io, [
2650
- n("h3", null, f(e.unit.name), 1),
2651
- n("p", null, f(e.unit.description), 1),
2652
- e.editMode ? (o(), r("div", Eo, [
2653
- ae(n("input", {
2654
- "onUpdate:modelValue": p[0] || (p[0] = (u) => s.value.name = u),
2655
- placeholder: "Название отдела"
2656
- }, null, 512), [
2657
- [$e, s.value.name]
2658
- ]),
2659
- ae(n("input", {
2660
- "onUpdate:modelValue": p[1] || (p[1] = (u) => s.value.description = u),
2661
- placeholder: "Описание отдела"
2662
- }, null, 512), [
2663
- [$e, s.value.description]
2664
- ]),
2665
- n("button", { onClick: a }, "Сохранить"),
2666
- n("button", { onClick: d }, "Добавить подотдел")
2667
- ])) : g("", !0)
2668
- ]),
2669
- n("div", Uo, [
2670
- (o(!0), r(O, null, L(e.unit.subunits, (u, i) => (o(), $(l, {
2671
- key: i,
2672
- unit: u,
2673
- "edit-mode": e.editMode
2674
- }, null, 8, ["unit", "edit-mode"]))), 128))
2675
- ])
2676
- ]);
2677
- };
2678
- }
2679
- };
2680
- const Bo = { class: "br-grey radius-small mn-small" }, jo = {
2681
- __name: "Places",
2682
- props: {
2683
- isPopupOpen: Boolean,
2684
- place: Number,
2685
- places: Array
2686
- },
2687
- emits: ["callback"],
2688
- setup(e, { emit: t }) {
2689
- const s = e, a = v({
2690
- logo: "",
2691
- name: "",
2692
- address: ""
2693
- });
2694
- s.place !== null && (a.value = s.places[s.place]);
2695
- const d = v(null);
2696
- async function c() {
2697
- try {
2698
- await Xe(
2699
- d,
2700
- Ge,
2701
- a.value.name,
2702
- "Некорректное название"
2703
- );
2704
- } catch {
2705
- throw new Error();
2706
- }
2707
- s.place !== null ? (s.places[s.place] = a.value, t("callback")) : (s.places.push(a.value), t("callback"));
2708
- }
2709
- return (p, l) => (o(), r("div", null, [
2710
- n("div", Bo, [
2711
- h(De, {
2712
- options: [
2713
- { name: "Кафе", value: "cafe" },
2714
- { name: "Бар", value: "bar" },
2715
- { name: "Ресторан", value: "restaraunt" },
2716
- { name: "Пиццерия", value: "pizzeria" },
2717
- { name: "Ночной клуб", value: "night-club" },
2718
- { name: "Шаверма", value: "shaverma" },
2719
- { name: "Кофейня", value: "coffee" }
2720
- ],
2721
- prop: a.value,
2722
- content: "type",
2723
- label: "Тип",
2724
- placeholder: "Тип заведения",
2725
- size: "small"
2726
- }, null, 8, ["prop"]),
2727
- h(D, {
2728
- field: a.value.name,
2729
- "onUpdate:field": l[0] || (l[0] = (u) => a.value.name = u),
2730
- label: "Название",
2731
- validation: d.value,
2732
- placeholder: "Введите название места"
2733
- }, null, 8, ["field", "validation"]),
2734
- h(D, {
2735
- field: a.value.address,
2736
- "onUpdate:field": l[1] || (l[1] = (u) => a.value.address = u),
2737
- label: "Адрес",
2738
- validation: d.value,
2739
- placeholder: "Введите адрес места"
2740
- }, null, 8, ["field", "validation"]),
2741
- h(D, {
2742
- field: a.value.phone,
2743
- "onUpdate:field": l[2] || (l[2] = (u) => a.value.phone = u),
2744
- label: "Телефон",
2745
- validation: d.value,
2746
- placeholder: "Введите телефон места"
2747
- }, null, 8, ["field", "validation"])
2748
- ]),
2749
- n("button", {
2750
- onClick: c,
2751
- class: "w-100 button bg-second t-white"
2752
- }, f(s.place !== null ? "Редактировать заведение" : "Добавить заведение"), 1)
2753
- ]));
2754
- }
2755
- }, Ui = /* @__PURE__ */ A(jo, [["__scopeId", "data-v-de5143c5"]]);
2756
- const To = (e) => (he("data-v-20739d92"), e = e(), _e(), e), Fo = { class: "documents" }, qo = /* @__PURE__ */ To(() => /* @__PURE__ */ n("h3", { class: "mn-small" }, "Список документов", -1)), Ro = { class: "mn-big cols-4" }, Zo = ["onClick"], Ho = { class: "mn-small" }, No = { class: "t-semi t-transp radius-small" }, Ko = {
2757
- __name: "Documents",
2758
- setup(e) {
2759
- q(), F();
2760
- let t = [{
2761
- name: "Паспорт",
2762
- status: "Не добавлен",
2763
- inputs: [{
2764
- type: "text",
2765
- name: "Номер и серия"
2766
- }, {
2767
- type: "text",
2768
- name: "Место выдачи"
2769
- }, {
2770
- type: "text",
2771
- name: "Дата выдачи"
2772
- }]
2773
- }, {
2774
- name: "ИНН",
2775
- status: "Не добавлен",
2776
- inputs: [{
2777
- type: "text",
2778
- name: "Дата регистрации"
2779
- }]
2780
- }, {
2781
- name: "СНИЛС",
2782
- status: "Не добавлен",
2783
- inputs: [{
2784
- type: "text",
2785
- name: "Дата регистрации"
2786
- }]
2787
- }, {
2788
- name: "Военный билет",
2789
- status: "Не добавлен",
2790
- inputs: [{
2791
- type: "text",
2792
- name: "Дата регистрации"
2793
- }]
2794
- }];
2795
- const s = v(!1), a = v(null), d = (l) => {
2796
- a.value = l, s.value = !0;
2797
- }, c = () => {
2798
- s.value = !1;
2799
- }, p = () => {
2800
- c();
2801
- };
2802
- return ce(() => {
2803
- }), (l, u) => {
2804
- const i = pe("Popup");
2805
- return o(), r("div", Fo, [
2806
- qo,
2807
- n("div", Ro, [
2808
- (o(!0), r(O, null, L(k(t), (m, w) => (o(), r("div", {
2809
- key: w,
2810
- onClick: (P) => d(w),
2811
- class: "h-100 pd-medium bg-white radius-small"
2812
- }, [
2813
- n("h3", Ho, f(m.name), 1),
2814
- n("p", No, f(m.status), 1)
2815
- ], 8, Zo))), 128))
2816
- ]),
2817
- h(i, {
2818
- title: "Добавить документ",
2819
- onClosePopup: c,
2820
- isPopupOpen: s.value
2821
- }, {
2822
- default: x(() => [
2823
- (o(!0), r(O, null, L(k(t)[a.value].inputs, (m) => (o(), r("div", {
2824
- key: m.name
2825
- }, [
2826
- h(D, {
2827
- field: m.value,
2828
- "onUpdate:field": (w) => m.value = w,
2829
- label: m.name,
2830
- _id: m.name,
2831
- placeholder: m.name,
2832
- class: "w-100"
2833
- }, null, 8, ["field", "onUpdate:field", "label", "_id", "placeholder"])
2834
- ]))), 128)),
2835
- n("button", {
2836
- onClick: p,
2837
- class: "w-100 mn-small button"
2838
- }, "Отправить на верификацию")
2839
- ]),
2840
- _: 1
2841
- }, 8, ["isPopupOpen"])
2842
- ]);
2843
- };
2844
- }
2845
- }, Bi = /* @__PURE__ */ A(Ko, [["__scopeId", "data-v-20739d92"]]);
2846
- const Wo = { class: "for-transition bg-white radius-big w-100" }, Yo = { class: "" }, Jo = {
2847
- key: 1,
2848
- class: "cols-1"
2849
- }, ji = {
2850
- __name: "Organizations",
2851
- props: {
2852
- owner: {
2853
- type: String,
2854
- default: null
2855
- },
2856
- user: {
2857
- type: [String, Number],
2858
- default: null
2859
- },
2860
- onlyuser: {
2861
- type: [String, Number],
2862
- default: null
2863
- }
2864
- },
2865
- async setup(e) {
2866
- let t, s;
2867
- const a = e, d = v(null);
2868
- d.value = ([t, s] = Y(() => R.read({ owner: a.owner, user: a.user, onlyuser: a.onlyuser })), t = await t, s(), t);
2869
- const c = q(), p = F();
2870
- let l = p.query.tab ? p.query.tab : "details";
2871
- const u = v(l);
2872
- return p.query.tab = u.value, T(u, (i) => {
2873
- c.replace({ query: { ...p.query, tab: i } });
2874
- }), (i, m) => (o(), r("div", Wo, [
2875
- n("div", Yo, [
2876
- d.value < 1 ? (o(), $(ge, {
2877
- key: 0,
2878
- title: "You Haven't Joined Any Organization Yet",
2879
- description: "Weeder is all about community. Join an organization or maybe you want to create your own?",
2880
- action: "Create organization",
2881
- callback: i.a = () => i.$router.push("/app/organization/create/details")
2882
- }, null, 8, ["callback"])) : (o(), r("div", Jo, [
2883
- (o(!0), r(O, null, L(d.value, (w) => (o(), $(Ye, {
2884
- key: w._id,
2885
- organization: w,
2886
- user: S.user,
2887
- onUpdateMembership: i.handleMembershipUpdate,
2888
- class: se(["w-100", { "mn-r-small": i.index !== d.value.length - 1 }])
2889
- }, null, 8, ["organization", "user", "onUpdateMembership", "class"]))), 128))
2890
- ]))
2891
- ])
2892
- ]));
2893
- }
2894
- }, Qo = {};
2895
- function Xo(e, t) {
2896
- const s = pe("router-view");
2897
- return o(), $(s, null, {
2898
- default: x(({ Component: a, route: d }) => [
2899
- (o(), $(re(a)))
2900
- ]),
2901
- _: 1
2902
- });
2903
- }
2904
- const Go = /* @__PURE__ */ A(Qo, [["render", Xo]]), Ti = [{
2905
- path: "organizations",
2906
- component: Go,
2907
- meta: {
2908
- title: {
2909
- en: "Organizations",
2910
- ru: "Организации"
2911
- }
2912
- },
2913
- children: [{
2914
- path: ":_id",
2915
- name: "Organization",
2916
- meta: {
2917
- title: {
2918
- en: "Organization",
2919
- ru: "Организация"
2920
- }
2921
- },
2922
- component: () => Promise.resolve().then(() => Ns)
2923
- }, {
2924
- path: "create",
2925
- name: "Create Organization",
2926
- title: {
2927
- en: "Create Organization",
2928
- ru: "Создать Организацию"
2929
- },
2930
- beforeEnter: [
2931
- Q
2932
- ],
2933
- component: () => Promise.resolve().then(() => ke)
2934
- }, {
2935
- path: ":_id/edit",
2936
- name: "Organization Edit",
2937
- meta: {
2938
- title: {
2939
- en: "Edit Organization",
2940
- ru: "Редактировать Организацию"
2941
- }
2942
- },
2943
- beforeEnter: [
2944
- Q
2945
- ],
2946
- component: () => Promise.resolve().then(() => ke)
2947
- }, {
2948
- path: ":_id/departments/create",
2949
- name: "Department Creation",
2950
- meta: {
2951
- title: "Создание отдела"
2952
- },
2953
- beforeEnter: [
2954
- Q
2955
- ],
2956
- component: () => Promise.resolve().then(() => Pe)
2957
- }, {
2958
- path: ":_id/departments/:deparment",
2959
- name: "Department",
2960
- meta: {
2961
- title: "Отдел"
2962
- },
2963
- beforeEnter: [
2964
- Q
2965
- ],
2966
- component: () => Promise.resolve().then(() => dn)
2967
- }, {
2968
- path: ":_id/departments/:department/edit",
2969
- name: "Department Edit",
2970
- meta: {
2971
- title: "Редактирование отдела"
2972
- },
2973
- beforeEnter: [
2974
- Q
2975
- ],
2976
- component: () => Promise.resolve().then(() => Pe)
2977
- }, {
2978
- path: ":_id/products/:product",
2979
- name: "Product Organization",
2980
- meta: {
2981
- title: {
2982
- en: "Product",
2983
- ru: "Продукт"
2984
- }
2985
- },
2986
- component: () => import(
2987
- /* webpackChunkName: 'Product' */
2988
- "./Product-748ec8b7.mjs"
2989
- )
2990
- }, {
2991
- path: ":_id/products/:product/edit",
2992
- name: "ProductEdit",
2993
- beforeEnter: [
2994
- Q
2995
- ],
2996
- component: () => import(
2997
- /* webpackChunkName: 'ProductPageEdit' */
2998
- "./ProductEdit-17f4e395.mjs"
2999
- )
3000
- }, {
3001
- path: ":_id/products/add",
3002
- name: "AddProduct",
3003
- component: () => import(
3004
- /* webpackChunkName: 'ProductPageEdit' */
3005
- "./ProductEdit-17f4e395.mjs"
3006
- )
3007
- }]
3008
- }];
3009
- export {
3010
- Ti as A,
3011
- Ao as D,
3012
- Ui as P,
3013
- Ve as U,
3014
- rt as _,
3015
- Li as a,
3016
- Oi as b,
3017
- B as c,
3018
- Hs as d,
3019
- rn as e,
3020
- Mi as f,
3021
- Vn as g,
3022
- Di as h,
3023
- Ai as i,
3024
- Ei as j,
3025
- Ae as k,
3026
- Vi as l,
3027
- Ii as m,
3028
- ge as n,
3029
- ki as o,
3030
- xi as p,
3031
- Os as q,
3032
- Si as r,
3033
- y as s,
3034
- Vt as t,
3035
- zi as u,
3036
- Bi as v,
3037
- Fs as w,
3038
- fs as x,
3039
- ji as y,
3040
- Pi as z
3041
- };