@ozdao/martyrs 0.2.542 → 0.2.544
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/builder.cjs +10 -2
- package/dist/builder.js +10 -2
- package/dist/{main-Czyu-VcC.cjs → main-8f945Ngn.cjs} +7 -7
- package/dist/{main-ByKkD9qa.js → main-d9n_ibdE.js} +2621 -2622
- package/dist/martyrs/src/components/Dropdown/{Dropdown.vue2.cjs → Dropdown.vue.cjs} +2 -2
- package/dist/martyrs/src/components/Dropdown/{Dropdown.vue2.js.map → Dropdown.vue.cjs.map} +1 -1
- package/dist/martyrs/src/components/Dropdown/{Dropdown.vue2.js → Dropdown.vue.js} +2 -2
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue.js.map +1 -0
- package/dist/martyrs/src/components/Feed/Carousel.vue.cjs +4 -2
- package/dist/martyrs/src/components/Feed/Carousel.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/Feed/Carousel.vue.js +5 -3
- package/dist/martyrs/src/components/Feed/Carousel.vue.js.map +1 -1
- package/dist/martyrs/src/components/Feed/{Feed.vue.cjs → Feed.vue2.cjs} +7 -5
- package/dist/martyrs/src/components/Feed/Feed.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/Feed/{Feed.vue.js → Feed.vue2.js} +7 -5
- package/dist/martyrs/src/components/Feed/Feed.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Field/{Field.vue.cjs → Field.vue2.cjs} +2 -2
- package/dist/martyrs/src/components/Field/Field.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/Field/{Field.vue.js → Field.vue2.js} +2 -2
- package/dist/martyrs/src/components/Field/{Field.vue.cjs.map → Field.vue2.js.map} +1 -1
- package/dist/martyrs/src/components/FieldBig/FieldBig.vue.cjs +1 -1
- package/dist/martyrs/src/components/FieldBig/FieldBig.vue.js +1 -1
- package/dist/martyrs/src/components/FieldTags/{BlockTags.vue.cjs → BlockTags.vue2.cjs} +2 -2
- package/dist/martyrs/src/components/FieldTags/BlockTags.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/FieldTags/{BlockTags.vue.js → BlockTags.vue2.js} +2 -2
- package/dist/martyrs/src/components/FieldTags/{BlockTags.vue.cjs.map → BlockTags.vue2.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/Tab/Tab.vue2.cjs +3 -1
- package/dist/martyrs/src/components/Tab/Tab.vue2.cjs.map +1 -1
- package/dist/martyrs/src/components/Tab/Tab.vue2.js +4 -2
- package/dist/martyrs/src/components/Tab/Tab.vue2.js.map +1 -1
- package/dist/martyrs/src/components/UploadImage/{UploadImage.vue.cjs → UploadImage.vue2.cjs} +7 -7
- package/dist/martyrs/src/components/UploadImage/UploadImage.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/UploadImage/{UploadImage.vue.js → UploadImage.vue2.js} +7 -7
- package/dist/martyrs/src/components/UploadImage/UploadImage.vue2.js.map +1 -0
- package/dist/martyrs/src/modules/auth/views/components/pages/EnterCode.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/EnterCode.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs +3 -3
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +3 -3
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.cjs +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.js +1 -1
- package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
- package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.cjs +2 -7
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js +2 -7
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/blocks/FooterBlogpost.vue.cjs +2 -13
- package/dist/martyrs/src/modules/community/components/blocks/FooterBlogpost.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/community/components/blocks/FooterBlogpost.vue.js +2 -13
- package/dist/martyrs/src/modules/community/components/blocks/FooterBlogpost.vue.js.map +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/Blog.vue.cjs +1 -1
- package/dist/martyrs/src/modules/community/components/pages/Blog.vue.js +1 -1
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.cjs +3 -3
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +3 -3
- package/dist/martyrs/src/modules/community/components/pages/Posts.vue.cjs +1 -1
- package/dist/martyrs/src/modules/community/components/pages/Posts.vue.js +1 -1
- package/dist/martyrs/src/modules/constructor/components/elements/Card.vue.cjs +2 -2
- package/dist/martyrs/src/modules/constructor/components/elements/Card.vue.js +2 -2
- package/dist/martyrs/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
- package/dist/martyrs/src/modules/constructor/components/elements/Embed.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.cjs +4 -4
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +4 -4
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.cjs +2 -2
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +2 -2
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.cjs +7 -5
- 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 +7 -5
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/Events.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/pages/Events.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EventsSearch.vue.cjs +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EventsSearch.vue.js +1 -1
- package/dist/martyrs/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
- package/dist/martyrs/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +3 -3
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
- package/dist/martyrs/src/modules/globals/views/classes/globals.app.cjs +38 -30
- package/dist/martyrs/src/modules/globals/views/classes/globals.app.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/classes/globals.app.js +39 -31
- package/dist/martyrs/src/modules/globals/views/classes/globals.app.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/BlockMultiselect.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/BlockMultiselect.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/BlockSearch.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/BlockSearch.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.cjs +3 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.js +3 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.js.map +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/Filters.vue2.cjs +7 -7
- package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.js +8 -8
- package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/plugins/alert.plugin.cjs +1 -0
- 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 +1 -0
- package/dist/martyrs/src/modules/globals/views/plugins/alert.plugin.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/utils/vue-app-renderer.cjs +21 -1
- 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 +21 -1
- 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.js +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 -3
- package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.js +2 -2
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.cjs +3 -3
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +3 -3
- package/dist/martyrs/src/modules/landing/components/sections/SectionGuide.vue.cjs +2 -2
- package/dist/martyrs/src/modules/landing/components/sections/SectionGuide.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionGuide.vue.js +2 -2
- package/dist/martyrs/src/modules/landing/components/sections/SectionGuide.vue.js.map +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.cjs +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.js +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/pages/Catalog.vue.cjs +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/pages/Catalog.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.cjs +2 -2
- package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.cjs +2 -2
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.cjs +2 -2
- package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.cjs +2 -2
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.cjs +2 -2
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/pages/MusicHome.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/pages/MusicHome.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.cjs +1 -1
- package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.cjs +2 -2
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.cjs +2 -2
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +7 -5
- 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 +8 -6
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.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/forms/FormSelectCustomer.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +5 -3
- 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 +5 -3
- 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 +4 -4
- 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 +4 -4
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.cjs +8 -6
- package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js +8 -6
- package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/partials/ShopCart.vue.cjs +3 -1
- package/dist/martyrs/src/modules/orders/components/partials/ShopCart.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/orders/components/partials/ShopCart.vue.js +3 -1
- package/dist/martyrs/src/modules/orders/components/partials/ShopCart.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs +3 -3
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +3 -3
- package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +7 -7
- package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.js +7 -7
- package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.cjs +3 -3
- package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js +3 -3
- package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.cjs +7 -7
- package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.js +7 -7
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs +7 -7
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +7 -7
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs +6 -6
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +6 -6
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +3 -3
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +3 -3
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.cjs +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/router/organizations.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/router/organizations.js +1 -1
- package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.cjs +1 -1
- package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.js +1 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardCategory.vue.cjs +11 -5
- package/dist/martyrs/src/modules/products/components/blocks/CardCategory.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardCategory.vue.js +12 -6
- package/dist/martyrs/src/modules/products/components/blocks/CardCategory.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.cjs +4 -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 +5 -3
- package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/elements/Price.vue.cjs +4 -2
- package/dist/martyrs/src/modules/products/components/elements/Price.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/elements/Price.vue.js +5 -3
- package/dist/martyrs/src/modules/products/components/elements/Price.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/elements/{THC.vue.cjs → THC.vue2.cjs} +2 -2
- package/dist/martyrs/src/modules/products/components/elements/THC.vue2.cjs.map +1 -0
- package/dist/martyrs/src/modules/products/components/elements/{THC.vue.js → THC.vue2.js} +2 -2
- package/dist/martyrs/src/modules/products/components/elements/THC.vue2.js.map +1 -0
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.cjs +5 -2
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +5 -2
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs +4 -4
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +4 -4
- 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 +8 -8
- 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 +8 -8
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js +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 +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditIngredients.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.cjs +5 -3
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +5 -3
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +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/Rents.vue.cjs +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.js +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.cjs +2 -2
- package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js +2 -2
- 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 +2 -2
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js +2 -2
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.cjs +2 -2
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +2 -2
- package/dist/martyrs/src/modules/spots/components/pages/Spots.vue.cjs +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/Spots.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/CardDeposit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CardDeposit.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/Payments.vue.cjs +1 -1
- package/dist/martyrs/src/modules/wallet/views/components/pages/Payments.vue.js +1 -1
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js +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/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/style.css +23 -23
- package/dist/{web-BklgIiYr.js → web-BkaOiiSn.js} +1 -1
- package/dist/{web-CQBm7C6L.cjs → web-CROHFHoW.cjs} +1 -1
- package/package.json +1 -1
- package/src/builder/modes/ssr.prod.js +2 -0
- package/src/builder/modes/ssr.rspack.dev.js +2 -0
- package/src/builder/templates/page.js +4 -0
- package/src/builder/templates/screen.js +4 -0
- package/src/components/Feed/Carousel.vue +3 -0
- package/src/components/Feed/Feed.vue +3 -0
- package/src/components/Tab/Tab.vue +2 -0
- package/src/components/UploadImage/UploadImage.vue +4 -4
- package/src/modules/community/components/blocks/CardBlogpost.vue +2 -7
- package/src/modules/community/components/blocks/FooterBlogpost.vue +2 -13
- package/src/modules/events/components/pages/Event.vue +2 -0
- package/src/modules/globals/TASK.MD +105 -1
- package/src/modules/globals/views/classes/globals.app.js +76 -48
- package/src/modules/globals/views/components/blocks/PopupDateSelector.vue +2 -0
- package/src/modules/globals/views/components/sections/Filters.vue +1 -1
- package/src/modules/globals/views/plugins/alert.plugin.js +1 -0
- package/src/modules/globals/views/utils/vue-app-renderer.js +25 -1
- package/src/modules/landing/components/sections/SectionGuide.vue +2 -2
- package/src/modules/orders/components/blocks/CardOrderItem.vue +2 -0
- package/src/modules/orders/components/blocks/CardOrderVar1.vue +12 -1
- package/src/modules/orders/components/pages/OrderBackoffice.vue +2 -0
- package/src/modules/orders/components/pages/OrderCreateBackoffice.vue +1 -1
- package/src/modules/orders/components/pages/Orders.vue +2 -0
- package/src/modules/orders/components/partials/ShopCart.vue +2 -0
- package/src/modules/products/components/blocks/CardCategory.vue +6 -0
- package/src/modules/products/components/blocks/ProductDiscounts.vue +3 -0
- package/src/modules/products/components/elements/Price.vue +3 -0
- package/src/modules/products/components/pages/Categories.vue +4 -1
- package/src/modules/products/components/pages/Products.vue +1 -1
- package/src/modules/products/components/sections/EditVariants.vue +2 -0
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/Feed/Feed.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Feed/Feed.vue.js.map +0 -1
- package/dist/martyrs/src/components/Field/Field.vue.js.map +0 -1
- package/dist/martyrs/src/components/FieldTags/BlockTags.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/UploadImage/UploadImage.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/UploadImage/UploadImage.vue.js.map +0 -1
- package/dist/martyrs/src/modules/products/components/elements/THC.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/elements/THC.vue.js.map +0 -1
package/dist/martyrs.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as e, a as o, b as d, C as r, k as t, c as l, d as i, e as p, f as u, g as n, h as M, i as S, j as c, F as m, l as C, n as F, o as g, p as h, L as b, q as k, M as x, r as B, I, s as T, t as U, u as f, v as w, S as D, w as E, x as L, y as P, z as q, A as y, B as A, D as G, E as j, U as v, G as z, H, m as R } from "./main-
|
|
1
|
+
import { _ as e, a as o, b as d, C as r, k as t, c as l, d as i, e as p, f as u, g as n, h as M, i as S, j as c, F as m, l as C, n as F, o as g, p as h, L as b, q as k, M as x, r as B, I, s as T, t as U, u as f, v as w, S as D, w as E, x as L, y as P, z as q, A as y, B as A, D as G, E as j, U as v, G as z, H, m as R } from "./main-d9n_ibdE.js";
|
|
2
2
|
export {
|
|
3
3
|
e as Address,
|
|
4
4
|
o as Breadcrumbs,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const utils = require("../../../../../../../_virtual/
|
|
3
|
+
const utils = require("../../../../../../../_virtual/utils.cjs");
|
|
4
4
|
var hasRequiredUtils;
|
|
5
5
|
function requireUtils() {
|
|
6
6
|
if (hasRequiredUtils) return utils.__exports;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const utils = require("../../../../../../../_virtual/
|
|
3
|
+
const utils = require("../../../../../../../_virtual/utils2.cjs");
|
|
4
4
|
var hasRequiredUtils;
|
|
5
5
|
function requireUtils() {
|
|
6
6
|
if (hasRequiredUtils) return utils.__exports;
|
package/dist/style.css
CHANGED
|
@@ -795,7 +795,7 @@ button[data-v-2ba40647]:disabled {
|
|
|
795
795
|
background: white;
|
|
796
796
|
}
|
|
797
797
|
|
|
798
|
-
.filters-content[data-v-
|
|
798
|
+
.filters-content[data-v-d582f4fc] {
|
|
799
799
|
max-height: 60vh;
|
|
800
800
|
overflow-y: auto;
|
|
801
801
|
}
|
|
@@ -938,16 +938,16 @@ button[data-v-2ba40647]:disabled {
|
|
|
938
938
|
height: 100% !important;
|
|
939
939
|
position: relative !important;
|
|
940
940
|
}
|
|
941
|
-
.image-upload-area[data-v-
|
|
941
|
+
.image-upload-area[data-v-26da6988] {
|
|
942
942
|
overflow: hidden;
|
|
943
943
|
transition: all 0.3s ease;
|
|
944
944
|
}
|
|
945
|
-
.image-upload-area[data-v-
|
|
945
|
+
.image-upload-area[data-v-26da6988]:hover {
|
|
946
946
|
opacity: 0.95;
|
|
947
947
|
}
|
|
948
948
|
|
|
949
949
|
/* Hover controls */
|
|
950
|
-
.hover-controls[data-v-
|
|
950
|
+
.hover-controls[data-v-26da6988] {
|
|
951
951
|
top: 0;
|
|
952
952
|
left: 0;
|
|
953
953
|
background: rgba(0, 0, 0, 0.7);
|
|
@@ -955,25 +955,25 @@ button[data-v-2ba40647]:disabled {
|
|
|
955
955
|
transition: opacity 0.3s ease;
|
|
956
956
|
pointer-events: none;
|
|
957
957
|
}
|
|
958
|
-
.image-upload-area:hover .hover-controls[data-v-
|
|
958
|
+
.image-upload-area:hover .hover-controls[data-v-26da6988] {
|
|
959
959
|
opacity: 1;
|
|
960
960
|
pointer-events: all;
|
|
961
961
|
}
|
|
962
|
-
.hover-upload-icon[data-v-
|
|
963
|
-
animation: pulse-
|
|
962
|
+
.hover-upload-icon[data-v-26da6988] {
|
|
963
|
+
animation: pulse-26da6988 1.5s infinite;
|
|
964
964
|
}
|
|
965
|
-
.hover-button[data-v-
|
|
965
|
+
.hover-button[data-v-26da6988] {
|
|
966
966
|
transition: transform 0.2s ease, background-color 0.2s ease;
|
|
967
967
|
}
|
|
968
|
-
.hover-button[data-v-
|
|
968
|
+
.hover-button[data-v-26da6988]:hover {
|
|
969
969
|
transform: scale(1.1);
|
|
970
970
|
}
|
|
971
|
-
.hover-button[data-v-
|
|
971
|
+
.hover-button[data-v-26da6988]:active {
|
|
972
972
|
transform: scale(0.95);
|
|
973
973
|
}
|
|
974
974
|
|
|
975
975
|
/* Loading overlay */
|
|
976
|
-
.loading-overlay[data-v-
|
|
976
|
+
.loading-overlay[data-v-26da6988] {
|
|
977
977
|
top: 0;
|
|
978
978
|
left: 0;
|
|
979
979
|
background: rgba(255, 255, 255, 0.9);
|
|
@@ -981,7 +981,7 @@ button[data-v-2ba40647]:disabled {
|
|
|
981
981
|
}
|
|
982
982
|
|
|
983
983
|
/* Animations */
|
|
984
|
-
@keyframes pulse-
|
|
984
|
+
@keyframes pulse-26da6988 {
|
|
985
985
|
0% {
|
|
986
986
|
transform: scale(1);
|
|
987
987
|
opacity: 1;
|
|
@@ -997,10 +997,10 @@ button[data-v-2ba40647]:disabled {
|
|
|
997
997
|
}
|
|
998
998
|
|
|
999
999
|
/* Upload icon in empty state */
|
|
1000
|
-
.upload-icon[data-v-
|
|
1000
|
+
.upload-icon[data-v-26da6988] {
|
|
1001
1001
|
transition: transform 0.3s ease;
|
|
1002
1002
|
}
|
|
1003
|
-
.image-upload-area:hover .upload-icon[data-v-
|
|
1003
|
+
.image-upload-area:hover .upload-icon[data-v-26da6988] {
|
|
1004
1004
|
transform: scale(1.1);
|
|
1005
1005
|
}
|
|
1006
1006
|
.editable-div {
|
|
@@ -1136,12 +1136,12 @@ button[data-v-2ba40647]:disabled {
|
|
|
1136
1136
|
font-size: .85em;
|
|
1137
1137
|
}
|
|
1138
1138
|
|
|
1139
|
-
.fade-enter-active[data-v-
|
|
1140
|
-
.fade-leave-active[data-v-
|
|
1139
|
+
.fade-enter-active[data-v-92c9eb06],
|
|
1140
|
+
.fade-leave-active[data-v-92c9eb06] {
|
|
1141
1141
|
transition: opacity 0.3s ease;
|
|
1142
1142
|
}
|
|
1143
|
-
.fade-enter-from[data-v-
|
|
1144
|
-
.fade-leave-to[data-v-
|
|
1143
|
+
.fade-enter-from[data-v-92c9eb06],
|
|
1144
|
+
.fade-leave-to[data-v-92c9eb06] {
|
|
1145
1145
|
opacity: 0;
|
|
1146
1146
|
}
|
|
1147
1147
|
.slider-hotpost :deep(.carousel__slide) {
|
|
@@ -2537,10 +2537,10 @@ to { opacity: 1; transform: translateY(0);
|
|
|
2537
2537
|
min-width: 0;
|
|
2538
2538
|
}
|
|
2539
2539
|
}
|
|
2540
|
-
.discount-card[data-v-
|
|
2540
|
+
.discount-card[data-v-e985863b] {
|
|
2541
2541
|
transition: all 0.2s ease;
|
|
2542
2542
|
}
|
|
2543
|
-
.discount-card[data-v-
|
|
2543
|
+
.discount-card[data-v-e985863b]:hover {
|
|
2544
2544
|
border-color: rgb(var(--main));
|
|
2545
2545
|
}
|
|
2546
2546
|
|
|
@@ -3464,10 +3464,10 @@ html.barcode-scanner-active-html {
|
|
|
3464
3464
|
.order-card .block {
|
|
3465
3465
|
border-radius: 0;
|
|
3466
3466
|
border: 0;
|
|
3467
|
-
}.blink[data-v-
|
|
3468
|
-
animation: blink-animation-
|
|
3467
|
+
}.blink[data-v-895f54da] {
|
|
3468
|
+
animation: blink-animation-895f54da 1s ease infinite;
|
|
3469
3469
|
}
|
|
3470
|
-
@keyframes blink-animation-
|
|
3470
|
+
@keyframes blink-animation-895f54da {
|
|
3471
3471
|
0%, 100% {
|
|
3472
3472
|
opacity: 1;
|
|
3473
3473
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./main-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./main-8f945Ngn.cjs");class p extends c.WebPlugin{constructor(){super(...arguments),this.group="CapacitorStorage"}async configure({group:e}){typeof e=="string"&&(this.group=e)}async get(e){return{value:this.impl.getItem(this.applyPrefix(e.key))}}async set(e){this.impl.setItem(this.applyPrefix(e.key),e.value)}async remove(e){this.impl.removeItem(this.applyPrefix(e.key))}async keys(){return{keys:this.rawKeys().map(t=>t.substring(this.prefix.length))}}async clear(){for(const e of this.rawKeys())this.impl.removeItem(e)}async migrate(){var e;const t=[],s=[],n="_cap_",o=Object.keys(this.impl).filter(i=>i.indexOf(n)===0);for(const i of o){const r=i.substring(n.length),a=(e=this.impl.getItem(i))!==null&&e!==void 0?e:"",{value:l}=await this.get({key:r});typeof l=="string"?s.push(r):(await this.set({key:r,value:a}),t.push(r))}return{migrated:t,existing:s}}async removeOld(){const e="_cap_",t=Object.keys(this.impl).filter(s=>s.indexOf(e)===0);for(const s of t)this.impl.removeItem(s)}get impl(){return window.localStorage}get prefix(){return this.group==="NativeStorage"?"":`${this.group}.`}rawKeys(){return Object.keys(this.impl).filter(e=>e.indexOf(this.prefix)===0)}applyPrefix(e){return this.prefix+e}}exports.PreferencesWeb=p;
|
package/package.json
CHANGED
|
@@ -42,6 +42,7 @@ export default function createSsrProdServer(projectRoot, configs, createServer)
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
const initialState = JSON.stringify(state);
|
|
45
|
+
const loadedModulesJson = JSON.stringify(loadedModules || []);
|
|
45
46
|
|
|
46
47
|
// Используем loadedModules если они есть, иначе usedModules
|
|
47
48
|
const modulesToLoad = loadedModules || usedModules || [];
|
|
@@ -55,6 +56,7 @@ export default function createSsrProdServer(projectRoot, configs, createServer)
|
|
|
55
56
|
head,
|
|
56
57
|
body,
|
|
57
58
|
initialState,
|
|
59
|
+
loadedModulesJson,
|
|
58
60
|
});
|
|
59
61
|
|
|
60
62
|
// Обрабатываем HTML через Beasties для извлечения критического CSS
|
|
@@ -120,6 +120,7 @@ export default function createSsrDevServer(projectRoot, configs, createServer) {
|
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
const initialState = JSON.stringify(state);
|
|
123
|
+
const loadedModulesJson = JSON.stringify(loadedModules || []);
|
|
123
124
|
|
|
124
125
|
let completeHtml = await renderHtml({
|
|
125
126
|
appHtml: html,
|
|
@@ -127,6 +128,7 @@ export default function createSsrDevServer(projectRoot, configs, createServer) {
|
|
|
127
128
|
head,
|
|
128
129
|
body,
|
|
129
130
|
initialState,
|
|
131
|
+
loadedModulesJson,
|
|
130
132
|
});
|
|
131
133
|
|
|
132
134
|
// Обрабатываем HTML через Beasties для извлечения критического CSS
|
|
@@ -31,6 +31,10 @@ export default `
|
|
|
31
31
|
{{{ initialState }}}
|
|
32
32
|
</script>
|
|
33
33
|
|
|
34
|
+
<script type="application/json" data-loaded-modules>
|
|
35
|
+
{{{ loadedModulesJson }}}
|
|
36
|
+
</script>
|
|
37
|
+
|
|
34
38
|
<script>
|
|
35
39
|
window.dataLayer = window.dataLayer || [];
|
|
36
40
|
function gtag(){dataLayer.push(arguments);}
|
|
@@ -34,10 +34,13 @@
|
|
|
34
34
|
<script setup>
|
|
35
35
|
import { ref, onMounted } from 'vue'
|
|
36
36
|
import { useI18n } from 'vue-i18n'
|
|
37
|
+
import { useGlobalMixins } from '@martyrs/src/modules/globals/views/mixins/mixins.js';
|
|
37
38
|
import Loader from '@martyrs/src/components/Loader/Loader.vue'
|
|
38
39
|
import Slider from '@martyrs/src/components/Slider/Slider.vue'
|
|
39
40
|
import EmptyState from '@martyrs/src/components/EmptyState/EmptyState.vue';
|
|
40
41
|
|
|
42
|
+
const { replaceClasses } = useGlobalMixins();
|
|
43
|
+
|
|
41
44
|
const props = defineProps({
|
|
42
45
|
showDots: Boolean,
|
|
43
46
|
store: Object,
|
|
@@ -166,6 +166,7 @@
|
|
|
166
166
|
|
|
167
167
|
<script setup>
|
|
168
168
|
import { ref, computed, onMounted, onUnmounted, watch } from 'vue';
|
|
169
|
+
import { useGlobalMixins } from '@martyrs/src/modules/globals/views/mixins/mixins.js';
|
|
169
170
|
|
|
170
171
|
import SkeletonEvent from '@martyrs/src/modules/icons/skeletons/SkeletonEvent.vue'
|
|
171
172
|
|
|
@@ -187,6 +188,8 @@ import ButtonDate from '@martyrs/src/modules/globals/views/components/elements/
|
|
|
187
188
|
import IconFilter from '@martyrs/src/modules/icons/navigation/IconFilter.vue'
|
|
188
189
|
import IconEvents from '@martyrs/src/modules/icons/entities/IconEvents.vue'
|
|
189
190
|
|
|
191
|
+
const { replaceClasses } = useGlobalMixins();
|
|
192
|
+
|
|
190
193
|
const search = defineModel('search')
|
|
191
194
|
const sort = defineModel('sort')
|
|
192
195
|
const filter = defineModel('filter')
|
|
@@ -18,7 +18,9 @@
|
|
|
18
18
|
|
|
19
19
|
<script setup>
|
|
20
20
|
import { ref, computed, watch } from 'vue'
|
|
21
|
+
import { useGlobalMixins } from '@martyrs/src/modules/globals/views/mixins/mixins.js';
|
|
21
22
|
|
|
23
|
+
const { replaceClasses } = useGlobalMixins();
|
|
22
24
|
const emit = defineEmits(['update:selected', 'tab-click']);
|
|
23
25
|
|
|
24
26
|
const props = defineProps({
|
|
@@ -4,21 +4,21 @@
|
|
|
4
4
|
@click="onComponentClick"
|
|
5
5
|
@drop="onDrop"
|
|
6
6
|
@dragover.prevent
|
|
7
|
-
class="pos-relative
|
|
7
|
+
class="pos-relative radius-small br-solid br-1px br-black-transp-10 h-100 aspect-1x1 flex-v-center flex-h-center flex cursor-pointer"
|
|
8
8
|
>
|
|
9
9
|
<img loading="lazy"
|
|
10
10
|
v-if="imageUrl || photo || previewUrl"
|
|
11
11
|
:src="previewUrl || (FILE_SERVER_URL || '') + (imageUrl || photo)"
|
|
12
12
|
alt="Uploaded image"
|
|
13
|
-
class="pos-absolute z-index-1 w-100 h-100 object-fit-cover"
|
|
13
|
+
class="pos-absolute radius-small o-hidden z-index-1 w-100 h-100 object-fit-cover"
|
|
14
14
|
/>
|
|
15
15
|
|
|
16
|
-
<div v-else class="flex-v-center z-index-2 flex-h-center flex w-100 h-100 bg-second" >
|
|
16
|
+
<div v-else class="flex-v-center pos-relative z-index-2 flex-h-center flex w-100 h-100 radius-small bg-second" >
|
|
17
17
|
<IconUpload class="i-medium upload-icon" fill="rgb(var(--white))" />
|
|
18
18
|
</div>
|
|
19
19
|
|
|
20
20
|
<!-- Hover controls -->
|
|
21
|
-
<div class="z-index-2 hover-controls pos-absolute w-100 h-100 flex-v-center flex-h-center flex">
|
|
21
|
+
<div class="z-index-2 pos-relative hover-controls pos-absolute w-100 h-100 flex-v-center flex-h-center flex">
|
|
22
22
|
<div v-if="!imageUrl && !photo && !previewUrl" class="hover-upload-icon">
|
|
23
23
|
<IconUpload class="i-medium" fill="rgb(var(--white))" />
|
|
24
24
|
</div>
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
:creator="blogpost.creator"
|
|
15
15
|
:date="blogpost.createdAt"
|
|
16
16
|
:actions="user && user === blogpost.creator.target._id ? [
|
|
17
|
-
{ to: {
|
|
17
|
+
{ to: `/community/posts/${blogpost.url}/edit`, label: 'Edit' }
|
|
18
18
|
]: null"
|
|
19
19
|
/>
|
|
20
20
|
|
|
@@ -30,12 +30,7 @@
|
|
|
30
30
|
:text="blogpost.name || ''"
|
|
31
31
|
:maxLen="80"
|
|
32
32
|
class="h3 d-block"
|
|
33
|
-
@click="router.push({
|
|
34
|
-
name: 'BlogPost',
|
|
35
|
-
params: {
|
|
36
|
-
url: blogpost.url
|
|
37
|
-
}
|
|
38
|
-
})"
|
|
33
|
+
@click="router.push(`/community/posts/${blogpost.url}`)"
|
|
39
34
|
/>
|
|
40
35
|
|
|
41
36
|
<div
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<footer class="t-semi br-top-dark flex-nowrap flex-nojustify flex">
|
|
3
|
-
<router-link :to="{
|
|
4
|
-
name: 'BlogPost',
|
|
5
|
-
params: {
|
|
6
|
-
url: blogpost.url
|
|
7
|
-
}
|
|
8
|
-
}"
|
|
3
|
+
<router-link :to="`/community/posts/${blogpost.url}`"
|
|
9
4
|
class="font-second cursor-pointer hover-bg-white pd-l-thin pd-r-thin radius-big">
|
|
10
5
|
👁️ {{blogpost.views}}
|
|
11
6
|
</router-link>
|
|
@@ -18,13 +13,7 @@
|
|
|
18
13
|
👍 {{reactionsCount }}
|
|
19
14
|
</div>
|
|
20
15
|
</div>
|
|
21
|
-
<router-link :to="{
|
|
22
|
-
name: 'BlogPost',
|
|
23
|
-
hash: '#comments',
|
|
24
|
-
params: {
|
|
25
|
-
url: blogpost.url
|
|
26
|
-
}
|
|
27
|
-
}"
|
|
16
|
+
<router-link :to="`/community/posts/${blogpost.url}#comments`"
|
|
28
17
|
class="font-second cursor-pointer hover-bg-white pd-l-thin pd-r-thin radius-big">
|
|
29
18
|
💬 {{ blogpost.numberOfComments }}
|
|
30
19
|
</router-link>
|
|
@@ -143,8 +143,10 @@ import * as tickets from '@martyrs/src/modules/events/store/tickets.js';
|
|
|
143
143
|
import * as auth from '@martyrs/src/modules/auth/views/store/auth.js';
|
|
144
144
|
|
|
145
145
|
import { useRoute } from 'vue-router';
|
|
146
|
+
import { useGlobalMixins } from '@martyrs/src/modules/globals/views/mixins/mixins.js';
|
|
146
147
|
|
|
147
148
|
const route = useRoute();
|
|
149
|
+
const { returnCurrency, formatDate } = useGlobalMixins();
|
|
148
150
|
const qrcode = ref(null);
|
|
149
151
|
|
|
150
152
|
const handleTicketUpdate = ({ ticket, hasTicket, targetId }) => {
|
|
@@ -1 +1,105 @@
|
|
|
1
|
-
|
|
1
|
+
# Проблема с отображением лоадера при загрузке модулей
|
|
2
|
+
|
|
3
|
+
## Описание проблемы
|
|
4
|
+
При переходе на роут, который требует загрузки нового модуля:
|
|
5
|
+
1. После клика на ссылку UI полностью блокируется
|
|
6
|
+
2. Начинается загрузка модуля (2-3 секунды)
|
|
7
|
+
3. Лоадер показывается только ПОСЛЕ загрузки модуля на мгновение
|
|
8
|
+
4. Затем происходит переход на новый роут
|
|
9
|
+
|
|
10
|
+
**Ожидаемое поведение:** Лоадер должен показываться СРАЗУ после клика, до начала загрузки модулей.
|
|
11
|
+
|
|
12
|
+
## Технические детали
|
|
13
|
+
|
|
14
|
+
### Архитектура загрузки модулей
|
|
15
|
+
- **Файл:** `globals.app.js:89-119`
|
|
16
|
+
- Модули загружаются динамически в `router.beforeEach` guard
|
|
17
|
+
- Модули регистрируют роуты через `router.addRoute()` после загрузки
|
|
18
|
+
- После загрузки возвращается `to.fullPath` для повторной навигации
|
|
19
|
+
|
|
20
|
+
### Условие показа лоадера
|
|
21
|
+
- **Файл:** `Client.vue:16`
|
|
22
|
+
- Условие: `v-if="!page || globals.state.loading"`
|
|
23
|
+
- `page` - ref на текущий компонент страницы
|
|
24
|
+
- `globals.state.loading` - глобальный флаг загрузки
|
|
25
|
+
|
|
26
|
+
## Корень проблемы
|
|
27
|
+
Vue Router `beforeEach` guard блокирует все обновления DOM до своего завершения:
|
|
28
|
+
- Guards выполняются синхронно и блокируют навигацию
|
|
29
|
+
- Vue не может обновить DOM пока `beforeEach` не завершится
|
|
30
|
+
- Даже установка `globals.state.loading = true` не приводит к рендерингу
|
|
31
|
+
|
|
32
|
+
**Подтверждение из документации Vue Router:**
|
|
33
|
+
> "Guards may be resolved asynchronously, and the navigation is considered pending before all hooks have been resolved"
|
|
34
|
+
|
|
35
|
+
**GitHub issue vuejs/vue #9200:**
|
|
36
|
+
> "Vue.nextTick doesn't seem to cover browser re-render"
|
|
37
|
+
|
|
38
|
+
## Что пробовали и не сработало
|
|
39
|
+
|
|
40
|
+
### 1. nextTick после установки loading флага
|
|
41
|
+
```javascript
|
|
42
|
+
store.globals.state.loading = true;
|
|
43
|
+
await nextTick();
|
|
44
|
+
```
|
|
45
|
+
**Результат:** Не работает, т.к. nextTick работает с микротасками, которые выполняются ДО отрисовки браузером
|
|
46
|
+
|
|
47
|
+
### 2. requestAnimationFrame
|
|
48
|
+
```javascript
|
|
49
|
+
store.globals.state.loading = true;
|
|
50
|
+
await new Promise(resolve => requestAnimationFrame(resolve));
|
|
51
|
+
```
|
|
52
|
+
**Результат:** Не работает, beforeEach все равно блокирует рендеринг
|
|
53
|
+
|
|
54
|
+
### 3. setTimeout с return false
|
|
55
|
+
```javascript
|
|
56
|
+
setTimeout(async () => {
|
|
57
|
+
// загрузка модулей
|
|
58
|
+
router.push(to.fullPath);
|
|
59
|
+
}, 0);
|
|
60
|
+
return false;
|
|
61
|
+
```
|
|
62
|
+
**Результат:** Приводит к 404, т.к. роуты еще не зарегистрированы
|
|
63
|
+
|
|
64
|
+
### 4. Watch на route.path в Client.vue
|
|
65
|
+
```javascript
|
|
66
|
+
watch(() => route.path, () => {
|
|
67
|
+
page.value = null;
|
|
68
|
+
});
|
|
69
|
+
```
|
|
70
|
+
**Результат:** Не работает, т.к. route.path меняется только ПОСЛЕ завершения beforeEach
|
|
71
|
+
|
|
72
|
+
### 5. Свой beforeEach в Client.vue
|
|
73
|
+
```javascript
|
|
74
|
+
router.beforeEach((to, from) => {
|
|
75
|
+
page.value = null;
|
|
76
|
+
});
|
|
77
|
+
```
|
|
78
|
+
**Результат:** Не работает, все beforeEach выполняются синхронно и блокируют рендеринг
|
|
79
|
+
|
|
80
|
+
### 6. Создание DOM элемента напрямую
|
|
81
|
+
```javascript
|
|
82
|
+
const loader = document.createElement('div');
|
|
83
|
+
document.body.appendChild(loader);
|
|
84
|
+
```
|
|
85
|
+
**Результат:** Работает, но это хак, обходящий Vue реактивность
|
|
86
|
+
|
|
87
|
+
## Ограничения
|
|
88
|
+
1. **Нельзя загружать модули после навигации** - модули регистрируют роуты, без них будет 404
|
|
89
|
+
2. **Нельзя загружать модули вне beforeEach** - нужно гарантировать загрузку ДО навигации
|
|
90
|
+
3. **return to.fullPath необходим** - для повторной навигации с новыми роутами
|
|
91
|
+
|
|
92
|
+
## Возможные решения
|
|
93
|
+
|
|
94
|
+
### 1. Использовать HTML лоадер (не Vue компонент)
|
|
95
|
+
Добавить лоадер прямо в index.html, показывать/скрывать через классы
|
|
96
|
+
|
|
97
|
+
### 2. Изменить архитектуру загрузки
|
|
98
|
+
- Предзагружать все возможные роуты
|
|
99
|
+
- Использовать другой подход к динамической регистрации
|
|
100
|
+
|
|
101
|
+
### 3. Использовать Web Workers
|
|
102
|
+
Загружать модули в воркере, но это потребует полного рефакторинга
|
|
103
|
+
|
|
104
|
+
## Вывод
|
|
105
|
+
Проблема фундаментальная: Vue Router beforeEach блокирует рендеринг, а мы обязаны загружать модули именно там из-за динамической регистрации роутов. Единственное рабочее решение - создавать лоадер в обход Vue (прямой DOM манипуляцией).
|