@ozdao/martyrs 0.2.508 → 0.2.510

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (317) hide show
  1. package/dist/{main-Dq-UfO4G.js → main-DrpgUZcn.js} +2808 -2615
  2. package/dist/main-XJQJFmgj.cjs +11 -0
  3. package/dist/martyrs/src/components/Button/{Button.vue.cjs → Button.vue2.cjs} +2 -2
  4. package/dist/martyrs/src/components/Button/Button.vue2.cjs.map +1 -0
  5. package/dist/martyrs/src/components/Button/{Button.vue.js → Button.vue2.js} +2 -2
  6. package/dist/martyrs/src/components/Button/{Button.vue.cjs.map → Button.vue2.js.map} +1 -1
  7. package/dist/martyrs/src/components/Checkbox/Checkbox.vue.cjs +1 -1
  8. package/dist/martyrs/src/components/Checkbox/Checkbox.vue.cjs.map +1 -1
  9. package/dist/martyrs/src/components/Checkbox/Checkbox.vue.js +1 -1
  10. package/dist/martyrs/src/components/Checkbox/Checkbox.vue.js.map +1 -1
  11. package/dist/martyrs/src/components/Feed/Carousel.vue.cjs +4 -3
  12. package/dist/martyrs/src/components/Feed/Carousel.vue.cjs.map +1 -1
  13. package/dist/martyrs/src/components/Feed/Carousel.vue.js +5 -4
  14. package/dist/martyrs/src/components/Feed/Carousel.vue.js.map +1 -1
  15. package/dist/martyrs/src/components/Feed/Feed.vue.cjs +1 -1
  16. package/dist/martyrs/src/components/Feed/Feed.vue.cjs.map +1 -1
  17. package/dist/martyrs/src/components/Feed/Feed.vue.js +1 -1
  18. package/dist/martyrs/src/components/Feed/Feed.vue.js.map +1 -1
  19. package/dist/martyrs/src/components/Field/Field.vue.cjs +1 -1
  20. package/dist/martyrs/src/components/Field/Field.vue.cjs.map +1 -1
  21. package/dist/martyrs/src/components/Field/Field.vue.js +1 -1
  22. package/dist/martyrs/src/components/Field/Field.vue.js.map +1 -1
  23. package/dist/martyrs/src/components/FieldBig/FieldBig.vue.cjs +3 -3
  24. package/dist/martyrs/src/components/FieldBig/FieldBig.vue.cjs.map +1 -1
  25. package/dist/martyrs/src/components/FieldBig/FieldBig.vue.js +3 -3
  26. package/dist/martyrs/src/components/FieldBig/FieldBig.vue.js.map +1 -1
  27. package/dist/martyrs/src/components/Tab/{Tab.vue2.cjs → Tab.vue.cjs} +2 -2
  28. package/dist/martyrs/src/components/Tab/{Tab.vue2.js.map → Tab.vue.cjs.map} +1 -1
  29. package/dist/martyrs/src/components/Tab/{Tab.vue2.js → Tab.vue.js} +2 -2
  30. package/dist/martyrs/src/components/Tab/Tab.vue.js.map +1 -0
  31. package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +2 -2
  32. package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.js +2 -2
  33. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.cjs +2 -2
  34. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +2 -2
  35. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs +1 -1
  36. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +1 -1
  37. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.cjs +1 -1
  38. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js +1 -1
  39. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs +17 -11
  40. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs.map +1 -1
  41. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js +18 -12
  42. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js.map +1 -1
  43. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.cjs +1 -1
  44. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +1 -1
  45. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.cjs +1 -1
  46. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js +1 -1
  47. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +2 -2
  48. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +2 -2
  49. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.cjs +2 -2
  50. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +2 -2
  51. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.cjs +2 -2
  52. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +2 -2
  53. package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.cjs +1 -1
  54. package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.js +1 -1
  55. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  56. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +1 -1
  57. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  58. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
  59. package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  60. package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
  61. package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  62. package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  63. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  64. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +1 -1
  65. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  66. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
  67. package/dist/martyrs/src/modules/events/components/pages/Event.vue.cjs +1 -0
  68. package/dist/martyrs/src/modules/events/components/pages/Event.vue.cjs.map +1 -1
  69. package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +1 -0
  70. package/dist/martyrs/src/modules/events/components/pages/Event.vue.js.map +1 -1
  71. package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.cjs +1 -1
  72. package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js +1 -1
  73. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  74. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
  75. package/dist/martyrs/src/modules/globals/globals.client.js +15 -15
  76. package/dist/martyrs/src/modules/globals/globals.client.js.map +1 -1
  77. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -1
  78. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js +1 -1
  79. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue.cjs +1 -1
  80. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue.js +1 -1
  81. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.cjs +1 -1
  82. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.js +1 -1
  83. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs +8 -3
  84. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs.map +1 -1
  85. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js +8 -3
  86. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js.map +1 -1
  87. package/dist/martyrs/src/modules/globals/views/components/partials/Footer.vue.cjs +121 -107
  88. package/dist/martyrs/src/modules/globals/views/components/partials/Footer.vue.cjs.map +1 -1
  89. package/dist/martyrs/src/modules/globals/views/components/partials/Footer.vue.js +131 -117
  90. package/dist/martyrs/src/modules/globals/views/components/partials/Footer.vue.js.map +1 -1
  91. package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.cjs +2 -2
  92. package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.cjs.map +1 -1
  93. package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.js +2 -2
  94. package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.js.map +1 -1
  95. package/dist/martyrs/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +1 -1
  96. package/dist/martyrs/src/modules/globals/views/components/partials/NavigationBar.vue.js +1 -1
  97. package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.cjs +112 -49
  98. package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.cjs.map +1 -1
  99. package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.js +121 -58
  100. package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.js.map +1 -1
  101. package/dist/martyrs/src/modules/globals/views/components/sections/SectionPageTitle.vue.cjs +1 -1
  102. package/dist/martyrs/src/modules/globals/views/components/sections/SectionPageTitle.vue.js +1 -1
  103. package/dist/martyrs/src/modules/icons/logos/Logotype.vue.cjs +3 -3
  104. package/dist/martyrs/src/modules/icons/logos/Logotype.vue.js +3 -3
  105. package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.cjs +136 -134
  106. package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.cjs.map +1 -1
  107. package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.js +136 -134
  108. package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.js.map +1 -1
  109. package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.cjs +1 -1
  110. package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +1 -1
  111. package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.cjs +1 -1
  112. package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.js +1 -1
  113. package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.cjs +1 -1
  114. package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.js +1 -1
  115. package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.cjs +1 -1
  116. package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.js +1 -1
  117. package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.cjs +1 -1
  118. package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js +1 -1
  119. package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.cjs +1 -1
  120. package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +1 -1
  121. package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.cjs +1 -1
  122. package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +1 -1
  123. package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.cjs +1 -1
  124. package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js +1 -1
  125. package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.cjs +1 -1
  126. package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.js +1 -1
  127. package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.cjs +1 -1
  128. package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +1 -1
  129. package/dist/martyrs/src/modules/music/components/pages/Album.vue.cjs +1 -1
  130. package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +1 -1
  131. package/dist/martyrs/src/modules/music/components/pages/Artist.vue.cjs +1 -1
  132. package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js +1 -1
  133. package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.cjs +1 -1
  134. package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.js +1 -1
  135. package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.cjs +1 -1
  136. package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js +1 -1
  137. package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.cjs +1 -1
  138. package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js +1 -1
  139. package/dist/martyrs/src/modules/music/components/pages/Track.vue.cjs +1 -1
  140. package/dist/martyrs/src/modules/music/components/pages/Track.vue.js +1 -1
  141. package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.cjs +1 -1
  142. package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.js +1 -1
  143. package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.cjs +1 -1
  144. package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.js +1 -1
  145. package/dist/martyrs/src/modules/music/router/music.cjs +2 -1
  146. package/dist/martyrs/src/modules/music/router/music.cjs.map +1 -1
  147. package/dist/martyrs/src/modules/music/router/music.js +2 -1
  148. package/dist/martyrs/src/modules/music/router/music.js.map +1 -1
  149. package/dist/martyrs/src/modules/notifications/components/pages/Notifications.vue.cjs +1 -1
  150. package/dist/martyrs/src/modules/notifications/components/pages/Notifications.vue.js +1 -1
  151. package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.cjs +1 -1
  152. package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js +1 -1
  153. package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.cjs +61 -9
  154. package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.cjs.map +1 -1
  155. package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js +61 -9
  156. package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js.map +1 -1
  157. package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.cjs +1 -1
  158. package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js +1 -1
  159. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  160. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
  161. package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
  162. package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +1 -1
  163. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +2 -2
  164. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
  165. package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  166. package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js +1 -1
  167. package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.cjs +1 -1
  168. package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js +1 -1
  169. package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.cjs +1 -1
  170. package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js +1 -1
  171. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs +2 -1
  172. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs.map +1 -1
  173. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +2 -1
  174. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js.map +1 -1
  175. package/dist/martyrs/src/modules/orders/orders.client.cjs +36 -44
  176. package/dist/martyrs/src/modules/orders/orders.client.cjs.map +1 -1
  177. package/dist/martyrs/src/modules/orders/orders.client.js +36 -44
  178. package/dist/martyrs/src/modules/orders/orders.client.js.map +1 -1
  179. package/dist/martyrs/src/modules/orders/store/models/customer.cjs +7 -0
  180. package/dist/martyrs/src/modules/orders/store/models/customer.cjs.map +1 -1
  181. package/dist/martyrs/src/modules/orders/store/models/customer.js +7 -0
  182. package/dist/martyrs/src/modules/orders/store/models/customer.js.map +1 -1
  183. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  184. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  185. package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +2 -2
  186. package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  187. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  188. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +1 -1
  189. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +2 -2
  190. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  191. package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  192. package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
  193. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  194. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  195. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  196. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  197. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.cjs +2 -2
  198. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
  199. package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.cjs +17 -28
  200. package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.cjs.map +1 -1
  201. package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.js +17 -28
  202. package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.js.map +1 -1
  203. package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.cjs +1 -1
  204. package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.js +1 -1
  205. package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.cjs +1 -1
  206. package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
  207. package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +1 -1
  208. package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
  209. package/dist/martyrs/src/modules/products/components/elements/QuantitySelector.vue.cjs +9 -1
  210. package/dist/martyrs/src/modules/products/components/elements/QuantitySelector.vue.cjs.map +1 -1
  211. package/dist/martyrs/src/modules/products/components/elements/QuantitySelector.vue.js +9 -1
  212. package/dist/martyrs/src/modules/products/components/elements/QuantitySelector.vue.js.map +1 -1
  213. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  214. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +1 -1
  215. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs +3 -2
  216. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs.map +1 -1
  217. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +3 -2
  218. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js.map +1 -1
  219. package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs +3 -3
  220. package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs.map +1 -1
  221. package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +3 -3
  222. package/dist/martyrs/src/modules/products/components/pages/Product.vue.js.map +1 -1
  223. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs +2 -2
  224. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +2 -2
  225. package/dist/martyrs/src/modules/products/components/pages/Products.vue.cjs +118 -135
  226. package/dist/martyrs/src/modules/products/components/pages/Products.vue.cjs.map +1 -1
  227. package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +123 -140
  228. package/dist/martyrs/src/modules/products/components/pages/Products.vue.js.map +1 -1
  229. package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.cjs +1 -1
  230. package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js +1 -1
  231. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.cjs +1 -1
  232. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +1 -1
  233. package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.cjs +3 -5
  234. package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.cjs.map +1 -1
  235. package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.js +4 -6
  236. package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.js.map +1 -1
  237. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.cjs +1 -1
  238. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +1 -1
  239. package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.cjs +1 -1
  240. package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +1 -1
  241. package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.cjs +10 -5
  242. package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.cjs.map +1 -1
  243. package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.js +10 -5
  244. package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.js.map +1 -1
  245. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.cjs +6 -3
  246. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.cjs.map +1 -1
  247. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js +6 -3
  248. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js.map +1 -1
  249. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.cjs +2 -2
  250. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +2 -2
  251. package/dist/martyrs/src/modules/products/store/products.cjs +5 -5
  252. package/dist/martyrs/src/modules/products/store/products.cjs.map +1 -1
  253. package/dist/martyrs/src/modules/products/store/products.js +5 -5
  254. package/dist/martyrs/src/modules/products/store/products.js.map +1 -1
  255. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.cjs +2 -2
  256. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js +2 -2
  257. package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.cjs +1 -1
  258. package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.js +1 -1
  259. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  260. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +1 -1
  261. package/dist/martyrs/src/modules/spots/components/pages/Map.vue.cjs +1 -1
  262. package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js +1 -1
  263. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.cjs +2 -2
  264. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +2 -2
  265. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.cjs +1 -1
  266. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +1 -1
  267. package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  268. package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js +1 -1
  269. package/dist/martyrs.cjs.js +1 -1
  270. package/dist/martyrs.css +1 -1
  271. package/dist/martyrs.es.js +1 -1
  272. package/dist/orders.server.cjs +58 -0
  273. package/dist/orders.server.js +58 -0
  274. package/dist/products.server.cjs +79 -45
  275. package/dist/products.server.js +79 -45
  276. package/dist/style.css +44 -52
  277. package/dist/{web-BXajFCU2.js → web-C5cmb1FH.js} +1 -1
  278. package/dist/{web-DaBwwCQ5.cjs → web-d40xcY_Y.cjs} +1 -1
  279. package/package.json +1 -1
  280. package/src/components/Checkbox/Checkbox.vue +1 -1
  281. package/src/components/Feed/Carousel.vue +3 -1
  282. package/src/components/Feed/Feed.vue +1 -1
  283. package/src/components/Field/Field.vue +5 -0
  284. package/src/components/FieldBig/FieldBig.vue +2 -2
  285. package/src/modules/auth/views/components/pages/ProfileEdit.vue +17 -10
  286. package/src/modules/globals/views/components/layouts/Client.vue +12 -1
  287. package/src/modules/globals/views/components/partials/Footer.centered.vue +338 -0
  288. package/src/modules/globals/views/components/partials/Footer.vue +104 -99
  289. package/src/modules/globals/views/components/partials/Header.vue +1 -1
  290. package/src/modules/globals/views/components/sections/Filters.vue +73 -15
  291. package/src/modules/icons/logos/Logotype.vue +1 -1
  292. package/src/modules/inventory/components/pages/Inventory.vue +126 -119
  293. package/src/modules/orders/components/forms/FormCustomerDetails.vue +51 -0
  294. package/src/modules/orders/middlewares/customers.verifier.js +60 -0
  295. package/src/modules/orders/models/customer.model.js +18 -0
  296. package/src/modules/orders/orders.client.js +36 -44
  297. package/src/modules/orders/store/models/customer.js +7 -0
  298. package/src/modules/organizations/configs/navigation.organization.config.js +17 -26
  299. package/src/modules/products/TASKS.MD +1 -157
  300. package/src/modules/products/components/elements/QuantitySelector.vue +17 -9
  301. package/src/modules/products/components/pages/Product.vue +1 -1
  302. package/src/modules/products/components/pages/Products.vue +148 -175
  303. package/src/modules/products/components/sections/EditRecommended.vue +1 -3
  304. package/src/modules/products/components/sections/ProductsPopular.vue +9 -5
  305. package/src/modules/products/components/sections/ProductsRecommended.vue +4 -1
  306. package/src/modules/products/controllers/configs/products.lookup.config.js +31 -4
  307. package/src/modules/products/controllers/products.controller.js +14 -2
  308. package/src/modules/products/controllers/queries/products.queries.js +46 -43
  309. package/src/modules/products/models/product.model.js +4 -0
  310. package/src/modules/products/store/products.js +5 -5
  311. package/src/styles/base/all.scss +9 -4
  312. package/src/styles/config.scss +10 -0
  313. package/src/styles/responsive.scss +2 -1
  314. package/src/styles/typography.scss +0 -5
  315. package/dist/main-AWSb_d2P.cjs +0 -11
  316. package/dist/martyrs/src/components/Button/Button.vue.js.map +0 -1
  317. package/dist/martyrs/src/components/Tab/Tab.vue2.cjs.map +0 -1
