@ozdao/martyrs 0.2.582 → 0.2.584
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/{main-vq1_XpmQ.js → main-fmp55tJF.js} +11 -11
- package/dist/martyrs/dist/{main-vq1_XpmQ.js → main-fmp55tJF.js} +2 -2
- package/dist/martyrs/dist/main-fmp55tJF.js.map +1 -0
- package/dist/martyrs/dist/{web-BNJDRie_.js → web-BDuQSQKS.js} +2 -2
- package/dist/martyrs/dist/{web-BNJDRie_.js.map → web-BDuQSQKS.js.map} +1 -1
- package/dist/martyrs/src/components/Button/{Button.vue.js → Button.vue2.js} +2 -2
- package/dist/martyrs/src/components/Button/Button.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Calendar/Calendar.vue2.js +5 -5
- package/dist/martyrs/src/components/Calendar/Calendar.vue2.js.map +1 -1
- package/dist/martyrs/src/components/EditImages/{EditImages.vue.js → EditImages.vue2.js} +2 -2
- package/dist/martyrs/src/components/EditImages/EditImages.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Feed/Feed.vue.js +1 -1
- package/dist/martyrs/src/components/Field/Field.vue.js +2 -2
- package/dist/martyrs/src/components/Field/Field.vue.js.map +1 -1
- package/dist/martyrs/src/components/FieldBig/FieldBig.vue.js +2 -2
- package/dist/martyrs/src/components/FieldBig/FieldBig.vue.js.map +1 -1
- package/dist/martyrs/src/components/FieldDate/FieldDate.vue.js +2 -2
- package/dist/martyrs/src/components/FieldDate/FieldDate.vue.js.map +1 -1
- package/dist/martyrs/src/components/Select/{Select.vue2.js → Select.vue.js} +2 -2
- package/dist/martyrs/src/components/Select/Select.vue.js.map +1 -0
- package/dist/martyrs/src/components/Spoiler/{Spoiler.vue.js → Spoiler.vue2.js} +2 -2
- package/dist/martyrs/src/components/Spoiler/Spoiler.vue2.js.map +1 -0
- 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.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +7 -13
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js +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.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/UserDashboard.vue.js +182 -89
- package/dist/martyrs/src/modules/auth/views/components/pages/UserDashboard.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/configs/navigation.user.config.js +9 -2
- package/dist/martyrs/src/modules/auth/views/configs/navigation.user.config.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js +3 -3
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js.map +1 -1
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +1 -1
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/CardHeader.vue.js +2 -2
- package/dist/martyrs/src/modules/core/views/components/blocks/CardHeader.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/PopupAuth.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/PopupDateSelector.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js +3 -3
- package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/Navigation.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/NavigationBar.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/Sidebar.vue.js +2 -2
- package/dist/martyrs/src/modules/core/views/components/partials/Sidebar.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/sections/{Filters.vue.js → Filters.vue2.js} +5 -5
- package/dist/martyrs/src/modules/core/views/components/sections/Filters.vue2.js.map +1 -0
- package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.js.map +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.js +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +2 -2
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +3 -3
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/sections/EditTickets.vue.js +1 -1
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +4 -4
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js.map +1 -1
- package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.js +2 -2
- package/dist/martyrs/src/modules/inventory/components/forms/ColumnSettingsMenu.vue.js +1 -1
- package/dist/martyrs/src/modules/inventory/components/forms/HistoryView.vue.js +1 -1
- package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.js +2 -2
- package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.js +4 -4
- package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.js.map +1 -1
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +2 -2
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionGuide.vue.js +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/pages/Marketplace.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/blocks/ActionButtons.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +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.js +1 -1
- package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js +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.js +6 -6
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/player/FullscreenPlayer.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/player/PlayerControls.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/player/VolumeControl.vue.js +1 -1
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js +3 -3
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/components/sections/NotificationPreferences.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js +90 -175
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +8 -8
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js.map +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.js +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js +41 -28
- package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/orders.client.js +14 -14
- package/dist/martyrs/src/modules/orders/orders.client.js.map +1 -1
- package/dist/martyrs/src/modules/orders/router/orders.router.js +23 -0
- package/dist/martyrs/src/modules/orders/router/orders.router.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +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.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +89 -40
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js.map +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.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +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.js +3 -3
- package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +2 -2
- package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js.map +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.js +3 -3
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +3 -3
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +3 -3
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js.map +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.js +3 -3
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +3 -3
- package/dist/martyrs/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js +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.js +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.js +2 -2
- package/dist/martyrs/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/Spot.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +2 -2
- package/dist/martyrs/src/modules/spots/components/pages/Spots.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/Spots.vue.js.map +1 -1
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +2 -2
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +2 -2
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js +3 -3
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js.map +1 -1
- package/dist/martyrs.css +1 -1
- package/dist/martyrs.es.js +1 -1
- package/dist/style.css +105 -110
- package/dist/{web-BNJDRie_.js → web-BDuQSQKS.js} +1 -1
- package/package.json +1 -1
- package/src/components/Calendar/Calendar.vue +4 -4
- package/src/components/Completion/Completion.vue +3 -3
- package/src/components/Field/Field.vue +1 -1
- package/src/components/FieldBig/FieldBig.vue +1 -1
- package/src/components/FieldDate/FieldDate.vue +1 -1
- package/src/modules/TASKS.MD +26 -1
- package/src/modules/auth/views/components/pages/Profile.vue +9 -15
- package/src/modules/auth/views/components/pages/UserDashboard.vue +214 -125
- package/src/modules/auth/views/configs/navigation.user.config.js +8 -2
- package/src/modules/community/components/layouts/Community.vue +2 -2
- package/src/modules/core/views/components/blocks/CardHeader.vue +1 -1
- package/src/modules/core/views/components/partials/Header.vue +1 -1
- package/src/modules/core/views/components/partials/Sidebar.vue +1 -1
- package/src/modules/core/views/components/sections/Filters.vue +2 -2
- package/src/modules/core/views/components/sections/SectionPageTitle.vue +1 -1
- package/src/modules/events/components/pages/EditEventTickets.vue +2 -2
- package/src/modules/gallery/components/sections/BackofficeGallery.vue +1 -1
- package/src/modules/inventory/components/pages/Inventory.vue +4 -4
- package/src/modules/inventory/components/pages/InventoryEdit.vue +1 -1
- package/src/modules/music/components/pages/Playlist.vue +5 -5
- package/src/modules/notifications/components/elements/NotificationBadge.vue +1 -1
- package/src/modules/orders/components/blocks/CardOrderUser.vue +88 -190
- package/src/modules/orders/components/pages/OrderBackoffice.vue +5 -5
- package/src/modules/orders/components/pages/Orders.vue +56 -50
- package/src/modules/orders/router/orders.router.js +33 -0
- package/src/modules/organizations/components/blocks/CardOrganization.vue +1 -1
- package/src/modules/organizations/components/pages/OrganizationEdit.vue +42 -11
- package/src/modules/pages/views/components/pages/PageEdit.vue +2 -2
- package/src/modules/pages/views/components/partials/SidebarPages.vue +1 -1
- package/src/modules/products/components/pages/Products.vue +1 -1
- package/src/modules/products/components/sections/EditDiscounts.vue +1 -1
- package/src/modules/products/components/sections/ProductConfigurator.vue +1 -1
- package/src/modules/spots/components/pages/Spots.vue +1 -1
- package/src/modules/wallet/views/components/blocks/CryptoDeposit.vue +1 -1
- package/src/modules/wallet/views/components/pages/Wallet.vue +1 -1
- package/dist/martyrs/dist/main-vq1_XpmQ.js.map +0 -1
- package/dist/martyrs/src/components/Button/Button.vue.js.map +0 -1
- package/dist/martyrs/src/components/EditImages/EditImages.vue.js.map +0 -1
- package/dist/martyrs/src/components/Select/Select.vue2.js.map +0 -1
- package/dist/martyrs/src/components/SelectMulti/SelectMulti.vue2.js +0 -625
- package/dist/martyrs/src/components/SelectMulti/SelectMulti.vue2.js.map +0 -1
- package/dist/martyrs/src/components/Spoiler/Spoiler.vue.js.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/sections/Filters.vue.js.map +0 -1
- package/dist/martyrs/src/modules/orders/components/icons/IconStatusCanceled.vue.js +0 -32
- package/dist/martyrs/src/modules/orders/components/icons/IconStatusCanceled.vue.js.map +0 -1
- package/dist/martyrs/src/modules/orders/components/icons/IconStatusConfirmed.vue.js +0 -32
- package/dist/martyrs/src/modules/orders/components/icons/IconStatusConfirmed.vue.js.map +0 -1
- package/dist/martyrs/src/modules/orders/components/icons/IconStatusCreated.vue.js +0 -32
- package/dist/martyrs/src/modules/orders/components/icons/IconStatusCreated.vue.js.map +0 -1
- package/dist/martyrs/src/modules/orders/components/icons/IconStatusDelay.vue.js +0 -32
- package/dist/martyrs/src/modules/orders/components/icons/IconStatusDelay.vue.js.map +0 -1
- package/dist/martyrs/src/modules/orders/components/icons/IconStatusFinished.vue.js +0 -32
- package/dist/martyrs/src/modules/orders/components/icons/IconStatusFinished.vue.js.map +0 -1
- package/dist/martyrs/src/modules/orders/components/icons/IconStatusInUse.vue.js +0 -32
- package/dist/martyrs/src/modules/orders/components/icons/IconStatusInUse.vue.js.map +0 -1
package/dist/style.css
CHANGED
|
@@ -72,22 +72,22 @@
|
|
|
72
72
|
.background-div {
|
|
73
73
|
flex-grow: 1;
|
|
74
74
|
}
|
|
75
|
-
input[data-v-
|
|
76
|
-
textarea[data-v-
|
|
77
|
-
span[data-v-
|
|
75
|
+
input[data-v-ba38e654],
|
|
76
|
+
textarea[data-v-ba38e654],
|
|
77
|
+
span[data-v-ba38e654] {
|
|
78
78
|
color: inherit;
|
|
79
79
|
line-height: 1;
|
|
80
80
|
}
|
|
81
|
-
textarea[data-v-
|
|
81
|
+
textarea[data-v-ba38e654] {
|
|
82
82
|
resize: none;
|
|
83
83
|
overflow: hidden;
|
|
84
84
|
height: 1rem;
|
|
85
85
|
}
|
|
86
|
-
input[data-v-
|
|
86
|
+
input[data-v-ba38e654] {
|
|
87
87
|
height: 1rem;
|
|
88
88
|
}
|
|
89
|
-
input[type="date"][data-v-
|
|
90
|
-
input[type="time"][data-v-
|
|
89
|
+
input[type="date"][data-v-ba38e654]::-webkit-calendar-picker-indicator,
|
|
90
|
+
input[type="time"][data-v-ba38e654]::-webkit-calendar-picker-indicator {
|
|
91
91
|
filter: invert(1);
|
|
92
92
|
opacity: 1;
|
|
93
93
|
color: inherit;
|
|
@@ -741,75 +741,75 @@ ul li[data-v-af5048fc] {
|
|
|
741
741
|
left: 100%;
|
|
742
742
|
}
|
|
743
743
|
}
|
|
744
|
-
.calendar[aria-disabled=true][data-v-
|
|
744
|
+
.calendar[aria-disabled=true][data-v-7c705e8c] {
|
|
745
745
|
cursor: not-allowed;
|
|
746
746
|
}
|
|
747
|
-
.calendar[aria-disabled=true][data-v-
|
|
747
|
+
.calendar[aria-disabled=true][data-v-7c705e8c] * {
|
|
748
748
|
pointer-events: none;
|
|
749
749
|
}
|
|
750
|
-
.calendar__week[data-v-
|
|
750
|
+
.calendar__week[data-v-7c705e8c] {
|
|
751
751
|
display: grid;
|
|
752
752
|
grid-template-columns: repeat(7, 1fr);
|
|
753
753
|
gap: 5px;
|
|
754
754
|
margin-bottom: 10px;
|
|
755
755
|
}
|
|
756
|
-
.calendar__weekday[data-v-
|
|
756
|
+
.calendar__weekday[data-v-7c705e8c] {
|
|
757
757
|
text-align: center;
|
|
758
758
|
}
|
|
759
|
-
.calendar__dates[data-v-
|
|
759
|
+
.calendar__dates[data-v-7c705e8c] {
|
|
760
760
|
display: grid;
|
|
761
761
|
grid-template-columns: repeat(7, 1fr);
|
|
762
762
|
grid-auto-rows: 1fr;
|
|
763
763
|
}
|
|
764
|
-
.calendar__dates[data-v-
|
|
764
|
+
.calendar__dates[data-v-7c705e8c]::before {
|
|
765
765
|
content: "";
|
|
766
766
|
width: 0;
|
|
767
767
|
padding-bottom: 100%;
|
|
768
768
|
grid-row: 1/1;
|
|
769
769
|
grid-column: 1/1;
|
|
770
770
|
}
|
|
771
|
-
.calendar__dates[data-v-
|
|
771
|
+
.calendar__dates[data-v-7c705e8c] > *:first-child {
|
|
772
772
|
grid-row: 1/1;
|
|
773
773
|
grid-column: 1/1;
|
|
774
774
|
}
|
|
775
|
-
.calendar__date--today[data-v-
|
|
775
|
+
.calendar__date--today[data-v-7c705e8c] {
|
|
776
776
|
background-color: rgb(var(--main)) !important;
|
|
777
777
|
font-weight: bold;
|
|
778
778
|
}
|
|
779
|
-
.calendar__date--in-other-month[data-v-
|
|
779
|
+
.calendar__date--in-other-month[data-v-7c705e8c] {
|
|
780
780
|
color: #aaaaaa; /* Grey text color for dates from adjacent months */
|
|
781
781
|
}
|
|
782
|
-
.calendar__date--selected[data-v-
|
|
782
|
+
.calendar__date--selected[data-v-7c705e8c] {
|
|
783
783
|
background-color: #007bff !important;
|
|
784
784
|
color: #fff;
|
|
785
785
|
}
|
|
786
|
-
.calendar__date--range[data-v-
|
|
786
|
+
.calendar__date--range[data-v-7c705e8c] {
|
|
787
787
|
background-color: #1c6ab8 !important;
|
|
788
788
|
}
|
|
789
|
-
.calendar__date--disabled[data-v-
|
|
789
|
+
.calendar__date--disabled[data-v-7c705e8c], .calendar__date--unavailable[data-v-7c705e8c] {
|
|
790
790
|
color: #ccc;
|
|
791
791
|
cursor: not-allowed;
|
|
792
792
|
text-decoration: line-through;
|
|
793
793
|
opacity: 0.5;
|
|
794
794
|
}
|
|
795
|
-
.calendar__date--low-availability[data-v-
|
|
795
|
+
.calendar__date--low-availability[data-v-7c705e8c] {
|
|
796
796
|
position: relative;
|
|
797
797
|
background-color: #f0f0f0;
|
|
798
798
|
/* border: 1px solid #fff3cd;*/
|
|
799
799
|
/* background-color: #fff3cd;*/
|
|
800
800
|
}
|
|
801
|
-
.availability-indicator[data-v-
|
|
801
|
+
.availability-indicator[data-v-7c705e8c] {
|
|
802
802
|
position: absolute;
|
|
803
803
|
bottom: 2px;
|
|
804
804
|
right: 2px;
|
|
805
805
|
font-size: 8px;
|
|
806
806
|
color: #6c757d;
|
|
807
807
|
}
|
|
808
|
-
button[data-v-
|
|
808
|
+
button[data-v-7c705e8c]:disabled {
|
|
809
809
|
opacity: 0.5;
|
|
810
810
|
cursor: not-allowed;
|
|
811
811
|
}
|
|
812
|
-
.calendar-tooltip[data-v-
|
|
812
|
+
.calendar-tooltip[data-v-7c705e8c] {
|
|
813
813
|
position: fixed;
|
|
814
814
|
background-color: #333;
|
|
815
815
|
color: white;
|
|
@@ -836,7 +836,7 @@ button[data-v-5feab7b5]:disabled {
|
|
|
836
836
|
width: 100%;
|
|
837
837
|
}
|
|
838
838
|
|
|
839
|
-
.filters-content[data-v-
|
|
839
|
+
.filters-content[data-v-026224ab] {
|
|
840
840
|
max-height: 60vh;
|
|
841
841
|
overflow-y: auto;
|
|
842
842
|
}
|
|
@@ -1439,21 +1439,21 @@ to {
|
|
|
1439
1439
|
margin-left: 0.5rem;
|
|
1440
1440
|
}
|
|
1441
1441
|
|
|
1442
|
-
.notification-badge-container[data-v-
|
|
1442
|
+
.notification-badge-container[data-v-bea4263c] {
|
|
1443
1443
|
position: relative;
|
|
1444
1444
|
display: inline-block;
|
|
1445
1445
|
}
|
|
1446
|
-
.notification-button[data-v-
|
|
1446
|
+
.notification-button[data-v-bea4263c] {
|
|
1447
1447
|
background: none;
|
|
1448
1448
|
border: none;
|
|
1449
1449
|
cursor: pointer;
|
|
1450
1450
|
position: relative;
|
|
1451
1451
|
font-size: 1.2rem;
|
|
1452
1452
|
}
|
|
1453
|
-
.notification-icon[data-v-
|
|
1453
|
+
.notification-icon[data-v-bea4263c] {
|
|
1454
1454
|
font-size: 1.4rem;
|
|
1455
1455
|
}
|
|
1456
|
-
.button-counter[data-v-
|
|
1456
|
+
.button-counter[data-v-bea4263c] {
|
|
1457
1457
|
position: absolute;
|
|
1458
1458
|
right: -8px;
|
|
1459
1459
|
bottom: -8px;
|
|
@@ -1467,8 +1467,8 @@ to {
|
|
|
1467
1467
|
line-height: 16px;
|
|
1468
1468
|
font-size: 10px;
|
|
1469
1469
|
}
|
|
1470
|
-
.notifications-loading[data-v-
|
|
1471
|
-
.notifications-empty[data-v-
|
|
1470
|
+
.notifications-loading[data-v-bea4263c],
|
|
1471
|
+
.notifications-empty[data-v-bea4263c] {
|
|
1472
1472
|
padding: 24px;
|
|
1473
1473
|
text-align: center;
|
|
1474
1474
|
color: rgb(var(--texfw-light));
|
|
@@ -1609,19 +1609,19 @@ to {
|
|
|
1609
1609
|
transform: translateY(0);
|
|
1610
1610
|
}
|
|
1611
1611
|
|
|
1612
|
-
.hidden[data-v-
|
|
1612
|
+
.hidden[data-v-0780c9a9] {
|
|
1613
1613
|
opacity: 0;
|
|
1614
1614
|
width: 0;
|
|
1615
1615
|
display: none;
|
|
1616
1616
|
}
|
|
1617
|
-
.visible[data-v-
|
|
1617
|
+
.visible[data-v-0780c9a9] {
|
|
1618
1618
|
opacity: 1;
|
|
1619
1619
|
display: block;
|
|
1620
1620
|
}
|
|
1621
1621
|
|
|
1622
1622
|
/* Mobile: ВСЕГДА скрываем, показываем ТОЛЬКО по клику меню */
|
|
1623
1623
|
@media (max-width: 1024px) {
|
|
1624
|
-
aside[data-sidebar][data-v-
|
|
1624
|
+
aside[data-sidebar][data-v-0780c9a9] {
|
|
1625
1625
|
position: absolute !important;
|
|
1626
1626
|
left: 0 !important;
|
|
1627
1627
|
transform: translateX(-100%) !important;
|
|
@@ -1630,24 +1630,24 @@ aside[data-sidebar][data-v-499f10e6] {
|
|
|
1630
1630
|
}
|
|
1631
1631
|
|
|
1632
1632
|
/* Показываем ТОЛЬКО когда manual клик (НЕ от SSR state) */
|
|
1633
|
-
aside[data-sidebar].mobile-opened[data-v-
|
|
1633
|
+
aside[data-sidebar].mobile-opened[data-v-0780c9a9] {
|
|
1634
1634
|
transform: translateX(0) !important;
|
|
1635
1635
|
visibility: visible !important;
|
|
1636
1636
|
}
|
|
1637
1637
|
}
|
|
1638
1638
|
|
|
1639
1639
|
/* Scrollbar styles */
|
|
1640
|
-
[data-v-
|
|
1640
|
+
[data-v-0780c9a9]::-webkit-scrollbar {
|
|
1641
1641
|
width: 6px;
|
|
1642
1642
|
}
|
|
1643
|
-
[data-v-
|
|
1643
|
+
[data-v-0780c9a9]::-webkit-scrollbar-track {
|
|
1644
1644
|
background: transparent;
|
|
1645
1645
|
}
|
|
1646
|
-
[data-v-
|
|
1646
|
+
[data-v-0780c9a9]::-webkit-scrollbar-thumb {
|
|
1647
1647
|
background-color: var(--grey-micro);
|
|
1648
1648
|
border-radius: 3px;
|
|
1649
1649
|
}
|
|
1650
|
-
[data-v-
|
|
1650
|
+
[data-v-0780c9a9]::-webkit-scrollbar-thumb:hover {
|
|
1651
1651
|
background-color: var(--grey-small);
|
|
1652
1652
|
}
|
|
1653
1653
|
.eye[data-v-4241147a] {
|
|
@@ -1743,6 +1743,66 @@ to {
|
|
|
1743
1743
|
white-space: pre-line;
|
|
1744
1744
|
word-wrap: break-word;
|
|
1745
1745
|
}
|
|
1746
|
+
.icon-search-popup[data-v-3479d8be] {
|
|
1747
|
+
min-height: 500px;
|
|
1748
|
+
}
|
|
1749
|
+
.icon-grid[data-v-3479d8be] {
|
|
1750
|
+
min-height: 400px;
|
|
1751
|
+
}
|
|
1752
|
+
.icon-item[data-v-3479d8be] {
|
|
1753
|
+
transition: all 0.2s ease;
|
|
1754
|
+
}
|
|
1755
|
+
.icon-item[data-v-3479d8be]:hover {
|
|
1756
|
+
background-color: rgb(var(--light-hover));
|
|
1757
|
+
transform: scale(1.05);
|
|
1758
|
+
}
|
|
1759
|
+
.icon-preview[data-v-3479d8be] {
|
|
1760
|
+
background: rgb(var(--light));
|
|
1761
|
+
border-radius: 8px;
|
|
1762
|
+
}
|
|
1763
|
+
.icon-svg[data-v-3479d8be] {
|
|
1764
|
+
filter: none;
|
|
1765
|
+
}
|
|
1766
|
+
.w-max-800[data-v-3479d8be] {
|
|
1767
|
+
max-width: 800px;
|
|
1768
|
+
width: 90vw;
|
|
1769
|
+
}
|
|
1770
|
+
[data-v-3479d8be] .feed-enter-active,[data-v-3479d8be] .feed-leave-active {
|
|
1771
|
+
transition: all 0.3s ease;
|
|
1772
|
+
}
|
|
1773
|
+
[data-v-3479d8be] .feed-enter-from,[data-v-3479d8be] .feed-leave-to {
|
|
1774
|
+
opacity: 0;
|
|
1775
|
+
transform: scale(0.9);
|
|
1776
|
+
}
|
|
1777
|
+
|
|
1778
|
+
.h-60[data-v-ac4d495b] {
|
|
1779
|
+
height: 60%;
|
|
1780
|
+
}
|
|
1781
|
+
.notification[data-v-ac4d495b] {
|
|
1782
|
+
z-index: 100;
|
|
1783
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
1784
|
+
transition: all 0.3s ease;
|
|
1785
|
+
animation: fadeIn-ac4d495b 0.3s;
|
|
1786
|
+
}
|
|
1787
|
+
@keyframes fadeIn-ac4d495b {
|
|
1788
|
+
from { opacity: 0; transform: translateY(20px);
|
|
1789
|
+
}
|
|
1790
|
+
to { opacity: 1; transform: translateY(0);
|
|
1791
|
+
}
|
|
1792
|
+
}
|
|
1793
|
+
.icon-card .replace-btn[data-v-ac4d495b] {
|
|
1794
|
+
opacity: 0;
|
|
1795
|
+
transition: opacity 0.2s ease;
|
|
1796
|
+
}
|
|
1797
|
+
.icon-card:hover .replace-btn[data-v-ac4d495b] {
|
|
1798
|
+
opacity: 1;
|
|
1799
|
+
}
|
|
1800
|
+
.flex-justify-between[data-v-ac4d495b] {
|
|
1801
|
+
display: flex;
|
|
1802
|
+
justify-content: space-between;
|
|
1803
|
+
align-items: center;
|
|
1804
|
+
}
|
|
1805
|
+
|
|
1746
1806
|
fieldset[disabled] .multiselect {
|
|
1747
1807
|
pointer-events: none;
|
|
1748
1808
|
}
|
|
@@ -2144,7 +2204,7 @@ to {
|
|
|
2144
2204
|
left: 0;
|
|
2145
2205
|
top: 0;
|
|
2146
2206
|
}
|
|
2147
|
-
.field-date__dropdown[data-v-
|
|
2207
|
+
.field-date__dropdown[data-v-0840c48f] {
|
|
2148
2208
|
top: calc(100% + 0.5rem);
|
|
2149
2209
|
left: 0;
|
|
2150
2210
|
z-index: 1000;
|
|
@@ -2158,66 +2218,6 @@ to {
|
|
|
2158
2218
|
}.bg-white-overlay[data-v-0f5877fc] {
|
|
2159
2219
|
background: linear-gradient(0deg, rgba(var(--white), 1) 0%, rgba(var(--white), 0) 100%);
|
|
2160
2220
|
}
|
|
2161
|
-
.icon-search-popup[data-v-3479d8be] {
|
|
2162
|
-
min-height: 500px;
|
|
2163
|
-
}
|
|
2164
|
-
.icon-grid[data-v-3479d8be] {
|
|
2165
|
-
min-height: 400px;
|
|
2166
|
-
}
|
|
2167
|
-
.icon-item[data-v-3479d8be] {
|
|
2168
|
-
transition: all 0.2s ease;
|
|
2169
|
-
}
|
|
2170
|
-
.icon-item[data-v-3479d8be]:hover {
|
|
2171
|
-
background-color: rgb(var(--light-hover));
|
|
2172
|
-
transform: scale(1.05);
|
|
2173
|
-
}
|
|
2174
|
-
.icon-preview[data-v-3479d8be] {
|
|
2175
|
-
background: rgb(var(--light));
|
|
2176
|
-
border-radius: 8px;
|
|
2177
|
-
}
|
|
2178
|
-
.icon-svg[data-v-3479d8be] {
|
|
2179
|
-
filter: none;
|
|
2180
|
-
}
|
|
2181
|
-
.w-max-800[data-v-3479d8be] {
|
|
2182
|
-
max-width: 800px;
|
|
2183
|
-
width: 90vw;
|
|
2184
|
-
}
|
|
2185
|
-
[data-v-3479d8be] .feed-enter-active,[data-v-3479d8be] .feed-leave-active {
|
|
2186
|
-
transition: all 0.3s ease;
|
|
2187
|
-
}
|
|
2188
|
-
[data-v-3479d8be] .feed-enter-from,[data-v-3479d8be] .feed-leave-to {
|
|
2189
|
-
opacity: 0;
|
|
2190
|
-
transform: scale(0.9);
|
|
2191
|
-
}
|
|
2192
|
-
|
|
2193
|
-
.h-60[data-v-ac4d495b] {
|
|
2194
|
-
height: 60%;
|
|
2195
|
-
}
|
|
2196
|
-
.notification[data-v-ac4d495b] {
|
|
2197
|
-
z-index: 100;
|
|
2198
|
-
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
2199
|
-
transition: all 0.3s ease;
|
|
2200
|
-
animation: fadeIn-ac4d495b 0.3s;
|
|
2201
|
-
}
|
|
2202
|
-
@keyframes fadeIn-ac4d495b {
|
|
2203
|
-
from { opacity: 0; transform: translateY(20px);
|
|
2204
|
-
}
|
|
2205
|
-
to { opacity: 1; transform: translateY(0);
|
|
2206
|
-
}
|
|
2207
|
-
}
|
|
2208
|
-
.icon-card .replace-btn[data-v-ac4d495b] {
|
|
2209
|
-
opacity: 0;
|
|
2210
|
-
transition: opacity 0.2s ease;
|
|
2211
|
-
}
|
|
2212
|
-
.icon-card:hover .replace-btn[data-v-ac4d495b] {
|
|
2213
|
-
opacity: 1;
|
|
2214
|
-
}
|
|
2215
|
-
.flex-justify-between[data-v-ac4d495b] {
|
|
2216
|
-
display: flex;
|
|
2217
|
-
justify-content: space-between;
|
|
2218
|
-
align-items: center;
|
|
2219
|
-
}
|
|
2220
|
-
|
|
2221
2221
|
/* Existing styles can stay unchanged */
|
|
2222
2222
|
|
|
2223
2223
|
#eventPage {
|
|
@@ -2691,14 +2691,7 @@ to { opacity: 1; transform: translateY(0);
|
|
|
2691
2691
|
}
|
|
2692
2692
|
.vue-select-header {
|
|
2693
2693
|
height: 3rem;
|
|
2694
|
-
}.shop-cart-item[data-v-1e6239c6]:first-of-type {
|
|
2695
|
-
padding-top: 0;
|
|
2696
2694
|
}
|
|
2697
|
-
/* Добавляем стиль для текста "просрочено" */
|
|
2698
|
-
.t-red[data-v-06132302] {
|
|
2699
|
-
color: red;
|
|
2700
|
-
}
|
|
2701
|
-
|
|
2702
2695
|
.bg-light[data-v-1239e806] {
|
|
2703
2696
|
background-color: var(--color-bg-light, #f8f9fa);
|
|
2704
2697
|
}
|
|
@@ -2712,7 +2705,9 @@ to { opacity: 1; transform: translateY(0);
|
|
|
2712
2705
|
.bg-danger[data-v-7562ca0a] {
|
|
2713
2706
|
background-color: #ef4444;
|
|
2714
2707
|
}
|
|
2715
|
-
|
|
2708
|
+
.shop-cart-item[data-v-1e6239c6]:first-of-type {
|
|
2709
|
+
padding-top: 0;
|
|
2710
|
+
}#map[data-v-e9370e2c]:focus {
|
|
2716
2711
|
outline: none;
|
|
2717
2712
|
}
|
|
2718
2713
|
/* Add styles for the user card component here */
|
|
@@ -3409,10 +3404,10 @@ html.barcode-scanner-active-html {
|
|
|
3409
3404
|
aspect-ratio: 1/1;
|
|
3410
3405
|
height: 100%;
|
|
3411
3406
|
background: #ccc;
|
|
3412
|
-
}.blink[data-v-
|
|
3413
|
-
animation: blink-animation-
|
|
3407
|
+
}.blink[data-v-f82cb957] {
|
|
3408
|
+
animation: blink-animation-f82cb957 1s ease infinite;
|
|
3414
3409
|
}
|
|
3415
|
-
@keyframes blink-animation-
|
|
3410
|
+
@keyframes blink-animation-f82cb957 {
|
|
3416
3411
|
0%, 100% {
|
|
3417
3412
|
opacity: 1;
|
|
3418
3413
|
}
|
package/package.json
CHANGED
|
@@ -528,10 +528,10 @@
|
|
|
528
528
|
<template>
|
|
529
529
|
<div class="t-noselect calendar" :aria-disabled="disabled">
|
|
530
530
|
<div v-if="allowRange && !disablePastDates" class="br-b-1px br-grey-transp-25 gap-thin flex flex-nowrap pd-thin">
|
|
531
|
-
<button @click="selectToday" class="font-second
|
|
532
|
-
<button @click="selectLastWeek" class="font-second
|
|
533
|
-
<button @click="selectLastMonth" class="font-second
|
|
534
|
-
<button @click="selectLastYear" class="font-second
|
|
531
|
+
<button @click="selectToday" class="font-second ws-nowrap pd-thin bg-white radius-small">Today</button>
|
|
532
|
+
<button @click="selectLastWeek" class="font-second ws-nowrap pd-thin bg-white radius-small">Last Week</button>
|
|
533
|
+
<button @click="selectLastMonth" class="font-second ws-nowrap pd-thin bg-white radius-small">Last Month</button>
|
|
534
|
+
<button @click="selectLastYear" class="font-second ws-nowrap pd-thin bg-white radius-small">All time</button>
|
|
535
535
|
</div>
|
|
536
536
|
<div class="pd-thin flex flex-nowrap flex-v-center flex-justify-between">
|
|
537
537
|
<button @click.stop="prevMonth" class="aspect-1x1 pd-thin bg-white radius-extra" :disabled="isPrevMonthDisabled">
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<section class="">
|
|
3
3
|
<div class="mn-b-small gap-small flex-v-center flex-nowrap flex">
|
|
4
|
-
<h4 class="
|
|
4
|
+
<h4 class="ws-nowrap ">
|
|
5
5
|
{{ text }}
|
|
6
6
|
|
|
7
|
-
<span class="uppercase radius-big
|
|
7
|
+
<span class="uppercase radius-big ws-nowrap fw-medium t-white bg-black w-max pd-micro pd-l-thin pd-r-small">
|
|
8
8
|
{{ percentage || completionPercentage }}%
|
|
9
9
|
</span>
|
|
10
10
|
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
}"
|
|
20
20
|
>
|
|
21
21
|
|
|
22
|
-
<span class="uppercase radius-big
|
|
22
|
+
<span class="uppercase radius-big ws-nowrap fw-medium t-white bg-black w-max pd-micro pd-l-thin pd-r-small">
|
|
23
23
|
{{ text_cta }}
|
|
24
24
|
</span>
|
|
25
25
|
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
:showLoader="showLoader"
|
|
19
19
|
:callback="callback"
|
|
20
20
|
:callbackDelay="callbackDelay"
|
|
21
|
-
class="
|
|
21
|
+
class="ws-nowrap fw-medium radius-small uppercase cursor-pointer flex flex-v-center pd-thin w-max hover:bg-fifth fw-semi ease-linear t-black bg-main"
|
|
22
22
|
>
|
|
23
23
|
<span v-if="action" class="desktop-only mn-r-thin">{{action}}</span>
|
|
24
24
|
<IconArrow class="i-medium"/>
|
package/src/modules/TASKS.MD
CHANGED
|
@@ -14,4 +14,29 @@
|
|
|
14
14
|
- `/Users/magicofoz/Development/OZDAO/ozdao.dev/app/martyrs/src/modules/core/models/schemas/common.schema.js`
|
|
15
15
|
- `/Users/magicofoz/Development/OZDAO/ozdao.dev/app/martyrs/src/modules/products/models/category.model.js`
|
|
16
16
|
- `/Users/magicofoz/Development/OZDAO/ozdao.dev/app/martyrs/src/modules/products/controllers/categories.controller.js`
|
|
17
|
-
- Все компоненты фронтенда, использующие статус 'featured'
|
|
17
|
+
- Все компоненты фронтенда, использующие статус 'featured'
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
### Перенос конфигурации модулей в базу данных
|
|
22
|
+
|
|
23
|
+
**Проблема**: Конфигурация модулей (статусы заказов, ставки VAT, fees и т.д.) хранится в `global.config.js`. Это означает:
|
|
24
|
+
- Изменения требуют редеплоя
|
|
25
|
+
- Нет возможности управлять настройками через UI
|
|
26
|
+
- Разные инстансы не могут иметь разные настройки
|
|
27
|
+
|
|
28
|
+
**Решение**: Перенести конфигурацию в базу данных и управлять через бекофис.
|
|
29
|
+
|
|
30
|
+
**Что нужно сделать**:
|
|
31
|
+
1. Создать модель `ModuleSettings` для хранения настроек модулей в БД
|
|
32
|
+
2. Создать страницу в бекофисе `/backoffice/settings` для управления параметрами
|
|
33
|
+
3. Перенести настройки из `global.config.js`:
|
|
34
|
+
- `orders.statuses` - статусы заказов
|
|
35
|
+
- `orders.showFees`, `orders.feesRate` - настройки комиссий
|
|
36
|
+
- `orders.showVat`, `orders.vatRate` - настройки НДС
|
|
37
|
+
- `orders.showDeliveryFee`, `orders.deliveryRate` - настройки доставки
|
|
38
|
+
- Другие параметры модулей
|
|
39
|
+
4. Загружать настройки при старте приложения и кэшировать
|
|
40
|
+
5. Обновить компоненты для получения настроек из store вместо config
|
|
41
|
+
|
|
42
|
+
**Приоритет**: Высокий - статусы заказов особенно критичны для разных проектов
|
|
@@ -161,13 +161,7 @@
|
|
|
161
161
|
<template v-for="(module, moduleName) in modules" :key="moduleName">
|
|
162
162
|
<MenuItem
|
|
163
163
|
v-if="isModuleInstalled(moduleName) && (!module.visible || module.visible(auth))"
|
|
164
|
-
@click="router.push(
|
|
165
|
-
name: `${module.route}`,
|
|
166
|
-
params: {
|
|
167
|
-
_id: route.params._id,
|
|
168
|
-
user: route.params._id
|
|
169
|
-
}
|
|
170
|
-
})"
|
|
164
|
+
@click="router.push(module.path(route.params._id))"
|
|
171
165
|
class="profile-menu-item cursor-pointer"
|
|
172
166
|
>
|
|
173
167
|
<component
|
|
@@ -285,30 +279,30 @@ const { isModuleInstalled } = useGlobalMixins()
|
|
|
285
279
|
const modules = {
|
|
286
280
|
events: {
|
|
287
281
|
displayName: 'Events',
|
|
288
|
-
|
|
282
|
+
path: (_id) => `/users/${_id}/events`,
|
|
289
283
|
icon: IconEvents,
|
|
290
284
|
visible: () => true
|
|
291
285
|
},
|
|
292
286
|
organizations: {
|
|
293
287
|
displayName: 'Groups',
|
|
294
|
-
|
|
288
|
+
path: (_id) => `/users/${_id}/organizations`,
|
|
295
289
|
icon: IconGroups,
|
|
296
290
|
visible: () => true
|
|
297
291
|
},
|
|
298
|
-
|
|
292
|
+
community: {
|
|
299
293
|
displayName: 'Posts',
|
|
300
|
-
|
|
294
|
+
path: (_id) => `/users/${_id}/blogposts`,
|
|
301
295
|
icon: IconCommunity,
|
|
302
296
|
visible: () => true
|
|
303
297
|
},
|
|
304
298
|
orders: {
|
|
305
299
|
displayName: 'Orders',
|
|
306
|
-
|
|
300
|
+
path: (_id) => `/users/${_id}/orders`,
|
|
307
301
|
icon: IconOrders,
|
|
308
302
|
visible: (auth) => auth.state.user && (
|
|
309
|
-
auth.state.user._id === route.params._id ||
|
|
310
|
-
(auth.state.access && auth.state.access.roles &&
|
|
311
|
-
(auth.state.access.roles.includes('ROLE_MODERATOR') ||
|
|
303
|
+
auth.state.user._id === route.params._id ||
|
|
304
|
+
(auth.state.access && auth.state.access.roles &&
|
|
305
|
+
(auth.state.access.roles.includes('ROLE_MODERATOR') ||
|
|
312
306
|
auth.state.access.roles.includes('ROLE_ADMIN'))
|
|
313
307
|
)
|
|
314
308
|
)
|