@ozdao/prometheus-framework 0.2.212 → 0.2.214
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +2 -2
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +2 -2
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js.map +1 -1
- 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/components/Spoiler/Spoiler.vue.cjs +41 -0
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +41 -0
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +3 -3
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +3 -3
- 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.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -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 +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.cjs +1 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.js +1 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +3 -3
- 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/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/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/elements/ButtonCheck.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +3 -3
- 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 +5 -5
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +5 -5
- 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/blocks/CardHeader.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs +5 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js +7 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +22 -16
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +23 -17
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.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/globals/views/store/globals.cjs +56 -4
- package/dist/prometheus-framework/src/modules/globals/views/store/globals.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/store/globals.js +56 -4
- package/dist/prometheus-framework/src/modules/globals/views/store/globals.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +5 -5
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +5 -5
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +2 -2
- 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/orders/components/sections/FormPayment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.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/elements/ButtonToggleMembership.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +2 -2
- 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 +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +5 -5
- 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/DetailsTabSection.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +627 -627
- package/dist/prometheus-framework/src/modules/pages/pages.client.js +627 -627
- package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +2 -2
- 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/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/Categories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +3 -3
- 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 +4 -4
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +4 -4
- 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.js +2 -2
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +3 -3
- 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/blocks/SpotMemberModify.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +2 -2
- 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/Map.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +5 -5
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +3 -3
- 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 +16 -6
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +20 -10
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js.map +1 -1
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +5 -5
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +5 -5
- package/dist/prometheus-framework.cjs.js +1 -1
- package/dist/prometheus-framework.es.js +3 -3
- package/package.json +1 -1
- package/src/components/Feed/Feed.vue +1 -1
- package/src/modules/community/components/blocks/CardBlogpost.vue +0 -22
- package/src/modules/community/components/pages/Blog.vue +1 -1
- package/src/modules/globals/views/components/layouts/App.vue +10 -2
- package/src/modules/globals/views/components/layouts/Client.vue +58 -49
- package/src/modules/globals/views/store/globals.js +69 -6
- package/src/modules/icons/logos/Logotype.vue +0 -4
- package/src/modules/icons/skeletons/SkeletonBlogpost.vue +1 -1
- package/src/modules/icons/skeletons/SkeletonEvent.vue +3 -3
- package/src/modules/icons/skeletons/SkeletonEventShort.vue +1 -1
- package/src/modules/icons/skeletons/SkeletonOrganization.vue +1 -1
- package/src/modules/users/components/pages/ProfileEdit.vue +11 -0
@@ -1,8 +1,8 @@
|
|
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
|
-
/* empty css
|
5
|
-
import _sfc_main$2 from "../../../../components/Dropdown/Dropdown.
|
4
|
+
/* empty css */
|
5
|
+
import _sfc_main$2 from "../../../../components/Dropdown/Dropdown.vue2.js";
|
6
6
|
import _sfc_main$1 from "../../../../components/Completion/Completion.vue.js";
|
7
7
|
import _sfc_main$7 from "../../../../components/Menu/Menu.vue2.js";
|
8
8
|
import _sfc_main$8 from "../../../../components/Menu/MenuItem.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.vue2.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.vue2.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,14 +1,16 @@
|
|
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.
|
6
|
-
const
|
4
|
+
;/* empty css */
|
5
|
+
const Field = require("../../../../components/Field/Field.vue2.cjs");
|
6
|
+
const Checkbox = require("../../../../components/Checkbox/Checkbox.vue.cjs");
|
7
|
+
const Button = require("../../../../components/Button/Button.vue2.cjs");
|
7
8
|
const UploadImage = require("../../../../components/UploadImage/UploadImage.vue.cjs");
|
8
9
|
const ProfileCompletion = require("../sections/ProfileCompletion.vue.cjs");
|
9
10
|
const vueRouter = require("vue-router");
|
10
11
|
const auth = require("../../../auth/views/store/auth.cjs");
|
11
12
|
const users = require("../../store/users.cjs");
|
13
|
+
const globals = require("../../../globals/views/store/globals.cjs");
|
12
14
|
require("./ProfileEdit.vue2.cjs");
|
13
15
|
const _hoisted_1 = {
|
14
16
|
key: 0,
|
@@ -21,7 +23,8 @@ const _hoisted_5 = { class: "mn-b-thin radius-small w-100 h-10r bg-light flex-ce
|
|
21
23
|
const _hoisted_6 = /* @__PURE__ */ vue.createElementVNode("h4", null, "Upload userpic", -1);
|
22
24
|
const _hoisted_7 = /* @__PURE__ */ vue.createElementVNode("h3", { class: "mn-b-small" }, "Socials", -1);
|
23
25
|
const _hoisted_8 = /* @__PURE__ */ vue.createElementVNode("p", { class: "mn-b-thin" }, "Please provide only the username for social media profiles, without full links.", -1);
|
24
|
-
const _hoisted_9 = /* @__PURE__ */ vue.createElementVNode("h3", { class: "mn-b-small" }, "
|
26
|
+
const _hoisted_9 = /* @__PURE__ */ vue.createElementVNode("h3", { class: "mn-b-small" }, "Settings", -1);
|
27
|
+
const _hoisted_10 = /* @__PURE__ */ vue.createElementVNode("h3", { class: "mn-b-small" }, "Account", -1);
|
25
28
|
const _sfc_main = {
|
26
29
|
__name: "ProfileEdit",
|
27
30
|
setup(__props) {
|
@@ -125,9 +128,16 @@ const _sfc_main = {
|
|
125
128
|
class: "mn-b-semi bg-light pd-medium radius-small"
|
126
129
|
}, null, 8, ["field"]),
|
127
130
|
_hoisted_9,
|
131
|
+
vue.createVNode(Checkbox.default, {
|
132
|
+
label: "Darkmode",
|
133
|
+
radio: globals.state.theme.darkmode,
|
134
|
+
"onUpdate:radio": _cache[8] || (_cache[8] = (event) => globals.actions.toggleTheme()),
|
135
|
+
class: "mn-b-semi w-100 bg-light t-black pd-medium radius-small"
|
136
|
+
}, null, 8, ["radio"]),
|
137
|
+
_hoisted_10,
|
128
138
|
vue.createVNode(Field.default, {
|
129
139
|
field: users.state.current.phone,
|
130
|
-
"onUpdate:field": _cache[
|
140
|
+
"onUpdate:field": _cache[9] || (_cache[9] = ($event) => users.state.current.phone = $event),
|
131
141
|
label: "Phone",
|
132
142
|
placeholder: "Not specified",
|
133
143
|
class: "mn-b-thin bg-light pd-medium mn-b-thin radius-small",
|
@@ -136,7 +146,7 @@ const _sfc_main = {
|
|
136
146
|
}, null, 8, ["field", "validation"]),
|
137
147
|
vue.createVNode(Field.default, {
|
138
148
|
field: users.state.current.email,
|
139
|
-
"onUpdate:field": _cache[
|
149
|
+
"onUpdate:field": _cache[10] || (_cache[10] = ($event) => users.state.current.email = $event),
|
140
150
|
label: "Email",
|
141
151
|
placeholder: "Not specified",
|
142
152
|
class: "mn-b-semi bg-light pd-medium radius-small",
|
package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ProfileEdit.vue.cjs","sources":["../../../../../../../src/modules/users/components/pages/ProfileEdit.vue"],"sourcesContent":["<template>\n\t<div v-if=\"show\" class=\"pd-medium for-transition w-100\">\n \n <ProfileCompletion \n v-if=\"route.params._id === auth.state.user._id\" \n :user=\"auth.state.user._id\"\n :target=\"users.state.current\"\n :cta=\"false\"\n />\n <!-- -->\n <h3 class=\"mn-b-small\">Username</h3>\n\n <Field \n v-model:field=\"users.state.current.username\" \n label=\"@\" \n placeholder=\"Not specified\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n disabled=\"true\"\n :validation=\"organizationName\" \n />\n\n <p class=\"mn-b-semi\">Your username will be used for URL of profile like {{API_URL}}/users/username</p>\n <!-- -->\n <h3 class=\"mn-b-small\">Profile</h3>\n\n <div class=\"mn-b-thin radius-small w-100 h-10r bg-light flex-center flex-column flex\">\n <UploadImage \n v-model:photo=\"users.state.current.profile.photo\"\n :uploadPath=\"'users/' + users.state.current._id + '/avatars'\"\n class=\"h-4r w-4r aspect-1x1 o-hidden bg-white mn-b-thin radius-extra\" \n />\n <h4>Upload userpic</h4>\n </div>\n\n <Field \n v-model:field=\"users.state.current.profile.name\" \n label=\"Name\" \n placeholder=\"Not specified\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n :validation=\"organizationName\" \n />\n\n <Field \n v-model:field=\"users.state.current.profile.description\" \n label=\"Description\" \n placeholder=\"Not specified\" \n class=\"mn-b-semi bg-light pd-medium radius-small\" \n :validation=\"organizationName\" \n />\n\n <!-- <p class=\"mn-b-thin\">Select your birthday if you want to receive your birthday gift.</p>\n \n <Field \n v-model:field=\"users.state.current.birthday\" \n label=\"Birthday\" \n type=\"date\"\n placeholder=\"Not specified\" \n class=\"mn-b-semi bg-light pd-medium radius-small\" \n :validation=\"organizationName\" \n /> -->\n <h3 class=\"mn-b-small\">Socials</h3>\n <p class=\"mn-b-thin\">Please provide only the username for social media profiles, without full links.</p>\n\n <Field \n v-model:field=\"users.state.current.socials.instagram\"\n label=\"Instagram\" \n placeholder=\"\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n />\n <Field \n v-model:field=\"users.state.current.socials.twitter\"\n label=\"Twitter\" \n placeholder=\"\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n />\n <Field \n v-model:field=\"users.state.current.socials.facebook\"\n label=\"Facebook\" \n placeholder=\"\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n />\n <Field \n v-model:field=\"users.state.current.socials.telegram\"\n label=\"Telegram\" \n placeholder=\"\" \n class=\"mn-b-semi bg-light pd-medium radius-small\" \n />\n <!-- -->\n <h3 class=\"mn-b-small\">Account</h3>\n \n <Field \n v-model:field=\"users.state.current.phone\" \n label=\"Phone\" \n placeholder=\"Not specified\" \n class=\"mn-b-thin bg-light pd-medium mn-b-thin radius-small\" \n disabled=\"true\"\n :validation=\"organizationName\" \n />\n\n <Field \n v-model:field=\"users.state.current.email\" \n label=\"Email\" \n placeholder=\"Not specified\" \n class=\"mn-b-semi bg-light pd-medium radius-small\" \n :disabled=\"true\"\n :validation=\"organizationName\" \n />\n\n <Button \n :submit=\"onSubmit\" \n :callback=\"redirectTo\" \n class=\"mn-b-thin bg-main w-100\"\n > \n Save\n </Button>\n\n\t\t<Button\n :submit=\"onSubmitDelete\" \n :callback=\"a = () => {router.push({name: 'Sign In'})}\" \n class=\"mn-b-thin w-100 bg-red t-white\"\n >\n Delete Account\n </Button>\n\t</div>\n</template>\n\n<script setup>\n // Import components\n import Tab from '@pf/src/components/Tab/Tab.vue'\n import Field from '@pf/src/components/Field/Field.vue'\n import Button from '@pf/src/components/Button/Button.vue'\n import UploadImage from '@pf/src/components/UploadImage/UploadImage.vue';\n import ProfileCompletion from '@pf/src/modules/users/components/sections/ProfileCompletion.vue'\n // Import libs\n import { computed, onMounted, ref, onBeforeMount } from 'vue'\n import { useRoute, useRouter } from 'vue-router'\n // Import state\n import * as auth from '@pf/src/modules/auth/views/store/auth'\n import * as users from '@pf/src/modules/users/store/users'\n // Import validation\n import * as inputsValidation from '@pf/src/modules/auth/views/validations/inputs.validation'\n const passswordValidation = ref(null)\n // Accessing router\n const route = useRoute()\n const router = useRouter()\n\n const user = ref(null)\n const show = ref(false)\n\n\n onMounted(async () => {\n await users.actions.read({ _id: route.params._id, user: auth.state.user._id });\n show.value = true\n })\n // Methods\n async function onSubmit() {\n await users.actions.update(users.state.current)\n }\n\n async function onSubmitDelete() {\n const confirmation = window.confirm(\"Are you sure you want to delete your account? Restoration will be possible only with the help of an administrator.\");\n \n if (!confirmation) {\n return;\n }\n\n users.state.current.status = 'removed'\n await users.actions.update(users.state.current)\n auth.actions.logout()\n }\n function redirectTo () {\n router.replace({ name: 'User Profile', params: { _id: users.state.current._id }});\n }\n</script>\n\n<style lang=\"scss\">\n\t#header {\n\t\t// height: 3rem;\n\t}\n</style>\n"],"names":["ref","useRoute","useRouter","onMounted","users.actions","auth.state","users.state","auth.actions"],"mappings":"
|
1
|
+
{"version":3,"file":"ProfileEdit.vue.cjs","sources":["../../../../../../../src/modules/users/components/pages/ProfileEdit.vue"],"sourcesContent":["<template>\n\t<div v-if=\"show\" class=\"pd-medium for-transition w-100\">\n \n <ProfileCompletion \n v-if=\"route.params._id === auth.state.user._id\" \n :user=\"auth.state.user._id\"\n :target=\"users.state.current\"\n :cta=\"false\"\n />\n <!-- -->\n <h3 class=\"mn-b-small\">Username</h3>\n\n <Field \n v-model:field=\"users.state.current.username\" \n label=\"@\" \n placeholder=\"Not specified\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n disabled=\"true\"\n :validation=\"organizationName\" \n />\n\n <p class=\"mn-b-semi\">Your username will be used for URL of profile like {{API_URL}}/users/username</p>\n <!-- -->\n <h3 class=\"mn-b-small\">Profile</h3>\n\n <div class=\"mn-b-thin radius-small w-100 h-10r bg-light flex-center flex-column flex\">\n <UploadImage \n v-model:photo=\"users.state.current.profile.photo\"\n :uploadPath=\"'users/' + users.state.current._id + '/avatars'\"\n class=\"h-4r w-4r aspect-1x1 o-hidden bg-white mn-b-thin radius-extra\" \n />\n <h4>Upload userpic</h4>\n </div>\n\n <Field \n v-model:field=\"users.state.current.profile.name\" \n label=\"Name\" \n placeholder=\"Not specified\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n :validation=\"organizationName\" \n />\n\n <Field \n v-model:field=\"users.state.current.profile.description\" \n label=\"Description\" \n placeholder=\"Not specified\" \n class=\"mn-b-semi bg-light pd-medium radius-small\" \n :validation=\"organizationName\" \n />\n\n <!-- <p class=\"mn-b-thin\">Select your birthday if you want to receive your birthday gift.</p>\n \n <Field \n v-model:field=\"users.state.current.birthday\" \n label=\"Birthday\" \n type=\"date\"\n placeholder=\"Not specified\" \n class=\"mn-b-semi bg-light pd-medium radius-small\" \n :validation=\"organizationName\" \n /> -->\n <h3 class=\"mn-b-small\">Socials</h3>\n <p class=\"mn-b-thin\">Please provide only the username for social media profiles, without full links.</p>\n\n <Field \n v-model:field=\"users.state.current.socials.instagram\"\n label=\"Instagram\" \n placeholder=\"\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n />\n <Field \n v-model:field=\"users.state.current.socials.twitter\"\n label=\"Twitter\" \n placeholder=\"\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n />\n <Field \n v-model:field=\"users.state.current.socials.facebook\"\n label=\"Facebook\" \n placeholder=\"\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n />\n <Field \n v-model:field=\"users.state.current.socials.telegram\"\n label=\"Telegram\" \n placeholder=\"\" \n class=\"mn-b-semi bg-light pd-medium radius-small\" \n />\n <h3 class=\"mn-b-small\">Settings</h3>\n <Checkbox \n :label=\"'Darkmode'\"\n :radio=\"globals.state.theme.darkmode\"\n @update:radio=\"event => globals.actions.toggleTheme()\"\n class=\"mn-b-semi w-100 bg-light t-black pd-medium radius-small\"\n />\n\n <!-- -->\n <h3 class=\"mn-b-small\">Account</h3>\n \n <Field \n v-model:field=\"users.state.current.phone\" \n label=\"Phone\" \n placeholder=\"Not specified\" \n class=\"mn-b-thin bg-light pd-medium mn-b-thin radius-small\" \n disabled=\"true\"\n :validation=\"organizationName\" \n />\n\n <Field \n v-model:field=\"users.state.current.email\" \n label=\"Email\" \n placeholder=\"Not specified\" \n class=\"mn-b-semi bg-light pd-medium radius-small\" \n :disabled=\"true\"\n :validation=\"organizationName\" \n />\n\n <Button \n :submit=\"onSubmit\" \n :callback=\"redirectTo\" \n class=\"mn-b-thin bg-main w-100\"\n > \n Save\n </Button>\n\n\t\t<Button\n :submit=\"onSubmitDelete\" \n :callback=\"a = () => {router.push({name: 'Sign In'})}\" \n class=\"mn-b-thin w-100 bg-red t-white\"\n >\n Delete Account\n </Button>\n\t</div>\n</template>\n\n<script setup>\n // Import components\n import Tab from '@pf/src/components/Tab/Tab.vue'\n import Field from '@pf/src/components/Field/Field.vue'\n import Checkbox from '@pf/src/components/Checkbox/Checkbox.vue'\n import Button from '@pf/src/components/Button/Button.vue'\n import UploadImage from '@pf/src/components/UploadImage/UploadImage.vue';\n\n import ProfileCompletion from '@pf/src/modules/users/components/sections/ProfileCompletion.vue'\n // Import libs\n import { computed, onMounted, ref, onBeforeMount } from 'vue'\n import { useRoute, useRouter } from 'vue-router'\n // Import state\n import * as auth from '@pf/src/modules/auth/views/store/auth'\n import * as users from '@pf/src/modules/users/store/users'\n import * as globals from '@pf/src/modules/globals/views/store/globals'\n // Import validation\n import * as inputsValidation from '@pf/src/modules/auth/views/validations/inputs.validation'\n const passswordValidation = ref(null)\n // Accessing router\n const route = useRoute()\n const router = useRouter()\n\n const user = ref(null)\n const show = ref(false)\n\n\n onMounted(async () => {\n await users.actions.read({ _id: route.params._id, user: auth.state.user._id });\n show.value = true\n })\n // Methods\n async function onSubmit() {\n await users.actions.update(users.state.current)\n }\n\n async function onSubmitDelete() {\n const confirmation = window.confirm(\"Are you sure you want to delete your account? Restoration will be possible only with the help of an administrator.\");\n \n if (!confirmation) {\n return;\n }\n\n users.state.current.status = 'removed'\n await users.actions.update(users.state.current)\n auth.actions.logout()\n }\n function redirectTo () {\n router.replace({ name: 'User Profile', params: { _id: users.state.current._id }});\n }\n</script>\n\n<style lang=\"scss\">\n\t#header {\n\t\t// height: 3rem;\n\t}\n</style>\n"],"names":["ref","useRoute","useRouter","onMounted","users.actions","auth.state","users.state","auth.actions"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwJ8BA,QAAAA,IAAI,IAAI;AAEpC,UAAM,QAAQC,UAAAA,SAAU;AACxB,UAAM,SAASC,UAAAA,UAAW;AAEbF,QAAAA,IAAI,IAAI;AACrB,UAAM,OAAOA,IAAG,IAAC,KAAK;AAGtBG,QAAAA,UAAU,YAAY;AACpB,YAAMC,cAAc,KAAK,EAAE,KAAK,MAAM,OAAO,KAAK,MAAMC,KAAU,MAAC,KAAK,IAAK,CAAA;AAC7E,WAAK,QAAQ;AAAA,IACjB,CAAG;AAED,mBAAe,WAAW;AACxB,YAAMD,cAAc,OAAOE,MAAW,MAAC,OAAO;AAAA,IAC/C;AAED,mBAAe,iBAAiB;AAC9B,YAAM,eAAe,OAAO,QAAQ,oHAAoH;AAExJ,UAAI,CAAC,cAAc;AACf;AAAA,MACH;AAEDA,kBAAY,QAAQ,SAAS;AAC7B,YAAMF,cAAc,OAAOE,MAAW,MAAC,OAAO;AAC9CC,WAAAA,QAAa,OAAQ;AAAA,IACtB;AACD,aAAS,aAAc;AACrB,aAAO,QAAQ,EAAE,MAAM,gBAAgB,QAAQ,EAAE,KAAKD,YAAY,QAAQ,IAAG,EAAE,CAAC;AAAA,IACjF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,12 +1,14 @@
|
|
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.
|
4
|
-
import _sfc_main$3 from "../../../../components/
|
2
|
+
/* empty css */
|
3
|
+
import Field from "../../../../components/Field/Field.vue2.js";
|
4
|
+
import _sfc_main$3 from "../../../../components/Checkbox/Checkbox.vue.js";
|
5
|
+
import _sfc_main$4 from "../../../../components/Button/Button.vue2.js";
|
5
6
|
import _sfc_main$2 from "../../../../components/UploadImage/UploadImage.vue.js";
|
6
7
|
import _sfc_main$1 from "../sections/ProfileCompletion.vue.js";
|
7
8
|
import { useRoute, useRouter } from "vue-router";
|
8
|
-
import { state, actions as actions$
|
9
|
+
import { state, actions as actions$2 } from "../../../auth/views/store/auth.js";
|
9
10
|
import { actions, state as state$1 } from "../../store/users.js";
|
11
|
+
import { state as state$2, actions as actions$1 } from "../../../globals/views/store/globals.js";
|
10
12
|
import "./ProfileEdit.vue2.js";
|
11
13
|
const _hoisted_1 = {
|
12
14
|
key: 0,
|
@@ -19,7 +21,8 @@ const _hoisted_5 = { class: "mn-b-thin radius-small w-100 h-10r bg-light flex-ce
|
|
19
21
|
const _hoisted_6 = /* @__PURE__ */ createElementVNode("h4", null, "Upload userpic", -1);
|
20
22
|
const _hoisted_7 = /* @__PURE__ */ createElementVNode("h3", { class: "mn-b-small" }, "Socials", -1);
|
21
23
|
const _hoisted_8 = /* @__PURE__ */ createElementVNode("p", { class: "mn-b-thin" }, "Please provide only the username for social media profiles, without full links.", -1);
|
22
|
-
const _hoisted_9 = /* @__PURE__ */ createElementVNode("h3", { class: "mn-b-small" }, "
|
24
|
+
const _hoisted_9 = /* @__PURE__ */ createElementVNode("h3", { class: "mn-b-small" }, "Settings", -1);
|
25
|
+
const _hoisted_10 = /* @__PURE__ */ createElementVNode("h3", { class: "mn-b-small" }, "Account", -1);
|
23
26
|
const _sfc_main = {
|
24
27
|
__name: "ProfileEdit",
|
25
28
|
setup(__props) {
|
@@ -42,7 +45,7 @@ const _sfc_main = {
|
|
42
45
|
}
|
43
46
|
state$1.current.status = "removed";
|
44
47
|
await actions.update(state$1.current);
|
45
|
-
actions$
|
48
|
+
actions$2.logout();
|
46
49
|
}
|
47
50
|
function redirectTo() {
|
48
51
|
router.replace({ name: "User Profile", params: { _id: state$1.current._id } });
|
@@ -123,9 +126,16 @@ const _sfc_main = {
|
|
123
126
|
class: "mn-b-semi bg-light pd-medium radius-small"
|
124
127
|
}, null, 8, ["field"]),
|
125
128
|
_hoisted_9,
|
129
|
+
createVNode(_sfc_main$3, {
|
130
|
+
label: "Darkmode",
|
131
|
+
radio: state$2.theme.darkmode,
|
132
|
+
"onUpdate:radio": _cache[8] || (_cache[8] = (event) => actions$1.toggleTheme()),
|
133
|
+
class: "mn-b-semi w-100 bg-light t-black pd-medium radius-small"
|
134
|
+
}, null, 8, ["radio"]),
|
135
|
+
_hoisted_10,
|
126
136
|
createVNode(Field, {
|
127
137
|
field: state$1.current.phone,
|
128
|
-
"onUpdate:field": _cache[
|
138
|
+
"onUpdate:field": _cache[9] || (_cache[9] = ($event) => state$1.current.phone = $event),
|
129
139
|
label: "Phone",
|
130
140
|
placeholder: "Not specified",
|
131
141
|
class: "mn-b-thin bg-light pd-medium mn-b-thin radius-small",
|
@@ -134,14 +144,14 @@ const _sfc_main = {
|
|
134
144
|
}, null, 8, ["field", "validation"]),
|
135
145
|
createVNode(Field, {
|
136
146
|
field: state$1.current.email,
|
137
|
-
"onUpdate:field": _cache[
|
147
|
+
"onUpdate:field": _cache[10] || (_cache[10] = ($event) => state$1.current.email = $event),
|
138
148
|
label: "Email",
|
139
149
|
placeholder: "Not specified",
|
140
150
|
class: "mn-b-semi bg-light pd-medium radius-small",
|
141
151
|
disabled: true,
|
142
152
|
validation: _ctx.organizationName
|
143
153
|
}, null, 8, ["field", "validation"]),
|
144
|
-
createVNode(_sfc_main$
|
154
|
+
createVNode(_sfc_main$4, {
|
145
155
|
submit: onSubmit,
|
146
156
|
callback: redirectTo,
|
147
157
|
class: "mn-b-thin bg-main w-100"
|
@@ -151,7 +161,7 @@ const _sfc_main = {
|
|
151
161
|
]),
|
152
162
|
_: 1
|
153
163
|
}),
|
154
|
-
createVNode(_sfc_main$
|
164
|
+
createVNode(_sfc_main$4, {
|
155
165
|
submit: onSubmitDelete,
|
156
166
|
callback: _ctx.a = () => {
|
157
167
|
unref(router).push({ name: "Sign In" });
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ProfileEdit.vue.js","sources":["../../../../../../../src/modules/users/components/pages/ProfileEdit.vue"],"sourcesContent":["<template>\n\t<div v-if=\"show\" class=\"pd-medium for-transition w-100\">\n \n <ProfileCompletion \n v-if=\"route.params._id === auth.state.user._id\" \n :user=\"auth.state.user._id\"\n :target=\"users.state.current\"\n :cta=\"false\"\n />\n <!-- -->\n <h3 class=\"mn-b-small\">Username</h3>\n\n <Field \n v-model:field=\"users.state.current.username\" \n label=\"@\" \n placeholder=\"Not specified\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n disabled=\"true\"\n :validation=\"organizationName\" \n />\n\n <p class=\"mn-b-semi\">Your username will be used for URL of profile like {{API_URL}}/users/username</p>\n <!-- -->\n <h3 class=\"mn-b-small\">Profile</h3>\n\n <div class=\"mn-b-thin radius-small w-100 h-10r bg-light flex-center flex-column flex\">\n <UploadImage \n v-model:photo=\"users.state.current.profile.photo\"\n :uploadPath=\"'users/' + users.state.current._id + '/avatars'\"\n class=\"h-4r w-4r aspect-1x1 o-hidden bg-white mn-b-thin radius-extra\" \n />\n <h4>Upload userpic</h4>\n </div>\n\n <Field \n v-model:field=\"users.state.current.profile.name\" \n label=\"Name\" \n placeholder=\"Not specified\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n :validation=\"organizationName\" \n />\n\n <Field \n v-model:field=\"users.state.current.profile.description\" \n label=\"Description\" \n placeholder=\"Not specified\" \n class=\"mn-b-semi bg-light pd-medium radius-small\" \n :validation=\"organizationName\" \n />\n\n <!-- <p class=\"mn-b-thin\">Select your birthday if you want to receive your birthday gift.</p>\n \n <Field \n v-model:field=\"users.state.current.birthday\" \n label=\"Birthday\" \n type=\"date\"\n placeholder=\"Not specified\" \n class=\"mn-b-semi bg-light pd-medium radius-small\" \n :validation=\"organizationName\" \n /> -->\n <h3 class=\"mn-b-small\">Socials</h3>\n <p class=\"mn-b-thin\">Please provide only the username for social media profiles, without full links.</p>\n\n <Field \n v-model:field=\"users.state.current.socials.instagram\"\n label=\"Instagram\" \n placeholder=\"\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n />\n <Field \n v-model:field=\"users.state.current.socials.twitter\"\n label=\"Twitter\" \n placeholder=\"\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n />\n <Field \n v-model:field=\"users.state.current.socials.facebook\"\n label=\"Facebook\" \n placeholder=\"\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n />\n <Field \n v-model:field=\"users.state.current.socials.telegram\"\n label=\"Telegram\" \n placeholder=\"\" \n class=\"mn-b-semi bg-light pd-medium radius-small\" \n />\n <!-- -->\n <h3 class=\"mn-b-small\">Account</h3>\n \n <Field \n v-model:field=\"users.state.current.phone\" \n label=\"Phone\" \n placeholder=\"Not specified\" \n class=\"mn-b-thin bg-light pd-medium mn-b-thin radius-small\" \n disabled=\"true\"\n :validation=\"organizationName\" \n />\n\n <Field \n v-model:field=\"users.state.current.email\" \n label=\"Email\" \n placeholder=\"Not specified\" \n class=\"mn-b-semi bg-light pd-medium radius-small\" \n :disabled=\"true\"\n :validation=\"organizationName\" \n />\n\n <Button \n :submit=\"onSubmit\" \n :callback=\"redirectTo\" \n class=\"mn-b-thin bg-main w-100\"\n > \n Save\n </Button>\n\n\t\t<Button\n :submit=\"onSubmitDelete\" \n :callback=\"a = () => {router.push({name: 'Sign In'})}\" \n class=\"mn-b-thin w-100 bg-red t-white\"\n >\n Delete Account\n </Button>\n\t</div>\n</template>\n\n<script setup>\n // Import components\n import Tab from '@pf/src/components/Tab/Tab.vue'\n import Field from '@pf/src/components/Field/Field.vue'\n import Button from '@pf/src/components/Button/Button.vue'\n import UploadImage from '@pf/src/components/UploadImage/UploadImage.vue';\n import ProfileCompletion from '@pf/src/modules/users/components/sections/ProfileCompletion.vue'\n // Import libs\n import { computed, onMounted, ref, onBeforeMount } from 'vue'\n import { useRoute, useRouter } from 'vue-router'\n // Import state\n import * as auth from '@pf/src/modules/auth/views/store/auth'\n import * as users from '@pf/src/modules/users/store/users'\n // Import validation\n import * as inputsValidation from '@pf/src/modules/auth/views/validations/inputs.validation'\n const passswordValidation = ref(null)\n // Accessing router\n const route = useRoute()\n const router = useRouter()\n\n const user = ref(null)\n const show = ref(false)\n\n\n onMounted(async () => {\n await users.actions.read({ _id: route.params._id, user: auth.state.user._id });\n show.value = true\n })\n // Methods\n async function onSubmit() {\n await users.actions.update(users.state.current)\n }\n\n async function onSubmitDelete() {\n const confirmation = window.confirm(\"Are you sure you want to delete your account? Restoration will be possible only with the help of an administrator.\");\n \n if (!confirmation) {\n return;\n }\n\n users.state.current.status = 'removed'\n await users.actions.update(users.state.current)\n auth.actions.logout()\n }\n function redirectTo () {\n router.replace({ name: 'User Profile', params: { _id: users.state.current._id }});\n }\n</script>\n\n<style lang=\"scss\">\n\t#header {\n\t\t// height: 3rem;\n\t}\n</style>\n"],"names":["users.actions","auth.state","users.state","auth.actions"],"mappings":"
|
1
|
+
{"version":3,"file":"ProfileEdit.vue.js","sources":["../../../../../../../src/modules/users/components/pages/ProfileEdit.vue"],"sourcesContent":["<template>\n\t<div v-if=\"show\" class=\"pd-medium for-transition w-100\">\n \n <ProfileCompletion \n v-if=\"route.params._id === auth.state.user._id\" \n :user=\"auth.state.user._id\"\n :target=\"users.state.current\"\n :cta=\"false\"\n />\n <!-- -->\n <h3 class=\"mn-b-small\">Username</h3>\n\n <Field \n v-model:field=\"users.state.current.username\" \n label=\"@\" \n placeholder=\"Not specified\" \n class=\"mn-b-thin w-100 bg-light pd-medium radius-small\" \n disabled=\"true\"\n :validation=\"organizationName\" \n />\n\n <p class=\"mn-b-semi\">Your username will be used for URL of profile like {{API_URL}}/users/username</p>\n <!-- -->\n <h3 class=\"mn-b-small\">Profile</h3>\n\n <div class=\"mn-b-thin radius-small w-100 h-10r bg-light flex-center flex-column flex\">\n <UploadImage \n v-model:photo=\"users.state.current.profile.photo\"\n :uploadPath=\"'users/' + users.state.current._id + '/avatars'\"\n class=\"h-4r w-4r aspect-1x1 o-hidden bg-white mn-b-thin radius-extra\" \n />\n <h4>Upload userpic</h4>\n </div>\n\n <Field \n v-model:field=\"users.state.current.profile.name\" \n label=\"Name\" \n placeholder=\"Not specified\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n :validation=\"organizationName\" \n />\n\n <Field \n v-model:field=\"users.state.current.profile.description\" \n label=\"Description\" \n placeholder=\"Not specified\" \n class=\"mn-b-semi bg-light pd-medium radius-small\" \n :validation=\"organizationName\" \n />\n\n <!-- <p class=\"mn-b-thin\">Select your birthday if you want to receive your birthday gift.</p>\n \n <Field \n v-model:field=\"users.state.current.birthday\" \n label=\"Birthday\" \n type=\"date\"\n placeholder=\"Not specified\" \n class=\"mn-b-semi bg-light pd-medium radius-small\" \n :validation=\"organizationName\" \n /> -->\n <h3 class=\"mn-b-small\">Socials</h3>\n <p class=\"mn-b-thin\">Please provide only the username for social media profiles, without full links.</p>\n\n <Field \n v-model:field=\"users.state.current.socials.instagram\"\n label=\"Instagram\" \n placeholder=\"\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n />\n <Field \n v-model:field=\"users.state.current.socials.twitter\"\n label=\"Twitter\" \n placeholder=\"\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n />\n <Field \n v-model:field=\"users.state.current.socials.facebook\"\n label=\"Facebook\" \n placeholder=\"\" \n class=\"mn-b-thin bg-light pd-medium radius-small\" \n />\n <Field \n v-model:field=\"users.state.current.socials.telegram\"\n label=\"Telegram\" \n placeholder=\"\" \n class=\"mn-b-semi bg-light pd-medium radius-small\" \n />\n <h3 class=\"mn-b-small\">Settings</h3>\n <Checkbox \n :label=\"'Darkmode'\"\n :radio=\"globals.state.theme.darkmode\"\n @update:radio=\"event => globals.actions.toggleTheme()\"\n class=\"mn-b-semi w-100 bg-light t-black pd-medium radius-small\"\n />\n\n <!-- -->\n <h3 class=\"mn-b-small\">Account</h3>\n \n <Field \n v-model:field=\"users.state.current.phone\" \n label=\"Phone\" \n placeholder=\"Not specified\" \n class=\"mn-b-thin bg-light pd-medium mn-b-thin radius-small\" \n disabled=\"true\"\n :validation=\"organizationName\" \n />\n\n <Field \n v-model:field=\"users.state.current.email\" \n label=\"Email\" \n placeholder=\"Not specified\" \n class=\"mn-b-semi bg-light pd-medium radius-small\" \n :disabled=\"true\"\n :validation=\"organizationName\" \n />\n\n <Button \n :submit=\"onSubmit\" \n :callback=\"redirectTo\" \n class=\"mn-b-thin bg-main w-100\"\n > \n Save\n </Button>\n\n\t\t<Button\n :submit=\"onSubmitDelete\" \n :callback=\"a = () => {router.push({name: 'Sign In'})}\" \n class=\"mn-b-thin w-100 bg-red t-white\"\n >\n Delete Account\n </Button>\n\t</div>\n</template>\n\n<script setup>\n // Import components\n import Tab from '@pf/src/components/Tab/Tab.vue'\n import Field from '@pf/src/components/Field/Field.vue'\n import Checkbox from '@pf/src/components/Checkbox/Checkbox.vue'\n import Button from '@pf/src/components/Button/Button.vue'\n import UploadImage from '@pf/src/components/UploadImage/UploadImage.vue';\n\n import ProfileCompletion from '@pf/src/modules/users/components/sections/ProfileCompletion.vue'\n // Import libs\n import { computed, onMounted, ref, onBeforeMount } from 'vue'\n import { useRoute, useRouter } from 'vue-router'\n // Import state\n import * as auth from '@pf/src/modules/auth/views/store/auth'\n import * as users from '@pf/src/modules/users/store/users'\n import * as globals from '@pf/src/modules/globals/views/store/globals'\n // Import validation\n import * as inputsValidation from '@pf/src/modules/auth/views/validations/inputs.validation'\n const passswordValidation = ref(null)\n // Accessing router\n const route = useRoute()\n const router = useRouter()\n\n const user = ref(null)\n const show = ref(false)\n\n\n onMounted(async () => {\n await users.actions.read({ _id: route.params._id, user: auth.state.user._id });\n show.value = true\n })\n // Methods\n async function onSubmit() {\n await users.actions.update(users.state.current)\n }\n\n async function onSubmitDelete() {\n const confirmation = window.confirm(\"Are you sure you want to delete your account? Restoration will be possible only with the help of an administrator.\");\n \n if (!confirmation) {\n return;\n }\n\n users.state.current.status = 'removed'\n await users.actions.update(users.state.current)\n auth.actions.logout()\n }\n function redirectTo () {\n router.replace({ name: 'User Profile', params: { _id: users.state.current._id }});\n }\n</script>\n\n<style lang=\"scss\">\n\t#header {\n\t\t// height: 3rem;\n\t}\n</style>\n"],"names":["users.actions","auth.state","users.state","auth.actions"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwJ8B,QAAI,IAAI;AAEpC,UAAM,QAAQ,SAAU;AACxB,UAAM,SAAS,UAAW;AAEb,QAAI,IAAI;AACrB,UAAM,OAAO,IAAI,KAAK;AAGtB,cAAU,YAAY;AACpB,YAAMA,QAAc,KAAK,EAAE,KAAK,MAAM,OAAO,KAAK,MAAMC,MAAW,KAAK,IAAK,CAAA;AAC7E,WAAK,QAAQ;AAAA,IACjB,CAAG;AAED,mBAAe,WAAW;AACxB,YAAMD,QAAc,OAAOE,QAAY,OAAO;AAAA,IAC/C;AAED,mBAAe,iBAAiB;AAC9B,YAAM,eAAe,OAAO,QAAQ,oHAAoH;AAExJ,UAAI,CAAC,cAAc;AACf;AAAA,MACH;AAEDA,cAAY,QAAQ,SAAS;AAC7B,YAAMF,QAAc,OAAOE,QAAY,OAAO;AAC9CC,gBAAa,OAAQ;AAAA,IACtB;AACD,aAAS,aAAc;AACrB,aAAO,QAAQ,EAAE,MAAM,gBAAgB,QAAQ,EAAE,KAAKD,QAAY,QAAQ,IAAG,EAAE,CAAC;AAAA,IACjF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -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.vue2.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.vue2.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.vue2.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.vue2.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,8 +5,8 @@ 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.
|
9
|
-
const Select = require("../../../../../components/Select/Select.
|
8
|
+
const Field = require("../../../../../components/Field/Field.vue2.cjs");
|
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" };
|
12
12
|
const _hoisted_3 = ["disabled"];
|
package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js
CHANGED
@@ -3,8 +3,8 @@ 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.
|
7
|
-
import Select from "../../../../../components/Select/Select.
|
6
|
+
import Field from "../../../../../components/Field/Field.vue2.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"];
|
@@ -5,17 +5,17 @@ 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.
|
9
|
-
const Button = require("../../../../../components/Button/Button.
|
8
|
+
const Popup = require("../../../../../components/Popup/Popup.vue.cjs");
|
9
|
+
const Button = require("../../../../../components/Button/Button.vue2.cjs");
|
10
10
|
require("vue-router");
|
11
|
-
;/* empty css
|
11
|
+
;/* empty css */
|
12
12
|
require("../../../../reports/store/reports.cjs");
|
13
13
|
;/* empty css */
|
14
|
-
;/* empty css
|
14
|
+
;/* empty css */
|
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,17 +3,17 @@ 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.
|
7
|
-
import _sfc_main$1 from "../../../../../components/Button/Button.
|
6
|
+
import _sfc_main$3 from "../../../../../components/Popup/Popup.vue.js";
|
7
|
+
import _sfc_main$1 from "../../../../../components/Button/Button.vue2.js";
|
8
8
|
import "vue-router";
|
9
|
-
/* empty css
|
9
|
+
/* empty css */
|
10
10
|
import "../../../../reports/store/reports.js";
|
11
11
|
/* empty css */
|
12
|
-
/* empty css
|
12
|
+
/* empty css */
|
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";
|