@@ -13,11 +13,10 @@
13
13
  :key="product._id"
14
14
  :image="product.images?.[0] ? (FILE_SERVER_URL || '') + product.images[0] : ''"
15
15
  :name="product.name"
16
- :title="`${returnCurrency()}${product.price}`"
17
16
  :showThumbnail="true"
18
17
  :actions="[
19
18
  {
20
- icon: IconDelete,
19
+ component: IconDelete,
21
20
  class: 'bg-red',
22
21
  handler: () => {
23
22
  globals.actions.delete(recommended, product, index);
@@ -60,7 +59,6 @@
60
59
  v-for="(product, index) in items" :key="product._id"
61
60
  :image="product.images?.[0] ? (FILE_SERVER_URL || '') + product.images[0] : ''"
62
61
  :name="product.name"
63
- :title="`${returnCurrency()}${product.price}`"
64
62
  :showThumbnail="true"
65
63
  @click="globals.actions.add(recommended, product); closeRecommendedPopup();"
66
64
  class="bg-white pd-thin radius-medium w-100 mn-b-thin cursor-pointer hover-scale-1"
@@ -1,18 +1,23 @@
1
1
  <template>
2
2
  <Carousel
3
3
  :store="{
4
- read: products.actions.read
4
+ read: (options) => products.actions.read(options)
5
5
  }"
6
6
  :options="{
7
- limit: 10
7
+ limit: 16,
8
+ sortParam: 'views',
9
+ owner: $route.name?.includes('Organization') ? $route.params._id : null,
10
+ lookup: ['variants'],
8
11
  }"
