@ozdao/prometheus-framework 0.1.98 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (311) hide show
  1. package/dist/main.css +1 -1
  2. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
  3. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +2 -49
  4. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
  5. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +49 -2
  6. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.cjs +1 -1
  7. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.js +5 -5
  8. package/dist/prometheus-framework/src/components/EmptyState/EmptyState.vue.cjs +1 -1
  9. package/dist/prometheus-framework/src/components/EmptyState/EmptyState.vue.js +1 -1
  10. package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
  11. package/dist/prometheus-framework/src/components/Field/Field.vue2.js +2 -2
  12. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +1 -1
  13. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +10 -10
  14. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  15. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +72 -2
  16. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
  17. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +2 -72
  18. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
  19. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +12 -12
  20. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  21. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +15 -15
  22. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  23. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +8 -8
  24. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
  25. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +14 -14
  26. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  27. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +14 -14
  28. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  29. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +9 -9
  30. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue.cjs +1 -1
  31. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue.js +4 -4
  32. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  33. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  34. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  35. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +8 -8
  36. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  37. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  38. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  39. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +10 -10
  40. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  41. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +6 -6
  42. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
  43. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +9 -9
  44. package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.cjs +1 -1
  45. package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.js +8 -8
  46. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs +1 -1
  47. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js +3 -3
  48. package/dist/prometheus-framework/src/modules/community/components/sections/SubscribeNewsletter.vue.cjs +1 -1
  49. package/dist/prometheus-framework/src/modules/community/components/sections/SubscribeNewsletter.vue.js +3 -3
  50. package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.cjs +1 -1
  51. package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.js +2 -2
  52. package/dist/prometheus-framework/src/modules/constructor/components/elements/Bullets.vue.cjs +1 -1
  53. package/dist/prometheus-framework/src/modules/constructor/components/elements/Bullets.vue.js +4 -4
  54. package/dist/prometheus-framework/src/modules/constructor/components/elements/Caption.vue.cjs +1 -1
  55. package/dist/prometheus-framework/src/modules/constructor/components/elements/Caption.vue.js +1 -1
  56. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
  57. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +2 -2
  58. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.cjs +1 -1
  59. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.js +5 -5
  60. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.cjs +1 -1
  61. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.js +20 -11
  62. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
  63. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +1 -1
  64. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -4
  65. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +2 -62
  66. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +4 -1
  67. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +62 -2
  68. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  69. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +13 -13
  70. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  71. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +11 -11
  72. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
  73. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
  74. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  75. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +20 -20
  76. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -1
  77. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +6 -6
  78. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  79. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +2 -2
  80. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
  81. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +7 -7
  82. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
  83. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +4 -4
  84. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  85. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +10 -10
  86. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  87. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +13 -13
  88. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  89. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
  90. package/dist/prometheus-framework/src/modules/globals/components/sections/Feed.vue.cjs +1 -1
  91. package/dist/prometheus-framework/src/modules/globals/components/sections/Feed.vue.js +4 -4
  92. package/dist/prometheus-framework/src/modules/icons/navigation/IconLike.vue.cjs +1 -1
  93. package/dist/prometheus-framework/src/modules/icons/navigation/IconLike.vue.js +7 -7
  94. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
  95. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +3 -3
  96. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  97. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +6 -6
  98. package/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.cjs +1 -1
  99. package/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.js +2 -2
  100. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +1 -1
  101. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.js +1 -1
  102. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
  103. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +8 -8
  104. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  105. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +3 -3
  106. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs +1 -1
  107. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js +1 -1
  108. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  109. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +8 -8
  110. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.cjs +1 -1
  111. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.js +4 -4
  112. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EmptyState.vue.cjs +1 -1
  113. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EmptyState.vue.js +1 -1
  114. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.cjs +1 -1
  115. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.js +1 -1
  116. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
  117. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +7 -7
  118. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  119. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +6 -6
  120. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  121. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +2 -2
  122. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  123. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +14 -14
  124. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  125. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +7 -7
  126. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  127. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +6 -6
  128. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  129. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +15 -15
  130. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
  131. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +8 -8
  132. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.cjs +1 -1
  133. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.js +5 -5
  134. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  135. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +5 -5
  136. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.cjs +1 -1
  137. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.js +7 -7
  138. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  139. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
  140. package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.js +2 -2
  141. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
  142. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +4 -4
  143. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  144. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +5 -5
  145. package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs +1 -1
  146. package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js +2 -2
  147. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  148. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +5 -5
  149. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  150. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +8 -8
  151. package/dist/prometheus-framework/src/modules/spots/components/sections/Feed.vue.cjs +1 -1
  152. package/dist/prometheus-framework/src/modules/spots/components/sections/Feed.vue.js +5 -5
  153. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  154. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +8 -8
  155. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  156. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +6 -6
  157. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  158. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +18 -18
  159. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
  160. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +5 -5
  161. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileOrganizations.vue.cjs +1 -1
  162. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileOrganizations.vue.js +9 -9
  163. package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.cjs +1 -1
  164. package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.js +1 -1
  165. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
  166. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +8 -8
  167. package/dist/prometheus-framework.cjs.js +1 -1
  168. package/dist/prometheus-framework.es.js +2 -2
  169. package/dist/style.css +1 -1
  170. package/package.json +1 -1
  171. package/src/components/EditImages/EditImages.vue +3 -3
  172. package/src/components/EmptyState/EmptyState.vue +2 -2
  173. package/src/components/Field/Field.svlt +1 -1
  174. package/src/components/Field/Field.vue +1 -1
  175. package/src/components/FieldTags/BlockTags.vue +4 -4
  176. package/src/components/Footer/Footer.vue +8 -8
  177. package/src/components/LocationSelection/LocationSelection.vue +4 -4
  178. package/src/components/Search/Search.vue +3 -3
  179. package/src/configurator/components/layouts/layoutConfigurator.vue +2 -2
  180. package/src/configurator/components/pages/Styles.vue +3 -3
  181. package/src/modules/auth/components/pages/EnterCode.vue +4 -4
  182. package/src/modules/auth/components/pages/EnterPassword.vue +9 -9
  183. package/src/modules/auth/components/pages/Invite.vue +6 -6
  184. package/src/modules/auth/components/pages/ResetPassword.vue +10 -10
  185. package/src/modules/auth/components/pages/SignIn.vue +11 -11
  186. package/src/modules/auth/components/pages/SignUp.vue +11 -11
  187. package/src/modules/auth/components/sections/SliderFeatures.vue +2 -2
  188. package/src/modules/backoffice/components/admin/Categories.vue +2 -2
  189. package/src/modules/backoffice/components/admin/CategoryEdit.vue +2 -2
  190. package/src/modules/backoffice/components/admin/Dashboard.vue +1 -1
  191. package/src/modules/backoffice/components/admin/FastOrders.vue +3 -3
  192. package/src/modules/backoffice/components/admin/PageEdit.vue +3 -3
  193. package/src/modules/backoffice/components/admin/Pages.vue +1 -1
  194. package/src/modules/backoffice/components/admin/ProductEdit.vue +1 -1
  195. package/src/modules/backoffice/components/admin/User.vue +6 -6
  196. package/src/modules/backoffice/components/admin/Users.vue +4 -4
  197. package/src/modules/backoffice/components/layouts/Backoffice.vue +1 -1
  198. package/src/modules/backoffice/components/pages/Dashboard.vue +1 -1
  199. package/src/modules/community/components/blocks/CardBlogpost.vue +5 -5
  200. package/src/modules/community/components/layouts/Community.vue +2 -2
  201. package/src/modules/community/components/pages/BlogPost.vue +4 -4
  202. package/src/modules/community/components/pages/Community.vue +2 -2
  203. package/src/modules/community/components/pages/CreateBlogPost.vue +5 -5
  204. package/src/modules/community/components/sections/Comments.vue +5 -5
  205. package/src/modules/community/components/sections/Feed.vue +2 -2
  206. package/src/modules/community/components/sections/JoinUs.vue +2 -2
  207. package/src/modules/community/components/sections/SubscribeNewsletter.vue +3 -3
  208. package/src/modules/constructor/components/elements/Audio.vue +2 -2
  209. package/src/modules/constructor/components/elements/Bullets.vue +1 -1
  210. package/src/modules/constructor/components/elements/Caption.vue +1 -1
  211. package/src/modules/constructor/components/elements/Embed.vue +2 -2
  212. package/src/modules/constructor/components/elements/H2.vue +1 -1
  213. package/src/modules/constructor/components/elements/Image.vue +19 -5
  214. package/src/modules/constructor/components/elements/ImageUpload.vue +1 -1
  215. package/src/modules/constructor/components/elements/Textarea.vue +1 -1
  216. package/src/modules/constructor/components/sections/Constructor.vue +4 -4
  217. package/src/modules/events/components/blocks/CardEvent.vue +5 -5
  218. package/src/modules/events/components/layouts/layoutEvents.vue +1 -1
  219. package/src/modules/events/components/pages/EditEvent.vue +12 -12
  220. package/src/modules/events/components/pages/Event.vue +4 -4
  221. package/src/modules/events/components/pages/Events.vue +1 -1
  222. package/src/modules/events/components/sections/Feed.vue +2 -2
  223. package/src/modules/events/components/sections/List.vue +1 -1
  224. package/src/modules/gallery/components/sections/BackofficeGallery.vue +10 -10
  225. package/src/modules/gallery/components/sections/GalleryWithCategories.vue +6 -6
  226. package/src/modules/globals/components/sections/Feed.vue +1 -1
  227. package/src/modules/icons/navigation/IconLike.vue +2 -1
  228. package/src/modules/landing/components/sections/MobileApp.vue +7 -7
  229. package/src/modules/legal/components/pages/Legal.vue +5 -5
  230. package/src/modules/marketplace/components/layouts/Marketplace.vue +1 -1
  231. package/src/modules/mobile/components/Menu/MenuItem.vue +2 -2
  232. package/src/modules/orders/components/blocks/CardOrderItem.vue +1 -1
  233. package/src/modules/orders/components/blocks/Positions.vue +8 -8
  234. package/src/modules/orders/components/pages/EditOrder.vue +19 -19
  235. package/src/modules/orders/components/pages/Favorites.vue +2 -2
  236. package/src/modules/orders/components/pages/Order.vue +5 -5
  237. package/src/modules/orders/components/pages/Orders.vue +5 -5
  238. package/src/modules/orders/components/pages/ViewOrder.vue +7 -7
  239. package/src/modules/orders/components/partials/ShopCart.vue +3 -3
  240. package/src/modules/orders/components/sections/Form.vue +12 -12
  241. package/src/modules/orders/components/sections/Succes.vue +4 -4
  242. package/src/modules/organizations/components/blocks/CardDepartment.vue +3 -3
  243. package/src/modules/organizations/components/blocks/CardOrganization.vue +3 -3
  244. package/src/modules/organizations/components/blocks/Contacts.vue +1 -1
  245. package/src/modules/organizations/components/blocks/DepartmentMemberModify.vue +2 -2
  246. package/src/modules/organizations/components/blocks/EditArray.vue +2 -2
  247. package/src/modules/organizations/components/blocks/EmptyState.vue +3 -3
  248. package/src/modules/organizations/components/blocks/Rating.vue +1 -1
  249. package/src/modules/organizations/components/pages/Department.vue +6 -6
  250. package/src/modules/organizations/components/pages/DepartmentEdit.vue +16 -16
  251. package/src/modules/organizations/components/pages/Members.vue +2 -2
  252. package/src/modules/organizations/components/pages/Organization.vue +5 -5
  253. package/src/modules/organizations/components/pages/OrganizationEdit.vue +16 -16
  254. package/src/modules/organizations/components/pages/Organizations.vue +2 -2
  255. package/src/modules/organizations/components/sections/DetailsTab.vue +11 -11
  256. package/src/modules/organizations/components/sections/Documents.vue +4 -4
  257. package/src/modules/organizations/components/sections/Feed.vue +2 -2
  258. package/src/modules/organizations/components/sections/FeedDepartments.vue +2 -2
  259. package/src/modules/organizations/components/sections/MembersAdd.vue +5 -5
  260. package/src/modules/organizations/components/sections/MembersList.vue +2 -2
  261. package/src/modules/organizations/components/sections/Unit.vue +12 -12
  262. package/src/modules/payments/components/pages/Payments.vue +3 -3
  263. package/src/modules/products/components/blocks/CardLeftover.vue +4 -4
  264. package/src/modules/products/components/blocks/CardProduct.vue +3 -3
  265. package/src/modules/products/components/blocks/EditCategories.vue +4 -4
  266. package/src/modules/products/components/blocks/EditFilters.vue +4 -4
  267. package/src/modules/products/components/blocks/LeftoverPositions.vue +1 -1
  268. package/src/modules/products/components/pages/LeftoverAdd.vue +7 -7
  269. package/src/modules/products/components/pages/Leftovers.vue +5 -5
  270. package/src/modules/products/components/pages/OrganizationDetails.vue +4 -4
  271. package/src/modules/products/components/pages/OrganizationDocuments.vue +5 -5
  272. package/src/modules/products/components/pages/OrganizationPeople.vue +5 -5
  273. package/src/modules/products/components/pages/ProductEdit.vue +5 -5
  274. package/src/modules/products/components/pages/ProductRecommmendation.vue +1 -1
  275. package/src/modules/products/components/pages/ProductsBackoffice.vue +2 -2
  276. package/src/modules/products/components/sections/EditModifications.vue +8 -8
  277. package/src/modules/products/components/sections/EditParameters.vue +4 -4
  278. package/src/modules/products/components/sections/EditProductImages.vue +2 -2
  279. package/src/modules/products/components/sections/EditProductInfo.vue +5 -5
  280. package/src/modules/products/components/sections/FilterProducts.vue +9 -9
  281. package/src/modules/products/components/sections/HeroRecommendation.vue +5 -5
  282. package/src/modules/products/components/sections/PopularProducts.vue +1 -1
  283. package/src/modules/products/components/sections/ProductInformationSection.vue +27 -27
  284. package/src/modules/products/components/sections/SectionProduct.vue +6 -6
  285. package/src/modules/products/components/sections/SortProducts.vue +1 -1
  286. package/src/modules/reports/components/pages/BackofficeReports.vue +4 -4
  287. package/src/modules/reports/components/sections/FormReport.vue +4 -4
  288. package/src/modules/spots/components/blocks/CardSpot.vue +4 -4
  289. package/src/modules/spots/components/blocks/SpotMemberModify.vue +2 -2
  290. package/src/modules/spots/components/layouts/Spots.vue +3 -3
  291. package/src/modules/spots/components/pages/Spot.vue +4 -4
  292. package/src/modules/spots/components/pages/SpotEdit.vue +16 -16
  293. package/src/modules/spots/components/sections/Feed.vue +2 -2
  294. package/src/modules/spots/components/sections/PlaceModify.vue +1 -1
  295. package/src/modules/spots/components/sections/Places.vue +1 -1
  296. package/src/modules/users/components/pages/Profile.vue +13 -13
  297. package/src/modules/users/components/pages/ProfileBlogposts.vue +2 -2
  298. package/src/modules/users/components/pages/ProfileComments.vue +1 -1
  299. package/src/modules/users/components/pages/ProfileEdit.vue +21 -21
  300. package/src/modules/users/components/pages/ProfileEvents.vue +2 -2
  301. package/src/modules/users/components/pages/ProfileLikes.vue +1 -1
  302. package/src/modules/users/components/pages/ProfileOrganizations.vue +2 -2
  303. package/src/modules/users/components/sections/ProfileCompletion.vue +1 -1
  304. package/src/modules/wallet/components/pages/Wallet.vue +17 -17
  305. package/src/styles/base/all.scss +83 -324
  306. package/src/styles/base/border-radius.scss +47 -0
  307. package/src/styles/base/height.scss +60 -0
  308. package/src/styles/base/scrolling.scss +8 -8
  309. package/src/styles/base/width.scss +2 -0
  310. package/src/styles/config.scss +153 -51
  311. package/src/styles/responsive.scss +2 -2
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Field/Field.vue.cjs");require("../../../../components/Button/Button.vue.cjs");const a=require("../../../mobile/components/Menu/Menu.vue2.cjs"),r=require("../../../mobile/components/Menu/MenuItem.vue.cjs"),n=require("vue-router");require("../../../auth/store/auth.cjs");require("./Legal.vue2.cjs");const u={class:"for-transition w-100 pd-medium"},l=e.createStaticVNode('<div class="bg-grey radius-medium pd-medium mn-small"><h2 class="mn-small">About No More Snow CO., LTD.</h2><p class="mn-small"> Welcome to NO MORE SNOW CO., LTD.! We are dedicated to providing top-notch services and creating a trustworthy environment for our users. Your trust and safety are our priority, and we are committed to being transparent about our policies and practices. </p><p class="mn-small"> If you have any questions, concerns, or feedback, please do not hesitate to contact us through the following details. Our team is always here to assist you! </p><p class="mn-small"> Address: 10/3 Laemsai Rd, Karon, Mueang Phuket District, Phuket 83100<br> Telephone: +660803202142<br> Email: <a href="mailto:hello@thecommunephuket.com">hello@thecommunephuket.com</a><br> Website: <a href="https://thecommunephuket.com" target="_blank">https://thecommunephuket.com</a></p></div>',1),i=e.createElementVNode("span",null,"Terms of Use",-1),c=e.createElementVNode("span",null,"Privacy Policy",-1),d=e.createElementVNode("span",null,"Cookie Policy",-1),m=e.createElementVNode("span",null,"EULA",-1),p={__name:"Legal",setup(h){n.useRoute();const o=n.useRouter();return e.ref(!1),(f,t)=>(e.openBlock(),e.createElementBlock("div",u,[l,e.createVNode(a.default,{class:"bg-grey"},{default:e.withCtx(()=>[e.createVNode(r.default,{onClick:t[0]||(t[0]=s=>e.unref(o).push({name:"Terms of Use"})),class:"cursor-pointer"},{default:e.withCtx(()=>[i]),_:1}),e.createVNode(r.default,{onClick:t[1]||(t[1]=s=>e.unref(o).push({name:"Privacy Policy"})),class:"cursor-pointer"},{default:e.withCtx(()=>[c]),_:1}),e.createVNode(r.default,{onClick:t[2]||(t[2]=s=>e.unref(o).push({name:"Cookie Policy"})),class:"cursor-pointer"},{default:e.withCtx(()=>[d]),_:1}),e.createVNode(r.default,{onClick:t[3]||(t[3]=s=>e.unref(o).push({name:"EULA"})),class:"cursor-pointer"},{default:e.withCtx(()=>[m]),_:1})]),_:1})]))}};exports.default=p;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Field/Field.vue.cjs");require("../../../../components/Button/Button.vue.cjs");const a=require("../../../mobile/components/Menu/Menu.vue2.cjs"),r=require("../../../mobile/components/Menu/MenuItem.vue.cjs"),n=require("vue-router");require("../../../auth/store/auth.cjs");require("./Legal.vue2.cjs");const u={class:"for-transition w-100 pd-medium"},l=e.createStaticVNode('<div class="bg-grey radius-medium pd-medium mn-b-small"><h2 class="mn-b-small">About No More Snow CO., LTD.</h2><p class="mn-b-small"> Welcome to NO MORE SNOW CO., LTD.! We are dedicated to providing top-notch services and creating a trustworthy environment for our users. Your trust and safety are our priority, and we are committed to being transparent about our policies and practices. </p><p class="mn-b-small"> If you have any questions, concerns, or feedback, please do not hesitate to contact us through the following details. Our team is always here to assist you! </p><p class="mn-b-small"> Address: 10/3 Laemsai Rd, Karon, Mueang Phuket District, Phuket 83100<br> Telephone: +660803202142<br> Email: <a href="mailto:hello@thecommunephuket.com">hello@thecommunephuket.com</a><br> Website: <a href="https://thecommunephuket.com" target="_blank">https://thecommunephuket.com</a></p></div>',1),i=e.createElementVNode("span",null,"Terms of Use",-1),c=e.createElementVNode("span",null,"Privacy Policy",-1),d=e.createElementVNode("span",null,"Cookie Policy",-1),m=e.createElementVNode("span",null,"EULA",-1),p={__name:"Legal",setup(h){n.useRoute();const o=n.useRouter();return e.ref(!1),(f,t)=>(e.openBlock(),e.createElementBlock("div",u,[l,e.createVNode(a.default,{class:"bg-grey"},{default:e.withCtx(()=>[e.createVNode(r.default,{onClick:t[0]||(t[0]=s=>e.unref(o).push({name:"Terms of Use"})),class:"cursor-pointer"},{default:e.withCtx(()=>[i]),_:1}),e.createVNode(r.default,{onClick:t[1]||(t[1]=s=>e.unref(o).push({name:"Privacy Policy"})),class:"cursor-pointer"},{default:e.withCtx(()=>[c]),_:1}),e.createVNode(r.default,{onClick:t[2]||(t[2]=s=>e.unref(o).push({name:"Cookie Policy"})),class:"cursor-pointer"},{default:e.withCtx(()=>[d]),_:1}),e.createVNode(r.default,{onClick:t[3]||(t[3]=s=>e.unref(o).push({name:"EULA"})),class:"cursor-pointer"},{default:e.withCtx(()=>[m]),_:1})]),_:1})]))}};exports.default=p;
@@ -6,9 +6,9 @@ import n from "../../../mobile/components/Menu/MenuItem.vue.js";
6
6
  import { useRoute as d, useRouter as h } from "vue-router";
