@ozdao/prometheus-framework 0.1.99 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (292) hide show
  1. package/dist/main.css +1 -1
  2. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.cjs +1 -1
  3. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.js +5 -5
  4. package/dist/prometheus-framework/src/components/EmptyState/EmptyState.vue.cjs +1 -1
  5. package/dist/prometheus-framework/src/components/EmptyState/EmptyState.vue.js +1 -1
  6. package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
  7. package/dist/prometheus-framework/src/components/Field/Field.vue2.js +2 -2
  8. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +1 -1
  9. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +10 -10
  10. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
  11. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +12 -12
  12. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  13. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +15 -15
  14. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  15. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +8 -8
  16. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
  17. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +14 -14
  18. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  19. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +14 -14
  20. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  21. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +9 -9
  22. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue.cjs +1 -1
  23. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue.js +4 -4
  24. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  25. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  26. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  27. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +8 -8
  28. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  29. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  30. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  31. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +10 -10
  32. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  33. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +4 -4
  34. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
  35. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +9 -9
  36. package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.cjs +1 -1
  37. package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.js +8 -8
  38. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs +1 -1
  39. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js +3 -3
  40. package/dist/prometheus-framework/src/modules/community/components/sections/SubscribeNewsletter.vue.cjs +1 -1
  41. package/dist/prometheus-framework/src/modules/community/components/sections/SubscribeNewsletter.vue.js +3 -3
  42. package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.cjs +1 -1
  43. package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.js +2 -2
  44. package/dist/prometheus-framework/src/modules/constructor/components/elements/Bullets.vue.cjs +1 -1
  45. package/dist/prometheus-framework/src/modules/constructor/components/elements/Bullets.vue.js +4 -4
  46. package/dist/prometheus-framework/src/modules/constructor/components/elements/Caption.vue.cjs +1 -1
  47. package/dist/prometheus-framework/src/modules/constructor/components/elements/Caption.vue.js +1 -1
  48. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
  49. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +2 -2
  50. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.cjs +1 -1
  51. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.js +5 -5
  52. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.cjs +1 -1
  53. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.js +20 -11
  54. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
  55. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +1 -1
  56. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -1
  57. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +3 -3
  58. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  59. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +12 -12
  60. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  61. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +11 -11
  62. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
  63. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
  64. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  65. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +18 -18
  66. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -1
  67. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +6 -6
  68. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
  69. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +7 -7
  70. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
  71. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +4 -4
  72. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  73. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +10 -10
  74. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  75. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +13 -13
  76. package/dist/prometheus-framework/src/modules/globals/components/sections/Feed.vue.cjs +1 -1
  77. package/dist/prometheus-framework/src/modules/globals/components/sections/Feed.vue.js +4 -4
  78. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
  79. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +3 -3
  80. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  81. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +6 -6
  82. package/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.cjs +1 -1
  83. package/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.js +2 -2
  84. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +1 -1
  85. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.js +1 -1
  86. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
  87. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +8 -8
  88. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  89. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +3 -3
  90. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs +1 -1
  91. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js +1 -1
  92. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  93. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +8 -8
  94. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.cjs +1 -1
  95. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue.js +4 -4
  96. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EmptyState.vue.cjs +1 -1
  97. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EmptyState.vue.js +1 -1
  98. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.cjs +1 -1
  99. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.js +1 -1
  100. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
  101. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +7 -7
  102. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  103. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +5 -5
  104. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  105. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +2 -2
  106. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  107. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +13 -13
  108. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  109. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +7 -7
  110. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  111. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +5 -5
  112. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  113. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +14 -14
  114. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
  115. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +8 -8
  116. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.cjs +1 -1
  117. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.js +5 -5
  118. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  119. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +5 -5
  120. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.cjs +1 -1
  121. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.js +7 -7
  122. package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.js +2 -2
  123. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
  124. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +4 -4
  125. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  126. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +5 -5
  127. package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs +1 -1
  128. package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js +2 -2
  129. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  130. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +4 -4
  131. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  132. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +8 -8
  133. package/dist/prometheus-framework/src/modules/spots/components/sections/Feed.vue.cjs +1 -1
  134. package/dist/prometheus-framework/src/modules/spots/components/sections/Feed.vue.js +5 -5
  135. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  136. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +7 -7
  137. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  138. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +6 -6
  139. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  140. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +18 -18
  141. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
  142. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +5 -5
  143. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileOrganizations.vue.cjs +1 -1
  144. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileOrganizations.vue.js +9 -9
  145. package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.cjs +1 -1
  146. package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.js +1 -1
  147. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
  148. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +8 -8
  149. package/dist/prometheus-framework.cjs.js +1 -1
  150. package/dist/prometheus-framework.es.js +2 -2
  151. package/dist/style.css +1 -1
  152. package/package.json +1 -1
  153. package/src/components/EditImages/EditImages.vue +3 -3
  154. package/src/components/EmptyState/EmptyState.vue +2 -2
  155. package/src/components/Field/Field.svlt +1 -1
  156. package/src/components/Field/Field.vue +1 -1
  157. package/src/components/FieldTags/BlockTags.vue +4 -4
  158. package/src/components/Footer/Footer.vue +8 -8
  159. package/src/components/LocationSelection/LocationSelection.vue +4 -4
  160. package/src/components/Search/Search.vue +3 -3
  161. package/src/configurator/components/layouts/layoutConfigurator.vue +2 -2
  162. package/src/configurator/components/pages/Styles.vue +3 -3
  163. package/src/modules/auth/components/pages/EnterCode.vue +4 -4
  164. package/src/modules/auth/components/pages/EnterPassword.vue +9 -9
  165. package/src/modules/auth/components/pages/Invite.vue +6 -6
  166. package/src/modules/auth/components/pages/ResetPassword.vue +10 -10
  167. package/src/modules/auth/components/pages/SignIn.vue +11 -11
  168. package/src/modules/auth/components/pages/SignUp.vue +11 -11
  169. package/src/modules/auth/components/sections/SliderFeatures.vue +2 -2
  170. package/src/modules/backoffice/components/admin/Categories.vue +2 -2
  171. package/src/modules/backoffice/components/admin/CategoryEdit.vue +2 -2
  172. package/src/modules/backoffice/components/admin/Dashboard.vue +1 -1
  173. package/src/modules/backoffice/components/admin/FastOrders.vue +3 -3
  174. package/src/modules/backoffice/components/admin/PageEdit.vue +3 -3
  175. package/src/modules/backoffice/components/admin/Pages.vue +1 -1
  176. package/src/modules/backoffice/components/admin/ProductEdit.vue +1 -1
  177. package/src/modules/backoffice/components/admin/User.vue +6 -6
  178. package/src/modules/backoffice/components/admin/Users.vue +4 -4
  179. package/src/modules/backoffice/components/layouts/Backoffice.vue +1 -1
  180. package/src/modules/backoffice/components/pages/Dashboard.vue +1 -1
  181. package/src/modules/community/components/blocks/CardBlogpost.vue +5 -5
  182. package/src/modules/community/components/layouts/Community.vue +2 -2
  183. package/src/modules/community/components/pages/BlogPost.vue +4 -4
  184. package/src/modules/community/components/pages/Community.vue +2 -2
  185. package/src/modules/community/components/pages/CreateBlogPost.vue +5 -5
  186. package/src/modules/community/components/sections/Comments.vue +5 -5
  187. package/src/modules/community/components/sections/Feed.vue +2 -2
  188. package/src/modules/community/components/sections/JoinUs.vue +2 -2
  189. package/src/modules/community/components/sections/SubscribeNewsletter.vue +3 -3
  190. package/src/modules/constructor/components/elements/Audio.vue +2 -2
  191. package/src/modules/constructor/components/elements/Bullets.vue +1 -1
  192. package/src/modules/constructor/components/elements/Caption.vue +1 -1
  193. package/src/modules/constructor/components/elements/Embed.vue +2 -2
  194. package/src/modules/constructor/components/elements/H2.vue +1 -1
  195. package/src/modules/constructor/components/elements/Image.vue +19 -5
  196. package/src/modules/constructor/components/elements/ImageUpload.vue +1 -1
  197. package/src/modules/constructor/components/elements/Textarea.vue +1 -1
  198. package/src/modules/constructor/components/sections/Constructor.vue +4 -4
  199. package/src/modules/events/components/blocks/CardEvent.vue +5 -5
  200. package/src/modules/events/components/layouts/layoutEvents.vue +1 -1
  201. package/src/modules/events/components/pages/EditEvent.vue +12 -12
  202. package/src/modules/events/components/pages/Event.vue +4 -4
  203. package/src/modules/events/components/pages/Events.vue +1 -1
  204. package/src/modules/events/components/sections/Feed.vue +2 -2
  205. package/src/modules/events/components/sections/List.vue +1 -1
  206. package/src/modules/gallery/components/sections/BackofficeGallery.vue +10 -10
  207. package/src/modules/gallery/components/sections/GalleryWithCategories.vue +6 -6
  208. package/src/modules/globals/components/sections/Feed.vue +1 -1
  209. package/src/modules/landing/components/sections/MobileApp.vue +7 -7
  210. package/src/modules/legal/components/pages/Legal.vue +5 -5
  211. package/src/modules/marketplace/components/layouts/Marketplace.vue +1 -1
  212. package/src/modules/mobile/components/Menu/MenuItem.vue +2 -2
  213. package/src/modules/orders/components/blocks/CardOrderItem.vue +1 -1
  214. package/src/modules/orders/components/blocks/Positions.vue +8 -8
  215. package/src/modules/orders/components/pages/EditOrder.vue +19 -19
  216. package/src/modules/orders/components/pages/Favorites.vue +2 -2
  217. package/src/modules/orders/components/pages/Order.vue +5 -5
  218. package/src/modules/orders/components/pages/Orders.vue +5 -5
  219. package/src/modules/orders/components/pages/ViewOrder.vue +7 -7
  220. package/src/modules/orders/components/partials/ShopCart.vue +3 -3
  221. package/src/modules/orders/components/sections/Form.vue +12 -12
  222. package/src/modules/orders/components/sections/Succes.vue +4 -4
  223. package/src/modules/organizations/components/blocks/CardDepartment.vue +3 -3
  224. package/src/modules/organizations/components/blocks/CardOrganization.vue +3 -3
  225. package/src/modules/organizations/components/blocks/Contacts.vue +1 -1
  226. package/src/modules/organizations/components/blocks/DepartmentMemberModify.vue +2 -2
  227. package/src/modules/organizations/components/blocks/EditArray.vue +2 -2
  228. package/src/modules/organizations/components/blocks/EmptyState.vue +3 -3
  229. package/src/modules/organizations/components/blocks/Rating.vue +1 -1
  230. package/src/modules/organizations/components/pages/Department.vue +6 -6
  231. package/src/modules/organizations/components/pages/DepartmentEdit.vue +16 -16
  232. package/src/modules/organizations/components/pages/Members.vue +2 -2
  233. package/src/modules/organizations/components/pages/Organization.vue +5 -5
  234. package/src/modules/organizations/components/pages/OrganizationEdit.vue +16 -16
  235. package/src/modules/organizations/components/pages/Organizations.vue +2 -2
  236. package/src/modules/organizations/components/sections/DetailsTab.vue +11 -11
  237. package/src/modules/organizations/components/sections/Documents.vue +4 -4
  238. package/src/modules/organizations/components/sections/Feed.vue +2 -2
  239. package/src/modules/organizations/components/sections/FeedDepartments.vue +2 -2
  240. package/src/modules/organizations/components/sections/MembersAdd.vue +5 -5
  241. package/src/modules/organizations/components/sections/MembersList.vue +2 -2
  242. package/src/modules/organizations/components/sections/Unit.vue +12 -12
  243. package/src/modules/payments/components/pages/Payments.vue +3 -3
  244. package/src/modules/products/components/blocks/CardLeftover.vue +4 -4
  245. package/src/modules/products/components/blocks/CardProduct.vue +3 -3
  246. package/src/modules/products/components/blocks/EditCategories.vue +4 -4
  247. package/src/modules/products/components/blocks/EditFilters.vue +4 -4
  248. package/src/modules/products/components/blocks/LeftoverPositions.vue +1 -1
  249. package/src/modules/products/components/pages/LeftoverAdd.vue +7 -7
  250. package/src/modules/products/components/pages/Leftovers.vue +5 -5
  251. package/src/modules/products/components/pages/OrganizationDetails.vue +4 -4
  252. package/src/modules/products/components/pages/OrganizationDocuments.vue +5 -5
  253. package/src/modules/products/components/pages/OrganizationPeople.vue +5 -5
  254. package/src/modules/products/components/pages/ProductEdit.vue +5 -5
  255. package/src/modules/products/components/pages/ProductRecommmendation.vue +1 -1
  256. package/src/modules/products/components/pages/ProductsBackoffice.vue +2 -2
  257. package/src/modules/products/components/sections/EditModifications.vue +8 -8
  258. package/src/modules/products/components/sections/EditParameters.vue +4 -4
  259. package/src/modules/products/components/sections/EditProductImages.vue +2 -2
  260. package/src/modules/products/components/sections/EditProductInfo.vue +5 -5
  261. package/src/modules/products/components/sections/FilterProducts.vue +9 -9
  262. package/src/modules/products/components/sections/HeroRecommendation.vue +5 -5
  263. package/src/modules/products/components/sections/PopularProducts.vue +1 -1
  264. package/src/modules/products/components/sections/ProductInformationSection.vue +27 -27
  265. package/src/modules/products/components/sections/SectionProduct.vue +6 -6
  266. package/src/modules/products/components/sections/SortProducts.vue +1 -1
  267. package/src/modules/reports/components/pages/BackofficeReports.vue +4 -4
  268. package/src/modules/reports/components/sections/FormReport.vue +4 -4
  269. package/src/modules/spots/components/blocks/CardSpot.vue +4 -4
  270. package/src/modules/spots/components/blocks/SpotMemberModify.vue +2 -2
  271. package/src/modules/spots/components/layouts/Spots.vue +3 -3
  272. package/src/modules/spots/components/pages/Spot.vue +4 -4
  273. package/src/modules/spots/components/pages/SpotEdit.vue +16 -16
  274. package/src/modules/spots/components/sections/Feed.vue +2 -2
  275. package/src/modules/spots/components/sections/PlaceModify.vue +1 -1
  276. package/src/modules/spots/components/sections/Places.vue +1 -1
  277. package/src/modules/users/components/pages/Profile.vue +13 -13
  278. package/src/modules/users/components/pages/ProfileBlogposts.vue +2 -2
  279. package/src/modules/users/components/pages/ProfileComments.vue +1 -1
  280. package/src/modules/users/components/pages/ProfileEdit.vue +21 -21
  281. package/src/modules/users/components/pages/ProfileEvents.vue +2 -2
  282. package/src/modules/users/components/pages/ProfileLikes.vue +1 -1
  283. package/src/modules/users/components/pages/ProfileOrganizations.vue +2 -2
  284. package/src/modules/users/components/sections/ProfileCompletion.vue +1 -1
  285. package/src/modules/wallet/components/pages/Wallet.vue +17 -17
  286. package/src/styles/base/all.scss +83 -324
  287. package/src/styles/base/border-radius.scss +47 -0
  288. package/src/styles/base/height.scss +60 -0
  289. package/src/styles/base/scrolling.scss +8 -8
  290. package/src/styles/base/width.scss +2 -0
  291. package/src/styles/config.scss +153 -51
  292. package/src/styles/responsive.scss +2 -2
