@ozdao/martyrs 0.2.526 → 0.2.528
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.
- package/dist/_virtual/dayjs.min.cjs +1 -1
- package/dist/_virtual/dayjs.min.js +1 -1
- package/dist/_virtual/index.cjs +4 -4
- package/dist/_virtual/index.js +4 -4
- package/dist/_virtual/index2.cjs +4 -4
- package/dist/_virtual/index2.js +4 -4
- package/dist/_virtual/weekOfYear.cjs +1 -1
- package/dist/_virtual/weekOfYear.js +1 -1
- package/dist/builder.cjs +589 -943
- package/dist/builder.js +623 -977
- package/dist/{main-Bk4xq-K0.js → main-40cyU_8J.js} +1563 -1551
- package/dist/main-sq8skoQM.cjs +11 -0
- package/dist/martyrs/src/components/Address/Address.vue.cjs +1 -1
- package/dist/martyrs/src/components/Address/Address.vue.js +1 -1
- package/dist/martyrs/src/components/Chips/{Chips.vue.cjs → Chips.vue2.cjs} +2 -2
- package/dist/martyrs/src/components/Chips/Chips.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/Chips/{Chips.vue.js → Chips.vue2.js} +2 -2
- package/dist/martyrs/src/components/Chips/Chips.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Dropdown/{Dropdown.vue.cjs → Dropdown.vue2.cjs} +2 -2
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/Dropdown/{Dropdown.vue.js → Dropdown.vue2.js} +2 -2
- package/dist/martyrs/src/components/Dropdown/{Dropdown.vue.cjs.map → Dropdown.vue2.js.map} +1 -1
- package/dist/martyrs/src/components/EditImages/EditImages.vue2.cjs +1 -1
- package/dist/martyrs/src/components/EditImages/EditImages.vue2.js +1 -1
- package/dist/martyrs/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/martyrs/src/components/Feed/Feed.vue.js +1 -1
- package/dist/martyrs/src/components/FieldTags/FieldTags.vue.cjs +1 -1
- package/dist/martyrs/src/components/FieldTags/FieldTags.vue.js +1 -1
- package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue.cjs +1 -1
- package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue.js +1 -1
- package/dist/martyrs/src/components/Map/Map.vue.cjs +1 -1
- package/dist/martyrs/src/components/Map/Map.vue.js +1 -1
- package/dist/martyrs/src/components/Media/Media.vue.cjs +20 -3
- package/dist/martyrs/src/components/Media/Media.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/Media/Media.vue.js +20 -3
- package/dist/martyrs/src/components/Media/Media.vue.js.map +1 -1
- package/dist/martyrs/src/components/Menu/{Menu.vue2.cjs → Menu.vue.cjs} +2 -2
- package/dist/martyrs/src/components/Menu/Menu.vue.cjs.map +1 -0
- package/dist/martyrs/src/components/Menu/{Menu.vue2.js → Menu.vue.js} +2 -2
- package/dist/martyrs/src/components/Menu/Menu.vue.js.map +1 -0
- package/dist/martyrs/src/components/Select/{Select.vue2.cjs → Select.vue.cjs} +2 -2
- package/dist/martyrs/src/components/Select/{Select.vue2.js.map → Select.vue.cjs.map} +1 -1
- package/dist/martyrs/src/components/Select/{Select.vue2.js → Select.vue.js} +2 -2
- package/dist/martyrs/src/components/Select/Select.vue.js.map +1 -0
- package/dist/martyrs/src/components/Tree/Tree.vue.cjs +1 -1
- package/dist/martyrs/src/components/Tree/Tree.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/auth.client.cjs +32 -30
- package/dist/martyrs/src/modules/auth/auth.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/auth.client.js +30 -28
- package/dist/martyrs/src/modules/auth/auth.client.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.cjs +0 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js +0 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +10 -7
- package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +13 -10
- package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.cjs +11 -8
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +16 -13
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.cjs +11 -7
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +14 -10
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/middlewares/ownership.validation.cjs +0 -1
- package/dist/martyrs/src/modules/auth/views/middlewares/ownership.validation.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/middlewares/ownership.validation.js +0 -1
- package/dist/martyrs/src/modules/auth/views/middlewares/ownership.validation.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/store/auth.cjs +2 -0
- package/dist/martyrs/src/modules/auth/views/store/auth.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/store/auth.js +2 -0
- package/dist/martyrs/src/modules/auth/views/store/auth.js.map +1 -1
- package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.cjs +0 -1
- package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.js +0 -1
- package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.js.map +1 -1
- package/dist/martyrs/src/modules/backoffice/components/partials/Sidebar.vue.cjs +0 -2
- package/dist/martyrs/src/modules/backoffice/components/partials/Sidebar.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/backoffice/components/partials/Sidebar.vue.js +0 -2
- package/dist/martyrs/src/modules/backoffice/components/partials/Sidebar.vue.js.map +1 -1
- package/dist/martyrs/src/modules/chats/store/chat.store.js +1 -1
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.cjs +1 -1
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js +1 -1
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.cjs +2 -4
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +2 -4
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
- package/dist/martyrs/src/modules/community/router/blogposts.cjs +4 -2
- package/dist/martyrs/src/modules/community/router/blogposts.cjs.map +1 -1
- package/dist/martyrs/src/modules/community/router/blogposts.js +4 -2
- package/dist/martyrs/src/modules/community/router/blogposts.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -2
- package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.js +1 -2
- package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.cjs +0 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.js +0 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.cjs +1 -2
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +1 -2
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.cjs +0 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +0 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.cjs +3 -4
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +3 -4
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/sections/FeaturedEvents.vue.cjs +0 -1
- package/dist/martyrs/src/modules/events/components/sections/FeaturedEvents.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/events/components/sections/FeaturedEvents.vue.js +0 -1
- package/dist/martyrs/src/modules/events/components/sections/FeaturedEvents.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/router/events.cjs +7 -7
- package/dist/martyrs/src/modules/events/router/events.cjs.map +1 -1
- package/dist/martyrs/src/modules/events/router/events.js +7 -7
- package/dist/martyrs/src/modules/events/router/events.js.map +1 -1
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +2 -3
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +2 -3
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js.map +1 -1
- package/dist/martyrs/src/modules/gallery/router/gallery.router.cjs +1 -1
- package/dist/martyrs/src/modules/gallery/router/gallery.router.cjs.map +1 -1
- package/dist/martyrs/src/modules/gallery/router/gallery.router.js +1 -1
- package/dist/martyrs/src/modules/gallery/router/gallery.router.js.map +1 -1
- package/dist/martyrs/src/modules/globals/globals.client.cjs +23 -38
- package/dist/martyrs/src/modules/globals/globals.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/globals.client.js +28 -43
- package/dist/martyrs/src/modules/globals/globals.client.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/classes/globals.app.cjs +220 -0
- package/dist/martyrs/src/modules/globals/views/classes/globals.app.cjs.map +1 -0
- package/dist/martyrs/src/modules/globals/views/classes/globals.app.js +220 -0
- package/dist/martyrs/src/modules/globals/views/classes/globals.app.js.map +1 -0
- package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.js +1 -1
- package/dist/martyrs/src/modules/globals/views/classes/module-registry.cjs +156 -0
- package/dist/martyrs/src/modules/globals/views/classes/module-registry.cjs.map +1 -0
- package/dist/martyrs/src/modules/globals/views/classes/module-registry.js +156 -0
- package/dist/martyrs/src/modules/globals/views/classes/module-registry.js.map +1 -0
- package/dist/martyrs/src/modules/globals/views/classes/store.cjs +58 -43
- package/dist/martyrs/src/modules/globals/views/classes/store.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/classes/store.js +59 -44
- package/dist/martyrs/src/modules/globals/views/classes/store.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -3
- package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js +1 -3
- package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/layouts/App.vue.cjs +2 -3
- package/dist/martyrs/src/modules/globals/views/components/layouts/App.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/layouts/App.vue.js +2 -3
- package/dist/martyrs/src/modules/globals/views/components/layouts/App.vue.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs +5 -8
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js +5 -8
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Footer.vue.js +2 -2
- package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/sections/Walkthrough.vue.cjs +44 -45
- package/dist/martyrs/src/modules/globals/views/components/sections/Walkthrough.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/sections/Walkthrough.vue.js +44 -45
- package/dist/martyrs/src/modules/globals/views/components/sections/Walkthrough.vue.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/plugins/alert.plugin.cjs +4 -2
- package/dist/martyrs/src/modules/globals/views/plugins/alert.plugin.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/plugins/alert.plugin.js +5 -3
- package/dist/martyrs/src/modules/globals/views/plugins/alert.plugin.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/plugins/date-picker.plugin.cjs +4 -2
- package/dist/martyrs/src/modules/globals/views/plugins/date-picker.plugin.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/plugins/date-picker.plugin.js +5 -3
- package/dist/martyrs/src/modules/globals/views/plugins/date-picker.plugin.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/plugins/popup.auth.plugin.cjs +4 -2
- package/dist/martyrs/src/modules/globals/views/plugins/popup.auth.plugin.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/plugins/popup.auth.plugin.js +5 -3
- package/dist/martyrs/src/modules/globals/views/plugins/popup.auth.plugin.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/store/globals.cjs +15 -8
- package/dist/martyrs/src/modules/globals/views/store/globals.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/store/globals.js +15 -8
- package/dist/martyrs/src/modules/globals/views/store/globals.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/utils/polyfills.cjs +26 -0
- package/dist/martyrs/src/modules/globals/views/utils/polyfills.cjs.map +1 -0
- package/dist/martyrs/src/modules/globals/views/utils/polyfills.js +26 -0
- package/dist/martyrs/src/modules/globals/views/utils/polyfills.js.map +1 -0
- package/dist/martyrs/src/modules/globals/views/utils/vue-app-renderer.cjs +23 -12
- package/dist/martyrs/src/modules/globals/views/utils/vue-app-renderer.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/utils/vue-app-renderer.js +23 -12
- package/dist/martyrs/src/modules/globals/views/utils/vue-app-renderer.js.map +1 -1
- package/dist/martyrs/src/modules/icons/components/IconSearchPopup.vue.cjs +1 -1
- package/dist/martyrs/src/modules/icons/components/IconSearchPopup.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/icons/components/IconSearchPopup.vue.js +1 -1
- package/dist/martyrs/src/modules/icons/components/IconSearchPopup.vue.js.map +1 -1
- package/dist/martyrs/src/modules/icons/entities/IconTime.vue.cjs +2 -2
- package/dist/martyrs/src/modules/icons/entities/IconTime.vue.js +2 -2
- package/dist/martyrs/src/modules/icons/icons.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/icons/icons.client.js.map +1 -1
- package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.js +2 -2
- package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.js.map +1 -1
- package/dist/martyrs/src/modules/icons/router/icons.router.cjs +0 -1
- package/dist/martyrs/src/modules/icons/router/icons.router.cjs.map +1 -1
- package/dist/martyrs/src/modules/icons/router/icons.router.js +0 -1
- package/dist/martyrs/src/modules/icons/router/icons.router.js.map +1 -1
- package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.cjs +1 -1
- package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.js +1 -1
- package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.cjs +1 -1
- package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.js +1 -1
- package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.cjs +3 -4
- package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.js +2 -3
- package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.js.map +1 -1
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.cjs +2 -2
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +2 -2
- package/dist/martyrs/src/modules/inventory/inventory.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/inventory/inventory.client.js.map +1 -1
- package/dist/martyrs/src/modules/inventory/router/inventory.router.cjs +2 -2
- package/dist/martyrs/src/modules/inventory/router/inventory.router.cjs.map +1 -1
- package/dist/martyrs/src/modules/inventory/router/inventory.router.js +2 -2
- package/dist/martyrs/src/modules/inventory/router/inventory.router.js.map +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionEarn.vue.cjs +5 -3
- package/dist/martyrs/src/modules/landing/components/sections/SectionEarn.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionEarn.vue.js +5 -3
- package/dist/martyrs/src/modules/landing/components/sections/SectionEarn.vue.js.map +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionMobileApp.vue.cjs +50 -33
- package/dist/martyrs/src/modules/landing/components/sections/SectionMobileApp.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionMobileApp.vue.js +51 -34
- package/dist/martyrs/src/modules/landing/components/sections/SectionMobileApp.vue.js.map +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SubscribeNewsletter.vue.js.map +1 -1
- package/dist/martyrs/src/modules/marketplace/marketplace.client.cjs +2 -2
- package/dist/martyrs/src/modules/marketplace/marketplace.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/marketplace/marketplace.client.js +2 -2
- package/dist/martyrs/src/modules/marketplace/marketplace.client.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +3 -3
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.cjs +1 -2
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js +3 -4
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.js +3 -3
- package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.cjs +0 -1
- package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.js +0 -1
- package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/router/music.cjs +5 -22
- package/dist/martyrs/src/modules/music/router/music.cjs.map +1 -1
- package/dist/martyrs/src/modules/music/router/music.js +5 -22
- package/dist/martyrs/src/modules/music/router/music.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/notifications.client.cjs +2 -2
- package/dist/martyrs/src/modules/notifications/notifications.client.js +2 -2
- package/dist/martyrs/src/modules/notifications/store/notifications.store.js +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderBackoffice.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue.cjs +0 -1
- package/dist/martyrs/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue.js +0 -1
- package/dist/martyrs/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -2
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +3 -4
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +0 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +0 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs +2 -3
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +2 -3
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/router/orders.router.cjs +20 -9
- package/dist/martyrs/src/modules/orders/router/orders.router.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/router/orders.router.js +20 -9
- package/dist/martyrs/src/modules/orders/router/orders.router.js.map +1 -1
- package/dist/martyrs/src/modules/orders/store/shopcart.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +36 -3
- package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.js +36 -3
- package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js +3 -3
- package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +0 -1
- package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +0 -1
- package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.cjs +36 -3
- package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.js +36 -3
- package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs +44 -13
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +44 -13
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs +35 -12
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +36 -13
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -2
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -2
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -2
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +1 -2
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -2
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +1 -2
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/organizations.client.cjs +1 -28
- package/dist/martyrs/src/modules/organizations/organizations.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/organizations.client.js +43 -70
- package/dist/martyrs/src/modules/organizations/organizations.client.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/router/organizations.cjs +1 -3
- package/dist/martyrs/src/modules/organizations/router/organizations.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/router/organizations.js +1 -3
- package/dist/martyrs/src/modules/organizations/router/organizations.js.map +1 -1
- package/dist/martyrs/src/modules/pages/views/router/pages.backoffice.router.cjs +1 -1
- package/dist/martyrs/src/modules/pages/views/router/pages.backoffice.router.cjs.map +1 -1
- package/dist/martyrs/src/modules/pages/views/router/pages.backoffice.router.js +1 -1
- package/dist/martyrs/src/modules/pages/views/router/pages.backoffice.router.js.map +1 -1
- package/dist/martyrs/src/modules/pages/views/router/pages.router.cjs +1 -1
- package/dist/martyrs/src/modules/pages/views/router/pages.router.cjs.map +1 -1
- package/dist/martyrs/src/modules/pages/views/router/pages.router.js +1 -1
- package/dist/martyrs/src/modules/pages/views/router/pages.router.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.cjs +3 -2
- package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.js +3 -2
- package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs +3 -3
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +3 -3
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs +0 -2
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +0 -2
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.cjs +0 -1
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +0 -1
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditIngredients.vue.cjs +0 -1
- package/dist/martyrs/src/modules/products/components/sections/EditIngredients.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditIngredients.vue.js +0 -1
- package/dist/martyrs/src/modules/products/components/sections/EditIngredients.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.cjs +0 -1
- package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.js +0 -1
- package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/HeroRecommendation.vue.cjs +0 -1
- package/dist/martyrs/src/modules/products/components/sections/HeroRecommendation.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/HeroRecommendation.vue.js +0 -1
- package/dist/martyrs/src/modules/products/components/sections/HeroRecommendation.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/router/products.router.cjs +15 -6
- package/dist/martyrs/src/modules/products/router/products.router.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/router/products.router.js +15 -6
- package/dist/martyrs/src/modules/products/router/products.router.js.map +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.cjs +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.cjs +0 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js +0 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
- package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
- package/dist/martyrs/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/Map.vue.cjs +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +1 -1
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.cjs +3 -7
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js +3 -7
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js.map +1 -1
- package/dist/martyrs.cjs.js +1 -1
- package/dist/martyrs.css +1 -1
- package/dist/martyrs.es.js +1 -1
- package/dist/node_modules/.pnpm/{@capacitor-mlkit_barcode-scanning@7.2.1_@capacitor_core@7.2.0 → @capacitor-mlkit_barcode-scanning@7.3.0_@capacitor_core@7.4.3}/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/definitions.cjs.map +1 -1
- package/dist/node_modules/.pnpm/{@capacitor-mlkit_barcode-scanning@7.2.1_@capacitor_core@7.2.0 → @capacitor-mlkit_barcode-scanning@7.3.0_@capacitor_core@7.4.3}/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/definitions.js.map +1 -1
- package/dist/node_modules/.pnpm/{@capacitor-mlkit_barcode-scanning@7.2.1_@capacitor_core@7.2.0 → @capacitor-mlkit_barcode-scanning@7.3.0_@capacitor_core@7.4.3}/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/index.cjs +1 -1
- package/dist/node_modules/.pnpm/{@capacitor-mlkit_barcode-scanning@7.2.1_@capacitor_core@7.2.0 → @capacitor-mlkit_barcode-scanning@7.3.0_@capacitor_core@7.4.3}/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/index.cjs.map +1 -1
- package/dist/node_modules/.pnpm/{@capacitor-mlkit_barcode-scanning@7.2.1_@capacitor_core@7.2.0 → @capacitor-mlkit_barcode-scanning@7.3.0_@capacitor_core@7.4.3}/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/index.js +1 -1
- package/dist/node_modules/.pnpm/{@capacitor-mlkit_barcode-scanning@7.2.1_@capacitor_core@7.2.0 → @capacitor-mlkit_barcode-scanning@7.3.0_@capacitor_core@7.4.3}/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/index.js.map +1 -1
- package/dist/node_modules/.pnpm/{@capacitor-mlkit_barcode-scanning@7.2.1_@capacitor_core@7.2.0 → @capacitor-mlkit_barcode-scanning@7.3.0_@capacitor_core@7.4.3}/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/web.cjs +1 -1
- package/dist/node_modules/.pnpm/{@capacitor-mlkit_barcode-scanning@7.2.1_@capacitor_core@7.2.0 → @capacitor-mlkit_barcode-scanning@7.3.0_@capacitor_core@7.4.3}/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/web.cjs.map +1 -1
- package/dist/node_modules/.pnpm/{@capacitor-mlkit_barcode-scanning@7.2.1_@capacitor_core@7.2.0 → @capacitor-mlkit_barcode-scanning@7.3.0_@capacitor_core@7.4.3}/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/web.js +1 -1
- package/dist/node_modules/.pnpm/{@capacitor-mlkit_barcode-scanning@7.2.1_@capacitor_core@7.2.0 → @capacitor-mlkit_barcode-scanning@7.3.0_@capacitor_core@7.4.3}/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/web.js.map +1 -1
- package/dist/node_modules/.pnpm/{@capacitor_core@7.2.0 → @capacitor_core@7.4.3}/node_modules/@capacitor/core/dist/index.cjs +2 -1
- package/dist/node_modules/.pnpm/@capacitor_core@7.4.3/node_modules/@capacitor/core/dist/index.cjs.map +1 -0
- package/dist/node_modules/.pnpm/{@capacitor_core@7.2.0 → @capacitor_core@7.4.3}/node_modules/@capacitor/core/dist/index.js +2 -1
- package/dist/node_modules/.pnpm/@capacitor_core@7.4.3/node_modules/@capacitor/core/dist/index.js.map +1 -0
- package/dist/node_modules/.pnpm/{@capacitor_device@7.0.1_@capacitor_core@7.2.0 → @capacitor_device@7.0.2_@capacitor_core@7.4.3}/node_modules/@capacitor/device/dist/esm/index.cjs +1 -1
- package/dist/node_modules/.pnpm/{@capacitor_device@7.0.1_@capacitor_core@7.2.0 → @capacitor_device@7.0.2_@capacitor_core@7.4.3}/node_modules/@capacitor/device/dist/esm/index.cjs.map +1 -1
- package/dist/node_modules/.pnpm/{@capacitor_device@7.0.1_@capacitor_core@7.2.0 → @capacitor_device@7.0.2_@capacitor_core@7.4.3}/node_modules/@capacitor/device/dist/esm/index.js +1 -1
- package/dist/node_modules/.pnpm/{@capacitor_device@7.0.1_@capacitor_core@7.2.0 → @capacitor_device@7.0.2_@capacitor_core@7.4.3}/node_modules/@capacitor/device/dist/esm/index.js.map +1 -1
- package/dist/node_modules/.pnpm/{@capacitor_device@7.0.1_@capacitor_core@7.2.0 → @capacitor_device@7.0.2_@capacitor_core@7.4.3}/node_modules/@capacitor/device/dist/esm/web.cjs +1 -1
- package/dist/node_modules/.pnpm/{@capacitor_device@7.0.1_@capacitor_core@7.2.0 → @capacitor_device@7.0.2_@capacitor_core@7.4.3}/node_modules/@capacitor/device/dist/esm/web.cjs.map +1 -1
- package/dist/node_modules/.pnpm/{@capacitor_device@7.0.1_@capacitor_core@7.2.0 → @capacitor_device@7.0.2_@capacitor_core@7.4.3}/node_modules/@capacitor/device/dist/esm/web.js +1 -1
- package/dist/node_modules/.pnpm/{@capacitor_device@7.0.1_@capacitor_core@7.2.0 → @capacitor_device@7.0.2_@capacitor_core@7.4.3}/node_modules/@capacitor/device/dist/esm/web.js.map +1 -1
- package/dist/node_modules/.pnpm/{@capacitor_keyboard@7.0.1_@capacitor_core@7.2.0 → @capacitor_keyboard@7.0.2_@capacitor_core@7.4.3}/node_modules/@capacitor/keyboard/dist/esm/definitions.cjs.map +1 -1
- package/dist/node_modules/.pnpm/{@capacitor_keyboard@7.0.1_@capacitor_core@7.2.0 → @capacitor_keyboard@7.0.2_@capacitor_core@7.4.3}/node_modules/@capacitor/keyboard/dist/esm/definitions.js.map +1 -1
- package/dist/node_modules/.pnpm/{@capacitor_keyboard@7.0.1_@capacitor_core@7.2.0 → @capacitor_keyboard@7.0.2_@capacitor_core@7.4.3}/node_modules/@capacitor/keyboard/dist/esm/index.cjs +1 -1
- package/dist/node_modules/.pnpm/{@capacitor_keyboard@7.0.1_@capacitor_core@7.2.0 → @capacitor_keyboard@7.0.2_@capacitor_core@7.4.3}/node_modules/@capacitor/keyboard/dist/esm/index.cjs.map +1 -1
- package/dist/node_modules/.pnpm/{@capacitor_keyboard@7.0.1_@capacitor_core@7.2.0 → @capacitor_keyboard@7.0.2_@capacitor_core@7.4.3}/node_modules/@capacitor/keyboard/dist/esm/index.js +1 -1
- package/dist/node_modules/.pnpm/{@capacitor_keyboard@7.0.1_@capacitor_core@7.2.0 → @capacitor_keyboard@7.0.2_@capacitor_core@7.4.3}/node_modules/@capacitor/keyboard/dist/esm/index.js.map +1 -1
- package/dist/node_modules/.pnpm/{@capacitor_push-notifications@7.0.1_@capacitor_core@7.2.0 → @capacitor_push-notifications@7.0.2_@capacitor_core@7.4.3}/node_modules/@capacitor/push-notifications/dist/esm/index.cjs +1 -1
- package/dist/node_modules/.pnpm/{@capacitor_push-notifications@7.0.1_@capacitor_core@7.2.0 → @capacitor_push-notifications@7.0.2_@capacitor_core@7.4.3}/node_modules/@capacitor/push-notifications/dist/esm/index.cjs.map +1 -1
- package/dist/node_modules/.pnpm/{@capacitor_push-notifications@7.0.1_@capacitor_core@7.2.0 → @capacitor_push-notifications@7.0.2_@capacitor_core@7.4.3}/node_modules/@capacitor/push-notifications/dist/esm/index.js +1 -1
- package/dist/node_modules/.pnpm/{@capacitor_push-notifications@7.0.1_@capacitor_core@7.2.0 → @capacitor_push-notifications@7.0.2_@capacitor_core@7.4.3}/node_modules/@capacitor/push-notifications/dist/esm/index.js.map +1 -1
- package/dist/node_modules/.pnpm/{@googlemaps_js-api-loader@1.16.8 → @googlemaps_js-api-loader@1.16.10}/node_modules/@googlemaps/js-api-loader/dist/index.cjs +34 -26
- package/dist/node_modules/.pnpm/@googlemaps_js-api-loader@1.16.10/node_modules/@googlemaps/js-api-loader/dist/index.cjs.map +1 -0
- package/dist/node_modules/.pnpm/{@googlemaps_js-api-loader@1.16.8 → @googlemaps_js-api-loader@1.16.10}/node_modules/@googlemaps/js-api-loader/dist/index.js +34 -26
- package/dist/node_modules/.pnpm/@googlemaps_js-api-loader@1.16.10/node_modules/@googlemaps/js-api-loader/dist/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@unhead_dom@1.11.20/node_modules/@unhead/dom/dist/index.cjs +198 -0
- package/dist/node_modules/.pnpm/@unhead_dom@1.11.20/node_modules/@unhead/dom/dist/index.cjs.map +1 -0
- package/dist/node_modules/.pnpm/@unhead_dom@1.11.20/node_modules/@unhead/dom/dist/index.js +198 -0
- package/dist/node_modules/.pnpm/@unhead_dom@1.11.20/node_modules/@unhead/dom/dist/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@unhead_shared@1.11.20/node_modules/@unhead/shared/dist/index.cjs +304 -0
- package/dist/node_modules/.pnpm/@unhead_shared@1.11.20/node_modules/@unhead/shared/dist/index.cjs.map +1 -1
- package/dist/node_modules/.pnpm/@unhead_shared@1.11.20/node_modules/@unhead/shared/dist/index.js +305 -1
- package/dist/node_modules/.pnpm/@unhead_shared@1.11.20/node_modules/@unhead/shared/dist/index.js.map +1 -1
- package/dist/node_modules/.pnpm/{@unhead_vue@1.11.20_vue@3.5.13_typescript@5.8.3_ → @unhead_vue@1.11.20_vue@3.5.21_typescript@5.9.2_}/node_modules/@unhead/vue/dist/shared/vue.-sixQ7xP.cjs.map +1 -1
- package/dist/node_modules/.pnpm/{@unhead_vue@1.11.20_vue@3.5.13_typescript@5.8.3_ → @unhead_vue@1.11.20_vue@3.5.21_typescript@5.9.2_}/node_modules/@unhead/vue/dist/shared/vue.-sixQ7xP.js.map +1 -1
- package/dist/node_modules/.pnpm/{@unhead_vue@1.11.20_vue@3.5.13_typescript@5.8.3_ → @unhead_vue@1.11.20_vue@3.5.21_typescript@5.9.2_}/node_modules/@unhead/vue/dist/shared/vue.ziyDaVMR.cjs +31 -1
- package/dist/node_modules/.pnpm/{@unhead_vue@1.11.20_vue@3.5.13_typescript@5.8.3_ → @unhead_vue@1.11.20_vue@3.5.21_typescript@5.9.2_}/node_modules/@unhead/vue/dist/shared/vue.ziyDaVMR.cjs.map +1 -1
- package/dist/node_modules/.pnpm/{@unhead_vue@1.11.20_vue@3.5.13_typescript@5.8.3_ → @unhead_vue@1.11.20_vue@3.5.21_typescript@5.9.2_}/node_modules/@unhead/vue/dist/shared/vue.ziyDaVMR.js +33 -3
- package/dist/node_modules/.pnpm/{@unhead_vue@1.11.20_vue@3.5.13_typescript@5.8.3_ → @unhead_vue@1.11.20_vue@3.5.21_typescript@5.9.2_}/node_modules/@unhead/vue/dist/shared/vue.ziyDaVMR.js.map +1 -1
- package/dist/node_modules/.pnpm/{@vue_server-renderer@3.5.13_vue@3.5.13_typescript@5.8.3_ → @vue_server-renderer@3.5.21_vue@3.5.21_typescript@5.9.2_}/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.cjs +18 -13
- package/dist/node_modules/.pnpm/@vue_server-renderer@3.5.21_vue@3.5.21_typescript@5.9.2_/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.cjs.map +1 -0
- package/dist/node_modules/.pnpm/{@vue_server-renderer@3.5.13_vue@3.5.13_typescript@5.8.3_ → @vue_server-renderer@3.5.21_vue@3.5.21_typescript@5.9.2_}/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.js +19 -14
- package/dist/node_modules/.pnpm/@vue_server-renderer@3.5.21_vue@3.5.21_typescript@5.9.2_/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.js.map +1 -0
- package/dist/node_modules/.pnpm/{@vue_shared@3.5.13 → @vue_shared@3.5.21}/node_modules/@vue/shared/dist/shared.esm-bundler.cjs +19 -2
- package/dist/node_modules/.pnpm/@vue_shared@3.5.21/node_modules/@vue/shared/dist/shared.esm-bundler.cjs.map +1 -0
- package/dist/node_modules/.pnpm/{@vue_shared@3.5.13 → @vue_shared@3.5.21}/node_modules/@vue/shared/dist/shared.esm-bundler.js +19 -2
- package/dist/node_modules/.pnpm/@vue_shared@3.5.21/node_modules/@vue/shared/dist/shared.esm-bundler.js.map +1 -0
- package/dist/node_modules/.pnpm/{@vuepic_vue-datepicker@11.0.2_vue@3.5.13_typescript@5.8.3_ → @vuepic_vue-datepicker@11.0.2_vue@3.5.21_typescript@5.9.2_}/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs.map +1 -1
- package/dist/node_modules/.pnpm/{@vuepic_vue-datepicker@11.0.2_vue@3.5.13_typescript@5.8.3_ → @vuepic_vue-datepicker@11.0.2_vue@3.5.21_typescript@5.9.2_}/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +1 -1
- package/dist/node_modules/.pnpm/{@vuepic_vue-datepicker@11.0.2_vue@3.5.13_typescript@5.8.3_ → @vuepic_vue-datepicker@11.0.2_vue@3.5.21_typescript@5.9.2_}/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js.map +1 -1
- package/dist/node_modules/.pnpm/{capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.2.0 → capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.4.3}/node_modules/capacitor-plugin-app-tracking-transparency/dist/esm/index.cjs +1 -1
- package/dist/node_modules/.pnpm/{capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.2.0 → capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.4.3}/node_modules/capacitor-plugin-app-tracking-transparency/dist/esm/index.cjs.map +1 -1
- package/dist/node_modules/.pnpm/{capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.2.0 → capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.4.3}/node_modules/capacitor-plugin-app-tracking-transparency/dist/esm/index.js +1 -1
- package/dist/node_modules/.pnpm/{capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.2.0 → capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.4.3}/node_modules/capacitor-plugin-app-tracking-transparency/dist/esm/index.js.map +1 -1
- package/dist/node_modules/.pnpm/{capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.2.0 → capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.4.3}/node_modules/capacitor-plugin-app-tracking-transparency/dist/esm/web.cjs +1 -1
- package/dist/node_modules/.pnpm/{capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.2.0 → capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.4.3}/node_modules/capacitor-plugin-app-tracking-transparency/dist/esm/web.cjs.map +1 -1
- package/dist/node_modules/.pnpm/{capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.2.0 → capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.4.3}/node_modules/capacitor-plugin-app-tracking-transparency/dist/esm/web.js +1 -1
- package/dist/node_modules/.pnpm/{capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.2.0 → capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.4.3}/node_modules/capacitor-plugin-app-tracking-transparency/dist/esm/web.js.map +1 -1
- package/dist/node_modules/.pnpm/{dayjs@1.11.13 → dayjs@1.11.18}/node_modules/dayjs/dayjs.min.cjs.map +1 -1
- package/dist/node_modules/.pnpm/{dayjs@1.11.13 → dayjs@1.11.18}/node_modules/dayjs/dayjs.min.js.map +1 -1
- package/dist/node_modules/.pnpm/{dayjs@1.11.13 → dayjs@1.11.18}/node_modules/dayjs/plugin/weekOfYear.cjs.map +1 -1
- package/dist/node_modules/.pnpm/{dayjs@1.11.13 → dayjs@1.11.18}/node_modules/dayjs/plugin/weekOfYear.js.map +1 -1
- package/dist/node_modules/.pnpm/{embla-carousel-vue@8.6.0_vue@3.5.13_typescript@5.8.3_ → embla-carousel-vue@8.6.0_vue@3.5.21_typescript@5.9.2_}/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs.map +1 -1
- package/dist/node_modules/.pnpm/{embla-carousel-vue@8.6.0_vue@3.5.13_typescript@5.8.3_ → embla-carousel-vue@8.6.0_vue@3.5.21_typescript@5.9.2_}/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.js.map +1 -1
- package/dist/node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.cjs.map +1 -0
- package/dist/node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js.map +1 -0
- package/dist/node_modules/.pnpm/hookable@5.5.3/node_modules/hookable/dist/index.cjs +209 -0
- package/dist/node_modules/.pnpm/hookable@5.5.3/node_modules/hookable/dist/index.cjs.map +1 -0
- package/dist/node_modules/.pnpm/hookable@5.5.3/node_modules/hookable/dist/index.js +209 -0
- package/dist/node_modules/.pnpm/hookable@5.5.3/node_modules/hookable/dist/index.js.map +1 -0
- package/dist/node_modules/{lodash.merge → .pnpm/lodash.merge@4.6.2/node_modules/lodash.merge}/index.cjs +2 -2
- package/dist/node_modules/.pnpm/lodash.merge@4.6.2/node_modules/lodash.merge/index.cjs.map +1 -0
- package/dist/node_modules/{lodash.merge → .pnpm/lodash.merge@4.6.2/node_modules/lodash.merge}/index.js +2 -2
- package/dist/node_modules/.pnpm/lodash.merge@4.6.2/node_modules/lodash.merge/index.js.map +1 -0
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.cjs +1 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.js +1 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.cjs +1 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.js +1 -1
- package/dist/node_modules/.pnpm/unhead@1.11.20/node_modules/unhead/dist/index.cjs +415 -0
- package/dist/node_modules/.pnpm/unhead@1.11.20/node_modules/unhead/dist/index.cjs.map +1 -1
- package/dist/node_modules/.pnpm/unhead@1.11.20/node_modules/unhead/dist/index.js +415 -0
- package/dist/node_modules/.pnpm/unhead@1.11.20/node_modules/unhead/dist/index.js.map +1 -1
- package/dist/node_modules/.pnpm/{vue-draggable-next@2.2.1_sortablejs@1.15.6_vue@3.5.13_typescript@5.8.3_ → vue-draggable-next@2.3.0_sortablejs@1.15.6_vue@3.5.21_typescript@5.9.2_}/node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.cjs +304 -267
- package/dist/node_modules/.pnpm/vue-draggable-next@2.3.0_sortablejs@1.15.6_vue@3.5.21_typescript@5.9.2_/node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.cjs.map +1 -0
- package/dist/node_modules/.pnpm/{vue-draggable-next@2.2.1_sortablejs@1.15.6_vue@3.5.13_typescript@5.8.3_ → vue-draggable-next@2.3.0_sortablejs@1.15.6_vue@3.5.21_typescript@5.9.2_}/node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.js +305 -268
- package/dist/node_modules/.pnpm/vue-draggable-next@2.3.0_sortablejs@1.15.6_vue@3.5.21_typescript@5.9.2_/node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.js.map +1 -0
- package/dist/rents.server.js +1 -1
- package/dist/style.css +115 -116
- package/dist/{web-CjndIDjT.cjs → web-C68B9mpp.cjs} +1 -1
- package/dist/{web-BS-4Xl3x.js → web-HreCVhdf.js} +1 -1
- package/package.json +6 -1
- package/src/builder/builder.js +6 -13
- package/src/builder/modes/spa.prod.js +19 -14
- package/src/builder/modes/spa.rspack.dev.js +14 -23
- package/src/builder/modes/ssr.prod.js +34 -22
- package/src/builder/modes/ssr.rspack.dev.js +77 -35
- package/src/builder/modes/ssr.vite.dev.js +1 -1
- package/src/builder/rspack/rspack.config.base.js +12 -7
- package/src/builder/rspack/rspack.config.spa.client.js +1 -1
- package/src/builder/rspack/rspack.config.ssr.client.js +74 -10
- package/src/builder/rspack/rspack.config.ssr.server.js +2 -5
- package/src/builder/ssr/asset-resolver.js +148 -0
- package/src/builder/ssr/beasties-processor.js +107 -0
- package/src/builder/templates/page.js +20 -36
- package/src/components/Media/Media.vue +22 -1
- package/src/modules/STYLES.MD +118 -0
- package/src/modules/auth/auth.client.js +25 -33
- package/src/modules/auth/views/components/pages/ResetPassword.vue +10 -5
- package/src/modules/auth/views/components/pages/SignIn.vue +10 -4
- package/src/modules/auth/views/components/pages/SignUp.vue +10 -6
- package/src/modules/auth/views/store/auth.js +2 -0
- package/src/modules/community/router/blogposts.js +2 -2
- package/src/modules/events/router/events.js +7 -7
- package/src/modules/gallery/router/gallery.router.js +1 -1
- package/src/modules/globals/TASK.MD +1 -0
- package/src/modules/globals/controllers/classes/abac/v2/abac-fields-fixed.js +9 -6
- package/src/modules/globals/globals.client.js +25 -53
- package/src/modules/globals/views/classes/globals.app.js +320 -0
- package/src/modules/globals/views/classes/module-registry.js +241 -0
- package/src/modules/globals/views/classes/store.js +65 -45
- package/src/modules/globals/views/components/layouts/Client.vue +6 -6
- package/src/modules/globals/views/components/sections/Walkthrough.vue +51 -48
- package/src/modules/globals/views/plugins/alert.plugin.js +6 -3
- package/src/modules/globals/views/plugins/date-picker.plugin.js +6 -2
- package/src/modules/globals/views/plugins/popup.auth.plugin.js +6 -2
- package/src/modules/globals/views/plugins/store-debugger/StoreDebugger.vue +5 -2
- package/src/modules/globals/views/plugins/store-debugger/store-debugger.plugin.js +6 -2
- package/src/modules/globals/views/store/globals.js +17 -10
- package/src/modules/globals/views/utils/polyfills.js +28 -0
- package/src/modules/globals/views/utils/vue-app-renderer.js +26 -14
- package/src/modules/icons/components/IconSearchPopup.vue +4 -4
- package/src/modules/icons/icons.client.js +1 -1
- package/src/modules/inventory/inventory.client.js +1 -1
- package/src/modules/inventory/router/inventory.router.js +2 -2
- package/src/modules/landing/components/sections/SectionEarn.vue +2 -2
- package/src/modules/landing/components/sections/SectionMobileApp.vue +24 -10
- package/src/modules/landing/components/sections/SubscribeNewsletter.vue +1 -1
- package/src/modules/marketplace/marketplace.client.js +3 -3
- package/src/modules/music/router/music.js +3 -2
- package/src/modules/orders/components/blocks/CardOrderItem.vue +0 -1
- package/src/modules/orders/router/orders.router.js +6 -9
- package/src/modules/organizations/components/blocks/CardDepartment.vue +1 -1
- package/src/modules/organizations/components/pages/Department.vue +1 -2
- package/src/modules/organizations/components/pages/DepartmentEdit.vue +30 -28
- package/src/modules/organizations/components/pages/Members.vue +10 -8
- package/src/modules/organizations/components/pages/Organization.vue +7 -5
- package/src/modules/organizations/organizations.client.js +25 -73
- package/src/modules/organizations/policies/organizations.policies.js +1 -1
- package/src/modules/pages/views/router/pages.backoffice.router.js +1 -1
- package/src/modules/pages/views/router/pages.router.js +1 -1
- package/src/modules/products/components/sections/HeroRecommendation.vue +2 -3
- package/src/modules/products/router/products.router.js +6 -6
- package/src/styles/base/all.scss +154 -267
- package/src/styles/base/backgrounds.scss +1 -0
- package/src/styles/config.scss +163 -55
- package/src/styles/layout.scss +2 -0
- package/src/styles/theme.scss +3 -2
- package/src/styles/typography.scss +12 -12
- package/dist/main-4KvvKtzH.cjs +0 -11
- package/dist/martyrs/src/components/Chips/Chips.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Chips/Chips.vue.js.map +0 -1
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue.js.map +0 -1
- package/dist/martyrs/src/components/Menu/Menu.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/Menu/Menu.vue2.js.map +0 -1
- package/dist/martyrs/src/components/Select/Select.vue2.cjs.map +0 -1
- package/dist/martyrs/src/modules/globals/views/plugins/store-debugger/StoreDebugger.vue.cjs +0 -2
- package/dist/martyrs/src/modules/globals/views/plugins/store-debugger/StoreDebugger.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/globals/views/plugins/store-debugger/StoreDebugger.vue.js +0 -2
- package/dist/martyrs/src/modules/globals/views/plugins/store-debugger/StoreDebugger.vue.js.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_core@7.2.0/node_modules/@capacitor/core/dist/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_core@7.2.0/node_modules/@capacitor/core/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@googlemaps_js-api-loader@1.16.8/node_modules/@googlemaps/js-api-loader/dist/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@googlemaps_js-api-loader@1.16.8/node_modules/@googlemaps/js-api-loader/dist/index.js.map +0 -1
- 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.cjs.map +0 -1
- 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 +0 -1
- package/dist/node_modules/.pnpm/@vue_shared@3.5.13/node_modules/@vue/shared/dist/shared.esm-bundler.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@vue_shared@3.5.13/node_modules/@vue/shared/dist/shared.esm-bundler.js.map +0 -1
- package/dist/node_modules/.pnpm/vue-draggable-next@2.2.1_sortablejs@1.15.6_vue@3.5.13_typescript@5.8.3_/node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.cjs.map +0 -1
- package/dist/node_modules/.pnpm/vue-draggable-next@2.2.1_sortablejs@1.15.6_vue@3.5.13_typescript@5.8.3_/node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.js.map +0 -1
- package/dist/node_modules/fast-deep-equal/index.cjs.map +0 -1
- package/dist/node_modules/fast-deep-equal/index.js.map +0 -1
- package/dist/node_modules/lodash.merge/index.cjs.map +0 -1
- package/dist/node_modules/lodash.merge/index.js.map +0 -1
- package/src/builder/modes/spa.dev.js +0 -106
- package/src/builder/modes/ssr.dev.js +0 -184
- package/src/builder/ssr/ssr-transform-webpack-stats.js +0 -66
- package/src/builder/ssr/utils.js +0 -47
- package/src/builder/webpack/index.js +0 -13
- package/src/builder/webpack/webpack.config.api.js +0 -35
- package/src/builder/webpack/webpack.config.base.js +0 -142
- package/src/builder/webpack/webpack.config.spa.client.js +0 -68
- package/src/builder/webpack/webpack.config.ssr.client.js +0 -93
- package/src/builder/webpack/webpack.config.ssr.server.js +0 -59
- package/src/modules/core/classes/module-manager.js +0 -88
- /package/dist/node_modules/.pnpm/{@capacitor-mlkit_barcode-scanning@7.2.1_@capacitor_core@7.2.0 → @capacitor-mlkit_barcode-scanning@7.3.0_@capacitor_core@7.4.3}/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/definitions.cjs +0 -0
- /package/dist/node_modules/.pnpm/{@capacitor-mlkit_barcode-scanning@7.2.1_@capacitor_core@7.2.0 → @capacitor-mlkit_barcode-scanning@7.3.0_@capacitor_core@7.4.3}/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/definitions.js +0 -0
- /package/dist/node_modules/.pnpm/{@capacitor_keyboard@7.0.1_@capacitor_core@7.2.0 → @capacitor_keyboard@7.0.2_@capacitor_core@7.4.3}/node_modules/@capacitor/keyboard/dist/esm/definitions.cjs +0 -0
- /package/dist/node_modules/.pnpm/{@capacitor_keyboard@7.0.1_@capacitor_core@7.2.0 → @capacitor_keyboard@7.0.2_@capacitor_core@7.4.3}/node_modules/@capacitor/keyboard/dist/esm/definitions.js +0 -0
- /package/dist/node_modules/.pnpm/{@unhead_vue@1.11.20_vue@3.5.13_typescript@5.8.3_ → @unhead_vue@1.11.20_vue@3.5.21_typescript@5.9.2_}/node_modules/@unhead/vue/dist/shared/vue.-sixQ7xP.cjs +0 -0
- /package/dist/node_modules/.pnpm/{@unhead_vue@1.11.20_vue@3.5.13_typescript@5.8.3_ → @unhead_vue@1.11.20_vue@3.5.21_typescript@5.9.2_}/node_modules/@unhead/vue/dist/shared/vue.-sixQ7xP.js +0 -0
- /package/dist/node_modules/.pnpm/{@vuepic_vue-datepicker@11.0.2_vue@3.5.13_typescript@5.8.3_ → @vuepic_vue-datepicker@11.0.2_vue@3.5.21_typescript@5.9.2_}/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +0 -0
- /package/dist/node_modules/.pnpm/{dayjs@1.11.13 → dayjs@1.11.18}/node_modules/dayjs/dayjs.min.cjs +0 -0
- /package/dist/node_modules/.pnpm/{dayjs@1.11.13 → dayjs@1.11.18}/node_modules/dayjs/dayjs.min.js +0 -0
- /package/dist/node_modules/.pnpm/{dayjs@1.11.13 → dayjs@1.11.18}/node_modules/dayjs/plugin/weekOfYear.cjs +0 -0
- /package/dist/node_modules/.pnpm/{dayjs@1.11.13 → dayjs@1.11.18}/node_modules/dayjs/plugin/weekOfYear.js +0 -0
- /package/dist/node_modules/.pnpm/{embla-carousel-vue@8.6.0_vue@3.5.13_typescript@5.8.3_ → embla-carousel-vue@8.6.0_vue@3.5.21_typescript@5.9.2_}/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs +0 -0
- /package/dist/node_modules/.pnpm/{embla-carousel-vue@8.6.0_vue@3.5.13_typescript@5.8.3_ → embla-carousel-vue@8.6.0_vue@3.5.21_typescript@5.9.2_}/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.js +0 -0
- /package/dist/node_modules/{fast-deep-equal → .pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal}/index.cjs +0 -0
- /package/dist/node_modules/{fast-deep-equal → .pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal}/index.js +0 -0
- /package/src/modules/core/classes/{event.js → event-bus.js} +0 -0
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import { reactive, ref, onMounted, createElementBlock, openBlock, createElementVNode, normalizeStyle, createVNode, Fragment, renderList, normalizeClass } from "vue";
|
|
2
2
|
import { useRouter } from "vue-router";
|
|
3
|
-
import emblaCarouselVue from "../../../../../../../node_modules/.pnpm/embla-carousel-vue@8.6.0_vue@3.5.
|
|
3
|
+
import emblaCarouselVue from "../../../../../../../node_modules/.pnpm/embla-carousel-vue@8.6.0_vue@3.5.21_typescript@5.9.2_/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.js";
|
|
4
4
|
import _sfc_main$1 from "../../../../icons/entities/IconBell.vue.js";
|
|
5
5
|
import _sfc_main$2 from "../../../../icons/entities/IconAddress.vue.js";
|
|
6
|
-
import { AppTrackingTransparency } from "../../../../../../../node_modules/.pnpm/capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.
|
|
7
|
-
|
|
6
|
+
import { AppTrackingTransparency } from "../../../../../../../node_modules/.pnpm/capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.4.3/node_modules/capacitor-plugin-app-tracking-transparency/dist/esm/index.js";
|
|
7
|
+
import { Preferences } from "../../../../../../node_modules/.pnpm/@capacitor_preferences@7.0.1_@capacitor_core@7.2.0/node_modules/@capacitor/preferences/dist/esm/index.js";
|
|
8
|
+
/* empty css */
|
|
8
9
|
/* empty css */
|
|
9
|
-
import "../../../../auth/views/store/auth.js";
|
|
10
10
|
/* empty css */
|
|
11
|
-
/* empty css
|
|
12
|
-
import "../../../../notifications/store/notifications.store.js";
|
|
13
|
-
import { Preferences } from "../../../../../../node_modules/.pnpm/@capacitor_preferences@7.0.1_@capacitor_core@7.2.0/node_modules/@capacitor/preferences/dist/esm/index.js";
|
|
11
|
+
/* empty css */
|
|
14
12
|
/* empty css */
|
|
15
13
|
/* empty css */
|
|
16
14
|
/* empty css */
|
|
@@ -74,47 +72,48 @@ const _sfc_main = {
|
|
|
74
72
|
const onSelect = (embla) => {
|
|
75
73
|
selectedIndex.value = emblaApi.value.selectedScrollSnap();
|
|
76
74
|
};
|
|
75
|
+
let scrollRAF = null;
|
|
77
76
|
const onScroll = (embla) => {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
if (
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
const
|
|
103
|
-
if (
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
77
|
+
if (scrollRAF) cancelAnimationFrame(scrollRAF);
|
|
78
|
+
scrollRAF = requestAnimationFrame(() => {
|
|
79
|
+
const engine = emblaApi.value.internalEngine();
|
|
80
|
+
const scrollProgress = emblaApi.value.scrollProgress();
|
|
81
|
+
const snapList = emblaApi.value.scrollSnapList();
|
|
82
|
+
const stylesOpacity = snapList.map((scrollSnap, index) => {
|
|
83
|
+
let diffToTarget = scrollSnap - scrollProgress;
|
|
84
|
+
if (engine.options.loop) {
|
|
85
|
+
engine.slideLooper.loopPoints.forEach((loopItem) => {
|
|
86
|
+
const target = loopItem.target();
|
|
87
|
+
if (index === loopItem.index && target !== 0) {
|
|
88
|
+
const sign = Math.sign(target);
|
|
89
|
+
if (sign === -1) diffToTarget = scrollSnap - (1 + scrollProgress);
|
|
90
|
+
if (sign === 1) diffToTarget = scrollSnap + (1 - scrollProgress);
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
const tweenValue = 1 - Math.abs(diffToTarget * TWEEN_FACTOR);
|
|
95
|
+
return Math.min(Math.max(tweenValue, 0), 1);
|
|
96
|
+
});
|
|
97
|
+
const styles = snapList.map((scrollSnap, index) => {
|
|
98
|
+
let diffToTarget = scrollSnap - scrollProgress;
|
|
99
|
+
if (engine.options.loop) {
|
|
100
|
+
engine.slideLooper.loopPoints.forEach((loopItem) => {
|
|
101
|
+
const target = loopItem.target();
|
|
102
|
+
if (index === loopItem.index && target !== 0) {
|
|
103
|
+
const sign = Math.sign(target);
|
|
104
|
+
if (sign === -1) diffToTarget = scrollSnap - (1 + scrollProgress);
|
|
105
|
+
if (sign === 1) diffToTarget = scrollSnap + (1 - scrollProgress);
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
return diffToTarget * (1 / TWEEN_FACTOR) * 100;
|
|
110
|
+
});
|
|
111
|
+
tweenSlides.value = stylesOpacity;
|
|
112
|
+
tweenValues.value = styles;
|
|
109
113
|
});
|
|
110
|
-
tweenValues.value = styles;
|
|
111
114
|
};
|
|
112
|
-
onMounted(
|
|
113
|
-
onInit
|
|
114
|
-
onSelect();
|
|
115
|
-
onScroll();
|
|
116
|
-
emblaApi.value.on("reInit", onInit);
|
|
117
|
-
emblaApi.value.on("reInit", onSelect);
|
|
115
|
+
onMounted(() => {
|
|
116
|
+
emblaApi.value.on("init", onInit);
|
|
118
117
|
emblaApi.value.on("select", onSelect);
|
|
119
118
|
emblaApi.value.on("scroll", onScroll);
|
|
120
119
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Walkthrough.vue.js","sources":["../../../../../../../../src/modules/globals/views/components/sections/Walkthrough.vue"],"sourcesContent":["<template>\n\t<div class=\"pos-fixed pos-t-0 pos-l-0 w-100 h-100vh z-index-6 bg-white flex embla\" ref=\"emblaNode\">\n \n\n <div class=\"embla__container w-100 z-index-1\">\n\t \n\n\t\t <!-- SLIDE 1 -->\n\t\t <!-- ------------------------------- -->\n \t<div class=\"pos-relative flex-justify-center pd-thin t-center flex-column flex embla__slide\">\n\t \t\t<!-- <div class=\"pos-absolute w-100 h-100 z-index-0 pos-t-0 pos-r-0\">\n\t \t\t\t<div class=\"pos-absolute z-index-1 pos-t-0 pos-r-0 w-100 h-100 bg-black-grad\"></div>\n\t \t\t\t<img class=\"pos-absolute z-index-0 pos-t-0 pos-r-0 object-fit-cover h-100 w-100\" src=\"/assets/walkthrough/1.png\">\n\t \t\t</div> -->\n \t\t<div \n \t\t\tclass=\"flex flex-column flex-center pd-semi o-hidden pos-relative pos-b-0 z-index-1\"\n \t\t\t :style=\"{ opacity: tweenSlides.length ? tweenSlides[0] : undefined, transform: tweenSlides[0] ? `scale(${tweenSlides[0]})` : '' }\"\n \t\t>\n \t\t\t<img \n\t \t\t:src=\"'/logo/logo_square.svg'\" \n\t \t\tclass=\"i-extra radius-medium mn-b-small\"\n\t \t>\n\n\t <h3 class=\"h3 mn-b-medium\">Welcome to 3SR</h3>\n\t \n\t <p class=\"p-regular t-transp mn-b-big\">\n\t Access premium cameras, lenses, lighting, and audio gear through our app designed for filmmakers and content creators.\n\t </p>\n\n\n\t <button @click=\"nextSlide\" class=\"bg-main p-big w-max button\">\n\t Get Started\n\t </button>\n\t </div>\n \t</div>\n\n \t<!-- SLIDE 2 -->\n\t\t <!-- ------------------------------- -->\n \t<div class=\"pos-relative flex-justify-center pd-thin t-center flex-column flex embla__slide\">\n\t\t\t\t<div class=\"flex flex-column flex-center pd-semi o-hidden pos-relative pos-b-0 z-index-1\">\n \n <div class=\"mn-b-small w-4r h-4r mn-auto pd-regular bg-main radius-regular t-white flex flex-center\">\n <IconBell/>\n </div>\n\n\t <h3 class=\"h3 mn-b-medium\">Stay in the Loop</h3>\n\t <p class=\"p-regular t-transp mn-b-big\">\n\t Get instant notifications about equipment availability, booking confirmations, and exclusive deals from our rental platform.\n\t </p>\n\n\t <div class=\"flex flex-column flex-center gap-small\">\n\t <button @click=\"requestNotificationPermission\" class=\"bg-main p-big w-max button\">\n\t\t\t\t\t\t \t Enable Notifications\n\t\t\t\t\t\t </button>\n\t <button @click=\"nextSlide\" class=\"bg-light p-big w-max button\">\n\t Maybe Later\n\t </button>\n\t </div>\n\t </div>\n\t\t\t</div>\n\n\t\t\t<!-- SLIDE 3 -->\n\t\t <!-- ------------------------------- -->\n\t\t\t<div class=\"pos-relative flex-justify-center pd-thin t-center flex-column flex embla__slide\">\n <div class=\"flex flex-column flex-center pd-semi o-hidden pos-relative pos-b-0 z-index-1\">\n \n <div class=\"mn-b-small w-4r h-4r mn-auto pd-regular bg-main radius-regular t-white flex flex-center\">\n <IconAddress/>\n </div>\n\n <h3 class=\"h3 mn-b-medium\">Find Nearby Equipment</h3>\n <p class=\"p-regular t-transp mn-b-big\">\n Discover rental locations and equipment availability near you. We'll show you the closest pickup points and delivery options.\n </p>\n\n <div class=\"flex flex-column flex-center gap-small\">\n <button @click=\"requestLocationPermission\" class=\"bg-main p-big w-max button\">\n Enable Location\n </button>\n <button @click=\"nextSlide\" class=\"bg-light p-big w-max button\">\n Skip for Now\n </button>\n </div>\n </div>\n </div>\n\n <!-- SLIDE 4 - App Tracking Transparency -->\n\t\t <!-- ------------------------------- -->\n <div class=\"pos-relative flex-justify-center pd-thin t-center flex-column flex embla__slide\">\n <div class=\"flex flex-column flex-center pd-semi o-hidden pos-relative pos-b-0 z-index-1\">\n <div class=\"mn-b-small w-4r h-4r mn-auto pd-regular bg-main radius-regular t-white flex flex-center\">\n <IconShield/>\n </div>\n\n <h3 class=\"h3 mn-b-medium\">Personalized Experience</h3>\n <p class=\"p-regular t-transp mn-b-big\">\n Allow us to provide you with personalized recommendations and improve your app experience based on your preferences.\n </p>\n\n <div class=\"flex flex-column flex-center gap-small\">\n <button @click=\"requestTrackingPermission\" class=\"bg-main p-big w-max button\">\n Allow Tracking\n </button>\n <button @click=\"nextSlide\" class=\"bg-light p-big w-max button\">\n Ask App Not to Track\n </button>\n </div>\n </div>\n </div>\n\n <!-- SLIDE 5 - Final -->\n\t\t <!-- ------------------------------- -->\n <div class=\"pos-relative flex-justify-center pd-thin t-center flex-column flex embla__slide\">\n \t<div class=\"flex flex-column flex-center pd-semi o-hidden pos-relative pos-b-0 z-index-1\">\n\t \t<img loading=\"lazy\" \n\t \t\t:src=\"'/logo/logo_square.svg'\" \n\t \t\tclass=\"i-extra radius-medium mn-b-small\"\n\t \t>\n\t \t<h3 class=\"h3 mn-b-medium\">Ready to Rent?</h3>\n\t \t<p class=\"p-regular t-transp mn-b-big\">Join thousands of creators who trust 3SR for their professional video equipment needs. Choose how you'd like to get started.</p>\n\t \n\t \t<button @click=\"openFirstRoute('Sign Up')\" class=\"bg-main p-big w-100 button mn-b-thin\">Create Account</button> \n\t \t<button @click=\"openFirstRoute('Sign In')\" class=\"bg-light t-black p-big w-100 button mn-b-semi\">Sign In</button>\n\n\t\t <p class=\"p-small mn-b-medium t-transp\">Or explore as a guest:</p> \n\t \t<button @click=\"setFirstUseFalse()\" class=\"bg-light p-big w-max button\">Continue as Guest</button>\n \t</div>\n\t </div>\n\n </div>\n\n <div class=\"\n\t embla__dots\n \tz-index-5 \n \th-4r \n \tpos-absolute \n \tpos-t-1r \n \tflex-nowrap \n \tflex \n \tflex-center \n \tgap-thin \n \tw-100\"\n >\n\t <button\n\t v-for=\"(snap, index) in scrollSnaps\"\n\t :key=\"index\"\n\t @click=\"scrollTo(index)\"\n\t :class=\"[\n\t 'embla__dot bg- i-small radius-extra',\n\t\t\t\t\t{ 'bg-light': index !== selectedIndex },\n\t { 'bg-main': index === selectedIndex }\n\t ]\"\n\t >\n\t\t </button>\n\n\t\t <button \n\t\t \t@click.native=\"setFirstUseFalse()\" \n\t\t \tclass=\"\n\t\t \t\tpd-small\n\t\t \t\tbg-white\n\t\t \t\tt-black\n\t\t \t\tw-6r \n\t\t \t\tpos-b-0r \n\t\t \t\tflex-nowrap \n\t\t \t\tflex \n\t\t \t\tflex-center \n\t\t \t\tpos-r-1r \n\t\t \t\tpos-relative \n\t\t \t\tradius-small \n\t\t \t\tuppercase \n\t\t \t\tpos-absolute\n\t\t \t\"> \n\t\t \t<span>Skip</span>\n\t\t </button>\n\t </div>\n\t</div>\n\n</template>\n\n<script setup>\n\timport { ref, onMounted, reactive, inject } from 'vue';\n\timport { useRoute, useRouter } from 'vue-router'\n\n\timport emblaCarouselVue from 'embla-carousel-vue'; \n\n\timport IconBell from '@martyrs/src/modules/icons/entities/IconBell.vue';\n\timport IconAddress from '@martyrs/src/modules/icons/entities/IconAddress.vue';\n\timport IconShield from '@martyrs/src/modules/icons/entities/IconAddress.vue';\n\n\timport { AppTrackingTransparency } from 'capacitor-plugin-app-tracking-transparency';\n\n\tconst props = defineProps(['slides', 'options']);\n\tconst emits = defineEmits(['updateFirstUse'])\n\tconst router = useRouter()\n\t\n\t// Get notification manager directly\n\timport ModuleNotifications from '@martyrs/src/modules/notifications/notifications.client.js'\n\n\t// Set firstUse\n\timport { Preferences } from '@capacitor/preferences';\n\n\tconst permissions = reactive({\n\t notifications: false,\n\t location: false,\n\t tracking: false\n\t})\n\n\tasync function setFirstUseFalse() {\n await Preferences.set({\n key: 'first-use',\n value: JSON.stringify(false),\n });\n\n emits('updateFirstUse', false);\n }\n\n async function openFirstRoute(routeName) {\n\t\tawait router.push({name: routeName})\n\n\t\tawait Preferences.set({\n key: 'first-use',\n value: JSON.stringify(false),\n });\n\n\t\temits('updateFirstUse', false);\n\t}\n\n\tconst [emblaNode, emblaApi] = emblaCarouselVue({ loop: false })\n\n\tconst selectedIndex = ref(0);\n\tconst scrollSnaps = ref([]);\n\tconst TWEEN_FACTOR = 3\n\tconst tweenValues = ref([])\n\tconst tweenSlides = ref([])\n\n\tconst scrollTo = (index) => emblaApi.value && emblaApi.value.scrollTo(index);\n\n\tconst nextSlide = () => {\n\t\tif (emblaApi.value) {\n\t\t\temblaApi.value.scrollNext();\n\t\t}\n\t};\n\n\tconst onInit = (embla) => {\n\t scrollSnaps.value = emblaApi.value.scrollSnapList();\n\t};\n\n\tconst onSelect = (embla) => {\n\t selectedIndex.value = emblaApi.value.selectedScrollSnap();\n\t};\n\n\tconst onScroll = (embla) => {\n const engine = emblaApi.value.internalEngine()\n const scrollProgress = emblaApi.value.scrollProgress()\n\n const stylesOpacity = emblaApi.value.scrollSnapList().map((scrollSnap, index) => {\n\t let diffToTarget = scrollSnap - scrollProgress\n\n\t if (engine.options.loop) {\n\t engine.slideLooper.loopPoints.forEach((loopItem) => {\n\t const target = loopItem.target()\n\t if (index === loopItem.index && target !== 0) {\n\t const sign = Math.sign(target)\n\t if (sign === -1) diffToTarget = scrollSnap - (1 + scrollProgress)\n\t if (sign === 1) diffToTarget = scrollSnap + (1 - scrollProgress)\n\t }\n\t })\n\t }\n\t const tweenValue = 1 - Math.abs(diffToTarget * TWEEN_FACTOR)\n\t return Math.min(Math.max(tweenValue, 0), 1)\n\t })\n\n\t\ttweenSlides.value = stylesOpacity\n\n const styles = emblaApi.value.scrollSnapList().map((scrollSnap, index) => {\n let diffToTarget = scrollSnap - scrollProgress\n\n if (engine.options.loop) {\n engine.slideLooper.loopPoints.forEach((loopItem) => {\n const target = loopItem.target()\n if (index === loopItem.index && target !== 0) {\n const sign = Math.sign(target)\n if (sign === -1) diffToTarget = scrollSnap - (1 + scrollProgress)\n if (sign === 1) diffToTarget = scrollSnap + (1 - scrollProgress)\n }\n })\n }\n return diffToTarget * (1 / TWEEN_FACTOR) * 100\n })\n\n tweenValues.value = styles\n }\n\n\n\tonMounted(async() => {\n\t onInit(emblaApi);\n\t onSelect(emblaApi);\n\t onScroll(emblaApi);\n\n\t emblaApi.value.on('reInit', onInit);\n\t emblaApi.value.on('reInit', onSelect);\n\t emblaApi.value.on('select', onSelect);\n\t emblaApi.value.on('scroll', onScroll)\n\t});\n\n\tconst requestNotificationPermission = async () => {\n\t try {\n\t // Use notification manager from global store if available\n\t const notificationManager = window.$store?.notificationManager;\n\t \n\t if (notificationManager) {\n\t await notificationManager.pushHandler.requestPermissions();\n\t await notificationManager.registerWebPush(window.$store);\n\t permissions.notifications = true;\n\t }\n\t \n\t setTimeout(() => {\n\t nextSlide()\n\t }, 1000)\n\t } catch (error) {\n\t console.error('Notification permission error:', error)\n\t nextSlide()\n\t }\n\t}\n\n\tconst requestLocationPermission = async () => {\n\t try {\n\t if (!('geolocation' in navigator)) {\n\t nextSlide()\n\t return\n\t }\n\n\t navigator.geolocation.getCurrentPosition(\n\t () => {\n\t permissions.location = true\n\t setTimeout(() => {\n\t nextSlide()\n\t }, 1000)\n\t },\n\t () => {\n\t setTimeout(() => {\n\t nextSlide()\n\t }, 1000)\n\t },\n\t { timeout: 8000 }\n\t )\n\t } catch (error) {\n\t console.error('Location permission error:', error)\n\t nextSlide()\n\t }\n\t}\n\n\tconst requestTrackingPermission = async () => {\n\t try {\n\t const { status } = await AppTrackingTransparency.requestPermission();\n\t \n\t if (status === 'authorized') {\n\t permissions.tracking = true;\n\t }\n\t \n\t setTimeout(() => {\n\t nextSlide();\n\t }, 1000);\n\t } catch (error) {\n\t console.error('Tracking permission error:', error);\n\t nextSlide();\n\t }\n\t};\n\n</script>\n\n<style lang=\"scss\">\n\t.embla {\n overflow: hidden;\n }\n .embla__container {\n display: flex;\n }\n .embla__slide {\n flex: 0 0 100%;\n min-width: 0;\n }\n</style>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuOC,MAAM,eAAe;;;;;;AAvCrB,UAAM,QAAQ;AACd,UAAM,SAAS,UAAS;AAQxB,UAAM,cAAc,SAAS;AAAA,MAC3B,eAAe;AAAA,MACf,UAAU;AAAA,MACV,UAAU;AAAA,IACb,CAAE;AAED,mBAAe,mBAAmB;AAC/B,YAAM,YAAY,IAAI;AAAA,QACpB,KAAK;AAAA,QACL,OAAO,KAAK,UAAU,KAAK;AAAA,MACjC,CAAK;AAED,YAAM,kBAAkB,KAAK;AAAA,IAC/B;AAEA,mBAAe,eAAe,WAAW;AACzC,YAAM,OAAO,KAAK,EAAC,MAAM,UAAS,CAAC;AAEnC,YAAM,YAAY,IAAI;AAAA,QAClB,KAAK;AAAA,QACL,OAAO,KAAK,UAAU,KAAK;AAAA,MACjC,CAAK;AAEH,YAAM,kBAAkB,KAAK;AAAA,IAC9B;AAEA,UAAM,CAAC,WAAW,QAAQ,IAAI,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AAAA,UACA,MAAM;AACJ,uBAAW,MAAM;AACf,wBAAS;AAAA,YACX,GAAG,GAAI;AAAA,UACT;AAAA,UACA,EAAE,SAAS,IAAI;AAAA,QACtB;AAAA,MACG,SAAS,OAAO;AACd,gBAAQ,MAAM,8BAA8B,KAAK;AACjD,kBAAS;AAAA,MACX;AAAA,IACF;AAEA,UAAM,4BAA4B,YAAY;AAC5C,UAAI;AACF,cAAM,EAAE,OAAM,IAAK,MAAM,wBAAwB,kBAAiB;AAElE,YAAI,WAAW,cAAc;AAC3B,sBAAY,WAAW;AAAA,QACzB;AAEA,mBAAW,MAAM;AACf,oBAAS;AAAA,QACX,GAAG,GAAI;AAAA,MACT,SAAS,OAAO;AACd,gBAAQ,MAAM,8BAA8B,KAAK;AACjD,kBAAS;AAAA,MACX;AAAA,IACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"Walkthrough.vue.js","sources":["../../../../../../../../src/modules/globals/views/components/sections/Walkthrough.vue"],"sourcesContent":["<template>\n\t<div class=\"pos-fixed pos-t-0 pos-l-0 w-100 h-100vh z-index-6 bg-white flex embla\" ref=\"emblaNode\">\n \n\n <div class=\"embla__container w-100 z-index-1\">\n\t \n\n\t\t <!-- SLIDE 1 -->\n\t\t <!-- ------------------------------- -->\n \t<div class=\"pos-relative flex-justify-center pd-thin t-center flex-column flex embla__slide\">\n\t \t\t<!-- <div class=\"pos-absolute w-100 h-100 z-index-0 pos-t-0 pos-r-0\">\n\t \t\t\t<div class=\"pos-absolute z-index-1 pos-t-0 pos-r-0 w-100 h-100 bg-black-grad\"></div>\n\t \t\t\t<img class=\"pos-absolute z-index-0 pos-t-0 pos-r-0 object-fit-cover h-100 w-100\" src=\"/assets/walkthrough/1.png\">\n\t \t\t</div> -->\n \t\t<div \n \t\t\tclass=\"flex flex-column flex-center pd-semi o-hidden pos-relative pos-b-0 z-index-1\"\n \t\t\t :style=\"{ opacity: tweenSlides.length ? tweenSlides[0] : undefined, transform: tweenSlides[0] ? `scale(${tweenSlides[0]})` : '' }\"\n \t\t>\n \t\t\t<img \n\t \t\t:src=\"'/logo/logo_square.svg'\" \n\t \t\tclass=\"i-extra radius-medium mn-b-small\"\n\t \t>\n\n\t <h3 class=\"h3 mn-b-medium\">Welcome to 3SR</h3>\n\t \n\t <p class=\"p-regular t-transp mn-b-big\">\n\t Access premium cameras, lenses, lighting, and audio gear through our app designed for filmmakers and content creators.\n\t </p>\n\n\n\t <button @click=\"nextSlide\" class=\"bg-main p-big w-max button\">\n\t Get Started\n\t </button>\n\t </div>\n \t</div>\n\n \t<!-- SLIDE 2 -->\n\t\t <!-- ------------------------------- -->\n \t<div class=\"pos-relative flex-justify-center pd-thin t-center flex-column flex embla__slide\">\n\t\t\t\t<div class=\"flex flex-column flex-center pd-semi o-hidden pos-relative pos-b-0 z-index-1\">\n \n <div class=\"mn-b-small w-4r h-4r mn-auto pd-regular bg-main radius-regular t-white flex flex-center\">\n <IconBell/>\n </div>\n\n\t <h3 class=\"h3 mn-b-medium\">Stay in the Loop</h3>\n\t <p class=\"p-regular t-transp mn-b-big\">\n\t Get instant notifications about equipment availability, booking confirmations, and exclusive deals from our rental platform.\n\t </p>\n\n\t <div class=\"flex flex-column flex-center gap-small\">\n\t <button @click=\"requestNotificationPermission\" class=\"bg-main p-big w-max button\">\n\t\t\t\t\t\t \t Enable Notifications\n\t\t\t\t\t\t </button>\n\t <button @click=\"nextSlide\" class=\"bg-light p-big w-max button\">\n\t Maybe Later\n\t </button>\n\t </div>\n\t </div>\n\t\t\t</div>\n\n\t\t\t<!-- SLIDE 3 -->\n\t\t <!-- ------------------------------- -->\n\t\t\t<div class=\"pos-relative flex-justify-center pd-thin t-center flex-column flex embla__slide\">\n <div class=\"flex flex-column flex-center pd-semi o-hidden pos-relative pos-b-0 z-index-1\">\n \n <div class=\"mn-b-small w-4r h-4r mn-auto pd-regular bg-main radius-regular t-white flex flex-center\">\n <IconAddress/>\n </div>\n\n <h3 class=\"h3 mn-b-medium\">Find Nearby Equipment</h3>\n <p class=\"p-regular t-transp mn-b-big\">\n Discover rental locations and equipment availability near you. We'll show you the closest pickup points and delivery options.\n </p>\n\n <div class=\"flex flex-column flex-center gap-small\">\n <button @click=\"requestLocationPermission\" class=\"bg-main p-big w-max button\">\n Enable Location\n </button>\n <button @click=\"nextSlide\" class=\"bg-light p-big w-max button\">\n Skip for Now\n </button>\n </div>\n </div>\n </div>\n\n <!-- SLIDE 4 - App Tracking Transparency -->\n\t\t <!-- ------------------------------- -->\n <div class=\"pos-relative flex-justify-center pd-thin t-center flex-column flex embla__slide\">\n <div class=\"flex flex-column flex-center pd-semi o-hidden pos-relative pos-b-0 z-index-1\">\n <div class=\"mn-b-small w-4r h-4r mn-auto pd-regular bg-main radius-regular t-white flex flex-center\">\n <IconShield/>\n </div>\n\n <h3 class=\"h3 mn-b-medium\">Personalized Experience</h3>\n <p class=\"p-regular t-transp mn-b-big\">\n Allow us to provide you with personalized recommendations and improve your app experience based on your preferences.\n </p>\n\n <div class=\"flex flex-column flex-center gap-small\">\n <button @click=\"requestTrackingPermission\" class=\"bg-main p-big w-max button\">\n Allow Tracking\n </button>\n <button @click=\"nextSlide\" class=\"bg-light p-big w-max button\">\n Ask App Not to Track\n </button>\n </div>\n </div>\n </div>\n\n <!-- SLIDE 5 - Final -->\n\t\t <!-- ------------------------------- -->\n <div class=\"pos-relative flex-justify-center pd-thin t-center flex-column flex embla__slide\">\n \t<div class=\"flex flex-column flex-center pd-semi o-hidden pos-relative pos-b-0 z-index-1\">\n\t \t<img loading=\"lazy\" \n\t \t\t:src=\"'/logo/logo_square.svg'\" \n\t \t\tclass=\"i-extra radius-medium mn-b-small\"\n\t \t>\n\t \t<h3 class=\"h3 mn-b-medium\">Ready to Rent?</h3>\n\t \t<p class=\"p-regular t-transp mn-b-big\">Join thousands of creators who trust 3SR for their professional video equipment needs. Choose how you'd like to get started.</p>\n\t \n\t \t<button @click=\"openFirstRoute('Sign Up')\" class=\"bg-main p-big w-100 button mn-b-thin\">Create Account</button> \n\t \t<button @click=\"openFirstRoute('Sign In')\" class=\"bg-light t-black p-big w-100 button mn-b-semi\">Sign In</button>\n\n\t\t <p class=\"p-small mn-b-medium t-transp\">Or explore as a guest:</p> \n\t \t<button @click=\"setFirstUseFalse()\" class=\"bg-light p-big w-max button\">Continue as Guest</button>\n \t</div>\n\t </div>\n\n </div>\n\n <div class=\"\n\t embla__dots\n \tz-index-5 \n \th-4r \n \tpos-absolute \n \tpos-t-1r \n \tflex-nowrap \n \tflex \n \tflex-center \n \tgap-thin \n \tw-100\"\n >\n\t <button\n\t v-for=\"(snap, index) in scrollSnaps\"\n\t :key=\"index\"\n\t @click=\"scrollTo(index)\"\n\t :class=\"[\n\t 'embla__dot bg- i-small radius-extra',\n\t\t\t\t\t{ 'bg-light': index !== selectedIndex },\n\t { 'bg-main': index === selectedIndex }\n\t ]\"\n\t >\n\t\t </button>\n\n\t\t <button \n\t\t \t@click.native=\"setFirstUseFalse()\" \n\t\t \tclass=\"\n\t\t \t\tpd-small\n\t\t \t\tbg-white\n\t\t \t\tt-black\n\t\t \t\tw-6r \n\t\t \t\tpos-b-0r \n\t\t \t\tflex-nowrap \n\t\t \t\tflex \n\t\t \t\tflex-center \n\t\t \t\tpos-r-1r \n\t\t \t\tpos-relative \n\t\t \t\tradius-small \n\t\t \t\tuppercase \n\t\t \t\tpos-absolute\n\t\t \t\"> \n\t\t \t<span>Skip</span>\n\t\t </button>\n\t </div>\n\t</div>\n\n</template>\n\n<script setup>\n\timport { ref, onMounted, reactive, inject } from 'vue';\n\timport { useRoute, useRouter } from 'vue-router'\n\n\timport emblaCarouselVue from 'embla-carousel-vue'; \n\n\timport IconBell from '@martyrs/src/modules/icons/entities/IconBell.vue';\n\timport IconAddress from '@martyrs/src/modules/icons/entities/IconAddress.vue';\n\timport IconShield from '@martyrs/src/modules/icons/entities/IconAddress.vue';\n\n\timport { AppTrackingTransparency } from 'capacitor-plugin-app-tracking-transparency';\n\n\tconst props = defineProps(['slides', 'options']);\n\tconst emits = defineEmits(['updateFirstUse'])\n\tconst router = useRouter()\n\t\n\t// Get notification manager directly\n\timport ModuleNotifications from '@martyrs/src/modules/notifications/notifications.client.js'\n\n\t// Set firstUse\n\timport { Preferences } from '@capacitor/preferences';\n\n\tconst permissions = reactive({\n\t notifications: false,\n\t location: false,\n\t tracking: false\n\t})\n\n\tasync function setFirstUseFalse() {\n await Preferences.set({\n key: 'first-use',\n value: JSON.stringify(false),\n });\n\n emits('updateFirstUse', false);\n }\n\n async function openFirstRoute(routeName) {\n\t\tawait router.push({name: routeName})\n\n\t\tawait Preferences.set({\n key: 'first-use',\n value: JSON.stringify(false),\n });\n\n\t\temits('updateFirstUse', false);\n\t}\n\n\tconst [emblaNode, emblaApi] = emblaCarouselVue({ loop: false })\n\n\tconst selectedIndex = ref(0);\n\tconst scrollSnaps = ref([]);\n\tconst TWEEN_FACTOR = 3\n\tconst tweenValues = ref([])\n\tconst tweenSlides = ref([])\n\n\tconst scrollTo = (index) => emblaApi.value && emblaApi.value.scrollTo(index);\n\n\tconst nextSlide = () => {\n\t\tif (emblaApi.value) {\n\t\t\temblaApi.value.scrollNext();\n\t\t}\n\t};\n\n\tconst onInit = (embla) => {\n\t scrollSnaps.value = emblaApi.value.scrollSnapList();\n\t};\n\n\tconst onSelect = (embla) => {\n\t selectedIndex.value = emblaApi.value.selectedScrollSnap();\n\t};\n\n\tlet scrollRAF = null;\n\tconst onScroll = (embla) => {\n\t\t// Cancel previous frame if exists\n\t\tif (scrollRAF) cancelAnimationFrame(scrollRAF);\n\t\t\n\t\tscrollRAF = requestAnimationFrame(() => {\n\t\t\tconst engine = emblaApi.value.internalEngine()\n\t\t\tconst scrollProgress = emblaApi.value.scrollProgress()\n\t\t\t// Cache snapList to avoid calling it twice\n\t\t\tconst snapList = emblaApi.value.scrollSnapList()\n\n\t\t\tconst stylesOpacity = snapList.map((scrollSnap, index) => {\n\t\t\t\tlet diffToTarget = scrollSnap - scrollProgress\n\n\t\t\t\tif (engine.options.loop) {\n\t\t\t\t\tengine.slideLooper.loopPoints.forEach((loopItem) => {\n\t\t\t\t\t\tconst target = loopItem.target()\n\t\t\t\t\t\tif (index === loopItem.index && target !== 0) {\n\t\t\t\t\t\t\tconst sign = Math.sign(target)\n\t\t\t\t\t\t\tif (sign === -1) diffToTarget = scrollSnap - (1 + scrollProgress)\n\t\t\t\t\t\t\tif (sign === 1) diffToTarget = scrollSnap + (1 - scrollProgress)\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t\tconst tweenValue = 1 - Math.abs(diffToTarget * TWEEN_FACTOR)\n\t\t\t\treturn Math.min(Math.max(tweenValue, 0), 1)\n\t\t\t})\n\n\t\t\tconst styles = snapList.map((scrollSnap, index) => {\n\t\t\t\tlet diffToTarget = scrollSnap - scrollProgress\n\n\t\t\t\tif (engine.options.loop) {\n\t\t\t\t\tengine.slideLooper.loopPoints.forEach((loopItem) => {\n\t\t\t\t\t\tconst target = loopItem.target()\n\t\t\t\t\t\tif (index === loopItem.index && target !== 0) {\n\t\t\t\t\t\t\tconst sign = Math.sign(target)\n\t\t\t\t\t\t\tif (sign === -1) diffToTarget = scrollSnap - (1 + scrollProgress)\n\t\t\t\t\t\t\tif (sign === 1) diffToTarget = scrollSnap + (1 - scrollProgress)\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t\treturn diffToTarget * (1 / TWEEN_FACTOR) * 100\n\t\t\t})\n\n\t\t\t// Batch updates together\n\t\t\ttweenSlides.value = stylesOpacity\n\t\t\ttweenValues.value = styles\n\t\t});\n\t}\n\n\n\tonMounted(() => {\n\t emblaApi.value.on('init', onInit)\n\t emblaApi.value.on('select', onSelect)\n\t emblaApi.value.on('scroll', onScroll)\n\t});\n\n\tconst requestNotificationPermission = async () => {\n\t try {\n\t // Use notification manager from global store if available\n\t const notificationManager = window.$store?.notificationManager;\n\t \n\t if (notificationManager) {\n\t await notificationManager.pushHandler.requestPermissions();\n\t await notificationManager.registerWebPush(window.$store);\n\t permissions.notifications = true;\n\t }\n\t \n\t setTimeout(() => {\n\t nextSlide()\n\t }, 1000)\n\t } catch (error) {\n\t console.error('Notification permission error:', error)\n\t nextSlide()\n\t }\n\t}\n\n\tconst requestLocationPermission = async () => {\n\t try {\n\t if (!('geolocation' in navigator)) {\n\t nextSlide()\n\t return\n\t }\n\n\t navigator.geolocation.getCurrentPosition(\n\t () => {\n\t permissions.location = true\n\t setTimeout(() => {\n\t nextSlide()\n\t }, 1000)\n\t },\n\t () => {\n\t setTimeout(() => {\n\t nextSlide()\n\t }, 1000)\n\t },\n\t { timeout: 8000 }\n\t )\n\t } catch (error) {\n\t console.error('Location permission error:', error)\n\t nextSlide()\n\t }\n\t}\n\n\tconst requestTrackingPermission = async () => {\n\t try {\n\t const { status } = await AppTrackingTransparency.requestPermission();\n\t \n\t if (status === 'authorized') {\n\t permissions.tracking = true;\n\t }\n\t \n\t setTimeout(() => {\n\t nextSlide();\n\t }, 1000);\n\t } catch (error) {\n\t console.error('Tracking permission error:', error);\n\t nextSlide();\n\t }\n\t};\n\n</script>\n\n<style lang=\"scss\">\n\t.embla {\n overflow: hidden;\n }\n .embla__container {\n display: flex;\n }\n .embla__slide {\n flex: 0 0 100%;\n min-width: 0;\n }\n</style>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuOC,MAAM,eAAe;;;;;;AAvCrB,UAAM,QAAQ;AACd,UAAM,SAAS,UAAS;AAQxB,UAAM,cAAc,SAAS;AAAA,MAC3B,eAAe;AAAA,MACf,UAAU;AAAA,MACV,UAAU;AAAA,IACb,CAAE;AAED,mBAAe,mBAAmB;AAC/B,YAAM,YAAY,IAAI;AAAA,QACpB,KAAK;AAAA,QACL,OAAO,KA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f,oBAAS;AAAA,QACX,GAAG,GAAI;AAAA,MACT,SAAS,OAAO;AACd,gBAAQ,MAAM,kCAAkC,KAAK;AACrD,kBAAS;AAAA,MACX;AAAA,IACF;AAEA,UAAM,4BAA4B,YAAY;AAC5C,UAAI;AACF,YAAI,EAAE,iBAAiB,YAAY;AACjC,oBAAS;AACT;AAAA,QACF;AAEA,kBAAU,YAAY;AAAA,UACpB,MAAM;AACJ,wBAAY,WAAW;AACvB,uBAAW,MAAM;AACf,wBAAS;AAAA,YACX,GAAG,GAAI;AAAA,UACT;AAAA,UACA,MAAM;AACJ,uBAAW,MAAM;AACf,wBAAS;AAAA,YACX,GAAG,GAAI;AAAA,UACT;AAAA,UACA,EAAE,SAAS,IAAI;AAAA,QACtB;AAAA,MACG,SAAS,OAAO;AACd,gBAAQ,MAAM,8BAA8B,KAAK;AACjD,kBAAS;AAAA,MACX;AAAA,IACF;AAEA,UAAM,4BAA4B,YAAY;AAC5C,UAAI;AACF,cAAM,EAAE,OAAM,IAAK,MAAM,wBAAwB,kBAAiB;AAElE,YAAI,WAAW,cAAc;AAC3B,sBAAY,WAAW;AAAA,QACzB;AAEA,mBAAW,MAAM;AACf,oBAAS;AAAA,QACX,GAAG,GAAI;AAAA,MACT,SAAS,OAAO;AACd,gBAAQ,MAAM,8BAA8B,KAAK;AACjD,kBAAS;AAAA,MACX;AAAA,IACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const vue = require("vue");
|
|
4
|
-
const AlertDialog =
|
|
4
|
+
const AlertDialog = vue.defineAsyncComponent(
|
|
5
|
+
() => Promise.resolve().then(() => require("../components/blocks/AlertDialog.vue.cjs"))
|
|
6
|
+
);
|
|
5
7
|
const alertState = vue.reactive({
|
|
6
8
|
visible: false,
|
|
7
9
|
title: "",
|
|
@@ -41,7 +43,7 @@ const alertPlugin = {
|
|
|
41
43
|
if (typeof window !== "undefined" && typeof document !== "undefined") {
|
|
42
44
|
const container = document.createElement("div");
|
|
43
45
|
document.body.appendChild(container);
|
|
44
|
-
const vnode = vue.h(AlertDialog
|
|
46
|
+
const vnode = vue.h(AlertDialog, { alertState, handleAction, closeAlert });
|
|
45
47
|
vue.render(vnode, container);
|
|
46
48
|
}
|
|
47
49
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert.plugin.cjs","sources":["../../../../../../../src/modules/globals/views/plugins/alert.plugin.js"],"sourcesContent":["// alertPlugin.js\nimport { h, reactive, render } from 'vue';\n
|
|
1
|
+
{"version":3,"file":"alert.plugin.cjs","sources":["../../../../../../../src/modules/globals/views/plugins/alert.plugin.js"],"sourcesContent":["// alertPlugin.js\nimport { h, reactive, render, defineAsyncComponent } from 'vue';\n\n// Dynamic import for better tree shaking and lazy loading\nconst AlertDialog = defineAsyncComponent(() => \n import('@martyrs/src/modules/globals/views/components/blocks/AlertDialog.vue')\n);\n\n// Глобальное реактивное состояние для алерта\nconst alertState = reactive({\n visible: false,\n title: '',\n message: '',\n actions: [],\n});\n\nlet resolvePromise = null;\n\nfunction closeAlert(result = null) {\n alertState.visible = false;\n\n // Гарантируем, что промис всегда будет резолвлен\n if (resolvePromise) {\n resolvePromise(result);\n resolvePromise = null;\n }\n}\n\nfunction showAlert({ title = '', message = '', actions = null } = {}) {\n return new Promise(resolve => {\n resolvePromise = resolve;\n\n if (!actions || !actions.length) {\n actions = [{ label: 'OK', value: true }];\n }\n\n alertState.title = title;\n alertState.message = message;\n alertState.actions = actions;\n alertState.visible = true;\n });\n}\n\nfunction handleAction(action) {\n if (action && typeof action.handler === 'function') {\n action.handler();\n }\n\n const result = action.value === undefined ? action.label : action.value;\n\n closeAlert(result);\n}\n\nexport default {\n install(app) {\n app.config.globalProperties.$alert = showAlert;\n\n // Avoid running DOM operations during SSR\n if (typeof window !== 'undefined' && typeof document !== 'undefined') {\n const container = document.createElement('div');\n document.body.appendChild(container);\n const vnode = h(AlertDialog, { alertState, handleAction, closeAlert });\n render(vnode, container);\n }\n },\n};\n\nexport { closeAlert, handleAction, showAlert };\n"],"names":["defineAsyncComponent","reactive","h","render"],"mappings":";;;AAIA,MAAM,cAAcA,IAAAA;AAAAA,EAAqB,MACvC,qCAAO,0CAAsE,CAAA;AAC/E;AAGA,MAAM,aAAaC,IAAAA,SAAS;AAAA,EAC1B,SAAS;AAAA,EACT,OAAO;AAAA,EACP,SAAS;AAAA,EACT,SAAS,CAAA;AACX,CAAC;AAED,IAAI,iBAAiB;AAErB,SAAS,WAAW,SAAS,MAAM;AACjC,aAAW,UAAU;AAGrB,MAAI,gBAAgB;AAClB,mBAAe,MAAM;AACrB,qBAAiB;AAAA,EACnB;AACF;AAEA,SAAS,UAAU,EAAE,QAAQ,IAAI,UAAU,IAAI,UAAU,KAAI,IAAK,IAAI;AACpE,SAAO,IAAI,QAAQ,aAAW;AAC5B,qBAAiB;AAEjB,QAAI,CAAC,WAAW,CAAC,QAAQ,QAAQ;AAC/B,gBAAU,CAAC,EAAE,OAAO,MAAM,OAAO,KAAI,CAAE;AAAA,IACzC;AAEA,eAAW,QAAQ;AACnB,eAAW,UAAU;AACrB,eAAW,UAAU;AACrB,eAAW,UAAU;AAAA,EACvB,CAAC;AACH;AAEA,SAAS,aAAa,QAAQ;AAC5B,MAAI,UAAU,OAAO,OAAO,YAAY,YAAY;AAClD,WAAO,QAAO;AAAA,EAChB;AAEA,QAAM,SAAS,OAAO,UAAU,SAAY,OAAO,QAAQ,OAAO;AAElE,aAAW,MAAM;AACnB;AAEA,MAAA,cAAe;AAAA,EACb,QAAQ,KAAK;AACX,QAAI,OAAO,iBAAiB,SAAS;AAGrC,QAAI,OAAO,WAAW,eAAe,OAAO,aAAa,aAAa;AACpE,YAAM,YAAY,SAAS,cAAc,KAAK;AAC9C,eAAS,KAAK,YAAY,SAAS;AACnC,YAAM,QAAQC,IAAAA,EAAE,aAAa,EAAE,YAAY,cAAc,YAAY;AACrEC,UAAAA,OAAO,OAAO,SAAS;AAAA,IACzB;AAAA,EACF;AACF;;;;;"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { h, defineAsyncComponent, reactive, render } from "vue";
|
|
2
|
+
const AlertDialog = defineAsyncComponent(
|
|
3
|
+
() => import("../components/blocks/AlertDialog.vue.js")
|
|
4
|
+
);
|
|
3
5
|
const alertState = reactive({
|
|
4
6
|
visible: false,
|
|
5
7
|
title: "",
|
|
@@ -39,7 +41,7 @@ const alertPlugin = {
|
|
|
39
41
|
if (typeof window !== "undefined" && typeof document !== "undefined") {
|
|
40
42
|
const container = document.createElement("div");
|
|
41
43
|
document.body.appendChild(container);
|
|
42
|
-
const vnode = h(
|
|
44
|
+
const vnode = h(AlertDialog, { alertState, handleAction, closeAlert });
|
|
43
45
|
render(vnode, container);
|
|
44
46
|
}
|
|
45
47
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert.plugin.js","sources":["../../../../../../../src/modules/globals/views/plugins/alert.plugin.js"],"sourcesContent":["// alertPlugin.js\nimport { h, reactive, render } from 'vue';\n
|
|
1
|
+
{"version":3,"file":"alert.plugin.js","sources":["../../../../../../../src/modules/globals/views/plugins/alert.plugin.js"],"sourcesContent":["// alertPlugin.js\nimport { h, reactive, render, defineAsyncComponent } from 'vue';\n\n// Dynamic import for better tree shaking and lazy loading\nconst AlertDialog = defineAsyncComponent(() => \n import('@martyrs/src/modules/globals/views/components/blocks/AlertDialog.vue')\n);\n\n// Глобальное реактивное состояние для алерта\nconst alertState = reactive({\n visible: false,\n title: '',\n message: '',\n actions: [],\n});\n\nlet resolvePromise = null;\n\nfunction closeAlert(result = null) {\n alertState.visible = false;\n\n // Гарантируем, что промис всегда будет резолвлен\n if (resolvePromise) {\n resolvePromise(result);\n resolvePromise = null;\n }\n}\n\nfunction showAlert({ title = '', message = '', actions = null } = {}) {\n return new Promise(resolve => {\n resolvePromise = resolve;\n\n if (!actions || !actions.length) {\n actions = [{ label: 'OK', value: true }];\n }\n\n alertState.title = title;\n alertState.message = message;\n alertState.actions = actions;\n alertState.visible = true;\n });\n}\n\nfunction handleAction(action) {\n if (action && typeof action.handler === 'function') {\n action.handler();\n }\n\n const result = action.value === undefined ? action.label : action.value;\n\n closeAlert(result);\n}\n\nexport default {\n install(app) {\n app.config.globalProperties.$alert = showAlert;\n\n // Avoid running DOM operations during SSR\n if (typeof window !== 'undefined' && typeof document !== 'undefined') {\n const container = document.createElement('div');\n document.body.appendChild(container);\n const vnode = h(AlertDialog, { alertState, handleAction, closeAlert });\n render(vnode, container);\n }\n },\n};\n\nexport { closeAlert, handleAction, showAlert };\n"],"names":[],"mappings":";AAIA,MAAM,cAAc;AAAA,EAAqB,MACvC,OAAO,yCAAsE;AAC/E;AAGA,MAAM,aAAa,SAAS;AAAA,EAC1B,SAAS;AAAA,EACT,OAAO;AAAA,EACP,SAAS;AAAA,EACT,SAAS,CAAA;AACX,CAAC;AAED,IAAI,iBAAiB;AAErB,SAAS,WAAW,SAAS,MAAM;AACjC,aAAW,UAAU;AAGrB,MAAI,gBAAgB;AAClB,mBAAe,MAAM;AACrB,qBAAiB;AAAA,EACnB;AACF;AAEA,SAAS,UAAU,EAAE,QAAQ,IAAI,UAAU,IAAI,UAAU,KAAI,IAAK,IAAI;AACpE,SAAO,IAAI,QAAQ,aAAW;AAC5B,qBAAiB;AAEjB,QAAI,CAAC,WAAW,CAAC,QAAQ,QAAQ;AAC/B,gBAAU,CAAC,EAAE,OAAO,MAAM,OAAO,KAAI,CAAE;AAAA,IACzC;AAEA,eAAW,QAAQ;AACnB,eAAW,UAAU;AACrB,eAAW,UAAU;AACrB,eAAW,UAAU;AAAA,EACvB,CAAC;AACH;AAEA,SAAS,aAAa,QAAQ;AAC5B,MAAI,UAAU,OAAO,OAAO,YAAY,YAAY;AAClD,WAAO,QAAO;AAAA,EAChB;AAEA,QAAM,SAAS,OAAO,UAAU,SAAY,OAAO,QAAQ,OAAO;AAElE,aAAW,MAAM;AACnB;AAEA,MAAA,cAAe;AAAA,EACb,QAAQ,KAAK;AACX,QAAI,OAAO,iBAAiB,SAAS;AAGrC,QAAI,OAAO,WAAW,eAAe,OAAO,aAAa,aAAa;AACpE,YAAM,YAAY,SAAS,cAAc,KAAK;AAC9C,eAAS,KAAK,YAAY,SAAS;AACnC,YAAM,QAAQ,EAAE,aAAa,EAAE,YAAY,cAAc,YAAY;AACrE,aAAO,OAAO,SAAS;AAAA,IACzB;AAAA,EACF;AACF;"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const vue = require("vue");
|
|
4
|
-
const PopupDateSelector = require("../components/blocks/PopupDateSelector.vue.cjs");
|
|
5
4
|
const globals = require("../store/globals.cjs");
|
|
5
|
+
const PopupDateSelector = vue.defineAsyncComponent(
|
|
6
|
+
() => Promise.resolve().then(() => require("../components/blocks/PopupDateSelector.vue.cjs"))
|
|
7
|
+
);
|
|
6
8
|
const state = vue.reactive({
|
|
7
9
|
isOpen: false,
|
|
8
10
|
productId: null,
|
|
@@ -46,7 +48,7 @@ function cancelSelection() {
|
|
|
46
48
|
const DateSelectorHost = vue.defineComponent({
|
|
47
49
|
name: "DateSelectorHost",
|
|
48
50
|
setup() {
|
|
49
|
-
return () => state.isOpen ? vue.h(PopupDateSelector
|
|
51
|
+
return () => state.isOpen ? vue.h(PopupDateSelector, {
|
|
50
52
|
productId: state.productId,
|
|
51
53
|
variantId: state.variantId,
|
|
52
54
|
quantity: state.quantity,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-picker.plugin.cjs","sources":["../../../../../../../src/modules/globals/views/plugins/date-picker.plugin.js"],"sourcesContent":["// date-selector.plugin.js\nimport { reactive, markRaw, defineComponent, h, render } from 'vue'\nimport
|
|
1
|
+
{"version":3,"file":"date-picker.plugin.cjs","sources":["../../../../../../../src/modules/globals/views/plugins/date-picker.plugin.js"],"sourcesContent":["// date-selector.plugin.js\nimport { reactive, markRaw, defineComponent, h, render, defineAsyncComponent } from 'vue'\nimport * as globals from '@martyrs/src/modules/globals/views/store/globals.js'\n\n// Dynamic import for better tree shaking and lazy loading\nconst PopupDateSelector = defineAsyncComponent(() => \n import('@martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue')\n)\n\n// 1) Общее состояние и API\nconst state = reactive({\n isOpen: false,\n productId: null,\n variantId: null,\n quantity: 1,\n price: 0,\n options: { showFees: false, feesRate: 0.15, showVat: false, vatRate: 0 },\n resolve: null,\n reject: null\n})\n\nfunction getDefaultOptions() {\n return {\n showFees: globals.state.options?.orders?.showFees || false,\n feesRate: globals.state.options?.orders?.feesRate || 0.15,\n showVat: globals.state.options?.orders?.showVat || false,\n vatRate: globals.state.options?.orders?.vatRate || 0\n }\n}\n\nexport function showDateSelector(productId, variantId, quantity = 1, price = 0, customOptions = {}) {\n return new Promise((res, rej) => {\n state.resolve = res\n state.reject = rej\n state.productId = productId\n state.variantId = variantId\n state.quantity = quantity\n state.price = price\n state.options = { ...getDefaultOptions(), ...customOptions }\n state.isOpen = true\n })\n}\n\nfunction confirmSelection(dates) {\n state.isOpen = false\n state.resolve?.(dates)\n state.resolve = state.reject = state.productId = state.variantId = null\n}\n\nfunction cancelSelection() {\n state.isOpen = false\n state.reject?.(new Error('Date selection cancelled'))\n state.resolve = state.reject = state.productId = state.variantId = null\n}\n\n// 2) Хост-компонент\nconst DateSelectorHost = defineComponent({\n name: 'DateSelectorHost',\n setup() {\n return () =>\n state.isOpen\n ? h(PopupDateSelector, {\n productId: state.productId,\n variantId: state.variantId,\n quantity: state.quantity,\n price: state.price,\n isOpen: state.isOpen,\n showFees: state.options.showFees,\n feesRate: state.options.feesRate,\n showVat: state.options.showVat,\n vatRate: state.options.vatRate,\n showCancelButton: state.options.showCancelButton || false,\n onConfirm: confirmSelection,\n onCancel: state.options.onCancel || cancelSelection,\n 'onClose-popup': cancelSelection\n })\n : null\n }\n})\n\n// 3) Плагин\nexport default {\n install(app) {\n // 3.1) Глобальный метод\n app.config.globalProperties.$dateSelector = showDateSelector\n\n // 3.2) Контейнер в body\n if (typeof window !== 'undefined' && typeof document !== 'undefined') {\n const container = document.createElement('div')\n container.id = 'date-selector-host'\n document.body.appendChild(container)\n\n // 3.3) Рендерим VNode в контексте основного app\n const vnode = h(DateSelectorHost)\n vnode.appContext = app._context // <-- ключевой момент\n render(vnode, container)\n }\n }\n}\n"],"names":["defineAsyncComponent","reactive","globals.state","defineComponent","h","render"],"mappings":";;;;AAKA,MAAM,oBAAoBA,IAAAA;AAAAA,EAAqB,MAC7C,qCAAO,gDAA4E,CAAA;AACrF;AAGA,MAAM,QAAQC,IAAAA,SAAS;AAAA,EACrB,QAAQ;AAAA,EACR,WAAW;AAAA,EACX,WAAW;AAAA,EACX,UAAU;AAAA,EACV,OAAO;AAAA,EACP,SAAS,EAAE,UAAU,OAAO,UAAU,MAAM,SAAS,OAAO,SAAS,EAAC;AAAA,EACtE,SAAS;AAAA,EACT,QAAQ;AACV,CAAC;AAED,SAAS,oBAAoB;AAC3B,SAAO;AAAA,IACL,UAAUC,QAAAA,MAAc,SAAS,QAAQ,YAAY;AAAA,IACrD,UAAUA,QAAAA,MAAc,SAAS,QAAQ,YAAY;AAAA,IACrD,SAASA,QAAAA,MAAc,SAAS,QAAQ,WAAW;AAAA,IACnD,SAASA,QAAAA,MAAc,SAAS,QAAQ,WAAW;AAAA,EACvD;AACA;AAEO,SAAS,iBAAiB,WAAW,WAAW,WAAW,GAAG,QAAQ,GAAG,gBAAgB,IAAI;AAClG,SAAO,IAAI,QAAQ,CAAC,KA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AAGnC,YAAM,QAAQA,IAAAA,EAAE,gBAAgB;AAChC,YAAM,aAAa,IAAI;AACvBC,UAAAA,OAAO,OAAO,SAAS;AAAA,IACzB;AAAA,EACF;AACF;;;"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import _sfc_main from "../components/blocks/PopupDateSelector.vue.js";
|
|
1
|
+
import { h, defineComponent, render, reactive, defineAsyncComponent } from "vue";
|
|
3
2
|
import { state as state$1 } from "../store/globals.js";
|
|
3
|
+
const PopupDateSelector = defineAsyncComponent(
|
|
4
|
+
() => import("../components/blocks/PopupDateSelector.vue.js")
|
|
5
|
+
);
|
|
4
6
|
const state = reactive({
|
|
5
7
|
isOpen: false,
|
|
6
8
|
productId: null,
|
|
@@ -44,7 +46,7 @@ function cancelSelection() {
|
|
|
44
46
|
const DateSelectorHost = defineComponent({
|
|
45
47
|
name: "DateSelectorHost",
|
|
46
48
|
setup() {
|
|
47
|
-
return () => state.isOpen ? h(
|
|
49
|
+
return () => state.isOpen ? h(PopupDateSelector, {
|
|
48
50
|
productId: state.productId,
|
|
49
51
|
variantId: state.variantId,
|
|
50
52
|
quantity: state.quantity,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-picker.plugin.js","sources":["../../../../../../../src/modules/globals/views/plugins/date-picker.plugin.js"],"sourcesContent":["// date-selector.plugin.js\nimport { reactive, markRaw, defineComponent, h, render } from 'vue'\nimport
|
|
1
|
+
{"version":3,"file":"date-picker.plugin.js","sources":["../../../../../../../src/modules/globals/views/plugins/date-picker.plugin.js"],"sourcesContent":["// date-selector.plugin.js\nimport { reactive, markRaw, defineComponent, h, render, defineAsyncComponent } from 'vue'\nimport * as globals from '@martyrs/src/modules/globals/views/store/globals.js'\n\n// Dynamic import for better tree shaking and lazy loading\nconst PopupDateSelector = defineAsyncComponent(() => \n import('@martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue')\n)\n\n// 1) Общее состояние и API\nconst state = reactive({\n isOpen: false,\n productId: null,\n variantId: null,\n quantity: 1,\n price: 0,\n options: { showFees: false, feesRate: 0.15, showVat: false, vatRate: 0 },\n resolve: null,\n reject: null\n})\n\nfunction getDefaultOptions() {\n return {\n showFees: globals.state.options?.orders?.showFees || false,\n feesRate: globals.state.options?.orders?.feesRate || 0.15,\n showVat: globals.state.options?.orders?.showVat || false,\n vatRate: globals.state.options?.orders?.vatRate || 0\n }\n}\n\nexport function showDateSelector(productId, variantId, quantity = 1, price = 0, customOptions = {}) {\n return new Promise((res, rej) => {\n state.resolve = res\n state.reject = rej\n state.productId = productId\n state.variantId = variantId\n state.quantity = quantity\n state.price = price\n state.options = { ...getDefaultOptions(), ...customOptions }\n state.isOpen = true\n })\n}\n\nfunction confirmSelection(dates) {\n state.isOpen = false\n state.resolve?.(dates)\n state.resolve = state.reject = state.productId = state.variantId = null\n}\n\nfunction cancelSelection() {\n state.isOpen = false\n state.reject?.(new Error('Date selection cancelled'))\n state.resolve = state.reject = state.productId = state.variantId = null\n}\n\n// 2) Хост-компонент\nconst DateSelectorHost = defineComponent({\n name: 'DateSelectorHost',\n setup() {\n return () =>\n state.isOpen\n ? h(PopupDateSelector, {\n productId: state.productId,\n variantId: state.variantId,\n quantity: state.quantity,\n price: state.price,\n isOpen: state.isOpen,\n showFees: state.options.showFees,\n feesRate: state.options.feesRate,\n showVat: state.options.showVat,\n vatRate: state.options.vatRate,\n showCancelButton: state.options.showCancelButton || false,\n onConfirm: confirmSelection,\n onCancel: state.options.onCancel || cancelSelection,\n 'onClose-popup': cancelSelection\n })\n : null\n }\n})\n\n// 3) Плагин\nexport default {\n install(app) {\n // 3.1) Глобальный метод\n app.config.globalProperties.$dateSelector = showDateSelector\n\n // 3.2) Контейнер в body\n if (typeof window !== 'undefined' && typeof document !== 'undefined') {\n const container = document.createElement('div')\n container.id = 'date-selector-host'\n document.body.appendChild(container)\n\n // 3.3) Рендерим VNode в контексте основного app\n const vnode = h(DateSelectorHost)\n vnode.appContext = app._context // <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;AACN,WAAO,MACL,MAAM,SACF,EAAE,mBAAmB;AAAA,MACnB,WAAW,MAAM;AAAA,MACjB,WAAW,MAAM;AAAA,MACjB,UAAU,MAAM;AAAA,MAChB,OAAO,MAAM;AAAA,MACb,QAAQ,MAAM;AAAA,MACd,UAAU,MAAM,QAAQ;AAAA,MACxB,UAAU,MAAM,QAAQ;AAAA,MACxB,SAAS,MAAM,QAAQ;AAAA,MACvB,SAAS,MAAM,QAAQ;AAAA,MACvB,kBAAkB,MAAM,QAAQ,oBAAoB;AAAA,MACpD,WAAW;AAAA,MACX,UAAU,MAAM,QAAQ,YAAY;AAAA,MACpC,iBAAiB;AAAA,IAC7B,CAAW,IACD;AAAA,EACR;AACF,CAAC;AAGD,MAAA,mBAAe;AAAA,EACb,QAAQ,KAAK;AAEX,QAAI,OAAO,iBAAiB,gBAAgB;AAG5C,QAAI,OAAO,WAAW,eAAe,OAAO,aAAa,aAAa;AACpE,YAAM,YAAY,SAAS,cAAc,KAAK;AAC9C,gBAAU,KAAK;AACf,eAAS,KAAK,YAAY,SAAS;AAGnC,YAAM,QAAQ,EAAE,gBAAgB;AAChC,YAAM,aAAa,IAAI;AACvB,aAAO,OAAO,SAAS;AAAA,IACzB;AAAA,EACF;AACF;"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const vue = require("vue");
|
|
4
|
-
const PopupAuth =
|
|
4
|
+
const PopupAuth = vue.defineAsyncComponent(
|
|
5
|
+
() => Promise.resolve().then(() => require("../components/blocks/PopupAuth.vue.cjs"))
|
|
6
|
+
);
|
|
5
7
|
const state = vue.reactive({
|
|
6
8
|
visible: false,
|
|
7
9
|
title: "Welcome",
|
|
@@ -39,7 +41,7 @@ const AuthDialogHost = vue.defineComponent({
|
|
|
39
41
|
setup() {
|
|
40
42
|
return () => {
|
|
41
43
|
if (!state.visible) return null;
|
|
42
|
-
return vue.h(PopupAuth
|
|
44
|
+
return vue.h(PopupAuth, {
|
|
43
45
|
authState: state,
|
|
44
46
|
closeAuth,
|
|
45
47
|
"onClose-popup": cancelAuth
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popup.auth.plugin.cjs","sources":["../../../../../../../src/modules/globals/views/plugins/popup.auth.plugin.js"],"sourcesContent":["// @martyrs/src/modules/auth/views/plugins/authPlugin.js\nimport { reactive, defineComponent, h, render } from 'vue';\
|
|
1
|
+
{"version":3,"file":"popup.auth.plugin.cjs","sources":["../../../../../../../src/modules/globals/views/plugins/popup.auth.plugin.js"],"sourcesContent":["// @martyrs/src/modules/auth/views/plugins/authPlugin.js\nimport { reactive, defineComponent, h, render, defineAsyncComponent } from 'vue';\n\n// Dynamic import for better tree shaking and lazy loading\nconst PopupAuth = defineAsyncComponent(() => \n import('@martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue')\n);\n\n// 1) Общее состояние и API\nconst state = reactive({\n visible: false,\n title: 'Welcome',\n subtitle: 'Please sign in or create an account to continue.',\n returnUrl: '',\n resolve: null,\n reject: null\n});\n\nexport function showAuth({ \n title = 'Welcome', \n subtitle = 'Please sign in or create an account to continue.',\n returnUrl = ''\n} = {}) {\n return new Promise((res, rej) => {\n state.resolve = res;\n state.reject = rej;\n state.title = title;\n state.subtitle = subtitle;\n state.returnUrl = returnUrl;\n state.visible = true;\n });\n}\n\nexport function closeAuth(result = null) {\n state.visible = false;\n state.resolve?.(result);\n state.resolve = state.reject = null;\n}\n\nexport function cancelAuth() {\n state.visible = false;\n state.reject?.(new Error('Authentication cancelled'));\n state.resolve = state.reject = null;\n}\n\n// 2) Хост-компонент\nconst AuthDialogHost = defineComponent({\n name: 'AuthDialogHost',\n setup() {\n return () => {\n if (!state.visible) return null;\n \n return h(PopupAuth, {\n authState: state,\n closeAuth: closeAuth,\n 'onClose-popup': cancelAuth\n });\n };\n }\n});\n\n// 3) Плагин\nexport default {\n install(app) {\n // 3.1) Глобальный метод\n app.config.globalProperties.$auth = showAuth;\n app.config.globalProperties.$showAuth = showAuth;\n \n // 3.2) Контейнер в body\n if (typeof window !== 'undefined' && typeof document !== 'undefined') {\n const container = document.createElement('div');\n container.id = 'auth-dialog-host';\n document.body.appendChild(container);\n \n // 3.3) Рендерим VNode в контексте основного app\n const vnode = h(AuthDialogHost);\n vnode.appContext = app._context; // <-- ключевой момент\n render(vnode, container);\n }\n }\n};"],"names":["defineAsyncComponent","reactive","defineComponent","h","render"],"mappings":";;;AAIA,MAAM,YAAYA,IAAAA;AAAAA,EAAqB,MACrC,qCAAO,wCAAoE,CAAA;AAC7E;AAGA,MAAM,QAAQC,IAAAA,SAAS;AAAA,EACrB,SAAS;AAAA,EACT,OAAO;AAAA,EACP,UAAU;AAAA,EACV,WAAW;AAAA,EACX,SAAS;AAAA,EACT,QAAQ;AACV,CAAC;AAEM,SAAS,SAAS;AAAA,EACvB,QAAQ;AAAA,EACR,WAAW;AAAA,EACX,YAAY;AACd,IAAI,IAAI;AACN,SAAO,IAAI,QAAQ,CAAC,KAAK,QAAQ;AAC/B,UAAM,UAAU;AAChB,UAAM,SAAS;AACf,UAAM,QAAQ;AACd,UAAM,WAAW;AACjB,UAAM,YAAY;AAClB,UAAM,UAAU;AAAA,EAClB,CAAC;AACH;AAEO,SAAS,UAAU,SAAS,MAAM;AACvC,QAAM,UAAU;AAChB,QAAM,UAAU,MAAM;AACtB,QAAM,UAAU,MAAM,SAAS;AACjC;AAEO,SAAS,aAAa;AAC3B,QAAM,UAAU;AAChB,QAAM,SAAS,IAAI,MAAM,0BAA0B,CAAC;AACpD,QAAM,UAAU,MAAM,SAAS;AACjC;AAGA,MAAM,iBAAiBC,IAAAA,gBAAgB;AAAA,EACrC,MAAM;AAAA,EACN,QAAQ;AACN,WAAO,MAAM;AACX,UAAI,CAAC,MAAM,QAAS,QAAO;AAE3B,aAAOC,IAAAA,EAAE,WAAW;AAAA,QAClB,WAAW;AAAA,QACX;AAAA,QACA,iBAAiB;AAAA,MACzB,CAAO;AAAA,IACH;AAAA,EACF;AACF,CAAC;AAGD,MAAA,kBAAe;AAAA,EACb,QAAQ,KAAK;AAEX,QAAI,OAAO,iBAAiB,QAAQ;AACpC,QAAI,OAAO,iBAAiB,YAAY;AAGxC,QAAI,OAAO,WAAW,eAAe,OAAO,aAAa,aAAa;AACpE,YAAM,YAAY,SAAS,cAAc,KAAK;AAC9C,gBAAU,KAAK;AACf,eAAS,KAAK,YAAY,SAAS;AAGnC,YAAM,QAAQA,IAAAA,EAAE,cAAc;AAC9B,YAAM,aAAa,IAAI;AACvBC,UAAAA,OAAO,OAAO,SAAS;AAAA,IACzB;AAAA,EACF;AACF;;;;;"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { h, defineComponent, render, reactive, defineAsyncComponent } from "vue";
|
|
2
|
+
const PopupAuth = defineAsyncComponent(
|
|
3
|
+
() => import("../components/blocks/PopupAuth.vue.js")
|
|
4
|
+
);
|
|
3
5
|
const state = reactive({
|
|
4
6
|
visible: false,
|
|
5
7
|
title: "Welcome",
|
|
@@ -37,7 +39,7 @@ const AuthDialogHost = defineComponent({
|
|
|
37
39
|
setup() {
|
|
38
40
|
return () => {
|
|
39
41
|
if (!state.visible) return null;
|
|
40
|
-
return h(
|
|
42
|
+
return h(PopupAuth, {
|
|
41
43
|
authState: state,
|
|
42
44
|
closeAuth,
|
|
43
45
|
"onClose-popup": cancelAuth
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popup.auth.plugin.js","sources":["../../../../../../../src/modules/globals/views/plugins/popup.auth.plugin.js"],"sourcesContent":["// @martyrs/src/modules/auth/views/plugins/authPlugin.js\nimport { reactive, defineComponent, h, render } from 'vue';\
|
|
1
|
+
{"version":3,"file":"popup.auth.plugin.js","sources":["../../../../../../../src/modules/globals/views/plugins/popup.auth.plugin.js"],"sourcesContent":["// @martyrs/src/modules/auth/views/plugins/authPlugin.js\nimport { reactive, defineComponent, h, render, defineAsyncComponent } from 'vue';\n\n// Dynamic import for better tree shaking and lazy loading\nconst PopupAuth = defineAsyncComponent(() => \n import('@martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue')\n);\n\n// 1) Общее состояние и API\nconst state = reactive({\n visible: false,\n title: 'Welcome',\n subtitle: 'Please sign in or create an account to continue.',\n returnUrl: '',\n resolve: null,\n reject: null\n});\n\nexport function showAuth({ \n title = 'Welcome', \n subtitle = 'Please sign in or create an account to continue.',\n returnUrl = ''\n} = {}) {\n return new Promise((res, rej) => {\n state.resolve = res;\n state.reject = rej;\n state.title = title;\n state.subtitle = subtitle;\n state.returnUrl = returnUrl;\n state.visible = true;\n });\n}\n\nexport function closeAuth(result = null) {\n state.visible = false;\n state.resolve?.(result);\n state.resolve = state.reject = null;\n}\n\nexport function cancelAuth() {\n state.visible = false;\n state.reject?.(new Error('Authentication cancelled'));\n state.resolve = state.reject = null;\n}\n\n// 2) Хост-компонент\nconst AuthDialogHost = defineComponent({\n name: 'AuthDialogHost',\n setup() {\n return () => {\n if (!state.visible) return null;\n \n return h(PopupAuth, {\n authState: state,\n closeAuth: closeAuth,\n 'onClose-popup': cancelAuth\n });\n };\n }\n});\n\n// 3) Плагин\nexport default {\n install(app) {\n // 3.1) Глобальный метод\n app.config.globalProperties.$auth = showAuth;\n app.config.globalProperties.$showAuth = showAuth;\n \n // 3.2) Контейнер в body\n if (typeof window !== 'undefined' && typeof document !== 'undefined') {\n const container = document.createElement('div');\n container.id = 'auth-dialog-host';\n document.body.appendChild(container);\n \n // 3.3) Рендерим VNode в контексте основного app\n const vnode = h(AuthDialogHost);\n vnode.appContext = app._context; // <-- ключевой момент\n render(vnode, container);\n }\n }\n};"],"names":[],"mappings":";AAIA,MAAM,YAAY;AAAA,EAAqB,MACrC,OAAO,uCAAoE;AAC7E;AAGA,MAAM,QAAQ,SAAS;AAAA,EACrB,SAAS;AAAA,EACT,OAAO;AAAA,EACP,UAAU;AAAA,EACV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arkMode) {
|
|
39
|
-
|
|
39
|
+
if (!state.theme.rootElement) {
|
|
40
|
+
state.theme.rootElement = document.documentElement;
|
|
41
|
+
}
|
|
42
|
+
const root = state.theme.rootElement;
|
|
40
43
|
state.theme.darkmode = isDarkMode;
|
|
41
44
|
await index.Preferences.set({
|
|
42
45
|
key: "darkmode",
|
|
@@ -50,16 +53,16 @@ const actions = {
|
|
|
50
53
|
const variableNames = ["--white", "--light", "--grey", "--dark", "--black"];
|
|
51
54
|
if (!state.theme.originalColors) {
|
|
52
55
|
state.theme.originalColors = {};
|
|
56
|
+
const computedStyle = getComputedStyle(root);
|
|
53
57
|
variableNames.forEach((variableName) => {
|
|
54
|
-
|
|
55
|
-
state.theme.originalColors[variableName] = currentColor;
|
|
58
|
+
state.theme.originalColors[variableName] = computedStyle.getPropertyValue(variableName).trim();
|
|
56
59
|
});
|
|
57
60
|
}
|
|
58
61
|
if (isDarkMode) {
|
|
59
62
|
invertColors(variableNames, state.theme.originalColors);
|
|
60
63
|
} else {
|
|
61
64
|
variableNames.forEach((variableName) => {
|
|
62
|
-
|
|
65
|
+
root.style.setProperty(variableName, state.theme.originalColors[variableName]);
|
|
63
66
|
});
|
|
64
67
|
}
|
|
65
68
|
},
|
|
@@ -130,7 +133,9 @@ function setError(error) {
|
|
|
130
133
|
state.error.message = errorData.message || error.message || "Unknown error";
|
|
131
134
|
}
|
|
132
135
|
state.error.show = true;
|
|
133
|
-
|
|
136
|
+
requestAnimationFrame(() => {
|
|
137
|
+
setTimeout(() => state.error.show = false, 5e3);
|
|
138
|
+
});
|
|
134
139
|
}
|
|
135
140
|
function setSnack(data) {
|
|
136
141
|
let type = "notification";
|
|
@@ -156,9 +161,11 @@ function setSnack(data) {
|
|
|
156
161
|
message,
|
|
157
162
|
duration
|
|
158
163
|
};
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
164
|
+
requestAnimationFrame(() => {
|
|
165
|
+
setTimeout(() => {
|
|
166
|
+
state.snack.show = false;
|
|
167
|
+
}, duration);
|
|
168
|
+
});
|
|
162
169
|
}
|
|
163
170
|
function invertColors(variableNames, originalColors) {
|
|
164
171
|
variableNames.forEach((variableName) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"globals.cjs","sources":["../../../../../../../src/modules/globals/views/store/globals.js"],"sourcesContent":["// Vue modules\nimport { Preferences } from '@capacitor/preferences';\nimport { reactive } from 'vue';\n\n// import i18n from \"@/localization.js\";\n\n// State\nconst state = reactive({\n loading: false,\n\n isOpenLocationPopup: false,\n isOpenSidebar: false,\n\n position: null,\n search: null,\n\n theme: {\n darkmode: false,\n },\n\n navigation_bar: {\n name: null,\n actions: null,\n },\n\n error: {\n status: '',\n headers: '',\n data: '',\n show: false,\n name: '',\n message: '',\n },\n snack: {\n show: false,\n type: 'notification',\n message: '',\n duration: 3000\n }\n});\n\n// Actions\nconst actions = {\n setLoading(status) {\n state.loading = status;\n },\n\n // Black/White Theme\n async setTheme(isDarkMode) {\n let root = document.querySelector(':root');\n\n state.theme.darkmode = isDarkMode;\n\n await Preferences.set({\n key: 'darkmode',\n value: JSON.stringify(state.theme.darkmode),\n });\n\n if (isDarkMode) {\n root.classList.add('dark-theme');\n } else {\n root.classList.remove('dark-theme');\n }\n\n const variableNames = ['--white', '--light', '--grey', '--dark', '--black'];\n\n // Проверяем, сохранены ли оригинальные цвета\n if (!state.theme.originalColors) {\n // Сохраняем оригинальные цвета\n state.theme.originalColors = {};\n variableNames.forEach(variableName => {\n const currentColor = getComputedStyle(document.documentElement).getPropertyValue(variableName).trim();\n state.theme.originalColors[variableName] = currentColor;\n });\n }\n\n if (isDarkMode) {\n invertColors(variableNames, state.theme.originalColors);\n } else {\n // Восстанавливаем оригинальные цвета\n variableNames.forEach(variableName => {\n document.documentElement.style.setProperty(variableName, state.theme.originalColors[variableName]);\n });\n }\n },\n\n toggleTheme() {\n this.setTheme(!state.theme.darkmode);\n },\n\n add(array, item) {\n const existingItemIndex = array.findIndex(i => i._id === item._id);\n\n if (existingItemIndex === -1) {\n array.push(item);\n } else {\n array[existingItemIndex] = item;\n }\n },\n\n update(array, item) {\n const existingItemIndex = array.findIndex(i => i._id === item._id);\n if (existingItemIndex === -1) {\n // If the item doesn't exist, push it to the array\n array.push(item);\n } else {\n // Update the item in the array without creating a new array\n Object.assign(array[existingItemIndex], item);\n }\n },\n\n delete(array, item) {\n const existingItemIndex = array.findIndex(c => c._id === item._id);\n\n if (existingItemIndex !== -1) {\n array.splice(existingItemIndex, 1);\n }\n },\n\n increment(array, item) {\n console.log(array);\n console.log(item);\n const arrayItem = array.find(i => i._id === item._id);\n\n if (arrayItem) {\n arrayItem.quantity++;\n }\n },\n\n decrement(array, item) {\n const arrayItem = array.find(i => i._id === item._id);\n\n const arrayItemIndex = array.indexOf(arrayItem);\n\n if (arrayItemIndex > -1) {\n arrayItem.quantity--;\n\n if (arrayItem.quantity < 1) array.splice(arrayItemIndex, 1);\n }\n },\n\n reset(array) {\n array = [];\n },\n};\n\n// Mutations\nfunction setError(error) {\n state.error.show = true;\n let errorData;\n\n errorData = error;\n\n // Обработка ошибок из fetch API (Store class)\n if (error?.info) errorData = error.info;\n \n // Обработка ошибок из axios\n if (error?.response?.data) errorData = error.response.data;\n\n // Обработка ошибок верификации\n if (errorData?.error === 'VALIDATION_ERROR' && errorData?.errors) {\n // Собираем все сообщения об ошибках в одну строку\n const errorMessages = [];\n for (const field in errorData.errors) {\n const fieldErrors = errorData.errors[field];\n if (Array.isArray(fieldErrors)) {\n errorMessages.push(...fieldErrors);\n } else if (typeof fieldErrors === 'string') {\n errorMessages.push(fieldErrors);\n }\n }\n state.error.message = errorMessages.join(', ') || 'Validation error';\n } else if (error && errorData.errorCode) {\n // state.error.message = i18n.global.t(`errors.${errorData.errorCode}`);\n state.error.message = errorData.errorCode;\n } else {\n state.error.message = errorData.message || error.message || 'Unknown error';\n }\n\n state.error.show = true;\n\n setTimeout(() => (state.error.show = false), 3000);\n}\n\nfunction setSnack(data) {\n // Handle different input formats\n let type = 'notification'\n let message = ''\n let duration = 3000\n\n if (typeof data === 'string') {\n message = data\n } else if (data instanceof Error) {\n type = 'error'\n message = data.message\n } else if (data?.response?.data) {\n // Handle API errors\n type = 'error'\n const errorData = data.response.data\n message = errorData.errorCode || errorData.message || 'Unknown error'\n } else if (typeof data === 'object') {\n type = data.type || 'notification'\n message = data.message || ''\n duration = data.duration || 3000\n }\n\n // Update state\n state.snack = {\n show: true,\n type,\n message,\n duration\n }\n\n // Auto-hide\n setTimeout(() => {\n state.snack.show = false\n }, duration)\n}\n\nfunction invertColors(variableNames, originalColors) {\n variableNames.forEach(variableName => {\n const baseColor = originalColors[variableName];\n const colorArray = baseColor.split(',').map(Number);\n\n let invertedColor;\n\n if (variableName === '--white') {\n invertedColor = colorArray.map(value => 255 - value / 1.075);\n } else if (variableName === '--black') {\n invertedColor = colorArray.map(value => 255 - value);\n } else if (variableName === '--grey') {\n invertedColor = colorArray.map(value => 255 - value * 2);\n } else {\n invertedColor = colorArray.map(value => 255 - value / 1.075);\n }\n // Устанавливаем новые значения переменных CSS\n document.documentElement.style.setProperty(variableName, state.theme.darkmode ? invertedColor.join(', ') : baseColor);\n });\n}\n\nexport { actions, setError, setSnack, state };\n"],"names":["reactive","Preferences"],"mappings":";;;;AAOK,MAAC,QAAQA,IAAAA,SAAS;AAAA,EACrB,SAAS;AAAA,EAET,qBAAqB;AAAA,EACrB,eAAe;AAAA,EAEf,UAAU;AAAA,EACV,QAAQ;AAAA,EAER,OAAO;AAAA,IACL,UAAU;AAAA,EACd;AAAA,EAEE,gBAAgB;AAAA,IACd,MAAM;AAAA,IACN,SAAS;AAAA,EACb;AAAA,EAEE,OAAO;AAAA,IACL,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,IACN,SAAS;AAAA,EACb;AAAA,EACE,OAAO;AAAA,IACL,MAAM;AAAA,IACN,MAAM;AAAA,IACN,SAAS;AAAA,IACT,UAAU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sBAAgB,WAAW,IAAI,WAAS,MAAM,KAAK;AAAA,IACrD,WAAW,iBAAiB,UAAU;AACpC,sBAAgB,WAAW,IAAI,WAAS,MAAM,QAAQ,CAAC;AAAA,IACzD,OAAO;AACL,sBAAgB,WAAW,IAAI,WAAS,MAAM,QAAQ,KAAK;AAAA,IAC7D;AAEA,aAAS,gBAAgB,MAAM,YAAY,cAAc,MAAM,MAAM,WAAW,cAAc,KAAK,IAAI,IAAI,SAAS;AAAA,EACtH,CAAC;AACH;;;;;"}
|
|
1
|
+
{"version":3,"file":"globals.cjs","sources":["../../../../../../../src/modules/globals/views/store/globals.js"],"sourcesContent":["// Vue modules\nimport { Preferences } from '@capacitor/preferences';\nimport { reactive } from 'vue';\n\n// import i18n from \"@/localization.js\";\n\n// State\nconst state = reactive({\n loading: false,\n\n isOpenLocationPopup: false,\n isOpenSidebar: false,\n\n position: null,\n search: null,\n\n theme: {\n darkmode: false,\n },\n\n navigation_bar: {\n name: null,\n actions: null,\n },\n\n error: {\n status: '',\n headers: '',\n data: '',\n show: false,\n name: '',\n message: '',\n },\n snack: {\n show: false,\n type: 'notification',\n message: '',\n duration: 3000\n }\n});\n\n// Actions\nconst actions = {\n setLoading(status) {\n state.loading = status;\n },\n\n // Black/White Theme\n async setTheme(isDarkMode) {\n // Cache root element\n if (!state.theme.rootElement) {\n state.theme.rootElement = document.documentElement;\n }\n const root = state.theme.rootElement;\n\n state.theme.darkmode = isDarkMode;\n\n await Preferences.set({\n key: 'darkmode',\n value: JSON.stringify(state.theme.darkmode),\n });\n\n if (isDarkMode) {\n root.classList.add('dark-theme');\n } else {\n root.classList.remove('dark-theme');\n }\n\n const variableNames = ['--white', '--light', '--grey', '--dark', '--black'];\n\n // Проверяем, сохранены ли оригинальные цвета\n if (!state.theme.originalColors) {\n // Сохраняем оригинальные цвета один раз\n state.theme.originalColors = {};\n const computedStyle = getComputedStyle(root);\n variableNames.forEach(variableName => {\n state.theme.originalColors[variableName] = computedStyle.getPropertyValue(variableName).trim();\n });\n }\n\n if (isDarkMode) {\n invertColors(variableNames, state.theme.originalColors);\n } else {\n // Восстанавливаем оригинальные цвета батчем\n variableNames.forEach(variableName => {\n root.style.setProperty(variableName, state.theme.originalColors[variableName]);\n });\n }\n },\n\n toggleTheme() {\n this.setTheme(!state.theme.darkmode);\n },\n\n add(array, item) {\n const existingItemIndex = array.findIndex(i => i._id === item._id);\n\n if (existingItemIndex === -1) {\n array.push(item);\n } else {\n array[existingItemIndex] = item;\n }\n },\n\n update(array, item) {\n const existingItemIndex = array.findIndex(i => i._id === item._id);\n if (existingItemIndex === -1) {\n // If the item doesn't exist, push it to the array\n array.push(item);\n } else {\n // Update the item in the array without creating a new array\n Object.assign(array[existingItemIndex], item);\n }\n },\n\n delete(array, item) {\n const existingItemIndex = array.findIndex(c => c._id === item._id);\n\n if (existingItemIndex !== -1) {\n array.splice(existingItemIndex, 1);\n }\n },\n\n increment(array, item) {\n console.log(array);\n console.log(item);\n const arrayItem = array.find(i => i._id === item._id);\n\n if (arrayItem) {\n arrayItem.quantity++;\n }\n },\n\n decrement(array, item) {\n const arrayItem = array.find(i => i._id === item._id);\n\n const arrayItemIndex = array.indexOf(arrayItem);\n\n if (arrayItemIndex > -1) {\n arrayItem.quantity--;\n\n if (arrayItem.quantity < 1) array.splice(arrayItemIndex, 1);\n }\n },\n\n reset(array) {\n array = [];\n },\n};\n\n// Mutations\nfunction setError(error) {\n state.error.show = true;\n let errorData;\n\n errorData = error;\n\n // Обработка ошибок из fetch API (Store class)\n if (error?.info) errorData = error.info;\n \n // Обработка ошибок из axios\n if (error?.response?.data) errorData = error.response.data;\n\n // Обработка ошибок верификации\n if (errorData?.error === 'VALIDATION_ERROR' && errorData?.errors) {\n // Собираем все сообщения об ошибках в одну строку\n const errorMessages = [];\n for (const field in errorData.errors) {\n const fieldErrors = errorData.errors[field];\n if (Array.isArray(fieldErrors)) {\n errorMessages.push(...fieldErrors);\n } else if (typeof fieldErrors === 'string') {\n errorMessages.push(fieldErrors);\n }\n }\n state.error.message = errorMessages.join(', ') || 'Validation error';\n } else if (error && errorData.errorCode) {\n // state.error.message = i18n.global.t(`errors.${errorData.errorCode}`);\n state.error.message = errorData.errorCode;\n } else {\n state.error.message = errorData.message || error.message || 'Unknown error';\n }\n\n state.error.show = true;\n\n requestAnimationFrame(() => {\n setTimeout(() => (state.error.show = false), 5000);\n });\n}\n\nfunction setSnack(data) {\n // Handle different input formats\n let type = 'notification'\n let message = ''\n let duration = 3000\n\n if (typeof data === 'string') {\n message = data\n } else if (data instanceof Error) {\n type = 'error'\n message = data.message\n } else if (data?.response?.data) {\n // Handle API errors\n type = 'error'\n const errorData = data.response.data\n message = errorData.errorCode || errorData.message || 'Unknown error'\n } else if (typeof data === 'object') {\n type = data.type || 'notification'\n message = data.message || ''\n duration = data.duration || 3000\n }\n\n // Update state\n state.snack = {\n show: true,\n type,\n message,\n duration\n }\n\n // Auto-hide\n requestAnimationFrame(() => {\n setTimeout(() => {state.snack.show = false }, duration)\n });\n \n}\n\nfunction invertColors(variableNames, originalColors) {\n variableNames.forEach(variableName => {\n const baseColor = originalColors[variableName];\n const colorArray = baseColor.split(',').map(Number);\n\n let invertedColor;\n\n if (variableName === '--white') {\n invertedColor = colorArray.map(value => 255 - value / 1.075);\n } else if (variableName === '--black') {\n invertedColor = colorArray.map(value => 255 - value);\n } else if (variableName === '--grey') {\n invertedColor = colorArray.map(value => 255 - value * 2);\n } else {\n invertedColor = colorArray.map(value => 255 - value / 1.075);\n }\n // Устанавливаем новые значения переменных CSS\n document.documentElement.style.setProperty(variableName, state.theme.darkmode ? invertedColor.join(', ') : baseColor);\n });\n}\n\nexport { actions, setError, setSnack, state };\n"],"names":["reactive","Preferences"],"mappings":";;;;AAOK,MAAC,QAAQA,IAAAA,SAAS;AAAA,EACrB,SAAS;AAAA,EAET,qBAAqB;AAAA,EACrB,eAAe;AAAA,EAEf,UAAU;AAAA,EACV,QAAQ;AAAA,EAER,OAAO;AAAA,IACL,UAAU;AAAA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