7
7
  import "../../../auth/store/auth.js";
8
8
  import "./Legal.vue2.js";
9
- const f = { class: "for-transition w-100 pd-medium" }, _ = /* @__PURE__ */ c('<div class="bg-grey radius-medium pd-medium mn-small"><h2 class="mn-small">About No More Snow CO., LTD.</h2><p class="mn-small"> Welcome to NO MORE SNOW CO., LTD.! We are dedicated to providing top-notch services and creating a trustworthy environment for our users. Your trust and safety are our priority, and we are committed to being transparent about our policies and practices. </p><p class="mn-small"> If you have any questions, concerns, or feedback, please do not hesitate to contact us through the following details. Our team is always here to assist you! </p><p class="mn-small"> Address: 10/3 Laemsai Rd, Karon, Mueang Phuket District, Phuket 83100<br> Telephone: +660803202142<br> Email: <a href="mailto:hello@thecommunephuket.com">hello@thecommunephuket.com</a><br> Website: <a href="https://thecommunephuket.com" target="_blank">https://thecommunephuket.com</a></p></div>', 1), k = /* @__PURE__ */ a("span", null, "Terms of Use", -1), y = /* @__PURE__ */ a("span", null, "Privacy Policy", -1), v = /* @__PURE__ */ a("span", null, "Cookie Policy", -1), g = /* @__PURE__ */ a("span", null, "EULA", -1), A = {
9
+ const f = { class: "for-transition w-100 pd-medium" }, _ = /* @__PURE__ */ c('<div class="bg-grey radius-medium pd-medium mn-b-small"><h2 class="mn-b-small">About No More Snow CO., LTD.</h2><p class="mn-b-small"> Welcome to NO MORE SNOW CO., LTD.! We are dedicated to providing top-notch services and creating a trustworthy environment for our users. Your trust and safety are our priority, and we are committed to being transparent about our policies and practices. </p><p class="mn-b-small"> If you have any questions, concerns, or feedback, please do not hesitate to contact us through the following details. Our team is always here to assist you! </p><p class="mn-b-small"> Address: 10/3 Laemsai Rd, Karon, Mueang Phuket District, Phuket 83100<br> Telephone: +660803202142<br> Email: <a href="mailto:hello@thecommunephuket.com">hello@thecommunephuket.com</a><br> Website: <a href="https://thecommunephuket.com" target="_blank">https://thecommunephuket.com</a></p></div>', 1), b = /* @__PURE__ */ a("span", null, "Terms of Use", -1), k = /* @__PURE__ */ a("span", null, "Privacy Policy", -1), y = /* @__PURE__ */ a("span", null, "Cookie Policy", -1), v = /* @__PURE__ */ a("span", null, "EULA", -1), A = {
10
10
  __name: "Legal",
11
- setup(b) {
11
+ setup(g) {
12
12
  d();
13
13
  const s = h();
14
14
  return l(!1), (C, e) => (m(), u("div", f, [
@@ -20,7 +20,7 @@ const f = { class: "for-transition w-100 pd-medium" }, _ = /* @__PURE__ */ c('<d
20
20
  class: "cursor-pointer"
21
21
  }, {
22
22
  default: o(() => [
23
- k
23
+ b
24
24
  ]),
25
25
  _: 1
26
26
  }),
@@ -29,7 +29,7 @@ const f = { class: "for-transition w-100 pd-medium" }, _ = /* @__PURE__ */ c('<d
29
29
  class: "cursor-pointer"
30
30
  }, {
31
31
  default: o(() => [
32
- y
32
+ k
33
33
  ]),
34
34
  _: 1
35
35
  }),
@@ -38,7 +38,7 @@ const f = { class: "for-transition w-100 pd-medium" }, _ = /* @__PURE__ */ c('<d
38
38
  class: "cursor-pointer"
39
39
  }, {
40
40
  default: o(() => [
41
- v
41
+ y
42
42
  ]),
43
43
  _: 1
44
44
  }),
@@ -47,7 +47,7 @@ const f = { class: "for-transition w-100 pd-medium" }, _ = /* @__PURE__ */ c('<d
47
47
  class: "cursor-pointer"
48
48
  }, {
49
49
  default: o(() => [
50
- g
50
+ v
51
51
  ]),
52
52
  _: 1
53
53
  })
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),a=require("../../../icons/navigation/IconChevronRight.vue.cjs"),c=e.defineComponent({props:{theme:{type:String,default:"black"}},setup(r,{slots:l}){return()=>{const s=l.default?l.default():[],n=[],i=[];return s.forEach(t=>{t.toString(),t.props&&t.props.icon?n.push(t):i.push(t)}),e.h("div",{class:["w-100","t-left","flex-nowrap","flex-v-center","flex",{"br-b br-black-transp-10 br-solid":!0}]},[...n.length?[e.h("div",{class:["mn-thin","mn-t-thin","flex-center","flex","mn-r-small","flex-child","flex-child-shrink-0","i-big","bg-main","radius-thin"]},n)]:[],e.h("div",{class:["w-100","mn-thin","mn-t-thin","mn-r-small","i-big","flex-v-center","flex"]},[e.h("span",{class:["p-big","t-medium","mn-r-auto"]},i)]),e.h(a.default,{class:"i-medium mn-r-medium",type:"chevron",theme:r.theme})])}}});exports.default=c;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),a=require("../../../icons/navigation/IconChevronRight.vue.cjs"),c=e.defineComponent({props:{theme:{type:String,default:"black"}},setup(r,{slots:l}){return()=>{const s=l.default?l.default():[],n=[],i=[];return s.forEach(t=>{t.toString(),t.props&&t.props.icon?n.push(t):i.push(t)}),e.h("div",{class:["w-100","t-left","flex-nowrap","flex-v-center","flex",{"br-b br-black-transp-10 br-solid":!0}]},[...n.length?[e.h("div",{class:["mn-b-thin","mn-t-thin","flex-center","flex","mn-r-small","flex-child","flex-child-shrink-0","i-big","bg-main","radius-thin"]},n)]:[],e.h("div",{class:["w-100","mn-b-thin","mn-t-thin","mn-r-small","i-big","flex-v-center","flex"]},[e.h("span",{class:["p-big","t-medium","mn-r-auto"]},i)]),e.h(a.default,{class:"i-medium mn-r-medium",type:"chevron",theme:r.theme})])}}});exports.default=c;
@@ -32,7 +32,7 @@ const f = m({
32
32
  e(
33
33
  "div",
34
34
  {
35
- class: ["mn-thin", "mn-t-thin", "flex-center", "flex", "mn-r-small", "flex-child", "flex-child-shrink-0", "i-big", "bg-main", "radius-thin"]
35
+ class: ["mn-b-thin", "mn-t-thin", "flex-center", "flex", "mn-r-small", "flex-child", "flex-child-shrink-0", "i-big", "bg-main", "radius-thin"]
36
36
  },
37
37
  n
38
38
  )
@@ -40,7 +40,7 @@ const f = m({
40
40
  e(
41
41
  "div",
42
42
  {
43
- class: ["w-100", "mn-thin", "mn-t-thin", "mn-r-small", "i-big", "flex-v-center", "flex"]
43
+ class: ["w-100", "mn-b-thin", "mn-t-thin", "mn-r-small", "i-big", "flex-v-center", "flex"]
44
44
  },
45
45
  [
46
46
  e(
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),l=require("vue-router");require("./CardOrderItem.vue2.cjs");const r={class:"flex-stretch flex-nojustify flex-nowrap flex shop-cart-item"},s=["src"],i={key:1,width:"524",height:"345",viewBox:"0 0 524 345",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"i-extra"},a=e.createElementVNode("rect",{width:"524",height:"345",fill:"white"},null,-1),d=e.createElementVNode("rect",{width:"524",height:"345",fill:"white"},null,-1),u=e.createElementVNode("circle",{cx:"262",cy:"172",r:"56",fill:"#00ff88","fill-opacity":"0.1"},null,-1),m=e.createElementVNode("path",{fill:"#00ff88",d:"M229.348 186.819C230.243 191.884 233.393 194.231 238.458 193.273V193.644C238.458 198.832 241.206 201.581 246.364 201.581H291.545C296.733 201.581 299.481 198.74 299.481 193.644V162.576C299.481 157.481 296.733 154.64 291.545 154.64H285.677L284.071 145.653C283.175 140.619 279.995 138.303 274.899 139.198L230.398 147.043C225.302 147.969 223.048 151.15 223.943 156.246L229.348 186.819ZM230.83 186.479L225.456 156.06C224.715 151.86 226.537 149.266 230.737 148.525L275.084 140.712C279.13 140.001 281.848 141.762 282.62 145.993L284.102 154.64H246.364C241.206 154.64 238.458 157.419 238.458 162.576V191.729L238.365 191.76C234.165 192.532 231.571 190.679 230.83 186.479ZM239.971 162.669C239.971 158.376 242.164 156.153 246.456 156.153H291.483C295.59 156.153 297.968 158.376 297.968 162.669V190.093L284.565 177.894C283.145 176.597 281.662 175.856 279.809 175.856C277.987 175.856 276.628 176.566 275.146 177.863L262.052 189.073L257.142 184.565C255.875 183.36 254.764 182.743 253.158 182.743C251.675 182.743 250.656 183.36 249.39 184.503L239.971 193.212V162.669ZM257.636 178.419C261.373 178.419 264.43 175.3 264.43 171.471C264.43 167.734 261.373 164.584 257.636 164.584C253.806 164.584 250.718 167.734 250.718 171.471C250.718 175.3 253.806 178.419 257.636 178.419Z"},null,-1),h=[a,d,u,m],g={class:"text-left"},C={class:"name"},v={key:0,class:"t-transp"},f={key:1,class:"t-transp"},V={key:2,class:"t-transp"},k={class:"t-main t-demi price mn-small"},y={key:0},E={key:0,class:"flex-nojustify flex"},N={class:"flex-nowrap flex"},b=e.createElementVNode("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"clip-rule":"evenodd",d:"m7.27124 0h5.45456c1.0041 0 1.8182.814027 1.8182 1.81818v.90899h2.7278c1.0042 0 1.8182.81402 1.8182 1.81818v1.81818c0 1.00415-.814 1.81818-1.8182 1.81818h-.0735l-.8363 10.00009c0 1.0042-.814 1.8182-1.8182 1.8182h-9.09087c-1.00416 0-1.81818-.814-1.81504-1.7427l-.83964-10.07559h-.07187c-1.00415 0-1.818177-.81403-1.818177-1.81818v-1.81818c0-1.00416.814027-1.81818 1.818177-1.81818h2.72668v-.90899c0-1.004153.81402-1.81818 1.81818-1.81818zm-1.81889 18.1819-.83047-10h10.75152l-.827 9.9245-.0031.0755zm-2.72612-11.81799v-1.81818h14.54547v1.81818zm10.00137-4.54571v.90909h-5.45456v-.90909z",fill:"#8a8a8a","fill-rule":"evenodd"})],-1),p=[b],w={__name:"CardOrderItem",props:{product:Object,editable:String,increase:Function,decrease:Function,remove:Function},setup(t){return l.useRouter(),(n,o)=>(e.openBlock(),e.createElementBlock("div",r,[t.product.images[0]?(e.openBlock(),e.createElementBlock("img",{key:0,class:"bg-grey aspect-1x1",src:(n.FILE_SERVER_URL||"")+t.product.images[0]},null,8,s)):e.createCommentVNode("",!0),t.product.images[0]?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("svg",i,h)),e.createElementVNode("div",g,[e.createElementVNode("p",C,[e.createTextVNode(e.toDisplayString(t.product.name)+" ",1),t.product.size?(e.openBlock(),e.createElementBlock("span",v,", "+e.toDisplayString(t.product.size),1)):e.createCommentVNode("",!0),typeof t.product.color=="string"&&t.product.size?(e.openBlock(),e.createElementBlock("span",f,", ")):e.createCommentVNode("",!0),typeof t.product.color=="string"?(e.openBlock(),e.createElementBlock("span",V,e.toDisplayString(t.product.color),1)):e.createCommentVNode("",!0)]),e.createElementVNode("p",k,[t.editable?(e.openBlock(),e.createElementBlock("span",y,e.toDisplayString(t.product.quantity)+" x ",1)):e.createCommentVNode("",!0),e.createTextVNode(e.toDisplayString(t.product.price)+" "+e.toDisplayString(n.returnCurrency()),1)]),t.editable?(e.openBlock(),e.createElementBlock("div",E,[e.createElementVNode("div",N,[e.createElementVNode("button",{onClick:o[0]||(o[0]=c=>t.decrease(t.product)),class:"mn-r-thin bg-grey button-square button"},"-"),e.createElementVNode("button",{onClick:o[1]||(o[1]=c=>t.increase(t.product)),class:"mn-r-thin bg-grey button-square button"},"+")]),e.createElementVNode("button",{onClick:o[2]||(o[2]=c=>t.remove(t.product)),class:"hover_br-transp hover_br-l-dark bg-transp button-square button"},p)])):e.createCommentVNode("",!0)])]))}};exports.default=w;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),l=require("vue-router");require("./CardOrderItem.vue2.cjs");const r={class:"flex-stretch flex-nojustify flex-nowrap flex shop-cart-item"},s=["src"],i={key:1,width:"524",height:"345",viewBox:"0 0 524 345",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"i-extra"},a=e.createElementVNode("rect",{width:"524",height:"345",fill:"white"},null,-1),d=e.createElementVNode("rect",{width:"524",height:"345",fill:"white"},null,-1),u=e.createElementVNode("circle",{cx:"262",cy:"172",r:"56",fill:"#00ff88","fill-opacity":"0.1"},null,-1),m=e.createElementVNode("path",{fill:"#00ff88",d:"M229.348 186.819C230.243 191.884 233.393 194.231 238.458 193.273V193.644C238.458 198.832 241.206 201.581 246.364 201.581H291.545C296.733 201.581 299.481 198.74 299.481 193.644V162.576C299.481 157.481 296.733 154.64 291.545 154.64H285.677L284.071 145.653C283.175 140.619 279.995 138.303 274.899 139.198L230.398 147.043C225.302 147.969 223.048 151.15 223.943 156.246L229.348 186.819ZM230.83 186.479L225.456 156.06C224.715 151.86 226.537 149.266 230.737 148.525L275.084 140.712C279.13 140.001 281.848 141.762 282.62 145.993L284.102 154.64H246.364C241.206 154.64 238.458 157.419 238.458 162.576V191.729L238.365 191.76C234.165 192.532 231.571 190.679 230.83 186.479ZM239.971 162.669C239.971 158.376 242.164 156.153 246.456 156.153H291.483C295.59 156.153 297.968 158.376 297.968 162.669V190.093L284.565 177.894C283.145 176.597 281.662 175.856 279.809 175.856C277.987 175.856 276.628 176.566 275.146 177.863L262.052 189.073L257.142 184.565C255.875 183.36 254.764 182.743 253.158 182.743C251.675 182.743 250.656 183.36 249.39 184.503L239.971 193.212V162.669ZM257.636 178.419C261.373 178.419 264.43 175.3 264.43 171.471C264.43 167.734 261.373 164.584 257.636 164.584C253.806 164.584 250.718 167.734 250.718 171.471C250.718 175.3 253.806 178.419 257.636 178.419Z"},null,-1),h=[a,d,u,m],g={class:"text-left"},C={class:"name"},v={key:0,class:"t-transp"},f={key:1,class:"t-transp"},V={key:2,class:"t-transp"},k={class:"t-main t-demi price mn-b-small"},y={key:0},E={key:0,class:"flex-nojustify flex"},b={class:"flex-nowrap flex"},N=e.createElementVNode("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"clip-rule":"evenodd",d:"m7.27124 0h5.45456c1.0041 0 1.8182.814027 1.8182 1.81818v.90899h2.7278c1.0042 0 1.8182.81402 1.8182 1.81818v1.81818c0 1.00415-.814 1.81818-1.8182 1.81818h-.0735l-.8363 10.00009c0 1.0042-.814 1.8182-1.8182 1.8182h-9.09087c-1.00416 0-1.81818-.814-1.81504-1.7427l-.83964-10.07559h-.07187c-1.00415 0-1.818177-.81403-1.818177-1.81818v-1.81818c0-1.00416.814027-1.81818 1.818177-1.81818h2.72668v-.90899c0-1.004153.81402-1.81818 1.81818-1.81818zm-1.81889 18.1819-.83047-10h10.75152l-.827 9.9245-.0031.0755zm-2.72612-11.81799v-1.81818h14.54547v1.81818zm10.00137-4.54571v.90909h-5.45456v-.90909z",fill:"#8a8a8a","fill-rule":"evenodd"})],-1),p=[N],w={__name:"CardOrderItem",props:{product:Object,editable:String,increase:Function,decrease:Function,remove:Function},setup(t){return l.useRouter(),(n,o)=>(e.openBlock(),e.createElementBlock("div",r,[t.product.images[0]?(e.openBlock(),e.createElementBlock("img",{key:0,class:"bg-grey aspect-1x1",src:(n.FILE_SERVER_URL||"")+t.product.images[0]},null,8,s)):e.createCommentVNode("",!0),t.product.images[0]?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("svg",i,h)),e.createElementVNode("div",g,[e.createElementVNode("p",C,[e.createTextVNode(e.toDisplayString(t.product.name)+" ",1),t.product.size?(e.openBlock(),e.createElementBlock("span",v,", "+e.toDisplayString(t.product.size),1)):e.createCommentVNode("",!0),typeof t.product.color=="string"&&t.product.size?(e.openBlock(),e.createElementBlock("span",f,", ")):e.createCommentVNode("",!0),typeof t.product.color=="string"?(e.openBlock(),e.createElementBlock("span",V,e.toDisplayString(t.product.color),1)):e.createCommentVNode("",!0)]),e.createElementVNode("p",k,[t.editable?(e.openBlock(),e.createElementBlock("span",y,e.toDisplayString(t.product.quantity)+" x ",1)):e.createCommentVNode("",!0),e.createTextVNode(e.toDisplayString(t.product.price)+" "+e.toDisplayString(n.returnCurrency()),1)]),t.editable?(e.openBlock(),e.createElementBlock("div",E,[e.createElementVNode("div",b,[e.createElementVNode("button",{onClick:o[0]||(o[0]=c=>t.decrease(t.product)),class:"mn-r-thin bg-grey button-square button"},"-"),e.createElementVNode("button",{onClick:o[1]||(o[1]=c=>t.increase(t.product)),class:"mn-r-thin bg-grey button-square button"},"+")]),e.createElementVNode("button",{onClick:o[2]||(o[2]=c=>t.remove(t.product)),class:"hover_br-transp hover_br-l-dark bg-transp button-square button"},p)])):e.createCommentVNode("",!0)])]))}};exports.default=w;
@@ -40,7 +40,7 @@ const u = { class: "flex-stretch flex-nojustify flex-nowrap flex shop-cart-item"
40
40
  }, L = {
41
41
  key: 2,
42
42
  class: "t-transp"
43
- }, p = { class: "t-main t-demi price mn-small" }, V = { key: 0 }, z = {
43
+ }, p = { class: "t-main t-demi price mn-b-small" }, V = { key: 0 }, z = {
44
44
  key: 0,
45
45
  class: "flex-nojustify flex"
46
46
  }, E = { class: "flex-nowrap flex" }, q = /* @__PURE__ */ e("svg", {
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("../../../../components/Spoiler/Spoiler.vue2.cjs");require("../../../../components/Map/Map.vue.cjs");const c=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),m=require("./DepartmentSub.vue.cjs"),u=require("./User.vue.cjs");require("./CardDepartment.vue2.cjs");const l=t=>(e.pushScopeId("data-v-02b80617"),t=t(),e.popScopeId(),t),p={class:"radius-big o-hidden cols-2-1_3"},h={class:"pd-medium w-100"},g=l(()=>e.createElementVNode("path",{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",fill:"black"},null,-1)),L=[g],w=["innerHTML"],b={class:"pd-small flex-v-center flex-nowrap flex"},k=l(()=>e.createElementVNode("h5",{class:"w-100"},"Contacts ",-1)),v={class:"mn-r-small"},f=l(()=>e.createElementVNode("svg",{width:"14",height:"9",viewBox:"0 0 14 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.4697 0.469727L13.5304 1.53039L7.00006 8.06072L0.469727 1.53039L1.53039 0.469727L7.00006 5.9394L12.4697 0.469727Z",fill:"#8A8A8A"})],-1)),_={key:0},C={class:"pd-small flex-v-center flex-nowrap flex"},E=l(()=>e.createElementVNode("h5",{class:"w-100"},"Working Hours ",-1)),V={class:"mn-r-small"},B=l(()=>e.createElementVNode("svg",{width:"14",height:"9",viewBox:"0 0 14 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.4697 0.469727L13.5304 1.53039L7.00006 8.06072L0.469727 1.53039L1.53039 0.469727L7.00006 5.9394L12.4697 0.469727Z",fill:"#8A8A8A"})],-1)),N={key:0},x={__name:"CardDepartment",props:{department:Object,organization:Object},setup(t){const a=t;return(o,r)=>(e.openBlock(),e.createElementBlock("div",p,[e.createElementVNode("div",h,[(e.openBlock(),e.createElementBlock("svg",{onClick:r[0]||(r[0]=n=>o.$router.push(`/app/organization/${a.organization._id}/departments/${t.department._id}/edit`)),class:"i-regular pos-absolute pos-r-0 pos-t-0 t-transp",width:"652",height:"652",viewBox:"0 0 652 652",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L)),e.createElementVNode("h3",{onClick:r[1]||(r[1]=n=>o.$router.push(`/app/organization/${a.organization._id}/departments/${t.department._id}`)),class:"mn-small w-100",innerHTML:t.department.profile.name},null,8,w),e.createVNode(d.default,{class:"radius-small o-hidden br-1px br-solid br-grey mn-thin"},{header:e.withCtx(()=>[e.createElementVNode("div",b,[k,e.createElementVNode("p",v,e.toDisplayString(t.department.members.length)+" человек",1),f])]),content:e.withCtx(()=>[e.createElementVNode("ul",null,[t.department.members.length<1?(e.openBlock(),e.createElementBlock("li",_,"В отделе еще нет участников")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.department.members,(n,s)=>(e.openBlock(),e.createBlock(u.default,{class:"br-b br-solid br-grey",key:s,user:n.user,position:n.position,onClick:i=>o.$router.push(`/app/profile/${n.user._id}`)},null,8,["user","position","onClick"]))),128))])]),_:1}),e.createVNode(d.default,{class:"radius-small o-hidden br-1px br-solid br-grey mn-thin"},{header:e.withCtx(()=>[e.createElementVNode("div",C,[E,e.createElementVNode("p",V,e.toDisplayString(t.department.subdepartments?t.department.subdepartments.length:0)+" отделов",1),B])]),content:e.withCtx(()=>[e.createElementVNode("ul",null,[t.department.subdepartments.length<1?(e.openBlock(),e.createElementBlock("li",N,"В отделе еще нет подотделов")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.department.subdepartments,(n,s)=>(e.openBlock(),e.createBlock(m.default,{onClick:i=>o.$router.push(`/app/organization/departments/${n._id}`),key:s,class:"br-b br-solid br-grey",department:n},null,8,["onClick","department"]))),128))])]),_:1})])]))}},$=c.default(x,[["__scopeId","data-v-02b80617"]]);exports.default=$;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),a=require("../../../../components/Spoiler/Spoiler.vue2.cjs");require("../../../../components/Map/Map.vue.cjs");const c=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),m=require("./DepartmentSub.vue.cjs"),u=require("./User.vue.cjs");require("./CardDepartment.vue2.cjs");const l=t=>(e.pushScopeId("data-v-024dd73f"),t=t(),e.popScopeId(),t),p={class:"radius-big o-hidden cols-2-1_3"},h={class:"pd-medium w-100"},g=l(()=>e.createElementVNode("path",{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",fill:"black"},null,-1)),L=[g],b=["innerHTML"],w={class:"pd-small flex-v-center flex-nowrap flex"},k=l(()=>e.createElementVNode("h5",{class:"w-100"},"Contacts ",-1)),v={class:"mn-r-small"},f=l(()=>e.createElementVNode("svg",{width:"14",height:"9",viewBox:"0 0 14 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.4697 0.469727L13.5304 1.53039L7.00006 8.06072L0.469727 1.53039L1.53039 0.469727L7.00006 5.9394L12.4697 0.469727Z",fill:"#8A8A8A"})],-1)),_={key:0},C={class:"pd-small flex-v-center flex-nowrap flex"},E=l(()=>e.createElementVNode("h5",{class:"w-100"},"Working Hours ",-1)),V={class:"mn-r-small"},B=l(()=>e.createElementVNode("svg",{width:"14",height:"9",viewBox:"0 0 14 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.4697 0.469727L13.5304 1.53039L7.00006 8.06072L0.469727 1.53039L1.53039 0.469727L7.00006 5.9394L12.4697 0.469727Z",fill:"#8A8A8A"})],-1)),N={key:0},x={__name:"CardDepartment",props:{department:Object,organization:Object},setup(t){const d=t;return(o,r)=>(e.openBlock(),e.createElementBlock("div",p,[e.createElementVNode("div",h,[(e.openBlock(),e.createElementBlock("svg",{onClick:r[0]||(r[0]=n=>o.$router.push(`/app/organization/${d.organization._id}/departments/${t.department._id}/edit`)),class:"i-regular pos-absolute pos-r-0 pos-t-0 t-transp",width:"652",height:"652",viewBox:"0 0 652 652",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L)),e.createElementVNode("h3",{onClick:r[1]||(r[1]=n=>o.$router.push(`/app/organization/${d.organization._id}/departments/${t.department._id}`)),class:"mn-b-small w-100",innerHTML:t.department.profile.name},null,8,b),e.createVNode(a.default,{class:"radius-small o-hidden br-1px br-solid br-grey mn-b-thin"},{header:e.withCtx(()=>[e.createElementVNode("div",w,[k,e.createElementVNode("p",v,e.toDisplayString(t.department.members.length)+" человек",1),f])]),content:e.withCtx(()=>[e.createElementVNode("ul",null,[t.department.members.length<1?(e.openBlock(),e.createElementBlock("li",_,"В отделе еще нет участников")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.department.members,(n,s)=>(e.openBlock(),e.createBlock(u.default,{class:"br-b br-solid br-grey",key:s,user:n.user,position:n.position,onClick:i=>o.$router.push(`/app/profile/${n.user._id}`)},null,8,["user","position","onClick"]))),128))])]),_:1}),e.createVNode(a.default,{class:"radius-small o-hidden br-1px br-solid br-grey mn-b-thin"},{header:e.withCtx(()=>[e.createElementVNode("div",C,[E,e.createElementVNode("p",V,e.toDisplayString(t.department.subdepartments?t.department.subdepartments.length:0)+" отделов",1),B])]),content:e.withCtx(()=>[e.createElementVNode("ul",null,[t.department.subdepartments.length<1?(e.openBlock(),e.createElementBlock("li",N,"В отделе еще нет подотделов")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.department.subdepartments,(n,s)=>(e.openBlock(),e.createBlock(m.default,{onClick:i=>o.$router.push(`/app/organization/departments/${n._id}`),key:s,class:"br-b br-solid br-grey",department:n},null,8,["onClick","department"]))),128))])]),_:1})])]))}},$=c.default(x,[["__scopeId","data-v-024dd73f"]]);exports.default=$;
@@ -1,11 +1,11 @@
1
- import { openBlock as s, createElementBlock as o, createElementVNode as t, createVNode as m, withCtx as d, toDisplayString as c, createCommentVNode as h, Fragment as u, renderList as g, createBlock as L, pushScopeId as f, popScopeId as v } from "vue";
1
+ import { openBlock as s, createElementBlock as o, createElementVNode as t, createVNode as m, withCtx as d, toDisplayString as c, createCommentVNode as h, Fragment as u, renderList as g, createBlock as L, pushScopeId as w, popScopeId as v } from "vue";
2
2
  import b from "../../../../components/Spoiler/Spoiler.vue2.js";
3
3
  import "../../../../components/Map/Map.vue.js";
4
4
  import _ from "../../../../../../_virtual/_plugin-vue_export-helper.js";
5
5
  import C from "./DepartmentSub.vue.js";
6
6
  import k from "./User.vue.js";
7
7
  import "./CardDepartment.vue2.js";
8
- const r = (e) => (f("data-v-02b80617"), e = e(), v(), e), $ = { class: "radius-big o-hidden cols-2-1_3" }, x = { class: "pd-medium w-100" }, y = /* @__PURE__ */ r(() => /* @__PURE__ */ t("path", {
8
+ const r = (e) => (w("data-v-024dd73f"), e = e(), v(), e), $ = { class: "radius-big o-hidden cols-2-1_3" }, x = { class: "pd-medium w-100" }, y = /* @__PURE__ */ r(() => /* @__PURE__ */ t("path", {
9
9
  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",
10
10
  fill: "black"
11
11
  }, null, -1)), M = [
@@ -57,10 +57,10 @@ const r = (e) => (f("data-v-02b80617"), e = e(), v(), e), $ = { class: "radius-b
57
57
  }, M)),
58
58
  t("h3", {
59
59
  onClick: i[1] || (i[1] = (n) => l.$router.push(`/app/organization/${p.organization._id}/departments/${e.department._id}`)),
60
- class: "mn-small w-100",
60
+ class: "mn-b-small w-100",
61
61
  innerHTML: e.department.profile.name
62
62
  }, null, 8, z),
63
- m(b, { class: "radius-small o-hidden br-1px br-solid br-grey mn-thin" }, {
63
+ m(b, { class: "radius-small o-hidden br-1px br-solid br-grey mn-b-thin" }, {
64
64
  header: d(() => [
65
65
  t("div", A, [
66
66
  B,
@@ -76,13 +76,13 @@ const r = (e) => (f("data-v-02b80617"), e = e(), v(), e), $ = { class: "radius-b
76
76
  key: a,
77
77
  user: n.user,
78
78
  position: n.position,
79
- onClick: (w) => l.$router.push(`/app/profile/${n.user._id}`)
79
+ onClick: (f) => l.$router.push(`/app/profile/${n.user._id}`)
80
80
  }, null, 8, ["user", "position", "onClick"]))), 128))
81
81
  ])
82
82
  ]),
83
83
  _: 1
84
84
  }),
85
- m(b, { class: "radius-small o-hidden br-1px br-solid br-grey mn-thin" }, {
85
+ m(b, { class: "radius-small o-hidden br-1px br-solid br-grey mn-b-thin" }, {
86
86
  header: d(() => [
87
87
  t("div", H, [
88
88
  I,
@@ -94,7 +94,7 @@ const r = (e) => (f("data-v-02b80617"), e = e(), v(), e), $ = { class: "radius-b
94
94
  t("ul", null, [
95
95
  e.department.subdepartments.length < 1 ? (s(), o("li", j, "В отделе еще нет подотделов")) : h("", !0),
96
96
  (s(!0), o(u, null, g(e.department.subdepartments, (n, a) => (s(), L(C, {
97
- onClick: (w) => l.$router.push(`/app/organization/departments/${n._id}`),
97
+ onClick: (f) => l.$router.push(`/app/organization/departments/${n._id}`),
98
98
  key: a,
99
99
  class: "br-b br-solid br-grey",
100
100
  department: n
@@ -106,7 +106,7 @@ const r = (e) => (f("data-v-02b80617"), e = e(), v(), e), $ = { class: "radius-b
106
106
  ])
107
107
  ]));
108
108
  }
109
- }, J = /* @__PURE__ */ _(E, [["__scopeId", "data-v-02b80617"]]);
109
+ }, J = /* @__PURE__ */ _(E, [["__scopeId", "data-v-024dd73f"]]);
110
110
  export {
111
111
  J as default
112
112
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),a=require("vue-router"),l=require("../../../orders/components/blocks/CardOrderItem.vue.cjs"),s=require("../../../../components/Text/Text.vue.cjs"),c=require("../elements/ButtonToggleMembership.vue.cjs"),d={class:"pd-medium flex-v-center flex-nowrap flex"},m=["src"],u={key:1,class:"h-4r w-4r radius-extra",width:"42",height:"42",viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g=e.createElementVNode("circle",{fill:"rgb(var(--main))",cx:"21",cy:"21",r:"21"},null,-1),h=e.createElementVNode("path",{fill:"#242424","fill-opacity":"0.1","fill-rule":"evenodd","clip-rule":"evenodd",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"},null,-1),f=[g,h],b={class:"flex-child-1 flex-child mn-l-small w-100"},p={class:"h3 mn-r-semi mn-thin"},k={key:0,class:"w-max star-container flex-v-center flex"},w={class:"mn-r-thin pd-r-thin pd-l-thin pd-micro radius-small t-semi uppercase bg-main p-small"},E=["src"],v={class:"p-small t-semi mn-r-thin"},x={class:"p-small"},z={class:"mn-thin"},V={key:0,class:"pd-medium"},N={class:"mn-small w-100 flex-nowrap flex flex-v-center pd-small bg-white radius-medium"},B={class:"t-black p-medium t-semi"},y=e.createElementVNode("span",{class:"mn-r-small"},"30-60min",-1),C=e.createElementVNode("span",{class:"mn-r-auto"},"$50 min",-1),S={class:"d-block o-scroll flex-nowrap flex"},_=e.createElementVNode("button",{class:"flex-center flex-nowrap flex shop-cart-item pd-thin radius-medium w-15r bg-main button"},"View menu",-1),M={__name:"CardOrganization",props:{user:String,organization:Object},emits:["updateMembership"],setup(t,{emit:O}){return a.useRouter(),(i,o)=>{var r;return e.openBlock(),e.createElementBlock("div",{class:"bg-grey radius-big o-hidden",onClick:o[1]||(o[1]=n=>i.$router.push({name:"Organization",params:{_id:t.organization._id}}))},[e.createElementVNode("div",d,[t.organization.profile.photo&&t.organization.profile.photo.length>0?(e.openBlock(),e.createElementBlock("img",{key:0,src:(i.FILE_SERVER_URL||"")+t.organization.profile.photo,class:"h-4r w-4r radius-extra bg-white"},null,8,m)):(e.openBlock(),e.createElementBlock("svg",u,f)),e.createElementVNode("div",b,[e.createElementVNode("p",p,[e.createVNode(s.default,{text:t.organization.profile.name?t.organization.profile.name:"",maxLen:16},null,8,["text"])]),t.organization.ratingS?(e.openBlock(),e.createElementBlock("div",k,[e.createElementVNode("span",w,e.toDisplayString(t.organization.types[0]),1),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(5,n=>e.createElementVNode("img",{class:"i-small mn-r-thin",src:n<=t.organization.rating.median?"/icons/star.svg":"/icons/star-stroke.svg"},null,8,E)),64)),e.createElementVNode("span",v,e.toDisplayString(t.organization.rating.median),1),e.createElementVNode("span",x,"("+e.toDisplayString(t.organization.rating.amount)+")",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",null,[e.createElementVNode("p",z,e.toDisplayString(t.organization.numberOfSubscribers)+" followers",1),(r=t.user)!=null&&r._id&&t.organization.owner!==t.user._id?(e.openBlock(),e.createBlock(c.default,{key:0,user:t.user._id,type:"organization",role:"subscriber",target:t.organization._id,status:t.organization.isSubscriber,text:{create:"Follow",remove:"Unfollow"},onUpdateMembership:o[0]||(o[0]=n=>i.handleMembershipUpdate(n,"isSubscriber","numberOfSubscribers")),class:"w-min"},null,8,["user","target","status"])):e.createCommentVNode("",!0)])])]),t.organization.products.length>0?(e.openBlock(),e.createElementBlock("div",V,[e.createElementVNode("div",N,[e.createElementVNode("p",B,e.toDisplayString(t.organization.products.length)+" items: ",1),y,C]),e.createElementVNode("div",S,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.organization.products,n=>(e.openBlock(),e.createBlock(l.default,{onClick:e.withModifiers(q=>i.$router.push({name:"Product Organization",params:{_id:t.organization._id,product:n._id}}),["stop"]),key:n._id,editable:!1,product:n,class:"pd-thin radius-medium w-15r br-solid br-grey br-1px bg-white mn-r-thin"},null,8,["onClick","product"]))),128)),_])])):e.createCommentVNode("",!0)])}}};exports.default=M;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),a=require("vue-router"),l=require("../../../orders/components/blocks/CardOrderItem.vue.cjs"),s=require("../../../../components/Text/Text.vue.cjs"),c=require("../elements/ButtonToggleMembership.vue.cjs"),d={class:"pd-medium flex-v-center flex-nowrap flex"},m=["src"],u={key:1,class:"h-4r w-4r radius-extra",width:"42",height:"42",viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg"},g=e.createElementVNode("circle",{fill:"rgb(var(--main))",cx:"21",cy:"21",r:"21"},null,-1),h=e.createElementVNode("path",{fill:"#242424","fill-opacity":"0.1","fill-rule":"evenodd","clip-rule":"evenodd",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"},null,-1),b=[g,h],f={class:"flex-child-1 flex-child mn-l-small w-100"},p={class:"h3 mn-r-semi mn-b-thin"},k={key:0,class:"w-max star-container flex-v-center flex"},w={class:"mn-r-thin pd-r-thin pd-l-thin pd-micro radius-small t-semi uppercase bg-main p-small"},E=["src"],v={class:"p-small t-semi mn-r-thin"},x={class:"p-small"},z={class:"mn-b-thin"},V={key:0,class:"pd-medium"},N={class:"mn-b-small w-100 flex-nowrap flex flex-v-center pd-small bg-white radius-medium"},B={class:"t-black p-medium t-semi"},y=e.createElementVNode("span",{class:"mn-r-small"},"30-60min",-1),C=e.createElementVNode("span",{class:"mn-r-auto"},"$50 min",-1),S={class:"d-block o-scroll flex-nowrap flex"},_=e.createElementVNode("button",{class:"flex-center flex-nowrap flex shop-cart-item pd-thin radius-medium w-15r bg-main button"},"View menu",-1),M={__name:"CardOrganization",props:{user:String,organization:Object},emits:["updateMembership"],setup(t,{emit:O}){return a.useRouter(),(i,o)=>{var r;return e.openBlock(),e.createElementBlock("div",{class:"bg-grey radius-big o-hidden",onClick:o[1]||(o[1]=n=>i.$router.push({name:"Organization",params:{_id:t.organization._id}}))},[e.createElementVNode("div",d,[t.organization.profile.photo&&t.organization.profile.photo.length>0?(e.openBlock(),e.createElementBlock("img",{key:0,src:(i.FILE_SERVER_URL||"")+t.organization.profile.photo,class:"h-4r w-4r radius-extra bg-white"},null,8,m)):(e.openBlock(),e.createElementBlock("svg",u,b)),e.createElementVNode("div",f,[e.createElementVNode("p",p,[e.createVNode(s.default,{text:t.organization.profile.name?t.organization.profile.name:"",maxLen:16},null,8,["text"])]),t.organization.ratingS?(e.openBlock(),e.createElementBlock("div",k,[e.createElementVNode("span",w,e.toDisplayString(t.organization.types[0]),1),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(5,n=>e.createElementVNode("img",{class:"i-small mn-r-thin",src:n<=t.organization.rating.median?"/icons/star.svg":"/icons/star-stroke.svg"},null,8,E)),64)),e.createElementVNode("span",v,e.toDisplayString(t.organization.rating.median),1),e.createElementVNode("span",x,"("+e.toDisplayString(t.organization.rating.amount)+")",1)])):e.createCommentVNode("",!0),e.createElementVNode("div",null,[e.createElementVNode("p",z,e.toDisplayString(t.organization.numberOfSubscribers)+" followers",1),(r=t.user)!=null&&r._id&&t.organization.owner!==t.user._id?(e.openBlock(),e.createBlock(c.default,{key:0,user:t.user._id,type:"organization",role:"subscriber",target:t.organization._id,status:t.organization.isSubscriber,text:{create:"Follow",remove:"Unfollow"},onUpdateMembership:o[0]||(o[0]=n=>i.handleMembershipUpdate(n,"isSubscriber","numberOfSubscribers")),class:"w-min"},null,8,["user","target","status"])):e.createCommentVNode("",!0)])])]),t.organization.products.length>0?(e.openBlock(),e.createElementBlock("div",V,[e.createElementVNode("div",N,[e.createElementVNode("p",B,e.toDisplayString(t.organization.products.length)+" items: ",1),y,C]),e.createElementVNode("div",S,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.organization.products,n=>(e.openBlock(),e.createBlock(l.default,{onClick:e.withModifiers(q=>i.$router.push({name:"Product Organization",params:{_id:t.organization._id,product:n._id}}),["stop"]),key:n._id,editable:!1,product:n,class:"pd-thin radius-medium w-15r br-solid br-grey br-1px bg-white mn-r-thin"},null,8,["onClick","product"]))),128)),_])])):e.createCommentVNode("",!0)])}}};exports.default=M;
@@ -25,13 +25,13 @@ const x = { class: "pd-medium flex-v-center flex-nowrap flex" }, z = ["src"], v
25
25
  }, null, -1), C = [
26
26
  _,
27
27
  k
28
- ], y = { class: "flex-child-1 flex-child mn-l-small w-100" }, S = { class: "h3 mn-r-semi mn-thin" }, $ = {
28
+ ], y = { class: "flex-child-1 flex-child mn-l-small w-100" }, S = { class: "h3 mn-r-semi mn-b-thin" }, $ = {
29
29
  key: 0,
30
30
  class: "w-max star-container flex-v-center flex"
31
- }, M = { class: "mn-r-thin pd-r-thin pd-l-thin pd-micro radius-small t-semi uppercase bg-main p-small" }, O = ["src"], E = { class: "p-small t-semi mn-r-thin" }, V = { class: "p-small" }, B = { class: "mn-thin" }, L = {
31
+ }, M = { class: "mn-r-thin pd-r-thin pd-l-thin pd-micro radius-small t-semi uppercase bg-main p-small" }, O = ["src"], E = { class: "p-small t-semi mn-r-thin" }, V = { class: "p-small" }, B = { class: "mn-b-thin" }, L = {
32
32
  key: 0,
33
33
  class: "pd-medium"
34
- }, R = { class: "mn-small w-100 flex-nowrap flex flex-v-center pd-small bg-white radius-medium" }, U = { class: "t-black p-medium t-semi" }, F = /* @__PURE__ */ e("span", { class: "mn-r-small" }, "30-60min", -1), N = /* @__PURE__ */ e("span", { class: "mn-r-auto" }, "$50 min", -1), Z = { class: "d-block o-scroll flex-nowrap flex" }, j = /* @__PURE__ */ e("button", { class: "flex-center flex-nowrap flex shop-cart-item pd-thin radius-medium w-15r bg-main button" }, "View menu", -1), J = {
34
+ }, R = { class: "mn-b-small w-100 flex-nowrap flex flex-v-center pd-small bg-white radius-medium" }, U = { class: "t-black p-medium t-semi" }, F = /* @__PURE__ */ e("span", { class: "mn-r-small" }, "30-60min", -1), N = /* @__PURE__ */ e("span", { class: "mn-r-auto" }, "$50 min", -1), Z = { class: "d-block o-scroll flex-nowrap flex" }, j = /* @__PURE__ */ e("button", { class: "flex-center flex-nowrap flex shop-cart-item pd-thin radius-medium w-15r bg-main button" }, "View menu", -1), J = {
35
35
  __name: "CardOrganization",
36
36
  props: {
37
37
  user: String,
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),l={class:"mn-small w-100"},a=["href"],n=e.createElementVNode("span",{class:"t-semi uppercase"},"Website",-1),c=[n],i=["href"],d=e.createElementVNode("span",{class:"t-semi uppercase"},"Phone",-1),p=[d],m=["href"],u=e.createElementVNode("span",{class:"t-semi uppercase"},"Email",-1),_=[u],h=["href"],f=e.createElementVNode("span",{class:"t-semi uppercase"},"Address",-1),b=[f],w={__name:"Contacts",props:{website:String,phone:String,email:String,address:String},setup(o){const t=o,s=e.computed(()=>t.website?!t.website.startsWith("http://")&&!t.website.startsWith("https://")?`http://${t.website}`:t.website:null),r=e.computed(()=>t.address?encodeURIComponent(t.address):null);return(k,x)=>(e.openBlock(),e.createElementBlock("div",l,[s.value?(e.openBlock(),e.createElementBlock("a",{key:0,href:s.value,target:"_blank",class:"w-100 br-2px br-solid br-grey radius-small pd-small flex-v-center flex-nowrap flex"},c,8,a)):e.createCommentVNode("",!0),t.phone?(e.openBlock(),e.createElementBlock("a",{key:1,href:`tel:${t.phone}`,class:"w-100 br-2px br-solid br-grey radius-small pd-small flex-v-center flex-nowrap flex"},p,8,i)):e.createCommentVNode("",!0),t.email?(e.openBlock(),e.createElementBlock("a",{key:2,href:`mailto:${t.email}`,target:"_blank",class:"w-100 br-2px br-solid br-grey radius-small pd-small flex-v-center flex-nowrap flex"},_,8,m)):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("a",{key:3,href:`https://www.google.com/maps/search/?api=1&query=${r.value}`,target:"_blank",class:"w-100 br-2px br-solid br-grey radius-small pd-small flex-v-center flex-nowrap flex"},b,8,h)):e.createCommentVNode("",!0)]))}};exports.default=w;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),l={class:"mn-b-small w-100"},a=["href"],n=e.createElementVNode("span",{class:"t-semi uppercase"},"Website",-1),c=[n],i=["href"],d=e.createElementVNode("span",{class:"t-semi uppercase"},"Phone",-1),p=[d],m=["href"],u=e.createElementVNode("span",{class:"t-semi uppercase"},"Email",-1),_=[u],h=["href"],f=e.createElementVNode("span",{class:"t-semi uppercase"},"Address",-1),b=[f],w={__name:"Contacts",props:{website:String,phone:String,email:String,address:String},setup(o){const t=o,s=e.computed(()=>t.website?!t.website.startsWith("http://")&&!t.website.startsWith("https://")?`http://${t.website}`:t.website:null),r=e.computed(()=>t.address?encodeURIComponent(t.address):null);return(k,x)=>(e.openBlock(),e.createElementBlock("div",l,[s.value?(e.openBlock(),e.createElementBlock("a",{key:0,href:s.value,target:"_blank",class:"w-100 br-2px br-solid br-grey radius-small pd-small flex-v-center flex-nowrap flex"},c,8,a)):e.createCommentVNode("",!0),t.phone?(e.openBlock(),e.createElementBlock("a",{key:1,href:`tel:${t.phone}`,class:"w-100 br-2px br-solid br-grey radius-small pd-small flex-v-center flex-nowrap flex"},p,8,i)):e.createCommentVNode("",!0),t.email?(e.openBlock(),e.createElementBlock("a",{key:2,href:`mailto:${t.email}`,target:"_blank",class:"w-100 br-2px br-solid br-grey radius-small pd-small flex-v-center flex-nowrap flex"},_,8,m)):e.createCommentVNode("",!0),r.value?(e.openBlock(),e.createElementBlock("a",{key:3,href:`https://www.google.com/maps/search/?api=1&query=${r.value}`,target:"_blank",class:"w-100 br-2px br-solid br-grey radius-small pd-small flex-v-center flex-nowrap flex"},b,8,h)):e.createCommentVNode("",!0)]))}};exports.default=w;
@@ -1,5 +1,5 @@
1
1
  import { computed as n, openBlock as s, createElementBlock as t, createCommentVNode as r, createElementVNode as a } from "vue";
2
- const c = { class: "mn-small w-100" }, d = ["href"], p = /* @__PURE__ */ a("span", { class: "t-semi uppercase" }, "Website", -1), _ = [
2
+ const c = { class: "mn-b-small w-100" }, d = ["href"], p = /* @__PURE__ */ a("span", { class: "t-semi uppercase" }, "Website", -1), _ = [
3
3
  p
4
4
  ], h = ["href"], m = /* @__PURE__ */ a("span", { class: "t-semi uppercase" }, "Phone", -1), u = [
5
5
  m
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),f=require("../../../../../../node_modules/vue-select/dist/vue-select.es.cjs");require("../../../../components/Field/Field.vue.cjs");const _=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");require("../../../../components/Select/Select.vue.cjs");require("./DepartmentMemberModify.vue2.cjs");const k={class:"br-grey radius-small mn-small"},v={key:1,class:"pd-small br-grey br-1px br-solid"},y=["disabled"],B={__name:"DepartmentMemberModify",props:{isPopupOpen:Boolean,department:Number,departments:Array,maindepartment:Object,alldepartments:Array},emits:["callback","remove"],setup(u,{emit:m}){const t=u,a=m,n=e.ref({subdepartment:null});t.department!==null&&(n.value=t.departments[t.department]);function d(o,l,r){return o.filter(s=>!(l.some(b=>b._id===s._id)||r._id===s._id))}const c=e.computed(()=>d(t.alldepartments,t.departments,t.maindepartment));async function i(){t.departments.push(n.value.subdepartment),a("callback")}async function p(){t.departments.splice(t.department,1),a("callback")}return(o,l)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",k,[t.department===null?(e.openBlock(),e.createBlock(e.unref(f.default),{key:0,modelValue:n.value.subdepartment,"onUpdate:modelValue":l[0]||(l[0]=r=>n.value.subdepartment=r),options:c.value,"get-option-label":r=>r.name,class:"w-100 mn-small"},null,8,["modelValue","options","get-option-label"])):(e.openBlock(),e.createElementBlock("div",v,e.toDisplayString(n.value.name?n.value.name:"Безымянный"),1))]),t.department===null?(e.openBlock(),e.createElementBlock("button",{key:0,disabled:!n.value.subdepartment,onClick:i,class:"w-100 button bg-second t-white"}," Добавить отдел ",8,y)):e.createCommentVNode("",!0),t.department!==null?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:p,class:"w-100 button bg-fourth t-white"}," Удалить отдел ")):e.createCommentVNode("",!0)]))}},g=_.default(B,[["__scopeId","data-v-21f393e1"]]);exports.default=g;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),f=require("../../../../../../node_modules/vue-select/dist/vue-select.es.cjs");require("../../../../components/Field/Field.vue.cjs");const _=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");require("../../../../components/Select/Select.vue.cjs");require("./DepartmentMemberModify.vue2.cjs");const k={class:"br-grey radius-small mn-b-small"},v={key:1,class:"pd-small br-grey br-1px br-solid"},y=["disabled"],B={__name:"DepartmentMemberModify",props:{isPopupOpen:Boolean,department:Number,departments:Array,maindepartment:Object,alldepartments:Array},emits:["callback","remove"],setup(u,{emit:m}){const t=u,a=m,n=e.ref({subdepartment:null});t.department!==null&&(n.value=t.departments[t.department]);function d(o,l,r){return o.filter(s=>!(l.some(b=>b._id===s._id)||r._id===s._id))}const c=e.computed(()=>d(t.alldepartments,t.departments,t.maindepartment));async function i(){t.departments.push(n.value.subdepartment),a("callback")}async function p(){t.departments.splice(t.department,1),a("callback")}return(o,l)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("div",k,[t.department===null?(e.openBlock(),e.createBlock(e.unref(f.default),{key:0,modelValue:n.value.subdepartment,"onUpdate:modelValue":l[0]||(l[0]=r=>n.value.subdepartment=r),options:c.value,"get-option-label":r=>r.name,class:"w-100 mn-b-small"},null,8,["modelValue","options","get-option-label"])):(e.openBlock(),e.createElementBlock("div",v,e.toDisplayString(n.value.name?n.value.name:"Безымянный"),1))]),t.department===null?(e.openBlock(),e.createElementBlock("button",{key:0,disabled:!n.value.subdepartment,onClick:i,class:"w-100 button bg-second t-white"}," Добавить отдел ",8,y)):e.createCommentVNode("",!0),t.department!==null?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:p,class:"w-100 button bg-fourth t-white"}," Удалить отдел ")):e.createCommentVNode("",!0)]))}},g=_.default(B,[["__scopeId","data-v-5e4dcced"]]);exports.default=g;
@@ -1,10 +1,10 @@
1
- import { ref as v, computed as y, openBlock as r, createElementBlock as l, createElementVNode as k, createBlock as g, unref as h, toDisplayString as w, createCommentVNode as p } from "vue";
1
+ import { ref as v, computed as y, openBlock as r, createElementBlock as l, createElementVNode as k, createBlock as g, unref as h, toDisplayString as w, createCommentVNode as d } from "vue";
2
2
  import D from "../../../../../../node_modules/vue-select/dist/vue-select.es.js";
