@ozdao/prometheus-framework 0.2.317 → 0.2.318
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/products.server.js +4 -0
- package/dist/products.server.mjs +4 -0
- package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue2.js +1 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.cjs +0 -93
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.js +1 -94
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.cjs +93 -0
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.js +94 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.js.map +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +1 -1
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.js +1 -1
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockFilter.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockFilter.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionGuide.vue.cjs +48 -48
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionGuide.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionGuide.vue.js +48 -48
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionGuide.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionOverview.vue.cjs +57 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionOverview.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionOverview.vue.js +57 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionOverview.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/landing/landing.client.cjs +2 -0
- package/dist/prometheus-framework/src/modules/landing/landing.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/landing.client.js +6 -4
- package/dist/prometheus-framework/src/modules/landing/landing.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/marketplace/marketplace.client.cjs +13 -0
- package/dist/prometheus-framework/src/modules/marketplace/marketplace.client.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/marketplace/marketplace.client.js +13 -0
- package/dist/prometheus-framework/src/modules/marketplace/marketplace.client.js.map +1 -0
- package/dist/prometheus-framework/src/modules/marketplace/views/components/layouts/Marketplace.vue.cjs +179 -0
- package/dist/prometheus-framework/src/modules/marketplace/views/components/layouts/Marketplace.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/marketplace/views/components/layouts/Marketplace.vue.js +179 -0
- package/dist/prometheus-framework/src/modules/marketplace/views/components/layouts/Marketplace.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/marketplace/views/components/pages/Catalog.vue.cjs +67 -0
- package/dist/prometheus-framework/src/modules/marketplace/views/components/pages/Catalog.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/marketplace/views/components/pages/Catalog.vue.js +67 -0
- package/dist/prometheus-framework/src/modules/marketplace/views/components/pages/Catalog.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/marketplace/views/components/sections/SectionMenu.vue.cjs +121 -0
- package/dist/prometheus-framework/src/modules/marketplace/views/components/sections/SectionMenu.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/marketplace/views/components/sections/SectionMenu.vue.js +121 -0
- package/dist/prometheus-framework/src/modules/marketplace/views/components/sections/SectionMenu.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/marketplace/views/store/marketplace.cjs +57 -0
- package/dist/prometheus-framework/src/modules/marketplace/views/store/marketplace.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/marketplace/views/store/marketplace.js +57 -0
- package/dist/prometheus-framework/src/modules/marketplace/views/store/marketplace.js.map +1 -0
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +859 -859
- package/dist/prometheus-framework/src/modules/pages/pages.client.js +859 -859
- package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +30 -20
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +33 -23
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/products.client.cjs +3 -19
- package/dist/prometheus-framework/src/modules/products/products.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/products.client.js +26 -42
- package/dist/prometheus-framework/src/modules/products/products.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/store/categories.cjs +3 -0
- package/dist/prometheus-framework/src/modules/products/store/categories.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/store/categories.js +3 -0
- package/dist/prometheus-framework/src/modules/products/store/categories.js.map +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +2 -2
- package/package.json +5 -1
- package/src/modules/auth/models/role.model.js +1 -1
- package/src/modules/globals/views/core/event.js +48 -0
- package/src/modules/globals/views/core/module-manager.js +91 -0
- package/src/modules/globals/views/core/module.js +106 -0
- package/src/modules/landing/components/sections/SectionGuide.vue +48 -48
- package/src/modules/landing/components/sections/SectionOverview.vue +40 -0
- package/src/modules/landing/landing.client.js +2 -0
- package/src/modules/marketplace/marketplace.client.js +59 -0
- package/src/modules/{products → marketplace/views}/components/layouts/Marketplace.vue +3 -1
- package/src/modules/{products → marketplace/views}/components/pages/Catalog.vue +4 -3
- package/src/modules/{products/components/sections/MenuSection.vue → marketplace/views/components/sections/SectionMenu.vue} +25 -35
- package/src/modules/{products → marketplace/views}/router/marketplace.router.js +1 -2
- package/src/modules/products/components/pages/CategoryEdit.vue +23 -7
- package/src/modules/products/components/pages/Products.vue +1 -1
- package/src/modules/products/components/sections/FilterProducts.vue +1 -1
- package/src/modules/products/models/category.model.js +5 -0
- package/src/modules/products/products.client.js +0 -16
- package/src/modules/products/store/categories.js +6 -0
- package/src/modules/spots/components/layouts/Spots.vue +1 -4
- package/src/modules/spots/components/pages/Map.vue +1 -1
- package/src/modules/landing/components/sections/SectionsSection.vue +0 -66
- package/src/modules/products/components/sections/Filters.vue +0 -152
- /package/src/modules/{products → marketplace/views}/store/marketplace.js +0 -0
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
|
-
const Spoiler = require("../../../../components/Spoiler/Spoiler.
|
4
|
+
const Spoiler = require("../../../../components/Spoiler/Spoiler.vue.cjs");
|
5
5
|
const Map = require("../../../../components/Map/Map.vue.cjs");
|
6
6
|
const SpotSub = require("../blocks/SpotSub.vue.cjs");
|
7
7
|
const CardUser = require("../../../auth/views/components/blocks/CardUser.vue.cjs");
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { openBlock, createElementBlock, createVNode, createElementVNode, withCtx, toDisplayString, createCommentVNode, Fragment, renderList, createBlock } from "vue";
|
2
|
-
import _sfc_main$1 from "../../../../components/Spoiler/Spoiler.
|
2
|
+
import _sfc_main$1 from "../../../../components/Spoiler/Spoiler.vue.js";
|
3
3
|
import Map from "../../../../components/Map/Map.vue.js";
|
4
4
|
import SpotSub from "../blocks/SpotSub.vue.js";
|
5
5
|
import _sfc_main$2 from "../../../auth/views/components/blocks/CardUser.vue.js";
|
@@ -12,7 +12,7 @@ const Address = require("../../../../components/Address/Address.vue2.cjs");
|
|
12
12
|
const LocationMarker = require("../../../../components/LocationMarker/LocationMarker.vue2.cjs");
|
13
13
|
const Button = require("../../../../components/Button/Button.vue2.cjs");
|
14
14
|
require("vue-i18n");
|
15
|
-
;/* empty css
|
15
|
+
;/* empty css */
|
16
16
|
const spots = require("../../store/spots.cjs");
|
17
17
|
const _hoisted_1 = { class: "for-transition w-100 cols-1 pd-thin gap-thin" };
|
18
18
|
const _hoisted_2 = { class: "mn-r-auto" };
|
@@ -10,7 +10,7 @@ import _sfc_main$5 from "../../../../components/Address/Address.vue2.js";
|
|
10
10
|
import _sfc_main$6 from "../../../../components/LocationMarker/LocationMarker.vue2.js";
|
11
11
|
import _sfc_main$2 from "../../../../components/Button/Button.vue2.js";
|
12
12
|
import "vue-i18n";
|
13
|
-
/* empty css
|
13
|
+
/* empty css */
|
14
14
|
import { actions, state } from "../../store/spots.js";
|
15
15
|
const _hoisted_1 = { class: "for-transition w-100 cols-1 pd-thin gap-thin" };
|
16
16
|
const _hoisted_2 = { class: "mn-r-auto" };
|
@@ -5,7 +5,7 @@ const vueI18n = require("vue-i18n");
|
|
5
5
|
const Web3 = require("web3");
|
6
6
|
const wallet_store = require("../../store/wallet.store.cjs");
|
7
7
|
const wallet = require("../../localization/wallet.json.cjs");
|
8
|
-
const Popup = require("../../../../../components/Popup/Popup.
|
8
|
+
const Popup = require("../../../../../components/Popup/Popup.vue2.cjs");
|
9
9
|
const Button = require("../../../../../components/Button/Button.vue2.cjs");
|
10
10
|
require("vue-router");
|
11
11
|
;/* empty css */
|
@@ -15,7 +15,7 @@ require("../../../../reports/store/reports.cjs");
|
|
15
15
|
require("../../../../auth/views/store/auth.cjs");
|
16
16
|
require("../../../../organizations/store/memberships.cjs");
|
17
17
|
require("../../../../community/store/reactions.cjs");
|
18
|
-
;/* empty css
|
18
|
+
;/* empty css */
|
19
19
|
const ConnectMetamask = require("../elements/ConnectMetamask.vue.cjs");
|
20
20
|
const CashDeposit = require("../blocks/CashDeposit.vue.cjs");
|
21
21
|
const CardDeposit = require("../blocks/CardDeposit.vue.cjs");
|
@@ -3,7 +3,7 @@ import { useI18n } from "vue-i18n";
|
|
3
3
|
import Web3 from "web3";
|
4
4
|
import { state, actions } from "../../store/wallet.store.js";
|
5
5
|
import text from "../../localization/wallet.json.js";
|
6
|
-
import _sfc_main$3 from "../../../../../components/Popup/Popup.
|
6
|
+
import _sfc_main$3 from "../../../../../components/Popup/Popup.vue2.js";
|
7
7
|
import _sfc_main$1 from "../../../../../components/Button/Button.vue2.js";
|
8
8
|
import "vue-router";
|
9
9
|
/* empty css */
|
@@ -13,7 +13,7 @@ import "../../../../reports/store/reports.js";
|
|
13
13
|
import "../../../../auth/views/store/auth.js";
|
14
14
|
import "../../../../organizations/store/memberships.js";
|
15
15
|
import "../../../../community/store/reactions.js";
|
16
|
-
/* empty css
|
16
|
+
/* empty css */
|
17
17
|
import _sfc_main$2 from "../elements/ConnectMetamask.vue.js";
|
18
18
|
import _sfc_main$4 from "../blocks/CashDeposit.vue.js";
|
19
19
|
import _sfc_main$5 from "../blocks/CardDeposit.vue.js";
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ozdao/prometheus-framework",
|
3
|
-
"version": "0.2.
|
3
|
+
"version": "0.2.318",
|
4
4
|
"description": "Web3 Framework focused on user experience and ease of development.",
|
5
5
|
"author": "OZ DAO <hello@ozdao.dev>",
|
6
6
|
"license": "GPL-3.0-or-later",
|
@@ -100,6 +100,10 @@
|
|
100
100
|
"import": "./dist/products.server.mjs",
|
101
101
|
"require": "./dist/products.server.js"
|
102
102
|
},
|
103
|
+
"./modules/marketplace/client": {
|
104
|
+
"import": "./dist/prometheus-framework/src/modules/marketplace/marketplace.client.js",
|
105
|
+
"require": "./dist/prometheus-framework/src/modules/marketplace/marketplace.client.cjs"
|
106
|
+
},
|
103
107
|
"./modules/users/client": {
|
104
108
|
"import": "./dist/prometheus-framework/src/modules/users/users.client.js",
|
105
109
|
"require": "./dist/prometheus-framework/src/modules/users/users.client.cjs"
|
@@ -0,0 +1,48 @@
|
|
1
|
+
export const createEventBus = () => {
|
2
|
+
const events = new Map()
|
3
|
+
|
4
|
+
return {
|
5
|
+
emit(eventName, data) {
|
6
|
+
if (!eventName) throw new Error('Event name is required')
|
7
|
+
|
8
|
+
const listeners = events.get(eventName)
|
9
|
+
if (!listeners) return
|
10
|
+
|
11
|
+
// Execute callbacks in try-catch to prevent chain breaking
|
12
|
+
listeners.forEach(cb => {
|
13
|
+
try {
|
14
|
+
cb(data)
|
15
|
+
} catch (error) {
|
16
|
+
console.error(`Error in event listener for ${eventName}:`, error)
|
17
|
+
}
|
18
|
+
})
|
19
|
+
},
|
20
|
+
|
21
|
+
on(eventName, callback) {
|
22
|
+
if (!eventName) throw new Error('Event name is required')
|
23
|
+
if (typeof callback !== 'function') throw new Error('Callback must be a function')
|
24
|
+
|
25
|
+
if (!events.has(eventName)) {
|
26
|
+
events.set(eventName, new Set())
|
27
|
+
}
|
28
|
+
events.get(eventName).add(callback)
|
29
|
+
|
30
|
+
return () => this.off(eventName, callback)
|
31
|
+
},
|
32
|
+
|
33
|
+
off(eventName, callback) {
|
34
|
+
if (!eventName) throw new Error('Event name is required')
|
35
|
+
|
36
|
+
if (callback) {
|
37
|
+
events.get(eventName)?.delete(callback)
|
38
|
+
} else {
|
39
|
+
events.delete(eventName)
|
40
|
+
}
|
41
|
+
},
|
42
|
+
|
43
|
+
// Clear all events and listeners
|
44
|
+
destroy() {
|
45
|
+
events.clear()
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
@@ -0,0 +1,91 @@
|
|
1
|
+
export const createModuleManager = () => {
|
2
|
+
const modules = new Map()
|
3
|
+
const plugins = new Map()
|
4
|
+
const events = createEventBus()
|
5
|
+
|
6
|
+
const manager = {
|
7
|
+
registerModule(module) {
|
8
|
+
if (!module?.name) {
|
9
|
+
throw new Error('Invalid module object')
|
10
|
+
}
|
11
|
+
|
12
|
+
if (modules.has(module.name)) {
|
13
|
+
throw new Error(`Module ${module.name} is already registered`)
|
14
|
+
}
|
15
|
+
|
16
|
+
modules.set(module.name, module)
|
17
|
+
events.emit('moduleRegistered', module)
|
18
|
+
},
|
19
|
+
|
20
|
+
unregisterModule(name) {
|
21
|
+
const module = modules.get(name)
|
22
|
+
|
23
|
+
if (module) {
|
24
|
+
module.destroy()
|
25
|
+
modules.delete(name)
|
26
|
+
plugins.delete(name)
|
27
|
+
events.emit('moduleUnregistered', name)
|
28
|
+
}
|
29
|
+
},
|
30
|
+
|
31
|
+
_detectCircularDependencies(moduleName, visited = new Set()) {
|
32
|
+
if (visited.has(moduleName)) {
|
33
|
+
throw new Error(`Circular dependency detected for module ${moduleName}`)
|
34
|
+
}
|
35
|
+
|
36
|
+
visited.add(moduleName)
|
37
|
+
|
38
|
+
const module = modules.get(moduleName)
|
39
|
+
|
40
|
+
for (const dep of module.requires) {
|
41
|
+
this._detectCircularDependencies(dep, new Set(visited))
|
42
|
+
}
|
43
|
+
},
|
44
|
+
|
45
|
+
async initialize(app, store, router, options = {}) {
|
46
|
+
try {
|
47
|
+
// Check for circular dependencies
|
48
|
+
for (const module of modules.values()) {
|
49
|
+
this._detectCircularDependencies(module.name)
|
50
|
+
}
|
51
|
+
|
52
|
+
const sortedModules = this._sortModulesByDependencies()
|
53
|
+
|
54
|
+
// Initialize modules sequentially to maintain dependency order
|
55
|
+
for (const module of sortedModules) {
|
56
|
+
const moduleOptions = options[module.name] || {}
|
57
|
+
|
58
|
+
try {
|
59
|
+
await module.initialize(app, store, router, moduleOptions)
|
60
|
+
|
61
|
+
// Initialize plugins
|
62
|
+
if (plugins.has(module.name)) {
|
63
|
+
await Promise.all(
|
64
|
+
Array.from(plugins.get(module.name))
|
65
|
+
.map(plugin => plugin.initialize(app, store, router, moduleOptions))
|
66
|
+
)
|
67
|
+
}
|
68
|
+
} catch (error) {
|
69
|
+
throw new Error(`Failed to initialize module ${module.name}: ${error.message}`)
|
70
|
+
}
|
71
|
+
}
|
72
|
+
} catch (error) {
|
73
|
+
// Cleanup on initialization failure
|
74
|
+
this.destroy()
|
75
|
+
throw error
|
76
|
+
}
|
77
|
+
},
|
78
|
+
|
79
|
+
// Proper cleanup
|
80
|
+
destroy() {
|
81
|
+
for (const module of modules.values()) {
|
82
|
+
module.destroy()
|
83
|
+
}
|
84
|
+
modules.clear()
|
85
|
+
plugins.clear()
|
86
|
+
events.destroy()
|
87
|
+
}
|
88
|
+
}
|
89
|
+
|
90
|
+
return manager
|
91
|
+
}
|
@@ -0,0 +1,106 @@
|
|
1
|
+
export const createModule = ({
|
2
|
+
name,
|
3
|
+
version,
|
4
|
+
requires = [],
|
5
|
+
framework = 'vue' // Support for different frameworks
|
6
|
+
}) => {
|
7
|
+
if (!name) throw new Error('Module name is required')
|
8
|
+
if (!version) throw new Error('Module version is required')
|
9
|
+
|
10
|
+
// Private fields with WeakMap for better garbage collection
|
11
|
+
const stores = new WeakMap()
|
12
|
+
const routes = new WeakMap()
|
13
|
+
const components = new WeakMap()
|
14
|
+
const hooks = new WeakMap()
|
15
|
+
const events = createEventBus()
|
16
|
+
|
17
|
+
let isInitialized = false
|
18
|
+
|
19
|
+
// Validate component name uniqueness
|
20
|
+
const validateComponentName = (name) => {
|
21
|
+
if (components.has(name)) {
|
22
|
+
throw new Error(`Component ${name} already registered`)
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
const module = {
|
27
|
+
name,
|
28
|
+
version,
|
29
|
+
requires,
|
30
|
+
events,
|
31
|
+
|
32
|
+
addComponent(name, component, options = {}) {
|
33
|
+
validateComponentName(name)
|
34
|
+
|
35
|
+
const { async = false } = options
|
36
|
+
|
37
|
+
components.set(name, {
|
38
|
+
component,
|
39
|
+
async,
|
40
|
+
framework
|
41
|
+
})
|
42
|
+
},
|
43
|
+
|
44
|
+
// Add proper cleanup
|
45
|
+
destroy() {
|
46
|
+
stores.clear()
|
47
|
+
routes.clear()
|
48
|
+
components.clear()
|
49
|
+
hooks.clear()
|
50
|
+
events.destroy()
|
51
|
+
isInitialized = false
|
52
|
+
},
|
53
|
+
|
54
|
+
async initialize(app, store, router, options = {}) {
|
55
|
+
if (isInitialized) {
|
56
|
+
throw new Error(`Module ${name} is already initialized`)
|
57
|
+
}
|
58
|
+
|
59
|
+
try {
|
60
|
+
await this._runHooks('beforeInit', { app, store, router })
|
61
|
+
|
62
|
+
// Initialize features with error handling
|
63
|
+
await Promise.all([
|
64
|
+
this._initializeComponents(app, options),
|
65
|
+
this._initializeStores(store, options),
|
66
|
+
this._initializeRoutes(router, options)
|
67
|
+
])
|
68
|
+
|
69
|
+
await this._runHooks('init', { app, store, router })
|
70
|
+
await this._runHooks('afterInit', { app, store, router })
|
71
|
+
|
72
|
+
isInitialized = true
|
73
|
+
} catch (error) {
|
74
|
+
// Cleanup on initialization failure
|
75
|
+
this.destroy()
|
76
|
+
throw new Error(`Failed to initialize module ${name}: ${error.message}`)
|
77
|
+
}
|
78
|
+
},
|
79
|
+
|
80
|
+
// Private methods with proper error handling
|
81
|
+
async _initializeComponents(app, options) {
|
82
|
+
const usedFeatures = options.use || []
|
83
|
+
|
84
|
+
for (const [name, { component, async, framework }] of components) {
|
85
|
+
if (!usedFeatures.length || usedFeatures.includes(name)) {
|
86
|
+
try {
|
87
|
+
if (framework === 'vue') {
|
88
|
+
if (async) {
|
89
|
+
app.component(name, defineAsyncComponent(() => component))
|
90
|
+
} else {
|
91
|
+
app.component(name, component)
|
92
|
+
}
|
93
|
+
} else {
|
94
|
+
// Support for other frameworks
|
95
|
+
throw new Error(`Framework ${framework} not supported`)
|
96
|
+
}
|
97
|
+
} catch (error) {
|
98
|
+
throw new Error(`Failed to register component ${name}: ${error.message}`)
|
99
|
+
}
|
100
|
+
}
|
101
|
+
}
|
102
|
+
}
|
103
|
+
}
|
104
|
+
|
105
|
+
return module
|
106
|
+
}
|
@@ -35,57 +35,57 @@
|
|
35
35
|
textData: {
|
36
36
|
type: Object,
|
37
37
|
default: () => ({
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
}
|
84
|
-
}
|
38
|
+
en: {
|
39
|
+
title: 'If you still wonder?',
|
40
|
+
subtitle: 'Have questions about Weeder? Check out our FAQ section for comprehensive answers about our platform, products, and policies:',
|
41
|
+
FAQ: [{
|
42
|
+
title: 'Do you have a marijuana dispensary store that I can visit?',
|
43
|
+
description: "Unfortunately, we do not currently have our own physical dispensary store that is open to the public. However, you can visit our licensed partner Fin.Kan House to purchase marijuana products. Alternatively, you can also order weed from us directly through our website or by phone for delivery to your location. 📱"
|
44
|
+
},{
|
45
|
+
title: 'What is the minimum age requirement to purchase cannabis products?',
|
46
|
+
description: "The minimum age requirement to purchase cannabis products is 21 years of age 🔞. Please be prepared to provide proof of age when you receive delivery."
|
47
|
+
},{
|
48
|
+
title: 'How will my order be delivered?',
|
49
|
+
description: 'Orders will be delivered to the address provided at checkout 📬. Please ensure that someone is available to receive the delivery at the designated address.'
|
50
|
+
},{
|
51
|
+
title: 'Is it safe to order cannabis online?',
|
52
|
+
description: 'It is safe to order cannabis online from a licensed and reputable retailer 🏭. '
|
53
|
+
},{
|
54
|
+
title: 'Do you deliver weed to hotels in Thailand?',
|
55
|
+
description: 'Hell yeah! If you order weed online, be sure to give us the hotel name and where you would like to meet your weed delivery driver.'
|
56
|
+
},{
|
57
|
+
title: 'Are there any promotions or discounts available?',
|
58
|
+
description: 'We frequently offer promotions and discounts on select products 🎉. Please check our website or social media pages for the latest deals.'
|
59
|
+
}]
|
60
|
+
},
|
61
|
+
ru: {
|
62
|
+
title: 'У вас еще есть вопросы?',
|
63
|
+
FAQ: [{
|
64
|
+
title: 'У вас есть магазин марихуаны, который я могу посетить?',
|
65
|
+
description: 'К сожалению, у нас нет собственного физического магазина марихуаны, который открыт для посетителей. Однако вы можете посетить нашего лицензированного партнера Fin.Kan House, чтобы приобрести марихуану. Также вы можете заказать марихуану у нас напрямую через наш сайт или по телефону для доставки в ваш адрес.'
|
66
|
+
},{
|
67
|
+
title: 'Какой минимальный возраст для покупки каннабиса?',
|
68
|
+
description: 'Минимальное возрастное требование для покупки каннабиса составляет 21 год 🔞. Будьте готовы предъявить документы, когда вы будете получать доставку.'
|
69
|
+
},{
|
70
|
+
title: 'Как будет доставлен мой заказ?',
|
71
|
+
description: 'Заказы будут доставлены по указанному при оформлении заказа адресу 📬. Пожалуйста, убедитесь, что кто-то будет дома, чтобы принять доставку.'
|
72
|
+
},{
|
73
|
+
title: 'Безопасно ли заказывать каннабис онлайн?',
|
74
|
+
description: 'Да, безопасно заказывать каннабис онлайн у лицензированного и хорошо известного ретейлера 🏭. '
|
75
|
+
},{
|
76
|
+
title: 'Вы доставляете травку в отели Таиланда?',
|
77
|
+
description: 'Черт возьми, да! Если вы заказываете травку онлайн, обязательно сообщите нам название отеля и место, где вы хотели бы встретиться с водителем, доставляющим травку.'
|
78
|
+
},{
|
79
|
+
title: 'Есть ли какие-то акции или скидки?',
|
80
|
+
description: 'Мы часто предлагаем акции и скидки на определенные товары 🎉. Пожалуйста, посетите наш сайт или страницы в социальных сетях, чтобы узнать о последних предложениях.'
|
81
|
+
}]
|
82
|
+
}
|
85
83
|
})
|
86
84
|
}
|
87
85
|
})
|
88
|
-
|
86
|
+
const { t, tm } = useI18n({
|
87
|
+
messages: props.textData
|
88
|
+
})
|
89
89
|
</script>
|
90
90
|
|
91
91
|
<style lang="scss">
|
@@ -0,0 +1,40 @@
|
|
1
|
+
<template>
|
2
|
+
<div id="sections" class="pd-thin">
|
3
|
+
<h2 class="mn-auto pd-t-big pd-b-big t-center">
|
4
|
+
{{t('title')}}
|
5
|
+
</h2>
|
6
|
+
|
7
|
+
<div class="cols-4 gap-thin">
|
8
|
+
<router-link
|
9
|
+
v-for="section in tm('sections')"
|
10
|
+
:key="section.route"
|
11
|
+
:to="section.route"
|
12
|
+
class="t-center cursor-pointer hover-scale-0 transition-ease-in pd-big bg-light t-black radius-big"
|
13
|
+
>
|
14
|
+
<img
|
15
|
+
loading="lazy"
|
16
|
+
:src="section.image"
|
17
|
+
alt=""
|
18
|
+
class="w-100 object-fit-cover"
|
19
|
+
>
|
20
|
+
<h3 class="mn-b-medium">{{ section.title }}</h3>
|
21
|
+
<p class="t-transp">{{ section.text }}</p>
|
22
|
+
</router-link>
|
23
|
+
</div>
|
24
|
+
</div>
|
25
|
+
</template>
|
26
|
+
|
27
|
+
<script setup>
|
28
|
+
import { useI18n } from 'vue-i18n'
|
29
|
+
|
30
|
+
const props = defineProps({
|
31
|
+
localization: {
|
32
|
+
type: Object,
|
33
|
+
required: true
|
34
|
+
}
|
35
|
+
})
|
36
|
+
|
37
|
+
const { t, tm } = useI18n({
|
38
|
+
messages: props.localization
|
39
|
+
})
|
40
|
+
</script>
|
@@ -3,6 +3,7 @@ import MobileApp from './components/sections/MobileApp.vue';
|
|
3
3
|
import SubscribeNewsletter from './components/sections/SubscribeNewsletter.vue';
|
4
4
|
import SectionFeatures from './components/sections/SectionFeatures.vue';
|
5
5
|
import SectionGuide from './components/sections/SectionGuide.vue';
|
6
|
+
import SectionOverview from './components/sections/SectionOverview.vue';
|
6
7
|
|
7
8
|
import FloatingImages from './components/elements/FloatingImages.vue';
|
8
9
|
import AnimatedGrid from './components/elements/AnimatedGrid.vue';
|
@@ -10,6 +11,7 @@ import AnimatedGrid from './components/elements/AnimatedGrid.vue';
|
|
10
11
|
export {
|
11
12
|
MobileApp,
|
12
13
|
SectionGuide,
|
14
|
+
SectionOverview,
|
13
15
|
SubscribeNewsletter,
|
14
16
|
SectionFeatures,
|
15
17
|
FloatingImages,
|
@@ -0,0 +1,59 @@
|
|
1
|
+
// Router
|
2
|
+
import routerMarketplace from './views/router/marketplace.router.js';
|
3
|
+
|
4
|
+
//Store
|
5
|
+
import * as storeMarketplace from './views/store/marketplace.js';
|
6
|
+
|
7
|
+
// Layouts
|
8
|
+
import Marketplace from './views/components/layouts/Marketplace.vue';
|
9
|
+
|
10
|
+
// Sections
|
11
|
+
import SectionMenu from './views/components/sections/SectionMenu.vue';
|
12
|
+
|
13
|
+
// Pages
|
14
|
+
import Catalog from './views/components/pages/Catalog.vue';
|
15
|
+
|
16
|
+
// Пример функции инициализации для модуля продуктов
|
17
|
+
function initializeProducts(app, store, router, options = {}) {
|
18
|
+
const route = options.route || 'Home';
|
19
|
+
|
20
|
+
router.addRoute(route, routerMarketplace);
|
21
|
+
|
22
|
+
store.addStore('marketplace', storeMarketplace);
|
23
|
+
}
|
24
|
+
|
25
|
+
const ModuleProducts = {
|
26
|
+
initialize: initializeProducts,
|
27
|
+
views: {
|
28
|
+
store: {
|
29
|
+
storeMarketplace,
|
30
|
+
},
|
31
|
+
router: {
|
32
|
+
|
33
|
+
routerMarketplace
|
34
|
+
},
|
35
|
+
components: {
|
36
|
+
// Elements
|
37
|
+
// Blocks
|
38
|
+
// Sections
|
39
|
+
SectionMenu,
|
40
|
+
// Pages
|
41
|
+
Catalog,
|
42
|
+
// Layouts
|
43
|
+
Marketplace
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
export {
|
49
|
+
// Blocks
|
50
|
+
// Sections
|
51
|
+
SectionMenu,
|
52
|
+
// Elements
|
53
|
+
// Pages
|
54
|
+
Catalog,
|
55
|
+
// Layouts
|
56
|
+
Marketplace
|
57
|
+
};
|
58
|
+
|
59
|
+
export default ModuleMarketplace;
|
@@ -47,10 +47,12 @@
|
|
47
47
|
|
48
48
|
import BlockFilter from '@pf/src/modules/globals/views/components/blocks/BlockFilter.vue'
|
49
49
|
|
50
|
-
import * as marketplace from '@pf/src/modules/products/store/marketplace';
|
51
50
|
import * as globals from '@pf/src/modules/globals/views/store/globals'
|
52
51
|
import * as categories from '@pf/src/modules/products/store/categories';
|
53
52
|
|
53
|
+
|
54
|
+
import * as marketplace from '../../store/marketplace';
|
55
|
+
|
54
56
|
// Accessing router and store
|
55
57
|
const route = useRoute()
|
56
58
|
const router = useRouter()
|
@@ -46,14 +46,15 @@
|
|
46
46
|
<script setup>
|
47
47
|
import { computed,reactive,ref, onMounted,watch } from 'vue'
|
48
48
|
import { useRoute } from 'vue-router'
|
49
|
+
|
50
|
+
import Feed from '@pf/src/components/Feed/Feed.vue'
|
49
51
|
|
50
52
|
import * as organization from '@pf/src/modules/organizations/store/organizations'
|
51
|
-
import * as marketplace from '@pf/src/modules/products/store/marketplace';
|
52
53
|
import * as globals from '@pf/src/modules/globals/views/store/globals'
|
53
54
|
|
54
|
-
import Feed from '@pf/src/components/Feed/Feed.vue'
|
55
|
-
|
56
55
|
import CardOrganization from '@pf/src/modules/organizations/components/blocks/CardOrganization.vue'
|
56
|
+
|
57
|
+
import * as marketplace from '../../store/marketplace';
|
57
58
|
|
58
59
|
const route = useRoute()
|
59
60
|
</script>
|