@ozdao/martyrs 0.2.580 → 0.2.582

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 (211) hide show
  1. package/dist/_virtual/dayjs.min.js +1 -1
  2. package/dist/_virtual/weekOfYear.js +1 -1
  3. package/dist/builder.js +1 -6
  4. package/dist/loader.js +1 -6
  5. package/dist/martyrs/src/components/Block/Block.vue.js +1 -1
  6. package/dist/martyrs/src/components/Button/{Button.vue2.js → Button.vue.js} +2 -2
  7. package/dist/martyrs/src/components/Button/Button.vue.js.map +1 -0
  8. package/dist/martyrs/src/components/EditImages/{EditImages.vue2.js → EditImages.vue.js} +2 -2
  9. package/dist/martyrs/src/components/EditImages/EditImages.vue.js.map +1 -0
  10. package/dist/martyrs/src/components/Feed/Feed.vue.js +1 -1
  11. package/dist/martyrs/src/components/FieldBig/FieldBig.vue.js +1 -1
  12. package/dist/martyrs/src/components/Select/{Select.vue.js → Select.vue2.js} +2 -2
  13. package/dist/martyrs/src/components/Select/Select.vue2.js.map +1 -0
  14. package/dist/martyrs/src/components/Spoiler/{Spoiler.vue2.js → Spoiler.vue.js} +2 -2
  15. package/dist/martyrs/src/components/Spoiler/Spoiler.vue.js.map +1 -0
  16. package/dist/martyrs/src/components/Tab/{Tab.vue2.js → Tab.vue.js} +2 -2
  17. package/dist/martyrs/src/components/Tab/Tab.vue.js.map +1 -0
  18. package/dist/martyrs/src/components/Tooltip/{Tooltip.vue.js → Tooltip.vue2.js} +2 -2
  19. package/dist/martyrs/src/components/Tooltip/Tooltip.vue2.js.map +1 -0
  20. package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.js +2 -2
  21. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +2 -2
  22. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +1 -1
  23. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js +1 -1
  24. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js +1 -1
  25. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js.map +1 -1
  26. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +1 -1
  27. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js +1 -1
  28. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +2 -2
  29. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +5 -2
  30. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js.map +1 -1
  31. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +2 -2
  32. package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.js +1 -1
  33. package/dist/martyrs/src/modules/auth/views/configs/navigation.user.config.js +2 -3
  34. package/dist/martyrs/src/modules/auth/views/configs/navigation.user.config.js.map +1 -1
  35. package/dist/martyrs/src/modules/auth/views/router/users.router.js +1 -2
  36. package/dist/martyrs/src/modules/auth/views/router/users.router.js.map +1 -1
  37. package/dist/martyrs/src/modules/auth/views/store/auth.js +1 -0
  38. package/dist/martyrs/src/modules/auth/views/store/auth.js.map +1 -1
  39. package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js +1 -1
  40. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +1 -1
  41. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
  42. package/dist/martyrs/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
  43. package/dist/martyrs/src/modules/core/views/classes/ws.manager.js +16 -1
  44. package/dist/martyrs/src/modules/core/views/classes/ws.manager.js.map +1 -1
  45. package/dist/martyrs/src/modules/core/views/components/blocks/CardHeader.vue.js +2 -2
  46. package/dist/martyrs/src/modules/core/views/components/blocks/PopupAuth.vue.js +1 -1
  47. package/dist/martyrs/src/modules/core/views/components/blocks/PopupDateSelector.vue.js +1 -1
  48. package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js +1 -1
  49. package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js +2 -2
  50. package/dist/martyrs/src/modules/core/views/components/partials/Navigation.vue.js +1 -1
  51. package/dist/martyrs/src/modules/core/views/components/partials/NavigationBar.vue.js +1 -1
  52. package/dist/martyrs/src/modules/core/views/components/sections/{Filters.vue2.js → Filters.vue.js} +2 -2
  53. package/dist/martyrs/src/modules/core/views/components/sections/Filters.vue.js.map +1 -0
  54. package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.js +1 -1
  55. package/dist/martyrs/src/modules/core/views/utils/vue-app-renderer.js +8 -1
  56. package/dist/martyrs/src/modules/core/views/utils/vue-app-renderer.js.map +1 -1
  57. package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
  58. package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  59. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +2 -2
  60. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
  61. package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +1 -1
  62. package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js +1 -1
  63. package/dist/martyrs/src/modules/events/components/sections/EditTickets.vue.js +1 -1
  64. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
  65. package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.js +2 -2
  66. package/dist/martyrs/src/modules/inventory/components/forms/ColumnSettingsMenu.vue.js +1 -1
  67. package/dist/martyrs/src/modules/inventory/components/forms/HistoryView.vue.js +1 -1
  68. package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.js +2 -2
  69. package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +2 -2
  70. package/dist/martyrs/src/modules/landing/components/sections/SectionGuide.vue.js +1 -1
  71. package/dist/martyrs/src/modules/marketplace/views/components/pages/Marketplace.vue.js +1 -1
  72. package/dist/martyrs/src/modules/music/components/blocks/ActionButtons.vue.js +1 -1
  73. package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.js +1 -1
  74. package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.js +1 -1
  75. package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.js +1 -1
  76. package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js +1 -1
  77. package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +2 -2
  78. package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +2 -2
  79. package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js +1 -1
  80. package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.js +1 -1
  81. package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +2 -2
  82. package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +1 -1
  83. package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js +1 -1
  84. package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.js +1 -1
  85. package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js +1 -1
  86. package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js +1 -1
  87. package/dist/martyrs/src/modules/music/components/pages/Track.vue.js +1 -1
  88. package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.js +1 -1
  89. package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.js +1 -1
  90. package/dist/martyrs/src/modules/music/components/player/PlayerControls.vue.js +1 -1
  91. package/dist/martyrs/src/modules/music/components/player/VolumeControl.vue.js +1 -1
  92. package/dist/martyrs/src/modules/notifications/components/blocks/NotificationItem.vue.js +2 -2
  93. package/dist/martyrs/src/modules/notifications/components/blocks/NotificationItem.vue.js.map +1 -1
  94. package/dist/martyrs/src/modules/notifications/components/layouts/NotificationsLayout.vue.js +11 -40
  95. package/dist/martyrs/src/modules/notifications/components/layouts/NotificationsLayout.vue.js.map +1 -1
  96. package/dist/martyrs/src/modules/notifications/components/pages/Notifications.vue.js +26 -21
  97. package/dist/martyrs/src/modules/notifications/components/pages/Notifications.vue.js.map +1 -1
  98. package/dist/martyrs/src/modules/notifications/components/sections/NotificationPreferences.vue.js +54 -48
  99. package/dist/martyrs/src/modules/notifications/components/sections/NotificationPreferences.vue.js.map +1 -1
  100. package/dist/martyrs/src/modules/notifications/components/sections/NotificationsList.vue.js +37 -117
  101. package/dist/martyrs/src/modules/notifications/components/sections/NotificationsList.vue.js.map +1 -1
  102. package/dist/martyrs/src/modules/notifications/notifications.client.js +18 -15
  103. package/dist/martyrs/src/modules/notifications/notifications.client.js.map +1 -1
  104. package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js +1 -1
  105. package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js +2 -2
  106. package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js +2 -2
  107. package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js +1 -1
  108. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +3 -3
  109. package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +1 -1
  110. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
  111. package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js +1 -1
  112. package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js +1 -1
  113. package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js +1 -1
  114. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +1 -1
  115. package/dist/martyrs/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  116. package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.js +1 -1
  117. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  118. package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.js +1 -1
  119. package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js +2 -2
  120. package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.js +1 -1
  121. package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.js +1 -1
  122. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +1 -1
  123. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +3 -3
  124. package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
  125. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  126. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +2 -2
  127. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
  128. package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.js +1 -1
  129. package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +2 -2
  130. package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
  131. package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.js +1 -1
  132. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +1 -1
  133. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +3 -3
  134. package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +2 -2
  135. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +4 -4
  136. package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +3 -3
  137. package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js +1 -1
  138. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +2 -2
  139. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +3 -3
  140. package/dist/martyrs/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
  141. package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +1 -1
  142. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js +1 -1
  143. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +2 -2
  144. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js +2 -2
  145. package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.js +1 -1
  146. package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js +1 -1
  147. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  148. package/dist/martyrs/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
  149. package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js +1 -1
  150. package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js +1 -1
  151. package/dist/martyrs/src/modules/spots/components/pages/Spot.vue.js +1 -1
  152. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +3 -3
  153. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +2 -2
  154. package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +1 -1
  155. package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js +3 -3
  156. package/dist/{martyrs → node_modules/.pnpm/@vue_server-renderer@3.5.13_vue@3.5.13_typescript@5.8.3_}/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.js +1 -1
  157. package/dist/node_modules/.pnpm/@vue_server-renderer@3.5.13_vue@3.5.13_typescript@5.8.3_/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.js.map +1 -0
  158. package/dist/node_modules/.pnpm/@vue_shared@3.5.13/node_modules/@vue/shared/dist/shared.esm-bundler.js.map +1 -0
  159. package/dist/{martyrs → node_modules/.pnpm/dayjs@1.11.13}/node_modules/dayjs/dayjs.min.js +1 -1
  160. package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.js.map +1 -0
  161. package/dist/{martyrs → node_modules/.pnpm/dayjs@1.11.13}/node_modules/dayjs/plugin/weekOfYear.js +1 -1
  162. package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/weekOfYear.js.map +1 -0
  163. package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/native.js +6 -0
  164. package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/native.js.map +1 -0
  165. package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/rng.js +15 -0
  166. package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/rng.js.map +1 -0
  167. package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/stringify.js +11 -0
  168. package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -0
  169. package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/v4.js +20 -0
  170. package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/v4.js.map +1 -0
  171. package/dist/style.css +2 -189
  172. package/package.json +1 -1
  173. package/src/jit/loader.js +1 -6
  174. package/src/jit/plugin.js +1 -5
  175. package/src/modules/auth/views/components/pages/ProfileEdit.vue +1 -1
  176. package/src/modules/auth/views/components/pages/SignIn.vue +14 -10
  177. package/src/modules/auth/views/configs/navigation.user.config.js +10 -10
  178. package/src/modules/auth/views/router/users.router.js +0 -1
  179. package/src/modules/auth/views/store/auth.js +1 -0
  180. package/src/modules/core/views/classes/ws.manager.js +20 -1
  181. package/src/modules/core/views/utils/vue-app-renderer.js +9 -3
  182. package/src/modules/notifications/components/blocks/NotificationItem.vue +1 -1
  183. package/src/modules/notifications/components/layouts/NotificationsLayout.vue +9 -53
  184. package/src/modules/notifications/components/pages/Notifications.vue +21 -22
  185. package/src/modules/notifications/components/sections/NotificationPreferences.vue +41 -180
  186. package/src/modules/notifications/components/sections/NotificationsList.vue +39 -219
  187. package/src/modules/notifications/notifications.client.js +17 -16
  188. package/dist/martyrs/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.js.map +0 -1
  189. package/dist/martyrs/node_modules/@vue/shared/dist/shared.esm-bundler.js.map +0 -1
  190. package/dist/martyrs/node_modules/dayjs/dayjs.min.js.map +0 -1
  191. package/dist/martyrs/node_modules/dayjs/plugin/weekOfYear.js.map +0 -1
  192. package/dist/martyrs/node_modules/uuid/dist/esm-browser/regex.js +0 -5
  193. package/dist/martyrs/node_modules/uuid/dist/esm-browser/regex.js.map +0 -1
  194. package/dist/martyrs/node_modules/uuid/dist/esm-browser/rng.js +0 -15
  195. package/dist/martyrs/node_modules/uuid/dist/esm-browser/rng.js.map +0 -1
  196. package/dist/martyrs/node_modules/uuid/dist/esm-browser/stringify.js +0 -17
  197. package/dist/martyrs/node_modules/uuid/dist/esm-browser/stringify.js.map +0 -1
  198. package/dist/martyrs/node_modules/uuid/dist/esm-browser/v4.js +0 -13
  199. package/dist/martyrs/node_modules/uuid/dist/esm-browser/v4.js.map +0 -1
  200. package/dist/martyrs/node_modules/uuid/dist/esm-browser/validate.js +0 -8
  201. package/dist/martyrs/node_modules/uuid/dist/esm-browser/validate.js.map +0 -1
  202. package/dist/martyrs/src/components/Button/Button.vue2.js.map +0 -1
  203. package/dist/martyrs/src/components/EditImages/EditImages.vue2.js.map +0 -1
  204. package/dist/martyrs/src/components/Select/Select.vue.js.map +0 -1
  205. package/dist/martyrs/src/components/Spoiler/Spoiler.vue2.js.map +0 -1
  206. package/dist/martyrs/src/components/Tab/Tab.vue2.js.map +0 -1
  207. package/dist/martyrs/src/components/Tooltip/Tooltip.vue.js.map +0 -1
  208. package/dist/martyrs/src/modules/auth/views/components/blocks/ProfileCard.vue.js +0 -44
  209. package/dist/martyrs/src/modules/auth/views/components/blocks/ProfileCard.vue.js.map +0 -1
  210. package/dist/martyrs/src/modules/core/views/components/sections/Filters.vue2.js.map +0 -1
  211. /package/dist/{martyrs → node_modules/.pnpm/@vue_shared@3.5.13}/node_modules/@vue/shared/dist/shared.esm-bundler.js +0 -0
