@ozdao/martyrs 0.2.562 → 0.2.563
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/{abac-DC2x92Pa.js → abac-DYoheWuc.js} +2 -1
- package/dist/{core.logger-VRHh-WUW.js → core.cache-DALYFDdy.js} +10 -59
- package/dist/core.logger-C3q8A9dl.js +51 -0
- package/dist/core.server.js +1 -1
- package/dist/{crud-DFFgLl09.js → crud-C7FSTUes.js} +2 -1
- package/dist/inventory.server.js +4 -3
- package/dist/{main-TV4u6Jux.js → main-CmjWiDVF.js} +402 -402
- package/dist/marketplace.server.js +389 -0
- package/dist/martyrs/src/components/Button/{Button.vue.js → Button.vue2.js} +3 -3
- package/dist/martyrs/src/components/Button/Button.vue2.js.map +1 -0
- package/dist/martyrs/src/components/EditImages/{EditImages.vue2.js → EditImages.vue.js} +2 -2
- package/dist/martyrs/src/components/EditImages/EditImages.vue.js.map +1 -0
- package/dist/martyrs/src/components/Feed/Carousel.vue.js +1 -1
- package/dist/martyrs/src/components/Feed/Feed.vue.js +2 -2
- package/dist/martyrs/src/components/Field/{Field.vue2.js → Field.vue.js} +2 -2
- package/dist/martyrs/src/components/Field/Field.vue.js.map +1 -0
- package/dist/martyrs/src/components/FieldBig/FieldBig.vue.js +2 -2
- package/dist/martyrs/src/components/Loader/{Loader.vue2.js → Loader.vue.js} +2 -2
- package/dist/martyrs/src/components/Loader/Loader.vue.js.map +1 -0
- package/dist/martyrs/src/components/LocationMarker/LocationMarker.vue.js +1 -1
- package/dist/martyrs/src/components/Media/Media.vue.js +1 -1
- package/dist/martyrs/src/components/Select/{Select.vue2.js → Select.vue.js} +2 -2
- package/dist/martyrs/src/components/Select/Select.vue.js.map +1 -0
- package/dist/martyrs/src/components/SelectMulti/{SelectMulti.vue.js → SelectMulti.vue2.js} +2 -2
- package/dist/martyrs/src/components/SelectMulti/SelectMulti.vue2.js.map +1 -0
- package/dist/martyrs/src/components/Tab/{Tab.vue2.js → Tab.vue.js} +2 -2
- package/dist/martyrs/src/components/Tab/Tab.vue.js.map +1 -0
- package/dist/martyrs/src/components/UploadImage/UploadImage.vue.js +1 -1
- package/dist/martyrs/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/EnterCode.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.js +3 -3
- package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +3 -3
- 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/ProfileEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +1 -1
- package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js +2 -2
- package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +3 -3
- package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +3 -3
- package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +3 -3
- package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.js +2 -2
- package/dist/martyrs/src/modules/backoffice/components/partials/Sidebar.vue.js +1 -1
- package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js +1 -1
- package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +2 -2
- package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
- package/dist/martyrs/src/modules/constructor/components/elements/Card.vue.js +1 -1
- package/dist/martyrs/src/modules/constructor/components/elements/Embed.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/BlockSearch.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/blocks/CardHeader.vue.js +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 +2 -2
- package/dist/martyrs/src/modules/core/views/components/layouts/Client.vue.js +2 -2
- package/dist/martyrs/src/modules/core/views/components/partials/Header.vue.js +2 -2
- package/dist/martyrs/src/modules/core/views/components/partials/NavigationBar.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/sections/{Filters.vue2.js → Filters.vue.js} +2 -2
- package/dist/martyrs/src/modules/core/views/components/sections/Filters.vue.js.map +1 -0
- package/dist/martyrs/src/modules/core/views/components/sections/SectionPageTitle.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/sections/filters/FilterRange.vue.js +1 -1
- package/dist/martyrs/src/modules/core/views/components/sections/filters/FiltersGroup.vue.js +1 -3
- package/dist/martyrs/src/modules/core/views/components/sections/filters/FiltersGroup.vue.js.map +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +5 -5
- package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +2 -2
- package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +3 -3
- 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/events/components/sections/Feed.vue.js +1 -1
- package/dist/martyrs/src/modules/events/components/sections/List.vue.js +1 -1
- package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +5 -5
- package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.js +3 -3
- 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 +3 -3
- package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +3 -3
- package/dist/martyrs/src/modules/landing/components/sections/SectionFeatures.vue.js +1 -1
- package/dist/martyrs/src/modules/landing/components/sections/SectionFeatures.vue.js.map +1 -1
- package/dist/martyrs/src/modules/marketplace/marketplace.client.js +5 -9
- package/dist/martyrs/src/modules/marketplace/marketplace.client.js.map +1 -1
- package/dist/martyrs/src/modules/marketplace/views/components/{layouts → pages}/Marketplace.vue.js +16 -20
- package/dist/martyrs/src/modules/marketplace/views/components/pages/Marketplace.vue.js.map +1 -0
- package/dist/martyrs/src/modules/marketplace/views/components/sections/SectionMenu.vue.js +1 -1
- package/dist/martyrs/src/modules/marketplace/views/router/marketplace.router.js +39 -0
- package/dist/martyrs/src/modules/marketplace/views/router/marketplace.router.js.map +1 -0
- package/dist/martyrs/src/modules/music/components/cards/AlbumCard.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/cards/ArtistCardSmall.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/cards/PlaylistCard.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/cards/TrackListCard.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +3 -3
- package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +4 -4
- package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/forms/SearchForm.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +3 -3
- package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/pages/Artist.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.js +1 -1
- package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js +2 -2
- package/dist/martyrs/src/modules/music/components/pages/SearchResults.vue.js +2 -2
- 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/notifications/components/pages/Notifications.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js +3 -3
- package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js +3 -3
- package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +2 -2
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +1 -1
- package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +3 -3
- package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js +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 +3 -3
- package/dist/martyrs/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.js +1 -1
- package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js +2 -2
- package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.js +2 -2
- 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 +3 -3
- package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +3 -3
- package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +4 -4
- package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.js +2 -2
- package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +2 -2
- package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/elements/Image360.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +5 -5
- package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +6 -6
- package/dist/martyrs/src/modules/products/components/pages/ProductRecommmendation.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +3 -3
- package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js +2 -2
- package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +3 -3
- package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +4 -4
- package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js +1 -1
- package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +2 -2
- package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js +2 -2
- package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.js +1 -1
- package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js +1 -1
- package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +2 -2
- package/dist/martyrs/src/modules/spots/components/blocks/SpotMemberModify.vue.js +2 -2
- package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js +1 -1
- package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +4 -4
- package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +3 -3
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +1 -1
- package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +2 -2
- package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js +2 -2
- package/dist/martyrs.es.js +1 -1
- package/dist/music.server.js +4 -3
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.js +1 -1
- package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.js +1 -1
- package/dist/orders.server.js +2 -2
- package/dist/organizations.server.js +9 -219
- package/dist/products.server.js +4 -3
- package/dist/queryProcessorOrganizations-BB11WFpc.js +221 -0
- package/dist/rents.server.js +2 -1
- package/dist/{web-Cq5tyhkl.js → web-cNKIl_cL.js} +1 -1
- package/package.json +1 -1
- package/src/modules/core/views/components/sections/filters/FiltersGroup.vue +3 -4
- package/src/modules/landing/components/sections/SectionFeatures.vue +1 -1
- package/src/modules/marketplace/marketplace.client.js +3 -10
- package/src/modules/marketplace/views/components/{layouts → pages}/Marketplace.vue +7 -16
- package/src/modules/marketplace/views/router/marketplace.router.js +37 -45
- package/dist/martyrs/src/components/Button/Button.vue.js.map +0 -1
- package/dist/martyrs/src/components/EditImages/EditImages.vue2.js.map +0 -1
- package/dist/martyrs/src/components/Field/Field.vue2.js.map +0 -1
- package/dist/martyrs/src/components/Loader/Loader.vue2.js.map +0 -1
- package/dist/martyrs/src/components/Select/Select.vue2.js.map +0 -1
- package/dist/martyrs/src/components/SelectMulti/SelectMulti.vue.js.map +0 -1
- package/dist/martyrs/src/components/Tab/Tab.vue2.js.map +0 -1
- package/dist/martyrs/src/modules/core/views/components/sections/Filters.vue2.js.map +0 -1
- package/dist/martyrs/src/modules/marketplace/marketplace.router.js +0 -63
- package/dist/martyrs/src/modules/marketplace/marketplace.router.js.map +0 -1
- package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.js.map +0 -1
- package/dist/martyrs/src/modules/marketplace/views/components/pages/Catalog.vue.js +0 -73
- package/dist/martyrs/src/modules/marketplace/views/components/pages/Catalog.vue.js.map +0 -1
- package/src/modules/marketplace/marketplace.router.js +0 -66
- package/src/modules/marketplace/views/components/pages/Catalog.vue +0 -74
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { reactive, ref, createElementBlock, openBlock, renderSlot, createVNode, withCtx, createElementVNode, createTextVNode } from "vue";
|
|
2
2
|
import _sfc_main$1 from "../../../../components/Popup/Popup.vue.js";
|
|
3
|
-
import _sfc_main$2 from "../../../../components/Button/Button.
|
|
4
|
-
import Select from "../../../../components/Select/Select.
|
|
3
|
+
import _sfc_main$2 from "../../../../components/Button/Button.vue2.js";
|
|
4
|
+
import Select from "../../../../components/Select/Select.vue.js";
|
|
5
5
|
import { actions } from "../../store/reports.js";
|
|
6
6
|
const _sfc_main = {
|
|
7
7
|
__name: "FormReport",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref, computed, resolveComponent, createElementBlock, openBlock, createElementVNode, createCommentVNode, createBlock, toDisplayString } from "vue";
|
|
2
|
-
/* empty css
|
|
2
|
+
/* empty css */
|
|
3
3
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
/* empty css
|
|
4
|
+
/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
6
|
const _hoisted_1 = { class: "br-grey-transp-25 radius-small mn-b-small" };
|
|
7
7
|
const _hoisted_2 = {
|
|
@@ -2,7 +2,7 @@ import { ref, onMounted, watch, resolveComponent, createElementBlock, openBlock,
|
|
|
2
2
|
import { useRoute, useRouter } from "vue-router";
|
|
3
3
|
import { useI18n } from "vue-i18n";
|
|
4
4
|
/* empty css */
|
|
5
|
-
/* empty css
|
|
5
|
+
/* empty css */
|
|
6
6
|
/* empty css */
|
|
7
7
|
/* empty css */
|
|
8
8
|
import { useStore } from "../../../core/views/store/core.store.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref, onMounted, createElementBlock, openBlock, createElementVNode, createVNode, withCtx, createTextVNode } from "vue";
|
|
2
2
|
import { useRouter, useRoute } from "vue-router";
|
|
3
3
|
import { Loader } from "../../../../../../node_modules/.pnpm/@googlemaps_js-api-loader@1.16.8/node_modules/@googlemaps/js-api-loader/dist/index.js";
|
|
4
|
-
import _sfc_main$1 from "../../../../components/Button/Button.
|
|
4
|
+
import _sfc_main$1 from "../../../../components/Button/Button.vue2.js";
|
|
5
5
|
import { actions, state as state$1 } from "../../../organizations/store/organizations.js";
|
|
6
6
|
import { useStore } from "../../../core/views/store/core.store.js";
|
|
7
7
|
import { state } from "../../../marketplace/views/store/marketplace.js";
|
|
@@ -2,13 +2,13 @@ import { ref, onMounted, createElementBlock, createCommentVNode, openBlock, crea
|
|
|
2
2
|
import { useRouter, useRoute } from "vue-router";
|
|
3
3
|
import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
|
|
4
4
|
import UploadImage from "../../../../components/UploadImage/UploadImage.vue.js";
|
|
5
|
-
/* empty css
|
|
6
|
-
import Field from "../../../../components/Field/Field.
|
|
7
|
-
import Select from "../../../../components/Select/Select.
|
|
5
|
+
/* empty css */
|
|
6
|
+
import Field from "../../../../components/Field/Field.vue.js";
|
|
7
|
+
import Select from "../../../../components/Select/Select.vue.js";
|
|
8
8
|
import _sfc_main$3 from "../../../../components/Checkbox/Checkbox.vue.js";
|
|
9
9
|
import _sfc_main$4 from "../../../../components/Address/Address.vue.js";
|
|
10
10
|
import _sfc_main$5 from "../../../../components/LocationMarker/LocationMarker.vue.js";
|
|
11
|
-
import _sfc_main$2 from "../../../../components/Button/Button.
|
|
11
|
+
import _sfc_main$2 from "../../../../components/Button/Button.vue2.js";
|
|
12
12
|
/* empty css */
|
|
13
13
|
import WorktimeEdit from "../sections/WorktimeEdit.vue.js";
|
|
14
14
|
import { actions, state } from "../../store/spots.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { mergeModels, useModel, ref, computed, onMounted, createElementBlock, openBlock, createElementVNode, createVNode, toDisplayString, unref, withCtx, createTextVNode, Fragment, renderList, normalizeClass, createCommentVNode, createBlock } from "vue";
|
|
2
2
|
import { useI18n } from "vue-i18n";
|
|
3
|
-
import _sfc_main$1 from "../../../../components/Button/Button.
|
|
4
|
-
import Field from "../../../../components/Field/Field.
|
|
5
|
-
import Select from "../../../../components/Select/Select.
|
|
3
|
+
import _sfc_main$1 from "../../../../components/Button/Button.vue2.js";
|
|
4
|
+
import Field from "../../../../components/Field/Field.vue.js";
|
|
5
|
+
import Select from "../../../../components/Select/Select.vue.js";
|
|
6
6
|
import _sfc_main$3 from "../../../../components/Checkbox/Checkbox.vue.js";
|
|
7
7
|
import _sfc_main$2 from "../../../../components/Popup/Popup.vue.js";
|
|
8
8
|
/* empty css */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createElementBlock, openBlock, Fragment, createElementVNode, createVNode, unref, toDisplayString } from "vue";
|
|
2
2
|
import text from "../../localization/wallet.json.js";
|
|
3
|
-
import Field from "../../../../../components/Field/Field.
|
|
3
|
+
import Field from "../../../../../components/Field/Field.vue.js";
|
|
4
4
|
import { useI18n } from "vue-i18n";
|
|
5
5
|
const _hoisted_1 = { class: "bg-grey radius-big mn-t-semi mn-b-semi flex flex-justify-between" };
|
|
6
6
|
const _sfc_main = {
|
|
@@ -3,8 +3,8 @@ import { useI18n } from "vue-i18n";
|
|
|
3
3
|
import { BigNumber } from "../../../../../../node_modules/.pnpm/bignumber.js@9.1.2/node_modules/bignumber.js/bignumber.js";
|
|
4
4
|
import { state, actions } from "../../store/wallet.store.js";
|
|
5
5
|
import text from "../../localization/wallet.json.js";
|
|
6
|
-
import Field from "../../../../../components/Field/Field.
|
|
7
|
-
import Select from "../../../../../components/Select/Select.
|
|
6
|
+
import Field from "../../../../../components/Field/Field.vue.js";
|
|
7
|
+
import Select from "../../../../../components/Select/Select.vue.js";
|
|
8
8
|
const _hoisted_1 = { class: "mn-b-small t-center t-bold" };
|
|
9
9
|
const _hoisted_2 = { class: "t-semi" };
|
|
10
10
|
const _hoisted_3 = ["disabled"];
|
|
@@ -4,11 +4,11 @@ import Web3 from "web3";
|
|
|
4
4
|
import { state, actions } from "../../store/wallet.store.js";
|
|
5
5
|
import text from "../../localization/wallet.json.js";
|
|
6
6
|
import _sfc_main$3 from "../../../../../components/Popup/Popup.vue.js";
|
|
7
|
-
import _sfc_main$1 from "../../../../../components/Button/Button.
|
|
7
|
+
import _sfc_main$1 from "../../../../../components/Button/Button.vue2.js";
|
|
8
8
|
import "vue-router";
|
|
9
9
|
/* empty css */
|
|
10
10
|
/* empty css */
|
|
11
|
-
/* empty css
|
|
11
|
+
/* empty css */
|
|
12
12
|
import _sfc_main$2 from "../elements/ConnectMetamask.vue.js";
|
|
13
13
|
import _sfc_main$4 from "../blocks/CashDeposit.vue.js";
|
|
14
14
|
import _sfc_main$5 from "../blocks/CardDeposit.vue.js";
|
package/dist/martyrs.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as e, a as o, b as d, C as r, k as t, c as l, d as i, e as p, f as u, g as n, h as M, i as S, j as c, F as m, l as C, n as F, o as g, p as h, L as b, q as k, M as x, r as B, I, s as T, t as U, u as f, v as w, S as D, w as E, x as L, y as P, z as q, A as y, B as A, D as G, E as j, U as v, G as z, H, m as R } from "./main-
|
|
1
|
+
import { _ as e, a as o, b as d, C as r, k as t, c as l, d as i, e as p, f as u, g as n, h as M, i as S, j as c, F as m, l as C, n as F, o as g, p as h, L as b, q as k, M as x, r as B, I, s as T, t as U, u as f, v as w, S as D, w as E, x as L, y as P, z as q, A as y, B as A, D as G, E as j, U as v, G as z, H, m as R } from "./main-CmjWiDVF.js";
|
|
2
2
|
export {
|
|
3
3
|
e as Address,
|
|
4
4
|
o as Breadcrumbs,
|
package/dist/music.server.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { c as coreabac } from "./core.abac-DUPBnlk6.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { C as CacheNamespaced } from "./core.cache-DALYFDdy.js";
|
|
3
|
+
import { L as LoggerNamespaced } from "./core.logger-C3q8A9dl.js";
|
|
4
|
+
import { C as CRUD } from "./crud-C7FSTUes.js";
|
|
5
|
+
import { A as ABAC } from "./abac-DYoheWuc.js";
|
|
5
6
|
import { V as Verifier, a as Validator } from "./core.verifier-gPPX_jhf.js";
|
|
6
7
|
import fs$1 from "fs";
|
|
7
8
|
import path$1 from "path";
|
package/dist/orders.server.js
CHANGED
|
@@ -4,8 +4,8 @@ import "./mailing-DuEFRsa3.js";
|
|
|
4
4
|
import { m as modelsFactory, a as applyProfileSchema } from "./profile.schema-CjLOfG7b.js";
|
|
5
5
|
import { a as applyOwnershipSchema } from "./ownership.schema-fwwDf_e5.js";
|
|
6
6
|
import { a as applyCredentialsSchema } from "./credentials.schema--2vvcu8c.js";
|
|
7
|
-
import { C as CRUD } from "./crud-
|
|
8
|
-
import { A as ABAC } from "./abac-
|
|
7
|
+
import { C as CRUD } from "./crud-C7FSTUes.js";
|
|
8
|
+
import { A as ABAC } from "./abac-DYoheWuc.js";
|
|
9
9
|
import axios from "axios";
|
|
10
10
|
import { V as Verifier, a as Validator } from "./core.verifier-gPPX_jhf.js";
|
|
11
11
|
import { m as middlewareIndexFactory } from "./index-_Edcmck_.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as ABAC } from "./abac-
|
|
1
|
+
import { A as ABAC } from "./abac-DYoheWuc.js";
|
|
2
2
|
import { a as applyCredentialsSchema } from "./credentials.schema--2vvcu8c.js";
|
|
3
3
|
import { a as applyOwnershipSchema } from "./ownership.schema-fwwDf_e5.js";
|
|
4
4
|
import { a as applyEngagementSchema } from "./engagement.schema-fh6W1fb_.js";
|
|
@@ -8,10 +8,10 @@ import { uuid } from "uuidv4";
|
|
|
8
8
|
import { q as queryProcessorCore } from "./queryProcessor-CBQgZycY.js";
|
|
9
9
|
import { Types } from "mongoose";
|
|
10
10
|
import { c as coreabac } from "./core.abac-DUPBnlk6.js";
|
|
11
|
-
import { C as CacheNamespaced } from "./core.
|
|
11
|
+
import { C as CacheNamespaced } from "./core.cache-DALYFDdy.js";
|
|
12
12
|
import { a as addUserStatusFields, b as addMembersQuantity } from "./addUserStatusFields-Cc-JpmPo.js";
|
|
13
13
|
import jwt from "jsonwebtoken";
|
|
14
|
-
import
|
|
14
|
+
import { g as getRequestedLookups, a as getBasicMatchConditions, b as getLookupStages, c as getPostableConditions, d as getContainConditions, e as getPriceConditions, f as getLocationStages } from "./queryProcessorOrganizations-BB11WFpc.js";
|
|
15
15
|
import { V as Verifier, a as Validator } from "./core.verifier-gPPX_jhf.js";
|
|
16
16
|
const controllerFactory$2 = (db) => {
|
|
17
17
|
const Department = db.department;
|
|
@@ -666,7 +666,7 @@ const invitesRoutes = (function(app, db) {
|
|
|
666
666
|
app.put("/api/invites/update", controller.update);
|
|
667
667
|
app.post("/api/invites/delete", controller.delete);
|
|
668
668
|
});
|
|
669
|
-
const ObjectId
|
|
669
|
+
const ObjectId = { Types }.Types.ObjectId;
|
|
670
670
|
const controllerFactory$1 = (db) => {
|
|
671
671
|
const Membership = db.membership;
|
|
672
672
|
const Department = db.department;
|
|
@@ -694,9 +694,9 @@ const controllerFactory$1 = (db) => {
|
|
|
694
694
|
},
|
|
695
695
|
{
|
|
696
696
|
$match: {
|
|
697
|
-
...req.query.user && { user: new ObjectId
|
|
697
|
+
...req.query.user && { user: new ObjectId(req.query.user) },
|
|
698
698
|
...req.query.type && { type: req.query.type },
|
|
699
|
-
...req.query.target && { target: new ObjectId
|
|
699
|
+
...req.query.target && { target: new ObjectId(req.query.target) },
|
|
700
700
|
...req.query.role && { role: { $in: req.query.role } },
|
|
701
701
|
...req.query.search && {
|
|
702
702
|
$or: [
|
|
@@ -777,10 +777,10 @@ const controllerFactory$1 = (db) => {
|
|
|
777
777
|
const { _id, type, target, user, role } = req.body;
|
|
778
778
|
console.log("Delete membership request:", { _id, type, target, user, role });
|
|
779
779
|
try {
|
|
780
|
-
const query = _id ? { _id: new ObjectId
|
|
780
|
+
const query = _id ? { _id: new ObjectId(_id) } : {
|
|
781
781
|
type,
|
|
782
|
-
target: new ObjectId
|
|
783
|
-
user: new ObjectId
|
|
782
|
+
target: new ObjectId(target),
|
|
783
|
+
user: new ObjectId(user),
|
|
784
784
|
role
|
|
785
785
|
};
|
|
786
786
|
console.log("Delete query:", query);
|
|
@@ -881,216 +881,6 @@ const lookupConfigs = {
|
|
|
881
881
|
}
|
|
882
882
|
}
|
|
883
883
|
};
|
|
884
|
-
const ObjectId = { Types }.Types.ObjectId;
|
|
885
|
-
const { Client } = googleMapsServicesJs;
|
|
886
|
-
const client = new Client({});
|
|
887
|
-
const getRequestedLookups = (query) => query.lookup ? Array.isArray(query.lookup) ? query.lookup : [query.lookup] : [];
|
|
888
|
-
const getLookupStages = (requestedLookups, configs) => {
|
|
889
|
-
if (!requestedLookups) return [];
|
|
890
|
-
const lookupsArray = Array.isArray(requestedLookups) ? requestedLookups : requestedLookups.split(",");
|
|
891
|
-
return lookupsArray.map((lookup) => configs[lookup]).filter(Boolean).flatMap((config) => [
|
|
892
|
-
{ $lookup: config.lookup },
|
|
893
|
-
// Оберните lookup в объект с $lookup
|
|
894
|
-
...config.additionalStages || []
|
|
895
|
-
]);
|
|
896
|
-
};
|
|
897
|
-
const getLocationStages = async (query) => {
|
|
898
|
-
if (!hasLocationParams(query)) {
|
|
899
|
-
return { stages: [], userLocation: null };
|
|
900
|
-
}
|
|
901
|
-
const location = await resolveLocation(query);
|
|
902
|
-
const radius = getRadius(query);
|
|
903
|
-
const geoStages = radius ? [
|
|
904
|
-
{
|
|
905
|
-
$match: {
|
|
906
|
-
"spots.location.coordinates": {
|
|
907
|
-
$geoWithin: {
|
|
908
|
-
$centerSphere: [[location.coordinates[0], location.coordinates[1]], radius]
|
|
909
|
-
}
|
|
910
|
-
}
|
|
911
|
-
}
|
|
912
|
-
}
|
|
913
|
-
] : [];
|
|
914
|
-
return {
|
|
915
|
-
stages: [...geoStages, ...getDistanceStages(location)],
|
|
916
|
-
userLocation: location
|
|
917
|
-
};
|
|
918
|
-
};
|
|
919
|
-
const getRadius = (query) => {
|
|
920
|
-
if (query.locationRadius) return parseFloat(query.locationRadius) / 6378.1;
|
|
921
|
-
if (query.city) return 25 / 6378.1;
|
|
922
|
-
if (query.state) return 50 / 6378.1;
|
|
923
|
-
return null;
|
|
924
|
-
};
|
|
925
|
-
const hasLocationParams = (query) => query.location || query.address || query.city || query.state || query.country;
|
|
926
|
-
const resolveLocation = async (query) => {
|
|
927
|
-
if (query.location) {
|
|
928
|
-
const parsedLocation = typeof query.location === "string" ? JSON.parse(query.location) : query.location;
|
|
929
|
-
const coordinates = parsedLocation.lng ? [parsedLocation.lng, parsedLocation.lat] : parsedLocation.coordinates;
|
|
930
|
-
return { coordinates: coordinates.map((coord) => parseFloat(coord)) };
|
|
931
|
-
}
|
|
932
|
-
const searchString = [query.address, query.city, query.state, query.country].filter(Boolean).join(", ");
|
|
933
|
-
try {
|
|
934
|
-
const geoResponse = await client.geocode({
|
|
935
|
-
params: {
|
|
936
|
-
address: searchString,
|
|
937
|
-
key: process.env.GOOGLE_MAPS_API_KEY
|
|
938
|
-
}
|
|
939
|
-
});
|
|
940
|
-
if (!geoResponse.data.results?.length) {
|
|
941
|
-
throw new Error("Unable to geocode the provided location.");
|
|
942
|
-
}
|
|
943
|
-
const { lng, lat } = geoResponse.data.results[0].geometry.location;
|
|
944
|
-
return { coordinates: [lng, lat] };
|
|
945
|
-
} catch (err) {
|
|
946
|
-
throw new Error("Error occurred while geocoding.");
|
|
947
|
-
}
|
|
948
|
-
};
|
|
949
|
-
const getDistanceStages = (location) => [
|
|
950
|
-
{
|
|
951
|
-
$addFields: {
|
|
952
|
-
spots: {
|
|
953
|
-
$map: {
|
|
954
|
-
input: "$spots",
|
|
955
|
-
as: "spot",
|
|
956
|
-
in: {
|
|
957
|
-
$mergeObjects: [
|
|
958
|
-
"$$spot",
|
|
959
|
-
{
|
|
960
|
-
distance: {
|
|
961
|
-
$function: {
|
|
962
|
-
body: `function(spotCoords, userCoords, isMiles) {
|
|
963
|
-
function toRad(x) {
|
|
964
|
-
return x * Math.PI / 180;
|
|
965
|
-
}
|
|
966
|
-
var lon1 = spotCoords[0];
|
|
967
|
-
var lat1 = spotCoords[1];
|
|
968
|
-
var lon2 = userCoords[0];
|
|
969
|
-
var lat2 = userCoords[1];
|
|
970
|
-
var R = 6371;
|
|
971
|
-
if (isMiles) R = 3959;
|
|
972
|
-
var x1 = lat2 - lat1;
|
|
973
|
-
var dLat = toRad(x1);
|
|
974
|
-
var x2 = lon2 - lon1;
|
|
975
|
-
var dLon = toRad(x2);
|
|
976
|
-
var a = Math.sin(dLat / 2) * Math.sin(dLat / 2) +
|
|
977
|
-
Math.cos(toRad(lat1)) * Math.cos(toRad(lat2)) *
|
|
978
|
-
Math.sin(dLon / 2) * Math.sin(dLon / 2);
|
|
979
|
-
var c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1 - a));
|
|
980
|
-
var d = R * c;
|
|
981
|
-
return d;
|
|
982
|
-
}`,
|
|
983
|
-
args: ["$$spot.location.coordinates", location.coordinates, false],
|
|
984
|
-
lang: "js"
|
|
985
|
-
}
|
|
986
|
-
}
|
|
987
|
-
}
|
|
988
|
-
]
|
|
989
|
-
}
|
|
990
|
-
}
|
|
991
|
-
}
|
|
992
|
-
}
|
|
993
|
-
},
|
|
994
|
-
{
|
|
995
|
-
$addFields: {
|
|
996
|
-
distance: { $min: "$spots.distance" },
|
|
997
|
-
distanceExist: {
|
|
998
|
-
$cond: {
|
|
999
|
-
if: { $eq: [{ $type: "$distance" }, "double"] },
|
|
1000
|
-
then: true,
|
|
1001
|
-
else: false
|
|
1002
|
-
}
|
|
1003
|
-
}
|
|
1004
|
-
}
|
|
1005
|
-
}
|
|
1006
|
-
];
|
|
1007
|
-
const getPriceConditions = (prices, priceMin, priceMax) => {
|
|
1008
|
-
if (priceMin && priceMin.trim() !== "" || priceMax && priceMax.trim() !== "") {
|
|
1009
|
-
const min = priceMin && priceMin.trim() !== "" ? priceMin : "0";
|
|
1010
|
-
const max = priceMax && priceMax.trim() !== "" ? priceMax : "999999";
|
|
1011
|
-
prices = `${min}-${max}`;
|
|
1012
|
-
}
|
|
1013
|
-
if (!prices) return [];
|
|
1014
|
-
const priceRanges = prices.split(",");
|
|
1015
|
-
const priceConditions = priceRanges.map((priceRange) => {
|
|
1016
|
-
if (priceRange.startsWith("<")) return { "products.price": { $lt: parseInt(priceRange.slice(1)) } };
|
|
1017
|
-
if (priceRange.startsWith(">")) return { "products.price": { $gt: parseInt(priceRange.slice(1)) } };
|
|
1018
|
-
const [min, max] = priceRange.split("-").map(Number);
|
|
1019
|
-
return { "products.price": { $gte: min, $lte: max } };
|
|
1020
|
-
});
|
|
1021
|
-
return priceConditions.length > 0 ? [{ $match: { $or: priceConditions } }] : [];
|
|
1022
|
-
};
|
|
1023
|
-
const getContainConditions = (contain) => {
|
|
1024
|
-
if (!contain) return [];
|
|
1025
|
-
const conditions = contain.map((property) => ({
|
|
1026
|
-
[property]: { $exists: true, $not: { $size: 0 } }
|
|
1027
|
-
}));
|
|
1028
|
-
return conditions.length > 0 ? [{ $match: { $and: conditions } }] : [];
|
|
1029
|
-
};
|
|
1030
|
-
const getBasicMatchConditions = (query) => [
|
|
1031
|
-
...query._id ? [{ _id: new ObjectId(query._id) }] : [],
|
|
1032
|
-
...query.owner ? [{ owner: new ObjectId(query.owner) }] : [],
|
|
1033
|
-
...query.types ? [{ types: { $in: query.types } }] : [],
|
|
1034
|
-
...query.member ? [
|
|
1035
|
-
{
|
|
1036
|
-
memberships: {
|
|
1037
|
-
$elemMatch: {
|
|
1038
|
-
user: new ObjectId(query.member),
|
|
1039
|
-
role: "member"
|
|
1040
|
-
}
|
|
1041
|
-
}
|
|
1042
|
-
}
|
|
1043
|
-
] : [],
|
|
1044
|
-
...query.subscriber ? [
|
|
1045
|
-
{
|
|
1046
|
-
memberships: {
|
|
1047
|
-
$elemMatch: {
|
|
1048
|
-
user: new ObjectId(query.subscriber),
|
|
1049
|
-
role: "subscriber"
|
|
1050
|
-
}
|
|
1051
|
-
}
|
|
1052
|
-
}
|
|
1053
|
-
] : [],
|
|
1054
|
-
...query.categories?.split(",").length > 0 ? [{ "products.category": { $in: query.categories?.split(",") } }] : [],
|
|
1055
|
-
...query.delivery?.split(",").length > 0 ? [{ "spots.delivery": { $all: query.delivery?.split(",") } }] : []
|
|
1056
|
-
];
|
|
1057
|
-
const getPostableConditions = (postableId) => {
|
|
1058
|
-
if (!postableId) return [];
|
|
1059
|
-
return [
|
|
1060
|
-
{
|
|
1061
|
-
$match: {
|
|
1062
|
-
$or: [
|
|
1063
|
-
{ owner: new ObjectId(postableId) },
|
|
1064
|
-
{
|
|
1065
|
-
$and: [
|
|
1066
|
-
{ types: { $elemMatch: { $eq: "public" } } },
|
|
1067
|
-
{
|
|
1068
|
-
memberships: {
|
|
1069
|
-
$elemMatch: {
|
|
1070
|
-
user: new ObjectId(postableId)
|
|
1071
|
-
}
|
|
1072
|
-
}
|
|
1073
|
-
}
|
|
1074
|
-
]
|
|
1075
|
-
},
|
|
1076
|
-
{
|
|
1077
|
-
$and: [
|
|
1078
|
-
{ types: { $elemMatch: { $in: ["exclusive", "hidden"] } } },
|
|
1079
|
-
{
|
|
1080
|
-
memberships: {
|
|
1081
|
-
$elemMatch: {
|
|
1082
|
-
user: new ObjectId(postableId),
|
|
1083
|
-
role: { $ne: "subscriber" }
|
|
1084
|
-
}
|
|
1085
|
-
}
|
|
1086
|
-
}
|
|
1087
|
-
]
|
|
1088
|
-
}
|
|
1089
|
-
]
|
|
1090
|
-
}
|
|
1091
|
-
}
|
|
1092
|
-
];
|
|
1093
|
-
};
|
|
1094
884
|
const controllerFactory = (db) => {
|
|
1095
885
|
const Organization = db.organization;
|
|
1096
886
|
const Department = db.department;
|
package/dist/products.server.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as CacheNamespaced } from "./core.cache-DALYFDdy.js";
|
|
2
|
+
import { L as LoggerNamespaced } from "./core.logger-C3q8A9dl.js";
|
|
2
3
|
import { q as queryProcessorCore } from "./queryProcessor-CBQgZycY.js";
|
|
3
4
|
import OpenAI from "openai";
|
|
4
5
|
import { Types } from "mongoose";
|
|
@@ -9,8 +10,8 @@ import { a as applyOwnershipSchema } from "./ownership.schema-fwwDf_e5.js";
|
|
|
9
10
|
import { m as middlewareFactory } from "./authJwt-J1csaMWA.js";
|
|
10
11
|
import { c as coreabac } from "./core.abac-DUPBnlk6.js";
|
|
11
12
|
import { a as Validator, V as Verifier } from "./core.verifier-gPPX_jhf.js";
|
|
12
|
-
import { C as CRUD } from "./crud-
|
|
13
|
-
import { A as ABAC } from "./abac-
|
|
13
|
+
import { C as CRUD } from "./crud-C7FSTUes.js";
|
|
14
|
+
import { A as ABAC } from "./abac-DYoheWuc.js";
|
|
14
15
|
const controllerFactory$1 = (db) => {
|
|
15
16
|
const Category = db.category;
|
|
16
17
|
const logger = new LoggerNamespaced(db);
|