@ozdao/martyrs 0.2.509 → 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 (318) hide show
  1. package/dist/_virtual/index.cjs +4 -4
  2. package/dist/_virtual/index.js +4 -4
  3. package/dist/_virtual/index2.cjs +4 -4
  4. package/dist/_virtual/index2.js +4 -4
  5. package/dist/{main-DSiCr7yl.js → main-DrpgUZcn.js} +2804 -2610
  6. package/dist/main-XJQJFmgj.cjs +11 -0
  7. package/dist/martyrs/src/components/Button/{Button.vue.cjs → Button.vue2.cjs} +2 -2
  8. package/dist/martyrs/src/components/Button/Button.vue2.cjs.map +1 -0
  9. package/dist/martyrs/src/components/Button/{Button.vue.js → Button.vue2.js} +2 -2
  10. package/dist/martyrs/src/components/Button/{Button.vue.cjs.map → Button.vue2.js.map} +1 -1
  11. package/dist/martyrs/src/components/Checkbox/Checkbox.vue.cjs +1 -1
  12. package/dist/martyrs/src/components/Checkbox/Checkbox.vue.cjs.map +1 -1
  13. package/dist/martyrs/src/components/Checkbox/Checkbox.vue.js +1 -1
  14. package/dist/martyrs/src/components/Checkbox/Checkbox.vue.js.map +1 -1
  15. package/dist/martyrs/src/components/Chips/{Chips.vue.cjs → Chips.vue2.cjs} +2 -2
  16. package/dist/martyrs/src/components/Chips/Chips.vue2.cjs.map +1 -0
  17. package/dist/martyrs/src/components/Chips/{Chips.vue.js → Chips.vue2.js} +2 -2
  18. package/dist/martyrs/src/components/Chips/Chips.vue2.js.map +1 -0
  19. package/dist/martyrs/src/components/Dropdown/{Dropdown.vue.cjs → Dropdown.vue2.cjs} +2 -2
  20. package/dist/martyrs/src/components/Dropdown/Dropdown.vue2.cjs.map +1 -0
  21. package/dist/martyrs/src/components/Dropdown/{Dropdown.vue.js → Dropdown.vue2.js} +2 -2
  22. package/dist/martyrs/src/components/Dropdown/{Dropdown.vue.cjs.map → Dropdown.vue2.js.map} +1 -1
  23. package/dist/martyrs/src/components/Feed/Feed.vue.cjs +2 -2
  24. package/dist/martyrs/src/components/Feed/Feed.vue.cjs.map +1 -1
  25. package/dist/martyrs/src/components/Feed/Feed.vue.js +2 -2
  26. package/dist/martyrs/src/components/Feed/Feed.vue.js.map +1 -1
  27. package/dist/martyrs/src/components/Field/Field.vue.cjs +1 -1
  28. package/dist/martyrs/src/components/Field/Field.vue.cjs.map +1 -1
  29. package/dist/martyrs/src/components/Field/Field.vue.js +1 -1
  30. package/dist/martyrs/src/components/Field/Field.vue.js.map +1 -1
  31. package/dist/martyrs/src/components/FieldBig/FieldBig.vue.cjs +1 -1
  32. package/dist/martyrs/src/components/FieldBig/FieldBig.vue.js +1 -1
  33. package/dist/martyrs/src/components/FieldTags/FieldTags.vue.cjs +1 -1
  34. package/dist/martyrs/src/components/FieldTags/FieldTags.vue.js +1 -1
  35. package/dist/martyrs/src/components/Menu/{Menu.vue2.cjs → Menu.vue.cjs} +2 -2
  36. package/dist/martyrs/src/components/Menu/Menu.vue.cjs.map +1 -0
  37. package/dist/martyrs/src/components/Menu/{Menu.vue2.js → Menu.vue.js} +2 -2
  38. package/dist/martyrs/src/components/Menu/Menu.vue.js.map +1 -0
  39. package/dist/martyrs/src/components/Select/{Select.vue2.cjs → Select.vue.cjs} +2 -2
  40. package/dist/martyrs/src/components/Select/{Select.vue2.js.map → Select.vue.cjs.map} +1 -1
  41. package/dist/martyrs/src/components/Select/{Select.vue2.js → Select.vue.js} +2 -2
  42. package/dist/martyrs/src/components/Select/Select.vue.js.map +1 -0
  43. package/dist/martyrs/src/components/Tab/{Tab.vue2.cjs → Tab.vue.cjs} +2 -2
  44. package/dist/martyrs/src/components/Tab/{Tab.vue2.js.map → Tab.vue.cjs.map} +1 -1
  45. package/dist/martyrs/src/components/Tab/{Tab.vue2.js → Tab.vue.js} +2 -2
  46. package/dist/martyrs/src/components/Tab/Tab.vue.js.map +1 -0
  47. package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +2 -2
  48. package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.js +2 -2
  49. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.cjs +2 -2
  50. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +2 -2
  51. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs +3 -3
  52. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +3 -3
  53. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.cjs +1 -1
  54. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js +1 -1
  55. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.cjs +1 -1
  56. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +1 -1
  57. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.cjs +1 -1
  58. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js +1 -1
  59. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +2 -2
  60. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +2 -2
  61. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.cjs +2 -2
  62. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +2 -2
  63. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.cjs +2 -2
  64. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +2 -2
  65. package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.cjs +1 -1
  66. package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.js +1 -1
  67. package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  68. package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
  69. package/dist/martyrs/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  70. package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js +1 -1
  71. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.cjs +2 -2
  72. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +2 -2
  73. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.cjs +2 -2
  74. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
  75. package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  76. package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  77. package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  78. package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
  79. package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  80. package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  81. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  82. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +1 -1
  83. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  84. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
  85. package/dist/martyrs/src/modules/events/components/pages/Event.vue.cjs +3 -2
  86. package/dist/martyrs/src/modules/events/components/pages/Event.vue.cjs.map +1 -1
  87. package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +3 -2
  88. package/dist/martyrs/src/modules/events/components/pages/Event.vue.js.map +1 -1
  89. package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.cjs +1 -1
  90. package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js +1 -1
  91. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +3 -3
  92. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
  93. package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.cjs +1 -1
  94. package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.js +1 -1
  95. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +2 -2
  96. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js +2 -2
  97. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue.cjs +1 -1
  98. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue.js +1 -1
  99. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.cjs +1 -1
  100. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.js +1 -1
  101. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs +8 -3
  102. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs.map +1 -1
  103. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js +8 -3
  104. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js.map +1 -1
  105. package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.cjs +2 -2
  106. package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.js +2 -2
  107. package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.cjs +1 -1
  108. package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.js +1 -1
  109. package/dist/martyrs/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +1 -1
  110. package/dist/martyrs/src/modules/globals/views/components/partials/NavigationBar.vue.js +1 -1
  111. package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.cjs +112 -49
  112. package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.cjs.map +1 -1
  113. package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.js +121 -58
  114. package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.js.map +1 -1
  115. package/dist/martyrs/src/modules/globals/views/components/sections/SectionPageTitle.vue.cjs +1 -1
  116. package/dist/martyrs/src/modules/globals/views/components/sections/SectionPageTitle.vue.js +1 -1
  117. package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.cjs +1 -1
  118. package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.js +1 -1
  119. package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.cjs +1 -1
  120. package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.js +1 -1
  121. package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.cjs +3 -3
  122. package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.js +2 -2
  123. package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.cjs +3 -3
  124. package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +3 -3
  125. package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.cjs +1 -1
  126. package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.js +1 -1
  127. package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.cjs +1 -1
  128. package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.js +1 -1
  129. package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.cjs +1 -1
  130. package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.js +1 -1
  131. package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.cjs +1 -1
  132. package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js +1 -1
  133. package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.cjs +2 -2
  134. package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +2 -2
  135. package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.cjs +2 -2
  136. package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +2 -2
  137. package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.cjs +1 -1
  138. package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js +1 -1
  139. package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.cjs +1 -1
  140. package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.js +1 -1
  141. package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.cjs +2 -2
  142. package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +2 -2
  143. package/dist/martyrs/src/modules/music/components/pages/Album.vue.cjs +2 -2
  144. package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +2 -2
  145. package/dist/martyrs/src/modules/music/components/pages/Artist.vue.cjs +1 -1
  146. package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js +1 -1
  147. package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.cjs +1 -1
  148. package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.js +1 -1
  149. package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.cjs +2 -2
  150. package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js +2 -2
  151. package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.cjs +1 -1
  152. package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js +1 -1
  153. package/dist/martyrs/src/modules/music/components/pages/Track.vue.cjs +2 -2
  154. package/dist/martyrs/src/modules/music/components/pages/Track.vue.js +2 -2
  155. package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.cjs +1 -1
  156. package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.js +1 -1
  157. package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.cjs +1 -1
  158. package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.js +1 -1
  159. package/dist/martyrs/src/modules/music/router/music.cjs +3 -2
  160. package/dist/martyrs/src/modules/music/router/music.cjs.map +1 -1
  161. package/dist/martyrs/src/modules/music/router/music.js +3 -2
  162. package/dist/martyrs/src/modules/music/router/music.js.map +1 -1
  163. package/dist/martyrs/src/modules/notifications/components/pages/Notifications.vue.cjs +1 -1
  164. package/dist/martyrs/src/modules/notifications/components/pages/Notifications.vue.js +1 -1
  165. package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.cjs +2 -2
  166. package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js +2 -2
  167. package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.cjs +2 -2
  168. package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js +2 -2
  169. package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.cjs +1 -1
  170. package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js +1 -1
  171. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +2 -2
  172. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +2 -2
  173. package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
  174. package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +1 -1
  175. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +2 -2
  176. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
  177. package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  178. package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js +1 -1
  179. package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.cjs +1 -1
  180. package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js +1 -1
  181. package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.cjs +1 -1
  182. package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js +1 -1
  183. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs +3 -2
  184. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs.map +1 -1
  185. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +3 -2
  186. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js.map +1 -1
  187. package/dist/martyrs/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
  188. package/dist/martyrs/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  189. package/dist/martyrs/src/modules/orders/orders.client.cjs +0 -6
  190. package/dist/martyrs/src/modules/orders/orders.client.cjs.map +1 -1
  191. package/dist/martyrs/src/modules/orders/orders.client.js +0 -6
  192. package/dist/martyrs/src/modules/orders/orders.client.js.map +1 -1
  193. package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  194. package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  195. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  196. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  197. package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +3 -3
  198. package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.js +3 -3
  199. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs +2 -2
  200. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +2 -2
  201. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs +3 -3
  202. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +3 -3
  203. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
  204. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
  205. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +3 -3
  206. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +3 -3
  207. package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  208. package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
  209. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  210. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  211. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.cjs +2 -2
  212. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +2 -2
  213. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.cjs +2 -2
  214. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
  215. package/dist/martyrs/src/modules/organizations/router/organizations.cjs +1 -1
  216. package/dist/martyrs/src/modules/organizations/router/organizations.js +1 -1
  217. package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.cjs +1 -1
  218. package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.js +1 -1
  219. package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.cjs +1 -1
  220. package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
  221. package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +1 -1
  222. package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
  223. package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.cjs +1 -1
  224. package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.js +1 -1
  225. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  226. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +1 -1
  227. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs +5 -4
  228. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs.map +1 -1
  229. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +5 -4
  230. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js.map +1 -1
  231. package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs +2 -2
  232. package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +2 -2
  233. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs +3 -3
  234. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +3 -3
  235. package/dist/martyrs/src/modules/products/components/pages/Products.vue.cjs +118 -135
  236. package/dist/martyrs/src/modules/products/components/pages/Products.vue.cjs.map +1 -1
  237. package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +123 -140
  238. package/dist/martyrs/src/modules/products/components/pages/Products.vue.js.map +1 -1
  239. package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.cjs +1 -1
  240. package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js +1 -1
  241. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.cjs +2 -2
  242. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +2 -2
  243. package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.cjs +3 -5
  244. package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.cjs.map +1 -1
  245. package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.js +4 -6
  246. package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.js.map +1 -1
  247. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.cjs +2 -2
  248. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +2 -2
  249. package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.cjs +1 -1
  250. package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +1 -1
  251. package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.cjs +1 -1
  252. package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.js +1 -1
  253. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.cjs +1 -1
  254. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js +1 -1
  255. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.cjs +2 -2
  256. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +2 -2
  257. package/dist/martyrs/src/modules/products/store/products.cjs +5 -5
  258. package/dist/martyrs/src/modules/products/store/products.cjs.map +1 -1
  259. package/dist/martyrs/src/modules/products/store/products.js +5 -5
  260. package/dist/martyrs/src/modules/products/store/products.js.map +1 -1
  261. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.cjs +3 -3
  262. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js +3 -3
  263. package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.cjs +1 -1
  264. package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.js +1 -1
  265. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.cjs +2 -2
  266. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  267. package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  268. package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
  269. package/dist/martyrs/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
  270. package/dist/martyrs/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
  271. package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
  272. package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js +1 -1
  273. package/dist/martyrs/src/modules/spots/components/pages/Map.vue.cjs +1 -1
  274. package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js +1 -1
  275. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.cjs +3 -3
  276. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +3 -3
  277. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.cjs +2 -2
  278. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +2 -2
  279. package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
  280. package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +1 -1
  281. package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.cjs +4 -4
  282. package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js +4 -4
  283. package/dist/martyrs.cjs.js +1 -1
  284. package/dist/martyrs.css +1 -1
  285. package/dist/martyrs.es.js +1 -1
  286. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.cjs +1 -1
  287. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.js +1 -1
  288. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.cjs +1 -1
  289. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.js +1 -1
  290. package/dist/products.server.cjs +68 -44
  291. package/dist/products.server.js +68 -44
  292. package/dist/style.css +14 -11
  293. package/dist/{web-gtBkwjra.js → web-C5cmb1FH.js} +1 -1
  294. package/dist/{web-XyQNm3cW.cjs → web-d40xcY_Y.cjs} +1 -1
  295. package/package.json +1 -1
  296. package/src/components/Checkbox/Checkbox.vue +1 -1
  297. package/src/components/Feed/Feed.vue +1 -1
  298. package/src/components/Field/Field.vue +5 -0
  299. package/src/modules/globals/views/components/layouts/Client.vue +12 -1
  300. package/src/modules/globals/views/components/sections/Filters.vue +73 -15
  301. package/src/modules/orders/orders.client.js +0 -6
  302. package/src/modules/products/components/pages/Products.vue +148 -174
  303. package/src/modules/products/components/sections/EditRecommended.vue +1 -3
  304. package/src/modules/products/components/sections/ProductsPopular.vue +1 -1
  305. package/src/modules/products/controllers/configs/products.lookup.config.js +20 -3
  306. package/src/modules/products/controllers/products.controller.js +14 -2
  307. package/src/modules/products/controllers/queries/products.queries.js +46 -43
  308. package/src/modules/products/models/product.model.js +4 -0
  309. package/src/modules/products/store/products.js +5 -5
  310. package/dist/main-D89N_jml.cjs +0 -11
  311. package/dist/martyrs/src/components/Button/Button.vue.js.map +0 -1
  312. package/dist/martyrs/src/components/Chips/Chips.vue.cjs.map +0 -1
  313. package/dist/martyrs/src/components/Chips/Chips.vue.js.map +0 -1
  314. package/dist/martyrs/src/components/Dropdown/Dropdown.vue.js.map +0 -1
  315. package/dist/martyrs/src/components/Menu/Menu.vue2.cjs.map +0 -1
  316. package/dist/martyrs/src/components/Menu/Menu.vue2.js.map +0 -1
  317. package/dist/martyrs/src/components/Select/Select.vue2.cjs.map +0 -1
  318. package/dist/martyrs/src/components/Tab/Tab.vue2.cjs.map +0 -1