9
12
  :text="{ title: 'No products available' }"
10
13
  :showDots="true"
11
14
  class="popupar_products"
15
+ v-slot="{
16
+ item
17
+ }"
12
18
  >
13
- <template #default="{ item }">
14
19
  <router-link
15
- :to="{ name: 'Organization_Product', params: { _id: item.owner.target, product: item._id } }"
20
+ :to="{ name: 'Organization_Product', params: { _id: item.owner.target._id || item.owner.target, product: item._id } }"
16
21
  class="h-100 pos-relative block"
17
22
  >
18
23
  <CardProduct
@@ -20,7 +25,6 @@
20
25
  class="h-max-40r h-100 bg-light"
21
26
  />
22
27
  </router-link>
23
- </template>
24
28
  </Carousel>
25
29
  </template>
26
30
 
@@ -139,7 +139,7 @@ const addSelectedToCart = async () => {
139
139
  <template>
140
140
  <div>
141
141
  <h3 class="mn-b-small">Frequently Bought Together</h3>
142
- <div class="recommended-products cols-4 mobile:cols-2 gap-thin">
142
+ <div class="recommended-products cols-4 rows-auto-1fr mobile:cols-2 gap-thin">
143
143
 
144
144
  <CardProduct
145
145
  v-for="(product, index) in products"
@@ -166,7 +166,10 @@ const addSelectedToCart = async () => {
166
166
  <p class="mn-b-small">Total price:</p>
167
167
  <p class="mn-b-medium h3 t-medium">${{ totalPrice }}</p>
168
168
  <Button
169
+ :disabled="selectedProducts.length < 1"
169
170
  class="bg-main gap-micro"
171
+ :showSuccess="false"
172
+ :showLoader="false"
170
173
  :submit="canAddToCart ? addSelectedToCart : undefined"
171
174
  >
172
175
  <IconShopcartAdd class="i-semi"/>
@@ -81,7 +81,17 @@ export default {
81
81
  from: 'products',
82
82
  localField: 'recommended',
83
83
  foreignField: '_id',
84
- as: 'recommended'
84
+ as: 'recommended',
85
+ pipeline: [
86
+ {
87
+ $lookup: {
88
+ from: 'variants',
89
+ localField: '_id',
90
+ foreignField: 'product',
91
+ as: 'variants'
92
+ }
93
+ }
94
+ ]
85
95
  }
86
96
  },
87
97
  // Лукап для категорий продукта
@@ -109,13 +119,30 @@ export default {
109
119
  }
110
120
  }]