@@ -1,8 +1,8 @@
1
1
  import { ref, onMounted, createElementBlock, openBlock, createElementVNode, createCommentVNode, createVNode, Fragment, renderList, normalizeClass, createBlock, resolveDynamicComponent, toDisplayString, withCtx, createTextVNode } from "vue";
2
2
  import { useRoute } from "vue-router";
3
3
  import Field from "../../../../components/Field/Field.vue.js";
4
- import Select from "../../../../components/Select/Select.vue.js";
5
- import _sfc_main$2 from "../../../../components/Button/Button.vue2.js";
4
+ import Select from "../../../../components/Select/Select.vue2.js";
5
+ import _sfc_main$2 from "../../../../components/Button/Button.vue.js";
6
6
  import { state } from "../../../auth/views/store/auth.js";
7
7
  import { actions } from "../../../spots/store/spots.js";
8
8
  import variantsStore from "../../../products/store/variants.store.js";
@@ -1,6 +1,6 @@
1
1
  import { ref, watch, createElementBlock, openBlock, createElementVNode, Fragment, renderList, createVNode, withCtx, createTextVNode } from "vue";
2
2
  import _sfc_main$1 from "../../../../components/Checkbox/Checkbox.vue.js";
3
- import _sfc_main$2 from "../../../../components/Button/Button.vue2.js";
3
+ import _sfc_main$2 from "../../../../components/Button/Button.vue.js";
4
4
  const _hoisted_1 = { class: "w-100" };
