@ozdao/martyrs 0.2.480 → 0.2.482
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/README.md +4 -13
- package/dist/{Media-CKk33U4A.js → Media-JBERcJWj.js} +1 -1
- package/dist/{Media-B1ZP3D7B.cjs → Media-p7Q8ZAQM.cjs} +1 -1
- package/dist/{abac-XF1JVCLI.cjs → abac-6LjoG9u-.cjs} +107 -26
- package/dist/{abac-BuL5pUZ4.js → abac-Cf_9lCSh.js} +107 -26
- package/dist/builder.cjs +8 -12
- package/dist/builder.js +8 -12
- package/dist/globals.server.cjs +1 -1
- package/dist/globals.server.js +1 -1
- package/dist/{main-BhAiwmnI.js → main-AtCVQKF9.js} +2855 -4162
- package/dist/main-B-we7C0w.cjs +11 -0
- package/dist/martyrs/src/components/Button/{Button.vue.cjs → Button.vue2.cjs} +2 -2
- package/dist/martyrs/src/components/Button/Button.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/Button/{Button.vue.js → Button.vue2.js} +2 -2
- package/dist/martyrs/src/components/Button/{Button.vue.cjs.map → Button.vue2.js.map} +1 -1
- package/dist/martyrs/src/components/Checkbox/Checkbox.vue.cjs +28 -7
- package/dist/martyrs/src/components/Checkbox/Checkbox.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/Checkbox/Checkbox.vue.js +29 -8
- package/dist/martyrs/src/components/Checkbox/Checkbox.vue.js.map +1 -1
- package/dist/martyrs/src/components/Chips/Chips.vue2.cjs +5 -8
- package/dist/martyrs/src/components/Chips/Chips.vue2.cjs.map +1 -1
- package/dist/martyrs/src/components/Chips/Chips.vue2.js +6 -9
- package/dist/martyrs/src/components/Chips/Chips.vue2.js.map +1 -1
- package/dist/martyrs/src/components/Feed/Carousel.vue.cjs +84 -0
- package/dist/martyrs/src/components/Feed/Carousel.vue.cjs.map +1 -0
- package/dist/martyrs/src/components/Feed/Carousel.vue.js +84 -0
- package/dist/martyrs/src/components/Feed/Carousel.vue.js.map +1 -0
- package/dist/martyrs/src/components/Feed/Feed.vue.cjs +4 -4
- package/dist/martyrs/src/components/Feed/Feed.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/Feed/Feed.vue.js +4 -4
- package/dist/martyrs/src/components/Feed/Feed.vue.js.map +1 -1
- package/dist/martyrs/src/components/Field/Field.vue.cjs +2 -1
- package/dist/martyrs/src/components/Field/Field.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/Field/Field.vue.js +2 -1
- package/dist/martyrs/src/components/Field/Field.vue.js.map +1 -1
- package/dist/martyrs/src/components/PhotoViewer/PhotoViewer.vue.cjs +203 -151
- package/dist/martyrs/src/components/PhotoViewer/PhotoViewer.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/PhotoViewer/PhotoViewer.vue.js +204 -152
- package/dist/martyrs/src/components/PhotoViewer/PhotoViewer.vue.js.map +1 -1
- package/dist/martyrs/src/components/Popup/{Popup.vue.cjs → Popup.vue2.cjs} +2 -2
- package/dist/martyrs/src/components/Popup/Popup.vue2.cjs.map +1 -0
- package/dist/martyrs/src/components/Popup/{Popup.vue.js → Popup.vue2.js} +2 -2
- package/dist/martyrs/src/components/Popup/{Popup.vue.cjs.map → Popup.vue2.js.map} +1 -1
- package/dist/martyrs/src/components/Radio/Radio.vue.cjs +2 -2
- package/dist/martyrs/src/components/Radio/Radio.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/Radio/Radio.vue.js +2 -2
- package/dist/martyrs/src/components/Radio/Radio.vue.js.map +1 -1
- package/dist/martyrs/src/components/Skeleton/Skeleton.vue.cjs +4 -3
- package/dist/martyrs/src/components/Skeleton/Skeleton.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/Skeleton/Skeleton.vue.js +4 -3
- package/dist/martyrs/src/components/Skeleton/Skeleton.vue.js.map +1 -1
- package/dist/martyrs/src/components/Slider/{Slider.native.vue.cjs → Slider.vue.cjs} +22 -80
- package/dist/martyrs/src/components/Slider/Slider.vue.cjs.map +1 -0
- package/dist/martyrs/src/components/Slider/{Slider.native.vue.js → Slider.vue.js} +23 -81
- package/dist/martyrs/src/components/Slider/Slider.vue.js.map +1 -0
- package/dist/martyrs/src/components/Status/Status.vue.cjs.map +1 -1
- package/dist/martyrs/src/components/Status/Status.vue.js.map +1 -1
- package/dist/martyrs/src/components/Tooltip/Tooltip.vue2.cjs +4 -2
- package/dist/martyrs/src/components/Tooltip/Tooltip.vue2.cjs.map +1 -1
- package/dist/martyrs/src/components/Tooltip/Tooltip.vue2.js +4 -2
- package/dist/martyrs/src/components/Tooltip/Tooltip.vue2.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.cjs +1 -1
- package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.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 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +4 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs +22 -149
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js +24 -151
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.cjs +77 -0
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +77 -0
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js.map +1 -0
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.cjs +121 -0
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js +121 -0
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js.map +1 -0
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditSidebar.vue.cjs +38 -0
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditSidebar.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditSidebar.vue.js +38 -0
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditSidebar.vue.js.map +1 -0
- 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/auth/views/router/users.cjs +23 -16
- package/dist/martyrs/src/modules/auth/views/router/users.cjs.map +1 -1
- package/dist/martyrs/src/modules/auth/views/router/users.js +23 -16
- package/dist/martyrs/src/modules/auth/views/router/users.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/blocks/FooterBlogpost.vue.cjs +3 -3
- 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 +3 -3
- package/dist/martyrs/src/modules/community/components/blocks/FooterBlogpost.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js +6 -6
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.cjs +5 -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 +5 -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 +2 -2
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
- package/dist/martyrs/src/modules/community/components/sections/Comment.vue.cjs +92 -62
- package/dist/martyrs/src/modules/community/components/sections/Comment.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/community/components/sections/Comment.vue.js +93 -63
- package/dist/martyrs/src/modules/community/components/sections/Comment.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/sections/Comments.vue.cjs +82 -53
- package/dist/martyrs/src/modules/community/components/sections/Comments.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/community/components/sections/Comments.vue.js +82 -53
- package/dist/martyrs/src/modules/community/components/sections/Comments.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.cjs +2 -6
- package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.js +2 -6
- package/dist/martyrs/src/modules/community/components/sections/HotPosts.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 +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.cjs +2 -2
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +2 -2
- 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/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/sections/EventsHot.vue.cjs +3 -9
- package/dist/martyrs/src/modules/events/components/sections/EventsHot.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/events/components/sections/EventsHot.vue.js +3 -9
- package/dist/martyrs/src/modules/events/components/sections/EventsHot.vue.js.map +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 +5 -5
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +2 -2
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +10 -10
- package/dist/martyrs/src/modules/globals/globals.client.cjs +2 -0
- package/dist/martyrs/src/modules/globals/globals.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/globals.client.js +2 -0
- package/dist/martyrs/src/modules/globals/globals.client.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/AlertDialog.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/AlertDialog.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +2 -2
- 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 +2 -2
- package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue.cjs +84 -0
- package/dist/martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue.js +84 -0
- package/dist/martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue.js.map +1 -0
- package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.cjs +2 -2
- package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.js +2 -2
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs +2 -2
- package/dist/martyrs/src/modules/globals/views/components/layouts/Client.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/NavigationBar.vue.cjs +1 -1
- package/dist/martyrs/src/modules/globals/views/components/partials/NavigationBar.vue.js +1 -1
- package/dist/martyrs/src/modules/globals/views/mixins/mixins.cjs +17 -0
- package/dist/martyrs/src/modules/globals/views/mixins/mixins.cjs.map +1 -1
- package/dist/martyrs/src/modules/globals/views/mixins/mixins.js +17 -0
- package/dist/martyrs/src/modules/globals/views/mixins/mixins.js.map +1 -1
- package/dist/martyrs/src/modules/globals/views/plugins/popup.auth.plugin.cjs +70 -0
- package/dist/martyrs/src/modules/globals/views/plugins/popup.auth.plugin.cjs.map +1 -0
- package/dist/martyrs/src/modules/globals/views/plugins/popup.auth.plugin.js +70 -0
- package/dist/martyrs/src/modules/globals/views/plugins/popup.auth.plugin.js.map +1 -0
- package/dist/martyrs/src/modules/icons/entities/IconList.vue.cjs +35 -0
- package/dist/martyrs/src/modules/icons/entities/IconList.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/icons/entities/IconList.vue.js +35 -0
- package/dist/martyrs/src/modules/icons/entities/IconList.vue.js.map +1 -0
- package/dist/martyrs/src/modules/icons/navigation/IconCheck.vue.cjs +1 -3
- package/dist/martyrs/src/modules/icons/navigation/IconCheck.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconCheck.vue.js +1 -3
- package/dist/martyrs/src/modules/icons/navigation/IconCheck.vue.js.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconDoubleCheck.vue.cjs +1 -3
- package/dist/martyrs/src/modules/icons/navigation/IconDoubleCheck.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconDoubleCheck.vue.js +1 -3
- package/dist/martyrs/src/modules/icons/navigation/IconDoubleCheck.vue.js.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconLike.vue.cjs +1 -3
- package/dist/martyrs/src/modules/icons/navigation/IconLike.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconLike.vue.js +1 -3
- package/dist/martyrs/src/modules/icons/navigation/IconLike.vue.js.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconMute.vue.cjs +1 -3
- package/dist/martyrs/src/modules/icons/navigation/IconMute.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconMute.vue.js +1 -3
- package/dist/martyrs/src/modules/icons/navigation/IconMute.vue.js.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconPause.vue.cjs +1 -3
- package/dist/martyrs/src/modules/icons/navigation/IconPause.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconPause.vue.js +1 -3
- package/dist/martyrs/src/modules/icons/navigation/IconPause.vue.js.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconPlay.vue.cjs +21 -20
- package/dist/martyrs/src/modules/icons/navigation/IconPlay.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconPlay.vue.js +21 -20
- package/dist/martyrs/src/modules/icons/navigation/IconPlay.vue.js.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconRefresh.vue.cjs +1 -3
- package/dist/martyrs/src/modules/icons/navigation/IconRefresh.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconRefresh.vue.js +1 -3
- package/dist/martyrs/src/modules/icons/navigation/IconRefresh.vue.js.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconShuffle.vue.cjs +6 -13
- package/dist/martyrs/src/modules/icons/navigation/IconShuffle.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconShuffle.vue.js +6 -13
- package/dist/martyrs/src/modules/icons/navigation/IconShuffle.vue.js.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconUnMute.vue.cjs +1 -3
- package/dist/martyrs/src/modules/icons/navigation/IconUnMute.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconUnMute.vue.js +1 -3
- package/dist/martyrs/src/modules/icons/navigation/IconUnMute.vue.js.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconVolume.vue.cjs +1 -3
- package/dist/martyrs/src/modules/icons/navigation/IconVolume.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/icons/navigation/IconVolume.vue.js +1 -3
- package/dist/martyrs/src/modules/icons/navigation/IconVolume.vue.js.map +1 -1
- package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.cjs +1 -3
- package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.js +41 -43
- package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/components/blocks/NotificationItem.vue.cjs +8 -8
- package/dist/martyrs/src/modules/notifications/components/blocks/NotificationItem.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/notifications/components/blocks/NotificationItem.vue.js +8 -8
- package/dist/martyrs/src/modules/notifications/components/blocks/NotificationItem.vue.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.cjs +50 -51
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js +51 -52
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +2 -2
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +2 -2
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +2 -2
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.cjs +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +2 -2
- 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 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.cjs +7 -4
- package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.cjs.map +1 -1
- package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.js +18 -15
- package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.js.map +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/pages/views/components/partials/SidebarPages.vue.cjs +2 -2
- package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.cjs +7 -2
- package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.js +8 -3
- package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.cjs +11 -12
- 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 +12 -13
- package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.cjs +33 -24
- package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.js +36 -27
- package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/ProductVariants.vue.cjs +4 -4
- package/dist/martyrs/src/modules/products/components/blocks/ProductVariants.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/blocks/ProductVariants.vue.js +4 -4
- package/dist/martyrs/src/modules/products/components/blocks/ProductVariants.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/elements/Price.vue.cjs +7 -5
- 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 +7 -5
- package/dist/martyrs/src/modules/products/components/elements/Price.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs +2 -2
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/pages/LeftoverEdit.vue.cjs +2 -2
- package/dist/martyrs/src/modules/products/components/pages/LeftoverEdit.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Leftovers.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs +58 -41
- 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 +60 -43
- 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 +105 -85
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +107 -87
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.cjs +2 -2
- package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.cjs +2 -2
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +2 -2
- 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 +145 -0
- package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.js +145 -0
- package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.js.map +1 -0
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.cjs +2 -2
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.cjs +46 -31
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +50 -35
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.cjs +43 -0
- package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.js +43 -0
- package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.js.map +1 -0
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.cjs +131 -0
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.cjs.map +1 -0
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js +131 -0
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js.map +1 -0
- 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/products/products.client.cjs +3 -3
- package/dist/martyrs/src/modules/products/products.client.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/products.client.js +3 -3
- package/dist/martyrs/src/modules/products/products.client.js.map +1 -1
- package/dist/martyrs/src/modules/products/store/products.cjs +4 -0
- package/dist/martyrs/src/modules/products/store/products.cjs.map +1 -1
- package/dist/martyrs/src/modules/products/store/products.js +4 -0
- package/dist/martyrs/src/modules/products/store/products.js.map +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.cjs +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.cjs +2 -2
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +2 -2
- 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 +2 -2
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +2 -2
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.cjs +2 -2
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +2 -2
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.cjs +2 -2
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js +2 -2
- 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/organizations.server.cjs +1 -1
- package/dist/organizations.server.js +1 -1
- package/dist/products.server.cjs +111 -34
- package/dist/products.server.js +111 -34
- package/dist/style.css +196 -170
- package/package.json +1 -1
- package/src/.martyrs/chunks.json +325 -0
- package/src/.martyrs/filemap.json +6802 -0
- package/src/.martyrs/semantic-analysis.json +307 -0
- package/src/.martyrs/toc.json +14 -0
- package/src/builder/rspack/rspack.config.api.js +8 -11
- package/src/components/Button/Button.vue +2 -2
- package/src/components/Checkbox/Checkbox.vue +28 -16
- package/src/components/Chips/Chips.vue +4 -4
- package/src/components/Feed/Carousel.vue +72 -0
- package/src/components/Feed/Feed.vue +2 -2
- package/src/components/Field/Field.vue +1 -0
- package/src/components/PhotoViewer/PhotoViewer.vue +307 -220
- package/src/components/Radio/Radio.vue +2 -10
- package/src/components/Skeleton/Skeleton.vue +9 -12
- package/src/components/Slider/Slider.vue +220 -100
- package/src/components/Status/Status.vue +0 -1
- package/src/components/Tooltip/Tooltip.vue +2 -2
- package/src/modules/auth/views/components/pages/Profile.vue +1 -1
- package/src/modules/auth/views/components/pages/ProfileEdit.old.vue +189 -0
- package/src/modules/auth/views/components/pages/ProfileEdit.vue +19 -182
- package/src/modules/auth/views/components/pages/ProfileEditAccount.vue +72 -0
- package/src/modules/auth/views/components/pages/ProfileEditProfile.vue +110 -0
- package/src/modules/auth/views/components/pages/ProfileEditSidebar.vue +28 -0
- package/src/modules/auth/views/router/users.js +23 -12
- package/src/modules/community/components/blocks/FooterBlogpost.vue +3 -3
- package/src/modules/community/components/pages/BlogPost.vue +2 -1
- package/src/modules/community/components/sections/Comment.vue +161 -57
- package/src/modules/community/components/sections/Comments.vue +120 -63
- package/src/modules/community/components/sections/HotPosts.vue +7 -7
- package/src/modules/events/components/sections/EventsHot.vue +26 -33
- package/src/modules/globals/controllers/classes/abac/abac.core.js +3 -1
- package/src/modules/globals/controllers/classes/abac/abac.fields.js +126 -42
- package/src/modules/globals/controllers/classes/abac/v2/abac-core-fixed.js +313 -0
- package/src/modules/globals/controllers/classes/abac/v2/abac-express-fixed.js +276 -0
- package/src/modules/globals/controllers/classes/abac/v2/abac-fields-fixed.js +422 -0
- package/src/modules/globals/controllers/classes/abac/v2/abac-main-fixed.js +295 -0
- package/src/modules/globals/controllers/classes/abac/v2/abac-policies-fixed.js +316 -0
- package/src/modules/globals/controllers/classes/abac/v2/abac-ws-fixed.js +237 -0
- package/src/modules/globals/globals.client.js +2 -0
- package/src/modules/globals/views/components/blocks/CardFooter.vue +3 -3
- package/src/modules/globals/views/components/blocks/CardHeader.vue +1 -1
- package/src/modules/globals/views/components/blocks/PopupAuth.vue +66 -0
- package/src/modules/globals/views/mixins/mixins.js +37 -17
- package/src/modules/globals/views/plugins/popup.auth.plugin.js +77 -0
- package/src/modules/icons/entities/IconList.vue +14 -0
- package/src/modules/icons/navigation/IconCheck.vue +1 -3
- package/src/modules/icons/navigation/IconDoubleCheck.vue +1 -3
- package/src/modules/icons/navigation/IconLike.vue +1 -3
- package/src/modules/icons/navigation/IconMute.vue +1 -3
- package/src/modules/icons/navigation/IconPause.vue +1 -3
- package/src/modules/icons/navigation/IconPlay.vue +12 -15
- package/src/modules/icons/navigation/IconRefresh.vue +1 -3
- package/src/modules/icons/navigation/IconShuffle.vue +11 -26
- package/src/modules/icons/navigation/IconUnMute.vue +1 -3
- package/src/modules/icons/navigation/IconVolume.vue +1 -3
- package/src/modules/icons/pages/IconsPage.vue +0 -2
- package/src/modules/music/components/pages/AlbumDetail.vue +2 -2
- package/src/modules/music/components/pages/PlaylistDetail.vue +2 -2
- package/src/modules/music/components/pages/TrackDetail.vue +1 -1
- package/src/modules/music/components/player/MusicPlayer.vue +2 -2
- package/src/modules/notifications/components/blocks/NotificationItem.vue +6 -51
- package/src/modules/notifications/components/elements/NotificationBadge.vue +53 -97
- package/src/modules/organizations/configs/navigation.organization.config.js +8 -4
- package/src/modules/products/components/blocks/CardProduct.vue +8 -2
- package/src/modules/products/components/blocks/ProductDiscounts.vue +3 -4
- package/src/modules/products/components/blocks/ProductImages.vue +32 -23
- package/src/modules/products/components/blocks/ProductVariants.vue +6 -4
- package/src/modules/products/components/elements/Price.vue +3 -3
- package/src/modules/products/components/pages/Product.vue +32 -26
- package/src/modules/products/components/pages/ProductEdit.vue +95 -72
- package/src/modules/products/components/sections/EditRecommended.vue +131 -0
- package/src/modules/products/components/sections/ProductConfigurator.vue +35 -21
- package/src/modules/products/components/sections/ProductsPopular.vue +44 -0
- package/src/modules/products/components/sections/ProductsRecommended.vue +134 -0
- package/src/modules/products/controllers/configs/products.lookup.config.js +20 -15
- package/src/modules/products/controllers/products.controller.js +7 -22
- package/src/modules/products/models/category.model.js +28 -1
- package/src/modules/products/models/leftover.model.js +32 -0
- package/src/modules/products/models/product.model.js +37 -1
- package/src/modules/products/models/variant.model.js +35 -0
- package/src/modules/products/products.client.js +3 -3
- package/src/modules/products/routes/products.routes.js +1 -0
- package/src/modules/products/store/products.js +4 -0
- package/src/styles/base/all.scss +0 -38
- package/src/styles/base/shadow_transitions_hover_refactor.scss +20 -51
- package/src/styles/config.scss +51 -1
- package/dist/main-C75EcBpE.cjs +0 -11
- package/dist/martyrs/src/components/Button/Button.vue.js.map +0 -1
- package/dist/martyrs/src/components/Popup/Popup.vue.js.map +0 -1
- package/dist/martyrs/src/components/Slider/Slider.native.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Slider/Slider.native.vue.js.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue2.cjs +0 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue2.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue2.js +0 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue2.js.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconHeart.vue.cjs +0 -34
- package/dist/martyrs/src/modules/icons/navigation/IconHeart.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconHeart.vue.js +0 -34
- package/dist/martyrs/src/modules/icons/navigation/IconHeart.vue.js.map +0 -1
- package/dist/martyrs/src/modules/products/components/sections/PopularProducts.vue.cjs +0 -124
- package/dist/martyrs/src/modules/products/components/sections/PopularProducts.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/sections/PopularProducts.vue.js +0 -124
- package/dist/martyrs/src/modules/products/components/sections/PopularProducts.vue.js.map +0 -1
- package/src/components/Slider/Slider.native.vue +0 -313
- package/src/modules/products/components/sections/PopularProducts.vue +0 -156
|
@@ -38,7 +38,6 @@ import IconInfo from '@martyrs/src/modules/icons/navigation/IconInfo.vue';
|
|
|
38
38
|
import IconMinus from '@martyrs/src/modules/icons/navigation/IconMinus.vue';
|
|
39
39
|
import IconEllipsis from '@martyrs/src/modules/icons/navigation/IconEllipsis.vue';
|
|
40
40
|
import IconPlus from '@martyrs/src/modules/icons/navigation/IconPlus.vue';
|
|
41
|
-
import IconHeart from '@martyrs/src/modules/icons/navigation/IconHeart.vue';
|
|
42
41
|
import IconCheckmark from '@martyrs/src/modules/icons/navigation/IconCheckmark.vue';
|
|
43
42
|
import IconPause from '@martyrs/src/modules/icons/navigation/IconPause.vue';
|
|
44
43
|
import IconAdd from '@martyrs/src/modules/icons/navigation/IconAdd.vue';
|
|
@@ -145,7 +144,6 @@ function loadIcons() {
|
|
|
145
144
|
{ name: 'IconMinus', component: IconMinus },
|
|
146
145
|
{ name: 'IconEllipsis', component: IconEllipsis },
|
|
147
146
|
{ name: 'IconPlus', component: IconPlus },
|
|
148
|
-
{ name: 'IconHeart', component: IconHeart },
|
|
149
147
|
{ name: 'IconCheckmark', component: IconCheckmark },
|
|
150
148
|
{ name: 'IconPause', component: IconPause },
|
|
151
149
|
{ name: 'IconAdd', component: IconAdd },
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
:showLoader="false"
|
|
64
64
|
:showSucces="false"
|
|
65
65
|
>
|
|
66
|
-
<
|
|
66
|
+
<IconLike class="i-medium" :fill="isFavorite ? 'rgb(var(--main))' : 'rgb(var(--white))'"/>
|
|
67
67
|
</Button>
|
|
68
68
|
|
|
69
69
|
<Dropdown class="pos-relative">
|
|
@@ -154,7 +154,7 @@ import Dropdown from '@martyrs/src/components/Dropdown/Dropdown.vue';
|
|
|
154
154
|
|
|
155
155
|
// Import icons
|
|
156
156
|
import IconPlay from '@martyrs/src/modules/icons/navigation/IconPlay.vue';
|
|
157
|
-
import
|
|
157
|
+
import IconLike from '@martyrs/src/modules/icons/navigation/IconLike.vue';
|
|
158
158
|
import IconEllipsis from '@martyrs/src/modules/icons/navigation/IconEllipsis.vue';
|
|
159
159
|
|
|
160
160
|
// Import store modules
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
:showLoader="false"
|
|
64
64
|
:showSucces="false"
|
|
65
65
|
>
|
|
66
|
-
<
|
|
66
|
+
<IconLike class="i-medium" :fill="isFavorite ? 'rgb(var(--main))' : 'rgb(var(--white))'"/>
|
|
67
67
|
</Button>
|
|
68
68
|
|
|
69
69
|
<Dropdown class="pos-relative">
|
|
@@ -306,7 +306,7 @@ import UploadImage from '@martyrs/src/components/UploadImage/UploadImage.vue';
|
|
|
306
306
|
|
|
307
307
|
// Import icons
|
|
308
308
|
import IconPlay from '@martyrs/src/modules/icons/navigation/IconPlay.vue';
|
|
309
|
-
import
|
|
309
|
+
import IconLike from '@martyrs/src/modules/icons/navigation/IconLike.vue';
|
|
310
310
|
import IconEllipsis from '@martyrs/src/modules/icons/navigation/IconEllipsis.vue';
|
|
311
311
|
import IconMusic from '@martyrs/src/modules/icons/entities/IconMusic.vue';
|
|
312
312
|
|
|
@@ -58,7 +58,7 @@ import Media from '@martyrs/src/components/Media/Media.vue';
|
|
|
58
58
|
import Dropdown from '@martyrs/src/components/Dropdown/Dropdown.vue';
|
|
59
59
|
import Popup from '@martyrs/src/components/Popup/Popup.vue';
|
|
60
60
|
import IconPlay from '@martyrs/src/modules/icons/navigation/IconPlay.vue';
|
|
61
|
-
import
|
|
61
|
+
import IconLike from '@martyrs/src/modules/icons/navigation/IconLike.vue';
|
|
62
62
|
import IconEllipsis from '@martyrs/src/modules/icons/navigation/IconEllipsis.vue';
|
|
63
63
|
import TrackList from '../lists/TrackList.vue';
|
|
64
64
|
// import PlaylistSelector from '../forms/PlaylistSelector.vue';
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
:showLoader="false"
|
|
27
27
|
:showSucces="false"
|
|
28
28
|
>
|
|
29
|
-
<
|
|
29
|
+
<IconLike class="i-small" :fill="isFavorite ? 'rgb(var(--main))' : 'rgb(var(--grey))'"/>
|
|
30
30
|
</Button>
|
|
31
31
|
</div>
|
|
32
32
|
</div>
|
|
@@ -116,7 +116,7 @@ import IconNext from '@martyrs/src/modules/icons/navigation/IconChevronRight.vue
|
|
|
116
116
|
import IconPrevious from '@martyrs/src/modules/icons/navigation/IconChevronLeft.vue';
|
|
117
117
|
import IconShuffle from '@martyrs/src/modules/icons/navigation/IconShuffle.vue';
|
|
118
118
|
import IconRepeat from '@martyrs/src/modules/icons/navigation/IconRefresh.vue';
|
|
119
|
-
import
|
|
119
|
+
import IconLike from '@martyrs/src/modules/icons/navigation/IconLike.vue';
|
|
120
120
|
import IconVolume from '@martyrs/src/modules/icons/navigation/IconVolume.vue';
|
|
121
121
|
// import IconVolumeHalf from '@martyrs/src/modules/icons/navigation/IconVolume.vue'; // Using same icon but we'd style it differently
|
|
122
122
|
import IconVolumeMute from '@martyrs/src/modules/icons/navigation/IconMute.vue';
|
|
@@ -59,68 +59,23 @@ const handleClick = () => {
|
|
|
59
59
|
|
|
60
60
|
<template>
|
|
61
61
|
<div
|
|
62
|
-
class="notification-item"
|
|
63
|
-
:class="{
|
|
62
|
+
class="notification-item gap-thin flex pd-small radius-small bg-light"
|
|
63
|
+
:class="{ 'bg-second-small': isUnread }"
|
|
64
64
|
@click="handleClick"
|
|
65
65
|
>
|
|
66
66
|
<div class="notification-icon">
|
|
67
67
|
{{ notificationIcon }}
|
|
68
68
|
</div>
|
|
69
69
|
<div class="notification-content">
|
|
70
|
-
<
|
|
71
|
-
<p class="
|
|
72
|
-
<
|
|
70
|
+
<p class="p-medium t-medium mn-b-small">{{ notification.title }}</p>
|
|
71
|
+
<p class="p-small mn-b-small">{{ notification.body }}</p>
|
|
72
|
+
<p class="pd-thin w-max radius-thin bg-white">{{ formattedDate }}</p>
|
|
73
73
|
</div>
|
|
74
|
-
<div v-if="isUnread" class="unread-indicator"></div>
|
|
74
|
+
<div v-if="isUnread" class="flex-child-default unread-indicator"></div>
|
|
75
75
|
</div>
|
|
76
76
|
</template>
|
|
77
77
|
|
|
78
78
|
<style scoped>
|
|
79
|
-
.notification-item {
|
|
80
|
-
display: flex;
|
|
81
|
-
padding: 1rem;
|
|
82
|
-
border-radius: 8px;
|
|
83
|
-
background-color: #fff;
|
|
84
|
-
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
85
|
-
cursor: pointer;
|
|
86
|
-
transition: background-color 0.2s;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.notification-item:hover {
|
|
90
|
-
background-color: #f9f9f9;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.notification-item.unread {
|
|
94
|
-
background-color: #f0f7ff;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.notification-icon {
|
|
98
|
-
flex-shrink: 0;
|
|
99
|
-
margin-right: 1rem;
|
|
100
|
-
font-size: 1.5rem;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.notification-content {
|
|
104
|
-
flex: 1;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.notification-title {
|
|
108
|
-
margin: 0 0 0.25rem;
|
|
109
|
-
font-weight: 600;
|
|
110
|
-
font-size: 1rem;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.notification-body {
|
|
114
|
-
margin: 0 0 0.5rem;
|
|
115
|
-
color: #666;
|
|
116
|
-
font-size: 0.9rem;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.notification-time {
|
|
120
|
-
font-size: 0.8rem;
|
|
121
|
-
color: #999;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
79
|
.unread-indicator {
|
|
125
80
|
width: 10px;
|
|
126
81
|
height: 10px;
|
|
@@ -13,52 +13,66 @@
|
|
|
13
13
|
<span>{{ unreadCount > 99 ? '99+' : unreadCount }}</span>
|
|
14
14
|
</div>
|
|
15
15
|
</button>
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
16
|
+
|
|
17
|
+
<Popup
|
|
18
|
+
title="Notifications"
|
|
19
|
+
@close-popup="closeNotifications"
|
|
20
|
+
:isPopupOpen="isOpen"
|
|
21
|
+
align="center right"
|
|
22
|
+
class="bg-white h-min-100 w-100 w-max-30r pd-medium"
|
|
23
|
+
>
|
|
24
|
+
<div class="cols-1 gap-thin o-y-scroll">
|
|
25
|
+
<div v-if="loading" class="notifications-loading">
|
|
26
|
+
Loading...
|
|
27
|
+
</div>
|
|
28
|
+
|
|
29
|
+
<div v-else-if="notifications.length === 0" class="notifications-empty">
|
|
30
|
+
No notifications
|
|
31
|
+
</div>
|
|
32
|
+
|
|
33
|
+
<div v-else class="flex-column flex gap-thin">
|
|
34
|
+
<notification-item
|
|
35
|
+
v-for="notification in recentNotifications"
|
|
36
|
+
:key="notification._id"
|
|
37
|
+
:notification="notification"
|
|
38
|
+
@click="handleNotificationClick(notification)"
|
|
39
|
+
/>
|
|
40
|
+
|
|
41
|
+
<div class="flex-nowrap flex gap-thin">
|
|
42
|
+
<button
|
|
43
|
+
v-if="unreadCount > 0"
|
|
44
|
+
class="w-100 bg-second t-white radius-small button"
|
|
45
|
+
@click="markAllAsRead"
|
|
46
|
+
>
|
|
47
|
+
Mark all read
|
|
48
|
+
</button>
|
|
49
|
+
|
|
50
|
+
<router-link class="w-100 bg-black t-white radius-small button" to="/notifications" @click="closeNotifications">
|
|
51
|
+
View all
|
|
52
|
+
</router-link>
|
|
53
|
+
</div>
|
|
54
|
+
|
|
55
|
+
</div>
|
|
56
|
+
|
|
45
57
|
</div>
|
|
46
|
-
</
|
|
58
|
+
</Popup>
|
|
47
59
|
</div>
|
|
48
60
|
</template>
|
|
49
61
|
|
|
50
62
|
<script setup>
|
|
51
|
-
import { ref, computed, onMounted,
|
|
63
|
+
import { ref, computed, onMounted, inject } from 'vue';
|
|
52
64
|
import { useRouter } from 'vue-router';
|
|
65
|
+
|
|
66
|
+
import Popup from '@martyrs/src/components/Popup/Popup.vue';
|
|
67
|
+
|
|
53
68
|
import NotificationItem from '../blocks/NotificationItem.vue';
|
|
54
69
|
import * as auth from '@martyrs/src/modules/auth/views/store/auth.js';
|
|
55
|
-
|
|
56
70
|
import IconBell from '@martyrs/src/modules/icons/entities/IconBell.vue';
|
|
57
71
|
|
|
58
72
|
const props = defineProps({
|
|
59
73
|
maxNotifications: {
|
|
60
74
|
type: Number,
|
|
61
|
-
default:
|
|
75
|
+
default: 10
|
|
62
76
|
},
|
|
63
77
|
fill: {
|
|
64
78
|
type: String,
|
|
@@ -86,6 +100,10 @@ const toggleNotifications = () => {
|
|
|
86
100
|
isOpen.value = !isOpen.value;
|
|
87
101
|
};
|
|
88
102
|
|
|
103
|
+
const closeNotifications = () => {
|
|
104
|
+
isOpen.value = false;
|
|
105
|
+
};
|
|
106
|
+
|
|
89
107
|
const handleNotificationClick = (notification) => {
|
|
90
108
|
isOpen.value = false;
|
|
91
109
|
|
|
@@ -98,28 +116,14 @@ const handleNotificationClick = (notification) => {
|
|
|
98
116
|
}
|
|
99
117
|
};
|
|
100
118
|
|
|
101
|
-
// Close dropdown when clicking outside
|
|
102
|
-
const handleClickOutside = (event) => {
|
|
103
|
-
const container = document.querySelector('.notification-badge-container');
|
|
104
|
-
if (container && !container.contains(event.target)) {
|
|
105
|
-
isOpen.value = false;
|
|
106
|
-
}
|
|
107
|
-
};
|
|
108
|
-
|
|
109
119
|
// Lifecycle hooks
|
|
110
120
|
onMounted(() => {
|
|
111
|
-
document.addEventListener('click', handleClickOutside);
|
|
112
|
-
|
|
113
121
|
// Load notifications when component mounts
|
|
114
122
|
const userId = auth.state.user._id;
|
|
115
123
|
if (userId) {
|
|
116
124
|
getNotifications(userId);
|
|
117
125
|
}
|
|
118
126
|
});
|
|
119
|
-
|
|
120
|
-
onUnmounted(() => {
|
|
121
|
-
document.removeEventListener('click', handleClickOutside);
|
|
122
|
-
});
|
|
123
127
|
</script>
|
|
124
128
|
|
|
125
129
|
<style scoped>
|
|
@@ -139,6 +143,7 @@ onUnmounted(() => {
|
|
|
139
143
|
.notification-icon {
|
|
140
144
|
font-size: 1.4rem;
|
|
141
145
|
}
|
|
146
|
+
|
|
142
147
|
.button-counter {
|
|
143
148
|
position: absolute;
|
|
144
149
|
right: -8px;
|
|
@@ -153,61 +158,12 @@ onUnmounted(() => {
|
|
|
153
158
|
line-height: 16px;
|
|
154
159
|
font-size: 10px;
|
|
155
160
|
}
|
|
156
|
-
.notifications-dropdown {
|
|
157
|
-
position: absolute;
|
|
158
|
-
top: 100%;
|
|
159
|
-
right: 0;
|
|
160
|
-
width: 320px;
|
|
161
|
-
max-height: 400px;
|
|
162
|
-
overflow-y: auto;
|
|
163
|
-
background-color: white;
|
|
164
|
-
border-radius: 4px;
|
|
165
|
-
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
166
|
-
z-index: 1000;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.notifications-header {
|
|
170
|
-
display: flex;
|
|
171
|
-
justify-content: space-between;
|
|
172
|
-
align-items: center;
|
|
173
|
-
padding: 12px 16px;
|
|
174
|
-
border-bottom: 1px solid #eee;
|
|
175
|
-
}
|
|
176
161
|
|
|
177
|
-
.notifications-header h3 {
|
|
178
|
-
margin: 0;
|
|
179
|
-
font-size: 1rem;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
.mark-all-read-btn {
|
|
183
|
-
background: none;
|
|
184
|
-
border: none;
|
|
185
|
-
color: #2196f3;
|
|
186
|
-
font-size: 0.8rem;
|
|
187
|
-
cursor: pointer;
|
|
188
|
-
}
|
|
189
162
|
|
|
190
163
|
.notifications-loading,
|
|
191
164
|
.notifications-empty {
|
|
192
165
|
padding: 24px;
|
|
193
166
|
text-align: center;
|
|
194
|
-
color:
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
.notifications-list {
|
|
198
|
-
max-height: 300px;
|
|
199
|
-
overflow-y: auto;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.notifications-footer {
|
|
203
|
-
padding: 12px 16px;
|
|
204
|
-
text-align: center;
|
|
205
|
-
border-top: 1px solid #eee;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
.notifications-footer a {
|
|
209
|
-
color: #2196f3;
|
|
210
|
-
text-decoration: none;
|
|
211
|
-
font-size: 0.9rem;
|
|
167
|
+
color: rgb(var(--text-light));
|
|
212
168
|
}
|
|
213
169
|
</style>
|
|
@@ -6,6 +6,10 @@ import IconGroups from '@martyrs/src/modules/icons/entities/IconGroups.vue';
|
|
|
6
6
|
import IconOrders from '@martyrs/src/modules/icons/entities/IconOrders.vue';
|
|
7
7
|
import IconProducts from '@martyrs/src/modules/icons/entities/IconProducts.vue';
|
|
8
8
|
import IconLeftovers from '@martyrs/src/modules/icons/entities/IconLeftovers.vue';
|
|
9
|
+
import IconDate from '@martyrs/src/modules/icons/entities/IconDate.vue';
|
|
10
|
+
import IconPrice from '@martyrs/src/modules/icons/entities/IconPrice.vue';
|
|
11
|
+
import IconSettings from '@martyrs/src/modules/icons/entities/IconSettings.vue';
|
|
12
|
+
import IconHome from '@martyrs/src/modules/icons/entities/IconHome.vue';
|
|
9
13
|
|
|
10
14
|
// Import global mixins for access control
|
|
11
15
|
import { useGlobalMixins } from '@martyrs/src/modules/globals/views/mixins/mixins.js';
|
|
@@ -18,7 +22,7 @@ export const navigationItems = [
|
|
|
18
22
|
items: [
|
|
19
23
|
{
|
|
20
24
|
title: 'Profile',
|
|
21
|
-
iconComponent:
|
|
25
|
+
iconComponent: IconHome,
|
|
22
26
|
route: (auth, route) => ({
|
|
23
27
|
name: 'Organization',
|
|
24
28
|
params: { _id: route.params._id }
|
|
@@ -48,7 +52,7 @@ export const navigationItems = [
|
|
|
48
52
|
},
|
|
49
53
|
{
|
|
50
54
|
title: 'Settings',
|
|
51
|
-
iconComponent:
|
|
55
|
+
iconComponent: IconSettings,
|
|
52
56
|
route: (auth, route) => ({
|
|
53
57
|
name: 'Organization Edit',
|
|
54
58
|
params: { _id: route.params._id }
|
|
@@ -83,7 +87,7 @@ export const navigationItems = [
|
|
|
83
87
|
},
|
|
84
88
|
{
|
|
85
89
|
title: 'Categories',
|
|
86
|
-
iconComponent:
|
|
90
|
+
iconComponent: IconPrice,
|
|
87
91
|
route: (auth, route) => ({
|
|
88
92
|
name: 'Categories',
|
|
89
93
|
params: { _id: route.params._id }
|
|
@@ -133,7 +137,7 @@ export const navigationItems = [
|
|
|
133
137
|
},
|
|
134
138
|
{
|
|
135
139
|
title: 'Rents',
|
|
136
|
-
iconComponent:
|
|
140
|
+
iconComponent: IconEvents,
|
|
137
141
|
route: (auth, route) => ({
|
|
138
142
|
name: 'Organization_Rents',
|
|
139
143
|
params: { _id: route.params._id }
|
|
@@ -66,15 +66,17 @@
|
|
|
66
66
|
{{product.description.substring(0, 99)}}...
|
|
67
67
|
</p>
|
|
68
68
|
|
|
69
|
+
<slot></slot>
|
|
70
|
+
|
|
69
71
|
<div class="flex-v-center flex-nowrap flex">
|
|
70
72
|
<Price
|
|
71
73
|
:product="product"
|
|
72
74
|
size="small"
|
|
73
|
-
class="bg-white h-100 p-medium flex flex-center pd-
|
|
75
|
+
class="bg-white h-100 p-medium flex flex-center pd-thin radius-small mn-r-auto"
|
|
74
76
|
/>
|
|
75
77
|
|
|
76
78
|
<button
|
|
77
|
-
v-if="
|
|
79
|
+
v-if="showAddToCart"
|
|
78
80
|
class="
|
|
79
81
|
cursor-pointer
|
|
80
82
|
radius-extra pd-thin bg-main
|
|
@@ -115,6 +117,10 @@
|
|
|
115
117
|
organization: {
|
|
116
118
|
type: String
|
|
117
119
|
},
|
|
120
|
+
showAddToCart: {
|
|
121
|
+
type: Boolean,
|
|
122
|
+
default: true
|
|
123
|
+
},
|
|
118
124
|
user: {
|
|
119
125
|
type: [Object, String]
|
|
120
126
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div v-if="discounts && discounts.length"
|
|
2
|
+
<div v-if="discounts && discounts.length">
|
|
3
3
|
<div class="mn-b-small flex-nowrap flex flex-v-center">
|
|
4
4
|
<IconDiscount class="mn-r-micro i-medium"/>
|
|
5
5
|
<p class="t-medium">Special Offers</p>
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<div
|
|
10
10
|
v-for="(discount, index) in discounts"
|
|
11
11
|
:key="index"
|
|
12
|
-
class="discount-card pd-
|
|
12
|
+
class="discount-card bg-light pd-small radius-small br-1px br-solid br-light cursor-pointer "
|
|
13
13
|
@click="selectDiscount(discount)"
|
|
14
14
|
>
|
|
15
15
|
<div class="flex flex-wrap gap-thin flex-v-center w-100">
|
|
@@ -25,8 +25,7 @@
|
|
|
25
25
|
</div>
|
|
26
26
|
|
|
27
27
|
<p v-if="discount.description" class="t-small mn-t-thin t-transp">{{ discount.description }}</p>
|
|
28
|
-
|
|
29
|
-
<div class="mn-t-small"><Chips v-if="getConditionsAsChips.length > 0" class="" :chips="getConditionsAsChips(discount)" /></div>
|
|
28
|
+
<div v-if="getConditionsAsChips(discount).length > 0" class="mn-t-small"><Chips class="" :chips="getConditionsAsChips(discount)" /></div>
|
|
30
29
|
</div>
|
|
31
30
|
</div>
|
|
32
31
|
</div>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="w-100 o-hidden bg-light radius-medium flex-nowrap flex-column flex pos-relative">
|
|
2
|
+
<div class="w-100 bs-heavy h-max mobile:pos-relative tablet:pos-relative pos-sticky pos-t-0 pd-medium o-hidden bg-light radius-medium gap-small flex-nowrap flex-row mobile:flex-column flex pos-relative">
|
|
3
3
|
<!-- Main image container -->
|
|
4
|
-
<div class="
|
|
4
|
+
<div class="order-1 w-100 bg-light radius-small o-hidden" @click="openPopup(currentImageIndex)">
|
|
5
5
|
<Image360
|
|
6
6
|
v-if="product && product.image3d"
|
|
7
7
|
class="h-100 w-100"
|
|
@@ -10,35 +10,44 @@
|
|
|
10
10
|
/>
|
|
11
11
|
<img
|
|
12
12
|
loading="lazy"
|
|
13
|
-
v-if="images[
|
|
14
|
-
class="h-
|
|
13
|
+
v-if="images[currentImageIndex] && !product?.image3d"
|
|
14
|
+
class="h-100 flex-child-default bg-white radius-small w-100"
|
|
15
15
|
style="object-fit: contain;"
|
|
16
|
-
:src="(FILE_SERVER_URL || '') + images[
|
|
16
|
+
:src="(FILE_SERVER_URL || '') + images[currentImageIndex]"
|
|
17
17
|
/>
|
|
18
18
|
<PlaceholderImage
|
|
19
|
-
v-if="!images[
|
|
20
|
-
class="h-
|
|
19
|
+
v-if="!images[currentImageIndex] && !product?.image3d"
|
|
20
|
+
class="h-100 w-100"
|
|
21
21
|
style="object-fit: cover;"
|
|
22
22
|
/>
|
|
23
23
|
</div>
|
|
24
24
|
|
|
25
25
|
<!-- Thumbnails -->
|
|
26
|
-
<div v-if="images.length > 1" class="
|
|
27
|
-
<div class="
|
|
26
|
+
<div v-if="images.length > 1" class="mobile:order-1 order-0 w-5r mobile:w-100">
|
|
27
|
+
<div class="w-100 mobile:flex-row flex-column flex flex-nowrap gap-thin">
|
|
28
28
|
<img loading="lazy"
|
|
29
|
-
v-for="(image, index) in images"
|
|
29
|
+
v-for="(image, index) in images.slice(0, 5)"
|
|
30
30
|
:key="index"
|
|
31
31
|
:src="(FILE_SERVER_URL || '') + image"
|
|
32
|
-
@click="
|
|
33
|
-
class="
|
|
32
|
+
@click="currentImageIndex = index"
|
|
33
|
+
class="aspect-1x1 radius-small bg-white o-hidden thumbnail"
|
|
34
|
+
:class="{ 'active': currentImageIndex === index }"
|
|
34
35
|
/>
|
|
36
|
+
<div
|
|
37
|
+
v-if="images.length > 5"
|
|
38
|
+
@click="openPopup(5)"
|
|
39
|
+
class="aspect-1x1 radius-small o-hidden thumbnail flex flex-center t-medium t-black bg-white "
|
|
40
|
+
>
|
|
41
|
+
+{{ images.length - 5 }}
|
|
42
|
+
</div>
|
|
35
43
|
</div>
|
|
36
44
|
</div>
|
|
37
45
|
|
|
38
46
|
<!-- Popup with photo viewer -->
|
|
39
|
-
<Popup @close-popup="closePopup" :isPopupOpen="isPopupVisible" class="radius-
|
|
47
|
+
<Popup @close-popup="closePopup" :isPopupOpen="isPopupVisible" class="radius-zero o-hidden">
|
|
40
48
|
<PhotoViewer
|
|
41
|
-
:
|
|
49
|
+
:photos="images.map(img => (FILE_SERVER_URL || '') + img)"
|
|
50
|
+
:initialIndex="selectedImageIndex"
|
|
42
51
|
/>
|
|
43
52
|
</Popup>
|
|
44
53
|
</div>
|
|
@@ -46,12 +55,9 @@
|
|
|
46
55
|
|
|
47
56
|
<script setup>
|
|
48
57
|
import { ref } from "vue";
|
|
49
|
-
|
|
50
58
|
import Popup from '@martyrs/src/components/Popup/Popup.vue';
|
|
51
59
|
import PhotoViewer from '@martyrs/src/components/PhotoViewer/PhotoViewer.vue';
|
|
52
|
-
|
|
53
60
|
import PlaceholderImage from '@martyrs/src/modules/icons/placeholders/PlaceholderImage.vue'
|
|
54
|
-
|
|
55
61
|
import Image360 from '@martyrs/src/modules/products/components/elements/Image360.vue'
|
|
56
62
|
|
|
57
63
|
const props = defineProps({
|
|
@@ -66,15 +72,17 @@ const props = defineProps({
|
|
|
66
72
|
});
|
|
67
73
|
|
|
68
74
|
const isPopupVisible = ref(false);
|
|
69
|
-
const
|
|
75
|
+
const selectedImageIndex = ref(0);
|
|
76
|
+
const currentImageIndex = ref(0);
|
|
70
77
|
|
|
71
|
-
const openPopup = (
|
|
72
|
-
if (!
|
|
73
|
-
|
|
78
|
+
const openPopup = (index) => {
|
|
79
|
+
if (!props.images.length) return;
|
|
80
|
+
selectedImageIndex.value = index;
|
|
74
81
|
isPopupVisible.value = true;
|
|
75
82
|
};
|
|
76
83
|
|
|
77
84
|
const closePopup = () => {
|
|
85
|
+
selectedImageIndex.value = 0;
|
|
78
86
|
isPopupVisible.value = false;
|
|
79
87
|
};
|
|
80
88
|
</script>
|
|
@@ -82,9 +90,10 @@ const closePopup = () => {
|
|
|
82
90
|
<style scoped>
|
|
83
91
|
.thumbnail {
|
|
84
92
|
width: 100%;
|
|
85
|
-
max-width: 6rem;
|
|
86
|
-
height: 6rem;
|
|
87
93
|
object-fit: cover;
|
|
88
94
|
cursor: pointer;
|
|
89
95
|
}
|
|
96
|
+
.thumbnail.active {
|
|
97
|
+
border: 1px solid rgb(var(--second));
|
|
98
|
+
}
|
|
90
99
|
</style>
|
|
@@ -10,13 +10,14 @@
|
|
|
10
10
|
class="w-100 mn-b-medium"
|
|
11
11
|
>
|
|
12
12
|
<p class="capitalize mn-b-thin t-medium">{{ group.label }}</p>
|
|
13
|
-
|
|
13
|
+
|
|
14
|
+
<div class="flex flex-wrap gap-thin mn-b-medium">
|
|
14
15
|
<button
|
|
15
16
|
v-for="item in group.items"
|
|
16
17
|
:key="item.key"
|
|
17
18
|
@click="group.label === 'Options' ? pick(item.variant) : pickAttr(group.label, item.value)"
|
|
18
19
|
:disabled="item.off"
|
|
19
|
-
class="
|
|
20
|
+
class="pd-small radius-small"
|
|
20
21
|
:class="[
|
|
21
22
|
isSelected(group, item) ? 'br-main' : 'br-black-transp-10',
|
|
22
23
|
item.off ? 'o-50 cursor-not-allowed' : 'cursor-pointer hover-scale-1',
|
|
@@ -27,9 +28,10 @@
|
|
|
27
28
|
:src="`${FILE_SERVER_URL}${item.img}`"
|
|
28
29
|
class="h-100 radius-thin aspect-1x1 object-fit-contain"
|
|
29
30
|
/>
|
|
30
|
-
<
|
|
31
|
+
<p class="">
|
|
31
32
|
{{ item.text }}
|
|
32
|
-
</
|
|
33
|
+
</p>
|
|
34
|
+
|
|
33
35
|
<div
|
|
34
36
|
v-if="isSelected(group, item)"
|
|
35
37
|
class="pos-absolute pos-b-0 pos-r-0 pos-l-0 flex flex-center h-1r bg-main t-white t-small"
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
'p-medium t-semi': size === 'small',
|
|
7
7
|
'h3 t-semi': size === 'big'
|
|
8
8
|
}"
|
|
9
|
-
class="t-second"
|
|
10
9
|
>
|
|
11
10
|
{{ returnCurrency() + variant.price }}
|
|
12
11
|
</span>
|
|
@@ -19,7 +18,7 @@
|
|
|
19
18
|
}"
|
|
20
19
|
class="p-small mn-l-micro t-transp"
|
|
21
20
|
>
|
|
22
|
-
{{ product
|
|
21
|
+
{{ product?.listing === 'rent' ? 'per day' : 'for ' + variant.quantity + variant.unit }}
|
|
23
22
|
</span>
|
|
24
23
|
|
|
25
24
|
<p
|
|
@@ -36,10 +35,11 @@ import { computed } from 'vue';
|
|
|
36
35
|
|
|
37
36
|
const props = defineProps({
|
|
38
37
|
product: Object,
|
|
38
|
+
variants: Array,
|
|
39
39
|
size: String
|
|
40
40
|
});
|
|
41
41
|
|
|
42
42
|
const variant = computed(() => {
|
|
43
|
-
return props.product?.variants?.[0] || props.product;
|
|
43
|
+
return props.product?.variants?.[0] || props.variants?.[0] || props.product;
|
|
44
44
|
});
|
|
45
45
|
</script>
|