111
121
  },
112
- // Лукап для аренд продукта
122
+ // Лукап для аренд продуктов (статичный без дат)
113
123
  rents: {
114
124
  lookup: {
115
125
  from: 'rents',
116
126
  localField: '_id',
117
127
  foreignField: 'product',
118
- as: 'rents'
128
+ as: 'rents',
129
+ pipeline: [
130
+ {
131
+ $match: {
132
+ status: { $in: ['confirmed', 'active'] }
133
+ }
134
+ },
135
+ {
136
+ $project: {
137
+ _id: 1,
138
+ product: 1,
139
+ startDate: 1,
140
+ endDate: 1,
141
+ quantity: 1,
142
+ status: 1
143
+ }
144
+ }
145
+ ]
119
146
  }
120
- }
147
+ },
121
148
  };
@@ -28,6 +28,17 @@ const controllerFactory = db => {
28
28
  try {
29
29
  const requestedLookups = queryProcessorGlobals.getRequestedLookups(req.query);
30
30
 
31
+ if (req.query.dateStart || req.query.dateEnd) {
32
+ console.log('Availability filter params:', {
33
+ dateStart: req.query.dateStart,
34
+ dateEnd: req.query.dateEnd,
35
+ dateStartType: typeof req.query.dateStart,
36
+ dateEndType: typeof req.query.dateEnd
37
+ });
38
+ }
39
+
40
+ console.log('availability variant', JSON.stringify(...queryProcessorProducts.getAvailabilityFilterStage(req.query.dateStart, req.query.dateEnd), null, 2))
41
+
31
42
  const stages = [
32
43
  ...queryProcessorGlobals.getBasicOptions(req.query),
33
44
  ...queryProcessorGlobals.getSearchOptions(req.query.search, {
@@ -40,9 +51,10 @@ const controllerFactory = db => {
40
51
  ...queryProcessorProducts.getCategoriesFilterStage(req.query.categories),
41
52
  ...queryProcessorProducts.getDeliveryFilterStage(req.query.delivery),
42
53
  ...queryProcessorProducts.getAttributeFiltersStage(req.query.filters),
43
- ...queryProcessorProducts.getVariantPriceFilterStage(req.query.prices),
44
- ...queryProcessorProducts.getAvailabilityFilterStage(req.query.dateStart, req.query.dateEnd),
45
54
  ...queryProcessorGlobals.getLookupStages(requestedLookups, productLookupConfigs),
55
+
56
+ ...queryProcessorProducts.getVariantPriceFilterStage(req.query.priceMin, req.query.priceMax),
57
+ ...queryProcessorProducts.getAvailabilityFilterStage(req.query.dateStart, req.query.dateEnd),
46
58
 
47
59
  queryProcessorGlobals.getCreatorUserLookupStage(),
48
60
  queryProcessorGlobals.getCreatorOrganizationLookupStage(),
@@ -122,48 +122,41 @@ function getAttributeFiltersStage(filtersString) {
122
122
 
123
123
  /**
124
124
  * Обрабатывает фильтрацию по цене вариантов
125
- * @param {string} prices - строка с ценовыми диапазонами
125
+ * @param {string} priceMin - минимальная цена
126
+ * @param {string} priceMax - максимальная цена
126
127
  * @returns {Array} этапы агрегации для фильтрации по ценам вариантов
127
128
  */
128
- function getVariantPriceFilterStage(prices) {
129
- if (!prices) return [];
129
+ function getVariantPriceFilterStage(priceMin, priceMax) {
130
+ // Проверяем что хотя бы одно значение существует и не пустое
131
+ const hasValidMin = priceMin && priceMin.trim() !== '';
132
+ const hasValidMax = priceMax && priceMax.trim() !== '';
133
+
134
+ if (!hasValidMin && !hasValidMax) return [];
130
135
 
131
136
  try {
132
- const priceRanges = prices.split(',');
133
- const priceConditions = [];
134
-
135
- priceRanges.forEach(priceRange => {
136
- if (priceRange.startsWith('<')) {
137
- priceConditions.push({
138
- variants: {
139
- $elemMatch: {
140
- price: { $lt: parseFloat(priceRange.slice(1)) }
141
- }
142
- }
143
- });
144
- } else if (priceRange.startsWith('>')) {
145
- priceConditions.push({
146
- variants: {
147
- $elemMatch: {
148
- price: { $gt: parseFloat(priceRange.slice(1)) }
149
- }
150
- }
151
- });
152
- } else {
153
- const [min, max] = priceRange.split('-').map(Number);
154
- if (!isNaN(min) && !isNaN(max)) {
155
- priceConditions.push({
156
- variants: {
157
- $elemMatch: {
158
- price: { $gte: min, $lte: max }
159
- }
160
- }
161
- });
137
+ const priceCondition = {
138
+ variants: {
139
+ $elemMatch: {
140
+ price: {}
162
141
  }
163
142
  }
164
- });
143
+ };
165
144
 
166
- return priceConditions.length > 0 ? [{ $match: { $or: priceConditions } }] : [];
145
+ if (hasValidMin) {
146
+ const minPrice = parseFloat(priceMin);
147
+ if (!isNaN(minPrice)) {
148
+ priceCondition.variants.$elemMatch.price.$gte = minPrice;
149
+ }
150
+ }
151
+
152
+ if (hasValidMax) {
153
+ const maxPrice = parseFloat(priceMax);
154
+ if (!isNaN(maxPrice)) {
155
+ priceCondition.variants.$elemMatch.price.$lte = maxPrice;
156
+ }
157
+ }
158
+
159
+ return [{ $match: priceCondition }];
167
160
  } catch (error) {
168
161
  console.error('Error parsing price filters:', error);
169
162
  return [];
@@ -182,11 +175,21 @@ function getAvailabilityFilterStage(dateStart, dateEnd) {
182
175
  const startDate = new Date(dateStart);
183
176
  const endDate = new Date(dateEnd);
184
177
 
178
+ // Проверяем валидность дат
179
+ if (isNaN(startDate.getTime()) || isNaN(endDate.getTime())) {
180
+ console.warn('Invalid dates provided for availability filter:', { dateStart, dateEnd });
181
+ return [];
182
+ }
183
+
185
184
  return [
186
185
  {
187
186
  $lookup: {
188
187
  from: 'rents',
189
- let: { productId: '$_id' },
188
+ let: {
189
+ productId: '$_id',
190
+ dateStart: startDate,
191
+ dateEnd: endDate
192
+ },
190
193
  pipeline: [
191
194
  {
192
195
  $match: {
@@ -198,20 +201,20 @@ function getAvailabilityFilterStage(dateStart, dateEnd) {
198
201
  $or: [
199
202
  {
200
203
  $and: [
201
- { $gte: ['$startDate', startDate] },
202
- { $lte: ['$startDate', endDate] }
204
+ { $gte: ['$startDate', '$$dateStart'] },
205
+ { $lte: ['$startDate', '$$dateEnd'] }
203
206
  ]
204
207
  },
205
208
  {
206
209
  $and: [
207
- { $gte: ['$endDate', startDate] },
208
- { $lte: ['$endDate', endDate] }
210
+ { $gte: ['$endDate', '$$dateStart'] },
211
+ { $lte: ['$endDate', '$$dateEnd'] }
209
212
  ]
210
213
  },
211
214
  {
212
215
  $and: [
213
- { $lte: ['$startDate', startDate] },
214
- { $gte: ['$endDate', endDate] }
216
+ { $lte: ['$startDate', '$$dateStart'] },
217
+ { $gte: ['$endDate', '$$dateEnd'] }
215
218
  ]
216
219
  }
217
220
  ]
@@ -237,7 +240,7 @@ function getAvailabilityFilterStage(dateStart, dateEnd) {
237
240
  },
238
241
  availableQuantity: {
239
242
  $subtract: [
240
- { $ifNull: ['$quantity', 1] },
243
+ { $ifNull: ['$available', 0] },
241
244
  { $ifNull: [{ $arrayElemAt: ['$rentInfo.totalRented', 0] }, 0] }
242
245
  ]
243
246
  }
@@ -1,8 +1,11 @@
1
1
  import applyCommonSchema from '@martyrs/src/modules/globals/models/schemas/common.schema.js';
2
2
  import applyOwnershipSchema from '@martyrs/src/modules/globals/models/schemas/ownership.schema.js';
3
+ import applyEngagementSchema from '@martyrs/src/modules/globals/models/schemas/engagement.schema.js';
3
4
 
4
5
  import discountschema from './schemas/discount.schema.js';
5
6
 
7
+
8
+
6
9
  export default db => {
7
10
  const DiscountSchema = discountschema(db);
8
11
 
@@ -51,6 +54,7 @@ export default db => {
51
54
 
52
55
  applyCommonSchema(ProductSchema, db);
53
56
  applyOwnershipSchema(ProductSchema, db);
57
+ applyEngagementSchema(ProductSchema, db);
54
58
 
55
59
  // Текстовый индекс для поиска
56
60
  ProductSchema.index({ name: 'text', description: 'text' });
@@ -49,20 +49,20 @@ const state = reactive({
49
49
  ],
50
50
  },
51
51
  sort: {
52
- param: 'distance',
52
+ param: 'popularity',
53
53
  order: 'asc',
54
54
  options: [
55
55
  {
56
- label: 'Distance',
57
- value: 'distance',
56
+ label: 'Price',
57
+ value: 'variants.price',
58
58
  },
59
59
  {
60
60
  label: 'Popularity',
61
61
  value: 'views',
62
62
  },
63
63
  {
64
- label: 'Products',
65
- value: 'numberOfProducts',
64
+ label: 'New',
65
+ value: 'createdAt',
66
66
  },
67
67
  ],
68
68
  },
@@ -259,10 +259,15 @@ body {
259
259
  }
260
260
  .rows-1 {display: grid; grid-template-columns: 100%; grid-auto-rows: minmax(auto, max-content); }
261
261
  .rows-1-min0_max1 {display: grid; grid-template-rows: minmax(0, 1fr); }
262
- .rows-auto { grid-auto-flow: row;
263
- grid-auto-columns: auto;
264
- grid-template-rows: auto;
265
- grid-auto-rows: auto;}
262
+ .rows-auto {
263
+ grid-auto-flow: row;
264
+ grid-auto-columns: auto;
265
+ grid-template-rows: auto;
266
+ grid-auto-rows: auto;
267
+ }
268
+ .rows-auto-1fr {
269
+ grid-auto-rows: 1fr;
270
+ }
266
271
  // REFACTOR THIS SHIT
267
272
  .grid {
268
273
  display: grid;
@@ -336,6 +336,12 @@ $display-values: (
336
336
  'table-cell': table-cell
337
337
  );
338
338
 
339
+ $text-align-values: (
340
+ 'left': left,
341
+ 'center': center,
342
+ 'right': right,
343
+ );
344
+
339
345
  $order: (
340
346
  '1': 1,
341
347
  '2': 2,
@@ -395,6 +401,10 @@ body {
395
401
  @include generate-utility-classes('o-y', 'overflow-y', null, $overflow-xy-values, $breakpoints);
396
402
  @include generate-utility-classes('d', 'display', null, $display-values, $breakpoints);
397
403
 
404
+ /* Typography */
405
+ @include generate-utility-classes('t', 'text-align', null, $text-align-values, $breakpoints);
406
+
407
+
398
408
 
399
409
  @include generate-utility-classes('cols', 'grid-template-columns', null, $cols, $breakpoints);
400
410
 
@@ -65,7 +65,8 @@ $xxl-desktop-min: 1921px;
65
65
  }
66
66
 
67
67
  // Cols
68
- .cols-1, .cols-2, .cols-4, .cols-2-2_1, .cols-2-1_2, .cols-2-1_3, .cols-2-golden-ration { display: grid !important; grid-template-columns: 1fr !important; }
68
+ /* .cols-2,*/
69
+ .cols-1, .cols-4, .cols-2-2_1, .cols-2-1_2, .cols-2-1_3, .cols-2-golden-ration { display: grid !important; grid-template-columns: 1fr !important; }
69
70
  .cols-4.no-responsive { grid-template-columns: 1fr 1fr 1fr 1fr !important }
70
71
  .cols-2 { >.col { width: 100% !important; } }
71
72
 
@@ -80,11 +80,6 @@ a:hover { cursor: pointer;}
80
80
  -ms-user-select: none; /* IE 10 and IE 11 */
81
81
  user-select: none; /* Standard syntax */
82
82
  }
83
- // Text align
84
-
85
- .t-left { text-align: left; }
86
- .t-center { text-align: center; }
87
- .t-right { text-align: right; }
88
83
  // Font weights
89
84
  .t-bold { font-weight: 900;}
90
85
  .t-demi { font-weight: 700;}