5
5
  const _hoisted_2 = { class: "mn-b-medium" };
6
6
  const _hoisted_3 = { class: "flex-nowrap flex gap-small" };
@@ -1,6 +1,6 @@
1
1
  import { ref, onMounted, createElementBlock, openBlock, createElementVNode, createVNode, createBlock, toDisplayString, createCommentVNode, Fragment, renderList, normalizeClass, createTextVNode, withCtx } from "vue";
2
2
  import PlaceholderImage from "../../../icons/placeholders/PlaceholderImage.vue.js";
3
- import _sfc_main$1 from "../../../../components/Button/Button.vue2.js";
3
+ import _sfc_main$1 from "../../../../components/Button/Button.vue.js";
4
4
  import { actions } from "../../store/inventory.store.js";
5
5
  /* empty css */
6
6
  import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
@@ -1,8 +1,8 @@
1
1
  import { ref, computed, onMounted, createElementBlock, openBlock, createElementVNode, createVNode, toDisplayString, withCtx, createTextVNode } from "vue";
2
2
  import { useRoute } from "vue-router";
3
3
  import Field from "../../../../components/Field/Field.vue.js";
4
- import Select from "../../../../components/Select/Select.vue.js";
5
- import _sfc_main$1 from "../../../../components/Button/Button.vue2.js";
4
+ import Select from "../../../../components/Select/Select.vue2.js";
5
+ import _sfc_main$1 from "../../../../components/Button/Button.vue.js";
6
6
  import { state } from "../../../auth/views/store/auth.js";
7
7
  import { actions } from "../../../spots/store/spots.js";
8
8
  import variantsStore from "../../../products/store/variants.store.js";
@@ -1,9 +1,9 @@
1
1
  import { ref, computed, onMounted, createElementBlock, openBlock, createElementVNode, createVNode, withCtx, unref, Fragment, renderList, createBlock, createCommentVNode, toDisplayString } from "vue";
2
2
  import _sfc_main$4 from "../../../../components/Block/Block.vue.js";
3
- import _sfc_main$7 from "../../../../components/Button/Button.vue2.js";
3
+ import _sfc_main$7 from "../../../../components/Button/Button.vue.js";
4
4
  import Field from "../../../../components/Field/Field.vue.js";
5
5
  import _sfc_main$2 from "../../../../components/Feed/Feed.vue.js";
6
- /* empty css */
6
+ /* empty css */
7
7
  /* empty css */
8
8
  import _sfc_main$1 from "../../../../components/Popup/Popup.vue.js";
9
9
  import _sfc_main$3 from "../../../orders/components/blocks/CardOrderItem.vue.js";
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock, openBlock, createElementVNode, createCommentVNode, toDisplayString, unref, Fragment, renderList, createBlock, withCtx, createVNode, normalizeClass } from "vue";
2
- import _sfc_main$1 from "../../../../components/Spoiler/Spoiler.vue2.js";
2
+ import _sfc_main$1 from "../../../../components/Spoiler/Spoiler.vue.js";
3
3
  import { useI18n } from "vue-i18n";
4
4
  import IconChevronBottom from "../../../icons/navigation/IconChevronBottom.vue.js";
5
5
  const _hoisted_1 = { class: "" };
