@ozdao/martyrs 0.2.550 → 0.2.552
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/__vite-browser-external-l0sNRNKZ.js +1 -0
- package/dist/_virtual/__vite-browser-external.js +2 -0
- package/dist/_virtual/__vite-browser-external.js.map +1 -0
- package/dist/builder.js +86 -4
- package/dist/{main-BkG7nL3U.js → main-Bywjlw2D.js} +1891 -1861
- 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/Dropdown/{Dropdown.vue2.js → Dropdown.vue.js} +6 -4
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue.js.map +1 -0
- package/dist/martyrs/src/components/EditImages/{EditImages.vue.js → EditImages.vue2.js} +2 -2
- package/dist/martyrs/src/components/EditImages/{EditImages.vue.cjs.map → EditImages.vue2.js.map} +1 -1
- package/dist/martyrs/src/components/Feed/Feed.vue.js +2 -2
- package/dist/martyrs/src/components/FieldBig/FieldBig.vue.js +1 -1
- package/dist/martyrs/src/components/FieldPhone/click-outside.js +3 -1
- package/dist/martyrs/src/components/FieldPhone/click-outside.js.map +1 -1
- package/dist/martyrs/src/components/FieldTags/{BlockTags.vue2.js → BlockTags.vue.js} +3 -3
- package/dist/martyrs/src/components/FieldTags/BlockTags.vue.js.map +1 -0
- package/dist/martyrs/src/components/FieldTags/{FieldTags.vue2.js → FieldTags.vue.js} +2 -2
- package/dist/martyrs/src/components/FieldTags/FieldTags.vue.js.map +1 -0
- package/dist/martyrs/src/components/Media/Media.vue.js +19 -6
- package/dist/martyrs/src/components/Media/Media.vue.js.map +1 -1
- package/dist/martyrs/src/components/SelectMulti/{SelectMulti.vue2.js → SelectMulti.vue.js} +2 -2
- package/dist/martyrs/src/components/SelectMulti/SelectMulti.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.vue.cjs.map → Spoiler.vue2.js.map} +1 -1
- package/dist/martyrs/src/components/Tab/{Tab.vue.js → Tab.vue2.js} +2 -2
- package/dist/martyrs/src/components/Tab/{Tab.vue.cjs.map → Tab.vue2.js.map} +1 -1
- package/dist/martyrs/src/components/UploadImage/{UploadImage.vue2.js → UploadImage.vue.js} +2 -2
- package/dist/martyrs/src/components/UploadImage/UploadImage.vue.js.map +1 -0
- package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +3 -2
- package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/auth.client.js +13 -1
- package/dist/martyrs/src/modules/auth/auth.client.js.map +1 -1
- package/dist/martyrs/src/modules/auth/auth.router.js +4 -12
- package/dist/martyrs/src/modules/auth/auth.router.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +13 -11
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js.map +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/store/auth.js +17 -10
- package/dist/martyrs/src/modules/auth/views/store/auth.js.map +1 -1
- package/dist/martyrs/src/modules/backoffice/components/partials/Sidebar.vue.js +1 -1
- package/dist/martyrs/src/modules/chats/store/chat.store.js +9 -9
- package/dist/martyrs/src/modules/chats/store/chat.store.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 +2 -2
- package/dist/martyrs/src/modules/community/components/pages/Posts.vue.js +10 -9
- package/dist/martyrs/src/modules/community/components/pages/Posts.vue.js.map +1 -1
- package/dist/martyrs/src/modules/constructor/components/elements/Card.vue.js +1 -1
- package/dist/martyrs/src/modules/core/core.client.js +29 -30
- package/dist/martyrs/src/modules/core/core.client.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/classes/core.app.js +62 -22
- package/dist/martyrs/src/modules/core/views/classes/core.app.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/classes/{core.i18n.js → i18n.manager.js} +1 -1
- package/dist/martyrs/src/modules/core/views/classes/i18n.manager.js.map +1 -0
- package/dist/martyrs/src/modules/core/views/classes/{module-registry.js → module.manager.js} +47 -8
- package/dist/martyrs/src/modules/core/views/classes/module.manager.js.map +1 -0
- package/dist/martyrs/src/modules/core/views/classes/{session.js → session.manager.js} +3 -3
- package/dist/martyrs/src/modules/core/views/classes/session.manager.js.map +1 -0
- package/dist/martyrs/src/modules/core/views/classes/{core.store.js → store.manager.js} +3 -3
- package/dist/martyrs/src/modules/core/views/classes/store.manager.js.map +1 -0
- package/dist/martyrs/src/modules/core/views/classes/{core.websocket.js → ws.manager.js} +5 -4
- package/dist/martyrs/src/modules/core/views/classes/ws.manager.js.map +1 -0
- package/dist/martyrs/src/modules/core/views/components/blocks/CardHeader.vue.js +2 -2
- package/dist/martyrs/src/modules/core/views/components/blocks/HelpCard.vue.js +4 -3
- package/dist/martyrs/src/modules/core/views/components/blocks/HelpCard.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/App.vue.js +3 -2
- package/dist/martyrs/src/modules/core/views/components/layouts/App.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js +34 -25
- package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js +11 -10
- package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/LocationSelection.vue.js +6 -5
- package/dist/martyrs/src/modules/core/views/components/partials/LocationSelection.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/Navigation.vue.js +12 -11
- package/dist/martyrs/src/modules/core/views/components/partials/Navigation.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/NavigationBar.vue.js +8 -7
- package/dist/martyrs/src/modules/core/views/components/partials/NavigationBar.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/components/partials/Sidebar.vue.js +28 -9
- 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} +2 -2
- package/dist/martyrs/src/modules/core/views/components/sections/{Filters.vue.cjs.map → Filters.vue2.js.map} +1 -1
- package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/sections/Walkthrough.vue.js +1 -6
- package/dist/martyrs/src/modules/core/views/components/sections/Walkthrough.vue.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/mixins/mixins.js +7 -6
- package/dist/martyrs/src/modules/core/views/mixins/mixins.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/plugins/date-picker.plugin.js +6 -5
- package/dist/martyrs/src/modules/core/views/plugins/date-picker.plugin.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/store/core.store.js +157 -140
- package/dist/martyrs/src/modules/core/views/store/core.store.js.map +1 -1
- package/dist/martyrs/src/modules/core/views/utils/vue-app-renderer.js +59 -6
- package/dist/martyrs/src/modules/core/views/utils/vue-app-renderer.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 +5 -5
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +4 -4
- 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 +2 -2
- package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/sections/EditTickets.vue.js +2 -2
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +4 -4
- package/dist/martyrs/src/modules/gallery/store/gallery.js +2 -2
- package/dist/martyrs/src/modules/gallery/store/gallery.js.map +1 -1
- package/dist/martyrs/src/modules/icons/entities/IconMusic.vue.js +5 -3
- package/dist/martyrs/src/modules/icons/entities/IconMusic.vue.js.map +1 -1
- package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.js +1 -1
- 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 +1 -1
- package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.js +1 -1
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +8 -7
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/inventory/store/stock.alerts.store.js +2 -2
- package/dist/martyrs/src/modules/inventory/store/stock.alerts.store.js.map +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionGuide.vue.js +1 -1
- package/dist/martyrs/src/modules/landing/landing.client.js +1 -1
- package/dist/martyrs/src/modules/landing/landing.client.js.map +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.js +5 -4
- package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.js.map +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/pages/Catalog.vue.js +9 -8
- package/dist/martyrs/src/modules/marketplace/views/components/pages/Catalog.vue.js.map +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 +2 -2
- package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +8 -7
- package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +8 -7
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js +8 -7
- package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js.map +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 +8 -7
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js.map +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js +4 -3
- package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js.map +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 -5
- 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 +2 -2
- package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.js +1 -1
- package/dist/martyrs/src/modules/music/music.client.js +4 -4
- package/dist/martyrs/src/modules/music/music.client.js.map +1 -1
- package/dist/martyrs/src/modules/music/music.router.js +2 -4
- package/dist/martyrs/src/modules/music/music.router.js.map +1 -1
- package/dist/martyrs/src/modules/music/store/albums.js +2 -2
- package/dist/martyrs/src/modules/music/store/albums.js.map +1 -1
- package/dist/martyrs/src/modules/music/store/artists.js +2 -2
- package/dist/martyrs/src/modules/music/store/artists.js.map +1 -1
- package/dist/martyrs/src/modules/music/store/genres.js +2 -2
- package/dist/martyrs/src/modules/music/store/genres.js.map +1 -1
- package/dist/martyrs/src/modules/music/store/player.js +11 -11
- package/dist/martyrs/src/modules/music/store/player.js.map +1 -1
- package/dist/martyrs/src/modules/music/store/playlists.js +2 -2
- package/dist/martyrs/src/modules/music/store/playlists.js.map +1 -1
- package/dist/martyrs/src/modules/music/store/tracks.js +2 -2
- package/dist/martyrs/src/modules/music/store/tracks.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/components/layouts/NotificationsLayout.vue.js +7 -7
- package/dist/martyrs/src/modules/notifications/components/layouts/NotificationsLayout.vue.js.map +1 -1
- package/dist/martyrs/src/modules/notifications/components/pages/Notifications.vue.js +1 -1
- package/dist/martyrs/src/modules/notifications/notifications.client.js +17 -8
- package/dist/martyrs/src/modules/notifications/notifications.client.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue.js +5 -4
- package/dist/martyrs/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +21 -19
- 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 +37 -36
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +5 -4
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/partials/ShopCart.vue.js +8 -7
- package/dist/martyrs/src/modules/orders/components/partials/ShopCart.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 +7 -6
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js.map +1 -1
- package/dist/martyrs/src/modules/orders/orders.client.js +1 -1
- package/dist/martyrs/src/modules/orders/orders.client.js.map +1 -1
- package/dist/martyrs/src/modules/orders/store/applications.js +2 -2
- package/dist/martyrs/src/modules/orders/store/applications.js.map +1 -1
- package/dist/martyrs/src/modules/orders/store/customers.store.js +2 -2
- package/dist/martyrs/src/modules/orders/store/customers.store.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.js +3 -35
- package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.js.map +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 +6 -5
- package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js +10 -9
- package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.js +3 -34
- package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +10 -38
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +9 -32
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +5 -5
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js +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 +1 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/organizations.client.js +12 -0
- package/dist/martyrs/src/modules/organizations/organizations.client.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/store/departments.store.js +2 -2
- package/dist/martyrs/src/modules/organizations/store/departments.store.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/store/invites.store.js +2 -2
- package/dist/martyrs/src/modules/organizations/store/invites.store.js.map +1 -1
- package/dist/martyrs/src/modules/organizations/store/memberships.store.js +2 -2
- package/dist/martyrs/src/modules/organizations/store/memberships.store.js.map +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 +1 -1
- package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +13 -12
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +9 -8
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +6 -5
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +12 -11
- 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 +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditIngredients.vue.js +7 -6
- package/dist/martyrs/src/modules/products/components/sections/EditIngredients.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.js +7 -6
- package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js +2 -8
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js.map +1 -1
- package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +2 -2
- package/dist/martyrs/src/modules/products/store/variants.store.js +2 -2
- package/dist/martyrs/src/modules/products/store/variants.store.js.map +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js +3 -3
- package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.js +1 -1
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js +10 -9
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js.map +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js +17 -16
- package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js.map +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 +3 -3
- package/dist/martyrs/src/modules/spots/components/pages/Spots.vue.js +10 -9
- 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 +1 -1
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js +2 -2
- package/dist/martyrs.css +1 -1
- package/dist/martyrs.es.js +1 -1
- package/dist/style.css +70 -41
- package/dist/{web-DvmEV7zh.js → web-i9sCtYxS.js} +1 -1
- package/package.json +1 -1
- package/src/builder/modes/ssr.prod.js +57 -3
- package/src/builder/modes/ssr.rspack.dev.js +63 -7
- package/src/builder/rspack/rspack.config.ssr.client.js +18 -5
- package/src/components/Dropdown/Dropdown.vue +4 -2
- package/src/components/FieldPhone/click-outside.js +3 -1
- package/src/components/Media/Media.vue +84 -56
- package/src/components/UploadImageMultiple/UploadImageMultiple.vue +2 -1
- package/src/modules/auth/auth.client.js +19 -1
- package/src/modules/auth/auth.router.js +5 -11
- package/src/modules/auth/views/components/pages/ProfileEdit.old.vue +3 -1
- package/src/modules/auth/views/components/pages/ProfileEditAccount.vue +5 -3
- package/src/modules/auth/views/store/auth.js +22 -13
- package/src/modules/chats/store/chat.store.js +10 -10
- package/src/modules/community/components/pages/Posts.vue +2 -1
- package/src/modules/core/TASK.MD +3 -1
- package/src/modules/core/core.client.js +15 -10
- package/src/modules/core/views/classes/core.app.js +94 -82
- package/src/modules/core/views/classes/{module-registry.js → module.manager.js} +70 -13
- package/src/modules/core/views/classes/{session.js → session.manager.js} +2 -2
- package/src/modules/core/views/classes/{core.store.js → store.manager.js} +2 -2
- package/src/modules/core/views/classes/{core.websocket.js → ws.manager.js} +4 -3
- package/src/modules/core/views/components/blocks/HelpCard.vue +4 -2
- package/src/modules/core/views/components/layouts/App.vue +6 -4
- package/src/modules/core/views/components/layouts/Client.vue +52 -35
- package/src/modules/core/views/components/partials/Header.vue +9 -7
- package/src/modules/core/views/components/partials/LocationSelection.vue +7 -5
- package/src/modules/core/views/components/partials/Navigation.vue +5 -4
- package/src/modules/core/views/components/partials/NavigationBar.vue +5 -3
- package/src/modules/core/views/components/partials/Sidebar.vue +56 -9
- package/src/modules/core/views/mixins/mixins.js +3 -2
- package/src/modules/core/views/plugins/date-picker.plugin.js +6 -5
- package/src/modules/core/views/store/core.store.js +218 -186
- package/src/modules/core/views/utils/vue-app-renderer.js +87 -9
- package/src/modules/events/components/pages/EditEventTickets.vue +2 -2
- package/src/modules/gallery/store/gallery.js +2 -2
- package/src/modules/governance/views/components/pages/VotingCreate.vue +2 -2
- package/src/modules/icons/entities/IconMusic.vue +1 -1
- package/src/modules/inventory/components/pages/InventoryEdit.vue +3 -2
- package/src/modules/inventory/store/stock.alerts.store.js +2 -2
- package/src/modules/landing/landing.client.js +1 -1
- package/src/modules/marketplace/views/components/layouts/Marketplace.vue +2 -1
- package/src/modules/marketplace/views/components/pages/Catalog.vue +2 -1
- package/src/modules/music/components/cards/TrackListCard.vue +1 -1
- package/src/modules/music/components/forms/AlbumForm.vue +8 -6
- package/src/modules/music/components/forms/ArtistForm.vue +8 -6
- package/src/modules/music/components/forms/PlaylistForm.vue +8 -6
- package/src/modules/music/components/forms/TrackForm.vue +8 -6
- package/src/modules/music/components/pages/Artist.vue +5 -3
- package/src/modules/music/components/pages/Playlist.vue +6 -4
- package/src/modules/music/music.client.js +4 -4
- package/src/modules/music/music.router.js +4 -1
- package/src/modules/music/store/albums.js +2 -2
- package/src/modules/music/store/artists.js +2 -2
- package/src/modules/music/store/genres.js +2 -2
- package/src/modules/music/store/player.js +11 -11
- package/src/modules/music/store/playlists.js +2 -2
- package/src/modules/music/store/tracks.js +2 -2
- package/src/modules/notifications/components/layouts/NotificationsLayout.vue +7 -7
- package/src/modules/notifications/notifications.client.js +22 -8
- package/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue +6 -4
- package/src/modules/orders/components/pages/OrderBackoffice.vue +21 -19
- package/src/modules/orders/components/pages/OrderCreate.vue +13 -12
- package/src/modules/orders/components/pages/OrderCreateBackoffice.vue +6 -4
- package/src/modules/orders/components/partials/ShopCart.vue +8 -7
- package/src/modules/orders/components/sections/FormDelivery.vue +8 -6
- package/src/modules/orders/orders.client.js +1 -1
- package/src/modules/orders/store/applications.js +2 -2
- package/src/modules/orders/store/customers.store.js +2 -2
- package/src/modules/organizations/CLAUDE.md +4 -4
- package/src/modules/organizations/components/blocks/CardOrganization.vue +2 -2
- package/src/modules/organizations/components/forms/AddExistingMembersForm.vue +7 -5
- package/src/modules/organizations/components/forms/DepartmentForm.vue +7 -5
- package/src/modules/organizations/components/pages/Members.vue +4 -2
- package/src/modules/organizations/components/pages/Organization.vue +4 -2
- package/src/modules/organizations/organizations.client.js +18 -0
- package/src/modules/organizations/store/departments.store.js +2 -2
- package/src/modules/organizations/store/invites.store.js +2 -2
- package/src/modules/organizations/store/memberships.store.js +2 -2
- package/src/modules/pages/views/store/pages.store.js +2 -2
- package/src/modules/products/components/pages/Categories.vue +6 -5
- package/src/modules/products/components/pages/CategoryEdit.vue +6 -5
- package/src/modules/products/components/pages/Product.vue +1 -1
- package/src/modules/products/components/pages/ProductEdit.vue +2 -1
- package/src/modules/products/components/pages/Products.vue +8 -7
- package/src/modules/products/components/sections/EditIngredients.vue +7 -6
- package/src/modules/products/components/sections/EditRecommended.vue +4 -3
- package/src/modules/products/components/sections/ProductsPopular.vue +2 -2
- package/src/modules/products/components/sections/ProductsRecommended.vue +1 -7
- package/src/modules/products/products.router.js +0 -1
- package/src/modules/products/store/variants.store.js +2 -2
- package/src/modules/spots/components/layouts/Spots.vue +6 -4
- package/src/modules/spots/components/pages/Map.vue +9 -7
- package/src/modules/spots/components/pages/Spots.vue +6 -4
- package/dist/_virtual/_commonjsHelpers.cjs +0 -9
- package/dist/_virtual/_commonjsHelpers.cjs.map +0 -1
- package/dist/_virtual/_plugin-vue_export-helper.cjs +0 -11
- package/dist/_virtual/_plugin-vue_export-helper.cjs.map +0 -1
- package/dist/_virtual/alignment-pattern.cjs +0 -5
- package/dist/_virtual/alignment-pattern.cjs.map +0 -1
- package/dist/_virtual/browser.cjs +0 -8
- package/dist/_virtual/browser.cjs.map +0 -1
- package/dist/_virtual/browser2.cjs +0 -5
- package/dist/_virtual/browser2.cjs.map +0 -1
- package/dist/_virtual/canvas.cjs +0 -5
- package/dist/_virtual/canvas.cjs.map +0 -1
- package/dist/_virtual/dayjs.min.cjs +0 -8
- package/dist/_virtual/dayjs.min.cjs.map +0 -1
- package/dist/_virtual/dayjs.min2.cjs +0 -5
- package/dist/_virtual/dayjs.min2.cjs.map +0 -1
- package/dist/_virtual/dijkstra.cjs +0 -5
- package/dist/_virtual/dijkstra.cjs.map +0 -1
- package/dist/_virtual/error-correction-code.cjs +0 -5
- package/dist/_virtual/error-correction-code.cjs.map +0 -1
- package/dist/_virtual/error-correction-level.cjs +0 -5
- package/dist/_virtual/error-correction-level.cjs.map +0 -1
- package/dist/_virtual/finder-pattern.cjs +0 -5
- package/dist/_virtual/finder-pattern.cjs.map +0 -1
- package/dist/_virtual/format-info.cjs +0 -5
- package/dist/_virtual/format-info.cjs.map +0 -1
- package/dist/_virtual/galois-field.cjs +0 -5
- package/dist/_virtual/galois-field.cjs.map +0 -1
- package/dist/_virtual/index.cjs +0 -8
- package/dist/_virtual/index.cjs.map +0 -1
- package/dist/_virtual/index2.cjs +0 -5
- package/dist/_virtual/index2.cjs.map +0 -1
- package/dist/_virtual/mask-pattern.cjs +0 -5
- package/dist/_virtual/mask-pattern.cjs.map +0 -1
- package/dist/_virtual/mode.cjs +0 -5
- package/dist/_virtual/mode.cjs.map +0 -1
- package/dist/_virtual/polynomial.cjs +0 -5
- package/dist/_virtual/polynomial.cjs.map +0 -1
- package/dist/_virtual/qrcode.cjs +0 -5
- package/dist/_virtual/qrcode.cjs.map +0 -1
- package/dist/_virtual/regex.cjs +0 -5
- package/dist/_virtual/regex.cjs.map +0 -1
- package/dist/_virtual/segments.cjs +0 -5
- package/dist/_virtual/segments.cjs.map +0 -1
- package/dist/_virtual/svg-tag.cjs +0 -5
- package/dist/_virtual/svg-tag.cjs.map +0 -1
- package/dist/_virtual/utils.cjs +0 -5
- package/dist/_virtual/utils.cjs.map +0 -1
- package/dist/_virtual/utils2.cjs +0 -5
- package/dist/_virtual/utils2.cjs.map +0 -1
- package/dist/_virtual/version-check.cjs +0 -5
- package/dist/_virtual/version-check.cjs.map +0 -1
- package/dist/_virtual/version.cjs +0 -5
- package/dist/_virtual/version.cjs.map +0 -1
- package/dist/_virtual/weekOfYear.cjs +0 -8
- package/dist/_virtual/weekOfYear.cjs.map +0 -1
- package/dist/_virtual/weekOfYear2.cjs +0 -5
- package/dist/_virtual/weekOfYear2.cjs.map +0 -1
- package/dist/abac-gNSxNkX1.cjs +0 -1029
- package/dist/addUserStatusFields-7-66sf45.cjs +0 -86
- package/dist/auth.server.cjs +0 -529
- package/dist/authJwt-BIZ2GIfT.cjs +0 -75
- package/dist/builder.cjs +0 -1142
- package/dist/chats.server.cjs +0 -323
- package/dist/common.schema-BtXLULba.cjs +0 -12
- package/dist/community.server.cjs +0 -840
- package/dist/core.abac-DqDvtkHR.cjs +0 -297
- package/dist/core.logger-BuW7JHMY.cjs +0 -165
- package/dist/core.server.cjs +0 -135
- package/dist/core.verifier-Bi-XLEi9.cjs +0 -651
- package/dist/core.websocket-Cm72lPCs.cjs +0 -374
- package/dist/credentials.schema-DVXaFnXl.cjs +0 -9
- package/dist/crud-CQ3ICbm7.cjs +0 -1176
- package/dist/engagement.schema-DHw4iY_W.cjs +0 -23
- package/dist/events.server.cjs +0 -1410
- package/dist/files.server.cjs +0 -292
- package/dist/gallery.server.cjs +0 -270
- package/dist/index-BFxqqmgh.cjs +0 -186
- package/dist/inventory.server.cjs +0 -1069
- package/dist/mailing-DCvDBHVh.cjs +0 -75
- package/dist/main-CXqpC28l.cjs +0 -11
- package/dist/martyrs/node_modules/.pnpm/@capacitor_core@7.0.1/node_modules/@capacitor/core/dist/index.cjs +0 -485
- package/dist/martyrs/node_modules/.pnpm/@capacitor_core@7.0.1/node_modules/@capacitor/core/dist/index.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/@capacitor_preferences@7.0.0_@capacitor_core@7.0.1/node_modules/@capacitor/preferences/dist/esm/index.cjs +0 -8
- package/dist/martyrs/node_modules/.pnpm/@capacitor_preferences@7.0.0_@capacitor_core@7.0.1/node_modules/@capacitor/preferences/dist/esm/index.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/@capacitor_preferences@7.0.0_@capacitor_core@7.0.1/node_modules/@capacitor/preferences/dist/esm/web.cjs +0 -73
- package/dist/martyrs/node_modules/.pnpm/@capacitor_preferences@7.0.0_@capacitor_core@7.0.1/node_modules/@capacitor/preferences/dist/esm/web.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/bignumber.js@9.1.2/node_modules/bignumber.js/bignumber.cjs +0 -1336
- package/dist/martyrs/node_modules/.pnpm/bignumber.js@9.1.2/node_modules/bignumber.js/bignumber.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/ParseError.cjs +0 -131
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/ParseError.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/PhoneNumber.cjs +0 -209
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/PhoneNumber.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/constants.cjs +0 -22
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/constants.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/format.cjs +0 -166
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/format.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/RFC3966.cjs +0 -14
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/RFC3966.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.cjs +0 -8
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.cjs +0 -27
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/extension/createExtensionPattern.cjs +0 -30
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/extension/createExtensionPattern.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/extension/extractExtension.cjs +0 -24
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/extension/extractExtension.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.cjs +0 -55
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCode.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.cjs +0 -27
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.cjs +0 -38
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/extractNationalNumber.cjs +0 -43
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/extractNationalNumber.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.cjs +0 -46
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/extractPhoneContext.cjs +0 -49
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/extractPhoneContext.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.cjs +0 -30
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.cjs +0 -19
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.cjs +0 -52
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/getIddPrefix.cjs +0 -16
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/getIddPrefix.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/getNumberType.cjs +0 -76
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/getNumberType.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/getPossibleCountriesForNumber.cjs +0 -23
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/getPossibleCountriesForNumber.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/isObject.cjs +0 -8
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/isObject.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/isViablePhoneNumber.cjs +0 -25
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/isViablePhoneNumber.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/matchesEntirely.cjs +0 -8
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/matchesEntirely.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/parseDigits.cjs +0 -80
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/parseDigits.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/stripIddPrefix.cjs +0 -26
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/helpers/stripIddPrefix.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/isPossible.cjs +0 -55
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/isPossible.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/isValid.cjs +0 -17
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/isValid.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/metadata.cjs +0 -539
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/metadata.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/normalizeArguments.cjs +0 -117
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/normalizeArguments.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/parse.cjs +0 -178
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/parse.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.cjs +0 -51
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/parsePhoneNumber.cjs +0 -10
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/parsePhoneNumber.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/parsePhoneNumberWithError_.cjs +0 -39
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/parsePhoneNumberWithError_.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/parsePhoneNumber_.cjs +0 -51
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/parsePhoneNumber_.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/tools/semver-compare.cjs +0 -22
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/es6/tools/semver-compare.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/metadata.min.json.cjs +0 -5
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/metadata.min.json.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/min/exports/parsePhoneNumber.cjs +0 -9
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/min/exports/parsePhoneNumber.cjs.map +0 -1
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/min/exports/withMetadataArgument.cjs +0 -10
- package/dist/martyrs/node_modules/.pnpm/libphonenumber-js@1.12.4/node_modules/libphonenumber-js/min/exports/withMetadataArgument.cjs.map +0 -1
- package/dist/martyrs/src/components/Address/Address.vue.cjs +0 -113
- package/dist/martyrs/src/components/Address/Address.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Block/Block.vue.cjs +0 -83
- package/dist/martyrs/src/components/Block/Block.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Button/Button.vue.cjs +0 -158
- package/dist/martyrs/src/components/Button/Button.vue.js.map +0 -1
- package/dist/martyrs/src/components/Calendar/Calendar.vue2.cjs +0 -571
- package/dist/martyrs/src/components/Calendar/Calendar.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/Checkbox/Checkbox.vue.cjs +0 -98
- package/dist/martyrs/src/components/Checkbox/Checkbox.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Chips/Chips.vue.cjs +0 -28
- package/dist/martyrs/src/components/Chips/Chips.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Countdown/Countdown.vue.cjs +0 -96
- package/dist/martyrs/src/components/Countdown/Countdown.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/DatePicker/DatePicker.vue.cjs +0 -103
- package/dist/martyrs/src/components/DatePicker/DatePicker.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Draggable/Draggable.vue.cjs +0 -106
- package/dist/martyrs/src/components/Draggable/Draggable.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue2.cjs +0 -72
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/Dropdown/Dropdown.vue2.js.map +0 -1
- package/dist/martyrs/src/components/EditImages/EditImages.vue.cjs +0 -95
- package/dist/martyrs/src/components/EditImages/EditImages.vue.js.map +0 -1
- package/dist/martyrs/src/components/EmptyState/EmptyState.vue.cjs +0 -41
- package/dist/martyrs/src/components/EmptyState/EmptyState.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Feed/Carousel.vue.cjs +0 -99
- package/dist/martyrs/src/components/Feed/Carousel.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Feed/Feed.vue.cjs +0 -430
- package/dist/martyrs/src/components/Feed/Feed.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Field/Field.vue.cjs +0 -161
- package/dist/martyrs/src/components/Field/Field.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/FieldBig/FieldBig.vue.cjs +0 -202
- package/dist/martyrs/src/components/FieldBig/FieldBig.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/FieldDate/FieldDate.vue.cjs +0 -183
- package/dist/martyrs/src/components/FieldDate/FieldDate.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/FieldPhone/FieldPhone.vue.cjs +0 -597
- package/dist/martyrs/src/components/FieldPhone/FieldPhone.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/FieldPhone/all-countries.cjs +0 -257
- package/dist/martyrs/src/components/FieldPhone/all-countries.cjs.map +0 -1
- package/dist/martyrs/src/components/FieldPhone/click-outside.cjs +0 -25
- package/dist/martyrs/src/components/FieldPhone/click-outside.cjs.map +0 -1
- package/dist/martyrs/src/components/FieldTags/BlockTags.vue2.cjs +0 -94
- package/dist/martyrs/src/components/FieldTags/BlockTags.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/FieldTags/BlockTags.vue2.js.map +0 -1
- package/dist/martyrs/src/components/FieldTags/FieldTags.vue2.cjs +0 -235
- package/dist/martyrs/src/components/FieldTags/FieldTags.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/FieldTags/FieldTags.vue2.js.map +0 -1
- package/dist/martyrs/src/components/Loader/Loader.vue.cjs +0 -61
- package/dist/martyrs/src/components/Loader/Loader.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue.cjs +0 -166
- package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Map/Map.vue.cjs +0 -62
- package/dist/martyrs/src/components/Map/Map.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Marquee/Marquee.vue.cjs +0 -240
- package/dist/martyrs/src/components/Marquee/Marquee.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Media/Media.vue.cjs +0 -168
- package/dist/martyrs/src/components/Media/Media.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Menu/Menu.vue2.cjs +0 -17
- package/dist/martyrs/src/components/Menu/Menu.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/Menu/MenuItem.vue.cjs +0 -66
- package/dist/martyrs/src/components/Menu/MenuItem.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/PhotoViewer/PhotoViewer.vue.cjs +0 -240
- package/dist/martyrs/src/components/PhotoViewer/PhotoViewer.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Popup/Popup.vue.cjs +0 -107
- package/dist/martyrs/src/components/Popup/Popup.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Radio/Radio.vue.cjs +0 -55
- package/dist/martyrs/src/components/Radio/Radio.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Select/Select.vue.cjs +0 -134
- package/dist/martyrs/src/components/Select/Select.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/SelectMulti/SelectMulti.vue2.cjs +0 -625
- package/dist/martyrs/src/components/SelectMulti/SelectMulti.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/SelectMulti/SelectMulti.vue2.js.map +0 -1
- package/dist/martyrs/src/components/Shader/Shader.vue.cjs +0 -2
- package/dist/martyrs/src/components/Shader/Shader.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Skeleton/Skeleton.vue2.cjs +0 -97
- package/dist/martyrs/src/components/Skeleton/Skeleton.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/Slider/Slider.vue.cjs +0 -168
- package/dist/martyrs/src/components/Slider/Slider.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Spoiler/Spoiler.vue.cjs +0 -73
- package/dist/martyrs/src/components/Spoiler/Spoiler.vue.js.map +0 -1
- package/dist/martyrs/src/components/Status/Snack.vue.cjs +0 -60
- package/dist/martyrs/src/components/Status/Snack.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Status/Status.vue.cjs +0 -46
- package/dist/martyrs/src/components/Status/Status.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Tab/Tab.vue.cjs +0 -74
- package/dist/martyrs/src/components/Tab/Tab.vue.js.map +0 -1
- package/dist/martyrs/src/components/Table/StatusBadge.vue.cjs +0 -25
- package/dist/martyrs/src/components/Table/StatusBadge.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Table/Table.vue.cjs +0 -67
- package/dist/martyrs/src/components/Table/Table.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Text/Text.vue.cjs +0 -40
- package/dist/martyrs/src/components/Text/Text.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Tooltip/Tooltip.vue2.cjs +0 -54
- package/dist/martyrs/src/components/Tooltip/Tooltip.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/Tree/Tree.vue.cjs +0 -78
- package/dist/martyrs/src/components/Tree/Tree.vue.cjs.map +0 -1
- package/dist/martyrs/src/components/Upload/Upload.vue2.cjs +0 -122
- package/dist/martyrs/src/components/Upload/Upload.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/UploadImage/UploadImage.vue2.cjs +0 -219
- package/dist/martyrs/src/components/UploadImage/UploadImage.vue2.cjs.map +0 -1
- package/dist/martyrs/src/components/UploadImage/UploadImage.vue2.js.map +0 -1
- package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +0 -142
- package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/auth.client.cjs +0 -67
- package/dist/martyrs/src/modules/auth/auth.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/auth.router.cjs +0 -350
- package/dist/martyrs/src/modules/auth/auth.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/locales/en.cjs +0 -79
- package/dist/martyrs/src/modules/auth/locales/en.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/locales/index.cjs +0 -10
- package/dist/martyrs/src/modules/auth/locales/index.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/locales/ru.cjs +0 -81
- package/dist/martyrs/src/modules/auth/locales/ru.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/blocks/CardUser.vue.cjs +0 -95
- package/dist/martyrs/src/modules/auth/views/components/blocks/CardUser.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/blocks/ProfileCard.vue.cjs +0 -44
- package/dist/martyrs/src/modules/auth/views/components/blocks/ProfileCard.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.cjs +0 -41
- package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/EnterCode.vue.cjs +0 -166
- package/dist/martyrs/src/modules/auth/views/components/pages/EnterCode.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +0 -118
- package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.cjs +0 -89
- package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs +0 -284
- package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.cjs +0 -85
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs +0 -74
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.cjs +0 -73
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.cjs +0 -116
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditSidebar.vue.cjs +0 -42
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditSidebar.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +0 -145
- package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.cjs +0 -210
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.cjs +0 -154
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/UserDashboard.vue.cjs +0 -186
- package/dist/martyrs/src/modules/auth/views/components/pages/UserDashboard.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/sections/FeaturedUsers.vue.cjs +0 -114
- package/dist/martyrs/src/modules/auth/views/components/sections/FeaturedUsers.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.cjs +0 -360
- package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs +0 -47
- package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/configs/navigation.user.config.cjs +0 -78
- package/dist/martyrs/src/modules/auth/views/configs/navigation.user.config.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/middlewares/auth.validation.cjs +0 -55
- package/dist/martyrs/src/modules/auth/views/middlewares/auth.validation.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/middlewares/ownership.validation.cjs +0 -17
- package/dist/martyrs/src/modules/auth/views/middlewares/ownership.validation.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/store/auth.cjs +0 -255
- package/dist/martyrs/src/modules/auth/views/store/auth.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/store/twofa.cjs +0 -40
- package/dist/martyrs/src/modules/auth/views/store/twofa.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/store/users.cjs +0 -97
- package/dist/martyrs/src/modules/auth/views/store/users.cjs.map +0 -1
- package/dist/martyrs/src/modules/auth/views/validations/inputs.validation.cjs +0 -62
- package/dist/martyrs/src/modules/auth/views/validations/inputs.validation.cjs.map +0 -1
- package/dist/martyrs/src/modules/backoffice/backoffice.client.cjs +0 -36
- package/dist/martyrs/src/modules/backoffice/backoffice.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/backoffice/backoffice.router.cjs +0 -81
- package/dist/martyrs/src/modules/backoffice/backoffice.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.cjs +0 -145
- package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/backoffice/components/partials/Sidebar.vue.cjs +0 -150
- package/dist/martyrs/src/modules/backoffice/components/partials/Sidebar.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/chats/chats.client.cjs +0 -31
- package/dist/martyrs/src/modules/chats/chats.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/chats/components/blocks/ChatMessage.vue.cjs +0 -49
- package/dist/martyrs/src/modules/chats/components/blocks/ChatMessage.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/chats/components/pages/ChatPage.vue.cjs +0 -42
- package/dist/martyrs/src/modules/chats/components/pages/ChatPage.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/chats/components/sections/ChatWindow.vue.cjs +0 -176
- package/dist/martyrs/src/modules/chats/components/sections/ChatWindow.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/chats/store/chat.store.cjs +0 -175
- package/dist/martyrs/src/modules/chats/store/chat.store.cjs.map +0 -1
- package/dist/martyrs/src/modules/community/community.client.cjs +0 -64
- package/dist/martyrs/src/modules/community/community.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/community/community.router.cjs +0 -124
- package/dist/martyrs/src/modules/community/community.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/community/components/blocks/Activity.vue.cjs +0 -59
- package/dist/martyrs/src/modules/community/components/blocks/Activity.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.cjs +0 -124
- package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/community/components/blocks/FooterBlogpost.vue.cjs +0 -92
- package/dist/martyrs/src/modules/community/components/blocks/FooterBlogpost.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.cjs +0 -250
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/community/components/pages/Blog.vue.cjs +0 -83
- package/dist/martyrs/src/modules/community/components/pages/Blog.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.cjs +0 -145
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.cjs +0 -300
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/community/components/pages/Posts.vue.cjs +0 -113
- package/dist/martyrs/src/modules/community/components/pages/Posts.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/community/components/sections/Comment.vue.cjs +0 -157
- package/dist/martyrs/src/modules/community/components/sections/Comment.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/community/components/sections/Comments.vue.cjs +0 -204
- package/dist/martyrs/src/modules/community/components/sections/Comments.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.cjs +0 -72
- package/dist/martyrs/src/modules/community/components/sections/HotPosts.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/community/store/blogposts.cjs +0 -171
- package/dist/martyrs/src/modules/community/store/blogposts.cjs.map +0 -1
- package/dist/martyrs/src/modules/community/store/reactions.cjs +0 -95
- package/dist/martyrs/src/modules/community/store/reactions.cjs.map +0 -1
- package/dist/martyrs/src/modules/constructor/components/elements/Audio.vue.cjs +0 -63
- package/dist/martyrs/src/modules/constructor/components/elements/Audio.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/constructor/components/elements/Card.vue.cjs +0 -79
- package/dist/martyrs/src/modules/constructor/components/elements/Card.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/constructor/components/elements/Embed.vue.cjs +0 -82
- package/dist/martyrs/src/modules/constructor/components/elements/Embed.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/constructor/components/elements/Image.vue.cjs +0 -39
- package/dist/martyrs/src/modules/constructor/components/elements/Image.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/constructor/components/elements/ImageUpload.vue.cjs +0 -90
- package/dist/martyrs/src/modules/constructor/components/elements/ImageUpload.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/constructor/components/elements/Textarea.vue2.cjs +0 -317
- package/dist/martyrs/src/modules/constructor/components/elements/Textarea.vue2.cjs.map +0 -1
- package/dist/martyrs/src/modules/constructor/components/elements/Video.vue.cjs +0 -63
- package/dist/martyrs/src/modules/constructor/components/elements/Video.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/constructor/components/elements/VideoPlayer.vue.cjs +0 -43
- package/dist/martyrs/src/modules/constructor/components/elements/VideoPlayer.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/constructor/components/sections/Constructor.vue.cjs +0 -201
- package/dist/martyrs/src/modules/constructor/components/sections/Constructor.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/constructor/components/sections/Viewer.vue.cjs +0 -64
- package/dist/martyrs/src/modules/constructor/components/sections/Viewer.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/core.client.cjs +0 -113
- package/dist/martyrs/src/modules/core/core.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/locales/en.cjs +0 -32
- package/dist/martyrs/src/modules/core/locales/en.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/locales/ru.cjs +0 -24
- package/dist/martyrs/src/modules/core/locales/ru.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/classes/core.app.cjs +0 -208
- package/dist/martyrs/src/modules/core/views/classes/core.app.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/classes/core.i18n.cjs +0 -71
- package/dist/martyrs/src/modules/core/views/classes/core.i18n.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/classes/core.i18n.js.map +0 -1
- package/dist/martyrs/src/modules/core/views/classes/core.store.cjs +0 -153
- package/dist/martyrs/src/modules/core/views/classes/core.store.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/classes/core.store.js.map +0 -1
- package/dist/martyrs/src/modules/core/views/classes/core.websocket.cjs +0 -298
- package/dist/martyrs/src/modules/core/views/classes/core.websocket.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/classes/core.websocket.js.map +0 -1
- package/dist/martyrs/src/modules/core/views/classes/module-registry.cjs +0 -165
- package/dist/martyrs/src/modules/core/views/classes/module-registry.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/classes/module-registry.js.map +0 -1
- package/dist/martyrs/src/modules/core/views/classes/session.cjs +0 -50
- package/dist/martyrs/src/modules/core/views/classes/session.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/classes/session.js.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/AlertDialog.vue.cjs +0 -43
- package/dist/martyrs/src/modules/core/views/components/blocks/AlertDialog.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/BlockMultiselect.vue.cjs +0 -308
- package/dist/martyrs/src/modules/core/views/components/blocks/BlockMultiselect.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/BlockSearch.vue.cjs +0 -59
- package/dist/martyrs/src/modules/core/views/components/blocks/BlockSearch.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/BlockSorting.vue.cjs +0 -84
- package/dist/martyrs/src/modules/core/views/components/blocks/BlockSorting.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/Card.vue.cjs +0 -76
- package/dist/martyrs/src/modules/core/views/components/blocks/Card.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/CardHeader.vue.cjs +0 -197
- package/dist/martyrs/src/modules/core/views/components/blocks/CardHeader.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/HelpCard.vue.cjs +0 -38
- package/dist/martyrs/src/modules/core/views/components/blocks/HelpCard.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/PopupAuth.vue.cjs +0 -84
- package/dist/martyrs/src/modules/core/views/components/blocks/PopupAuth.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/PopupDateSelector.vue.cjs +0 -184
- package/dist/martyrs/src/modules/core/views/components/blocks/PopupDateSelector.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/elements/ButtonDate.vue.cjs +0 -54
- package/dist/martyrs/src/modules/core/views/components/elements/ButtonDate.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/elements/ButtonSort.vue.cjs +0 -36
- package/dist/martyrs/src/modules/core/views/components/elements/ButtonSort.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/elements/PhotoStack.vue.cjs +0 -64
- package/dist/martyrs/src/modules/core/views/components/elements/PhotoStack.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/layouts/App.vue.cjs +0 -106
- package/dist/martyrs/src/modules/core/views/components/layouts/App.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.cjs +0 -341
- package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/layouts/Empty.vue.cjs +0 -17
- package/dist/martyrs/src/modules/core/views/components/layouts/Empty.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/pages/401.vue.cjs +0 -12
- package/dist/martyrs/src/modules/core/views/components/pages/401.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/pages/404.vue.cjs +0 -12
- package/dist/martyrs/src/modules/core/views/components/pages/404.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/partials/BottomNavigationBar.vue.cjs +0 -116
- package/dist/martyrs/src/modules/core/views/components/partials/BottomNavigationBar.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/partials/CitySelection.vue.cjs +0 -100
- package/dist/martyrs/src/modules/core/views/components/partials/CitySelection.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/partials/Footer.vue.cjs +0 -243
- package/dist/martyrs/src/modules/core/views/components/partials/Footer.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.cjs +0 -179
- package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/partials/LocationSelection.vue.cjs +0 -106
- package/dist/martyrs/src/modules/core/views/components/partials/LocationSelection.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/partials/Navigation.vue.cjs +0 -250
- package/dist/martyrs/src/modules/core/views/components/partials/Navigation.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/partials/NavigationBar.vue.cjs +0 -158
- package/dist/martyrs/src/modules/core/views/components/partials/NavigationBar.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/partials/Sidebar.vue.cjs +0 -105
- package/dist/martyrs/src/modules/core/views/components/partials/Sidebar.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/sections/Filters.vue.cjs +0 -385
- package/dist/martyrs/src/modules/core/views/components/sections/Filters.vue.js.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.cjs +0 -61
- package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/sections/Walkthrough.vue.cjs +0 -307
- package/dist/martyrs/src/modules/core/views/components/sections/Walkthrough.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/localization/get-browser-locale.cjs +0 -14
- package/dist/martyrs/src/modules/core/views/localization/get-browser-locale.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/mixins/mixins.cjs +0 -262
- package/dist/martyrs/src/modules/core/views/mixins/mixins.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/plugins/alert.plugin.cjs +0 -56
- package/dist/martyrs/src/modules/core/views/plugins/alert.plugin.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/plugins/date-picker.plugin.cjs +0 -83
- package/dist/martyrs/src/modules/core/views/plugins/date-picker.plugin.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/plugins/popup.auth.plugin.cjs +0 -70
- package/dist/martyrs/src/modules/core/views/plugins/popup.auth.plugin.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/router/addRoutes.cjs +0 -106
- package/dist/martyrs/src/modules/core/views/router/addRoutes.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/router/scrollBehavior.cjs +0 -33
- package/dist/martyrs/src/modules/core/views/router/scrollBehavior.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/store/core.store.cjs +0 -285
- package/dist/martyrs/src/modules/core/views/store/core.store.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/utils/axios-instance.cjs +0 -17
- package/dist/martyrs/src/modules/core/views/utils/axios-instance.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/utils/polyfills.cjs +0 -26
- package/dist/martyrs/src/modules/core/views/utils/polyfills.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/utils/query-serializer.cjs +0 -100
- package/dist/martyrs/src/modules/core/views/utils/query-serializer.cjs.map +0 -1
- package/dist/martyrs/src/modules/core/views/utils/vue-app-renderer.cjs +0 -111
- package/dist/martyrs/src/modules/core/views/utils/vue-app-renderer.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.cjs +0 -133
- package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/components/blocks/CardEventShort.vue.cjs +0 -80
- package/dist/martyrs/src/modules/events/components/blocks/CardEventShort.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.cjs +0 -174
- package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.cjs +0 -85
- package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/components/layouts/layoutEvents.vue.cjs +0 -36
- package/dist/martyrs/src/modules/events/components/layouts/layoutEvents.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.cjs +0 -422
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.cjs +0 -405
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.cjs +0 -187
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/components/pages/Events.vue.cjs +0 -195
- package/dist/martyrs/src/modules/events/components/pages/Events.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.cjs +0 -141
- package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/components/pages/EventsSearch.vue.cjs +0 -98
- package/dist/martyrs/src/modules/events/components/pages/EventsSearch.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/components/sections/EditTickets.vue.cjs +0 -281
- package/dist/martyrs/src/modules/events/components/sections/EditTickets.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/components/sections/EventsHot.vue.cjs +0 -85
- package/dist/martyrs/src/modules/events/components/sections/EventsHot.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/components/sections/FeaturedEvents.vue.cjs +0 -45
- package/dist/martyrs/src/modules/events/components/sections/FeaturedEvents.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/components/sections/Feed.vue.cjs +0 -168
- package/dist/martyrs/src/modules/events/components/sections/Feed.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/components/sections/HeroEvent.vue.cjs +0 -91
- package/dist/martyrs/src/modules/events/components/sections/HeroEvent.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/components/sections/List.vue.cjs +0 -108
- package/dist/martyrs/src/modules/events/components/sections/List.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/components/sections/SelectDate.vue.cjs +0 -190
- package/dist/martyrs/src/modules/events/components/sections/SelectDate.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/events.client.cjs +0 -61
- package/dist/martyrs/src/modules/events/events.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/router/events.router.cjs +0 -369
- package/dist/martyrs/src/modules/events/router/events.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/store/events.cjs +0 -147
- package/dist/martyrs/src/modules/events/store/events.cjs.map +0 -1
- package/dist/martyrs/src/modules/events/store/tickets.cjs +0 -117
- package/dist/martyrs/src/modules/events/store/tickets.cjs.map +0 -1
- package/dist/martyrs/src/modules/files/files.client.cjs +0 -2
- package/dist/martyrs/src/modules/files/files.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/gallery/components/pages/Gallery.vue.cjs +0 -122
- package/dist/martyrs/src/modules/gallery/components/pages/Gallery.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +0 -277
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/gallery/gallery.client.cjs +0 -33
- package/dist/martyrs/src/modules/gallery/gallery.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/gallery/router/gallery.router.cjs +0 -129
- package/dist/martyrs/src/modules/gallery/router/gallery.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/gallery/store/gallery.cjs +0 -6
- package/dist/martyrs/src/modules/gallery/store/gallery.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/actions/IconDuplicate.vue.cjs +0 -39
- package/dist/martyrs/src/modules/icons/actions/IconDuplicate.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/actions/IconOpenLink.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/actions/IconOpenLink.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/actions/IconShopcartAdd.vue.cjs +0 -33
- package/dist/martyrs/src/modules/icons/actions/IconShopcartAdd.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/actions/IconShow.vue.cjs +0 -49
- package/dist/martyrs/src/modules/icons/actions/IconShow.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/components/IconSearchPopup.vue.cjs +0 -240
- package/dist/martyrs/src/modules/icons/components/IconSearchPopup.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconAddress.vue.cjs +0 -40
- package/dist/martyrs/src/modules/icons/entities/IconAddress.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconBell.vue.cjs +0 -36
- package/dist/martyrs/src/modules/icons/entities/IconBell.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconCalendar.vue.cjs +0 -38
- package/dist/martyrs/src/modules/icons/entities/IconCalendar.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconCatalog.vue.cjs +0 -36
- package/dist/martyrs/src/modules/icons/entities/IconCatalog.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconCommunity.vue.cjs +0 -34
- package/dist/martyrs/src/modules/icons/entities/IconCommunity.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconDate.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/entities/IconDate.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconDiscount.vue.cjs +0 -57
- package/dist/martyrs/src/modules/icons/entities/IconDiscount.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconEarn.vue.cjs +0 -62
- package/dist/martyrs/src/modules/icons/entities/IconEarn.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconEmail.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/entities/IconEmail.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconEvents.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/entities/IconEvents.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconFeatured.vue.cjs +0 -35
- package/dist/martyrs/src/modules/icons/entities/IconFeatured.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconFile.vue.cjs +0 -33
- package/dist/martyrs/src/modules/icons/entities/IconFile.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconFollowing.vue.cjs +0 -55
- package/dist/martyrs/src/modules/icons/entities/IconFollowing.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconGallery.vue.cjs +0 -45
- package/dist/martyrs/src/modules/icons/entities/IconGallery.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconGroups.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/entities/IconGroups.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconHome.vue.cjs +0 -36
- package/dist/martyrs/src/modules/icons/entities/IconHome.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconInfo.vue.cjs +0 -45
- package/dist/martyrs/src/modules/icons/entities/IconInfo.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconLeftovers.vue.cjs +0 -35
- package/dist/martyrs/src/modules/icons/entities/IconLeftovers.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconList.vue.cjs +0 -35
- package/dist/martyrs/src/modules/icons/entities/IconList.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconLock.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/entities/IconLock.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconMusic.vue.cjs +0 -31
- package/dist/martyrs/src/modules/icons/entities/IconMusic.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconOrders.vue.cjs +0 -55
- package/dist/martyrs/src/modules/icons/entities/IconOrders.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconPayments.vue.cjs +0 -34
- package/dist/martyrs/src/modules/icons/entities/IconPayments.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconPhone.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/entities/IconPhone.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconPopular.vue.cjs +0 -33
- package/dist/martyrs/src/modules/icons/entities/IconPopular.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconPrice.vue.cjs +0 -33
- package/dist/martyrs/src/modules/icons/entities/IconPrice.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconProducts.vue.cjs +0 -33
- package/dist/martyrs/src/modules/icons/entities/IconProducts.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconProfile.vue.cjs +0 -29
- package/dist/martyrs/src/modules/icons/entities/IconProfile.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconRecent.vue.cjs +0 -53
- package/dist/martyrs/src/modules/icons/entities/IconRecent.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconSettings.vue.cjs +0 -40
- package/dist/martyrs/src/modules/icons/entities/IconSettings.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconShopcart.vue.cjs +0 -45
- package/dist/martyrs/src/modules/icons/entities/IconShopcart.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/entities/IconTime.vue.cjs +0 -24
- package/dist/martyrs/src/modules/icons/entities/IconTime.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/icons.client.cjs +0 -202
- package/dist/martyrs/src/modules/icons/icons.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/icons.router.cjs +0 -31
- package/dist/martyrs/src/modules/icons/icons.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/labels/LabelAppStore.vue.cjs +0 -20
- package/dist/martyrs/src/modules/icons/labels/LabelAppStore.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/labels/LabelGooglePlay.vue.cjs +0 -20
- package/dist/martyrs/src/modules/icons/labels/LabelGooglePlay.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/logos/Logotype.vue.cjs +0 -26
- package/dist/martyrs/src/modules/icons/logos/Logotype.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconAdd.vue.cjs +0 -35
- package/dist/martyrs/src/modules/icons/navigation/IconAdd.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconArrow.vue.cjs +0 -37
- package/dist/martyrs/src/modules/icons/navigation/IconArrow.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconAttach.vue.cjs +0 -35
- package/dist/martyrs/src/modules/icons/navigation/IconAttach.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconCheck.vue.cjs +0 -37
- package/dist/martyrs/src/modules/icons/navigation/IconCheck.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconCheckmark.vue.cjs +0 -34
- package/dist/martyrs/src/modules/icons/navigation/IconCheckmark.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconChevronBottom.vue.cjs +0 -34
- package/dist/martyrs/src/modules/icons/navigation/IconChevronBottom.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconChevronLeft.vue.cjs +0 -31
- package/dist/martyrs/src/modules/icons/navigation/IconChevronLeft.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconChevronRight.vue.cjs +0 -31
- package/dist/martyrs/src/modules/icons/navigation/IconChevronRight.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconCross.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/navigation/IconCross.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconDelete.vue.cjs +0 -45
- package/dist/martyrs/src/modules/icons/navigation/IconDelete.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconDoubleCheck.vue.cjs +0 -37
- package/dist/martyrs/src/modules/icons/navigation/IconDoubleCheck.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconEdit.vue.cjs +0 -37
- package/dist/martyrs/src/modules/icons/navigation/IconEdit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconEllipsis.vue.cjs +0 -51
- package/dist/martyrs/src/modules/icons/navigation/IconEllipsis.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconFilter.vue.cjs +0 -36
- package/dist/martyrs/src/modules/icons/navigation/IconFilter.vue.cjs.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/IconInfo.vue.cjs +0 -44
- package/dist/martyrs/src/modules/icons/navigation/IconInfo.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconLike.vue.cjs +0 -47
- package/dist/martyrs/src/modules/icons/navigation/IconLike.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconMinus.vue.cjs +0 -34
- package/dist/martyrs/src/modules/icons/navigation/IconMinus.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconMute.vue.cjs +0 -37
- package/dist/martyrs/src/modules/icons/navigation/IconMute.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconPause.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/navigation/IconPause.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconPlay.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/navigation/IconPlay.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconPlus.vue.cjs +0 -35
- package/dist/martyrs/src/modules/icons/navigation/IconPlus.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconRefresh.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/navigation/IconRefresh.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconSearch.vue.cjs +0 -47
- package/dist/martyrs/src/modules/icons/navigation/IconSearch.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconSend.vue.cjs +0 -31
- package/dist/martyrs/src/modules/icons/navigation/IconSend.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconShuffle.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/navigation/IconShuffle.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconSort.vue.cjs +0 -67
- package/dist/martyrs/src/modules/icons/navigation/IconSort.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconUnMute.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/navigation/IconUnMute.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconUpload.vue.cjs +0 -39
- package/dist/martyrs/src/modules/icons/navigation/IconUpload.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/navigation/IconVolume.vue.cjs +0 -37
- package/dist/martyrs/src/modules/icons/navigation/IconVolume.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.cjs +0 -330
- package/dist/martyrs/src/modules/icons/pages/IconsPage.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/placeholders/PlaceholderChat.vue.cjs +0 -31
- package/dist/martyrs/src/modules/icons/placeholders/PlaceholderChat.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/placeholders/PlaceholderImage.vue.cjs +0 -23
- package/dist/martyrs/src/modules/icons/placeholders/PlaceholderImage.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.cjs +0 -31
- package/dist/martyrs/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/placeholders/PlaceholderUserpic.vue.cjs +0 -31
- package/dist/martyrs/src/modules/icons/placeholders/PlaceholderUserpic.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/skeletons/SkeletonBlogpost.vue.cjs +0 -18
- package/dist/martyrs/src/modules/icons/skeletons/SkeletonBlogpost.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/skeletons/SkeletonEvent.vue.cjs +0 -19
- package/dist/martyrs/src/modules/icons/skeletons/SkeletonEvent.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs +0 -18
- package/dist/martyrs/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/skeletons/SkeletonOrganization.vue.cjs +0 -18
- package/dist/martyrs/src/modules/icons/skeletons/SkeletonOrganization.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/socials/dribbble.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/socials/dribbble.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/socials/facebook.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/socials/facebook.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/socials/instagram.vue.cjs +0 -31
- package/dist/martyrs/src/modules/icons/socials/instagram.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/socials/line.vue.cjs +0 -34
- package/dist/martyrs/src/modules/icons/socials/line.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/socials/linkedin.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/socials/linkedin.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/socials/reddit.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/socials/reddit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/socials/telegram.vue.cjs +0 -44
- package/dist/martyrs/src/modules/icons/socials/telegram.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/socials/twitter.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/socials/twitter.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/socials/vk.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/socials/vk.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/socials/whatsapp.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/socials/whatsapp.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/icons/socials/youtube.vue.cjs +0 -32
- package/dist/martyrs/src/modules/icons/socials/youtube.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.cjs +0 -225
- package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/inventory/components/forms/ColumnSettingsMenu.vue.cjs +0 -88
- package/dist/martyrs/src/modules/inventory/components/forms/ColumnSettingsMenu.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/inventory/components/forms/HistoryView.vue.cjs +0 -162
- package/dist/martyrs/src/modules/inventory/components/forms/HistoryView.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.cjs +0 -184
- package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.cjs +0 -324
- package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.cjs +0 -382
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/inventory/inventory.client.cjs +0 -55
- package/dist/martyrs/src/modules/inventory/inventory.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/inventory/router/inventory.router.cjs +0 -36
- package/dist/martyrs/src/modules/inventory/router/inventory.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/inventory/store/inventory.store.cjs +0 -112
- package/dist/martyrs/src/modules/inventory/store/inventory.store.cjs.map +0 -1
- package/dist/martyrs/src/modules/inventory/store/stock.alerts.store.cjs +0 -6
- package/dist/martyrs/src/modules/inventory/store/stock.alerts.store.cjs.map +0 -1
- package/dist/martyrs/src/modules/landing/components/elements/AnimatedGrid.vue.cjs +0 -15
- package/dist/martyrs/src/modules/landing/components/elements/AnimatedGrid.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/landing/components/elements/FloatingImages.vue.cjs +0 -120
- package/dist/martyrs/src/modules/landing/components/elements/FloatingImages.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionEarn.vue.cjs +0 -136
- package/dist/martyrs/src/modules/landing/components/sections/SectionEarn.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionFeatures.vue.cjs +0 -47
- package/dist/martyrs/src/modules/landing/components/sections/SectionFeatures.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionFeaturesImages.vue.cjs +0 -103
- package/dist/martyrs/src/modules/landing/components/sections/SectionFeaturesImages.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionGuide.vue.cjs +0 -70
- package/dist/martyrs/src/modules/landing/components/sections/SectionGuide.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionHeroToken.vue.cjs +0 -85
- package/dist/martyrs/src/modules/landing/components/sections/SectionHeroToken.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionJoinUs.vue.cjs +0 -89
- package/dist/martyrs/src/modules/landing/components/sections/SectionJoinUs.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionMobileApp.vue.cjs +0 -111
- package/dist/martyrs/src/modules/landing/components/sections/SectionMobileApp.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionOverview.vue.cjs +0 -54
- package/dist/martyrs/src/modules/landing/components/sections/SectionOverview.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionRoadmap.vue.cjs +0 -98
- package/dist/martyrs/src/modules/landing/components/sections/SectionRoadmap.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +0 -48
- package/dist/martyrs/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/landing/landing.client.cjs +0 -30
- package/dist/martyrs/src/modules/landing/landing.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/landing/locales/en.cjs +0 -12
- package/dist/martyrs/src/modules/landing/locales/en.cjs.map +0 -1
- package/dist/martyrs/src/modules/landing/locales/index.cjs +0 -10
- package/dist/martyrs/src/modules/landing/locales/index.cjs.map +0 -1
- package/dist/martyrs/src/modules/landing/locales/ru.cjs +0 -12
- package/dist/martyrs/src/modules/landing/locales/ru.cjs.map +0 -1
- package/dist/martyrs/src/modules/marketplace/marketplace.client.cjs +0 -41
- package/dist/martyrs/src/modules/marketplace/marketplace.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/marketplace/marketplace.router.cjs +0 -63
- package/dist/martyrs/src/modules/marketplace/marketplace.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.cjs +0 -325
- package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/marketplace/views/components/pages/Catalog.vue.cjs +0 -73
- package/dist/martyrs/src/modules/marketplace/views/components/pages/Catalog.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/marketplace/views/components/sections/SectionMenu.vue.cjs +0 -107
- package/dist/martyrs/src/modules/marketplace/views/components/sections/SectionMenu.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/marketplace/views/store/marketplace.cjs +0 -54
- package/dist/martyrs/src/modules/marketplace/views/store/marketplace.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.cjs +0 -94
- package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/cards/ArtistCard.vue.cjs +0 -84
- package/dist/martyrs/src/modules/music/components/cards/ArtistCard.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.cjs +0 -95
- package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.cjs +0 -100
- package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.cjs +0 -178
- package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.cjs +0 -437
- package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.cjs +0 -415
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.cjs +0 -434
- package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.cjs +0 -98
- package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.cjs +0 -566
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/layouts/MusicBottomPlayer.vue.cjs +0 -21
- package/dist/martyrs/src/modules/music/components/layouts/MusicBottomPlayer.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.cjs +0 -498
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/pages/AlbumCreate.vue.cjs +0 -14
- package/dist/martyrs/src/modules/music/components/pages/AlbumCreate.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/pages/AlbumEdit.vue.cjs +0 -23
- package/dist/martyrs/src/modules/music/components/pages/AlbumEdit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/pages/Artist.vue.cjs +0 -440
- package/dist/martyrs/src/modules/music/components/pages/Artist.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/pages/ArtistCreate.vue.cjs +0 -14
- package/dist/martyrs/src/modules/music/components/pages/ArtistCreate.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/pages/ArtistEdit.vue.cjs +0 -23
- package/dist/martyrs/src/modules/music/components/pages/ArtistEdit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/pages/MusicHome.vue.cjs +0 -218
- package/dist/martyrs/src/modules/music/components/pages/MusicHome.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.cjs +0 -251
- package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.cjs +0 -658
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/pages/PlaylistCreate.vue.cjs +0 -14
- package/dist/martyrs/src/modules/music/components/pages/PlaylistCreate.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/pages/PlaylistEdit.vue.cjs +0 -23
- package/dist/martyrs/src/modules/music/components/pages/PlaylistEdit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.cjs +0 -335
- package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.cjs +0 -502
- package/dist/martyrs/src/modules/music/components/pages/Track.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.cjs +0 -27
- package/dist/martyrs/src/modules/music/components/pages/TrackCreate.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/pages/TrackEdit.vue.cjs +0 -23
- package/dist/martyrs/src/modules/music/components/pages/TrackEdit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.cjs +0 -212
- package/dist/martyrs/src/modules/music/components/player/MusicPlayer.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/player/TrackProgress.vue.cjs +0 -89
- package/dist/martyrs/src/modules/music/components/player/TrackProgress.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/components/player/VolumeControl.vue.cjs +0 -77
- package/dist/martyrs/src/modules/music/components/player/VolumeControl.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/music.client.cjs +0 -137
- package/dist/martyrs/src/modules/music/music.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/music.router.cjs +0 -228
- package/dist/martyrs/src/modules/music/music.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/store/albums.cjs +0 -167
- package/dist/martyrs/src/modules/music/store/albums.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/store/artists.cjs +0 -162
- package/dist/martyrs/src/modules/music/store/artists.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/store/genres.cjs +0 -123
- package/dist/martyrs/src/modules/music/store/genres.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/store/player.cjs +0 -301
- package/dist/martyrs/src/modules/music/store/player.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/store/playlists.cjs +0 -180
- package/dist/martyrs/src/modules/music/store/playlists.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/store/search.cjs +0 -109
- package/dist/martyrs/src/modules/music/store/search.cjs.map +0 -1
- package/dist/martyrs/src/modules/music/store/tracks.cjs +0 -206
- package/dist/martyrs/src/modules/music/store/tracks.cjs.map +0 -1
- package/dist/martyrs/src/modules/notifications/components/blocks/NotificationItem.vue.cjs +0 -82
- package/dist/martyrs/src/modules/notifications/components/blocks/NotificationItem.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.cjs +0 -142
- package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/notifications/components/layouts/NotificationsLayout.vue.cjs +0 -64
- package/dist/martyrs/src/modules/notifications/components/layouts/NotificationsLayout.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/notifications/components/pages/Notifications.vue.cjs +0 -36
- package/dist/martyrs/src/modules/notifications/components/pages/Notifications.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/notifications/components/sections/NotificationPreferences.vue.cjs +0 -168
- package/dist/martyrs/src/modules/notifications/components/sections/NotificationPreferences.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/notifications/components/sections/NotificationsList.vue.cjs +0 -143
- package/dist/martyrs/src/modules/notifications/components/sections/NotificationsList.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/notifications/notifications.client.cjs +0 -388
- package/dist/martyrs/src/modules/notifications/notifications.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/notifications/notifications.router.cjs +0 -46
- package/dist/martyrs/src/modules/notifications/notifications.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/notifications/store/notifications.store.cjs +0 -310
- package/dist/martyrs/src/modules/notifications/store/notifications.store.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.cjs +0 -86
- package/dist/martyrs/src/modules/orders/components/blocks/CardApplication.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.cjs +0 -103
- package/dist/martyrs/src/modules/orders/components/blocks/CardCustomer.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrder.vue.cjs +0 -154
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrder.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderBackoffice.vue.cjs +0 -112
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderBackoffice.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +0 -194
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderItem.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.cjs +0 -207
- package/dist/martyrs/src/modules/orders/components/blocks/CardOrderUser.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/blocks/StatusHistory.vue.cjs +0 -69
- package/dist/martyrs/src/modules/orders/components/blocks/StatusHistory.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue.cjs +0 -193
- package/dist/martyrs/src/modules/orders/components/elements/FieldSubscribeNewsletter.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/elements/PriceTotal.vue.cjs +0 -132
- package/dist/martyrs/src/modules/orders/components/elements/PriceTotal.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.cjs +0 -138
- package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.cjs +0 -262
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.cjs +0 -173
- package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/icons/IconStatusCanceled.vue.cjs +0 -32
- package/dist/martyrs/src/modules/orders/components/icons/IconStatusCanceled.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/icons/IconStatusConfirmed.vue.cjs +0 -32
- package/dist/martyrs/src/modules/orders/components/icons/IconStatusConfirmed.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/icons/IconStatusCreated.vue.cjs +0 -32
- package/dist/martyrs/src/modules/orders/components/icons/IconStatusCreated.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/icons/IconStatusDelay.vue.cjs +0 -32
- package/dist/martyrs/src/modules/orders/components/icons/IconStatusDelay.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/icons/IconStatusFinished.vue.cjs +0 -32
- package/dist/martyrs/src/modules/orders/components/icons/IconStatusFinished.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/icons/IconStatusInUse.vue.cjs +0 -32
- package/dist/martyrs/src/modules/orders/components/icons/IconStatusInUse.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.cjs +0 -233
- package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.cjs +0 -234
- package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +0 -407
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.cjs +0 -357
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +0 -394
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.cjs +0 -155
- package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/partials/ShopCart.vue.cjs +0 -136
- package/dist/martyrs/src/modules/orders/components/partials/ShopCart.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.cjs +0 -119
- package/dist/martyrs/src/modules/orders/components/sections/ApplicationDetails.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/sections/AskToLogin.vue.cjs +0 -27
- package/dist/martyrs/src/modules/orders/components/sections/AskToLogin.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.cjs +0 -139
- package/dist/martyrs/src/modules/orders/components/sections/CustomerDetails.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/sections/EmptyState.vue.cjs +0 -17
- package/dist/martyrs/src/modules/orders/components/sections/EmptyState.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs +0 -129
- package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/sections/FormPayment.vue.cjs +0 -42
- package/dist/martyrs/src/modules/orders/components/sections/FormPayment.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/components/sections/Succes.vue.cjs +0 -34
- package/dist/martyrs/src/modules/orders/components/sections/Succes.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/locales/en.cjs +0 -38
- package/dist/martyrs/src/modules/orders/locales/en.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/locales/index.cjs +0 -10
- package/dist/martyrs/src/modules/orders/locales/index.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/locales/ru.cjs +0 -38
- package/dist/martyrs/src/modules/orders/locales/ru.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/orders.client.cjs +0 -202
- package/dist/martyrs/src/modules/orders/orders.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/router/applications.router.cjs +0 -17
- package/dist/martyrs/src/modules/orders/router/applications.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/router/customers.router.cjs +0 -18
- package/dist/martyrs/src/modules/orders/router/customers.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/router/orders.router.cjs +0 -80
- package/dist/martyrs/src/modules/orders/router/orders.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/store/applications.cjs +0 -6
- package/dist/martyrs/src/modules/orders/store/applications.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/store/customers.store.cjs +0 -6
- package/dist/martyrs/src/modules/orders/store/customers.store.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/store/models/application.cjs +0 -20
- package/dist/martyrs/src/modules/orders/store/models/application.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/store/models/customer.cjs +0 -50
- package/dist/martyrs/src/modules/orders/store/models/customer.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/store/models/order.cjs +0 -30
- package/dist/martyrs/src/modules/orders/store/models/order.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/store/orders.cjs +0 -166
- package/dist/martyrs/src/modules/orders/store/orders.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/store/shopcart.cjs +0 -175
- package/dist/martyrs/src/modules/orders/store/shopcart.cjs.map +0 -1
- package/dist/martyrs/src/modules/orders/store/testimonials.cjs +0 -63
- package/dist/martyrs/src/modules/orders/store/testimonials.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +0 -80
- package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +0 -157
- package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/Contacts.vue.cjs +0 -72
- package/dist/martyrs/src/modules/organizations/components/blocks/Contacts.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/DepartmentSub.vue.cjs +0 -32
- package/dist/martyrs/src/modules/organizations/components/blocks/DepartmentSub.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/EmptyState.vue.cjs +0 -42
- package/dist/martyrs/src/modules/organizations/components/blocks/EmptyState.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/Rating.vue.cjs +0 -46
- package/dist/martyrs/src/modules/organizations/components/blocks/Rating.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/Socials.vue.cjs +0 -101
- package/dist/martyrs/src/modules/organizations/components/blocks/Socials.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/blocks/Unit.vue.cjs +0 -69
- package/dist/martyrs/src/modules/organizations/components/blocks/Unit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +0 -101
- package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.cjs +0 -195
- package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.cjs +0 -402
- package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.cjs +0 -86
- package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.cjs +0 -131
- package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs +0 -376
- package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs +0 -200
- package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +0 -200
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +0 -162
- package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.cjs +0 -104
- package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.cjs +0 -119
- package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.cjs +0 -148
- package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.cjs +0 -78
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Publics.vue.cjs +0 -52
- package/dist/martyrs/src/modules/organizations/components/sections/Publics.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/components/sections/Unit.vue.cjs +0 -2
- package/dist/martyrs/src/modules/organizations/components/sections/Unit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.cjs +0 -171
- package/dist/martyrs/src/modules/organizations/configs/navigation.organization.config.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/organizations.client.cjs +0 -79
- package/dist/martyrs/src/modules/organizations/organizations.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/organizations.router.cjs +0 -145
- package/dist/martyrs/src/modules/organizations/organizations.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/store/departments.store.cjs +0 -6
- package/dist/martyrs/src/modules/organizations/store/departments.store.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/store/invites.store.cjs +0 -6
- package/dist/martyrs/src/modules/organizations/store/invites.store.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/store/memberships.store.cjs +0 -20
- package/dist/martyrs/src/modules/organizations/store/memberships.store.cjs.map +0 -1
- package/dist/martyrs/src/modules/organizations/store/organizations.cjs +0 -131
- package/dist/martyrs/src/modules/organizations/store/organizations.cjs.map +0 -1
- package/dist/martyrs/src/modules/pages/pages.client.cjs +0 -34
- package/dist/martyrs/src/modules/pages/pages.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/pages/pages.router.cjs +0 -101
- package/dist/martyrs/src/modules/pages/pages.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.cjs +0 -105
- package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/Page.vue.cjs +0 -159
- package/dist/martyrs/src/modules/pages/views/components/pages/Page.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.cjs +0 -113
- package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/pages/views/components/pages/Pages.vue.cjs +0 -57
- package/dist/martyrs/src/modules/pages/views/components/pages/Pages.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +0 -103
- package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/pages/views/store/pages.cjs +0 -65
- package/dist/martyrs/src/modules/pages/views/store/pages.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardCategory.vue.cjs +0 -74
- package/dist/martyrs/src/modules/products/components/blocks/CardCategory.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.cjs +0 -99
- package/dist/martyrs/src/modules/products/components/blocks/CardPosition.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.cjs +0 -121
- package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.cjs +0 -129
- package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.cjs +0 -106
- package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/blocks/ProductVariants.vue.cjs +0 -123
- package/dist/martyrs/src/modules/products/components/blocks/ProductVariants.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/elements/Image360.vue.cjs +0 -136
- package/dist/martyrs/src/modules/products/components/elements/Image360.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/elements/Price.vue.cjs +0 -45
- package/dist/martyrs/src/modules/products/components/elements/Price.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/elements/QuantitySelector.vue.cjs +0 -79
- package/dist/martyrs/src/modules/products/components/elements/QuantitySelector.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/elements/THC.vue.cjs +0 -89
- package/dist/martyrs/src/modules/products/components/elements/THC.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.cjs +0 -197
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs +0 -272
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs +0 -251
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs +0 -438
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +0 -106
- package/dist/martyrs/src/modules/products/components/pages/ProductRecommmendation.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.cjs +0 -454
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.cjs +0 -168
- package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.cjs +0 -318
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/sections/EditIngredients.vue.cjs +0 -147
- package/dist/martyrs/src/modules/products/components/sections/EditIngredients.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.cjs +0 -129
- package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.cjs +0 -500
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/sections/FilterProducts.vue.cjs +0 -195
- package/dist/martyrs/src/modules/products/components/sections/FilterProducts.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/sections/HeroRecommendation.vue.cjs +0 -120
- package/dist/martyrs/src/modules/products/components/sections/HeroRecommendation.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.cjs +0 -142
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.cjs +0 -49
- package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.cjs +0 -155
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.cjs +0 -240
- package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/products.client.cjs +0 -86
- package/dist/martyrs/src/modules/products/products.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/router/categories.router.cjs +0 -174
- package/dist/martyrs/src/modules/products/router/categories.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/router/products.router.cjs +0 -340
- package/dist/martyrs/src/modules/products/router/products.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/store/categories.cjs +0 -123
- package/dist/martyrs/src/modules/products/store/categories.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/store/products.cjs +0 -229
- package/dist/martyrs/src/modules/products/store/products.cjs.map +0 -1
- package/dist/martyrs/src/modules/products/store/variants.store.cjs +0 -6
- package/dist/martyrs/src/modules/products/store/variants.store.cjs.map +0 -1
- package/dist/martyrs/src/modules/rents/rents.client.cjs +0 -45
- package/dist/martyrs/src/modules/rents/rents.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/rents/rents.router.cjs +0 -110
- package/dist/martyrs/src/modules/rents/rents.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/rents/views/components/blocks/CardRent.vue.cjs +0 -55
- package/dist/martyrs/src/modules/rents/views/components/blocks/CardRent.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/DateLabel.vue.cjs +0 -25
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/DateLabel.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttBar.vue.cjs +0 -44
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttBar.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttChart.vue.cjs +0 -403
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttChart.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttHeaderCell.vue.cjs +0 -52
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttHeaderCell.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.cjs +0 -164
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.cjs +0 -156
- package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.cjs +0 -224
- package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/rents/views/store/rents.store.cjs +0 -143
- package/dist/martyrs/src/modules/rents/views/store/rents.store.cjs.map +0 -1
- package/dist/martyrs/src/modules/reports/components/pages/BackofficeReports.vue.cjs +0 -54
- package/dist/martyrs/src/modules/reports/components/pages/BackofficeReports.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.cjs +0 -104
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/reports/reports.client.cjs +0 -29
- package/dist/martyrs/src/modules/reports/reports.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/reports/reports.router.cjs +0 -34
- package/dist/martyrs/src/modules/reports/reports.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/reports/store/reports.cjs +0 -103
- package/dist/martyrs/src/modules/reports/store/reports.cjs.map +0 -1
- package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.cjs +0 -119
- package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +0 -85
- package/dist/martyrs/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/spots/components/blocks/SpotSub.vue.cjs +0 -32
- package/dist/martyrs/src/modules/spots/components/blocks/SpotSub.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.cjs +0 -198
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/spots/components/pages/Map.vue.cjs +0 -531
- package/dist/martyrs/src/modules/spots/components/pages/Map.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/spots/components/pages/Spot.vue.cjs +0 -157
- package/dist/martyrs/src/modules/spots/components/pages/Spot.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.cjs +0 -235
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/spots/components/pages/Spots.vue.cjs +0 -135
- package/dist/martyrs/src/modules/spots/components/pages/Spots.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.cjs +0 -803
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/spots/router/spots.router.cjs +0 -263
- package/dist/martyrs/src/modules/spots/router/spots.router.cjs.map +0 -1
- package/dist/martyrs/src/modules/spots/spots.client.cjs +0 -43
- package/dist/martyrs/src/modules/spots/spots.client.cjs.map +0 -1
- package/dist/martyrs/src/modules/spots/store/spots.cjs +0 -80
- package/dist/martyrs/src/modules/spots/store/spots.cjs.map +0 -1
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CardBalanceReplenished.vue.cjs +0 -43
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CardBalanceReplenished.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs +0 -47
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CashDeposit.vue.cjs +0 -29
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CashDeposit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +0 -89
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.cjs +0 -136
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/wallet/views/components/elements/ConnectMetamask.vue.cjs +0 -183
- package/dist/martyrs/src/modules/wallet/views/components/elements/ConnectMetamask.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.cjs +0 -238
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.cjs.map +0 -1
- package/dist/martyrs/src/modules/wallet/views/localization/wallet.json.cjs +0 -9
- package/dist/martyrs/src/modules/wallet/views/localization/wallet.json.cjs.map +0 -1
- package/dist/martyrs/src/modules/wallet/views/store/wallet.store.cjs +0 -134
- package/dist/martyrs/src/modules/wallet/views/store/wallet.store.cjs.map +0 -1
- package/dist/martyrs.cjs.js +0 -1
- package/dist/metadata.schema-BGykn-_r.cjs +0 -267
- package/dist/music.server.cjs +0 -2114
- package/dist/node_modules/.pnpm/@capacitor-mlkit_barcode-scanning@7.1.0_@capacitor_core@7.0.1/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/definitions.cjs +0 -83
- package/dist/node_modules/.pnpm/@capacitor-mlkit_barcode-scanning@7.1.0_@capacitor_core@7.0.1/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/definitions.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor-mlkit_barcode-scanning@7.1.0_@capacitor_core@7.0.1/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/index.cjs +0 -45
- package/dist/node_modules/.pnpm/@capacitor-mlkit_barcode-scanning@7.1.0_@capacitor_core@7.0.1/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor-mlkit_barcode-scanning@7.1.0_@capacitor_core@7.0.1/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/web.cjs +0 -139
- package/dist/node_modules/.pnpm/@capacitor-mlkit_barcode-scanning@7.1.0_@capacitor_core@7.0.1/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/web.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_core@7.0.1/node_modules/@capacitor/core/dist/index.cjs +0 -485
- package/dist/node_modules/.pnpm/@capacitor_core@7.0.1/node_modules/@capacitor/core/dist/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.0_@capacitor_core@7.0.1/node_modules/@capacitor/device/dist/esm/index.cjs +0 -8
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.0_@capacitor_core@7.0.1/node_modules/@capacitor/device/dist/esm/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.0_@capacitor_core@7.0.1/node_modules/@capacitor/device/dist/esm/web.cjs +0 -146
- package/dist/node_modules/.pnpm/@capacitor_device@7.0.0_@capacitor_core@7.0.1/node_modules/@capacitor/device/dist/esm/web.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.0_@capacitor_core@7.0.1/node_modules/@capacitor/keyboard/dist/esm/definitions.cjs +0 -16
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.0_@capacitor_core@7.0.1/node_modules/@capacitor/keyboard/dist/esm/definitions.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.0_@capacitor_core@7.0.1/node_modules/@capacitor/keyboard/dist/esm/index.cjs +0 -15
- package/dist/node_modules/.pnpm/@capacitor_keyboard@7.0.0_@capacitor_core@7.0.1/node_modules/@capacitor/keyboard/dist/esm/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@capacitor_push-notifications@7.0.0_@capacitor_core@7.0.1/node_modules/@capacitor/push-notifications/dist/esm/index.cjs +0 -6
- package/dist/node_modules/.pnpm/@capacitor_push-notifications@7.0.0_@capacitor_core@7.0.1/node_modules/@capacitor/push-notifications/dist/esm/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@googlemaps_js-api-loader@1.16.8/node_modules/@googlemaps/js-api-loader/dist/index.cjs +0 -335
- package/dist/node_modules/.pnpm/@googlemaps_js-api-loader@1.16.8/node_modules/@googlemaps/js-api-loader/dist/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@unhead_dom@1.11.20/node_modules/@unhead/dom/dist/index.cjs +0 -198
- package/dist/node_modules/.pnpm/@unhead_dom@1.11.20/node_modules/@unhead/dom/dist/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@unhead_shared@1.11.20/node_modules/@unhead/shared/dist/index.cjs +0 -311
- package/dist/node_modules/.pnpm/@unhead_shared@1.11.20/node_modules/@unhead/shared/dist/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@unhead_ssr@1.11.20/node_modules/@unhead/ssr/dist/index.cjs +0 -97
- package/dist/node_modules/.pnpm/@unhead_ssr@1.11.20/node_modules/@unhead/ssr/dist/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@unhead_vue@1.11.20_vue@3.5.13_typescript@5.8.3_/node_modules/@unhead/vue/dist/shared/vue.-sixQ7xP.cjs +0 -38
- package/dist/node_modules/.pnpm/@unhead_vue@1.11.20_vue@3.5.13_typescript@5.8.3_/node_modules/@unhead/vue/dist/shared/vue.-sixQ7xP.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@unhead_vue@1.11.20_vue@3.5.13_typescript@5.8.3_/node_modules/@unhead/vue/dist/shared/vue.ziyDaVMR.cjs +0 -78
- package/dist/node_modules/.pnpm/@unhead_vue@1.11.20_vue@3.5.13_typescript@5.8.3_/node_modules/@unhead/vue/dist/shared/vue.ziyDaVMR.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@vue_server-renderer@3.5.13_vue@3.5.13_typescript@5.8.3_/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.cjs +0 -755
- package/dist/node_modules/.pnpm/@vue_server-renderer@3.5.13_vue@3.5.13_typescript@5.8.3_/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.cjs.map +0 -1
- package/dist/node_modules/.pnpm/@vue_shared@3.5.13/node_modules/@vue/shared/dist/shared.esm-bundler.cjs +0 -209
- package/dist/node_modules/.pnpm/@vue_shared@3.5.13/node_modules/@vue/shared/dist/shared.esm-bundler.cjs.map +0 -1
- package/dist/node_modules/.pnpm/capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.0.1/node_modules/capacitor-plugin-app-tracking-transparency/dist/esm/index.cjs +0 -8
- package/dist/node_modules/.pnpm/capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.0.1/node_modules/capacitor-plugin-app-tracking-transparency/dist/esm/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.0.1/node_modules/capacitor-plugin-app-tracking-transparency/dist/esm/web.cjs +0 -13
- package/dist/node_modules/.pnpm/capacitor-plugin-app-tracking-transparency@2.0.5_@capacitor_core@7.0.1/node_modules/capacitor-plugin-app-tracking-transparency/dist/esm/web.cjs.map +0 -1
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.cjs +0 -287
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.cjs.map +0 -1
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/weekOfYear.cjs +0 -34
- package/dist/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/weekOfYear.cjs.map +0 -1
- package/dist/node_modules/.pnpm/dijkstrajs@1.0.3/node_modules/dijkstrajs/dijkstra.cjs +0 -106
- package/dist/node_modules/.pnpm/dijkstrajs@1.0.3/node_modules/dijkstrajs/dijkstra.cjs.map +0 -1
- package/dist/node_modules/.pnpm/embla-carousel-reactive-utils@8.5.2_embla-carousel@8.5.2/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.cjs +0 -43
- package/dist/node_modules/.pnpm/embla-carousel-reactive-utils@8.5.2_embla-carousel@8.5.2/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.cjs.map +0 -1
- package/dist/node_modules/.pnpm/embla-carousel-vue@8.5.2_vue@3.5.13_typescript@5.8.3_/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs +0 -43
- package/dist/node_modules/.pnpm/embla-carousel-vue@8.5.2_vue@3.5.13_typescript@5.8.3_/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs.map +0 -1
- package/dist/node_modules/.pnpm/embla-carousel@8.5.2/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +0 -1631
- package/dist/node_modules/.pnpm/embla-carousel@8.5.2/node_modules/embla-carousel/esm/embla-carousel.esm.cjs.map +0 -1
- package/dist/node_modules/.pnpm/hookable@5.5.3/node_modules/hookable/dist/index.cjs +0 -209
- package/dist/node_modules/.pnpm/hookable@5.5.3/node_modules/hookable/dist/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.cjs +0 -101
- package/dist/node_modules/.pnpm/js-cookie@3.0.5/node_modules/js-cookie/dist/js.cookie.cjs.map +0 -1
- package/dist/node_modules/.pnpm/lodash.merge@4.6.2/node_modules/lodash.merge/index.cjs +0 -689
- package/dist/node_modules/.pnpm/lodash.merge@4.6.2/node_modules/lodash.merge/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/browser.cjs +0 -79
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/browser.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/can-promise.cjs +0 -14
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/can-promise.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/alignment-pattern.cjs +0 -43
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/alignment-pattern.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/alphanumeric-data.cjs +0 -85
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/alphanumeric-data.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/bit-buffer.cjs +0 -40
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/bit-buffer.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/bit-matrix.cjs +0 -34
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/bit-matrix.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/byte-data.cjs +0 -36
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/byte-data.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/error-correction-code.cjs +0 -367
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/error-correction-code.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/error-correction-level.cjs +0 -52
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/error-correction-level.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/finder-pattern.cjs +0 -25
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/finder-pattern.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/format-info.cjs +0 -24
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/format-info.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/galois-field.cjs +0 -38
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/galois-field.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/kanji-data.cjs +0 -46
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/kanji-data.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/mask-pattern.cjs +0 -149
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/mask-pattern.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/mode.cjs +0 -90
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/mode.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/numeric-data.cjs +0 -41
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/numeric-data.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/polynomial.cjs +0 -44
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/polynomial.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/qrcode.cjs +0 -279
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/qrcode.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/reed-solomon-encoder.cjs +0 -38
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/reed-solomon-encoder.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/regex.cjs +0 -33
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/regex.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/segments.cjs +0 -201
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/segments.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.cjs +0 -84
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/version-check.cjs +0 -14
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/version-check.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/version.cjs +0 -107
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/version.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/canvas.cjs +0 -61
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/canvas.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/svg-tag.cjs +0 -64
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/svg-tag.cjs.map +0 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.cjs +0 -87
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.cjs.map +0 -1
- package/dist/node_modules/.pnpm/unhead@1.11.20/node_modules/unhead/dist/index.cjs +0 -423
- package/dist/node_modules/.pnpm/unhead@1.11.20/node_modules/unhead/dist/index.cjs.map +0 -1
- package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/native.cjs +0 -6
- package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/native.cjs.map +0 -1
- package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/rng.cjs +0 -15
- package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/rng.cjs.map +0 -1
- package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/stringify.cjs +0 -11
- package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/stringify.cjs.map +0 -1
- package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/v4.cjs +0 -20
- package/dist/node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/v4.cjs.map +0 -1
- package/dist/node_modules/.pnpm/vue-draggable-next@2.2.1_sortablejs@1.15.6_vue@3.5.13_typescript@5.8.3_/node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.cjs +0 -2484
- package/dist/node_modules/.pnpm/vue-draggable-next@2.2.1_sortablejs@1.15.6_vue@3.5.13_typescript@5.8.3_/node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.cjs.map +0 -1
- package/dist/notifications.server.cjs +0 -822
- package/dist/orders.server.cjs +0 -1284
- package/dist/organizations.server.cjs +0 -1590
- package/dist/ownership.schema-CRYdbemm.cjs +0 -42
- package/dist/pages.server.cjs +0 -142
- package/dist/products.server.cjs +0 -1677
- package/dist/profile.schema-l0Dk4Ptu.cjs +0 -91
- package/dist/queryProcessor-DJUTwCLN.cjs +0 -329
- package/dist/rents.server.cjs +0 -509
- package/dist/reports.server.cjs +0 -133
- package/dist/socials.schema-CqEHax2w.cjs +0 -24
- package/dist/spots.server.cjs +0 -331
- package/dist/web-pd1gb6DR.cjs +0 -1
- package/src/modules/music/router/library.router.js +0 -26
- package/src/modules/music/router/music.router.js +0 -176
- /package/src/modules/core/views/classes/{core.i18n.js → i18n.manager.js} +0 -0
package/dist/products.server.cjs
DELETED
|
@@ -1,1677 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const core_logger = require("./core.logger-BuW7JHMY.cjs");
|
|
4
|
-
const queryProcessor = require("./queryProcessor-DJUTwCLN.cjs");
|
|
5
|
-
const OpenAI = require("openai");
|
|
6
|
-
const mongoose = require("mongoose");
|
|
7
|
-
const common_schema = require("./common.schema-BtXLULba.cjs");
|
|
8
|
-
const engagement_schema = require("./engagement.schema-DHw4iY_W.cjs");
|
|
9
|
-
const metadata_schema = require("./metadata.schema-BGykn-_r.cjs");
|
|
10
|
-
const ownership_schema = require("./ownership.schema-CRYdbemm.cjs");
|
|
11
|
-
const authJwt = require("./authJwt-BIZ2GIfT.cjs");
|
|
12
|
-
const core_abac = require("./core.abac-DqDvtkHR.cjs");
|
|
13
|
-
const core_verifier = require("./core.verifier-Bi-XLEi9.cjs");
|
|
14
|
-
const crud = require("./crud-CQ3ICbm7.cjs");
|
|
15
|
-
const abac = require("./abac-gNSxNkX1.cjs");
|
|
16
|
-
const controllerFactory$1 = (db) => {
|
|
17
|
-
const Category = db.category;
|
|
18
|
-
const logger = new core_logger.LoggerNamespaced(db);
|
|
19
|
-
const cache = new core_logger.CacheNamespaced();
|
|
20
|
-
const generateSlug = async (name, parentId = null) => {
|
|
21
|
-
const baseSlug = name.toLowerCase().replace(/[^a-z0-9\s-]/g, "").replace(/\s+/g, "-").replace(/-+/g, "-").trim("-");
|
|
22
|
-
let slug = baseSlug;
|
|
23
|
-
let counter = 1;
|
|
24
|
-
while (await Category.exists({ slug, parent: parentId })) {
|
|
25
|
-
slug = `${baseSlug}-${counter++}`;
|
|
26
|
-
}
|
|
27
|
-
return slug;
|
|
28
|
-
};
|
|
29
|
-
const buildTreeFromUrl = (categories, sortParam = "order", sortOrder = "asc") => {
|
|
30
|
-
categories.sort((a, b) => a.url.localeCompare(b.url));
|
|
31
|
-
const tree = [];
|
|
32
|
-
const nodeMap = /* @__PURE__ */ new Map();
|
|
33
|
-
categories.forEach((cat) => {
|
|
34
|
-
const node = { ...cat, children: [] };
|
|
35
|
-
nodeMap.set(cat.url, node);
|
|
36
|
-
const parentUrl = cat.url.substring(0, cat.url.lastIndexOf("/"));
|
|
37
|
-
if (parentUrl && nodeMap.has(parentUrl)) {
|
|
38
|
-
nodeMap.get(parentUrl).children.push(node);
|
|
39
|
-
} else if (cat.level === 0) {
|
|
40
|
-
tree.push(node);
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
const sortNodes = (nodes) => {
|
|
44
|
-
nodes.sort((a, b) => {
|
|
45
|
-
const va = a[sortParam] ?? Number.MAX_SAFE_INTEGER;
|
|
46
|
-
const vb = b[sortParam] ?? Number.MAX_SAFE_INTEGER;
|
|
47
|
-
const diff = typeof va === "number" ? va - vb : String(va).localeCompare(String(vb));
|
|
48
|
-
return sortOrder === "asc" ? diff : -diff;
|
|
49
|
-
});
|
|
50
|
-
nodes.forEach((n) => n.children?.length && sortNodes(n.children));
|
|
51
|
-
};
|
|
52
|
-
sortNodes(tree);
|
|
53
|
-
return tree;
|
|
54
|
-
};
|
|
55
|
-
const updateCategoryPaths = async (categoryId, newParentId = null) => {
|
|
56
|
-
const [category, parent] = await Promise.all([
|
|
57
|
-
Category.findById(categoryId).lean(),
|
|
58
|
-
newParentId ? Category.findById(newParentId).lean() : null
|
|
59
|
-
]);
|
|
60
|
-
if (!category) {
|
|
61
|
-
console.log("Category not found");
|
|
62
|
-
return;
|
|
63
|
-
}
|
|
64
|
-
const oldUrl = category.url;
|
|
65
|
-
const oldLevel = category.level;
|
|
66
|
-
const oldParent = category.parent ? category.parent.toString() : null;
|
|
67
|
-
const newParentStr = newParentId ? newParentId.toString() : null;
|
|
68
|
-
if (oldParent === newParentStr) {
|
|
69
|
-
console.log("Parent not changed, skipping path update");
|
|
70
|
-
return;
|
|
71
|
-
}
|
|
72
|
-
let newLevel = 0;
|
|
73
|
-
let newUrl = `/${category.slug}`;
|
|
74
|
-
if (parent) {
|
|
75
|
-
newLevel = parent.level + 1;
|
|
76
|
-
newUrl = `${parent.url}/${category.slug}`;
|
|
77
|
-
}
|
|
78
|
-
if (oldUrl === newUrl) {
|
|
79
|
-
console.log("URL not changed, skipping update");
|
|
80
|
-
return;
|
|
81
|
-
}
|
|
82
|
-
console.log(`URL change: "${oldUrl}" -> "${newUrl}"`);
|
|
83
|
-
const bulkOps = [];
|
|
84
|
-
bulkOps.push({
|
|
85
|
-
updateOne: {
|
|
86
|
-
filter: { _id: categoryId },
|
|
87
|
-
update: {
|
|
88
|
-
$set: {
|
|
89
|
-
level: newLevel,
|
|
90
|
-
url: newUrl,
|
|
91
|
-
parent: newParentId
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
});
|
|
96
|
-
const levelDiff = newLevel - oldLevel;
|
|
97
|
-
const oldUrlLength = oldUrl.length;
|
|
98
|
-
bulkOps.push({
|
|
99
|
-
updateMany: {
|
|
100
|
-
filter: { url: { $regex: `^${oldUrl.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")}/` } },
|
|
101
|
-
update: [
|
|
102
|
-
{
|
|
103
|
-
$set: {
|
|
104
|
-
url: {
|
|
105
|
-
$concat: [
|
|
106
|
-
newUrl,
|
|
107
|
-
{ $substr: ["$url", oldUrlLength, -1] }
|
|
108
|
-
]
|
|
109
|
-
},
|
|
110
|
-
level: { $add: ["$level", levelDiff] }
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
]
|
|
114
|
-
}
|
|
115
|
-
});
|
|
116
|
-
const result = await Category.bulkWrite(bulkOps, { ordered: false });
|
|
117
|
-
console.log(`Updated ${result.modifiedCount} documents`);
|
|
118
|
-
};
|
|
119
|
-
return {
|
|
120
|
-
async read(req, res) {
|
|
121
|
-
try {
|
|
122
|
-
const {
|
|
123
|
-
_id,
|
|
124
|
-
parent,
|
|
125
|
-
url,
|
|
126
|
-
status,
|
|
127
|
-
search,
|
|
128
|
-
sortParam = "order",
|
|
129
|
-
sortOrder = "asc",
|
|
130
|
-
skip,
|
|
131
|
-
limit,
|
|
132
|
-
root = false,
|
|
133
|
-
owner,
|
|
134
|
-
type,
|
|
135
|
-
tree,
|
|
136
|
-
depth = -1
|
|
137
|
-
} = req.query;
|
|
138
|
-
const depthNum = parseInt(depth, 10);
|
|
139
|
-
const isTree = tree === "true" || tree === true;
|
|
140
|
-
const isRoot = root === "true" || root === true;
|
|
141
|
-
console.log("🚀 Read categories params:", { url, depth: depthNum, tree: isTree, root });
|
|
142
|
-
const cacheKey = JSON.stringify(req.query);
|
|
143
|
-
const cached = await cache.get(cacheKey);
|
|
144
|
-
if (cached) return res.json(cached);
|
|
145
|
-
const match = {
|
|
146
|
-
..._id && { _id: new db.mongoose.Types.ObjectId(_id) },
|
|
147
|
-
...status && { status },
|
|
148
|
-
...search && { name: { $regex: search, $options: "i" } },
|
|
149
|
-
...type && { "owner.type": type },
|
|
150
|
-
...owner && { "owner.target": new db.mongoose.Types.ObjectId(owner) },
|
|
151
|
-
...parent && { parent: new db.mongoose.Types.ObjectId(parent) }
|
|
152
|
-
// Исправлено: было owner вместо parent
|
|
153
|
-
};
|
|
154
|
-
if (url && !_id) {
|
|
155
|
-
if (depth === 0) {
|
|
156
|
-
match.url = url;
|
|
157
|
-
} else if (depth === 1) {
|
|
158
|
-
match.$or = [
|
|
159
|
-
{ url },
|
|
160
|
-
{ url: { $regex: "^${url}/[^/]+$" } }
|
|
161
|
-
];
|
|
162
|
-
} else {
|
|
163
|
-
match.$or = [
|
|
164
|
-
{ url },
|
|
165
|
-
{ url: { $regex: `^${url}/` } }
|
|
166
|
-
];
|
|
167
|
-
}
|
|
168
|
-
} else if (isRoot && !_id) {
|
|
169
|
-
match.url = { $regex: "^/[^/]+$" };
|
|
170
|
-
}
|
|
171
|
-
console.log("🔎 Match object:", JSON.stringify(match, null, 2));
|
|
172
|
-
const pipeline = [
|
|
173
|
-
{ $match: match },
|
|
174
|
-
...queryProcessor.queryProcessorCore.getSortingOptions(sortParam, sortOrder)
|
|
175
|
-
// ...(skip || limit ? globalsQuery.getPaginationOptions(skip, limit) : []),
|
|
176
|
-
];
|
|
177
|
-
console.log("🔧 Pipeline:", JSON.stringify(pipeline, null, 2));
|
|
178
|
-
let results = await Category.aggregate(pipeline);
|
|
179
|
-
console.log("🔍 Aggregate results:", results.length, "categories found");
|
|
180
|
-
console.log("🔍 Results URLs:", results.map((r) => r.url));
|
|
181
|
-
if (url && depthNum > 1) {
|
|
182
|
-
const maxLevel = url.split("/").filter(Boolean).length + depthNum - 1;
|
|
183
|
-
results = results.filter((cat) => {
|
|
184
|
-
const catLevel = cat.url.split("/").filter(Boolean).length;
|
|
185
|
-
return cat.url === url || catLevel <= maxLevel;
|
|
186
|
-
});
|
|
187
|
-
console.log("🔍 After depth filter:", results.length, "categories");
|
|
188
|
-
}
|
|
189
|
-
if (isTree && results.length > 0) {
|
|
190
|
-
console.log("🌳 Building tree from results");
|
|
191
|
-
results = buildTreeFromUrl(results, sortParam, sortOrder);
|
|
192
|
-
} else if (!isTree && depthNum === 1 && url && results.length > 0) {
|
|
193
|
-
console.log("📋 Processing tree=false, depth=1");
|
|
194
|
-
console.log("📋 Looking for main category with url:", url);
|
|
195
|
-
const mainCategory = results.find((c) => c.url === url);
|
|
196
|
-
console.log("📋 Main category found:", !!mainCategory, mainCategory?.url);
|
|
197
|
-
if (mainCategory) {
|
|
198
|
-
const children = results.filter(
|
|
199
|
-
(c) => c.url !== url && c.url.startsWith(url + "/")
|
|
200
|
-
);
|
|
201
|
-
console.log("📋 Children found:", children.length, children.map((c) => c.url));
|
|
202
|
-
mainCategory.children = children;
|
|
203
|
-
results = [mainCategory];
|
|
204
|
-
console.log("📋 Final result with children:", results[0].url, "children:", results[0].children.length);
|
|
205
|
-
} else {
|
|
206
|
-
console.log("❌ Main category not found in results!");
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
const tags = ["categories"];
|
|
210
|
-
if (owner) tags.push(`organization_${owner}`);
|
|
211
|
-
await cache.setWithTags(cacheKey, results, tags);
|
|
212
|
-
console.log("✅ Final results count:", results.length);
|
|
213
|
-
res.json(results);
|
|
214
|
-
} catch (err) {
|
|
215
|
-
logger.error(`Error reading categories: ${err.message}`);
|
|
216
|
-
res.status(500).json({ message: err.message });
|
|
217
|
-
}
|
|
218
|
-
},
|
|
219
|
-
async create(req, res) {
|
|
220
|
-
try {
|
|
221
|
-
const data = req.verifiedBody;
|
|
222
|
-
data.creator ||= { type: "user", target: req.userId };
|
|
223
|
-
data.owner ||= req.query.owner ? { type: "organization", target: req.query.owner } : { type: "platform", target: null };
|
|
224
|
-
const slug = await generateSlug(data.name, data.parent);
|
|
225
|
-
let level = 0;
|
|
226
|
-
let url = `/${slug}`;
|
|
227
|
-
if (data.parent) {
|
|
228
|
-
const parent = await Category.findById(data.parent);
|
|
229
|
-
if (!parent) throw new Error("Parent category not found");
|
|
230
|
-
level = parent.level + 1;
|
|
231
|
-
url = `${parent.url}/${slug}`;
|
|
232
|
-
}
|
|
233
|
-
const maxOrder = await Category.findOne({ parent: data.parent || null }).sort("-order").select("order");
|
|
234
|
-
const order = (maxOrder?.order || 0) + 1;
|
|
235
|
-
const category = await Category.create({
|
|
236
|
-
...data,
|
|
237
|
-
slug,
|
|
238
|
-
url,
|
|
239
|
-
level,
|
|
240
|
-
order
|
|
241
|
-
});
|
|
242
|
-
await cache.delByTags(["categories"]);
|
|
243
|
-
if (category.owner.type === "organization") {
|
|
244
|
-
await cache.delByTag(`organization_${category.owner.target}`);
|
|
245
|
-
}
|
|
246
|
-
logger.info(`Category created: ${category._id}`);
|
|
247
|
-
res.status(201).json(category);
|
|
248
|
-
} catch (err) {
|
|
249
|
-
logger.error(`Error creating category: ${err.message}`);
|
|
250
|
-
res.status(err.message.includes("not found") ? 404 : 500).json({ message: err.message });
|
|
251
|
-
}
|
|
252
|
-
},
|
|
253
|
-
async update(req, res) {
|
|
254
|
-
try {
|
|
255
|
-
const data = req.verifiedBody;
|
|
256
|
-
const oldCategory = await Category.findById(data._id);
|
|
257
|
-
if (!oldCategory) {
|
|
258
|
-
return res.status(404).json({ message: "Category not found" });
|
|
259
|
-
}
|
|
260
|
-
if (data.parent !== void 0 && data.parent != oldCategory.parent) {
|
|
261
|
-
await updateCategoryPaths(data._id, data.parent);
|
|
262
|
-
}
|
|
263
|
-
const updated = await Category.findByIdAndUpdate(
|
|
264
|
-
data._id,
|
|
265
|
-
{ $set: data },
|
|
266
|
-
{ new: true }
|
|
267
|
-
).lean();
|
|
268
|
-
await cache.delByTags(["categories"]);
|
|
269
|
-
if (updated.owner?.type === "organization") {
|
|
270
|
-
await cache.delByTag(`organization_${updated.owner.target}`);
|
|
271
|
-
}
|
|
272
|
-
logger.info(`Category updated: ${data._id}`);
|
|
273
|
-
res.json(updated);
|
|
274
|
-
} catch (err) {
|
|
275
|
-
logger.error(`Category update error: ${err.message}`);
|
|
276
|
-
res.status(500).json({ message: "Failed to update category" });
|
|
277
|
-
}
|
|
278
|
-
},
|
|
279
|
-
async updateOrder(req, res) {
|
|
280
|
-
const startTime = Date.now();
|
|
281
|
-
try {
|
|
282
|
-
console.log("📥 BACKEND RECEIVED:", JSON.stringify(req.body, null, 2));
|
|
283
|
-
const { movedCategory, affectedCategories } = req.verifiedBody;
|
|
284
|
-
if (!affectedCategories || affectedCategories.length === 0) {
|
|
285
|
-
return res.json({ message: "No changes to update" });
|
|
286
|
-
}
|
|
287
|
-
const bulkOps = affectedCategories.map((cat) => ({
|
|
288
|
-
updateOne: {
|
|
289
|
-
filter: { _id: cat._id },
|
|
290
|
-
update: { $set: { order: cat.order } }
|
|
291
|
-
}
|
|
292
|
-
}));
|
|
293
|
-
console.log(`Starting bulkWrite with ${bulkOps.length} operations`);
|
|
294
|
-
const bulkStart = Date.now();
|
|
295
|
-
await Category.bulkWrite(bulkOps, { ordered: false });
|
|
296
|
-
console.log(`BulkWrite completed in ${Date.now() - bulkStart}ms`);
|
|
297
|
-
if (movedCategory) {
|
|
298
|
-
const pathStart = Date.now();
|
|
299
|
-
console.log("Starting updateCategoryPaths...");
|
|
300
|
-
await updateCategoryPaths(movedCategory._id, movedCategory.newParent);
|
|
301
|
-
console.log(`updateCategoryPaths completed in ${Date.now() - pathStart}ms`);
|
|
302
|
-
}
|
|
303
|
-
const cacheStart = Date.now();
|
|
304
|
-
await cache.delByTags(["categories"]);
|
|
305
|
-
console.log(`Cache clear completed in ${Date.now() - cacheStart}ms`);
|
|
306
|
-
const totalTime = Date.now() - startTime;
|
|
307
|
-
console.log(`=== UPDATE ORDER COMPLETE in ${totalTime}ms ===`);
|
|
308
|
-
logger.info(`Categories order updated: ${affectedCategories.length} items in ${totalTime}ms`);
|
|
309
|
-
res.json({ message: "Order updated successfully" });
|
|
310
|
-
} catch (err) {
|
|
311
|
-
logger.error(`Category order update error: ${err.message}`);
|
|
312
|
-
console.error("Full error:", err);
|
|
313
|
-
res.status(500).json({ message: "Failed to update categories order" });
|
|
314
|
-
}
|
|
315
|
-
},
|
|
316
|
-
async delete(req, res) {
|
|
317
|
-
try {
|
|
318
|
-
const category = req.currentResource;
|
|
319
|
-
await Category.updateMany(
|
|
320
|
-
{ parent: category._id },
|
|
321
|
-
{
|
|
322
|
-
$set: { parent: category.parent },
|
|
323
|
-
$inc: { level: -1 }
|
|
324
|
-
}
|
|
325
|
-
);
|
|
326
|
-
if (category.parent) {
|
|
327
|
-
const parent = await Category.findById(category.parent);
|
|
328
|
-
const children = await Category.find({ parent: category.parent });
|
|
329
|
-
for (const child of children) {
|
|
330
|
-
await updateCategoryPaths(child._id, category.parent);
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
await Category.deleteOne({ _id: category._id });
|
|
334
|
-
await cache.delByTags(["categories"]);
|
|
335
|
-
if (category.owner?.type === "organization") {
|
|
336
|
-
await cache.delByTag(`organization_${category.owner.target}`);
|
|
337
|
-
}
|
|
338
|
-
logger.info(`Category deleted: ${category.slug}`);
|
|
339
|
-
res.json({ message: "Category deleted successfully" });
|
|
340
|
-
} catch (err) {
|
|
341
|
-
logger.error(`Error deleting category: ${err.message}`);
|
|
342
|
-
res.status(500).json({ message: err.message });
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
|
-
};
|
|
346
|
-
};
|
|
347
|
-
class OpenAIGlobal {
|
|
348
|
-
constructor() {
|
|
349
|
-
if (OpenAIGlobal.instance) {
|
|
350
|
-
return OpenAIGlobal.instance;
|
|
351
|
-
}
|
|
352
|
-
this.client = new OpenAI({
|
|
353
|
-
organization: process.env.OPENAI_ORG_KEY,
|
|
354
|
-
apiKey: process.env.OPENAI_API_KEY
|
|
355
|
-
});
|
|
356
|
-
this.models = {
|
|
357
|
-
chat: "gpt-3.5-turbo",
|
|
358
|
-
vision: "gpt-4-vision-preview",
|
|
359
|
-
embedding: "text-embedding-ada-002"
|
|
360
|
-
};
|
|
361
|
-
OpenAIGlobal.instance = this;
|
|
362
|
-
}
|
|
363
|
-
/**
|
|
364
|
-
* Generate completions with retry logic for handling JSON parsing errors
|
|
365
|
-
* @param {string} prompt - The prompt text
|
|
366
|
-
* @param {Object} options - Additional options
|
|
367
|
-
* @returns {Promise<Object|string>} - Parsed JSON response or raw content
|
|
368
|
-
*/
|
|
369
|
-
async createChatCompletion(prompt, options = {}) {
|
|
370
|
-
const {
|
|
371
|
-
model = this.models.chat,
|
|
372
|
-
maxRetries = 3,
|
|
373
|
-
temperature = 0.7,
|
|
374
|
-
parseJSON = true,
|
|
375
|
-
systemPrompt = ""
|
|
376
|
-
} = options;
|
|
377
|
-
let attempt = 0;
|
|
378
|
-
while (attempt < maxRetries) {
|
|
379
|
-
try {
|
|
380
|
-
const messages = [];
|
|
381
|
-
if (systemPrompt) {
|
|
382
|
-
messages.push({ role: "system", content: systemPrompt });
|
|
383
|
-
}
|
|
384
|
-
messages.push({ role: "user", content: prompt });
|
|
385
|
-
const response = await this.client.chat.completions.create({
|
|
386
|
-
model,
|
|
387
|
-
messages,
|
|
388
|
-
temperature,
|
|
389
|
-
response_format: parseJSON ? { type: "json_object" } : void 0
|
|
390
|
-
});
|
|
391
|
-
const content = response.choices[0].message.content;
|
|
392
|
-
if (parseJSON) {
|
|
393
|
-
return JSON.parse(content);
|
|
394
|
-
}
|
|
395
|
-
return content;
|
|
396
|
-
} catch (err) {
|
|
397
|
-
attempt++;
|
|
398
|
-
if (err instanceof SyntaxError && attempt < maxRetries) {
|
|
399
|
-
console.error(`Invalid JSON in OpenAI response (attempt ${attempt}/${maxRetries}): ${err.message}`);
|
|
400
|
-
} else if (attempt >= maxRetries) {
|
|
401
|
-
console.error(`Max retries (${maxRetries}) reached for OpenAI completion: ${err.message}`);
|
|
402
|
-
throw err;
|
|
403
|
-
} else {
|
|
404
|
-
console.error(`OpenAI API error (attempt ${attempt}/${maxRetries}): ${err.message}`);
|
|
405
|
-
if (err.status === 429) {
|
|
406
|
-
const waitTime = Math.pow(2, attempt) * 1e3;
|
|
407
|
-
await new Promise((resolve) => setTimeout(resolve, waitTime));
|
|
408
|
-
}
|
|
409
|
-
}
|
|
410
|
-
await new Promise((resolve) => setTimeout(resolve, 1e3 * attempt));
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
/**
|
|
415
|
-
* Get direct access to OpenAI client instance
|
|
416
|
-
* @returns {OpenAI} - OpenAI client instance
|
|
417
|
-
*/
|
|
418
|
-
getClient() {
|
|
419
|
-
return this.client;
|
|
420
|
-
}
|
|
421
|
-
/**
|
|
422
|
-
* Set default model for specific API
|
|
423
|
-
* @param {string} type - API type ('chat', 'vision', 'embedding')
|
|
424
|
-
* @param {string} modelId - Model identifier
|
|
425
|
-
*/
|
|
426
|
-
setDefaultModel(type, modelId) {
|
|
427
|
-
if (this.models[type]) {
|
|
428
|
-
this.models[type] = modelId;
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
}
|
|
432
|
-
const openaiGlobal = new OpenAIGlobal();
|
|
433
|
-
const ObjectId = mongoose.Types.ObjectId;
|
|
434
|
-
function getCategoriesFilterStage(categories) {
|
|
435
|
-
if (!categories) return [];
|
|
436
|
-
if (typeof categories === "string") {
|
|
437
|
-
return [
|
|
438
|
-
{
|
|
439
|
-
$lookup: {
|
|
440
|
-
from: "categories",
|
|
441
|
-
localField: "category",
|
|
442
|
-
foreignField: "_id",
|
|
443
|
-
as: "categoryData"
|
|
444
|
-
}
|
|
445
|
-
},
|
|
446
|
-
{
|
|
447
|
-
$match: {
|
|
448
|
-
"categoryData.url": {
|
|
449
|
-
$regex: `^${categories}(/|$)`
|
|
450
|
-
}
|
|
451
|
-
}
|
|
452
|
-
},
|
|
453
|
-
{
|
|
454
|
-
$project: {
|
|
455
|
-
categoryData: 0
|
|
456
|
-
}
|
|
457
|
-
}
|
|
458
|
-
];
|
|
459
|
-
}
|
|
460
|
-
if (Array.isArray(categories)) {
|
|
461
|
-
const categoryIds = categories.filter(Boolean);
|
|
462
|
-
if (categoryIds.length === 0) return [];
|
|
463
|
-
return [{
|
|
464
|
-
$match: {
|
|
465
|
-
category: {
|
|
466
|
-
$in: categoryIds.map((id) => new ObjectId(id))
|
|
467
|
-
}
|
|
468
|
-
}
|
|
469
|
-
}];
|
|
470
|
-
}
|
|
471
|
-
return [];
|
|
472
|
-
}
|
|
473
|
-
function getDeliveryFilterStage(delivery) {
|
|
474
|
-
if (!delivery) return [];
|
|
475
|
-
const deliveryOptions = delivery.split(",").filter(Boolean);
|
|
476
|
-
if (deliveryOptions.length === 0) return [];
|
|
477
|
-
return [{
|
|
478
|
-
$match: {
|
|
479
|
-
delivery: { $in: deliveryOptions }
|
|
480
|
-
}
|
|
481
|
-
}];
|
|
482
|
-
}
|
|
483
|
-
function getAttributeFiltersStage(filtersString) {
|
|
484
|
-
if (!filtersString) return [];
|
|
485
|
-
try {
|
|
486
|
-
const filters = JSON.parse(filtersString);
|
|
487
|
-
if (!Array.isArray(filters) || filters.length === 0) return [];
|
|
488
|
-
const filterConditions = [];
|
|
489
|
-
filters.forEach((filter) => {
|
|
490
|
-
const { parameter, values, caseSensitive = false } = filter;
|
|
491
|
-
if (!values || values.length === 0) return;
|
|
492
|
-
const conditions = values.map((value) => {
|
|
493
|
-
const valueCondition = caseSensitive ? value : { $regex: `^${escapeRegex(value)}$`, $options: "i" };
|
|
494
|
-
return {
|
|
495
|
-
attributes: {
|
|
496
|
-
$elemMatch: {
|
|
497
|
-
name: parameter,
|
|
498
|
-
value: valueCondition
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
};
|
|
502
|
-
});
|
|
503
|
-
if (conditions.length > 0) {
|
|
504
|
-
filterConditions.push({ $or: conditions });
|
|
505
|
-
}
|
|
506
|
-
});
|
|
507
|
-
return filterConditions.length > 0 ? [{ $match: { $and: filterConditions } }] : [];
|
|
508
|
-
} catch (error) {
|
|
509
|
-
console.error("Error parsing attribute filters:", error);
|
|
510
|
-
return [];
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
function getVariantPriceFilterStage(priceMin, priceMax) {
|
|
514
|
-
const hasValidMin = priceMin && priceMin.trim() !== "";
|
|
515
|
-
const hasValidMax = priceMax && priceMax.trim() !== "";
|
|
516
|
-
if (!hasValidMin && !hasValidMax) return [];
|
|
517
|
-
try {
|
|
518
|
-
const priceCondition = {
|
|
519
|
-
variants: {
|
|
520
|
-
$elemMatch: {
|
|
521
|
-
price: {}
|
|
522
|
-
}
|
|
523
|
-
}
|
|
524
|
-
};
|
|
525
|
-
if (hasValidMin) {
|
|
526
|
-
const minPrice = parseFloat(priceMin);
|
|
527
|
-
if (!isNaN(minPrice)) {
|
|
528
|
-
priceCondition.variants.$elemMatch.price.$gte = minPrice;
|
|
529
|
-
}
|
|
530
|
-
}
|
|
531
|
-
if (hasValidMax) {
|
|
532
|
-
const maxPrice = parseFloat(priceMax);
|
|
533
|
-
if (!isNaN(maxPrice)) {
|
|
534
|
-
priceCondition.variants.$elemMatch.price.$lte = maxPrice;
|
|
535
|
-
}
|
|
536
|
-
}
|
|
537
|
-
return [{ $match: priceCondition }];
|
|
538
|
-
} catch (error) {
|
|
539
|
-
console.error("Error parsing price filters:", error);
|
|
540
|
-
return [];
|
|
541
|
-
}
|
|
542
|
-
}
|
|
543
|
-
function getAvailabilityFilterStage(dateStart, dateEnd) {
|
|
544
|
-
if (!dateStart || !dateEnd) return [];
|
|
545
|
-
const startDate = new Date(dateStart);
|
|
546
|
-
const endDate = new Date(dateEnd);
|
|
547
|
-
if (isNaN(startDate.getTime()) || isNaN(endDate.getTime())) {
|
|
548
|
-
console.warn("Invalid dates provided for availability filter:", { dateStart, dateEnd });
|
|
549
|
-
return [];
|
|
550
|
-
}
|
|
551
|
-
return [
|
|
552
|
-
{
|
|
553
|
-
$lookup: {
|
|
554
|
-
from: "rents",
|
|
555
|
-
let: {
|
|
556
|
-
productId: "$_id",
|
|
557
|
-
dateStart: startDate,
|
|
558
|
-
dateEnd: endDate
|
|
559
|
-
},
|
|
560
|
-
pipeline: [
|
|
561
|
-
{
|
|
562
|
-
$match: {
|
|
563
|
-
$expr: {
|
|
564
|
-
$and: [
|
|
565
|
-
{ $eq: ["$product", "$$productId"] },
|
|
566
|
-
{ $in: ["$status", ["pending", "confirmed", "active"]] },
|
|
567
|
-
{
|
|
568
|
-
$or: [
|
|
569
|
-
{
|
|
570
|
-
$and: [
|
|
571
|
-
{ $gte: ["$startDate", "$$dateStart"] },
|
|
572
|
-
{ $lte: ["$startDate", "$$dateEnd"] }
|
|
573
|
-
]
|
|
574
|
-
},
|
|
575
|
-
{
|
|
576
|
-
$and: [
|
|
577
|
-
{ $gte: ["$endDate", "$$dateStart"] },
|
|
578
|
-
{ $lte: ["$endDate", "$$dateEnd"] }
|
|
579
|
-
]
|
|
580
|
-
},
|
|
581
|
-
{
|
|
582
|
-
$and: [
|
|
583
|
-
{ $lte: ["$startDate", "$$dateStart"] },
|
|
584
|
-
{ $gte: ["$endDate", "$$dateEnd"] }
|
|
585
|
-
]
|
|
586
|
-
}
|
|
587
|
-
]
|
|
588
|
-
}
|
|
589
|
-
]
|
|
590
|
-
}
|
|
591
|
-
}
|
|
592
|
-
},
|
|
593
|
-
{
|
|
594
|
-
$group: {
|
|
595
|
-
_id: null,
|
|
596
|
-
totalRented: { $sum: { $ifNull: ["$available", 1] } }
|
|
597
|
-
}
|
|
598
|
-
}
|
|
599
|
-
],
|
|
600
|
-
as: "rentInfo"
|
|
601
|
-
}
|
|
602
|
-
},
|
|
603
|
-
{
|
|
604
|
-
$addFields: {
|
|
605
|
-
rentedQuantity: {
|
|
606
|
-
$ifNull: [{ $arrayElemAt: ["$rentInfo.totalRented", 0] }, 0]
|
|
607
|
-
},
|
|
608
|
-
availableQuantity: {
|
|
609
|
-
$subtract: [
|
|
610
|
-
{ $ifNull: ["$available", 0] },
|
|
611
|
-
{ $ifNull: [{ $arrayElemAt: ["$rentInfo.totalRented", 0] }, 0] }
|
|
612
|
-
]
|
|
613
|
-
}
|
|
614
|
-
}
|
|
615
|
-
},
|
|
616
|
-
{
|
|
617
|
-
$match: {
|
|
618
|
-
$or: [
|
|
619
|
-
{ availableQuantity: { $gt: 0 } },
|
|
620
|
-
{ $and: [{ rentedQuantity: 0 }, { $or: [{ available: { $gt: 0 } }, { available: { $exists: false } }] }] }
|
|
621
|
-
]
|
|
622
|
-
}
|
|
623
|
-
},
|
|
624
|
-
{
|
|
625
|
-
$project: {
|
|
626
|
-
rentInfo: 0,
|
|
627
|
-
rentedQuantity: 0,
|
|
628
|
-
availableQuantity: 0
|
|
629
|
-
}
|
|
630
|
-
}
|
|
631
|
-
];
|
|
632
|
-
}
|
|
633
|
-
function escapeRegex(string) {
|
|
634
|
-
return string.replace(/[-/\\^$*+?.()|[\]{}]/g, "\\$&");
|
|
635
|
-
}
|
|
636
|
-
const queryProcessorProducts = {
|
|
637
|
-
getAttributeFiltersStage,
|
|
638
|
-
getCategoriesFilterStage,
|
|
639
|
-
getDeliveryFilterStage,
|
|
640
|
-
getVariantPriceFilterStage,
|
|
641
|
-
getAvailabilityFilterStage
|
|
642
|
-
};
|
|
643
|
-
const productLookupConfigs = {
|
|
644
|
-
// NEW: Лукап для availability продуктов из inventory модуля
|
|
645
|
-
inventory: {
|
|
646
|
-
lookup: {
|
|
647
|
-
from: "stockavailabilities",
|
|
648
|
-
let: { productId: "$_id" },
|
|
649
|
-
pipeline: [
|
|
650
|
-
{
|
|
651
|
-
$match: {
|
|
652
|
-
$expr: { $eq: ["$product", "$$productId"] }
|
|
653
|
-
}
|
|
654
|
-
},
|
|
655
|
-
{
|
|
656
|
-
$lookup: {
|
|
657
|
-
from: "spots",
|
|
658
|
-
localField: "storage",
|
|
659
|
-
foreignField: "_id",
|
|
660
|
-
as: "storageInfo"
|
|
661
|
-
}
|
|
662
|
-
},
|
|
663
|
-
{
|
|
664
|
-
$unwind: { path: "$storageInfo", preserveNullAndEmptyArrays: true }
|
|
665
|
-
},
|
|
666
|
-
{
|
|
667
|
-
$project: {
|
|
668
|
-
_id: 1,
|
|
669
|
-
storage: 1,
|
|
670
|
-
storageName: "$storageInfo.profile.name",
|
|
671
|
-
available: 1
|
|
672
|
-
}
|
|
673
|
-
}
|
|
674
|
-
],
|
|
675
|
-
as: "availability"
|
|
676
|
-
},
|
|
677
|
-
additionalStages: [
|
|
678
|
-
// Этап для расчета общего доступного количества
|
|
679
|
-
{
|
|
680
|
-
$addFields: {
|
|
681
|
-
availabilityDetails: "$availability",
|
|
682
|
-
available: {
|
|
683
|
-
$sum: "$availability.available"
|
|
684
|
-
},
|
|
685
|
-
totalStock: {
|
|
686
|
-
$sum: "$availability.quantity"
|
|
687
|
-
},
|
|
688
|
-
storageCount: {
|
|
689
|
-
$size: { $ifNull: ["$availability", []] }
|
|
690
|
-
}
|
|
691
|
-
}
|
|
692
|
-
}
|
|
693
|
-
]
|
|
694
|
-
},
|
|
695
|
-
variants: {
|
|
696
|
-
lookup: {
|
|
697
|
-
from: "variants",
|
|
698
|
-
localField: "_id",
|
|
699
|
-
foreignField: "product",
|
|
700
|
-
as: "variants",
|
|
701
|
-
pipeline: [
|
|
702
|
-
{
|
|
703
|
-
$lookup: {
|
|
704
|
-
from: "stockavailabilities",
|
|
705
|
-
localField: "_id",
|
|
706
|
-
foreignField: "variant",
|
|
707
|
-
as: "availability"
|
|
708
|
-
}
|
|
709
|
-
},
|
|
710
|
-
{
|
|
711
|
-
$addFields: {
|
|
712
|
-
available: {
|
|
713
|
-
$sum: "$availability.available"
|
|
714
|
-
}
|
|
715
|
-
}
|
|
716
|
-
}
|
|
717
|
-
]
|
|
718
|
-
}
|
|
719
|
-
},
|
|
720
|
-
recommended: {
|
|
721
|
-
lookup: {
|
|
722
|
-
from: "products",
|
|
723
|
-
localField: "recommended",
|
|
724
|
-
foreignField: "_id",
|
|
725
|
-
as: "recommended",
|
|
726
|
-
pipeline: [
|
|
727
|
-
{
|
|
728
|
-
$lookup: {
|
|
729
|
-
from: "variants",
|
|
730
|
-
localField: "_id",
|
|
731
|
-
foreignField: "product",
|
|
732
|
-
as: "variants"
|
|
733
|
-
}
|
|
734
|
-
}
|
|
735
|
-
]
|
|
736
|
-
}
|
|
737
|
-
},
|
|
738
|
-
// Лукап для категорий продукта
|
|
739
|
-
categories: {
|
|
740
|
-
lookup: {
|
|
741
|
-
from: "categories",
|
|
742
|
-
localField: "category",
|
|
743
|
-
foreignField: "_id",
|
|
744
|
-
as: "category"
|
|
745
|
-
},
|
|
746
|
-
additionalStages: [{
|
|
747
|
-
$addFields: {
|
|
748
|
-
category: {
|
|
749
|
-
$map: {
|
|
750
|
-
input: "$category",
|
|
751
|
-
as: "cat",
|
|
752
|
-
in: {
|
|
753
|
-
_id: "$$cat._id",
|
|
754
|
-
name: "$$cat.name",
|
|
755
|
-
description: "$$cat.description",
|
|
756
|
-
url: "$$cat.url"
|
|
757
|
-
}
|
|
758
|
-
}
|
|
759
|
-
}
|
|
760
|
-
}
|
|
761
|
-
}]
|
|
762
|
-
}
|
|
763
|
-
};
|
|
764
|
-
const controllerFactory = (db) => {
|
|
765
|
-
const Product = db.product;
|
|
766
|
-
const Variant = db.variant;
|
|
767
|
-
const generateSKU = () => {
|
|
768
|
-
const timestamp = Date.now().toString(36);
|
|
769
|
-
const random = Math.random().toString(36).substring(2, 5);
|
|
770
|
-
return `VAR-${timestamp}-${random}`.toUpperCase();
|
|
771
|
-
};
|
|
772
|
-
const Create = async (req, res) => {
|
|
773
|
-
try {
|
|
774
|
-
const productData = {
|
|
775
|
-
...req.body,
|
|
776
|
-
category: req.body.category?.map((cat) => cat._id) || []
|
|
777
|
-
};
|
|
778
|
-
const { defaultVariant, ...cleanProductData } = productData;
|
|
779
|
-
const product = await new Product(cleanProductData).save();
|
|
780
|
-
if (defaultVariant && defaultVariant.price !== null && defaultVariant.price > 0) {
|
|
781
|
-
const variantData = {
|
|
782
|
-
product: product._id,
|
|
783
|
-
name: product.name,
|
|
784
|
-
price: parseFloat(defaultVariant.price),
|
|
785
|
-
quantity: parseInt(defaultVariant.quantity) || 1,
|
|
786
|
-
unit: defaultVariant.unit || "pcs",
|
|
787
|
-
status: product.status,
|
|
788
|
-
// используем статус из товара
|
|
789
|
-
sku: generateSKU(),
|
|
790
|
-
owner: product.owner,
|
|
791
|
-
creator: product.creator,
|
|
792
|
-
images: [],
|
|
793
|
-
cost: 0,
|
|
794
|
-
ingredients: [],
|
|
795
|
-
attributes: []
|
|
796
|
-
};
|
|
797
|
-
await new Variant(variantData).save();
|
|
798
|
-
}
|
|
799
|
-
return res.status(201).json(product);
|
|
800
|
-
} catch (err) {
|
|
801
|
-
console.log(err);
|
|
802
|
-
return res.status(500).json({ message: err.message });
|
|
803
|
-
}
|
|
804
|
-
};
|
|
805
|
-
const Read = async (req, res) => {
|
|
806
|
-
try {
|
|
807
|
-
const requestedLookups = queryProcessor.queryProcessorCore.getRequestedLookups(req.query);
|
|
808
|
-
if (req.query.dateStart || req.query.dateEnd) {
|
|
809
|
-
console.log("Availability filter params:", {
|
|
810
|
-
dateStart: req.query.dateStart,
|
|
811
|
-
dateEnd: req.query.dateEnd,
|
|
812
|
-
dateStartType: typeof req.query.dateStart,
|
|
813
|
-
dateEndType: typeof req.query.dateEnd
|
|
814
|
-
});
|
|
815
|
-
}
|
|
816
|
-
const stages = [
|
|
817
|
-
...queryProcessor.queryProcessorCore.getBasicOptions(req.query),
|
|
818
|
-
...queryProcessor.queryProcessorCore.getSearchOptions(req.query.search, {
|
|
819
|
-
fields: ["name", "description"]
|
|
820
|
-
}),
|
|
821
|
-
...queryProcessorProducts.getCategoriesFilterStage(req.query.categories),
|
|
822
|
-
...queryProcessorProducts.getDeliveryFilterStage(req.query.delivery),
|
|
823
|
-
...queryProcessorProducts.getAttributeFiltersStage(req.query.filters),
|
|
824
|
-
...queryProcessor.queryProcessorCore.getLookupStages(requestedLookups, productLookupConfigs),
|
|
825
|
-
...queryProcessorProducts.getVariantPriceFilterStage(req.query.priceMin, req.query.priceMax),
|
|
826
|
-
...queryProcessorProducts.getAvailabilityFilterStage(req.query.dateStart, req.query.dateEnd),
|
|
827
|
-
queryProcessor.queryProcessorCore.getCreatorUserLookupStage(),
|
|
828
|
-
queryProcessor.queryProcessorCore.getCreatorOrganizationLookupStage(),
|
|
829
|
-
queryProcessor.queryProcessorCore.getOwnerUserLookupStage(),
|
|
830
|
-
queryProcessor.queryProcessorCore.getOwnerOrganizationLookupStage(),
|
|
831
|
-
queryProcessor.queryProcessorCore.getAddFieldsCreatorOwnerStage(),
|
|
832
|
-
...queryProcessor.queryProcessorCore.getSortingOptions(req.query.sortParam, req.query.sortOrder),
|
|
833
|
-
...queryProcessor.queryProcessorCore.getPaginationOptions(req.query.skip, req.query.limit),
|
|
834
|
-
// Удаление временных полей
|
|
835
|
-
queryProcessor.queryProcessorCore.removeTempPropeties(),
|
|
836
|
-
// Дополнительные очистки для lookup-ов
|
|
837
|
-
...requestedLookups.includes("inventory") ? [{ $project: { availability: 0 } }] : []
|
|
838
|
-
].filter(Boolean);
|
|
839
|
-
const products = await Product.aggregate(stages);
|
|
840
|
-
if (req.query.count) {
|
|
841
|
-
return res.status(200).json({ count: products.length });
|
|
842
|
-
}
|
|
843
|
-
res.status(200).json(products);
|
|
844
|
-
} catch (err) {
|
|
845
|
-
console.error("Error in products Read controller:", err);
|
|
846
|
-
return res.status(500).json({ message: err.message });
|
|
847
|
-
}
|
|
848
|
-
};
|
|
849
|
-
const Update = async (req, res) => {
|
|
850
|
-
try {
|
|
851
|
-
const { _id } = req.params;
|
|
852
|
-
const updateData = {
|
|
853
|
-
name: req.body.name,
|
|
854
|
-
status: req.body.status,
|
|
855
|
-
listing: req.body.listing,
|
|
856
|
-
description: req.body.description,
|
|
857
|
-
category: req.body.category?.map((cat) => cat._id) || [],
|
|
858
|
-
images: req.body.images,
|
|
859
|
-
attributes: req.body.attributes,
|
|
860
|
-
recommended: req.body.recommended,
|
|
861
|
-
localization: req.body.translations,
|
|
862
|
-
discounts: req.body.discounts,
|
|
863
|
-
included: req.body.included
|
|
864
|
-
};
|
|
865
|
-
const updatedProduct = await Product.findOneAndUpdate({ _id }, updateData, { new: true });
|
|
866
|
-
if (!updatedProduct) {
|
|
867
|
-
return res.status(404).send({ message: "Something wrong when updating product." });
|
|
868
|
-
}
|
|
869
|
-
res.status(200).send(updatedProduct);
|
|
870
|
-
} catch (err) {
|
|
871
|
-
res.status(500).send({ message: err.message });
|
|
872
|
-
}
|
|
873
|
-
};
|
|
874
|
-
const Delete = async (req, res) => {
|
|
875
|
-
try {
|
|
876
|
-
const { _id } = req.params;
|
|
877
|
-
const deletedProduct = await Product.findOneAndDelete({ _id });
|
|
878
|
-
if (!deletedProduct) {
|
|
879
|
-
return res.status(404).send({ message: "Product not found for deletion." });
|
|
880
|
-
}
|
|
881
|
-
res.status(200).send(deletedProduct);
|
|
882
|
-
} catch (err) {
|
|
883
|
-
res.status(500).send({ message: err.message });
|
|
884
|
-
}
|
|
885
|
-
};
|
|
886
|
-
const getProductRecommendation = async (req, res) => {
|
|
887
|
-
const { mood } = req.body;
|
|
888
|
-
try {
|
|
889
|
-
const products = await Product.find({
|
|
890
|
-
status: "published"
|
|
891
|
-
}).limit(40);
|
|
892
|
-
if (!products) {
|
|
893
|
-
console.log("no products");
|
|
894
|
-
return res.status(404).send({ message: "Products not found." });
|
|
895
|
-
}
|
|
896
|
-
const productsList = products.map((p) => {
|
|
897
|
-
const info = p.attributes || [];
|
|
898
|
-
const value0 = info[0] ? info[0].value : "";
|
|
899
|
-
const value1 = info[1] ? `(${info[1].value}%)` : "";
|
|
900
|
-
const value2 = info[2] ? `(${info[2].value})` : "";
|
|
901
|
-
return `${p._id}: ${p.name} (${value0}) ${value1} ${value2}`;
|
|
902
|
-
}).join(", ");
|
|
903
|
-
const prompt = `
|
|
904
|
-
1. When asked how the client wants to feel, they responded "${mood}".
|
|
905
|
-
2. Here is a list of products in our store: ${productsList}.
|
|
906
|
-
3. Based on the attributes about the products (strain, THC content) and the user's desires, choose 1 product to recommend to the user.
|
|
907
|
-
4. The response should be in the language that the user used in mood (${mood}).
|
|
908
|
-
5. Please format your response as a JSON object '{"_id": "ID of the recommended product (it must correspond to one of the product IDs I sent)", "recommendationText": "Text explaining why this particular product"'. Write only the JSON object without any other text outside of it.
|
|
909
|
-
`;
|
|
910
|
-
const result = await openaiGlobal.createChatCompletion(prompt, {
|
|
911
|
-
model: "gpt-4",
|
|
912
|
-
temperature: 0.8,
|
|
913
|
-
systemPrompt: "You are a product recommendation specialist with expertise in matching customer needs to product attributes."
|
|
914
|
-
});
|
|
915
|
-
const recommendedProduct = await Product.findById(result._id);
|
|
916
|
-
if (!recommendedProduct) {
|
|
917
|
-
console.log(`No product found with _id: ${result._id}`);
|
|
918
|
-
return res.status(404).send({ message: "Recommended product not found." });
|
|
919
|
-
}
|
|
920
|
-
res.status(200).json({ product: recommendedProduct, recommendationText: result.recommendationText });
|
|
921
|
-
} catch (err) {
|
|
922
|
-
console.log(err);
|
|
923
|
-
res.status(500).send({ message: err });
|
|
924
|
-
}
|
|
925
|
-
};
|
|
926
|
-
return {
|
|
927
|
-
Create,
|
|
928
|
-
Read,
|
|
929
|
-
Update,
|
|
930
|
-
Delete,
|
|
931
|
-
getProductRecommendation
|
|
932
|
-
};
|
|
933
|
-
};
|
|
934
|
-
const CategoryModel = (db) => {
|
|
935
|
-
const CategorySchema = new db.mongoose.Schema(
|
|
936
|
-
{
|
|
937
|
-
name: { type: String, required: true, trim: true },
|
|
938
|
-
description: { type: String, trim: true },
|
|
939
|
-
photo: { type: String },
|
|
940
|
-
order: { type: Number, required: true },
|
|
941
|
-
slug: { type: String, required: true, trim: true },
|
|
942
|
-
url: { type: String, required: true, trim: true, unique: true },
|
|
943
|
-
parent: { type: db.mongoose.Schema.Types.ObjectId, ref: "Category" },
|
|
944
|
-
level: { type: Number, required: true, default: 0 },
|
|
945
|
-
localization: { type: Array },
|
|
946
|
-
filters: { type: Array }
|
|
947
|
-
},
|
|
948
|
-
{
|
|
949
|
-
timestamps: { currentTime: () => Date.now() }
|
|
950
|
-
}
|
|
951
|
-
);
|
|
952
|
-
common_schema.applyCommonSchema(CategorySchema);
|
|
953
|
-
ownership_schema.applyOwnershipSchema(CategorySchema, db);
|
|
954
|
-
metadata_schema.applyMetadataSchema(CategorySchema);
|
|
955
|
-
engagement_schema.applyEngagementSchema(CategorySchema);
|
|
956
|
-
CategorySchema.index({ name: "text", description: "text" });
|
|
957
|
-
CategorySchema.index({ url: 1, "owner.target": 1, status: 1, level: 1 });
|
|
958
|
-
CategorySchema.index({ "owner.type": 1, "owner.target": 1, status: 1, level: 1 });
|
|
959
|
-
CategorySchema.index({ parent: 1, status: 1, order: 1 });
|
|
960
|
-
CategorySchema.index({ level: 1, status: 1, order: 1 });
|
|
961
|
-
CategorySchema.index({ status: 1, order: 1 });
|
|
962
|
-
const Category = db.mongoose.model("Category", CategorySchema, "categories");
|
|
963
|
-
return Category;
|
|
964
|
-
};
|
|
965
|
-
const discountschema = (db) => {
|
|
966
|
-
const DiscountSchema = new db.mongoose.Schema(
|
|
967
|
-
{
|
|
968
|
-
type: {
|
|
969
|
-
type: String,
|
|
970
|
-
enum: ["discount", "special_price"],
|
|
971
|
-
default: "discount",
|
|
972
|
-
required: true
|
|
973
|
-
},
|
|
974
|
-
value: {
|
|
975
|
-
type: Number,
|
|
976
|
-
required: true,
|
|
977
|
-
min: 0
|
|
978
|
-
},
|
|
979
|
-
quantity: {
|
|
980
|
-
type: Number,
|
|
981
|
-
min: 1
|
|
982
|
-
},
|
|
983
|
-
date: {
|
|
984
|
-
start: Date,
|
|
985
|
-
end: Date
|
|
986
|
-
},
|
|
987
|
-
time: {
|
|
988
|
-
start: String,
|
|
989
|
-
// 'HH:mm' формат
|
|
990
|
-
end: String
|
|
991
|
-
},
|
|
992
|
-
name: String,
|
|
993
|
-
description: String
|
|
994
|
-
},
|
|
995
|
-
{ _id: false }
|
|
996
|
-
);
|
|
997
|
-
return DiscountSchema;
|
|
998
|
-
};
|
|
999
|
-
const ProductModel = (db) => {
|
|
1000
|
-
const DiscountSchema = discountschema(db);
|
|
1001
|
-
const ProductSchema = new db.mongoose.Schema({
|
|
1002
|
-
listing: {
|
|
1003
|
-
type: String,
|
|
1004
|
-
enum: ["sale", "rent"]
|
|
1005
|
-
},
|
|
1006
|
-
sku: {
|
|
1007
|
-
type: String,
|
|
1008
|
-
trim: true
|
|
1009
|
-
},
|
|
1010
|
-
category: [{
|
|
1011
|
-
type: db.mongoose.Schema.Types.ObjectId,
|
|
1012
|
-
ref: "Category"
|
|
1013
|
-
}],
|
|
1014
|
-
images: {
|
|
1015
|
-
type: Array
|
|
1016
|
-
},
|
|
1017
|
-
name: {
|
|
1018
|
-
type: String
|
|
1019
|
-
},
|
|
1020
|
-
description: {
|
|
1021
|
-
type: String
|
|
1022
|
-
},
|
|
1023
|
-
included: {
|
|
1024
|
-
type: String
|
|
1025
|
-
},
|
|
1026
|
-
attributes: [{
|
|
1027
|
-
name: { type: String },
|
|
1028
|
-
value: { type: String }
|
|
1029
|
-
}],
|
|
1030
|
-
recommended: [{
|
|
1031
|
-
type: db.mongoose.Schema.Types.ObjectId,
|
|
1032
|
-
ref: "Product"
|
|
1033
|
-
}],
|
|
1034
|
-
translations: {
|
|
1035
|
-
type: Array
|
|
1036
|
-
},
|
|
1037
|
-
discounts: [DiscountSchema]
|
|
1038
|
-
}, {
|
|
1039
|
-
timestamps: {
|
|
1040
|
-
currentTime: () => Date.now()
|
|
1041
|
-
}
|
|
1042
|
-
});
|
|
1043
|
-
common_schema.applyCommonSchema(ProductSchema);
|
|
1044
|
-
ownership_schema.applyOwnershipSchema(ProductSchema, db);
|
|
1045
|
-
engagement_schema.applyEngagementSchema(ProductSchema);
|
|
1046
|
-
ProductSchema.index({ name: "text", description: "text" });
|
|
1047
|
-
ProductSchema.index({ "owner.type": 1, "owner.target": 1, status: 1, category: 1 });
|
|
1048
|
-
ProductSchema.index({ category: 1, status: 1, delivery: 1, price: 1 });
|
|
1049
|
-
ProductSchema.index({ category: 1, status: 1, price: -1 });
|
|
1050
|
-
ProductSchema.index({ category: 1, status: 1, views: -1 });
|
|
1051
|
-
ProductSchema.index({ category: 1, status: 1, createdAt: -1 });
|
|
1052
|
-
ProductSchema.index({ category: 1, status: 1, updatedAt: -1 });
|
|
1053
|
-
ProductSchema.index({ category: 1, delivery: 1, price: 1 });
|
|
1054
|
-
ProductSchema.index({ "attributes.name": 1, "attributes.value": 1 });
|
|
1055
|
-
ProductSchema.index({ status: 1, delivery: 1, price: 1 });
|
|
1056
|
-
ProductSchema.index({ status: 1, price: -1 });
|
|
1057
|
-
ProductSchema.index({ status: 1, views: -1 });
|
|
1058
|
-
ProductSchema.index({ status: 1, createdAt: -1 });
|
|
1059
|
-
ProductSchema.index({ status: 1, updatedAt: -1 });
|
|
1060
|
-
ProductSchema.index({ status: 1, name: 1 });
|
|
1061
|
-
ProductSchema.index({ status: 1, "attributes.name": 1, "attributes.value": 1 });
|
|
1062
|
-
ProductSchema.index({ listing: 1 });
|
|
1063
|
-
ProductSchema.index({ recommended: 1 });
|
|
1064
|
-
ProductSchema.index({ price: 1 });
|
|
1065
|
-
ProductSchema.index({ views: -1 });
|
|
1066
|
-
ProductSchema.index({ createdAt: -1 });
|
|
1067
|
-
ProductSchema.index({ updatedAt: -1 });
|
|
1068
|
-
const Product = db.mongoose.model("Product", ProductSchema);
|
|
1069
|
-
return Product;
|
|
1070
|
-
};
|
|
1071
|
-
const ingredientSchema = (db) => {
|
|
1072
|
-
const IngredientSchema = new db.mongoose.Schema({
|
|
1073
|
-
_id: {
|
|
1074
|
-
type: db.mongoose.Schema.Types.ObjectId,
|
|
1075
|
-
ref: "Product"
|
|
1076
|
-
},
|
|
1077
|
-
price: {
|
|
1078
|
-
type: Number,
|
|
1079
|
-
required: true,
|
|
1080
|
-
default: 0,
|
|
1081
|
-
min: [0, "Price cannot be less than 0"]
|
|
1082
|
-
},
|
|
1083
|
-
cost: {
|
|
1084
|
-
type: Number,
|
|
1085
|
-
required: true,
|
|
1086
|
-
default: 0,
|
|
1087
|
-
min: [0, "Price cannot be less than 0"]
|
|
1088
|
-
},
|
|
1089
|
-
quantity: {
|
|
1090
|
-
type: Number,
|
|
1091
|
-
required: true,
|
|
1092
|
-
min: [1, "Quantity cannot be less than 1"]
|
|
1093
|
-
},
|
|
1094
|
-
unit: {
|
|
1095
|
-
type: String,
|
|
1096
|
-
required: true,
|
|
1097
|
-
default: "g"
|
|
1098
|
-
},
|
|
1099
|
-
optional: {
|
|
1100
|
-
type: Boolean,
|
|
1101
|
-
default: false,
|
|
1102
|
-
description: "Является ли ингредиент опциональным"
|
|
1103
|
-
},
|
|
1104
|
-
replaceable: {
|
|
1105
|
-
type: Boolean,
|
|
1106
|
-
default: false,
|
|
1107
|
-
description: "Можно ли заменить ингредиент"
|
|
1108
|
-
},
|
|
1109
|
-
alternatives: [{
|
|
1110
|
-
type: db.mongoose.Schema.Types.ObjectId,
|
|
1111
|
-
ref: "Product",
|
|
1112
|
-
description: "Альтернативные продукты для замены"
|
|
1113
|
-
}]
|
|
1114
|
-
});
|
|
1115
|
-
return IngredientSchema;
|
|
1116
|
-
};
|
|
1117
|
-
const VariantModel = (db) => {
|
|
1118
|
-
const IngredientSchema = ingredientSchema(db);
|
|
1119
|
-
const VariantSchema = new db.mongoose.Schema({
|
|
1120
|
-
_id: {
|
|
1121
|
-
type: db.mongoose.Schema.Types.ObjectId,
|
|
1122
|
-
auto: true
|
|
1123
|
-
},
|
|
1124
|
-
product: {
|
|
1125
|
-
type: db.mongoose.Schema.Types.ObjectId,
|
|
1126
|
-
ref: "Product",
|
|
1127
|
-
required: true
|
|
1128
|
-
},
|
|
1129
|
-
sku: {
|
|
1130
|
-
type: String,
|
|
1131
|
-
trim: true
|
|
1132
|
-
},
|
|
1133
|
-
images: {
|
|
1134
|
-
type: Array
|
|
1135
|
-
},
|
|
1136
|
-
name: {
|
|
1137
|
-
type: String
|
|
1138
|
-
},
|
|
1139
|
-
description: {
|
|
1140
|
-
type: String
|
|
1141
|
-
},
|
|
1142
|
-
price: {
|
|
1143
|
-
type: Number
|
|
1144
|
-
},
|
|
1145
|
-
cost: {
|
|
1146
|
-
type: Number,
|
|
1147
|
-
default: 0
|
|
1148
|
-
},
|
|
1149
|
-
quantity: {
|
|
1150
|
-
type: Number,
|
|
1151
|
-
default: 1
|
|
1152
|
-
},
|
|
1153
|
-
unit: {
|
|
1154
|
-
type: String,
|
|
1155
|
-
default: "pcs",
|
|
1156
|
-
enum: ["pcs", "g", "kg", "ml", "l", "oz"]
|
|
1157
|
-
},
|
|
1158
|
-
ingredients: [
|
|
1159
|
-
IngredientSchema
|
|
1160
|
-
],
|
|
1161
|
-
attributes: [{
|
|
1162
|
-
name: { type: String },
|
|
1163
|
-
value: { type: String }
|
|
1164
|
-
}]
|
|
1165
|
-
}, {
|
|
1166
|
-
timestamps: {
|
|
1167
|
-
currentTime: () => Date.now()
|
|
1168
|
-
}
|
|
1169
|
-
});
|
|
1170
|
-
common_schema.applyCommonSchema(VariantSchema);
|
|
1171
|
-
ownership_schema.applyOwnershipSchema(VariantSchema, db);
|
|
1172
|
-
VariantSchema.index({ Variant: 1, name: 1 });
|
|
1173
|
-
VariantSchema.index({ name: "text", sku: "text" });
|
|
1174
|
-
VariantSchema.index({ "owner.type": 1, "owner.target": 1, product: 1, status: 1 });
|
|
1175
|
-
VariantSchema.index({ product: 1, status: 1, price: 1 });
|
|
1176
|
-
VariantSchema.index({ product: 1, status: 1, quantity: 1 });
|
|
1177
|
-
VariantSchema.index({ product: 1, sku: 1 });
|
|
1178
|
-
VariantSchema.index({ product: 1, "ingredients._id": 1 });
|
|
1179
|
-
VariantSchema.index({ "attributes.name": 1, "attributes.value": 1 });
|
|
1180
|
-
VariantSchema.index({ status: 1, price: 1 });
|
|
1181
|
-
VariantSchema.index({ status: 1, price: -1 });
|
|
1182
|
-
VariantSchema.index({ status: 1, quantity: 1 });
|
|
1183
|
-
VariantSchema.index({ status: 1, quantity: -1 });
|
|
1184
|
-
VariantSchema.index({ status: 1, createdAt: -1 });
|
|
1185
|
-
VariantSchema.index({ status: 1, updatedAt: -1 });
|
|
1186
|
-
VariantSchema.index({ status: 1, quantity: 1, product: 1 });
|
|
1187
|
-
VariantSchema.index({ "ingredients._id": 1 });
|
|
1188
|
-
VariantSchema.index({ "ingredients.quantity": 1 });
|
|
1189
|
-
VariantSchema.index({ sku: 1 });
|
|
1190
|
-
VariantSchema.index({ name: 1 });
|
|
1191
|
-
VariantSchema.index({ price: 1 });
|
|
1192
|
-
VariantSchema.index({ quantity: 1 });
|
|
1193
|
-
VariantSchema.index({ createdAt: -1 });
|
|
1194
|
-
VariantSchema.index({ updatedAt: -1 });
|
|
1195
|
-
const Variant = db.mongoose.model("Variant", VariantSchema);
|
|
1196
|
-
return Variant;
|
|
1197
|
-
};
|
|
1198
|
-
const verifierFactory$1 = (function(db) {
|
|
1199
|
-
const generateSlug = (name, existingSlugs = []) => {
|
|
1200
|
-
let baseSlug = name.toLowerCase().replace(/[^a-z0-9\s-]/g, "").replace(/\s+/g, "-").replace(/-+/g, "-").trim("-");
|
|
1201
|
-
let slug = baseSlug;
|
|
1202
|
-
let counter = 1;
|
|
1203
|
-
while (existingSlugs.includes(slug)) {
|
|
1204
|
-
slug = `${baseSlug}-${counter}`;
|
|
1205
|
-
counter++;
|
|
1206
|
-
}
|
|
1207
|
-
return slug;
|
|
1208
|
-
};
|
|
1209
|
-
const queryValidatorConfig = {
|
|
1210
|
-
parent: { rule: "optional", validator: core_verifier.Validator.schema().string() },
|
|
1211
|
-
slug: { rule: "optional", validator: core_verifier.Validator.schema().string() },
|
|
1212
|
-
url: { rule: "optional", validator: core_verifier.Validator.schema().string() },
|
|
1213
|
-
parentUrl: { rule: "optional", validator: core_verifier.Validator.schema().string() },
|
|
1214
|
-
search: { rule: "optional", validator: core_verifier.Validator.schema().string() },
|
|
1215
|
-
sortParam: {
|
|
1216
|
-
rule: "optional",
|
|
1217
|
-
validator: core_verifier.Validator.schema().string().oneOf(["order", "name", "createdAt", "updatedAt"]),
|
|
1218
|
-
default: "order"
|
|
1219
|
-
},
|
|
1220
|
-
sortOrder: {
|
|
1221
|
-
rule: "optional",
|
|
1222
|
-
validator: core_verifier.Validator.schema().string().oneOf(["asc", "desc"]),
|
|
1223
|
-
default: "asc"
|
|
1224
|
-
},
|
|
1225
|
-
skip: { rule: "optional", validator: core_verifier.Validator.schema().number().integer().min(0), default: 0 },
|
|
1226
|
-
limit: {
|
|
1227
|
-
rule: "optional",
|
|
1228
|
-
validator: core_verifier.Validator.schema().number().integer().min(1).max(100),
|
|
1229
|
-
default: 10
|
|
1230
|
-
},
|
|
1231
|
-
excludeChildren: {
|
|
1232
|
-
rule: "optional",
|
|
1233
|
-
validator: core_verifier.Validator.schema().string().oneOf(["true", "false"]),
|
|
1234
|
-
default: "true"
|
|
1235
|
-
},
|
|
1236
|
-
rootOnly: {
|
|
1237
|
-
rule: "optional",
|
|
1238
|
-
validator: core_verifier.Validator.schema().string().oneOf(["true", "false"]),
|
|
1239
|
-
default: "false"
|
|
1240
|
-
},
|
|
1241
|
-
status: {
|
|
1242
|
-
rule: "optional",
|
|
1243
|
-
validator: core_verifier.Validator.schema().string().oneOf(["draft", "internal", "published", "removed"])
|
|
1244
|
-
},
|
|
1245
|
-
type: {
|
|
1246
|
-
rule: "optional",
|
|
1247
|
-
validator: core_verifier.Validator.schema().string().oneOf(["platform", "organization", "all"]),
|
|
1248
|
-
default: "all"
|
|
1249
|
-
},
|
|
1250
|
-
organizationId: { rule: "optional", validator: core_verifier.Validator.schema().string() }
|
|
1251
|
-
};
|
|
1252
|
-
const bodyValidatorConfig = {
|
|
1253
|
-
_id: { rule: "optional", validator: core_verifier.Validator.schema().string() },
|
|
1254
|
-
name: { rule: "optional", validator: core_verifier.Validator.schema().string().required() },
|
|
1255
|
-
description: { rule: "optional", validator: core_verifier.Validator.schema().string() },
|
|
1256
|
-
photo: { rule: "optional", validator: core_verifier.Validator.schema().string() },
|
|
1257
|
-
status: {
|
|
1258
|
-
rule: "optional",
|
|
1259
|
-
validator: core_verifier.Validator.schema().string().oneOf(["draft", "internal", "published", "removed"]),
|
|
1260
|
-
default: "draft"
|
|
1261
|
-
},
|
|
1262
|
-
slug: { rule: "optional", validator: core_verifier.Validator.schema().string() },
|
|
1263
|
-
parent: { rule: "optional", validator: core_verifier.Validator.schema().oneOfTypes(["string", "null"]) },
|
|
1264
|
-
localization: { rule: "optional" },
|
|
1265
|
-
filters: {
|
|
1266
|
-
rule: "optional",
|
|
1267
|
-
validator: core_verifier.Validator.schema().array().items(
|
|
1268
|
-
core_verifier.Validator.schema().object({
|
|
1269
|
-
name: core_verifier.Validator.schema().string(),
|
|
1270
|
-
options: core_verifier.Validator.schema().array().items(core_verifier.Validator.schema().string())
|
|
1271
|
-
})
|
|
1272
|
-
)
|
|
1273
|
-
},
|
|
1274
|
-
owner: {
|
|
1275
|
-
rule: "optional",
|
|
1276
|
-
validator: core_verifier.Validator.schema().object({
|
|
1277
|
-
type: core_verifier.Validator.schema().string().oneOf(["platform", "organization"]).required(),
|
|
1278
|
-
target: core_verifier.Validator.schema().string()
|
|
1279
|
-
})
|
|
1280
|
-
},
|
|
1281
|
-
creator: {
|
|
1282
|
-
rule: "optional",
|
|
1283
|
-
validator: core_verifier.Validator.schema().object({
|
|
1284
|
-
type: core_verifier.Validator.schema().string().oneOf(["user", "organization"]).required(),
|
|
1285
|
-
target: core_verifier.Validator.schema().string()
|
|
1286
|
-
})
|
|
1287
|
-
},
|
|
1288
|
-
children: { rule: "optional", validator: core_verifier.Validator.schema().array() },
|
|
1289
|
-
order: { rule: "optional", validator: core_verifier.Validator.schema().number() }
|
|
1290
|
-
};
|
|
1291
|
-
const orderBodyValidatorConfig = {
|
|
1292
|
-
movedCategory: {
|
|
1293
|
-
rule: "optional",
|
|
1294
|
-
validator: core_verifier.Validator.schema().object({
|
|
1295
|
-
_id: core_verifier.Validator.schema().string().required(),
|
|
1296
|
-
newParent: core_verifier.Validator.schema().oneOfTypes(["string", "null"])
|
|
1297
|
-
})
|
|
1298
|
-
},
|
|
1299
|
-
affectedCategories: {
|
|
1300
|
-
rule: "optional",
|
|
1301
|
-
validator: core_verifier.Validator.schema().array(),
|
|
1302
|
-
default: []
|
|
1303
|
-
}
|
|
1304
|
-
};
|
|
1305
|
-
const deleteBodyValidatorConfig = {
|
|
1306
|
-
_id: {
|
|
1307
|
-
rule: "optional",
|
|
1308
|
-
validator: core_verifier.Validator.schema().string().required()
|
|
1309
|
-
}
|
|
1310
|
-
};
|
|
1311
|
-
const queryVerifier = new core_verifier.Verifier(queryValidatorConfig);
|
|
1312
|
-
const bodyVerifier = new core_verifier.Verifier(bodyValidatorConfig);
|
|
1313
|
-
const orderBodyVerifier = new core_verifier.Verifier(orderBodyValidatorConfig);
|
|
1314
|
-
const deleteBodyVerifier = new core_verifier.Verifier(deleteBodyValidatorConfig);
|
|
1315
|
-
return {
|
|
1316
|
-
// Верификация параметров запроса
|
|
1317
|
-
verifyQuery(req, res, next) {
|
|
1318
|
-
const verification = queryVerifier.verify(req.query);
|
|
1319
|
-
console.log("verification is", verification);
|
|
1320
|
-
if (!verification.isValid) {
|
|
1321
|
-
return res.status(400).json({
|
|
1322
|
-
errors: verification.verificationErrors,
|
|
1323
|
-
message: "Invalid query parameters"
|
|
1324
|
-
});
|
|
1325
|
-
}
|
|
1326
|
-
req.verifiedQuery = verification.verifiedData;
|
|
1327
|
-
next();
|
|
1328
|
-
},
|
|
1329
|
-
// Верификация тела запроса для создания/обновления категории
|
|
1330
|
-
verifyBody(req, res, next) {
|
|
1331
|
-
const verification = bodyVerifier.verify(req.body);
|
|
1332
|
-
if (!verification.isValid) {
|
|
1333
|
-
return res.status(400).json({
|
|
1334
|
-
errors: verification.verificationErrors,
|
|
1335
|
-
message: "Invalid request data"
|
|
1336
|
-
});
|
|
1337
|
-
}
|
|
1338
|
-
req.verifiedBody = verification.verifiedData;
|
|
1339
|
-
next();
|
|
1340
|
-
},
|
|
1341
|
-
// Верификация тела запроса для обновления порядка категорий
|
|
1342
|
-
verifyOrderBody(req, res, next) {
|
|
1343
|
-
const verification = orderBodyVerifier.verify(req.body);
|
|
1344
|
-
if (!verification.isValid) {
|
|
1345
|
-
return res.status(400).json({
|
|
1346
|
-
errors: verification.verificationErrors,
|
|
1347
|
-
message: "Invalid request data"
|
|
1348
|
-
});
|
|
1349
|
-
}
|
|
1350
|
-
req.verifiedBody = verification.verifiedData;
|
|
1351
|
-
next();
|
|
1352
|
-
},
|
|
1353
|
-
// Верификация тела запроса для удаления категории
|
|
1354
|
-
verifyDeleteBody(req, res, next) {
|
|
1355
|
-
const verification = deleteBodyVerifier.verify(req.body);
|
|
1356
|
-
if (!verification.isValid) {
|
|
1357
|
-
return res.status(400).json({
|
|
1358
|
-
errors: verification.verificationErrors,
|
|
1359
|
-
message: "Invalid request data"
|
|
1360
|
-
});
|
|
1361
|
-
}
|
|
1362
|
-
req.verifiedBody = verification.verifiedData;
|
|
1363
|
-
next();
|
|
1364
|
-
},
|
|
1365
|
-
// Проверка на существование категории с тем же slug в рамках parent
|
|
1366
|
-
async checkCategoryExistOrNot(req, res, next) {
|
|
1367
|
-
try {
|
|
1368
|
-
const { name, parent, slug } = req.verifiedBody;
|
|
1369
|
-
if (!name) {
|
|
1370
|
-
return res.status(400).json({ message: "Name is required" });
|
|
1371
|
-
}
|
|
1372
|
-
let categorySlug = slug;
|
|
1373
|
-
if (!categorySlug) {
|
|
1374
|
-
const existingSlugs = await db.category.find({
|
|
1375
|
-
parent: parent || null
|
|
1376
|
-
}).distinct("slug");
|
|
1377
|
-
categorySlug = generateSlug(name, existingSlugs);
|
|
1378
|
-
req.verifiedBody.slug = categorySlug;
|
|
1379
|
-
} else {
|
|
1380
|
-
const existingCategory = await db.category.findOne({
|
|
1381
|
-
slug: categorySlug,
|
|
1382
|
-
parent: parent || null
|
|
1383
|
-
});
|
|
1384
|
-
if (existingCategory) {
|
|
1385
|
-
return res.status(409).json({
|
|
1386
|
-
message: "Category with this slug already exists in this parent",
|
|
1387
|
-
category: existingCategory
|
|
1388
|
-
});
|
|
1389
|
-
}
|
|
1390
|
-
}
|
|
1391
|
-
next();
|
|
1392
|
-
} catch (error) {
|
|
1393
|
-
res.status(500).json({ message: error.message });
|
|
1394
|
-
}
|
|
1395
|
-
},
|
|
1396
|
-
// Загрузка категории для проверки ABAC (для обновления и удаления)
|
|
1397
|
-
async loadCategoryForUpdate(req, res, next) {
|
|
1398
|
-
try {
|
|
1399
|
-
const categoryId = req.verifiedBody._id;
|
|
1400
|
-
if (!categoryId) {
|
|
1401
|
-
return res.status(400).json({ message: "Category ID is required" });
|
|
1402
|
-
}
|
|
1403
|
-
const category = await db.category.findById(categoryId).lean();
|
|
1404
|
-
if (!category) {
|
|
1405
|
-
return res.status(404).json({ message: "Category not found" });
|
|
1406
|
-
}
|
|
1407
|
-
req.currentResource = category;
|
|
1408
|
-
next();
|
|
1409
|
-
} catch (error) {
|
|
1410
|
-
res.status(500).json({ message: error.message });
|
|
1411
|
-
}
|
|
1412
|
-
},
|
|
1413
|
-
// Загрузка категории по _id для удаления
|
|
1414
|
-
async loadCategoryForDelete(req, res, next) {
|
|
1415
|
-
try {
|
|
1416
|
-
const _id = req.verifiedBody._id;
|
|
1417
|
-
if (!_id) {
|
|
1418
|
-
return res.status(400).json({ message: "Category _id is required" });
|
|
1419
|
-
}
|
|
1420
|
-
const category = await db.category.findById(_id).lean();
|
|
1421
|
-
if (!category) {
|
|
1422
|
-
return res.status(404).json({ message: "Category not found" });
|
|
1423
|
-
}
|
|
1424
|
-
req.currentResource = category;
|
|
1425
|
-
next();
|
|
1426
|
-
} catch (error) {
|
|
1427
|
-
res.status(500).json({ message: error.message });
|
|
1428
|
-
}
|
|
1429
|
-
}
|
|
1430
|
-
};
|
|
1431
|
-
});
|
|
1432
|
-
const { getInstance: getInstance$1 } = core_abac.coreabac;
|
|
1433
|
-
const categoriesRoutes = (function(app, db) {
|
|
1434
|
-
const jwt = authJwt.middlewareFactory(db);
|
|
1435
|
-
const verifier = verifierFactory$1(db);
|
|
1436
|
-
const abac2 = getInstance$1(db);
|
|
1437
|
-
const controller = controllerFactory$1(db);
|
|
1438
|
-
app.get("/api/categories", jwt.verifyToken(true), verifier.verifyQuery, controller.read);
|
|
1439
|
-
app.post("/api/categories/create", jwt.verifyToken(), verifier.verifyBody, verifier.checkCategoryExistOrNot, abac2.middleware("category", "create"), controller.create);
|
|
1440
|
-
app.post("/api/categories/update", jwt.verifyToken(), verifier.verifyBody, verifier.loadCategoryForUpdate, abac2.middleware("category", "edit"), controller.update);
|
|
1441
|
-
app.post("/api/categories/updateOrder", jwt.verifyToken(), verifier.verifyOrderBody, abac2.middleware("category", "edit"), controller.updateOrder);
|
|
1442
|
-
app.post("/api/categories/delete", jwt.verifyToken(), verifier.verifyDeleteBody, verifier.loadCategoryForDelete, abac2.middleware("category", "delete"), controller.delete);
|
|
1443
|
-
});
|
|
1444
|
-
const productsRoutes = (function(app, db, allowedOrigins) {
|
|
1445
|
-
const controller = controllerFactory(db);
|
|
1446
|
-
app.post("/api/products/create", controller.Create);
|
|
1447
|
-
app.get("/api/products/read", controller.Read);
|
|
1448
|
-
app.post("/api/products/:_id", controller.Update);
|
|
1449
|
-
app.delete("/api/products/:_id", controller.Delete);
|
|
1450
|
-
app.post("/api/product/recommended", controller.getProductRecommendation);
|
|
1451
|
-
});
|
|
1452
|
-
const verifierFactory = (function(db) {
|
|
1453
|
-
const createVerifier = new core_verifier.Verifier({
|
|
1454
|
-
name: {
|
|
1455
|
-
rule: "required",
|
|
1456
|
-
validator: core_verifier.Validator.schema().string().required("Variant name is required").min(2, "Name must be at least 2 characters").max(100, "Name must not exceed 100 characters")
|
|
1457
|
-
},
|
|
1458
|
-
description: {
|
|
1459
|
-
rule: "optional",
|
|
1460
|
-
validator: core_verifier.Validator.schema().string().length({ max: 5e3 }, "Description must not exceed 5000 characters")
|
|
1461
|
-
},
|
|
1462
|
-
sku: {
|
|
1463
|
-
rule: "optional",
|
|
1464
|
-
validator: core_verifier.Validator.schema().string().pattern(/^[A-Za-z0-9-_]+$/, "SKU can only contain letters, numbers, hyphens and underscores").max(50)
|
|
1465
|
-
},
|
|
1466
|
-
price: {
|
|
1467
|
-
rule: "required",
|
|
1468
|
-
validator: core_verifier.Validator.schema().number().required("Price is required").min(0, "Price cannot be negative")
|
|
1469
|
-
},
|
|
1470
|
-
cost: {
|
|
1471
|
-
rule: "optional",
|
|
1472
|
-
default: 0,
|
|
1473
|
-
validator: core_verifier.Validator.schema().number().min(0, "Cost cannot be negative")
|
|
1474
|
-
},
|
|
1475
|
-
quantity: {
|
|
1476
|
-
rule: "optional",
|
|
1477
|
-
default: 1,
|
|
1478
|
-
validator: core_verifier.Validator.schema().number().min(0, "Quantity cannot be negative")
|
|
1479
|
-
},
|
|
1480
|
-
unit: {
|
|
1481
|
-
rule: "optional",
|
|
1482
|
-
default: "pcs",
|
|
1483
|
-
validator: core_verifier.Validator.schema().string().oneOf(["pcs", "g", "kg", "ml", "l", "oz"], "Invalid unit")
|
|
1484
|
-
},
|
|
1485
|
-
images: {
|
|
1486
|
-
rule: "optional",
|
|
1487
|
-
validator: core_verifier.Validator.schema().array().items(core_verifier.Validator.schema().string())
|
|
1488
|
-
},
|
|
1489
|
-
ingredients: {
|
|
1490
|
-
rule: "optional",
|
|
1491
|
-
validator: core_verifier.Validator.schema().array().items(
|
|
1492
|
-
core_verifier.Validator.schema().object({
|
|
1493
|
-
name: core_verifier.Validator.schema().string().required(),
|
|
1494
|
-
quantity: core_verifier.Validator.schema().number().min(0),
|
|
1495
|
-
unit: core_verifier.Validator.schema().string()
|
|
1496
|
-
})
|
|
1497
|
-
)
|
|
1498
|
-
},
|
|
1499
|
-
attributes: {
|
|
1500
|
-
rule: "optional",
|
|
1501
|
-
validator: core_verifier.Validator.schema().array().items(
|
|
1502
|
-
core_verifier.Validator.schema().object({
|
|
1503
|
-
name: core_verifier.Validator.schema().string().required(),
|
|
1504
|
-
value: core_verifier.Validator.schema().string().required()
|
|
1505
|
-
})
|
|
1506
|
-
)
|
|
1507
|
-
},
|
|
1508
|
-
owner: {
|
|
1509
|
-
rule: "required",
|
|
1510
|
-
validator: core_verifier.Validator.schema().object({
|
|
1511
|
-
type: core_verifier.Validator.schema().string().oneOf(["user", "organization"]),
|
|
1512
|
-
target: core_verifier.Validator.schema().string().pattern(/^[0-9a-fA-F]{24}$/)
|
|
1513
|
-
})
|
|
1514
|
-
}
|
|
1515
|
-
});
|
|
1516
|
-
const updateVerifier = new core_verifier.Verifier({
|
|
1517
|
-
_id: {
|
|
1518
|
-
rule: "required",
|
|
1519
|
-
validator: core_verifier.Validator.schema().string().required("Variant ID is required").pattern(/^[0-9a-fA-F]{24}$/, "Invalid ID format")
|
|
1520
|
-
},
|
|
1521
|
-
name: {
|
|
1522
|
-
rule: "optional",
|
|
1523
|
-
validator: core_verifier.Validator.schema().string().min(2, "Name must be at least 2 characters").max(100, "Name must not exceed 100 characters")
|
|
1524
|
-
},
|
|
1525
|
-
description: {
|
|
1526
|
-
rule: "optional",
|
|
1527
|
-
validator: core_verifier.Validator.schema().string().length({ max: 5e3 }, "Description must not exceed 5000 characters")
|
|
1528
|
-
},
|
|
1529
|
-
sku: {
|
|
1530
|
-
rule: "optional",
|
|
1531
|
-
validator: core_verifier.Validator.schema().string().pattern(/^[A-Za-z0-9-_]+$/, "SKU can only contain letters, numbers, hyphens and underscores").max(50)
|
|
1532
|
-
},
|
|
1533
|
-
price: {
|
|
1534
|
-
rule: "optional",
|
|
1535
|
-
validator: core_verifier.Validator.schema().number().min(0, "Price cannot be negative")
|
|
1536
|
-
},
|
|
1537
|
-
cost: {
|
|
1538
|
-
rule: "optional",
|
|
1539
|
-
validator: core_verifier.Validator.schema().number().min(0, "Cost cannot be negative")
|
|
1540
|
-
},
|
|
1541
|
-
quantity: {
|
|
1542
|
-
rule: "optional",
|
|
1543
|
-
validator: core_verifier.Validator.schema().integer().min(0, "Quantity cannot be negative")
|
|
1544
|
-
},
|
|
1545
|
-
unit: {
|
|
1546
|
-
rule: "optional",
|
|
1547
|
-
validator: core_verifier.Validator.schema().string().oneOf(["pcs", "g", "kg", "ml", "l", "oz"], "Invalid unit")
|
|
1548
|
-
},
|
|
1549
|
-
images: {
|
|
1550
|
-
rule: "optional",
|
|
1551
|
-
validator: core_verifier.Validator.schema().array().items(core_verifier.Validator.schema().string())
|
|
1552
|
-
},
|
|
1553
|
-
ingredients: {
|
|
1554
|
-
rule: "optional",
|
|
1555
|
-
validator: core_verifier.Validator.schema().array().items(
|
|
1556
|
-
core_verifier.Validator.schema().object({
|
|
1557
|
-
name: core_verifier.Validator.schema().string().required(),
|
|
1558
|
-
quantity: core_verifier.Validator.schema().number().min(0),
|
|
1559
|
-
unit: core_verifier.Validator.schema().string()
|
|
1560
|
-
})
|
|
1561
|
-
)
|
|
1562
|
-
},
|
|
1563
|
-
attributes: {
|
|
1564
|
-
rule: "optional",
|
|
1565
|
-
validator: core_verifier.Validator.schema().array().items(
|
|
1566
|
-
core_verifier.Validator.schema().object({
|
|
1567
|
-
name: core_verifier.Validator.schema().string().required(),
|
|
1568
|
-
value: core_verifier.Validator.schema().string().required()
|
|
1569
|
-
})
|
|
1570
|
-
)
|
|
1571
|
-
}
|
|
1572
|
-
});
|
|
1573
|
-
const readVerifier = new core_verifier.Verifier({
|
|
1574
|
-
_id: {
|
|
1575
|
-
rule: "optional",
|
|
1576
|
-
validator: core_verifier.Validator.schema().string().pattern(/^[0-9a-fA-F]{24}$/)
|
|
1577
|
-
},
|
|
1578
|
-
owner: {
|
|
1579
|
-
rule: "optional",
|
|
1580
|
-
validator: core_verifier.Validator.schema().string()
|
|
1581
|
-
},
|
|
1582
|
-
skip: {
|
|
1583
|
-
rule: "optional",
|
|
1584
|
-
default: 0,
|
|
1585
|
-
validator: core_verifier.Validator.schema().integer().min(0)
|
|
1586
|
-
},
|
|
1587
|
-
limit: {
|
|
1588
|
-
rule: "optional",
|
|
1589
|
-
default: 20,
|
|
1590
|
-
validator: core_verifier.Validator.schema().integer().min(1).max(100)
|
|
1591
|
-
},
|
|
1592
|
-
sortParam: {
|
|
1593
|
-
rule: "optional",
|
|
1594
|
-
validator: core_verifier.Validator.schema().string().oneOf(["name", "price", "quantity", "createdAt", "updatedAt"])
|
|
1595
|
-
},
|
|
1596
|
-
sortOrder: {
|
|
1597
|
-
rule: "optional",
|
|
1598
|
-
default: "desc",
|
|
1599
|
-
validator: core_verifier.Validator.schema().string().oneOf(["asc", "desc"])
|
|
1600
|
-
}
|
|
1601
|
-
});
|
|
1602
|
-
const deleteVerifier = new core_verifier.Verifier({
|
|
1603
|
-
_id: {
|
|
1604
|
-
rule: "required",
|
|
1605
|
-
validator: core_verifier.Validator.schema().string().required("Variant ID is required").pattern(/^[0-9a-fA-F]{24}$/)
|
|
1606
|
-
}
|
|
1607
|
-
});
|
|
1608
|
-
return {
|
|
1609
|
-
createVerifier,
|
|
1610
|
-
readVerifier,
|
|
1611
|
-
updateVerifier,
|
|
1612
|
-
deleteVerifier
|
|
1613
|
-
};
|
|
1614
|
-
});
|
|
1615
|
-
const { getInstance } = abac.ABAC;
|
|
1616
|
-
function setupVariantsRoutes(app, db) {
|
|
1617
|
-
const abac2 = getInstance(db);
|
|
1618
|
-
const verifier = verifierFactory();
|
|
1619
|
-
const variantsCRUD = new crud.CRUD({
|
|
1620
|
-
app,
|
|
1621
|
-
db,
|
|
1622
|
-
model: db.variant,
|
|
1623
|
-
modelName: "variant",
|
|
1624
|
-
basePath: "/api/variants",
|
|
1625
|
-
auth: true,
|
|
1626
|
-
verifiers: {
|
|
1627
|
-
create: verifier.createVerifier,
|
|
1628
|
-
read: verifier.readVerifier,
|
|
1629
|
-
update: verifier.updateVerifier,
|
|
1630
|
-
delete: verifier.deleteVerifier
|
|
1631
|
-
},
|
|
1632
|
-
abac: abac2,
|
|
1633
|
-
cache: {
|
|
1634
|
-
enabled: true,
|
|
1635
|
-
ttl: 300,
|
|
1636
|
-
tags: ["variant", "inventory"]
|
|
1637
|
-
},
|
|
1638
|
-
events: {
|
|
1639
|
-
enabled: true,
|
|
1640
|
-
logReads: false
|
|
1641
|
-
}
|
|
1642
|
-
});
|
|
1643
|
-
return variantsCRUD;
|
|
1644
|
-
}
|
|
1645
|
-
function initializeProduct(app, db, origins, publicPath) {
|
|
1646
|
-
db.product = ProductModel(db);
|
|
1647
|
-
db.variant = VariantModel(db);
|
|
1648
|
-
db.category = CategoryModel(db);
|
|
1649
|
-
if (app) {
|
|
1650
|
-
productsRoutes(app, db);
|
|
1651
|
-
categoriesRoutes(app, db);
|
|
1652
|
-
setupVariantsRoutes(app, db);
|
|
1653
|
-
}
|
|
1654
|
-
}
|
|
1655
|
-
const models = {
|
|
1656
|
-
ProductModel,
|
|
1657
|
-
CategoryModel
|
|
1658
|
-
};
|
|
1659
|
-
const routes = {
|
|
1660
|
-
productsRoutes,
|
|
1661
|
-
categoriesRoutes
|
|
1662
|
-
};
|
|
1663
|
-
const controllers = {
|
|
1664
|
-
ProductController: controllerFactory,
|
|
1665
|
-
CategoryController: controllerFactory$1
|
|
1666
|
-
};
|
|
1667
|
-
const products_server = {
|
|
1668
|
-
initialize: initializeProduct,
|
|
1669
|
-
models,
|
|
1670
|
-
routes,
|
|
1671
|
-
controllers
|
|
1672
|
-
};
|
|
1673
|
-
exports.controllers = controllers;
|
|
1674
|
-
exports.default = products_server;
|
|
1675
|
-
exports.initialize = initializeProduct;
|
|
1676
|
-
exports.models = models;
|
|
1677
|
-
exports.routes = routes;
|