@@ -1,4 +1,4 @@
1
- import { _ as e, a as o, b as d, C as r, k as t, c as l, d as i, e as p, f as u, g as n, h as M, i as S, j as c, F as m, l as C, n as F, o as g, L as h, p as b, M as k, q as x, H as B, r as T, s as U, t as f, u as w, S as D, v as E, w as I, x as L, y as P, z as q, A as y, B as A, D as j, U as v, E as z, G, m as H } from "./main-DSiCr7yl.js";
1
+ import { _ as e, a as o, b as d, C as r, k as t, c as l, d as i, e as p, f as u, g as n, h as M, i as S, j as c, F as m, l as C, n as F, o as g, L as h, p as b, M as k, q as x, H as B, r as T, s as U, t as f, u as w, S as D, v as E, w as I, x as L, y as P, z as q, A as y, B as A, D as j, U as v, E as z, G, m as H } from "./main-DrpgUZcn.js";
2
2
  export {
3
3
  e as Address,
4
4
  o as Breadcrumbs,
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const utils = require("../../../../../../../_virtual/utils.cjs");
3
+ const utils = require("../../../../../../../_virtual/utils2.cjs");
4
4
  var hasRequiredUtils;
5
5
  function requireUtils() {
6
6
  if (hasRequiredUtils) return utils.__exports;
@@ -1,4 +1,4 @@
1
- import { __exports as utils } from "../../../../../../../_virtual/utils.js";
1
+ import { __exports as utils } from "../../../../../../../_virtual/utils2.js";
2
2
  var hasRequiredUtils;
3
3
  function requireUtils() {
4
4
  if (hasRequiredUtils) return utils;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const utils = require("../../../../../../../_virtual/utils2.cjs");
3
+ const utils = require("../../../../../../../_virtual/utils.cjs");
4
4
  var hasRequiredUtils;
5
5
  function requireUtils() {
6
6
  if (hasRequiredUtils) return utils.__exports;
@@ -1,4 +1,4 @@
1
- import { __exports as utils } from "../../../../../../../_virtual/utils2.js";
1
+ import { __exports as utils } from "../../../../../../../_virtual/utils.js";
2
2
  var hasRequiredUtils;
3
3
  function requireUtils() {
4
4
  if (hasRequiredUtils) return utils;
@@ -467,42 +467,31 @@ function getAttributeFiltersStage(filtersString) {
467
467
  return [];
468
468
  }
469
469
  }
470
- function getVariantPriceFilterStage(prices) {
471
- if (!prices) return [];
470
+ function getVariantPriceFilterStage(priceMin, priceMax) {
471
+ const hasValidMin = priceMin && priceMin.trim() !== "";
472
+ const hasValidMax = priceMax && priceMax.trim() !== "";
473
+ if (!hasValidMin && !hasValidMax) return [];
472
474
  try {
473
- const priceRanges = prices.split(",");
474
- const priceConditions = [];
475
- priceRanges.forEach((priceRange) => {
476
- if (priceRange.startsWith("<")) {
477
- priceConditions.push({
478
- variants: {
479
- $elemMatch: {
480
- price: { $lt: parseFloat(priceRange.slice(1)) }
481
- }
482
- }
483
- });
484
- } else if (priceRange.startsWith(">")) {
485
- priceConditions.push({
486
- variants: {
487
- $elemMatch: {
488
- price: { $gt: parseFloat(priceRange.slice(1)) }
489
- }
490
- }
491
- });
492
- } else {
493
- const [min, max] = priceRange.split("-").map(Number);
494
- if (!isNaN(min) && !isNaN(max)) {
495
- priceConditions.push({
496
- variants: {
497
- $elemMatch: {
498
- price: { $gte: min, $lte: max }
499
- }
500
- }
501
- });
475
+ const priceCondition = {
476
+ variants: {
477
+ $elemMatch: {
478
+ price: {}
502
479
  }
503
480
  }
504
- });
505
- return priceConditions.length > 0 ? [{ $match: { $or: priceConditions } }] : [];
481
+ };
482
+ if (hasValidMin) {
483
+ const minPrice = parseFloat(priceMin);
484
+ if (!isNaN(minPrice)) {
485
+ priceCondition.variants.$elemMatch.price.$gte = minPrice;
486
+ }
487
+ }
488
+ if (hasValidMax) {
489
+ const maxPrice = parseFloat(priceMax);
490
+ if (!isNaN(maxPrice)) {
491
+ priceCondition.variants.$elemMatch.price.$lte = maxPrice;
492
+ }
493
+ }
494
+ return [{ $match: priceCondition }];
506
495
  } catch (error) {
507
496
  console.error("Error parsing price filters:", error);
508
497
  return [];
@@ -512,11 +501,19 @@ function getAvailabilityFilterStage(dateStart, dateEnd) {
512
501
  if (!dateStart || !dateEnd) return [];
513
502
  const startDate = new Date(dateStart);
514
503
  const endDate = new Date(dateEnd);
504
+ if (isNaN(startDate.getTime()) || isNaN(endDate.getTime())) {
505
+ console.warn("Invalid dates provided for availability filter:", { dateStart, dateEnd });
506
+ return [];
507
+ }
515
508
  return [
516
509
  {
517
510
  $lookup: {
518
511
  from: "rents",
519
- let: { productId: "$_id" },
512
+ let: {
513
+ productId: "$_id",
514
+ dateStart: startDate,
515
+ dateEnd: endDate
516
+ },
520
517
  pipeline: [
521
518
  {
522
519
  $match: {
@@ -528,20 +525,20 @@ function getAvailabilityFilterStage(dateStart, dateEnd) {
528
525
  $or: [
529
526
  {
530
527
  $and: [
531
- { $gte: ["$startDate", startDate] },
532
- { $lte: ["$startDate", endDate] }
528
+ { $gte: ["$startDate", "$$dateStart"] },
529
+ { $lte: ["$startDate", "$$dateEnd"] }
533
530
  ]
534
531
  },
535
532
  {
536
533
  $and: [
537
- { $gte: ["$endDate", startDate] },
538
- { $lte: ["$endDate", endDate] }
534
+ { $gte: ["$endDate", "$$dateStart"] },
535
+ { $lte: ["$endDate", "$$dateEnd"] }
539
536
  ]
540
537
  },
541
538
  {
542
539
  $and: [
543
- { $lte: ["$startDate", startDate] },
544
- { $gte: ["$endDate", endDate] }
540
+ { $lte: ["$startDate", "$$dateStart"] },
541
+ { $gte: ["$endDate", "$$dateEnd"] }
545
542
  ]
546
543
  }
547
544
  ]
@@ -716,13 +713,30 @@ const productLookupConfigs = {
716
713
  }
717
714
  }]
718
715
  },
719
- // Лукап для аренд продукта
716
+ // Лукап для аренд продуктов (статичный без дат)
720
717
  rents: {
721
718
  lookup: {
722
719
  from: "rents",
723
720
  localField: "_id",
724
721
  foreignField: "product",
725
- as: "rents"
722
+ as: "rents",
723
+ pipeline: [
724
+ {
725
+ $match: {
726
+ status: { $in: ["confirmed", "active"] }
727
+ }
728
+ },
729
+ {
730
+ $project: {
731
+ _id: 1,
732
+ product: 1,
733
+ startDate: 1,
734
+ endDate: 1,
735
+ quantity: 1,
736
+ status: 1
737
+ }
738
+ }
739
+ ]
726
740
  }
727
741
  }
728
742
  };
@@ -744,6 +758,15 @@ const controllerFactory = (db) => {
744
758
  const Read = async (req, res) => {
745
759
  try {
746
760
  const requestedLookups = queryProcessor.queryProcessorGlobals.getRequestedLookups(req.query);
761
+ if (req.query.dateStart || req.query.dateEnd) {
762
+ console.log("Availability filter params:", {
763
+ dateStart: req.query.dateStart,
764
+ dateEnd: req.query.dateEnd,
765
+ dateStartType: typeof req.query.dateStart,
766
+ dateEndType: typeof req.query.dateEnd
767
+ });
768
+ }
769
+ console.log("availability variant", JSON.stringify(...queryProcessorProducts.getAvailabilityFilterStage(req.query.dateStart, req.query.dateEnd), null, 2));
747
770
  const stages = [
748
771
  ...queryProcessor.queryProcessorGlobals.getBasicOptions(req.query),
749
772
  ...queryProcessor.queryProcessorGlobals.getSearchOptions(req.query.search, {
@@ -756,9 +779,9 @@ const controllerFactory = (db) => {
756
779
  ...queryProcessorProducts.getCategoriesFilterStage(req.query.categories),
757
780
  ...queryProcessorProducts.getDeliveryFilterStage(req.query.delivery),
758
781
  ...queryProcessorProducts.getAttributeFiltersStage(req.query.filters),
759
- ...queryProcessorProducts.getVariantPriceFilterStage(req.query.prices),
760
- ...queryProcessorProducts.getAvailabilityFilterStage(req.query.dateStart, req.query.dateEnd),
761
782
  ...queryProcessor.queryProcessorGlobals.getLookupStages(requestedLookups, productLookupConfigs),
783
+ ...queryProcessorProducts.getVariantPriceFilterStage(req.query.priceMin, req.query.priceMax),
784
+ ...queryProcessorProducts.getAvailabilityFilterStage(req.query.dateStart, req.query.dateEnd),
762
785
  queryProcessor.queryProcessorGlobals.getCreatorUserLookupStage(),
763
786
  queryProcessor.queryProcessorGlobals.getCreatorOrganizationLookupStage(),
764
787
  queryProcessor.queryProcessorGlobals.getOwnerUserLookupStage(),
@@ -977,6 +1000,7 @@ const ProductModel = (db) => {
977
1000
  });
978
1001
  common_schema.applyCommonSchema(ProductSchema);
979
1002
  ownership_schema.applyOwnershipSchema(ProductSchema, db);
1003
+ engagement_schema.applyEngagementSchema(ProductSchema);
980
1004
  ProductSchema.index({ name: "text", description: "text" });
981
1005
  ProductSchema.index({ "owner.type": 1, "owner.target": 1, status: 1, category: 1 });
982
1006
  ProductSchema.index({ category: 1, status: 1, delivery: 1, price: 1 });
@@ -465,42 +465,31 @@ function getAttributeFiltersStage(filtersString) {
465
465
  return [];
466
466
  }
467
467
  }
468
- function getVariantPriceFilterStage(prices) {
469
- if (!prices) return [];
468
+ function getVariantPriceFilterStage(priceMin, priceMax) {
469
+ const hasValidMin = priceMin && priceMin.trim() !== "";
470
+ const hasValidMax = priceMax && priceMax.trim() !== "";
471
+ if (!hasValidMin && !hasValidMax) return [];
470
472
  try {
471
- const priceRanges = prices.split(",");
472
- const priceConditions = [];
473
- priceRanges.forEach((priceRange) => {
474
- if (priceRange.startsWith("<")) {
475
- priceConditions.push({
476
- variants: {
477
- $elemMatch: {
478
- price: { $lt: parseFloat(priceRange.slice(1)) }
479
- }
480
- }
481
- });
482
- } else if (priceRange.startsWith(">")) {
483
- priceConditions.push({
484
- variants: {
485
- $elemMatch: {
486
- price: { $gt: parseFloat(priceRange.slice(1)) }
487
- }
488
- }
489
- });
490
- } else {
491
- const [min, max] = priceRange.split("-").map(Number);
492
- if (!isNaN(min) && !isNaN(max)) {
493
- priceConditions.push({
494
- variants: {
495
- $elemMatch: {
496
- price: { $gte: min, $lte: max }
497
- }
498
- }
499
- });
473
+ const priceCondition = {
474
+ variants: {
475
+ $elemMatch: {
476
+ price: {}
500
477
  }
501
478
  }
502
- });
503
- return priceConditions.length > 0 ? [{ $match: { $or: priceConditions } }] : [];
479
+ };
480
+ if (hasValidMin) {
481
+ const minPrice = parseFloat(priceMin);
482
+ if (!isNaN(minPrice)) {
483
+ priceCondition.variants.$elemMatch.price.$gte = minPrice;
484
+ }
485
+ }
486
+ if (hasValidMax) {
487
+ const maxPrice = parseFloat(priceMax);
488
+ if (!isNaN(maxPrice)) {
489
+ priceCondition.variants.$elemMatch.price.$lte = maxPrice;
490
+ }
491
+ }
492
+ return [{ $match: priceCondition }];
504
493
  } catch (error) {
505
494
  console.error("Error parsing price filters:", error);
506
495
  return [];
@@ -510,11 +499,19 @@ function getAvailabilityFilterStage(dateStart, dateEnd) {
510
499
  if (!dateStart || !dateEnd) return [];
511
500
  const startDate = new Date(dateStart);
512
501
  const endDate = new Date(dateEnd);
502
+ if (isNaN(startDate.getTime()) || isNaN(endDate.getTime())) {
503
+ console.warn("Invalid dates provided for availability filter:", { dateStart, dateEnd });
504
+ return [];
505
+ }
513
506
  return [
514
507
  {
515
508
  $lookup: {
516
509
  from: "rents",
517
- let: { productId: "$_id" },
510
+ let: {
511
+ productId: "$_id",
512
+ dateStart: startDate,
513
+ dateEnd: endDate
514
+ },
518
515
  pipeline: [
519
516
  {
520
517
  $match: {
@@ -526,20 +523,20 @@ function getAvailabilityFilterStage(dateStart, dateEnd) {
526
523
  $or: [
527
524
  {
528
525
  $and: [
529
- { $gte: ["$startDate", startDate] },
530
- { $lte: ["$startDate", endDate] }
526
+ { $gte: ["$startDate", "$$dateStart"] },
527
+ { $lte: ["$startDate", "$$dateEnd"] }
531
528
  ]
532
529
  },
533
530
  {
534
531
  $and: [
535
- { $gte: ["$endDate", startDate] },
536
- { $lte: ["$endDate", endDate] }
532
+ { $gte: ["$endDate", "$$dateStart"] },
533
+ { $lte: ["$endDate", "$$dateEnd"] }
537
534
  ]
538
535
  },
539
536
  {
540
537
  $and: [
541
- { $lte: ["$startDate", startDate] },
542
- { $gte: ["$endDate", endDate] }
538
+ { $lte: ["$startDate", "$$dateStart"] },
539
+ { $gte: ["$endDate", "$$dateEnd"] }
543
540
  ]
544
541
  }
545
542
  ]
@@ -714,13 +711,30 @@ const productLookupConfigs = {
714
711
  }
715
712
  }]
716
713
  },
717
- // Лукап для аренд продукта
714
+ // Лукап для аренд продуктов (статичный без дат)
718
715
  rents: {
719
716
  lookup: {
720
717
  from: "rents",
721
718
  localField: "_id",
722
719
  foreignField: "product",
723
- as: "rents"
720
+ as: "rents",
721
+ pipeline: [
722
+ {
723
+ $match: {
724
+ status: { $in: ["confirmed", "active"] }
725
+ }
726
+ },
727
+ {
728
+ $project: {
729
+ _id: 1,
730
+ product: 1,
731
+ startDate: 1,
732
+ endDate: 1,
733
+ quantity: 1,
734
+ status: 1
735
+ }
736
+ }
737
+ ]
724
738
  }
725
739
  }
726
740
  };
@@ -742,6 +756,15 @@ const controllerFactory = (db) => {
742
756
  const Read = async (req, res) => {
743
757
  try {
744
758
  const requestedLookups = queryProcessorGlobals.getRequestedLookups(req.query);
759
+ if (req.query.dateStart || req.query.dateEnd) {
760
+ console.log("Availability filter params:", {
761
+ dateStart: req.query.dateStart,
762
+ dateEnd: req.query.dateEnd,
763
+ dateStartType: typeof req.query.dateStart,
764
+ dateEndType: typeof req.query.dateEnd
765
+ });
766
+ }
767
+ console.log("availability variant", JSON.stringify(...queryProcessorProducts.getAvailabilityFilterStage(req.query.dateStart, req.query.dateEnd), null, 2));
745
768
  const stages = [
746
769
  ...queryProcessorGlobals.getBasicOptions(req.query),
747
770
  ...queryProcessorGlobals.getSearchOptions(req.query.search, {
@@ -754,9 +777,9 @@ const controllerFactory = (db) => {
754
777
  ...queryProcessorProducts.getCategoriesFilterStage(req.query.categories),
755
778
  ...queryProcessorProducts.getDeliveryFilterStage(req.query.delivery),
756
779
  ...queryProcessorProducts.getAttributeFiltersStage(req.query.filters),
757
- ...queryProcessorProducts.getVariantPriceFilterStage(req.query.prices),
758
- ...queryProcessorProducts.getAvailabilityFilterStage(req.query.dateStart, req.query.dateEnd),
759
780
  ...queryProcessorGlobals.getLookupStages(requestedLookups, productLookupConfigs),
781
+ ...queryProcessorProducts.getVariantPriceFilterStage(req.query.priceMin, req.query.priceMax),
782
+ ...queryProcessorProducts.getAvailabilityFilterStage(req.query.dateStart, req.query.dateEnd),
760
783
  queryProcessorGlobals.getCreatorUserLookupStage(),
761
784
  queryProcessorGlobals.getCreatorOrganizationLookupStage(),
762
785
  queryProcessorGlobals.getOwnerUserLookupStage(),
@@ -975,6 +998,7 @@ const ProductModel = (db) => {
975
998
  });
976
999
  applyCommonSchema(ProductSchema);
977
1000
  applyOwnershipSchema(ProductSchema, db);
1001
+ applyEngagementSchema(ProductSchema);
978
1002
  ProductSchema.index({ name: "text", description: "text" });
979
1003
  ProductSchema.index({ "owner.type": 1, "owner.target": 1, status: 1, category: 1 });
980
1004
  ProductSchema.index({ category: 1, status: 1, delivery: 1, price: 1 });
package/dist/style.css CHANGED
@@ -63,19 +63,22 @@
63
63
  .background-div {
64
64
  flex-grow: 1;
65
65
  }
66
- input[data-v-985f0e53],
67
- textarea[data-v-985f0e53],
68
- span[data-v-985f0e53] {
66
+ input[data-v-36998019],
67
+ textarea[data-v-36998019],
68
+ span[data-v-36998019] {
69
69
  color: inherit;
70
70
  line-height: 1;
71
71
  }
72
- textarea[data-v-985f0e53] {
72
+ textarea[data-v-36998019] {
73
73
  resize: none;
74
74
  overflow: hidden;
75
75
  height: 1rem;
76
76
  }
77
- input[type="date"][data-v-985f0e53]::-webkit-calendar-picker-indicator,
78
- input[type="time"][data-v-985f0e53]::-webkit-calendar-picker-indicator {
77
+ input[data-v-36998019] {
78
+ height: 1rem;
79
+ }
80
+ input[type="date"][data-v-36998019]::-webkit-calendar-picker-indicator,
81
+ input[type="time"][data-v-36998019]::-webkit-calendar-picker-indicator {
79
82
  filter: invert(1);
80
83
  opacity: 1;
81
84
  color: inherit;
@@ -779,7 +782,11 @@ button[data-v-2ba40647]:disabled {
779
782
  overflow: hidden;
780
783
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
781
784
  }
782
- .filters-content[data-v-e07dca8a] {
785
+ .icon-custom {
786
+ background: white;
787
+ }
788
+
789
+ .filters-content[data-v-e749b035] {
783
790
  max-height: 60vh;
784
791
  overflow-y: auto;
785
792
  }
@@ -798,10 +805,6 @@ button[data-v-2ba40647]:disabled {
798
805
  position: absolute;
799
806
  }
800
807
 
801
- .icon-custom {
802
- background: white;
803
- }
804
-
805
808
  .t-trimmed {
806
809
  font-size: 0;
807
810
  }
@@ -1,4 +1,4 @@
1
- import { W as p } from "./main-DSiCr7yl.js";
1
+ import { W as p } from "./main-DrpgUZcn.js";
2
2
  class f extends p {
3
3
  constructor() {
4
4
  super(...arguments), this.group = "CapacitorStorage";
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./main-D89N_jml.cjs");class p extends c.WebPlugin{constructor(){super(...arguments),this.group="CapacitorStorage"}async configure({group:e}){typeof e=="string"&&(this.group=e)}async get(e){return{value:this.impl.getItem(this.applyPrefix(e.key))}}async set(e){this.impl.setItem(this.applyPrefix(e.key),e.value)}async remove(e){this.impl.removeItem(this.applyPrefix(e.key))}async keys(){return{keys:this.rawKeys().map(t=>t.substring(this.prefix.length))}}async clear(){for(const e of this.rawKeys())this.impl.removeItem(e)}async migrate(){var e;const t=[],s=[],n="_cap_",o=Object.keys(this.impl).filter(i=>i.indexOf(n)===0);for(const i of o){const r=i.substring(n.length),a=(e=this.impl.getItem(i))!==null&&e!==void 0?e:"",{value:l}=await this.get({key:r});typeof l=="string"?s.push(r):(await this.set({key:r,value:a}),t.push(r))}return{migrated:t,existing:s}}async removeOld(){const e="_cap_",t=Object.keys(this.impl).filter(s=>s.indexOf(e)===0);for(const s of t)this.impl.removeItem(s)}get impl(){return window.localStorage}get prefix(){return this.group==="NativeStorage"?"":`${this.group}.`}rawKeys(){return Object.keys(this.impl).filter(e=>e.indexOf(this.prefix)===0)}applyPrefix(e){return this.prefix+e}}exports.PreferencesWeb=p;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./main-XJQJFmgj.cjs");class p extends c.WebPlugin{constructor(){super(...arguments),this.group="CapacitorStorage"}async configure({group:e}){typeof e=="string"&&(this.group=e)}async get(e){return{value:this.impl.getItem(this.applyPrefix(e.key))}}async set(e){this.impl.setItem(this.applyPrefix(e.key),e.value)}async remove(e){this.impl.removeItem(this.applyPrefix(e.key))}async keys(){return{keys:this.rawKeys().map(t=>t.substring(this.prefix.length))}}async clear(){for(const e of this.rawKeys())this.impl.removeItem(e)}async migrate(){var e;const t=[],s=[],n="_cap_",o=Object.keys(this.impl).filter(i=>i.indexOf(n)===0);for(const i of o){const r=i.substring(n.length),a=(e=this.impl.getItem(i))!==null&&e!==void 0?e:"",{value:l}=await this.get({key:r});typeof l=="string"?s.push(r):(await this.set({key:r,value:a}),t.push(r))}return{migrated:t,existing:s}}async removeOld(){const e="_cap_",t=Object.keys(this.impl).filter(s=>s.indexOf(e)===0);for(const s of t)this.impl.removeItem(s)}get impl(){return window.localStorage}get prefix(){return this.group==="NativeStorage"?"":`${this.group}.`}rawKeys(){return Object.keys(this.impl).filter(e=>e.indexOf(this.prefix)===0)}applyPrefix(e){return this.prefix+e}}exports.PreferencesWeb=p;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ozdao/martyrs",
3
- "version": "0.2.509",
3
+ "version": "0.2.510",
4
4
  "description": "Fullstack framework focused on user experience and ease of development.",
5
5
  "author": "OZ DAO <hello@ozdao.dev>",
6
6
  "license": "GPL-3.0-or-later",
@@ -53,7 +53,7 @@
53
53
  :checked="Array.isArray(radio) ? radio.includes(value) : radio"
54
54
  >
55
55
  <div
56
- class="cursor-pointer mn-l-thin flex-center"
56
+ class="cursor-pointer mn-l-thin flex-center field-wrapper"
57
57
  :class="{
58
58
  'transition-elastic pd-thin h-2r w-4r radius-extra': mode === 'switch',
59
59
  'w-2r h-2r radius-small': mode === 'checkbox',
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div v-if="search || date || (sort && !sort.hideButton)" style="transform: scale(1);" class="mn-b-thin pos-relative flex-nowrap flex gap-thin">
2
+ <div v-if="search || date || (sort && !sort.hideButton)" style="transform: scale(1);" class="mn-b-thin pos-relative z-index-2 pos-relative flex-nowrap flex gap-thin">
3
3
 
4
4
  <BlockSearch
5
5
  v-if="search"
@@ -150,6 +150,11 @@ textarea {
150
150
  overflow: hidden;
151
151
  height: 1rem;
152
152
  }
153
+
154
+ input {
155
+ height: 1rem;
156
+ }
157
+
153
158
  input[type="date"]::-webkit-calendar-picker-indicator,
154
159
  input[type="time"]::-webkit-calendar-picker-indicator {
155
160
  filter: invert(1);
@@ -143,6 +143,7 @@
143
143
  class="w-100 h-min-100"
144
144
  @page-loading="handlePageLoading"
145
145
  @page-loaded="handlePageLoaded"
146
+ :key="componentKey"
146
147
  />
147
148
  <!-- Key пока выключил непонятно какие проблемы это вызовет -->
148
149
  <!-- :key="route.path" -->
@@ -193,7 +194,7 @@
193
194
 
194
195
 
195
196
  <script setup>
196
- import { computed, ref, onMounted, watch } from 'vue';
197
+ import { computed, ref, onMounted } from 'vue';
197
198
  // Router
198
199
  import { useRoute } from 'vue-router';
199
200
  // Store
@@ -330,6 +331,16 @@
330
331
 
331
332
  if (page.value) show.value = true
332
333
  });
334
+
335
+ const componentKey = computed(() => {
336
+ // Собираем только значимые параметры (ID сущностей)
337
+ const significantParams = ['_id', 'product', 'organization', 'categoryPath']
338
+ .map(param => route.params[param])
339
+ .filter(Boolean)
340
+ .join('-');
341
+
342
+ return significantParams || route.name;
343
+ });
333
344
  </script>
334
345
 
335
346
  <style lang="scss">