@@ -14,8 +14,8 @@ const Z = { class: "pd-medium flex-nowrap flex pd-t-thin pd-b-thin o-scroll" },
14
14
  __name: "GalleryWithCategories",
15
15
  setup(ve) {
16
16
  H();
17
- const y = n(null), I = ["all", "place", "drinks", "people", "events"];
18
- let f = 1, b = n(null), k = n(!1);
17
+ const b = n(null), I = ["all", "place", "drinks", "people", "events"];
18
+ let f = 1, y = n(null), k = n(!1);
19
19
  const M = $(() => v.value === "all" ? S.gallery : S.gallery.filter((t) => t.categories.includes(v.value))), F = async () => {
20
20
  k.value = !0, await g.fetchGallery(f, E), k.value = !1;
21
21
  }, m = n(null), e = n({
@@ -73,7 +73,7 @@ const Z = { class: "pd-medium flex-nowrap flex pd-t-thin pd-b-thin o-scroll" },
73
73
  return D(async () => {
74
74
  await g.fetchGallery(f, E), typeof window < "u" && new IntersectionObserver((a) => {
75
75
  a.some((l) => l.isIntersecting) && (f += 1, F());
76
- }).observe(b.value);
76
+ }).observe(y.value);
77
77
  }), (t, a) => (o(), i("div", null, [
78
78
  s("div", Z, [
79
79
  (o(), i(C, null, z(I, (l) => s("a", {
@@ -85,7 +85,7 @@ const Z = { class: "pd-medium flex-nowrap flex pd-t-thin pd-b-thin o-scroll" },
85
85
  ]),
86
86
  s("div", {
87
87
  ref_key: "grid",
88
- ref: y,
88
+ ref: b,
89
89
  class: "pd-medium cols-4 gap-thin"
90
90
  }, [
91
91
  (o(!0), i(C, null, z(M.value, (l, h) => (o(), i("div", {
@@ -97,7 +97,7 @@ const Z = { class: "pd-medium flex-nowrap flex pd-t-thin pd-b-thin o-scroll" },
97
97
  mode: "in-out"
98
98
  }, {
99
99
  default: p(() => [
100
- y.value ? (o(), i("img", {
100
+ b.value ? (o(), i("img", {
101
101
  key: 0,
102
102
  src: "https://thecommunephuket.com/photos/" + l.cover,
103
103
  class: "w-100 h-100 o-hidden radius-medium object-fit-cover",
@@ -109,7 +109,7 @@ const Z = { class: "pd-medium flex-nowrap flex pd-t-thin pd-b-thin o-scroll" },
109
109
  ], 8, le))), 128)),
110
110
  s("div", {
111
111
  ref_key: "sentinel",
112
- ref: b,
112
+ ref: y,
113
113
  class: "sentinel"
114
114
  }, null, 512),
115
115
  c(_, { name: "modal" }, {
@@ -143,11 +143,11 @@ const Z = { class: "pd-medium flex-nowrap flex pd-t-thin pd-b-thin o-scroll" },
143
143
  typeof d.value == "string" ? (o(), i("img", {
144
144
  key: 0,
145
145
  src: d.value,
146
- class: "radius-small w-100 mn-small h-20r object-fit-cover"
146
+ class: "radius-small w-100 mn-b-small h-20r object-fit-cover"
147
147
  }, null, 8, ce)) : r("", !0),
148
148
  typeof d.value == "object" && e.value.image !== null ? (o(), i("img", {
149
149
  key: 1,
150
- class: "radius-small w-100 mn-small h-20r object-fit-cover",
150
+ class: "radius-small w-100 mn-b-small h-20r object-fit-cover",
151
151
  src: "/photos/" + e.value.cover
152
152
  }, null, 8, de)) : r("", !0),
153
153
  e.value._id ? r("", !0) : (o(), W(X, {
@@ -155,7 +155,7 @@ const Z = { class: "pd-medium flex-nowrap flex pd-t-thin pd-b-thin o-scroll" },
155
155
  id: "photo",
156
156
  name: "photo",
157
157
  type: "file",
158
- class: "t-black bg-grey pd-thin radius-small mn-thin",
158
+ class: "t-black bg-grey pd-thin radius-small mn-b-thin",
159
159
  onFileChange: N,
160
160
  multiple: "true"
161
161
  })),
@@ -165,7 +165,7 @@ const Z = { class: "pd-medium flex-nowrap flex pd-t-thin pd-b-thin o-scroll" },
165
165
  select: e.value.size,
166
166
  "onUpdate:select": a[1] || (a[1] = (l) => e.value.size = l),
167
167
  placeholder: "Select Size",
168
- class: "bg-grey pd-thin radius-small mn-thin t-black"
168
+ class: "bg-grey pd-thin radius-small mn-b-thin t-black"
169
169
  }, null, 8, ["select"]),
170
170
  c(J, {
171
171
  field: e.value.categories,
@@ -173,12 +173,12 @@ const Z = { class: "pd-medium flex-nowrap flex pd-t-thin pd-b-thin o-scroll" },
173
173
  type: "text",
174
174
  label: "Categories",
175
175
  placeholder: "Enter categories for image (comma separated)",
176
- class: "bg-grey pd-thin radius-small mn-medium t-black"
176
+ class: "bg-grey pd-thin radius-small mn-b-medium t-black"
177
177
  }, null, 8, ["field"]),
178
178
  c(K, {
179
179
  submit: e.value._id ? B : R,
180
180
  callback: u,
181
- class: "mn-thin"
181
+ class: "mn-b-thin"
182
182
  }, {
183
183
  default: p(() => [
184
184
  q(x(e.value._id ? "Update" : "Create"), 1)
@@ -193,7 +193,7 @@ const Z = { class: "pd-medium flex-nowrap flex pd-t-thin pd-b-thin o-scroll" },
193
193
  ], 512)
194
194
  ]));
195
195
  }
196
- }, ze = /* @__PURE__ */ Y(me, [["__scopeId", "data-v-34379ac8"]]);
196
+ }, ze = /* @__PURE__ */ Y(me, [["__scopeId", "data-v-9df3ef50"]]);
197
197
  export {
198
198
  ze as default
199
199
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("../../../icons/skeletons/SkeletonEvent.vue.cjs");require("../../../../components/Loader/Loader.vue.cjs");const p=require("../../../../components/EmptyState/EmptyState.vue.cjs");require("vue-i18n");const m={class:"feed"},f={__name:"Feed",props:{states:{type:Object,default:()=>({empty:{title:String,description:String}})},store:{type:Object,default:()=>({read:Function,state:Object})},options:{type:Object,default:()=>({category:null,limit:20,skip:0,owner:null,creator:null,user:null,status:null,period:null})}},setup(s){const t=s,o=e.ref([]),a=e.ref(!0);let i=e.ref(!0),r=e.ref(t.options.skip?t.options.skip:0),n=e.ref(t.options.limit?t.options.limit:10);e.computed(()=>({skip:r.value,limit:n.value,...t.options}));const u=async()=>{if(a.value){r.value+=n.value;const l=await t.store.read({skip:r.value,limit:n.value,...t.options});l.length===0&&(a.value=!1),o.value=[...o.value,...l]}};return e.onMounted(async()=>{console.log(t.options);const l=await t.store.read({skip:r.value,limit:n.value,...t.options});l.length===0?a.value=!1:a.value=!0,o.value=l,i.value=!1}),(l,v)=>(e.openBlock(),e.createElementBlock("section",m,[e.createVNode(e.TransitionGroup,{tag:"ul",name:"scaleTransition",class:"o-hidden bg-grey radius-big"},{default:e.withCtx(()=>[e.unref(i)?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(e.unref(n),c=>(e.openBlock(),e.createBlock(d.default,{key:c}))),128)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"scaleTransition"},{default:e.withCtx(()=>[!e.unref(i)&&o.value.length<1?(e.openBlock(),e.createBlock(p.default,{key:0,title:s.states.empty.title,description:s.states.empty.description,class:"pd-medium mn-thin bg-grey radius-big"},null,8,["title","description"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.TransitionGroup,{tag:"ul",name:"scaleTransition",class:"cols-1 gap-thin"},{default:e.withCtx(()=>[!e.unref(i)&&o.value.length>0?e.renderSlot(l.$slots,"default",{key:0,items:o.value,user:l.user}):e.createCommentVNode("",!0),a.value&&o.value.length>0?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:u,class:"w-100 bg-main button"}," Load more ")):e.createCommentVNode("",!0)]),_:3})]))}};exports.default=f;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),d=require("../../../icons/skeletons/SkeletonEvent.vue.cjs");require("../../../../components/Loader/Loader.vue.cjs");const p=require("../../../../components/EmptyState/EmptyState.vue.cjs");require("vue-i18n");const m={class:"feed"},f={__name:"Feed",props:{states:{type:Object,default:()=>({empty:{title:String,description:String}})},store:{type:Object,default:()=>({read:Function,state:Object})},options:{type:Object,default:()=>({category:null,limit:20,skip:0,owner:null,creator:null,user:null,status:null,period:null})}},setup(s){const t=s,o=e.ref([]),a=e.ref(!0);let i=e.ref(!0),r=e.ref(t.options.skip?t.options.skip:0),n=e.ref(t.options.limit?t.options.limit:10);e.computed(()=>({skip:r.value,limit:n.value,...t.options}));const u=async()=>{if(a.value){r.value+=n.value;const l=await t.store.read({skip:r.value,limit:n.value,...t.options});l.length===0&&(a.value=!1),o.value=[...o.value,...l]}};return e.onMounted(async()=>{console.log(t.options);const l=await t.store.read({skip:r.value,limit:n.value,...t.options});l.length===0?a.value=!1:a.value=!0,o.value=l,i.value=!1}),(l,v)=>(e.openBlock(),e.createElementBlock("section",m,[e.createVNode(e.TransitionGroup,{tag:"ul",name:"scaleTransition",class:"o-hidden bg-grey radius-big"},{default:e.withCtx(()=>[e.unref(i)?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(e.unref(n),c=>(e.openBlock(),e.createBlock(d.default,{key:c}))),128)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"scaleTransition"},{default:e.withCtx(()=>[!e.unref(i)&&o.value.length<1?(e.openBlock(),e.createBlock(p.default,{key:0,title:s.states.empty.title,description:s.states.empty.description,class:"pd-medium mn-b-thin bg-grey radius-big"},null,8,["title","description"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.TransitionGroup,{tag:"ul",name:"scaleTransition",class:"cols-1 gap-thin"},{default:e.withCtx(()=>[!e.unref(i)&&o.value.length>0?e.renderSlot(l.$slots,"default",{key:0,items:o.value,user:l.user}):e.createCommentVNode("",!0),a.value&&o.value.length>0?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:u,class:"w-100 bg-main button"}," Load more ")):e.createCommentVNode("",!0)]),_:3})]))}};exports.default=f;
@@ -1,4 +1,4 @@
1
- import { ref as s, computed as h, onMounted as b, openBlock as n, createElementBlock as m, createVNode as d, TransitionGroup as v, withCtx as f, unref as u, Fragment as _, renderList as w, createBlock as g, createCommentVNode as c, Transition as L, renderSlot as S } from "vue";
1
+ import { ref as s, computed as b, onMounted as h, openBlock as n, createElementBlock as m, createVNode as d, TransitionGroup as v, withCtx as f, unref as u, Fragment as _, renderList as w, createBlock as g, createCommentVNode as c, Transition as L, renderSlot as S } from "vue";
2
2
  import T from "../../../icons/skeletons/SkeletonEvent.vue.js";
3
3
  import "../../../../components/Loader/Loader.vue.js";
4
4
  import j from "../../../../components/EmptyState/EmptyState.vue.js";
@@ -39,7 +39,7 @@ const O = { class: "feed" }, N = {
39
39
  setup(p) {
40
40
  const e = p, a = s([]), i = s(!0);
41
41
  let o = s(!0), r = s(e.options.skip ? e.options.skip : 0), l = s(e.options.limit ? e.options.limit : 10);
42
- h(() => ({
42
+ b(() => ({
43
43
  skip: r.value,
44
44
  limit: l.value,
45
45
  ...e.options
@@ -55,7 +55,7 @@ const O = { class: "feed" }, N = {
55
55
  t.length === 0 && (i.value = !1), a.value = [...a.value, ...t];
56
56
  }
57
57
  };
58
- return b(async () => {
58
+ return h(async () => {
59
59
  console.log(e.options);
60
60
  const t = await e.store.read({
61
61
  skip: r.value,
@@ -80,7 +80,7 @@ const O = { class: "feed" }, N = {
80
80
  key: 0,
81
81
  title: p.states.empty.title,
82
82
  description: p.states.empty.description,
83
- class: "pd-medium mn-thin bg-grey radius-big"
83
+ class: "pd-medium mn-b-thin bg-grey radius-big"
84
84
  }, null, 8, ["title", "description"])) : c("", !0)
85
85
  ]),
86
86
  _: 1
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-i18n"),i=require("../../../icons/labels/LabelAppStore.vue.cjs"),l=require("../../../icons/labels/LabelGooglePlay.vue.cjs");require("./MobileApp.vue2.cjs");const r={id:"mobileApp"},c={class:"pos-relative cols-2-1_2 gap-big pd-big pd-t-big o-hidden bg-black t-white radius-big"},d={class:"z-index-1 w-1/2"},m=["src"],p={class:"z-index-1 w-1/2"},u={class:"mn-t-medium mn-semi w-m-40r"},g={class:"t-transp mn-big p-big w-m-33r"},_={class:"mn-big gap-medium cols-2"},h={class:"feature"},f={class:"mn-small"},b={class:"t-transp p-medium"},E={class:"feature"},y={class:"mn-small"},v={class:"t-transp p-medium"},N={class:"feature"},V={class:"mn-small"},w={class:"t-transp p-medium"},S={class:"feature"},x={class:"mn-small"},D={class:"t-transp p-medium"},I={class:"w-m-33r flex-nowrap flex gap-medium"},k={class:"pos-relative w-100 h-100"},z={class:"z-index-2 pd-tin radius-big bg-main t-semi uppercase pd-micro pos-absolute pos-r-small-negative pos-t-small-negative"},A={class:"pos-relative w-100 h-100"},L={class:"z-index-2 pd-tin radius-big bg-main t-semi uppercase pd-micro pos-absolute pos-r-small-negative pos-t-small-negative"},q={key:0,class:"grid-lines"},C={__name:"MobileApp",props:{mockupImage:{type:String,default:"/assets/images/landing/mockup.png"},bgImage:{type:String,default:""},textData:{type:Object,default:()=>({messages:{en:{title:"Explore the Cannabis World at Your Fingertips",description:"Intuitive, Efficient, and Customized for Your Cannabis Needs",features:{instantUpdates:{title:"Instant Updates",text:"Receive real-time notifications for new product releases and community updates. Always stay in the loop."},locate:{title:"Locate with Ease",text:"Discover nearby dispensaries and cannabis events with our integrated geolocation services."},wallet:{title:"Wallet Integration",text:"Quickly and securely manage your transactions with integrated digital wallet functionality. Safety and convenience come together."},customization:{title:"Customization by AI",text:"Experience the AI difference with personalized recommendations based on your preferences and trends in the community."}}}}})}},setup(s){const a=s,{t}=n.useI18n(a.textData);return(o,M)=>(e.openBlock(),e.createElementBlock("div",r,[e.createElementVNode("section",c,[e.createElementVNode("div",d,[e.createElementVNode("img",{src:(o.FILE_SERVER_URL||"")+s.mockupImage,alt:"Mobile App Mockup",class:"app-mockup"},null,8,m)]),e.createElementVNode("div",p,[e.createElementVNode("h2",u,e.toDisplayString(e.unref(t)("title")),1),e.createElementVNode("p",g,e.toDisplayString(e.unref(t)("description")),1),e.createElementVNode("div",_,[e.createElementVNode("div",h,[e.createElementVNode("h3",f,e.toDisplayString(e.unref(t)("features.instantUpdates.title")),1),e.createElementVNode("p",b,e.toDisplayString(e.unref(t)("features.instantUpdates.text")),1)]),e.createElementVNode("div",E,[e.createElementVNode("h3",y,e.toDisplayString(e.unref(t)("features.locate.title")),1),e.createElementVNode("p",v,e.toDisplayString(e.unref(t)("features.locate.text")),1)]),e.createElementVNode("div",N,[e.createElementVNode("h3",V,e.toDisplayString(e.unref(t)("features.wallet.title")),1),e.createElementVNode("p",w,e.toDisplayString(e.unref(t)("features.wallet.text")),1)]),e.createElementVNode("div",S,[e.createElementVNode("h3",x,e.toDisplayString(e.unref(t)("features.customization.title")),1),e.createElementVNode("p",D,e.toDisplayString(e.unref(t)("features.customization.text")),1)])]),e.createElementVNode("div",I,[e.createElementVNode("div",k,[e.createElementVNode("span",z,e.toDisplayString(e.unref(t)("features.soonLabel")),1),e.createVNode(i.default,{class:"w-100 h-100",alt:"Download on App Store"})]),e.createElementVNode("div",A,[e.createElementVNode("span",L,e.toDisplayString(e.unref(t)("features.soonLabel")),1),e.createVNode(l.default,{class:"w-100 h-100",alt:"Download on Google Play"})])])]),e.createElementVNode("div",{class:"w-100 h-100 pos-absolute pos-t-0 pos-r-0 z-index-0 grid",style:e.normalizeStyle({backgroundImage:`url(${s.bgImage})`})},[s.bgImage?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",q))],4)])]))}};exports.default=C;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-i18n"),i=require("../../../icons/labels/LabelAppStore.vue.cjs"),l=require("../../../icons/labels/LabelGooglePlay.vue.cjs");require("./MobileApp.vue2.cjs");const r={id:"mobileApp"},c={class:"pos-relative cols-2-1_2 gap-big pd-big pd-t-big o-hidden bg-black t-white radius-big"},d={class:"z-index-1 w-1/2"},m=["src"],p={class:"z-index-1 w-1/2"},u={class:"mn-t-medium mn-b-semi w-m-40r"},g={class:"t-transp mn-b-big p-big w-m-33r"},_={class:"mn-b-big gap-medium cols-2"},h={class:"feature"},f={class:"mn-b-small"},b={class:"t-transp p-medium"},E={class:"feature"},y={class:"mn-b-small"},v={class:"t-transp p-medium"},N={class:"feature"},V={class:"mn-b-small"},w={class:"t-transp p-medium"},S={class:"feature"},x={class:"mn-b-small"},D={class:"t-transp p-medium"},I={class:"w-m-33r flex-nowrap flex gap-medium"},k={class:"pos-relative w-100 h-100"},z={class:"z-index-2 pd-tin radius-big bg-main t-semi uppercase pd-micro pos-absolute pos-r-small-negative pos-t-small-negative"},A={class:"pos-relative w-100 h-100"},L={class:"z-index-2 pd-tin radius-big bg-main t-semi uppercase pd-micro pos-absolute pos-r-small-negative pos-t-small-negative"},q={key:0,class:"grid-lines"},C={__name:"MobileApp",props:{mockupImage:{type:String,default:"/assets/images/landing/mockup.png"},bgImage:{type:String,default:""},textData:{type:Object,default:()=>({messages:{en:{title:"Explore the Cannabis World at Your Fingertips",description:"Intuitive, Efficient, and Customized for Your Cannabis Needs",features:{instantUpdates:{title:"Instant Updates",text:"Receive real-time notifications for new product releases and community updates. Always stay in the loop."},locate:{title:"Locate with Ease",text:"Discover nearby dispensaries and cannabis events with our integrated geolocation services."},wallet:{title:"Wallet Integration",text:"Quickly and securely manage your transactions with integrated digital wallet functionality. Safety and convenience come together."},customization:{title:"Customization by AI",text:"Experience the AI difference with personalized recommendations based on your preferences and trends in the community."}}}}})}},setup(s){const a=s,{t}=n.useI18n(a.textData);return(o,M)=>(e.openBlock(),e.createElementBlock("div",r,[e.createElementVNode("section",c,[e.createElementVNode("div",d,[e.createElementVNode("img",{src:(o.FILE_SERVER_URL||"")+s.mockupImage,alt:"Mobile App Mockup",class:"app-mockup"},null,8,m)]),e.createElementVNode("div",p,[e.createElementVNode("h2",u,e.toDisplayString(e.unref(t)("title")),1),e.createElementVNode("p",g,e.toDisplayString(e.unref(t)("description")),1),e.createElementVNode("div",_,[e.createElementVNode("div",h,[e.createElementVNode("h3",f,e.toDisplayString(e.unref(t)("features.instantUpdates.title")),1),e.createElementVNode("p",b,e.toDisplayString(e.unref(t)("features.instantUpdates.text")),1)]),e.createElementVNode("div",E,[e.createElementVNode("h3",y,e.toDisplayString(e.unref(t)("features.locate.title")),1),e.createElementVNode("p",v,e.toDisplayString(e.unref(t)("features.locate.text")),1)]),e.createElementVNode("div",N,[e.createElementVNode("h3",V,e.toDisplayString(e.unref(t)("features.wallet.title")),1),e.createElementVNode("p",w,e.toDisplayString(e.unref(t)("features.wallet.text")),1)]),e.createElementVNode("div",S,[e.createElementVNode("h3",x,e.toDisplayString(e.unref(t)("features.customization.title")),1),e.createElementVNode("p",D,e.toDisplayString(e.unref(t)("features.customization.text")),1)])]),e.createElementVNode("div",I,[e.createElementVNode("div",k,[e.createElementVNode("span",z,e.toDisplayString(e.unref(t)("features.soonLabel")),1),e.createVNode(i.default,{class:"w-100 h-100",alt:"Download on App Store"})]),e.createElementVNode("div",A,[e.createElementVNode("span",L,e.toDisplayString(e.unref(t)("features.soonLabel")),1),e.createVNode(l.default,{class:"w-100 h-100",alt:"Download on Google Play"})])])]),e.createElementVNode("div",{class:"w-100 h-100 pos-absolute pos-t-0 pos-r-0 z-index-0 grid",style:e.normalizeStyle({backgroundImage:`url(${s.bgImage})`})},[s.bgImage?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",q))],4)])]))}};exports.default=C;
@@ -3,7 +3,7 @@ import { useI18n as m } from "vue-i18n";
3
3
  import u from "../../../icons/labels/LabelAppStore.vue.js";
4
4
  import _ from "../../../icons/labels/LabelGooglePlay.vue.js";
5
5
  import "./MobileApp.vue2.js";
6
- const g = { id: "mobileApp" }, h = { class: "pos-relative cols-2-1_2 gap-big pd-big pd-t-big o-hidden bg-black t-white radius-big" }, f = { class: "z-index-1 w-1/2" }, b = ["src"], v = { class: "z-index-1 w-1/2" }, w = { class: "mn-t-medium mn-semi w-m-40r" }, y = { class: "t-transp mn-big p-big w-m-33r" }, x = { class: "mn-big gap-medium cols-2" }, I = { class: "feature" }, z = { class: "mn-small" }, k = { class: "t-transp p-medium" }, E = { class: "feature" }, A = { class: "mn-small" }, S = { class: "t-transp p-medium" }, L = { class: "feature" }, D = { class: "mn-small" }, C = { class: "t-transp p-medium" }, U = { class: "feature" }, N = { class: "mn-small" }, R = { class: "t-transp p-medium" }, V = { class: "w-m-33r flex-nowrap flex gap-medium" }, M = { class: "pos-relative w-100 h-100" }, B = { class: "z-index-2 pd-tin radius-big bg-main t-semi uppercase pd-micro pos-absolute pos-r-small-negative pos-t-small-negative" }, F = { class: "pos-relative w-100 h-100" }, G = { class: "z-index-2 pd-tin radius-big bg-main t-semi uppercase pd-micro pos-absolute pos-r-small-negative pos-t-small-negative" }, P = {
6
+ const g = { id: "mobileApp" }, h = { class: "pos-relative cols-2-1_2 gap-big pd-big pd-t-big o-hidden bg-black t-white radius-big" }, b = { class: "z-index-1 w-1/2" }, f = ["src"], v = { class: "z-index-1 w-1/2" }, w = { class: "mn-t-medium mn-b-semi w-m-40r" }, y = { class: "t-transp mn-b-big p-big w-m-33r" }, x = { class: "mn-b-big gap-medium cols-2" }, I = { class: "feature" }, z = { class: "mn-b-small" }, k = { class: "t-transp p-medium" }, E = { class: "feature" }, A = { class: "mn-b-small" }, S = { class: "t-transp p-medium" }, L = { class: "feature" }, D = { class: "mn-b-small" }, C = { class: "t-transp p-medium" }, U = { class: "feature" }, N = { class: "mn-b-small" }, R = { class: "t-transp p-medium" }, V = { class: "w-m-33r flex-nowrap flex gap-medium" }, M = { class: "pos-relative w-100 h-100" }, B = { class: "z-index-2 pd-tin radius-big bg-main t-semi uppercase pd-micro pos-absolute pos-r-small-negative pos-t-small-negative" }, F = { class: "pos-relative w-100 h-100" }, G = { class: "z-index-2 pd-tin radius-big bg-main t-semi uppercase pd-micro pos-absolute pos-r-small-negative pos-t-small-negative" }, P = {
7
7
  key: 0,
8
8
  class: "grid-lines"
9
9
  }, q = {
@@ -52,12 +52,12 @@ const g = { id: "mobileApp" }, h = { class: "pos-relative cols-2-1_2 gap-big pd-
52
52
  const c = i, { t } = m(c.textData);
53
53
  return (d, W) => (o(), n("div", g, [
54
54
  e("section", h, [
55
- e("div", f, [
55
+ e("div", b, [
56
56
  e("img", {
57
57
  src: (d.FILE_SERVER_URL || "") + i.mockupImage,
58
58
  alt: "Mobile App Mockup",
59
59
  class: "app-mockup"
60
- }, null, 8, b)
60
+ }, null, 8, f)
61
61
  ]),
62
62
  e("div", v, [
63
63
  e("h2", w, s(a(t)("title")), 1),
@@ -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;