3
3
  import "../../../../components/Field/Field.vue.js";
4
4
  import M from "../../../../../../_virtual/_plugin-vue_export-helper.js";
5
5
  import "../../../../components/Select/Select.vue.js";
6
6
  import "./DepartmentMemberModify.vue2.js";
7
- const V = { class: "br-grey radius-small mn-small" }, x = {
7
+ const V = { class: "br-grey radius-small mn-b-small" }, x = {
8
8
  key: 1,
9
9
  class: "pd-small br-grey br-1px br-solid"
10
10
  }, B = ["disabled"], C = {
@@ -17,8 +17,8 @@ const V = { class: "br-grey radius-small mn-small" }, x = {
17
17
  alldepartments: Array
18
18
  },
19
19
  emits: ["callback", "remove"],
20
- setup(d, { emit: i }) {
21
- const e = d, o = i, t = v({
20
+ setup(p, { emit: i }) {
21
+ const e = p, o = i, t = v({
22
22
  subdepartment: null
23
23
  });
24
24
  e.department !== null && (t.value = e.departments[e.department]);
@@ -40,7 +40,7 @@ const V = { class: "br-grey radius-small mn-small" }, x = {
40
40
  "onUpdate:modelValue": a[0] || (a[0] = (n) => t.value.subdepartment = n),
41
41
  options: c.value,
42
42
  "get-option-label": (n) => n.name,
43
- class: "w-100 mn-small"
43
+ class: "w-100 mn-b-small"
44
44
  }, null, 8, ["modelValue", "options", "get-option-label"])) : (r(), l("div", x, w(t.value.name ? t.value.name : "Безымянный"), 1))
45
45
  ]),
46
46
  e.department === null ? (r(), l("button", {
@@ -48,15 +48,15 @@ const V = { class: "br-grey radius-small mn-small" }, x = {
48
48
  disabled: !t.value.subdepartment,
49
49
  onClick: b,
50
50
  class: "w-100 button bg-second t-white"
51
- }, " Добавить отдел ", 8, B)) : p("", !0),
51
+ }, " Добавить отдел ", 8, B)) : d("", !0),
52
52
  e.department !== null ? (r(), l("button", {
53
53
  key: 1,
54
54
  onClick: f,
55
55
  class: "w-100 button bg-fourth t-white"
56
- }, " Удалить отдел ")) : p("", !0)
56
+ }, " Удалить отдел ")) : d("", !0)
57
57
  ]));
