@ozdao/prometheus-framework 0.2.221 → 0.2.222
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/builder.js +7 -4
- package/dist/builder.mjs +7 -4
- package/dist/community.server.js +1 -1
- package/dist/community.server.mjs +1 -1
- package/dist/main.css +1 -1
- package/dist/organizations.server.js +39 -2
- package/dist/organizations.server.mjs +39 -2
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/middlewares/ownership.validation.cjs +33 -0
- package/dist/prometheus-framework/src/modules/auth/views/middlewares/ownership.validation.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/middlewares/ownership.validation.js +33 -0
- package/dist/prometheus-framework/src/modules/auth/views/middlewares/ownership.validation.js.map +1 -0
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +3 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +3 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +8 -7
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +9 -8
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +10 -12
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +10 -12
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js.map +1 -1
- 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/community/router/blogposts.cjs +11 -4
- package/dist/prometheus-framework/src/modules/community/router/blogposts.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/router/blogposts.js +11 -4
- package/dist/prometheus-framework/src/modules/community/router/blogposts.js.map +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +1 -1
- 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/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
- 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/BlockSearch.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionGuide.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionGuide.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
- 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/orders/components/pages/Orders.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +1 -1
- 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/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/Organization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.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/pages/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +759 -759
- package/dist/prometheus-framework/src/modules/pages/pages.client.js +759 -759
- 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/pages/PageEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.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/LeftoverPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
- 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/Products.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +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 +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.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.js +2 -2
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +1 -1
- package/package.json +1 -1
- package/src/builder/webpack/webpack.config.client.js +7 -4
- package/src/modules/auth/views/middlewares/ownership.validation.js +45 -0
- package/src/modules/community/components/blocks/CardBlogpost.vue +3 -1
- package/src/modules/community/components/layouts/Community.vue +5 -7
- package/src/modules/community/components/pages/BlogPost.vue +7 -10
- package/src/modules/community/models/blogpost.model.js +1 -1
- package/src/modules/community/router/blogposts.js +10 -2
- package/src/modules/organizations/controllers/organizations.controller.js +26 -34
- package/src/modules/organizations/models/department.model.js +14 -0
- package/src/styles/base/all.scss +0 -2
- package/src/styles/config.scss +6 -0
package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.cjs
CHANGED
@@ -5,7 +5,7 @@ const IconEdit = require("../../../../icons/navigation/IconEdit.vue.cjs");
|
|
5
5
|
const IconAdd = require("../../../../icons/navigation/IconAdd.vue.cjs");
|
6
6
|
;/* empty css */
|
7
7
|
;/* empty css */
|
8
|
-
;/* empty css
|
8
|
+
;/* empty css */
|
9
9
|
const vueRouter = require("vue-router");
|
10
10
|
;/* empty css */
|
11
11
|
const _hoisted_1 = { class: "flex flex-nowrap gap-thin card-page-title" };
|
@@ -3,7 +3,7 @@ import _sfc_main$1 from "../../../../icons/navigation/IconEdit.vue.js";
|
|
3
3
|
import _sfc_main$2 from "../../../../icons/navigation/IconAdd.vue.js";
|
4
4
|
/* empty css */
|
5
5
|
/* empty css */
|
6
|
-
/* empty css
|
6
|
+
/* empty css */
|
7
7
|
import { useRouter } from "vue-router";
|
8
8
|
/* empty css */
|
9
9
|
const _hoisted_1 = { class: "flex flex-nowrap gap-thin card-page-title" };
|
@@ -5,7 +5,7 @@ const vueRouter = require("vue-router");
|
|
5
5
|
const mixins = require("../../../../globals/views/mixins/mixins.cjs");
|
6
6
|
const pages = require("../../store/pages.cjs");
|
7
7
|
const Button = require("../../../../../components/Button/Button.vue.cjs");
|
8
|
-
;/* empty css
|
8
|
+
;/* empty css */
|
9
9
|
;/* empty css */
|
10
10
|
;/* empty css */
|
11
11
|
const Constructor = require("../../../../constructor/components/sections/Constructor.vue.cjs");
|
@@ -3,7 +3,7 @@ import { useRoute, useRouter } from "vue-router";
|
|
3
3
|
import { useGlobalMixins } from "../../../../globals/views/mixins/mixins.js";
|
4
4
|
import { actions, state } from "../../store/pages.js";
|
5
5
|
import _sfc_main$2 from "../../../../../components/Button/Button.vue.js";
|
6
|
-
/* empty css
|
6
|
+
/* empty css */
|
7
7
|
/* empty css */
|
8
8
|
/* empty css */
|
9
9
|
import _sfc_main$1 from "../../../../constructor/components/sections/Constructor.vue.js";
|
package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs
CHANGED
@@ -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 Field = require("../../../../components/Field/Field.
|
4
|
+
const Field = require("../../../../components/Field/Field.vue.cjs");
|
5
5
|
const Select = require("../../../../components/Select/Select.vue.cjs");
|
6
6
|
;/* empty css */
|
7
7
|
const IconAdd = require("../../../icons/navigation/IconAdd.vue.cjs");
|
package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ref, computed, watch, openBlock, createElementBlock, createElementVNode, toDisplayString, createBlock, withCtx, createVNode, createCommentVNode, unref } from "vue";
|
2
|
-
import Field from "../../../../components/Field/Field.
|
2
|
+
import Field from "../../../../components/Field/Field.vue.js";
|
3
3
|
import Select from "../../../../components/Select/Select.vue.js";
|
4
4
|
/* empty css */
|
5
5
|
import _sfc_main$1 from "../../../icons/navigation/IconAdd.vue.js";
|
package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
4
|
const vueRouter = require("vue-router");
|
5
|
-
const Field = require("../../../../components/Field/Field.
|
5
|
+
const Field = require("../../../../components/Field/Field.vue.cjs");
|
6
6
|
const leftovers = require("../../store/leftovers.cjs");
|
7
7
|
;/* empty css */
|
8
8
|
const _hoisted_1 = { class: "flex-column flex-wrap block" };
|
package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { openBlock, createElementBlock, createElementVNode, createCommentVNode, Fragment, renderList, toDisplayString, createVNode } from "vue";
|
2
2
|
import { useRouter, useRoute } from "vue-router";
|
3
|
-
import Field from "../../../../components/Field/Field.
|
3
|
+
import Field from "../../../../components/Field/Field.vue.js";
|
4
4
|
import { actions } from "../../store/leftovers.js";
|
5
5
|
/* empty css */
|
6
6
|
const _hoisted_1 = { class: "flex-column flex-wrap block" };
|
package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
4
|
const vueRouter = require("vue-router");
|
5
|
-
;/* empty css
|
5
|
+
;/* empty css */
|
6
6
|
const CardPosition = require("./CardPosition.vue.cjs");
|
7
7
|
const leftovers = require("../../store/leftovers.cjs");
|
8
8
|
;/* empty css */
|
package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { openBlock, createElementBlock, createElementVNode, createCommentVNode, Fragment, renderList, toDisplayString, createVNode } from "vue";
|
2
2
|
import { useRouter, useRoute } from "vue-router";
|
3
|
-
/* empty css
|
3
|
+
/* empty css */
|
4
4
|
import _sfc_main$1 from "./CardPosition.vue.js";
|
5
5
|
import { actions } from "../../store/leftovers.js";
|
6
6
|
/* empty css */
|
package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs
CHANGED
@@ -5,7 +5,7 @@ const vueRouter = require("vue-router");
|
|
5
5
|
const IconDelete = require("../../../icons/navigation/IconDelete.vue.cjs");
|
6
6
|
const Button = require("../../../../components/Button/Button.vue.cjs");
|
7
7
|
const Select = require("../../../../components/Select/Select.vue.cjs");
|
8
|
-
const Field = require("../../../../components/Field/Field.
|
8
|
+
const Field = require("../../../../components/Field/Field.vue.cjs");
|
9
9
|
const Block = require("../../../../components/Block/Block.vue.cjs");
|
10
10
|
const categories = require("../../store/categories.cjs");
|
11
11
|
;/* empty css */
|
@@ -3,7 +3,7 @@ import { useRoute, useRouter } from "vue-router";
|
|
3
3
|
import _sfc_main$3 from "../../../icons/navigation/IconDelete.vue.js";
|
4
4
|
import _sfc_main$2 from "../../../../components/Button/Button.vue.js";
|
5
5
|
import Select from "../../../../components/Select/Select.vue.js";
|
6
|
-
import Field from "../../../../components/Field/Field.
|
6
|
+
import Field from "../../../../components/Field/Field.vue.js";
|
7
7
|
import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
|
8
8
|
import { actions, state } from "../../store/categories.js";
|
9
9
|
/* empty css */
|
package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
4
|
const Block = require("../../../../components/Block/Block.vue.cjs");
|
5
|
-
const Field = require("../../../../components/Field/Field.
|
5
|
+
const Field = require("../../../../components/Field/Field.vue.cjs");
|
6
6
|
const Feed = require("../../../../components/Feed/Feed.vue.cjs");
|
7
7
|
const Select = require("../../../../components/Select/Select.vue.cjs");
|
8
8
|
const Popup = require("../../../../components/Popup/Popup.vue.cjs");
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ref, computed, onMounted, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, createVNode, withCtx, Fragment, renderList, createBlock, createCommentVNode } from "vue";
|
2
2
|
import _sfc_main$4 from "../../../../components/Block/Block.vue.js";
|
3
|
-
import Field from "../../../../components/Field/Field.
|
3
|
+
import Field from "../../../../components/Field/Field.vue.js";
|
4
4
|
import _sfc_main$2 from "../../../../components/Feed/Feed.vue.js";
|
5
5
|
import Select from "../../../../components/Select/Select.vue.js";
|
6
6
|
import _sfc_main$1 from "../../../../components/Popup/Popup.vue.js";
|
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
4
|
const vueRouter = require("vue-router");
|
5
|
-
const Tab = require("../../../../components/Tab/Tab.
|
5
|
+
const Tab = require("../../../../components/Tab/Tab.vue.cjs");
|
6
6
|
const Feed = require("../../../../components/Feed/Feed.vue.cjs");
|
7
7
|
const CardLeftover = require("../blocks/CardLeftover.vue.cjs");
|
8
8
|
const leftovers = require("../../store/leftovers.cjs");
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ref, computed, openBlock, createElementBlock, createElementVNode, toDisplayString, createVNode, unref, withCtx, Fragment, renderList, createBlock } from "vue";
|
2
2
|
import { useRoute, useRouter } from "vue-router";
|
3
|
-
import _sfc_main$1 from "../../../../components/Tab/Tab.
|
3
|
+
import _sfc_main$1 from "../../../../components/Tab/Tab.vue.js";
|
4
4
|
import _sfc_main$2 from "../../../../components/Feed/Feed.vue.js";
|
5
5
|
import CardLeftover from "../blocks/CardLeftover.vue.js";
|
6
6
|
import { state, actions } from "../../store/leftovers.js";
|
@@ -5,8 +5,8 @@ const vueRouter = require("vue-router");
|
|
5
5
|
require("vue-i18n");
|
6
6
|
;/* empty css */
|
7
7
|
const Block = require("../../../../components/Block/Block.vue.cjs");
|
8
|
-
;/* empty css
|
9
|
-
const Field = require("../../../../components/Field/Field.
|
8
|
+
;/* empty css */
|
9
|
+
const Field = require("../../../../components/Field/Field.vue.cjs");
|
10
10
|
const Checkbox = require("../../../../components/Checkbox/Checkbox.vue.cjs");
|
11
11
|
const Button = require("../../../../components/Button/Button.vue.cjs");
|
12
12
|
const Popup = require("../../../../components/Popup/Popup.vue.cjs");
|
@@ -3,8 +3,8 @@ import { useRoute, useRouter } from "vue-router";
|
|
3
3
|
import "vue-i18n";
|
4
4
|
/* empty css */
|
5
5
|
import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
|
6
|
-
/* empty css
|
7
|
-
import Field from "../../../../components/Field/Field.
|
6
|
+
/* empty css */
|
7
|
+
import Field from "../../../../components/Field/Field.vue.js";
|
8
8
|
import _sfc_main$9 from "../../../../components/Checkbox/Checkbox.vue.js";
|
9
9
|
import _sfc_main$2 from "../../../../components/Button/Button.vue.js";
|
10
10
|
import _sfc_main$6 from "../../../../components/Popup/Popup.vue.js";
|
@@ -2,14 +2,14 @@
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
4
|
const vueRouter = require("vue-router");
|
5
|
-
const Tab = require("../../../../components/Tab/Tab.
|
5
|
+
const Tab = require("../../../../components/Tab/Tab.vue.cjs");
|
6
6
|
const Feed = require("../../../../components/Feed/Feed.vue.cjs");
|
7
|
-
;/* empty css
|
7
|
+
;/* empty css */
|
8
8
|
require("vue-i18n");
|
9
9
|
const categories = require("../../store/categories.cjs");
|
10
10
|
const marketplace = require("../../../marketplace/store/marketplace.cjs");
|
11
11
|
;/* empty css */
|
12
|
-
;/* empty css
|
12
|
+
;/* empty css */
|
13
13
|
const BlockFilter = require("../../../globals/views/components/blocks/BlockFilter.vue.cjs");
|
14
14
|
const CardProduct = require("../blocks/CardProduct.vue.cjs");
|
15
15
|
const auth = require("../../../auth/views/store/auth.cjs");
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import { ref, watch, onMounted, openBlock, createElementBlock, unref, createElementVNode, createCommentVNode, createBlock, createVNode, withCtx, Fragment, renderList } from "vue";
|
2
2
|
import { useRoute, useRouter } from "vue-router";
|
3
|
-
import _sfc_main$1 from "../../../../components/Tab/Tab.
|
3
|
+
import _sfc_main$1 from "../../../../components/Tab/Tab.vue.js";
|
4
4
|
import _sfc_main$3 from "../../../../components/Feed/Feed.vue.js";
|
5
|
-
/* empty css
|
5
|
+
/* empty css */
|
6
6
|
import "vue-i18n";
|
7
7
|
import { actions } from "../../store/categories.js";
|
8
8
|
import { state } from "../../../marketplace/store/marketplace.js";
|
9
9
|
/* empty css */
|
10
|
-
/* empty css
|
10
|
+
/* empty css */
|
11
11
|
import _sfc_main$2 from "../../../globals/views/components/blocks/BlockFilter.vue.js";
|
12
12
|
import _sfc_main$4 from "../blocks/CardProduct.vue.js";
|
13
13
|
import { state as state$2 } from "../../../auth/views/store/auth.js";
|
package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs
CHANGED
@@ -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 Field = require("../../../../components/Field/Field.
|
4
|
+
const Field = require("../../../../components/Field/Field.vue.cjs");
|
5
5
|
const _hoisted_1 = {
|
6
6
|
key: 0,
|
7
7
|
class: "mn-b-small w-100"
|
package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { toRefs, openBlock, createElementBlock, unref, createCommentVNode, Fragment, renderList, createElementVNode, createVNode } from "vue";
|
2
|
-
import Field from "../../../../components/Field/Field.
|
2
|
+
import Field from "../../../../components/Field/Field.vue.js";
|
3
3
|
const _hoisted_1 = {
|
4
4
|
key: 0,
|
5
5
|
class: "mn-b-small w-100"
|
package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs
CHANGED
@@ -3,7 +3,7 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
3
3
|
const vue = require("vue");
|
4
4
|
;/* empty css */
|
5
5
|
;/* empty css */
|
6
|
-
const Field = require("../../../../components/Field/Field.
|
6
|
+
const Field = require("../../../../components/Field/Field.vue.cjs");
|
7
7
|
const Select = require("../../../../components/Select/Select.vue.cjs");
|
8
8
|
const _sfc_main = {
|
9
9
|
__name: "EditProductInfo",
|
package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { openBlock, createElementBlock, Fragment, createVNode, withCtx } from "vue";
|
2
2
|
/* empty css */
|
3
3
|
/* empty css */
|
4
|
-
import Field from "../../../../components/Field/Field.
|
4
|
+
import Field from "../../../../components/Field/Field.vue.js";
|
5
5
|
import Select from "../../../../components/Select/Select.vue.js";
|
6
6
|
const _sfc_main = {
|
7
7
|
__name: "EditProductInfo",
|
package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs
CHANGED
@@ -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.vue2.cjs");
|
5
5
|
const Checkbox = require("../../../../components/Checkbox/Checkbox.vue.cjs");
|
6
6
|
const vueI18n = require("vue-i18n");
|
7
7
|
const vueRouter = require("vue-router");
|
package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ref, watch, onMounted, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, toDisplayString, unref, Fragment, renderList, createBlock } from "vue";
|
2
|
-
import _sfc_main$1 from "../../../../components/Spoiler/Spoiler.
|
2
|
+
import _sfc_main$1 from "../../../../components/Spoiler/Spoiler.vue2.js";
|
3
3
|
import _sfc_main$2 from "../../../../components/Checkbox/Checkbox.vue.js";
|
4
4
|
import { useI18n } from "vue-i18n";
|
5
5
|
import { useRoute, useRouter } from "vue-router";
|
package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs
CHANGED
@@ -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
|
-
;/* empty css
|
4
|
+
;/* empty css */
|
5
5
|
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");
|
6
6
|
;/* empty css */
|
7
7
|
;/* empty css */
|
package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ref, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, createBlock, toDisplayString, createCommentVNode } from "vue";
|
2
|
-
/* empty css
|
2
|
+
/* empty css */
|
3
3
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
4
4
|
/* empty css */
|
5
5
|
/* empty css */
|
@@ -3,8 +3,8 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
3
3
|
const vue = require("vue");
|
4
4
|
const vueRouter = require("vue-router");
|
5
5
|
const vueI18n = require("vue-i18n");
|
6
|
-
;/* empty css
|
7
|
-
;/* empty css
|
6
|
+
;/* empty css */
|
7
|
+
;/* empty css */
|
8
8
|
;/* empty css */
|
9
9
|
;/* empty css */
|
10
10
|
const globals = require("../../../globals/views/store/globals.cjs");
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { ref, onMounted, watch, resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, createCommentVNode, createVNode, withCtx, Transition, createBlock, resolveDynamicComponent } from "vue";
|
2
2
|
import { useRoute, useRouter } from "vue-router";
|
3
3
|
import { useI18n } from "vue-i18n";
|
4
|
-
/* empty css
|
5
|
-
/* empty css
|
4
|
+
/* empty css */
|
5
|
+
/* empty css */
|
6
6
|
/* empty css */
|
7
7
|
/* empty css */
|
8
8
|
import { state as state$1 } from "../../../globals/views/store/globals.js";
|
@@ -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.vue2.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("../../../users/components/blocks/CardUser.vue.cjs");
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { openBlock, createElementBlock, createVNode, createElementVNode, withCtx, toDisplayString, createCommentVNode, Fragment, renderList, createBlock, pushScopeId, popScopeId } from "vue";
|
2
|
-
import _sfc_main$1 from "../../../../components/Spoiler/Spoiler.
|
2
|
+
import _sfc_main$1 from "../../../../components/Spoiler/Spoiler.vue2.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 "../../../users/components/blocks/CardUser.vue.js";
|
@@ -4,8 +4,8 @@ const vue = require("vue");
|
|
4
4
|
const vueRouter = require("vue-router");
|
5
5
|
const Block = require("../../../../components/Block/Block.vue.cjs");
|
6
6
|
const UploadImage = require("../../../../components/UploadImage/UploadImage.vue.cjs");
|
7
|
-
;/* empty css
|
8
|
-
const Field = require("../../../../components/Field/Field.
|
7
|
+
;/* empty css */
|
8
|
+
const Field = require("../../../../components/Field/Field.vue.cjs");
|
9
9
|
const Select = require("../../../../components/Select/Select.vue.cjs");
|
10
10
|
const Checkbox = require("../../../../components/Checkbox/Checkbox.vue.cjs");
|
11
11
|
const Address = require("../../../../components/Address/Address.vue2.cjs");
|
@@ -2,8 +2,8 @@ import { ref, onMounted, openBlock, createElementBlock, createVNode, withCtx, cr
|
|
2
2
|
import { useRouter, useRoute } from "vue-router";
|
3
3
|
import _sfc_main$1 from "../../../../components/Block/Block.vue.js";
|
4
4
|
import _sfc_main$3 from "../../../../components/UploadImage/UploadImage.vue.js";
|
5
|
-
/* empty css
|
6
|
-
import Field from "../../../../components/Field/Field.
|
5
|
+
/* empty css */
|
6
|
+
import Field from "../../../../components/Field/Field.vue.js";
|
7
7
|
import Select from "../../../../components/Select/Select.vue.js";
|
8
8
|
import _sfc_main$4 from "../../../../components/Checkbox/Checkbox.vue.js";
|
9
9
|
import _sfc_main$5 from "../../../../components/Address/Address.vue2.js";
|
@@ -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
|
-
;/* empty css
|
4
|
+
;/* empty css */
|
5
5
|
;/* empty css */
|
6
6
|
;/* empty css */
|
7
7
|
const Dropdown = require("../../../../components/Dropdown/Dropdown.vue.cjs");
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ref, onMounted, openBlock, createElementBlock, unref, createBlock, createCommentVNode, createElementVNode, withCtx, createVNode, toDisplayString, Fragment, renderList, normalizeClass } from "vue";
|
2
|
-
/* empty css
|
2
|
+
/* empty css */
|
3
3
|
/* empty css */
|
4
4
|
/* empty css */
|
5
5
|
import _sfc_main$2 from "../../../../components/Dropdown/Dropdown.vue.js";
|
package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
4
|
const vueRouter = require("vue-router");
|
5
|
-
const Tab = require("../../../../components/Tab/Tab.
|
5
|
+
const Tab = require("../../../../components/Tab/Tab.vue.cjs");
|
6
6
|
const Feed = require("../../../../components/Feed/Feed.vue.cjs");
|
7
7
|
const CardBlogpost = require("../../../community/components/blocks/CardBlogpost.vue.cjs");
|
8
8
|
const auth = require("../../../auth/views/store/auth.cjs");
|
package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ref, watch, openBlock, createElementBlock, createElementVNode, unref, createCommentVNode, createBlock, createVNode, withCtx, Fragment, renderList } from "vue";
|
2
2
|
import { useRoute, useRouter } from "vue-router";
|
3
|
-
import _sfc_main$1 from "../../../../components/Tab/Tab.
|
3
|
+
import _sfc_main$1 from "../../../../components/Tab/Tab.vue.js";
|
4
4
|
import _sfc_main$2 from "../../../../components/Feed/Feed.vue.js";
|
5
5
|
import _sfc_main$3 from "../../../community/components/blocks/CardBlogpost.vue.js";
|
6
6
|
import { state } from "../../../auth/views/store/auth.js";
|
@@ -1,8 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
|
-
;/* empty css
|
5
|
-
const Field = require("../../../../components/Field/Field.
|
4
|
+
;/* empty css */
|
5
|
+
const Field = require("../../../../components/Field/Field.vue.cjs");
|
6
6
|
const Checkbox = require("../../../../components/Checkbox/Checkbox.vue.cjs");
|
7
7
|
const Button = require("../../../../components/Button/Button.vue.cjs");
|
8
8
|
const UploadImage = require("../../../../components/UploadImage/UploadImage.vue.cjs");
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ref, onMounted, openBlock, createElementBlock, unref, createBlock, createCommentVNode, createVNode, createElementVNode, toDisplayString, withCtx, createTextVNode } from "vue";
|
2
|
-
/* empty css
|
3
|
-
import Field from "../../../../components/Field/Field.
|
2
|
+
/* empty css */
|
3
|
+
import Field from "../../../../components/Field/Field.vue.js";
|
4
4
|
import _sfc_main$3 from "../../../../components/Checkbox/Checkbox.vue.js";
|
5
5
|
import _sfc_main$4 from "../../../../components/Button/Button.vue.js";
|
6
6
|
import _sfc_main$2 from "../../../../components/UploadImage/UploadImage.vue.js";
|
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
4
|
const vueRouter = require("vue-router");
|
5
|
-
const Tab = require("../../../../components/Tab/Tab.
|
5
|
+
const Tab = require("../../../../components/Tab/Tab.vue.cjs");
|
6
6
|
const Feed = require("../../../events/components/sections/Feed.vue.cjs");
|
7
7
|
const auth = require("../../../auth/views/store/auth.cjs");
|
8
8
|
const _hoisted_1 = { class: "pd-thin" };
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ref, watch, openBlock, createElementBlock, createElementVNode, unref, createCommentVNode, createVNode, createBlock } from "vue";
|
2
2
|
import { useRoute, useRouter } from "vue-router";
|
3
|
-
import _sfc_main$1 from "../../../../components/Tab/Tab.
|
3
|
+
import _sfc_main$1 from "../../../../components/Tab/Tab.vue.js";
|
4
4
|
import _sfc_main$2 from "../../../events/components/sections/Feed.vue.js";
|
5
5
|
import { state } from "../../../auth/views/store/auth.js";
|
6
6
|
const _hoisted_1 = { class: "pd-thin" };
|
package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
4
|
const wallet = require("../../localization/wallet.json.cjs");
|
5
|
-
const Field = require("../../../../../components/Field/Field.
|
5
|
+
const Field = require("../../../../../components/Field/Field.vue.cjs");
|
6
6
|
const vueI18n = require("vue-i18n");
|
7
7
|
const _hoisted_1 = /* @__PURE__ */ vue.createElementVNode("h2", { class: "mn-b-small t-center t-bold" }, "Deposit with card", -1);
|
8
8
|
const _hoisted_2 = { class: "bg-grey radius-big mn-t-semi mn-b-semi flex flex-justify-between" };
|
package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { openBlock, createElementBlock, 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 = /* @__PURE__ */ createElementVNode("h2", { class: "mn-b-small t-center t-bold" }, "Deposit with card", -1);
|
6
6
|
const _hoisted_2 = { class: "bg-grey radius-big mn-t-semi mn-b-semi flex flex-justify-between" };
|
package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs
CHANGED
@@ -5,7 +5,7 @@ const vueI18n = require("vue-i18n");
|
|
5
5
|
const bignumber = require("../../../../../../node_modules/bignumber.js/bignumber.cjs");
|
6
6
|
const wallet_store = require("../../store/wallet.store.cjs");
|
7
7
|
const wallet = require("../../localization/wallet.json.cjs");
|
8
|
-
const Field = require("../../../../../components/Field/Field.
|
8
|
+
const Field = require("../../../../../components/Field/Field.vue.cjs");
|
9
9
|
const Select = require("../../../../../components/Select/Select.vue.cjs");
|
10
10
|
const _hoisted_1 = { class: "mn-b-small t-center t-bold" };
|
11
11
|
const _hoisted_2 = { class: "t-semi" };
|
package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js
CHANGED
@@ -3,7 +3,7 @@ import { useI18n } from "vue-i18n";
|
|
3
3
|
import { BigNumber } from "../../../../../../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.
|
6
|
+
import Field from "../../../../../components/Field/Field.vue.js";
|
7
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" };
|
package/package.json
CHANGED
@@ -35,10 +35,13 @@ module.exports = (projectRoot) => {
|
|
35
35
|
plugins: [
|
36
36
|
// ...(!isProd ? [new webpack.HotModuleReplacementPlugin()] : []),
|
37
37
|
new StatsWriterPlugin(),
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
38
|
+
...(!isProd ? [
|
39
|
+
new WorkboxPlugin.GenerateSW({
|
40
|
+
clientsClaim: true,
|
41
|
+
skipWaiting: true,
|
42
|
+
disableDevLogs: true
|
43
|
+
}),
|
44
|
+
] : []),
|
42
45
|
new PurgeCSSPlugin({
|
43
46
|
paths: glob.sync([
|
44
47
|
path.join(projectRoot, 'src/**/*.vue'),
|
@@ -0,0 +1,45 @@
|
|
1
|
+
import * as auth from '@pf/src/modules/auth/views/store/auth'
|
2
|
+
import * as blog from '@pf/src/modules/community/store/blogposts.js';
|
3
|
+
|
4
|
+
import { useGlobalMixins } from "@pf/src/modules/globals/views/mixins/mixins.js"
|
5
|
+
|
6
|
+
const { hasAccess } = useGlobalMixins()
|
7
|
+
|
8
|
+
async function requiresEditAccess(to, from, next) {
|
9
|
+
const postId = to.params.url; // Предполагается, что `url` является идентификатором поста
|
10
|
+
const userId = auth.state.user._id; // Получаем текущего пользователя
|
11
|
+
|
12
|
+
try {
|
13
|
+
// Получаем данные поста, чтобы проверить его принадлежность к организации или авторство
|
14
|
+
const post = (await blog.read({ url: to.params.url }))[0];
|
15
|
+
|
16
|
+
console.log('post is', post)
|
17
|
+
|
18
|
+
if (!post) {
|
19
|
+
return next('/404'); // Если пост не найден, перенаправляем на страницу 404
|
20
|
+
}
|
21
|
+
|
22
|
+
if (post.owner.type === 'organization') {
|
23
|
+
// Если пост принадлежит организации, проверяем права на редактирование через `hasAccess`
|
24
|
+
const isAccess = hasAccess(post.owner.target._id, 'posts', 'edit', auth.state.accesses);
|
25
|
+
|
26
|
+
if (!isAccess) {
|
27
|
+
return next('/401'); // Если у пользователя нет прав на редактирование в организации, перенаправляем на 403
|
28
|
+
}
|
29
|
+
} else {
|
30
|
+
// Если пост не принадлежит организации, проверяем авторство
|
31
|
+
if (post.creator.target._id !== userId) {
|
32
|
+
return next('/401'); // Если пользователь не является автором, перенаправляем на 403
|
33
|
+
}
|
34
|
+
}
|
35
|
+
|
36
|
+
next(); // Если все проверки прошли, продолжаем
|
37
|
+
} catch (error) {
|
38
|
+
console.error("Error during post access check:", error);
|
39
|
+
return next('/500'); // Если произошла ошибка, перенаправляем на страницу 500
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
export {
|
44
|
+
requiresEditAccess
|
45
|
+
}
|
@@ -150,7 +150,9 @@
|
|
150
150
|
});
|
151
151
|
|
152
152
|
const firstText = computed(() => {
|
153
|
-
return props.blogpost.content.find(block =>
|
153
|
+
return props.blogpost.content.find(block =>
|
154
|
+
block.type === 'Textarea' && block.class !== 'h2'
|
155
|
+
);
|
154
156
|
});
|
155
157
|
|
156
158
|
</script>
|