@@ -2,7 +2,7 @@ import { ref, watch, createElementBlock, openBlock, createElementVNode, unref, c
2
2
  import { useRoute, useRouter } from "vue-router";
3
3
  import { useI18n } from "vue-i18n";
4
4
  import _sfc_main$2 from "../../../../../components/Feed/Feed.vue.js";
5
- import Filters from "../../../../core/views/components/sections/Filters.vue2.js";
5
+ import Filters from "../../../../core/views/components/sections/Filters.vue.js";
6
6
  import _sfc_main$1 from "../../../../core/views/components/sections/filters/FiltersGroup.vue.js";
7
7
  import Field from "../../../../../components/Field/Field.vue.js";
8
8
  import _sfc_main$3 from "../../../../organizations/components/blocks/CardOrganization.vue.js";
@@ -1,5 +1,5 @@
1
1
  import { ref, createElementBlock, openBlock, Fragment, renderList, createBlock, normalizeClass, withCtx, createCommentVNode, createTextVNode, resolveDynamicComponent, toDisplayString, createElementVNode, createVNode } from "vue";
2
- import _sfc_main$1 from "../../../../components/Button/Button.vue2.js";
2
+ import _sfc_main$1 from "../../../../components/Button/Button.vue.js";
3
3
  import _sfc_main$2 from "../../../../components/Dropdown/Dropdown.vue.js";
4
4
  import _sfc_main$3 from "../../../icons/navigation/IconEllipsis.vue.js";
5
5
  const _hoisted_1 = { class: "flex gap-small mn-b-medium" };
@@ -1,6 +1,6 @@
1
1
  import { computed, resolveComponent, createBlock, openBlock, withCtx, createElementVNode, createVNode, createElementBlock, createCommentVNode, withModifiers, toDisplayString } from "vue";
2
2
  import Media from "../../../../components/Media/Media.vue.js";
3
- import _sfc_main$1 from "../../../../components/Button/Button.vue2.js";
3
+ import _sfc_main$1 from "../../../../components/Button/Button.vue.js";
4
4
  import _sfc_main$2 from "../../../icons/navigation/IconPlay.vue.js";
5
5
  import { actions } from "../../store/player.js";
6
6
  import { state, actions as actions$1 } from "../../store/albums.js";
@@ -1,5 +1,5 @@
1
1
  import { resolveComponent, createBlock, openBlock, withCtx, createElementVNode, createCommentVNode, createElementBlock, toDisplayString, createTextVNode } from "vue";
2
- import _sfc_main$2 from "../../../../components/Button/Button.vue2.js";
2
+ import _sfc_main$2 from "../../../../components/Button/Button.vue.js";
3
3
  import Media from "../../../../components/Media/Media.vue.js";
4
4
  import _sfc_main$1 from "../../../icons/navigation/IconCheckmark.vue.js";
5
5
  /* empty css */
@@ -1,6 +1,6 @@
1
1
  import { computed, resolveComponent, createBlock, openBlock, withCtx, createElementVNode, createVNode, createElementBlock, createCommentVNode, withModifiers, toDisplayString } from "vue";
2
2
  import Media from "../../../../components/Media/Media.vue.js";
3
- import _sfc_main$1 from "../../../../components/Button/Button.vue2.js";
3
+ import _sfc_main$1 from "../../../../components/Button/Button.vue.js";
4
4
  import _sfc_main$2 from "../../../icons/navigation/IconPlay.vue.js";
5
5
  import { actions as actions$1 } from "../../store/player.js";
6
6
  import { actions, state } from "../../store/playlists.js";
@@ -1,5 +1,5 @@
1
1
  import { ref, resolveComponent, createElementBlock, openBlock, normalizeClass, createElementVNode, createCommentVNode, createBlock, toDisplayString, withModifiers, withCtx, createVNode, createTextVNode } from "vue";
2
- import _sfc_main$1 from "../../../../components/Button/Button.vue2.js";
2
+ import _sfc_main$1 from "../../../../components/Button/Button.vue.js";
3
3
  import Media from "../../../../components/Media/Media.vue.js";
4
4
  import _sfc_main$2 from "../../../icons/navigation/IconPlay.vue.js";
5
5
  import _sfc_main$3 from "../../../icons/navigation/IconPause.vue.js";
@@ -2,8 +2,8 @@ import { reactive, ref, watch, onMounted, createElementBlock, openBlock, createE
2
2
  import { useRouter, useRoute } from "vue-router";
3
3
  import Field from "../../../../components/Field/Field.vue.js";
4
4
  import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
5
- import _sfc_main$3 from "../../../../components/Button/Button.vue2.js";
6
- import Select from "../../../../components/Select/Select.vue.js";
5
+ import _sfc_main$3 from "../../../../components/Button/Button.vue.js";
6
+ import Select from "../../../../components/Select/Select.vue2.js";
7
7
  import UploadImage from "../../../../components/UploadImage/UploadImage.vue.js";
8
8
  import _sfc_main$2 from "../../../icons/navigation/IconCross.vue.js";
9
9
  import BlockMultiselect from "../../../core/views/components/blocks/BlockMultiselect.vue.js";
@@ -2,9 +2,9 @@ import { reactive, ref, watch, onMounted, createElementBlock, openBlock, createE
2
2
  import { useRouter, useRoute } from "vue-router";
3
3
  import Field from "../../../../components/Field/Field.vue.js";
4
4
  import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
5
- import _sfc_main$4 from "../../../../components/Button/Button.vue2.js";
5
+ import _sfc_main$4 from "../../../../components/Button/Button.vue.js";
6
6
  import _sfc_main$3 from "../../../../components/Checkbox/Checkbox.vue.js";
7
- import Select from "../../../../components/Select/Select.vue.js";
7
+ import Select from "../../../../components/Select/Select.vue2.js";
8
8
  import UploadImage from "../../../../components/UploadImage/UploadImage.vue.js";
9
9
  /* empty css */
10
10
  import BlockMultiselect from "../../../core/views/components/blocks/BlockMultiselect.vue.js";
@@ -2,7 +2,7 @@ import { reactive, ref, watch, computed, onMounted, createElementBlock, openBloc
2
2
  import { useRouter, useRoute } from "vue-router";
3
3
  import Field from "../../../../components/Field/Field.vue.js";
4
4
  import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
5
- import _sfc_main$4 from "../../../../components/Button/Button.vue2.js";
5
+ import _sfc_main$4 from "../../../../components/Button/Button.vue.js";
6
6
  import _sfc_main$3 from "../../../../components/Radio/Radio.vue.js";
7
7
  import UploadImage from "../../../../components/UploadImage/UploadImage.vue.js";
8
8
  import _sfc_main$2 from "../../../icons/navigation/IconCross.vue.js";
@@ -1,5 +1,5 @@
1
1
  import { ref, watch, onMounted, createElementBlock, openBlock, createVNode, withDirectives, createBlock, createCommentVNode, createElementVNode, withKeys, vModelText, withCtx } from "vue";
2
- import _sfc_main$2 from "../../../../components/Button/Button.vue2.js";
2
+ import _sfc_main$2 from "../../../../components/Button/Button.vue.js";
3
3
  import _sfc_main$1 from "../../../icons/navigation/IconSearch.vue.js";
4
4
  import _sfc_main$3 from "../../../icons/navigation/IconCross.vue.js";
5
5
  /* empty css */
@@ -2,9 +2,9 @@ import { reactive, ref, watch, onMounted, createElementBlock, openBlock, createE
2
2
  import { useRouter, useRoute } from "vue-router";
3
3
  import Field from "../../../../components/Field/Field.vue.js";
4
4
  import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
5
- import _sfc_main$4 from "../../../../components/Button/Button.vue2.js";
5
+ import _sfc_main$4 from "../../../../components/Button/Button.vue.js";
6
6
  import _sfc_main$3 from "../../../../components/Checkbox/Checkbox.vue.js";
7
- import Select from "../../../../components/Select/Select.vue.js";
7
+ import Select from "../../../../components/Select/Select.vue2.js";
8
8
  import UploadImage from "../../../../components/UploadImage/UploadImage.vue.js";
9
9
  import Upload from "../../../../components/Upload/Upload.vue2.js";
10
10
  import _sfc_main$2 from "../../../icons/navigation/IconCross.vue.js";
@@ -1,7 +1,7 @@
1
1
  import { ref, computed, onMounted, resolveComponent, createElementBlock, openBlock, createCommentVNode, createVNode, createElementVNode, toDisplayString, Fragment, renderList, createBlock, withCtx, createTextVNode } from "vue";
2
2
  import { useRoute, useRouter } from "vue-router";
3
3
  import Loader from "../../../../components/Loader/Loader.vue.js";
4
- /* empty css */
4
+ /* empty css */
5
5
  import Media from "../../../../components/Media/Media.vue.js";
6
6
  /* empty css */
7
7
  import _sfc_main$8 from "../../../../components/Feed/Feed.vue.js";
@@ -1,6 +1,6 @@
1
1
  import { ref, computed, onMounted, createElementBlock, openBlock, createCommentVNode, createElementVNode, createVNode, unref, withCtx, createTextVNode, normalizeStyle, normalizeClass, toDisplayString, Fragment, renderList, createBlock } from "vue";
2
2
  import { useRouter, useRoute } from "vue-router";
3
- import _sfc_main$1 from "../../../../components/Button/Button.vue2.js";
3
+ import _sfc_main$1 from "../../../../components/Button/Button.vue.js";
4
4
  /* empty css */
5
5
  import _sfc_main$2 from "../cards/TrackListCard.vue.js";
6
6
  import { state, actions } from "../../store/artists.js";
@@ -5,7 +5,7 @@ import _sfc_main$3 from "../cards/TrackListCard.vue.js";
5
5
  import AlbumCard from "../cards/AlbumCard.vue.js";
6
6
  import PlaylistCard from "../cards/PlaylistCard.vue.js";
7
7
  import ArtistCard from "../cards/ArtistCard.vue.js";
8
- import _sfc_main$1 from "../../../../components/Button/Button.vue2.js";
8
+ import _sfc_main$1 from "../../../../components/Button/Button.vue.js";
9
9
  import { state } from "../../../auth/views/store/auth.js";
10
10
  import { state as state$1, actions } from "../../store/playlists.js";
11
11
  import { state as state$2, actions as actions$1 } from "../../store/albums.js";
@@ -1,6 +1,6 @@
1
1
  import { ref, computed, onMounted, resolveComponent, createElementBlock, openBlock, createCommentVNode, createVNode, createElementVNode, toDisplayString, Fragment, renderList, createBlock, withCtx, createTextVNode } from "vue";
2
2
  import { useRoute, useRouter } from "vue-router";
3
- import _sfc_main$9 from "../../../../components/Button/Button.vue2.js";
3
+ import _sfc_main$9 from "../../../../components/Button/Button.vue.js";
4
4
  /* empty css */
5
5
  import Media from "../../../../components/Media/Media.vue.js";
6
6
  /* empty css */
@@ -5,7 +5,7 @@ import _sfc_main$3 from "../cards/TrackListCard.vue.js";
5
5
  import AlbumCard from "../cards/AlbumCard.vue.js";
6
6
  import PlaylistCard from "../cards/PlaylistCard.vue.js";
7
7
  import ArtistCard from "../cards/ArtistCard.vue.js";
8
- import _sfc_main$2 from "../../../../components/Button/Button.vue2.js";
8
+ import _sfc_main$2 from "../../../../components/Button/Button.vue.js";
9
9
  import Loader from "../../../../components/Loader/Loader.vue.js";
10
10
  import { state, actions } from "../../store/search.js";
11
11
  /* empty css */
@@ -1,6 +1,6 @@
1
1
  import { computed, ref, onMounted, resolveComponent, createElementBlock, openBlock, createCommentVNode, createBlock, createVNode, createElementVNode, withCtx, toDisplayString, Fragment, renderList } from "vue";
2
2
  import { useRoute, useRouter } from "vue-router";
3
- import _sfc_main$5 from "../../../../components/Button/Button.vue2.js";
3
+ import _sfc_main$5 from "../../../../components/Button/Button.vue.js";
4
4
  import Loader from "../../../../components/Loader/Loader.vue.js";
5
5
  import Media from "../../../../components/Media/Media.vue.js";
6
6
  /* empty css */
@@ -1,7 +1,7 @@
1
1
  import { createElementBlock, openBlock, createVNode } from "vue";
2
2
  import { useRouter } from "vue-router";
3
3
  /* empty css */
4
- /* empty css */
4
+ /* empty css */
5
5
  import _sfc_main$1 from "../forms/TrackForm.vue.js";
6
6
  const _hoisted_1 = { class: "track-create-page" };
7
7
  const _sfc_main = {
@@ -1,6 +1,6 @@
1
1
  import { ref, computed, createElementBlock, openBlock, createElementVNode, createVNode, createBlock, createCommentVNode, toDisplayString, unref, normalizeClass, withModifiers, withCtx } from "vue";
2
2
  import Media from "../../../../components/Media/Media.vue.js";
3
- import _sfc_main$1 from "../../../../components/Button/Button.vue2.js";
3
+ import _sfc_main$1 from "../../../../components/Button/Button.vue.js";
4
4
  import TrackProgress from "./TrackProgress.vue.js";
5
5
  import VolumeControl from "./VolumeControl.vue.js";
6
6
  import PlayerControls from "./PlayerControls.vue.js";
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock, openBlock, createVNode, normalizeClass, unref, withCtx, createElementVNode } from "vue";
2
- import _sfc_main$1 from "../../../../components/Button/Button.vue2.js";
2
+ import _sfc_main$1 from "../../../../components/Button/Button.vue.js";
3
3
  import IconPrevious from "../../../icons/navigation/IconChevronLeft.vue.js";
4
4
  import IconNext from "../../../icons/navigation/IconChevronRight.vue.js";
5
5
  import _sfc_main$2 from "../../../icons/navigation/IconShuffle.vue.js";
@@ -1,5 +1,5 @@
1
1
  import { ref, computed, createElementBlock, openBlock, createVNode, createElementVNode, unref, withCtx, createBlock, normalizeStyle } from "vue";
2
- import _sfc_main$1 from "../../../../components/Button/Button.vue2.js";
2
+ import _sfc_main$1 from "../../../../components/Button/Button.vue.js";
3
3
  import _sfc_main$2 from "../../../icons/navigation/IconMute.vue.js";
4
4
  import _sfc_main$3 from "../../../icons/navigation/IconUnMute.vue.js";
5
5
  import { state, actions } from "../../store/player.js";
@@ -61,7 +61,7 @@ const _sfc_main = {
61
61
  };
62
62
  return (_ctx, _cache) => {
63
63
  return openBlock(), createElementBlock("div", {
64
- class: normalizeClass(["notification-item gap-thin flex pd-small radius-small bg-light", { "bg-second-small": isUnread.value }]),
64
+ class: normalizeClass(["notification-item gap-thin flex pd-small radius-small bg-light", { "bg-second-nano": isUnread.value }]),
65
65
  onClick: handleClick
66
66
  }, [
67
67
  createElementVNode("div", _hoisted_1, toDisplayString(notificationIcon.value), 1),
@@ -75,7 +75,7 @@ const _sfc_main = {
75
75
  };
76
76
  }
77
77
  };
78
- const NotificationItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3bc04d97"]]);
78
+ const NotificationItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-10593974"]]);
79
79
  export {
80
80
  NotificationItem as default
81
81
  };
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationItem.vue.js","sources":["../../../../../../../src/modules/notifications/components/blocks/NotificationItem.vue"],"sourcesContent":["<script setup>\nimport { computed } from 'vue';\n\n// Props\nconst props = defineProps({\n notification: {\n type: Object,\n required: true\n }\n});\n\n// Compute if notification is unread\nconst isUnread = computed(() => props.notification.status !== 'read');\n\n// Format date\nconst formattedDate = computed(() => {\n const date = new Date(props.notification.createdAt);\n const now = new Date();\n const diffMs = now - date;\n const diffSec = Math.floor(diffMs / 1000);\n const diffMin = Math.floor(diffSec / 60);\n const diffHours = Math.floor(diffMin / 60);\n const diffDays = Math.floor(diffHours / 24);\n \n if (diffSec < 60) {\n return 'Just now';\n } else if (diffMin < 60) {\n return `${diffMin}m ago`;\n } else if (diffHours < 24) {\n return `${diffHours}h ago`;\n } else if (diffDays < 7) {\n return `${diffDays}d ago`;\n } else {\n return date.toLocaleDateString();\n }\n});\n\n// Get icon based on notification type\nconst notificationIcon = computed(() => {\n switch (props.notification.type) {\n case 'alert':\n return '⚠️';\n case 'success':\n return '✅';\n case 'error':\n return '❌';\n case 'info':\n default:\n return 'ℹ️';\n }\n});\n\n// Emit click event\nconst emit = defineEmits(['click']);\nconst handleClick = () => {\n emit('click', props.notification);\n};\n</script>\n\n<template>\n <div \n class=\"notification-item gap-thin flex pd-small radius-small bg-light\" \n :class=\"{ 'bg-second-small': isUnread }\"\n @click=\"handleClick\"\n >\n <div class=\"notification-icon\">\n {{ notificationIcon }}\n </div>\n <div class=\"notification-content\">\n <p class=\"p-regular fw-medium mn-b-small\">{{ notification.title }}</p>\n <p class=\"p-small mn-b-small\">{{ notification.body }}</p>\n <p class=\"pd-thin w-max radius-thin bg-white\">{{ formattedDate }}</p>\n </div>\n <div v-if=\"isUnread\" class=\"flex-child-default unread-indicator\"></div>\n </div>\n</template>\n\n<style scoped>\n.unread-indicator {\n width: 10px;\n height: 10px;\n border-radius: 50%;\n background-color: var(--primary-color, #0066cc);\n align-self: center;\n margin-left: 0.5rem;\n}\n</style>"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAIA,UAAM,QAAQ;AAQd,UAAM,WAAW,SAAS,MAAM,MAAM,aAAa,WAAW,MAAM;AAGpE,UAAM,gBAAgB,SAAS,MAAM;AACnC,YAAM,OAAO,IAAI,KAAK,MAAM,aAAa,SAAS;AAClD,YAAM,MAAM,oBAAI,KAAI;AACpB,YAAM,SAAS,MAAM;AACrB,YAAM,UAAU,KAAK,MAAM,SAAS,GAAI;AACxC,YAAM,UAAU,KAAK,MAAM,UAAU,EAAE;AACvC,YAAM,YAAY,KAAK,MAAM,UAAU,EAAE;AACzC,YAAM,WAAW,KAAK,MAAM,YAAY,EAAE;AAE1C,UAAI,UAAU,IAAI;AAChB,eAAO;AAAA,MACT,WAAW,UAAU,IAAI;AACvB,eAAO,GAAG,OAAO;AAAA,MACnB,WAAW,YAAY,IAAI;AACzB,eAAO,GAAG,SAAS;AAAA,MACrB,WAAW,WAAW,GAAG;AACvB,eAAO,GAAG,QAAQ;AAAA,MACpB,OAAO;AACL,eAAO,KAAK,mBAAkB;AAAA,MAChC;AAAA,IACF,CAAC;AAGD,UAAM,mBAAmB,SAAS,MAAM;AACtC,cAAQ,MAAM,aAAa,MAAI;AAAA,QAC7B,KAAK;AACH,iBAAO;AAAA,QACT,KAAK;AACH,iBAAO;AAAA,QACT,KAAK;AACH,iBAAO;AAAA,QACT,KAAK;AAAA,QACL;AACE,iBAAO;AAAA,MACb;AAAA,IACA,CAAC;AAGD,UAAM,OAAO;AACb,UAAM,cAAc,MAAM;AACxB,WAAK,SAAS,MAAM,YAAY;AAAA,IAClC;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"NotificationItem.vue.js","sources":["../../../../../../../src/modules/notifications/components/blocks/NotificationItem.vue"],"sourcesContent":["<script setup>\nimport { computed } from 'vue';\n\n// Props\nconst props = defineProps({\n notification: {\n type: Object,\n required: true\n }\n});\n\n// Compute if notification is unread\nconst isUnread = computed(() => props.notification.status !== 'read');\n\n// Format date\nconst formattedDate = computed(() => {\n const date = new Date(props.notification.createdAt);\n const now = new Date();\n const diffMs = now - date;\n const diffSec = Math.floor(diffMs / 1000);\n const diffMin = Math.floor(diffSec / 60);\n const diffHours = Math.floor(diffMin / 60);\n const diffDays = Math.floor(diffHours / 24);\n \n if (diffSec < 60) {\n return 'Just now';\n } else if (diffMin < 60) {\n return `${diffMin}m ago`;\n } else if (diffHours < 24) {\n return `${diffHours}h ago`;\n } else if (diffDays < 7) {\n return `${diffDays}d ago`;\n } else {\n return date.toLocaleDateString();\n }\n});\n\n// Get icon based on notification type\nconst notificationIcon = computed(() => {\n switch (props.notification.type) {\n case 'alert':\n return '⚠️';\n case 'success':\n return '✅';\n case 'error':\n return '❌';\n case 'info':\n default:\n return 'ℹ️';\n }\n});\n\n// Emit click event\nconst emit = defineEmits(['click']);\nconst handleClick = () => {\n emit('click', props.notification);\n};\n</script>\n\n<template>\n <div \n class=\"notification-item gap-thin flex pd-small radius-small bg-light\" \n :class=\"{ 'bg-second-nano': isUnread }\"\n @click=\"handleClick\"\n >\n <div class=\"notification-icon\">\n {{ notificationIcon }}\n </div>\n <div class=\"notification-content\">\n <p class=\"p-regular fw-medium mn-b-small\">{{ notification.title }}</p>\n <p class=\"p-small mn-b-small\">{{ notification.body }}</p>\n <p class=\"pd-thin w-max radius-thin bg-white\">{{ formattedDate }}</p>\n </div>\n <div v-if=\"isUnread\" class=\"flex-child-default unread-indicator\"></div>\n </div>\n</template>\n\n<style scoped>\n.unread-indicator {\n width: 10px;\n height: 10px;\n border-radius: 50%;\n background-color: var(--primary-color, #0066cc);\n align-self: center;\n margin-left: 0.5rem;\n}\n</style>"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAIA,UAAM,QAAQ;AAQd,UAAM,WAAW,SAAS,MAAM,MAAM,aAAa,WAAW,MAAM;AAGpE,UAAM,gBAAgB,SAAS,MAAM;AACnC,YAAM,OAAO,IAAI,KAAK,MAAM,aAAa,SAAS;AAClD,YAAM,MAAM,oBAAI,KAAI;AACpB,YAAM,SAAS,MAAM;AACrB,YAAM,UAAU,KAAK,MAAM,SAAS,GAAI;AACxC,YAAM,UAAU,KAAK,MAAM,UAAU,EAAE;AACvC,YAAM,YAAY,KAAK,MAAM,UAAU,EAAE;AACzC,YAAM,WAAW,KAAK,MAAM,YAAY,EAAE;AAE1C,UAAI,UAAU,IAAI;AAChB,eAAO;AAAA,MACT,WAAW,UAAU,IAAI;AACvB,eAAO,GAAG,OAAO;AAAA,MACnB,WAAW,YAAY,IAAI;AACzB,eAAO,GAAG,SAAS;AAAA,MACrB,WAAW,WAAW,GAAG;AACvB,eAAO,GAAG,QAAQ;AAAA,MACpB,OAAO;AACL,eAAO,KAAK,mBAAkB;AAAA,MAChC;AAAA,IACF,CAAC;AAGD,UAAM,mBAAmB,SAAS,MAAM;AACtC,cAAQ,MAAM,aAAa,MAAI;AAAA,QAC7B,KAAK;AACH,iBAAO;AAAA,QACT,KAAK;AACH,iBAAO;AAAA,QACT,KAAK;AACH,iBAAO;AAAA,QACT,KAAK;AAAA,QACL;AACE,iBAAO;AAAA,MACb;AAAA,IACA,CAAC;AAGD,UAAM,OAAO;AACb,UAAM,cAAc,MAAM;AACxB,WAAK,SAAS,MAAM,YAAY;AAAA,IAClC;;;;;;;;;;;;;;;;;;"}
@@ -1,36 +1,14 @@
1
- import { inject, computed, ref, onMounted, onUnmounted, resolveComponent, createElementBlock, openBlock, createElementVNode, createCommentVNode, createVNode, createTextVNode } from "vue";
1
+ import { inject, computed, resolveComponent, createElementBlock, openBlock, createVNode, createCommentVNode, unref, createElementVNode } from "vue";
2
2
  import { wsManager } from "../../../core/views/classes/ws.manager.js";
3
- const _hoisted_1 = { class: "notifications-layout" };
4
- const _hoisted_2 = { class: "" };
5
- const _hoisted_3 = {
3
+ const _hoisted_1 = {
6
4
  key: 0,
7
- class: "connection-status"
5
+ class: "pos-fixed pos-b-0 pos-l-0 pos-r-0 pd-small bg-warning t-center"
8
6
  };
9
7
  const _sfc_main = {
10
8
  __name: "NotificationsLayout",
11
9
  setup(__props) {
12
10
  const store = inject("store");
13
11
  const notificationManager = computed(() => store.notificationManager || null);
14
- const wsConnected = ref(wsManager.isConnected);
15
- const openListenerId = ref(null);
16
- const closeListenerId = ref(null);
17
- onMounted(() => {
18
- openListenerId.value = wsManager.addEventListener("open", () => {
19
- wsConnected.value = true;
20
- });
21
- closeListenerId.value = wsManager.addEventListener("close", () => {
22
- wsConnected.value = false;
23
- });
24
- wsConnected.value = wsManager.isConnected;
25
- });
26
- onUnmounted(() => {
27
- if (openListenerId.value) {
28
- wsManager.removeEventListener("open", openListenerId.value);
29
- }
30
- if (closeListenerId.value) {
31
- wsManager.removeEventListener("close", closeListenerId.value);
32
- }
33
- });
34
12
  const reconnect = () => {
35
13
  if (notificationManager.value) {
36
14
  notificationManager.value.initialize();
@@ -38,21 +16,14 @@ const _sfc_main = {
38
16
  };
39
17
  return (_ctx, _cache) => {
40
18
  const _component_router_view = resolveComponent("router-view");
41
- return openBlock(), createElementBlock("div", _hoisted_1, [
42
- createElementVNode("div", _hoisted_2, [
43
- createVNode(_component_router_view)
44
- ]),
45
- !wsConnected.value ? (openBlock(), createElementBlock("div", _hoisted_3, [
46
- createElementVNode("div", { class: "connection-warning" }, [
47
- _cache[1] || (_cache[1] = createElementVNode("span", { class: "warning-icon" }, "⚠️", -1)),
48
- createElementVNode("span", { class: "warning-text" }, [
49
- _cache[0] || (_cache[0] = createTextVNode(" Notification service disconnected. ")),
50
- createElementVNode("button", {
51
- onClick: reconnect,
52
- class: "reconnect-btn"
53
- }, "Reconnect")
54
- ])
55
- ])
19
+ return openBlock(), createElementBlock("div", null, [
20
+ createVNode(_component_router_view),
21
+ unref(wsManager).state.wasConnected && !unref(wsManager).state.isConnected ? (openBlock(), createElementBlock("div", _hoisted_1, [
22
+ _cache[0] || (_cache[0] = createElementVNode("span", null, "⚠️ Notification service disconnected.", -1)),
23
+ createElementVNode("button", {
24
+ class: "mn-l-thin bg-none bd-none cursor-pointer t-main",
25
+ onClick: reconnect
26
+ }, "Reconnect")
56
27
  ])) : createCommentVNode("", true)
57
28
  ]);
58
29
  };
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationsLayout.vue.js","sources":["../../../../../../../src/modules/notifications/components/layouts/NotificationsLayout.vue"],"sourcesContent":["<template>\n <div class=\"notifications-layout\">\n <div class=\"\">\n <router-view></router-view>\n </div>\n \n <div v-if=\"!wsConnected\" class=\"connection-status\">\n <div class=\"connection-warning\">\n <span class=\"warning-icon\">⚠️</span>\n <span class=\"warning-text\">\n Notification service disconnected. \n <button @click=\"reconnect\" class=\"reconnect-btn\">Reconnect</button>\n </span>\n </div>\n </div>\n </div>\n</template>\n\n<script setup>\nimport { computed, inject, ref, onMounted, onUnmounted } from 'vue';\nimport wsManager from '@martyrs/src/modules/core/views/classes/ws.manager.js';\n\n// Get notification manager from store\nconst store = inject('store');\n\nconst notificationManager = computed(() => store.notificationManager || null);\n\n// Реактивное состояние WebSocket\nconst wsConnected = ref(wsManager.isConnected);\n\n// ID слушателей для очистки\nconst openListenerId = ref(null);\nconst closeListenerId = ref(null);\n\nonMounted(() => {\n // Подписываемся на события WebSocket\n openListenerId.value = wsManager.addEventListener('open', () => {\n wsConnected.value = true;\n });\n \n closeListenerId.value = wsManager.addEventListener('close', () => {\n wsConnected.value = false;\n });\n \n // Устанавливаем начальное состояние\n wsConnected.value = wsManager.isConnected;\n});\n\nonUnmounted(() => {\n // Очищаем слушатели\n if (openListenerId.value) {\n wsManager.removeEventListener('open', openListenerId.value);\n }\n if (closeListenerId.value) {\n wsManager.removeEventListener('close', closeListenerId.value);\n }\n});\n\n\n// Methods\nconst reconnect = () => {\n if (notificationManager.value) {\n notificationManager.value.initialize();\n }\n};\n</script>\n\n<style scoped>\n</style>"],"names":[],"mappings":";;;;;;;;;;;AAuBA,UAAM,QAAQ,OAAO,OAAO;AAE5B,UAAM,sBAAsB,SAAS,MAAM,MAAM,uBAAuB,IAAI;AAG5E,UAAM,cAAc,IAAI,UAAU,WAAW;AAG7C,UAAM,iBAAiB,IAAI,IAAI;AAC/B,UAAM,kBAAkB,IAAI,IAAI;AAEhC,cAAU,MAAM;AAEd,qBAAe,QAAQ,UAAU,iBAAiB,QAAQ,MAAM;AAC9D,oBAAY,QAAQ;AAAA,MACtB,CAAC;AAED,sBAAgB,QAAQ,UAAU,iBAAiB,SAAS,MAAM;AAChE,oBAAY,QAAQ;AAAA,MACtB,CAAC;AAGD,kBAAY,QAAQ,UAAU;AAAA,IAChC,CAAC;AAED,gBAAY,MAAM;AAEhB,UAAI,eAAe,OAAO;AACxB,kBAAU,oBAAoB,QAAQ,eAAe,KAAK;AAAA,MAC5D;AACA,UAAI,gBAAgB,OAAO;AACzB,kBAAU,oBAAoB,SAAS,gBAAgB,KAAK;AAAA,MAC9D;AAAA,IACF,CAAC;AAID,UAAM,YAAY,MAAM;AACtB,UAAI,oBAAoB,OAAO;AAC7B,4BAAoB,MAAM,WAAU;AAAA,MACtC;AAAA,IACF;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"NotificationsLayout.vue.js","sources":["../../../../../../../src/modules/notifications/components/layouts/NotificationsLayout.vue"],"sourcesContent":["<template>\n <div>\n <router-view />\n\n <!-- Показываем только если WS был подключен и потом отвалился -->\n <div v-if=\"wsManager.state.wasConnected && !wsManager.state.isConnected\" class=\"pos-fixed pos-b-0 pos-l-0 pos-r-0 pd-small bg-warning t-center\">\n <span>⚠️ Notification service disconnected.</span>\n <button class=\"mn-l-thin bg-none bd-none cursor-pointer t-main\" @click=\"reconnect\">Reconnect</button>\n </div>\n </div>\n</template>\n\n<script setup>\nimport { computed, inject } from 'vue';\nimport wsManager from '@martyrs/src/modules/core/views/classes/ws.manager.js';\n\nconst store = inject('store');\nconst notificationManager = computed(() => store.notificationManager || null);\n\nconst reconnect = () => {\n if (notificationManager.value) {\n notificationManager.value.initialize();\n }\n};\n</script>"],"names":[],"mappings":";;;;;;;;;AAgBA,UAAM,QAAQ,OAAO,OAAO;AAC5B,UAAM,sBAAsB,SAAS,MAAM,MAAM,uBAAuB,IAAI;AAE5E,UAAM,YAAY,MAAM;AACtB,UAAI,oBAAoB,OAAO;AAC7B,4BAAoB,MAAM,WAAU;AAAA,MACtC;AAAA,IACF;;;;;;;;;;;;;;;;"}
@@ -1,31 +1,36 @@
1
- import { inject, ref, createElementBlock, openBlock, createVNode, createElementVNode, unref, createBlock, createCommentVNode } from "vue";
2
- import { useRoute } from "vue-router";
3
- import _sfc_main$1 from "../../../../components/Tab/Tab.vue2.js";
4
- import NotificationsList from "../sections/NotificationsList.vue.js";
5
- import NotificationPreferences from "../sections/NotificationPreferences.vue.js";
6
- const _hoisted_1 = { class: "notifications-page pd-small" };
7
- const _hoisted_2 = { class: "tab-content" };
1
+ import { inject, ref, createElementBlock, openBlock, createBlock, createCommentVNode, createVNode, unref, withCtx } from "vue";
2
+ import _sfc_main$1 from "../../../core/views/components/sections/SectionPageTitle.vue.js";
3
+ import _sfc_main$3 from "../../../../components/Popup/Popup.vue.js";
4
+ import _sfc_main$2 from "../sections/NotificationsList.vue.js";
5
+ import _sfc_main$4 from "../sections/NotificationPreferences.vue.js";
6
+ const _hoisted_1 = { class: "mobile:pd-thin pd-medium" };
8
7
  const _sfc_main = {
9
8
  __name: "Notifications",
10
9
  setup(__props) {
11
- const route = useRoute();
12
10
  const { unreadCount } = inject("useNotifications")();
13
- const activeTab = ref(route.query.tab || "all");
11
+ const isSettingsPopup = ref(false);
14
12
  return (_ctx, _cache) => {
15
13
  return openBlock(), createElementBlock("div", _hoisted_1, [
16
- createVNode(_sfc_main$1, {
17
- selected: activeTab.value,
18
- "onUpdate:selected": _cache[0] || (_cache[0] = ($event) => activeTab.value = $event),
19
- tabs: [
20
- { label: `All Notifications${unref(unreadCount) > 0 ? ` (${unref(unreadCount)})` : ""}`, value: "all" },
21
- { label: "Notification Settings", value: "preferences" }
14
+ !_ctx.MOBILE_APP ? (openBlock(), createBlock(_sfc_main$1, {
15
+ key: 0,
16
+ title: `Notifications${unref(unreadCount) > 0 ? ` (${unref(unreadCount)})` : ""}`,
17
+ actions: [
18
+ { method: () => isSettingsPopup.value = true, label: "Settings" }
22
19
  ],
23
- class: "flex-child-default gap-micro scroll-hide bg-light radius-medium h-max pd-thin mn-b-thin o-x-scroll",
24
- classTab: "bg-white"
25
- }, null, 8, ["selected", "tabs"]),
26
- createElementVNode("div", _hoisted_2, [
27
- activeTab.value === "all" ? (openBlock(), createBlock(NotificationsList, { key: 0 })) : activeTab.value === "preferences" ? (openBlock(), createBlock(NotificationPreferences, { key: 1 })) : createCommentVNode("", true)
28
- ])
20
+ class: "mn-b-small"
21
+ }, null, 8, ["title", "actions"])) : createCommentVNode("", true),
22
+ createVNode(_sfc_main$2),
23
+ createVNode(_sfc_main$3, {
24
+ isPopupOpen: isSettingsPopup.value,
25
+ onClosePopup: _cache[0] || (_cache[0] = ($event) => isSettingsPopup.value = false),
26
+ title: "Notification Settings",
27
+ class: "bg-white pd-medium w-m-30r radius-big"
28
+ }, {
29
+ default: withCtx(() => [
30
+ createVNode(_sfc_main$4)
31
+ ]),
32
+ _: 1
33
+ }, 8, ["isPopupOpen"])
29
34
  ]);
30
35
  };
31
36
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Notifications.vue.js","sources":["../../../../../../../src/modules/notifications/components/pages/Notifications.vue"],"sourcesContent":["<template>\n <div class=\"notifications-page pd-small\">\n <Tab\n v-model:selected=\"activeTab\"\n :tabs=\"[\n { label: `All Notifications${unreadCount > 0 ? ` (${unreadCount})` : ''}`, value: 'all' },\n { label: 'Notification Settings', value: 'preferences' }\n ]\"\n class=\"flex-child-default gap-micro scroll-hide bg-light radius-medium h-max pd-thin mn-b-thin o-x-scroll\"\n classTab=\"bg-white\"\n />\n \n <div class=\"tab-content\">\n <notifications-list v-if=\"activeTab === 'all'\" />\n <notification-preferences v-else-if=\"activeTab === 'preferences'\" />\n </div>\n </div>\n</template>\n\n<script setup>\nimport { ref, inject } from 'vue';\nimport { useRoute } from 'vue-router';\nimport Tab from \"@martyrs/src/components/Tab/Tab.vue\";\nimport NotificationsList from '../sections/NotificationsList.vue';\nimport NotificationPreferences from '../sections/NotificationPreferences.vue';\n\n// Get route and notification state\nconst route = useRoute();\nconst { unreadCount } = inject('useNotifications')();\n\n// Set initial active tab based on route query param or default to 'all'\nconst activeTab = ref(route.query.tab || 'all');\n</script>\n\n<style scoped>\n</style>"],"names":[],"mappings":";;;;;;;;;;AA2BA,UAAM,QAAQ,SAAQ;AACtB,UAAM,EAAE,YAAW,IAAK,OAAO,kBAAkB,EAAC;AAGlD,UAAM,YAAY,IAAI,MAAM,MAAM,OAAO,KAAK;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Notifications.vue.js","sources":["../../../../../../../src/modules/notifications/components/pages/Notifications.vue"],"sourcesContent":["<template>\n <div class=\"mobile:pd-thin pd-medium\">\n <SectionPageTitle\n v-if=\"!MOBILE_APP\"\n :title=\"`Notifications${unreadCount > 0 ? ` (${unreadCount})` : ''}`\"\n :actions=\"[\n { method: () => isSettingsPopup = true, label: 'Settings' }\n ]\"\n class=\"mn-b-small\"\n />\n\n <NotificationsList />\n\n <Popup\n :isPopupOpen=\"isSettingsPopup\"\n @close-popup=\"isSettingsPopup = false\"\n title=\"Notification Settings\"\n class=\"bg-white pd-medium w-m-30r radius-big\"\n >\n <NotificationPreferences />\n </Popup>\n </div>\n</template>\n\n<script setup>\nimport { ref, inject } from 'vue';\nimport SectionPageTitle from '@martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue';\nimport Popup from '@martyrs/src/components/Popup/Popup.vue';\nimport NotificationsList from '../sections/NotificationsList.vue';\nimport NotificationPreferences from '../sections/NotificationPreferences.vue';\n\nconst { unreadCount } = inject('useNotifications')();\n\nconst isSettingsPopup = ref(false);\n</script>\n"],"names":[],"mappings":";;;;;;;;;AA+BA,UAAM,EAAE,YAAW,IAAK,OAAO,kBAAkB,EAAC;AAElD,UAAM,kBAAkB,IAAI,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;"}