58
58
  }
59
- }, I = /* @__PURE__ */ M(C, [["__scopeId", "data-v-21f393e1"]]);
59
+ }, I = /* @__PURE__ */ M(C, [["__scopeId", "data-v-5e4dcced"]]);
60
60
  export {
61
61
  I as default
62
62
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../../../node_modules/vue-select/dist/vue-select.es.cjs");const r=require("vue-router");require("./EditArray.vue2.cjs");const m={class:"w-100"},d={class:"flex"},_={class:"mn-regular"},f={class:"flex-column flex-wrap block"},k={key:0,class:"w-100"},h={class:"w-100 flex-center flex-nowrap flex"},v={class:"mn-r-regular w-100"},E=["onClick"],g={key:0,class:"mn-t-small mn-small w-100"},p={__name:"EditArray",props:{name:Object,items:Array},emits:["add","remove"],setup(t,{emit:B}){r.useRouter(),r.useRoute();let s=e.reactive([]);e.toRefs(s);const n=e.ref(null),a=e.ref(null),o=e.ref(null);e.computed(()=>{if(n.value===null||o.value===null||o.value==="")return!0;if(n.value.modifications.length>0)return a.value===null});function u(c){store.commit("leftovers/deleteItemFromLeftover",c)}return(c,w)=>(e.openBlock(),e.createElementBlock("div",m,[e.createElementVNode("div",d,[e.createElementVNode("h3",_,e.toDisplayString(t.name),1)]),e.createElementVNode("ul",f,[t.items.length<1?(e.openBlock(),e.createElementBlock("span",k,"Вы еще не добавили позиции")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.items,(l,i)=>(e.openBlock(),e.createElementBlock("li",{key:l._id,class:"w-100"},[e.createElementVNode("div",h,[e.createElementVNode("span",v,e.toDisplayString(l.name),1),e.createElementVNode("a",{class:"w-20 button",onClick:y=>u(l)},"Удалить",8,E)]),i!=t.items.length-1?(e.openBlock(),e.createElementBlock("hr",g)):e.createCommentVNode("",!0)]))),128))])]))}};exports.default=p;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../../../node_modules/vue-select/dist/vue-select.es.cjs");const r=require("vue-router");require("./EditArray.vue2.cjs");const m={class:"w-100"},d={class:"flex"},_={class:"mn-b-regular"},f={class:"flex-column flex-wrap block"},k={key:0,class:"w-100"},h={class:"w-100 flex-center flex-nowrap flex"},v={class:"mn-r-regular w-100"},E=["onClick"],g={key:0,class:"mn-t-small mn-b-small w-100"},p={__name:"EditArray",props:{name:Object,items:Array},emits:["add","remove"],setup(t,{emit:B}){r.useRouter(),r.useRoute();let s=e.reactive([]);e.toRefs(s);const n=e.ref(null),a=e.ref(null),o=e.ref(null);e.computed(()=>{if(n.value===null||o.value===null||o.value==="")return!0;if(n.value.modifications.length>0)return a.value===null});function u(c){store.commit("leftovers/deleteItemFromLeftover",c)}return(c,w)=>(e.openBlock(),e.createElementBlock("div",m,[e.createElementVNode("div",d,[e.createElementVNode("h3",_,e.toDisplayString(t.name),1)]),e.createElementVNode("ul",f,[t.items.length<1?(e.openBlock(),e.createElementBlock("span",k,"Вы еще не добавили позиции")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.items,(l,i)=>(e.openBlock(),e.createElementBlock("li",{key:l._id,class:"w-100"},[e.createElementVNode("div",h,[e.createElementVNode("span",v,e.toDisplayString(l.name),1),e.createElementVNode("a",{class:"w-20 button",onClick:y=>u(l)},"Удалить",8,E)]),i!=t.items.length-1?(e.openBlock(),e.createElementBlock("hr",g)):e.createCommentVNode("",!0)]))),128))])]))}};exports.default=p;
@@ -2,12 +2,12 @@ import { reactive as h, toRefs as v, ref as o, computed as k, openBlock as t, cr
2
2
  import "../../../../../../node_modules/vue-select/dist/vue-select.es.js";
3
3
  import { useRouter as x, useRoute as g } from "vue-router";
4
4
  import "./EditArray.vue2.js";
5
- const y = { class: "w-100" }, S = { class: "flex" }, b = { class: "mn-regular" }, C = { class: "flex-column flex-wrap block" }, E = {
5
+ const y = { class: "w-100" }, b = { class: "flex" }, S = { class: "mn-b-regular" }, C = { class: "flex-column flex-wrap block" }, E = {
6
6
  key: 0,
7
7
  class: "w-100"
8
8
  }, R = { class: "w-100 flex-center flex-nowrap flex" }, A = { class: "mn-r-regular w-100" }, B = ["onClick"], F = {
9
9
  key: 0,
10
- class: "mn-t-small mn-small w-100"
10
+ class: "mn-t-small mn-b-small w-100"
11
11
  }, $ = {
12
12
  __name: "EditArray",
13
13
  props: {
@@ -30,8 +30,8 @@ const y = { class: "w-100" }, S = { class: "flex" }, b = { class: "mn-regular" }
30
30
  store.commit("leftovers/deleteItemFromLeftover", a);
31
31
  }
32
32
  return (a, L) => (t(), l("div", y, [
33
- e("div", S, [
34
- e("h3", b, i(s.name), 1)
33
+ e("div", b, [
34
+ e("h3", S, i(s.name), 1)
35
35
  ]),
36
36
  e("ul", C, [
37
37
  s.items.length < 1 ? (t(), l("span", E, "Вы еще не добавили позиции")) : m("", !0),
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),l={class:"mn-big radius-medium pd-big bg-white"},a={class:"mn-regular"},c={class:"mn-small t-transp p-medium"},o={__name:"EmptyState",props:{title:{type:String,default:"У вас еще нет организации"},description:{type:String,default:"Для использования сервиса, вам необходимо добавить вашу организацию."},action:{type:String,default:"Создать организацию"},callback:{type:Function,default:()=>{}}},setup(e){return(s,n)=>(t.openBlock(),t.createElementBlock("section",l,[t.createElementVNode("h3",a,t.toDisplayString(e.title),1),t.createElementVNode("p",c,t.toDisplayString(e.description),1),t.createElementVNode("button",{onClick:n[0]||(n[0]=(...i)=>e.callback&&e.callback(...i)),class:"t-white bg-second w-100 button"},t.toDisplayString(e.action),1)]))}};exports.default=o;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),l={class:"mn-b-big radius-medium pd-big bg-white"},a={class:"mn-b-regular"},c={class:"mn-b-small t-transp p-medium"},o={__name:"EmptyState",props:{title:{type:String,default:"У вас еще нет организации"},description:{type:String,default:"Для использования сервиса, вам необходимо добавить вашу организацию."},action:{type:String,default:"Создать организацию"},callback:{type:Function,default:()=>{}}},setup(e){return(s,n)=>(t.openBlock(),t.createElementBlock("section",l,[t.createElementVNode("h3",a,t.toDisplayString(e.title),1),t.createElementVNode("p",c,t.toDisplayString(e.description),1),t.createElementVNode("button",{onClick:n[0]||(n[0]=(...i)=>e.callback&&e.callback(...i)),class:"t-white bg-second w-100 button"},t.toDisplayString(e.action),1)]))}};exports.default=o;
@@ -1,5 +1,5 @@
1
1
  import { openBlock as c, createElementBlock as l, createElementVNode as e, toDisplayString as n } from "vue";
2
- const s = { class: "mn-big radius-medium pd-big bg-white" }, o = { class: "mn-regular" }, d = { class: "mn-small t-transp p-medium" }, u = {
2
+ const s = { class: "mn-b-big radius-medium pd-big bg-white" }, o = { class: "mn-b-regular" }, d = { class: "mn-b-small t-transp p-medium" }, u = {
3
3
  __name: "EmptyState",
4
4
  props: {
5
5
  title: {
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),l={class:"w-100 mn-small star-container flex-v-center flex"},r={class:"p-big t-semi mn-r-small"},s=e.createElementVNode("path",{fill:"#00FF88",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"},null,-1),a=[s],o={class:""},i={__name:"Rating",props:{rating:{type:Number,required:!0},amount:{type:Number,required:!0}},setup(t){return(c,m)=>(e.openBlock(),e.createElementBlock("section",null,[e.createElementVNode("div",l,[e.createElementVNode("span",r,e.toDisplayString(t.rating),1),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(5,n=>e.createElementVNode("svg",{class:e.normalizeClass(["i-semi mn-r-small",{"t-transp":n>t.rating}]),width:"113",height:"108",viewBox:"0 0 113 108",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a,2)),64))]),e.createElementVNode("p",o,"Based on "+e.toDisplayString(t.amount)+" reviews",1)]))}};exports.default=i;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),l={class:"w-100 mn-b-small star-container flex-v-center flex"},r={class:"p-big t-semi mn-r-small"},s=e.createElementVNode("path",{fill:"#00FF88",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"},null,-1),a=[s],o={class:""},i={__name:"Rating",props:{rating:{type:Number,required:!0},amount:{type:Number,required:!0}},setup(t){return(c,m)=>(e.openBlock(),e.createElementBlock("section",null,[e.createElementVNode("div",l,[e.createElementVNode("span",r,e.toDisplayString(t.rating),1),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(5,n=>e.createElementVNode("svg",{class:e.normalizeClass(["i-semi mn-r-small",{"t-transp":n>t.rating}]),width:"113",height:"108",viewBox:"0 0 113 108",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a,2)),64))]),e.createElementVNode("p",o,"Based on "+e.toDisplayString(t.amount)+" reviews",1)]))}};exports.default=i;
@@ -1,5 +1,5 @@
1
1
  import { openBlock as n, createElementBlock as s, createElementVNode as e, toDisplayString as r, Fragment as a, renderList as i, normalizeClass as o } from "vue";
2
- const c = { class: "w-100 mn-small star-container flex-v-center flex" }, m = { class: "p-big t-semi mn-r-small" }, u = /* @__PURE__ */ e("path", {
2
+ const c = { class: "w-100 mn-b-small star-container flex-v-center flex" }, m = { class: "p-big t-semi mn-r-small" }, u = /* @__PURE__ */ e("path", {
3
3
  fill: "#00FF88",
4
4
  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"
5
5
  }, null, -1), d = [
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("vue-router");require("../../../../components/Spoiler/Spoiler.vue.cjs");const m=require("../blocks/DepartmentSub.vue.cjs"),u=require("../blocks/User.vue.cjs"),t=require("../../../spots/store/spots.cjs"),p={class:"for-transition w-100"},_={id:"dash",class:"pd-medium bg-grey"},h={class:"mn-medium radius-medium pd-semi bg-white"},k={class:"flex-nowrap flex mn-small"},g={class:"w-100"},L=e.createElementVNode("path",{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",fill:"black"},null,-1),b=[L],E=["innerHTML"],B={class:"mn-medium radius-medium pd-semi bg-white"},C=e.createElementVNode("h3",{class:"mn-regular"},"Команда",-1),w={key:0},N={class:"mn-medium radius-medium pd-semi bg-white"},V=e.createElementVNode("h3",{class:"mn-regular"},"Подотделы",-1),v={key:0},f={__name:"Department",async setup(y){let r,l;i.useRouter();const c=i.useRoute();return[r,l]=e.withAsyncContext(()=>t.actions.readOne(c.params._id)),await r,l(),(s,a)=>(e.openBlock(),e.createElementBlock("div",p,[e.createElementVNode("div",_,[e.createElementVNode("section",h,[e.createElementVNode("div",k,[e.createElementVNode("h2",g,e.toDisplayString(t.state.department.name),1),(e.openBlock(),e.createElementBlock("svg",{onClick:a[0]||(a[0]=n=>s.$router.push(`/app/organization/departments/${t.state.department._id}/edit`)),class:"i-regular t-transp",width:"652",height:"652",viewBox:"0 0 652 652",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b))]),e.createElementVNode("p",{class:"t-transp p-big",innerHTML:t.state.department.description},null,8,E)]),e.createElementVNode("section",B,[C,e.createElementVNode("ul",null,[t.state.department.members.length<1?(e.openBlock(),e.createElementBlock("li",w,"В отделе еще нет участников")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state.department.members,(n,o)=>(e.openBlock(),e.createBlock(u.default,{class:"br-b br-solid br-grey",key:o,user:n.user,position:n.position,onClick:d=>s.$router.push(`/app/profile/${n.user._id}`)},null,8,["user","position","onClick"]))),128))])]),e.createElementVNode("section",N,[V,e.createElementVNode("ul",null,[t.state.department.subdepartments.length<1?(e.openBlock(),e.createElementBlock("li",v,"В отделе еще нет подотделов")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state.department.subdepartments,(n,o)=>(e.openBlock(),e.createBlock(m.default,{onClick:d=>s.$router.push(`/app/organization/departments/${n._id}`),key:o,class:"br-b br-solid br-grey",department:n},null,8,["onClick","department"]))),128))])])])]))}};exports.default=f;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("vue-router");require("../../../../components/Spoiler/Spoiler.vue.cjs");const m=require("../blocks/DepartmentSub.vue.cjs"),u=require("../blocks/User.vue.cjs"),t=require("../../../spots/store/spots.cjs"),p={class:"for-transition w-100"},_={id:"dash",class:"pd-medium bg-grey"},h={class:"mn-b-medium radius-medium pd-semi bg-white"},k={class:"flex-nowrap flex mn-b-small"},b={class:"w-100"},g=e.createElementVNode("path",{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",fill:"black"},null,-1),L=[g],E=["innerHTML"],B={class:"mn-b-medium radius-medium pd-semi bg-white"},C=e.createElementVNode("h3",{class:"mn-b-regular"},"Команда",-1),w={key:0},N={class:"mn-b-medium radius-medium pd-semi bg-white"},V=e.createElementVNode("h3",{class:"mn-b-regular"},"Подотделы",-1),v={key:0},f={__name:"Department",async setup(y){let r,l;i.useRouter();const c=i.useRoute();return[r,l]=e.withAsyncContext(()=>t.actions.readOne(c.params._id)),await r,l(),(s,a)=>(e.openBlock(),e.createElementBlock("div",p,[e.createElementVNode("div",_,[e.createElementVNode("section",h,[e.createElementVNode("div",k,[e.createElementVNode("h2",b,e.toDisplayString(t.state.department.name),1),(e.openBlock(),e.createElementBlock("svg",{onClick:a[0]||(a[0]=n=>s.$router.push(`/app/organization/departments/${t.state.department._id}/edit`)),class:"i-regular t-transp",width:"652",height:"652",viewBox:"0 0 652 652",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L))]),e.createElementVNode("p",{class:"t-transp p-big",innerHTML:t.state.department.description},null,8,E)]),e.createElementVNode("section",B,[C,e.createElementVNode("ul",null,[t.state.department.members.length<1?(e.openBlock(),e.createElementBlock("li",w,"В отделе еще нет участников")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state.department.members,(n,o)=>(e.openBlock(),e.createBlock(u.default,{class:"br-b br-solid br-grey",key:o,user:n.user,position:n.position,onClick:d=>s.$router.push(`/app/profile/${n.user._id}`)},null,8,["user","position","onClick"]))),128))])]),e.createElementVNode("section",N,[V,e.createElementVNode("ul",null,[t.state.department.subdepartments.length<1?(e.openBlock(),e.createElementBlock("li",v,"В отделе еще нет подотделов")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state.department.subdepartments,(n,o)=>(e.openBlock(),e.createBlock(m.default,{onClick:d=>s.$router.push(`/app/organization/departments/${n._id}`),key:o,class:"br-b br-solid br-grey",department:n},null,8,["onClick","department"]))),128))])])])]))}};exports.default=f;
@@ -1,5 +1,5 @@
1
- import { withAsyncContext as g, openBlock as t, createElementBlock as r, createElementVNode as e, toDisplayString as L, createCommentVNode as m, Fragment as p, renderList as u, createBlock as c } from "vue";
2
- import { useRouter as b, useRoute as C } from "vue-router";
1
+ import { withAsyncContext as b, openBlock as t, createElementBlock as r, createElementVNode as e, toDisplayString as g, createCommentVNode as m, Fragment as p, renderList as u, createBlock as c } from "vue";
2
+ import { useRouter as L, useRoute as C } from "vue-router";
3
3
  import "../../../../components/Spoiler/Spoiler.vue.js";
4
4
  import w from "../blocks/DepartmentSub.vue.js";
5
5
  import f from "../blocks/User.vue.js";
@@ -7,22 +7,22 @@ import { actions as k, state as n } from "../../../spots/store/spots.js";
7
7
  const y = { class: "for-transition w-100" }, v = {
8
8
  id: "dash",
9
9
  class: "pd-medium bg-grey"
10
- }, $ = { class: "mn-medium radius-medium pd-semi bg-white" }, M = { class: "flex-nowrap flex mn-small" }, x = { class: "w-100" }, B = /* @__PURE__ */ e("path", {
10
+ }, $ = { class: "mn-b-medium radius-medium pd-semi bg-white" }, M = { class: "flex-nowrap flex mn-b-small" }, x = { class: "w-100" }, B = /* @__PURE__ */ e("path", {
11
11
  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",
12
12
  fill: "black"
13
13
  }, null, -1), Z = [
14
14
  B
15
- ], D = ["innerHTML"], H = { class: "mn-medium radius-medium pd-semi bg-white" }, z = /* @__PURE__ */ e("h3", { class: "mn-regular" }, "Команда", -1), E = { key: 0 }, N = { class: "mn-medium radius-medium pd-semi bg-white" }, R = /* @__PURE__ */ e("h3", { class: "mn-regular" }, "Подотделы", -1), S = { key: 0 }, q = {
15
+ ], D = ["innerHTML"], H = { class: "mn-b-medium radius-medium pd-semi bg-white" }, z = /* @__PURE__ */ e("h3", { class: "mn-b-regular" }, "Команда", -1), E = { key: 0 }, N = { class: "mn-b-medium radius-medium pd-semi bg-white" }, R = /* @__PURE__ */ e("h3", { class: "mn-b-regular" }, "Подотделы", -1), S = { key: 0 }, q = {
16
16
  __name: "Department",
17
17
  async setup(T) {
18
18
  let a, l;
19
- b();
19
+ L();
20
20
  const _ = C();
21
- return [a, l] = g(() => k.readOne(_.params._id)), await a, l(), (i, d) => (t(), r("div", y, [
21
+ return [a, l] = b(() => k.readOne(_.params._id)), await a, l(), (i, d) => (t(), r("div", y, [
22
22
  e("div", v, [
23
23
  e("section", $, [
24
24
  e("div", M, [
25
- e("h2", x, L(n.department.name), 1),
25
+ e("h2", x, g(n.department.name), 1),
26
26
  (t(), r("svg", {
27
27
  onClick: d[0] || (d[0] = (s) => i.$router.push(`/app/organization/departments/${n.department._id}/edit`)),
28
28
  class: "i-regular t-transp",
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router");require("../../../../../../node_modules/js-cookie/src/js.cookie.cjs");const v=require("../../../../components/Breadcrumbs/Breadcrumbs.vue2.cjs"),N=require("../../../../components/UploadImage/UploadImage.vue.cjs");require("../../../../components/Tab/Tab.vue.cjs");const m=require("../../../../components/Field/Field.vue2.cjs");require("../../../../components/Select/Select.vue.cjs");const V=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),r=require("../../../../components/Checkbox/Checkbox.vue.cjs"),g=require("../../../../components/Address/Address.vue.cjs"),y=require("../../../../components/LocationMarker/LocationMarker.vue.cjs"),c=require("../../../../components/Button/Button.vue2.cjs");require("vue-i18n");require("../../../../components/Popup/Popup.vue.cjs");require("../../../../../../node_modules/vue-select/dist/vue-select.es.cjs");require("../blocks/EditArray.vue2.cjs");require("../blocks/DepartmentSub.vue2.cjs");require("../blocks/DepartmentMemberModify.vue2.cjs");require("../blocks/User.vue2.cjs");const t=require("../../../spots/store/spots.cjs"),p=require("../../store/memberships.cjs");require("./DepartmentEdit.vue2.cjs");const l=i=>(e.pushScopeId("data-v-6a9ce43d"),i=i(),e.popScopeId(),i),w={class:"for-transition w-100"},E={class:"pd-b-zero pd-t-zero pd-thin"},q={class:"pd-thin"},x={class:"flex-nowrap flex bg-grey pd-medium radius-big"},k={key:0,class:"mn-r-auto"},P={key:1,class:"mn-r-auto"},S={class:"flex-nowrap flex pd-thin"},D={class:"pd-b-zero pd-t-zero pd-thin cols-2 gap-thin"},B={class:"flex-stretch flex-column flex"},U={class:"mn-thin bg-grey pd-medium o-hidden radius-big"},z=l(()=>e.createElementVNode("h3",{class:"mn-semi"},"Profile",-1)),I={class:"radius-small flex-nowrap flex"},O={class:"w-100 flex-child-grow-1 flex-child"},A={class:"bg-grey pd-medium o-hidden radius-big"},C=l(()=>e.createElementVNode("h3",{class:"mn-semi"},"Details",-1)),K=l(()=>e.createElementVNode("p",{class:"p-medium mn-small"},"Please the available delivery options:",-1)),T={class:"mn-medium flex-nowrap flex"},M=l(()=>e.createElementVNode("p",{class:"p-medium mn-small"},"Please select the available payment methods:",-1)),G={class:"flex-nowrap flex"},L={class:"bg-grey pd-medium o-hidden radius-big"},R=l(()=>e.createElementVNode("h3",{class:"mn-semi"},"Location",-1)),Y=l(()=>e.createElementVNode("p",{class:"mn-small p-medium"},"Or choose on map:",-1)),j={class:"flex-nowrap flex pd-thin"},F={__name:"DepartmentEdit",setup(i){const u=n.useRouter(),d=n.useRoute();e.ref("details"),e.ref(!1);async function f(){d.params.department&&await p.actions.read(d.params.department),e.ref(p.state.memberships),await t.actions.read(d.params._id),d.params.department&&await t.actions.readOne(d.params.department)}f(),e.ref(t.state.department.members),e.ref(!1),e.ref(null),e.ref(!1),e.ref(null);async function h(){d.params.department&&await t.actions.update(d.params._id,t.state.department),d.params.department||await t.actions.create(d.params._id,t.state.department)}function _(){u.replace({name:"Department",params:{_id:d.params._id,department:t.state.department._id}})}async function b(){await t.actions.delete(d.params._id,t.state.department)}return(o,a)=>(e.openBlock(),e.createElementBlock("div",w,[e.createElementVNode("div",E,[e.createVNode(v.default,{class:"pd-medium bg-grey radius-big"})]),e.createElementVNode("div",q,[e.createElementVNode("header",x,[e.unref(d).params.department?(e.openBlock(),e.createElementBlock("h1",k,"Edit Spot")):(e.openBlock(),e.createElementBlock("h1",P,"Create Spot")),e.createElementVNode("section",S,[e.createVNode(c.default,{submit:h,callback:_},{default:e.withCtx(()=>[e.createTextVNode("Save Spot")]),_:1})])])]),e.createElementVNode("div",D,[e.createElementVNode("div",B,[e.createElementVNode("div",U,[z,e.createElementVNode("div",I,[e.createVNode(N.default,{photo:t.state.department.profile.photo,"onUpdate:photo":a[0]||(a[0]=s=>t.state.department.profile.photo=s),uploadPath:"organizations/"+t.state.department.name+"/avatars",class:"w-8r aspect-1x1 o-hidden mn-r-small radius-extra"},null,8,["photo","uploadPath"]),e.createElementVNode("div",O,[e.createVNode(m.default,{field:t.state.department.profile.name,"onUpdate:field":a[1]||(a[1]=s=>t.state.department.profile.name=s),label:"Name",placeholder:"Spot Name",class:"mn-small bg-white radius-small pd-medium",validation:o.organizationName},null,8,["field","validation"]),e.createVNode(m.default,{field:t.state.department.profile.description,"onUpdate:field":a[2]||(a[2]=s=>t.state.department.profile.description=s),label:"Description",placeholder:"Spot description (max 120 symbols)",class:"bg-white radius-small pd-medium",validation:o.organizationName},null,8,["field","validation"])])])]),e.createElementVNode("div",A,[C,K,e.createElementVNode("div",T,[e.createVNode(r.default,{label:"Pickup",name:"Delivery",value:"pickup",class:"w-100 mn-r-small bg-white radius-small pd-small",radio:t.state.department.delivery},null,8,["radio"]),e.createVNode(r.default,{label:"Delivery",name:"Delivery",value:"courier",class:"w-100 mn-r-small bg-white radius-small pd-small",radio:t.state.department.delivery},null,8,["radio"]),e.createVNode(r.default,{label:"Post",name:"Delivery",value:"post",class:"w-100 bg-white radius-small pd-small",radio:t.state.department.delivery},null,8,["radio"])]),M,e.createElementVNode("div",G,[e.createVNode(r.default,{label:"Cash",name:"Payment",value:"cash",class:"w-100 mn-r-small bg-white radius-small pd-small",radio:t.state.department.payment},null,8,["radio"]),e.createVNode(r.default,{label:"Bank Transfer",name:"Payment",value:"bank",class:"w-100 mn-r-small bg-white radius-small pd-small",radio:t.state.department.payment},null,8,["radio"]),e.createVNode(r.default,{label:"Crypto",name:"Payment",value:"crypto",class:"w-100 bg-white radius-small pd-small",radio:t.state.department.payment},null,8,["radio"])])])]),e.createElementVNode("div",L,[R,e.createVNode(g.default,{apiKey:o.GOOGLE_MAPS_API_KEY,address:t.state.department.address,location:t.state.department.location,label:"Address",placeholder:"Enter delivery address",class:"bg-white radius-small pd-small mn-small","onUpdate:location":a[3]||(a[3]=s=>{t.state.department.location=s}),"onUpdate:address":a[4]||(a[4]=s=>{t.state.department.address=s})},null,8,["apiKey","address","location"]),Y,e.createVNode(y.default,{address:t.state.department.address,location:t.state.department.location,apiKey:o.GOOGLE_MAPS_API_KEY,class:"radius-big o-hidden","onUpdate:location":a[5]||(a[5]=s=>{t.state.department.location=s}),"onUpdate:address":a[6]||(a[6]=s=>{t.state.department.address=s})},null,8,["address","location","apiKey"])])]),e.createElementVNode("section",j,[e.createVNode(c.default,{submit:b,callback:o.redirectToDash,class:"bg-grey"},{default:e.withCtx(()=>[e.createTextVNode("Delete Spot")]),_:1},8,["callback"])])]))}},H=V.default(F,[["__scopeId","data-v-6a9ce43d"]]);exports.default=H;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router");require("../../../../../../node_modules/js-cookie/src/js.cookie.cjs");const v=require("../../../../components/Breadcrumbs/Breadcrumbs.vue2.cjs"),N=require("../../../../components/UploadImage/UploadImage.vue.cjs");require("../../../../components/Tab/Tab.vue.cjs");const m=require("../../../../components/Field/Field.vue2.cjs");require("../../../../components/Select/Select.vue.cjs");const V=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),r=require("../../../../components/Checkbox/Checkbox.vue.cjs"),g=require("../../../../components/Address/Address.vue.cjs"),y=require("../../../../components/LocationMarker/LocationMarker.vue.cjs"),p=require("../../../../components/Button/Button.vue2.cjs");require("vue-i18n");require("../../../../components/Popup/Popup.vue2.cjs");require("../../../../../../node_modules/vue-select/dist/vue-select.es.cjs");require("../blocks/EditArray.vue2.cjs");require("../blocks/DepartmentSub.vue2.cjs");require("../blocks/DepartmentMemberModify.vue2.cjs");require("../blocks/User.vue2.cjs");const t=require("../../../spots/store/spots.cjs"),c=require("../../store/memberships.cjs");require("./DepartmentEdit.vue2.cjs");const l=i=>(e.pushScopeId("data-v-d4f32aeb"),i=i(),e.popScopeId(),i),w={class:"for-transition w-100"},E={class:"pd-b-zero pd-t-zero pd-thin"},q={class:"pd-thin"},x={class:"flex-nowrap flex bg-grey pd-medium radius-big"},k={key:0,class:"mn-r-auto"},P={key:1,class:"mn-r-auto"},S={class:"flex-nowrap flex pd-thin"},D={class:"pd-b-zero pd-t-zero pd-thin cols-2 gap-thin"},B={class:"flex-stretch flex-column flex"},U={class:"mn-b-thin bg-grey pd-medium o-hidden radius-big"},z=l(()=>e.createElementVNode("h3",{class:"mn-b-semi"},"Profile",-1)),I={class:"radius-small flex-nowrap flex"},O={class:"w-100 flex-child-grow-1 flex-child"},A={class:"bg-grey pd-medium o-hidden radius-big"},C=l(()=>e.createElementVNode("h3",{class:"mn-b-semi"},"Details",-1)),K=l(()=>e.createElementVNode("p",{class:"p-medium mn-b-small"},"Please the available delivery options:",-1)),T={class:"mn-b-medium flex-nowrap flex"},M=l(()=>e.createElementVNode("p",{class:"p-medium mn-b-small"},"Please select the available payment methods:",-1)),G={class:"flex-nowrap flex"},L={class:"bg-grey pd-medium o-hidden radius-big"},R=l(()=>e.createElementVNode("h3",{class:"mn-b-semi"},"Location",-1)),Y=l(()=>e.createElementVNode("p",{class:"mn-b-small p-medium"},"Or choose on map:",-1)),j={class:"flex-nowrap flex pd-thin"},F={__name:"DepartmentEdit",setup(i){const u=n.useRouter(),d=n.useRoute();e.ref("details"),e.ref(!1);async function f(){d.params.department&&await c.actions.read(d.params.department),e.ref(c.state.memberships),await t.actions.read(d.params._id),d.params.department&&await t.actions.readOne(d.params.department)}f(),e.ref(t.state.department.members),e.ref(!1),e.ref(null),e.ref(!1),e.ref(null);async function h(){d.params.department&&await t.actions.update(d.params._id,t.state.department),d.params.department||await t.actions.create(d.params._id,t.state.department)}function b(){u.replace({name:"Department",params:{_id:d.params._id,department:t.state.department._id}})}async function _(){await t.actions.delete(d.params._id,t.state.department)}return(o,a)=>(e.openBlock(),e.createElementBlock("div",w,[e.createElementVNode("div",E,[e.createVNode(v.default,{class:"pd-medium bg-grey radius-big"})]),e.createElementVNode("div",q,[e.createElementVNode("header",x,[e.unref(d).params.department?(e.openBlock(),e.createElementBlock("h1",k,"Edit Spot")):(e.openBlock(),e.createElementBlock("h1",P,"Create Spot")),e.createElementVNode("section",S,[e.createVNode(p.default,{submit:h,callback:b},{default:e.withCtx(()=>[e.createTextVNode("Save Spot")]),_:1})])])]),e.createElementVNode("div",D,[e.createElementVNode("div",B,[e.createElementVNode("div",U,[z,e.createElementVNode("div",I,[e.createVNode(N.default,{photo:t.state.department.profile.photo,"onUpdate:photo":a[0]||(a[0]=s=>t.state.department.profile.photo=s),uploadPath:"organizations/"+t.state.department.name+"/avatars",class:"w-8r aspect-1x1 o-hidden mn-r-small radius-extra"},null,8,["photo","uploadPath"]),e.createElementVNode("div",O,[e.createVNode(m.default,{field:t.state.department.profile.name,"onUpdate:field":a[1]||(a[1]=s=>t.state.department.profile.name=s),label:"Name",placeholder:"Spot Name",class:"mn-b-small bg-white radius-small pd-medium",validation:o.organizationName},null,8,["field","validation"]),e.createVNode(m.default,{field:t.state.department.profile.description,"onUpdate:field":a[2]||(a[2]=s=>t.state.department.profile.description=s),label:"Description",placeholder:"Spot description (max 120 symbols)",class:"bg-white radius-small pd-medium",validation:o.organizationName},null,8,["field","validation"])])])]),e.createElementVNode("div",A,[C,K,e.createElementVNode("div",T,[e.createVNode(r.default,{label:"Pickup",name:"Delivery",value:"pickup",class:"w-100 mn-r-small bg-white radius-small pd-small",radio:t.state.department.delivery},null,8,["radio"]),e.createVNode(r.default,{label:"Delivery",name:"Delivery",value:"courier",class:"w-100 mn-r-small bg-white radius-small pd-small",radio:t.state.department.delivery},null,8,["radio"]),e.createVNode(r.default,{label:"Post",name:"Delivery",value:"post",class:"w-100 bg-white radius-small pd-small",radio:t.state.department.delivery},null,8,["radio"])]),M,e.createElementVNode("div",G,[e.createVNode(r.default,{label:"Cash",name:"Payment",value:"cash",class:"w-100 mn-r-small bg-white radius-small pd-small",radio:t.state.department.payment},null,8,["radio"]),e.createVNode(r.default,{label:"Bank Transfer",name:"Payment",value:"bank",class:"w-100 mn-r-small bg-white radius-small pd-small",radio:t.state.department.payment},null,8,["radio"]),e.createVNode(r.default,{label:"Crypto",name:"Payment",value:"crypto",class:"w-100 bg-white radius-small pd-small",radio:t.state.department.payment},null,8,["radio"])])])]),e.createElementVNode("div",L,[R,e.createVNode(g.default,{apiKey:o.GOOGLE_MAPS_API_KEY,address:t.state.department.address,location:t.state.department.location,label:"Address",placeholder:"Enter delivery address",class:"bg-white radius-small pd-small mn-b-small","onUpdate:location":a[3]||(a[3]=s=>{t.state.department.location=s}),"onUpdate:address":a[4]||(a[4]=s=>{t.state.department.address=s})},null,8,["apiKey","address","location"]),Y,e.createVNode(y.default,{address:t.state.department.address,location:t.state.department.location,apiKey:o.GOOGLE_MAPS_API_KEY,class:"radius-big o-hidden","onUpdate:location":a[5]||(a[5]=s=>{t.state.department.location=s}),"onUpdate:address":a[6]||(a[6]=s=>{t.state.department.address=s})},null,8,["address","location","apiKey"])])]),e.createElementVNode("section",j,[e.createVNode(p.default,{submit:_,callback:o.redirectToDash,class:"bg-grey"},{default:e.withCtx(()=>[e.createTextVNode("Delete Spot")]),_:1},8,["callback"])])]))}},H=V.default(F,[["__scopeId","data-v-d4f32aeb"]]);exports.default=H;