@ozdao/prometheus-framework 0.2.130 → 0.2.133
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/auth.server.js +0 -1
- package/dist/auth.server.mjs +0 -1
- package/dist/community.server.js +172 -31
- package/dist/community.server.mjs +172 -31
- package/dist/events.server.js +1 -1
- package/dist/events.server.mjs +1 -1
- package/dist/files.server.js +38 -4
- package/dist/files.server.mjs +38 -4
- package/dist/gallery.server.js +1 -1
- package/dist/gallery.server.mjs +1 -1
- package/dist/main-CI9l9xMs.js +92 -0
- package/dist/main-DPg58GOU.mjs +14509 -0
- package/dist/main.css +1 -1
- package/dist/orders.server.js +1 -1
- package/dist/orders.server.mjs +1 -1
- package/dist/organizations.server.js +4 -3
- package/dist/organizations.server.mjs +4 -3
- package/dist/products.server.js +2 -1
- package/dist/products.server.mjs +2 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/Address/Address.vue.js +89 -0
- package/dist/prometheus-framework/src/components/Address/Address.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue2.js +22 -23
- package/dist/prometheus-framework/src/components/Block/Block.vue.js +13 -13
- package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/Button/Button.vue.js +95 -0
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +12 -13
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +26 -0
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.js +32 -33
- package/dist/prometheus-framework/src/components/Draggable/Draggable.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/Draggable/Draggable.vue.js +75 -0
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +14 -15
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +57 -0
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +93 -87
- package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/Field/Field.vue.js +84 -0
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +32 -29
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +22 -23
- package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.js +39 -39
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.js +5 -5
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +127 -0
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +46 -47
- package/dist/prometheus-framework/src/components/Menu/Menu.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/Menu/Menu.vue.js +13 -0
- package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.js +22 -23
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +77 -0
- package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/Select/Select.vue.js +103 -0
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.js +14 -15
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +9 -10
- package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +37 -34
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +30 -30
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +30 -30
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +18 -18
- package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/auth.js +11 -11
- package/dist/prometheus-framework/src/modules/community/community.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/community.client.js +12 -14
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +54 -71
- package/dist/prometheus-framework/src/modules/community/components/blocks/FooterBlogpost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/FooterBlogpost.vue.js +57 -29
- 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 +86 -76
- package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.js +58 -28
- 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 +71 -80
- package/dist/prometheus-framework/src/modules/community/components/sections/Comment.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/community/components/sections/Comment.vue.js +104 -0
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +99 -54
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +27 -28
- package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/store/blogposts.js +45 -34
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.js +31 -29
- package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +32 -27
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +5 -0
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +67 -0
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +16 -16
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +119 -112
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.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/pages/Gallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +22 -22
- 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 +27 -27
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockFilter.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockFilter.vue.js +33 -22
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +16 -16
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +3 -9
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +9 -9
- 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 +39 -38
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +1 -1
- 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 +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 +112 -85
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +36 -35
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +8 -8
- 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/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.js +17 -17
- package/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/memberships.js +18 -18
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +6 -6
- 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 +12 -12
- 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/ProductEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +3 -2
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +32 -37
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.js +14 -14
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +29 -29
- 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 +53 -35
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardBalanceReplenished.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardBalanceReplenished.vue.js +30 -0
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardDeposite.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardDeposite.vue.js +42 -0
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CashDeposite.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CashDeposite.vue.js +26 -0
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CryptoDeposite.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CryptoDeposite.vue.js +42 -0
- package/dist/prometheus-framework/src/modules/wallet/localization/Wallet.json.cjs +1 -0
- package/dist/prometheus-framework/src/modules/wallet/localization/Wallet.json.js +26 -0
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +154 -77
- package/dist/prometheus-framework.cjs.js +1 -1
- package/dist/prometheus-framework.es.js +14 -14
- package/dist/queryProcessor-DQSFR9YA.mjs +179 -0
- package/dist/queryProcessor-iewDZq_f.js +178 -0
- package/dist/style.css +1 -1
- package/dist/wallet.server.js +80 -27
- package/dist/wallet.server.mjs +80 -27
- package/dist/web-DZUec7pP.js +1 -0
- package/dist/web-krQQeSb6.mjs +54 -0
- package/package.json +1 -1
- package/src/components/Address/Address.vue +1 -1
- package/src/components/Chips/Chips.vue +1 -1
- package/src/components/Completion/Completion.vue +1 -4
- package/src/components/DatePicker/Calendar.vue +1 -1
- package/src/components/Draggable/Draggable.vue +113 -0
- package/src/components/Dropdown/Dropdown.vue +1 -1
- package/src/components/Feed/Feed.vue +18 -12
- package/src/components/FieldBig/FieldBig.vue +11 -1
- package/src/components/FieldPhone/FieldPhone.vue +1 -1
- package/src/components/FieldTags/FieldTags.vue +2 -1
- package/src/components/FieldTags/tag-input.vue +1 -1
- package/src/components/LocationMarker/LocationMarker.vue +1 -1
- package/src/components/PhotoViewer/PhotoViewer.vue +1 -1
- package/src/components/Shader/Shader.vue +2 -2
- package/src/components/Slider/Slider.vue +1 -5
- package/src/components/Spoiler/Spoiler.vue +1 -1
- package/src/components/Text/Text.vue +1 -4
- package/src/components/Tooltip/Tooltip.vue +1 -1
- package/src/components/Upload/Upload.vue +5 -3
- package/src/modules/auth/controllers/auth.controller.js +0 -2
- package/src/modules/auth/store/auth.js +2 -2
- package/src/modules/community/DOCUMENTATION.MD +4 -0
- package/src/modules/community/community.client.js +0 -2
- package/src/modules/community/components/blocks/CardBlogpost.vue +6 -2
- package/src/modules/community/components/blocks/FooterBlogpost.vue +21 -5
- package/src/modules/community/components/layouts/Community.vue +15 -11
- package/src/modules/community/components/pages/Blog.vue +25 -32
- package/src/modules/community/components/pages/CreateBlogPost.vue +8 -15
- package/src/modules/community/components/sections/Comment.vue +123 -0
- package/src/modules/community/components/sections/Comments.vue +90 -19
- package/src/modules/community/components/sections/HotPosts.vue +3 -6
- package/src/modules/community/controllers/blog.controller.js +1 -1
- package/src/modules/community/controllers/comments.controller.aggr.js +280 -0
- package/src/modules/community/controllers/comments.controller.js +187 -38
- package/src/modules/community/controllers/comments.controller.populate.js +180 -0
- package/src/modules/community/models/comment.model.js +15 -0
- package/src/modules/community/store/blogposts.js +20 -2
- package/src/modules/constructor/components/elements/Audio.vue +28 -40
- package/src/modules/constructor/components/elements/ImageUpload.vue +12 -7
- package/src/modules/constructor/components/elements/Video.vue +10 -18
- package/src/modules/constructor/components/sections/Constructor.vue +54 -47
- package/src/modules/files/controllers/files.controller.js +2 -0
- package/src/modules/files/middlewares/server/middlewareBusboy.js +32 -4
- package/src/modules/files/routes/files.routes.js +8 -0
- package/src/modules/globals/components/blocks/BlockFilter.vue +17 -7
- package/src/modules/globals/components/partials/Header.vue +12 -7
- package/src/modules/globals/controllers/utils/queryProcessor.js +1 -0
- package/src/modules/icons/logos/Logotype.vue +8 -6
- package/src/modules/icons/logos/LogotypeNunito.vue +12 -0
- package/src/modules/marketplace/components/layouts/Marketplace.vue +29 -27
- package/src/modules/marketplace/store/marketplace.js +2 -8
- package/src/modules/organizations/components/blocks/CardOrganization.vue +1 -1
- package/src/modules/organizations/components/pages/Members.vue +1 -1
- package/src/modules/organizations/components/pages/Organization.vue +33 -5
- package/src/modules/organizations/components/pages/OrganizationEdit.vue +7 -4
- package/src/modules/organizations/components/sections/DetailsTab.vue +10 -10
- package/src/modules/organizations/components/sections/Publics.vue +2 -2
- package/src/modules/organizations/controllers/memberships.controller.js +2 -3
- package/src/modules/organizations/controllers/organizations.controller.js +1 -1
- package/src/modules/organizations/store/memberships.js +4 -1
- package/src/modules/products/components/blocks/CardProduct.vue +1 -1
- package/src/modules/products/components/sections/HeroRecommendation.vue +11 -8
- package/src/modules/products/models/product.model.js +2 -1
- package/src/modules/spots/components/layouts/Spots.vue +0 -3
- package/src/modules/spots/components/pages/Map.vue +13 -3
- package/src/modules/users/components/blocks/CardUser.vue +2 -2
- package/src/modules/users/components/pages/ProfileBlogposts.vue +45 -28
- package/src/modules/wallet/components/blocks/CardBalanceReplenished.vue +40 -0
- package/src/modules/wallet/components/blocks/CardDeposite.vue +55 -0
- package/src/modules/wallet/components/blocks/CashDeposite.vue +28 -0
- package/src/modules/wallet/components/blocks/CryptoDeposite.vue +55 -0
- package/src/modules/wallet/controllers/factories/rewards.factory.aggr.js +181 -0
- package/src/modules/wallet/controllers/factories/rewards.factory.js +87 -113
- package/src/modules/wallet/controllers/factories/rewards.factory.population.js +213 -0
- package/src/modules/wallet/localization/Wallet.json +22 -0
- package/src/modules/wallet/views/components/pages/Wallet.vue +153 -53
- package/src/styles/base/all.scss +16 -26
- package/src/styles/config.scss +70 -34
- package/src/styles/typography.scss +5 -5
- package/src/modules/community/components/sections/Feed.vue +0 -148
- package/src/modules/middlewares/server/accessors/AccessController.js +0 -33
- package/src/modules/middlewares/server/accessors/ReadDepartments.js +0 -101
@@ -3,8 +3,8 @@ import f from "../../../icons/navigation/IconEdit.vue.js";
|
|
3
3
|
import c from "../../../../components/Chips/Chips.vue.js";
|
4
4
|
import y from "../../../../components/Map/Map.vue.js";
|
5
5
|
/* empty css */
|
6
|
-
import
|
7
|
-
const m = (o) => (h("data-v-fba16034"), o = o(), g(), o),
|
6
|
+
import $ from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
7
|
+
const m = (o) => (h("data-v-fba16034"), o = o(), g(), o), b = { class: "radius-big o-hidden pos-relative cols-2-1_3" }, v = { class: "pd-medium w-100" }, k = ["innerHTML"], S = { class: "d-block p-big mn-b-semi" }, z = /* @__PURE__ */ m(() => /* @__PURE__ */ i("h4", null, "Delivery:", -1)), C = /* @__PURE__ */ m(() => /* @__PURE__ */ i("h4", null, "Accepted Payment:", -1)), w = {
|
8
8
|
__name: "CardSpot",
|
9
9
|
props: {
|
10
10
|
spot: Object,
|
@@ -12,7 +12,7 @@ const m = (o) => (h("data-v-fba16034"), o = o(), g(), o), $ = { class: "radius-b
|
|
12
12
|
},
|
13
13
|
setup(o) {
|
14
14
|
const s = o;
|
15
|
-
return (t, e) => (n(), u("div",
|
15
|
+
return (t, e) => (n(), u("div", b, [
|
16
16
|
l(y, {
|
17
17
|
apiKey: t.GOOGLE_MAPS_API_KEY,
|
18
18
|
location: {
|
@@ -56,7 +56,7 @@ const m = (o) => (h("data-v-fba16034"), o = o(), g(), o), $ = { class: "radius-b
|
|
56
56
|
])
|
57
57
|
]));
|
58
58
|
}
|
59
|
-
}, K = /* @__PURE__ */
|
59
|
+
}, K = /* @__PURE__ */ $(w, [["__scopeId", "data-v-fba16034"]]);
|
60
60
|
export {
|
61
61
|
K as default
|
62
62
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("../../../icons/placeholders/PlaceholderUserpic.vue.cjs"),a={class:"flex-v-center flex-nowrap flex"},r=["src"],c={class:"h4"},s={class:"t-transp mn-r-small"},d={key:2,class:"mn-l-auto flex-stretch flex-v-center flex"},m={key:0,class:"flex-child flex-child-shrink-0 capitalize w-max t-medium radius-big pd-b-nano pd-t-nano pd-r-thin pd-l-thin bg-main"},u={__name:"CardUser",props:{_id:{type:String,default:null},user:{type:Object,required:!0},action:{type:Object},photo:{type:String,default:null},name:{type:String,default:"No name"},role:{type:String},phone:{type:String},email:{type:String}},setup(t){return(o,n)=>(e.openBlock(),e.createElementBlock("div",a,[t.photo?(e.openBlock(),e.createElementBlock("img",{key:0,src:(o.FILE_SERVER_URL||"")+t.photo,class:"radius-medium bg-white object-fit-cover mn-r-thin h-100 w-auto",onClick:n[0]||(n[0]=e.withModifiers(l=>o.$router.push({name:t.user.type==="user"?"User Profile":"Organization",params:{_id:t.user._id}}),["stop"]))},null,8,r)):e.createCommentVNode("",!0),t.photo?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(i.default,{key:1,class:"radius-medium mn-r-thin h-100 w-auto",onClick:n[1]||(n[1]=e.withModifiers(l=>o.$router.push({name:"User Profile",params:{_id:t.user._id||t._id}}),["stop"]))})),e.createElementVNode("div",null,[e.createElementVNode("p",c,e.toDisplayString(t.name),1),e.createElementVNode("span",s,e.toDisplayString(t.phone||t.email),1)]),t.action||t.role?(e.openBlock(),e.createElementBlock("div",d,[t.role?(e.openBlock(),e.createElementBlock("span",m,e.toDisplayString(t.role),1)):e.createCommentVNode("",!0),t.action?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:n[2]||(n[2]=e.withModifiers((...l)=>t.action.method&&t.action.method(...l),["stop"])),class:"h-2r w-2r t-white mn-l-thin capitalize t-medium radius-big bg-red"},[t.action.label.is?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.action.label.is),e.normalizeProps(e.mergeProps({key:0},t.action.label.props)),null,16)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.action.label),1)],64))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]))}};exports.default=u;
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("../../../icons/placeholders/PlaceholderUserpic.vue.cjs"),a={class:"flex-v-center flex-nowrap flex"},r=["src"],c={class:"h4"},s={class:"t-transp mn-r-small"},d={key:2,class:"mn-l-auto flex-stretch flex-v-center flex"},m={key:0,class:"flex-child flex-child-shrink-0 capitalize w-max t-medium radius-big pd-b-nano pd-t-nano pd-r-thin pd-l-thin bg-main"},u={__name:"CardUser",props:{_id:{type:String,default:null},user:{type:Object,required:!0},action:{type:Object},photo:{type:String,default:null},name:{type:String,default:"No name"},role:{type:String},phone:{type:String},email:{type:String}},setup(t){return(o,n)=>(e.openBlock(),e.createElementBlock("div",a,[t.photo?(e.openBlock(),e.createElementBlock("img",{key:0,src:(o.FILE_SERVER_URL||"")+t.photo,class:"radius-medium aspect-1x1 bg-white object-fit-cover mn-r-thin h-100 w-auto",onClick:n[0]||(n[0]=e.withModifiers(l=>o.$router.push({name:t.user.type==="user"?"User Profile":"Organization",params:{_id:t.user._id}}),["stop"]))},null,8,r)):e.createCommentVNode("",!0),t.photo?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(i.default,{key:1,class:"radius-medium aspect-1x1 mn-r-thin h-100 w-auto",onClick:n[1]||(n[1]=e.withModifiers(l=>o.$router.push({name:"User Profile",params:{_id:t.user._id||t._id}}),["stop"]))})),e.createElementVNode("div",null,[e.createElementVNode("p",c,e.toDisplayString(t.name),1),e.createElementVNode("span",s,e.toDisplayString(t.phone||t.email),1)]),t.action||t.role?(e.openBlock(),e.createElementBlock("div",d,[t.role?(e.openBlock(),e.createElementBlock("span",m,e.toDisplayString(t.role),1)):e.createCommentVNode("",!0),t.action?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:n[2]||(n[2]=e.withModifiers((...l)=>t.action.method&&t.action.method(...l),["stop"])),class:"h-2r w-2r t-white mn-l-thin capitalize t-medium radius-big bg-red"},[t.action.label.is?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.action.label.is),e.normalizeProps(e.mergeProps({key:0},t.action.label.props)),null,16)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.action.label),1)],64))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]))}};exports.default=u;
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import { openBlock as t, createElementBlock as n, withModifiers as s, createCommentVNode as
|
1
|
+
import { openBlock as t, createElementBlock as n, withModifiers as s, createCommentVNode as a, createBlock as m, createElementVNode as d, toDisplayString as l, resolveDynamicComponent as c, normalizeProps as u, mergeProps as h, Fragment as f, createTextVNode as y } from "vue";
|
2
2
|
import g from "../../../icons/placeholders/PlaceholderUserpic.vue.js";
|
3
|
-
const b = { class: "flex-v-center flex-nowrap flex" }, k = ["src"],
|
3
|
+
const b = { class: "flex-v-center flex-nowrap flex" }, k = ["src"], x = { class: "h4" }, p = { class: "t-transp mn-r-small" }, v = {
|
4
4
|
key: 2,
|
5
5
|
class: "mn-l-auto flex-stretch flex-v-center flex"
|
6
|
-
},
|
6
|
+
}, w = {
|
7
7
|
key: 0,
|
8
8
|
class: "flex-child flex-child-shrink-0 capitalize w-max t-medium radius-big pd-b-nano pd-t-nano pd-r-thin pd-l-thin bg-main"
|
9
9
|
}, E = {
|
@@ -43,17 +43,17 @@ const b = { class: "flex-v-center flex-nowrap flex" }, k = ["src"], v = { class:
|
|
43
43
|
e.photo ? (t(), n("img", {
|
44
44
|
key: 0,
|
45
45
|
src: (o.FILE_SERVER_URL || "") + e.photo,
|
46
|
-
class: "radius-medium bg-white object-fit-cover mn-r-thin h-100 w-auto",
|
46
|
+
class: "radius-medium aspect-1x1 bg-white object-fit-cover mn-r-thin h-100 w-auto",
|
47
47
|
onClick: i[0] || (i[0] = s((r) => o.$router.push({
|
48
48
|
name: e.user.type === "user" ? "User Profile" : "Organization",
|
49
49
|
params: {
|
50
50
|
_id: e.user._id
|
51
51
|
}
|
52
52
|
}), ["stop"]))
|
53
|
-
}, null, 8, k)) :
|
54
|
-
e.photo ?
|
53
|
+
}, null, 8, k)) : a("", !0),
|
54
|
+
e.photo ? a("", !0) : (t(), m(g, {
|
55
55
|
key: 1,
|
56
|
-
class: "radius-medium mn-r-thin h-100 w-auto",
|
56
|
+
class: "radius-medium aspect-1x1 mn-r-thin h-100 w-auto",
|
57
57
|
onClick: i[1] || (i[1] = s((r) => o.$router.push({
|
58
58
|
name: "User Profile",
|
59
59
|
params: {
|
@@ -62,21 +62,21 @@ const b = { class: "flex-v-center flex-nowrap flex" }, k = ["src"], v = { class:
|
|
62
62
|
}), ["stop"]))
|
63
63
|
})),
|
64
64
|
d("div", null, [
|
65
|
-
d("p",
|
66
|
-
d("span",
|
65
|
+
d("p", x, l(e.name), 1),
|
66
|
+
d("span", p, l(e.phone || e.email), 1)
|
67
67
|
]),
|
68
|
-
e.action || e.role ? (t(), n("div",
|
69
|
-
e.role ? (t(), n("span",
|
68
|
+
e.action || e.role ? (t(), n("div", v, [
|
69
|
+
e.role ? (t(), n("span", w, l(e.role), 1)) : a("", !0),
|
70
70
|
e.action ? (t(), n("button", {
|
71
71
|
key: 1,
|
72
72
|
onClick: i[2] || (i[2] = s((...r) => e.action.method && e.action.method(...r), ["stop"])),
|
73
73
|
class: "h-2r w-2r t-white mn-l-thin capitalize t-medium radius-big bg-red"
|
74
74
|
}, [
|
75
75
|
e.action.label.is ? (t(), m(c(e.action.label.is), u(h({ key: 0 }, e.action.label.props)), null, 16)) : (t(), n(f, { key: 1 }, [
|
76
|
-
y(
|
76
|
+
y(l(e.action.label), 1)
|
77
77
|
], 64))
|
78
|
-
])) :
|
79
|
-
])) :
|
78
|
+
])) : a("", !0)
|
79
|
+
])) : a("", !0)
|
80
80
|
]));
|
81
81
|
}
|
82
82
|
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ref as U, onMounted as C, openBlock as i, createElementBlock as c, unref as
|
1
|
+
import { ref as U, onMounted as C, openBlock as i, createElementBlock as c, unref as r, createBlock as d, createCommentVNode as m, createElementVNode as n, withCtx as u, createVNode as a, toDisplayString as f, Fragment as E, renderList as S, normalizeClass as P } from "vue";
|
2
2
|
/* empty css */
|
3
3
|
/* empty css */
|
4
4
|
/* empty css */
|
@@ -19,10 +19,10 @@ import { state as l, actions as W } from "../../../auth/store/auth.js";
|
|
19
19
|
import { actions as j, state as e } from "../../store/users.js";
|
20
20
|
import { mutations as z } from "../../../organizations/store/memberships.js";
|
21
21
|
import "./Profile.vue2.js";
|
22
|
-
const
|
22
|
+
const G = {
|
23
23
|
key: 0,
|
24
24
|
class: "for-transition w-100"
|
25
|
-
},
|
25
|
+
}, D = {
|
26
26
|
key: 0,
|
27
27
|
class: "flex-center flex pd-medium radius-big bg-light uppercase t-semi w-100 h-100"
|
28
28
|
}, q = {
|
@@ -32,25 +32,25 @@ const D = {
|
|
32
32
|
}, H = { class: "flex-center pos-relative flex flex-column t-center w-100 mn-b-semi radius-medium pd-medium bg-light" }, J = { class: "bg-black pd-thin radius-small" }, K = /* @__PURE__ */ n("button", { class: "w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button" }, " Report ", -1), Q = ["src"], T = { class: "mn-b-thin" }, X = {
|
33
33
|
key: 4,
|
34
34
|
class: "mn-b-thin t-main t-semi"
|
35
|
-
}, Y = { class: "mn-b-small p-medium" }, Z = { class: "mn-b-medium flex-center flex-nowrap flex" }, ee = { class: "t-semi mn-b-small" },
|
35
|
+
}, Y = { class: "mn-b-small p-medium" }, Z = { class: "mn-b-medium flex-center flex-nowrap flex" }, ee = { class: "t-semi mn-b-small" }, se = {
|
36
36
|
key: 6,
|
37
37
|
class: "mn-t-small mn-b-thin"
|
38
|
-
},
|
38
|
+
}, re = /* @__PURE__ */ n("span", null, "Events", -1), te = /* @__PURE__ */ n("span", null, "Groups", -1), ie = /* @__PURE__ */ n("span", null, "Posts", -1), oe = /* @__PURE__ */ n("span", null, "Wallet", -1), ae = /* @__PURE__ */ n("span", null, " Settings ", -1), ne = /* @__PURE__ */ n("span", null, " About ", -1), le = /* @__PURE__ */ n("span", { class: "t-red" }, " Logout ", -1), Me = {
|
39
39
|
__name: "Profile",
|
40
40
|
setup(ue) {
|
41
41
|
const o = O(), p = V(), g = U(!1);
|
42
42
|
C(async () => {
|
43
43
|
await j.read({ _id: o.params._id, user: l.user._id }), g.value = !0;
|
44
44
|
});
|
45
|
-
const v = ({ membership: b, status:
|
46
|
-
z.handleMembershipUpdate(e.current, b,
|
45
|
+
const v = ({ membership: b, status: s, target: t }, h, x) => {
|
46
|
+
z.handleMembershipUpdate(e.current, b, s, t, h, x);
|
47
47
|
};
|
48
|
-
function
|
48
|
+
function $() {
|
49
49
|
W.logout(), p.push({ name: "Sign In" });
|
50
50
|
}
|
51
|
-
return (b,
|
52
|
-
e.current.status === "removed" ? (i(), c("div",
|
53
|
-
|
51
|
+
return (b, s) => g.value ? (i(), c("div", G, [
|
52
|
+
e.current.status === "removed" ? (i(), c("div", D, " Sorry, user has been removed. ")) : (i(), c("div", q, [
|
53
|
+
r(o).params._id === l.user._id && g.value ? (i(), d(M, {
|
54
54
|
key: 0,
|
55
55
|
user: l.user._id,
|
56
56
|
target: e.current,
|
@@ -60,7 +60,7 @@ const D = {
|
|
60
60
|
class: "mn-b-medium"
|
61
61
|
}, null, 8, ["user", "target"])) : m("", !0),
|
62
62
|
n("section", H, [
|
63
|
-
|
63
|
+
r(o).params._id && r(o).params._id !== l.user._id ? (i(), d(B, {
|
64
64
|
key: 0,
|
65
65
|
label: "...",
|
66
66
|
align: "right",
|
@@ -88,16 +88,16 @@ const D = {
|
|
88
88
|
target: e.current._id,
|
89
89
|
status: e.current.isBlocked,
|
90
90
|
text: { create: "Block", remove: "Unblock" },
|
91
|
-
onUpdateMembership:
|
91
|
+
onUpdateMembership: s[0] || (s[0] = (t) => v(t, "isBlocked")),
|
92
92
|
class: "t-white mn-t-thin bg-red"
|
93
93
|
}, null, 8, ["user", "target", "status"])) : m("", !0)
|
94
94
|
])
|
95
95
|
]),
|
96
96
|
_: 1
|
97
97
|
})) : m("", !0),
|
98
|
-
|
98
|
+
r(o).params._id === l.user._id ? (i(), d(A, {
|
99
99
|
key: 1,
|
100
|
-
onClick:
|
100
|
+
onClick: s[1] || (s[1] = (t) => b.$router.push({
|
101
101
|
name: "User Edit Profile",
|
102
102
|
params: {
|
103
103
|
_id: l.user._id
|
@@ -122,7 +122,7 @@ const D = {
|
|
122
122
|
}, f(t.icon) + " " + f(t.name), 3))), 256))
|
123
123
|
]),
|
124
124
|
n("p", ee, " 👨👨👧👧 " + f(e.current.numberOfSubscribers) + " followers ", 1),
|
125
|
-
l.user._id &&
|
125
|
+
l.user._id && r(o).params._id && r(o).params._id !== l.user._id ? (i(), d(w, {
|
126
126
|
key: 5,
|
127
127
|
user: l.user._id,
|
128
128
|
type: "user",
|
@@ -130,10 +130,10 @@ const D = {
|
|
130
130
|
target: e.current._id,
|
131
131
|
status: e.current.isSubscriber,
|
132
132
|
text: { create: "Follow", remove: "Unfollow" },
|
133
|
-
onUpdateMembership:
|
133
|
+
onUpdateMembership: s[2] || (s[2] = (t) => v(t, "isSubscriber", "numberOfSubscribers")),
|
134
134
|
class: "w-min mn-b-medium mn-r-auto mn-l-auto"
|
135
135
|
}, null, 8, ["user", "target", "status"])) : m("", !0),
|
136
|
-
Object.values(e.current.socials).some((t) => t) ? (i(), c("h4",
|
136
|
+
Object.values(e.current.socials).some((t) => t) ? (i(), c("h4", se, " Find Me in Socials ")) : m("", !0),
|
137
137
|
a(F, {
|
138
138
|
telegram: e.current.socials.telegram,
|
139
139
|
facebook: e.current.socials.facebook,
|
@@ -145,7 +145,7 @@ const D = {
|
|
145
145
|
a(k, { class: "mn-b-regular bg-light" }, {
|
146
146
|
default: u(() => [
|
147
147
|
a(_, {
|
148
|
-
onClick:
|
148
|
+
onClick: s[3] || (s[3] = (t) => r(p).push({ name: "User Events", params: { _id: r(o).params._id } })),
|
149
149
|
class: "cursor-pointer"
|
150
150
|
}, {
|
151
151
|
default: u(() => [
|
@@ -154,12 +154,12 @@ const D = {
|
|
154
154
|
icon: !0,
|
155
155
|
fill: "rgb(var(--white))"
|
156
156
|
}),
|
157
|
-
|
157
|
+
re
|
158
158
|
]),
|
159
159
|
_: 1
|
160
160
|
}),
|
161
161
|
a(_, {
|
162
|
-
onClick:
|
162
|
+
onClick: s[4] || (s[4] = (t) => r(p).push({ name: "User Organizations", params: { _id: r(o).params._id } })),
|
163
163
|
class: "cursor-pointer"
|
164
164
|
}, {
|
165
165
|
default: u(() => [
|
@@ -172,7 +172,7 @@ const D = {
|
|
172
172
|
_: 1
|
173
173
|
}),
|
174
174
|
a(_, {
|
175
|
-
onClick:
|
175
|
+
onClick: s[5] || (s[5] = (t) => r(p).push({ name: "User Blogposts", params: { _id: r(o).params._id } })),
|
176
176
|
class: "cursor-pointer"
|
177
177
|
}, {
|
178
178
|
default: u(() => [
|
@@ -193,7 +193,7 @@ const D = {
|
|
193
193
|
}, {
|
194
194
|
default: u(() => [
|
195
195
|
a(_, {
|
196
|
-
onClick:
|
196
|
+
onClick: s[6] || (s[6] = (t) => r(p).push({ name: "User Wallet", params: { _id: r(o).params._id } })),
|
197
197
|
class: "cursor-pointer"
|
198
198
|
}, {
|
199
199
|
default: u(() => [
|
@@ -208,16 +208,16 @@ const D = {
|
|
208
208
|
]),
|
209
209
|
_: 1
|
210
210
|
})) : m("", !0),
|
211
|
-
l.user._id ===
|
211
|
+
l.user._id === r(o).params._id ? (i(), d(k, {
|
212
212
|
key: 2,
|
213
213
|
class: "bg-light"
|
214
214
|
}, {
|
215
215
|
default: u(() => [
|
216
216
|
a(_, {
|
217
|
-
onClick:
|
217
|
+
onClick: s[7] || (s[7] = (t) => r(p).push({
|
218
218
|
name: "User Edit Profile",
|
219
219
|
params: {
|
220
|
-
_id:
|
220
|
+
_id: r(o).params._id
|
221
221
|
}
|
222
222
|
})),
|
223
223
|
class: "cursor-pointer"
|
@@ -228,10 +228,10 @@ const D = {
|
|
228
228
|
_: 1
|
229
229
|
}),
|
230
230
|
a(_, {
|
231
|
-
onClick:
|
231
|
+
onClick: s[8] || (s[8] = (t) => r(p).push({
|
232
232
|
name: "Legal",
|
233
233
|
params: {
|
234
|
-
_id:
|
234
|
+
_id: r(o).params._id
|
235
235
|
}
|
236
236
|
})),
|
237
237
|
class: "cursor-pointer"
|
@@ -243,7 +243,7 @@ const D = {
|
|
243
243
|
}),
|
244
244
|
a(_, {
|
245
245
|
class: "cursor-pointer",
|
246
|
-
onClick:
|
246
|
+
onClick: s[9] || (s[9] = (t) => $())
|
247
247
|
}, {
|
248
248
|
default: u(() => [
|
249
249
|
le
|
package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router"),d=require("../../../../components/Tab/Tab.vue2.cjs"),
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router"),d=require("../../../../components/Tab/Tab.vue2.cjs"),p=require("../../../../components/Feed/Feed.vue.cjs"),m=require("../../../community/components/blocks/CardBlogpost.vue.cjs"),o=require("../../../auth/store/auth.cjs"),f=require("../../../community/store/blogposts.cjs"),b={class:"pd-thin"},g={class:"mn-b-medium flex-v-center flex-nowrap flex"},_=e.createElementVNode("h2",{class:"mn-r-medium"},"Posts",-1),h={__name:"ProfileBlogposts",setup(v){const t=n.useRoute(),i=n.useRouter();let c=t.query.tab?t.query.tab:"posts";const r=e.ref(c);return t.query.tab=r.value,e.watch(r,l=>{i.replace({query:{...t.query,tab:l}})}),(l,a)=>(e.openBlock(),e.createElementBlock("div",b,[e.createElementVNode("header",g,[_,o.state.user._id===e.unref(t).params._id?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:a[0]||(a[0]=s=>l.$router.push({name:"Create BlogPost"})),class:"radius-100 t-white t-semi i-big hover-scale-1 cursor-pointer t-white bg-second"}," + ")):e.createCommentVNode("",!0)]),o.state.user._id===e.unref(t).params._id?(e.openBlock(),e.createBlock(d.default,{key:0,selected:r.value,"onUpdate:selected":a[1]||(a[1]=s=>r.value=s),tabs:[{name:"My posts",value:"posts"},{name:"Drafts",value:"drafts"},{name:"Following",value:"following"}],class:"mn-b-small o-hidden h5 radius-big bg-light"},null,8,["selected"])):e.createCommentVNode("",!0),e.createVNode(p.default,{showLoadMore:!1,states:{empty:{title:"No Blog Posts Found",description:"Currently, there are no posts available in this blog. Please check back later."}},store:{read:s=>f.read(s)},options:{limit:15,category:e.unref(t).params.category,period:e.unref(t).query.period,status:r.value==="drafts"?"draft":"published",user:o.state.user._id,creator:["posts","drafts"].includes(r.value)?e.unref(t).params._id:null,following:r.value==="following"?o.state.user._id:null},class:"row-1 gap-thin"},{default:e.withCtx(({items:s})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s,u=>(e.openBlock(),e.createBlock(m.default,{key:u._id,blogpost:u,user:o.state.user._id,class:"h-max-40r mn-b-medium"},null,8,["blogpost","user"]))),128))]),_:1},8,["store","options"])]))}};exports.default=h;
|
package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js
CHANGED
@@ -1,57 +1,75 @@
|
|
1
|
-
import { ref as _, watch as b, openBlock as
|
2
|
-
import { useRoute as
|
3
|
-
import
|
4
|
-
import
|
1
|
+
import { ref as _, watch as b, openBlock as s, createElementBlock as n, createElementVNode as c, unref as o, createCommentVNode as d, createBlock as m, createVNode as g, withCtx as h, Fragment as v, renderList as y } from "vue";
|
2
|
+
import { useRoute as w, useRouter as k } from "vue-router";
|
3
|
+
import q from "../../../../components/Tab/Tab.vue2.js";
|
4
|
+
import x from "../../../../components/Feed/Feed.vue.js";
|
5
|
+
import B from "../../../community/components/blocks/CardBlogpost.vue.js";
|
5
6
|
import { state as a } from "../../../auth/store/auth.js";
|
6
|
-
|
7
|
+
import { read as C } from "../../../community/store/blogposts.js";
|
8
|
+
const P = { class: "pd-thin" }, $ = { class: "mn-b-medium flex-v-center flex-nowrap flex" }, N = /* @__PURE__ */ c("h2", { class: "mn-r-medium" }, "Posts", -1), O = {
|
7
9
|
__name: "ProfileBlogposts",
|
8
|
-
setup(
|
9
|
-
const e =
|
10
|
+
setup(F) {
|
11
|
+
const e = w(), p = k();
|
10
12
|
let f = e.query.tab ? e.query.tab : "posts";
|
11
13
|
const t = _(f);
|
12
|
-
return e.query.tab = t.value, b(t, (
|
13
|
-
p.replace({ query: { ...e.query, tab:
|
14
|
-
}), (
|
15
|
-
c("header",
|
16
|
-
|
17
|
-
a.user._id ===
|
14
|
+
return e.query.tab = t.value, b(t, (i) => {
|
15
|
+
p.replace({ query: { ...e.query, tab: i } });
|
16
|
+
}), (i, l) => (s(), n("div", P, [
|
17
|
+
c("header", $, [
|
18
|
+
N,
|
19
|
+
a.user._id === o(e).params._id ? (s(), n("button", {
|
18
20
|
key: 0,
|
19
|
-
onClick: l[0] || (l[0] = (
|
21
|
+
onClick: l[0] || (l[0] = (r) => i.$router.push({
|
20
22
|
name: "Create BlogPost"
|
21
23
|
})),
|
22
24
|
class: "radius-100 t-white t-semi i-big hover-scale-1 cursor-pointer t-white bg-second"
|
23
|
-
}, " + ")) :
|
25
|
+
}, " + ")) : d("", !0)
|
24
26
|
]),
|
25
|
-
a.user._id ===
|
27
|
+
a.user._id === o(e).params._id ? (s(), m(q, {
|
26
28
|
key: 0,
|
27
29
|
selected: t.value,
|
28
|
-
"onUpdate:selected": l[1] || (l[1] = (
|
30
|
+
"onUpdate:selected": l[1] || (l[1] = (r) => t.value = r),
|
29
31
|
tabs: [
|
30
32
|
{ name: "My posts", value: "posts" },
|
31
33
|
{ name: "Drafts", value: "drafts" },
|
32
34
|
{ name: "Following", value: "following" }
|
33
35
|
],
|
34
36
|
class: "mn-b-small o-hidden h5 radius-big bg-light"
|
35
|
-
}, null, 8, ["selected"])) :
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
37
|
+
}, null, 8, ["selected"])) : d("", !0),
|
38
|
+
g(x, {
|
39
|
+
showLoadMore: !1,
|
40
|
+
states: {
|
41
|
+
empty: {
|
42
|
+
title: "No Blog Posts Found",
|
43
|
+
description: "Currently, there are no posts available in this blog. Please check back later."
|
44
|
+
}
|
45
|
+
},
|
46
|
+
store: {
|
47
|
+
read: (r) => C(r)
|
48
|
+
},
|
49
|
+
options: {
|
50
|
+
limit: 15,
|
51
|
+
category: o(e).params.category,
|
52
|
+
period: o(e).query.period,
|
53
|
+
status: t.value === "drafts" ? "draft" : "published",
|
54
|
+
user: a.user._id,
|
55
|
+
creator: ["posts", "drafts"].includes(t.value) ? o(e).params._id : null,
|
56
|
+
following: t.value === "following" ? a.user._id : null
|
57
|
+
},
|
58
|
+
class: "row-1 gap-thin"
|
59
|
+
}, {
|
60
|
+
default: h(({ items: r }) => [
|
61
|
+
(s(!0), n(v, null, y(r, (u) => (s(), m(B, {
|
62
|
+
key: u._id,
|
63
|
+
blogpost: u,
|
64
|
+
user: a.user._id,
|
65
|
+
class: "h-max-40r mn-b-medium"
|
66
|
+
}, null, 8, ["blogpost", "user"]))), 128))
|
67
|
+
]),
|
68
|
+
_: 1
|
69
|
+
}, 8, ["store", "options"])
|
52
70
|
]));
|
53
71
|
}
|
54
72
|
};
|
55
73
|
export {
|
56
|
-
|
74
|
+
O as default
|
57
75
|
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("../../localization/Wallet.json.cjs"),o=require("vue-i18n"),r={class:"mn-b-small t-center t-bold"},a={class:"radius-medium br-1px br-black br-solid pd-big flex flex-column flex-justify-center flex-items-center"},i={class:"t-semi"},u=e.createElementVNode("h3",{class:"t-semi"}," 500 WDT ",-1),d={__name:"CardBalanceReplenished",emits:["close"],setup(m,{emit:s}){const l=s,{t}=o.useI18n({useScope:"global",...c.default});function n(){l("close")}return(b,p)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("h2",r,e.toDisplayString(e.unref(t)("balanceReplenished")),1),e.createElementVNode("div",a,[e.createElementVNode("h3",i,e.toDisplayString(e.unref(t)("youReceived")),1),u]),e.createElementVNode("button",{class:"uppercase w-100 bg-main t-black pd-thin radius-medium t-center br-solid br-2px br-black-transp-10 mn-t-small",onClick:n},e.toDisplayString(e.unref(t)("backToWallet")),1)],64))}};exports.default=d;
|
package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardBalanceReplenished.vue.js
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
import { openBlock as a, createElementBlock as i, Fragment as r, createElementVNode as e, toDisplayString as s, unref as l } from "vue";
|
2
|
+
import m from "../../localization/Wallet.json.js";
|
3
|
+
import { useI18n as d } from "vue-i18n";
|
4
|
+
const p = { class: "mn-b-small t-center t-bold" }, u = { class: "radius-medium br-1px br-black br-solid pd-big flex flex-column flex-justify-center flex-items-center" }, b = { class: "t-semi" }, _ = /* @__PURE__ */ e("h3", { class: "t-semi" }, " 500 WDT ", -1), B = {
|
5
|
+
__name: "CardBalanceReplenished",
|
6
|
+
emits: ["close"],
|
7
|
+
setup(f, { emit: c }) {
|
8
|
+
const o = c, { t } = d({
|
9
|
+
useScope: "global",
|
10
|
+
...m
|
11
|
+
});
|
12
|
+
function n() {
|
13
|
+
o("close");
|
14
|
+
}
|
15
|
+
return (h, x) => (a(), i(r, null, [
|
16
|
+
e("h2", p, s(l(t)("balanceReplenished")), 1),
|
17
|
+
e("div", u, [
|
18
|
+
e("h3", b, s(l(t)("youReceived")), 1),
|
19
|
+
_
|
20
|
+
]),
|
21
|
+
e("button", {
|
22
|
+
class: "uppercase w-100 bg-main t-black pd-thin radius-medium t-center br-solid br-2px br-black-transp-10 mn-t-small",
|
23
|
+
onClick: n
|
24
|
+
}, s(l(t)("backToWallet")), 1)
|
25
|
+
], 64));
|
26
|
+
}
|
27
|
+
};
|
28
|
+
export {
|
29
|
+
B as default
|
30
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),a=require("../../localization/Wallet.json.cjs"),o=require("../../../../components/Field/Field.vue2.cjs"),u=require("vue-i18n"),m=e.createElementVNode("h2",{class:"mn-b-small t-center t-bold"},"Deposit with card",-1),d={class:"bg-grey radius-big mn-t-semi mn-b-semi flex flex-justify-between"},b=e.createElementVNode("div",{class:"uppercase flex flex-justify-center flex-items-center mn-r-semi t-semi"}," USD ",-1),p=e.createElementVNode("h3",{class:"t-semi"},"You will receieve: 0 WDT",-1),f={__name:"CardDeposite",emits:["back-selection","switch-menu"],setup(_,{emit:c}){const s=c,{t}=u.useI18n({useScope:"global",...a.default});function i(){s("back-selection")}function r(n=0){s("switch-menu",n)}return(n,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[m,e.createElementVNode("div",d,[e.createVNode(o.default,{placeholder:e.unref(t)("enterAmount"),class:"pd-medium radius-small"},null,8,["placeholder"]),b]),p,e.createElementVNode("button",{class:"uppercase w-100 bg-main t-black pd-thin radius-medium t-center br-solid br-2px br-black-transp-10 mn-t-small",onClick:l[0]||(l[0]=h=>r(3))},e.toDisplayString(e.unref(t)("pay")),1),e.createElementVNode("button",{class:"uppercase w-100 bg-main t-black pd-thin radius-medium t-center br-solid br-2px br-black-transp-10 mn-t-small",onClick:i},e.toDisplayString(e.unref(t)("backToSelection")),1)],64))}};exports.default=f;
|
@@ -0,0 +1,42 @@
|
|
1
|
+
import { openBlock as m, createElementBlock as u, Fragment as p, createElementVNode as e, createVNode as d, unref as s, toDisplayString as c } from "vue";
|
2
|
+
import b from "../../localization/Wallet.json.js";
|
3
|
+
import f from "../../../../components/Field/Field.vue2.js";
|
4
|
+
import { useI18n as _ } from "vue-i18n";
|
5
|
+
const h = /* @__PURE__ */ e("h2", { class: "mn-b-small t-center t-bold" }, "Deposit with card", -1), k = { class: "bg-grey radius-big mn-t-semi mn-b-semi flex flex-justify-between" }, x = /* @__PURE__ */ e("div", { class: "uppercase flex flex-justify-center flex-items-center mn-r-semi t-semi" }, " USD ", -1), g = /* @__PURE__ */ e("h3", { class: "t-semi" }, "You will receieve: 0 WDT", -1), j = {
|
6
|
+
__name: "CardDeposite",
|
7
|
+
emits: ["back-selection", "switch-menu"],
|
8
|
+
setup(w, { emit: o }) {
|
9
|
+
const n = o, { t } = _({
|
10
|
+
useScope: "global",
|
11
|
+
...b
|
12
|
+
});
|
13
|
+
function r() {
|
14
|
+
n("back-selection");
|
15
|
+
}
|
16
|
+
function a(i = 0) {
|
17
|
+
n("switch-menu", i);
|
18
|
+
}
|
19
|
+
return (i, l) => (m(), u(p, null, [
|
20
|
+
h,
|
21
|
+
e("div", k, [
|
22
|
+
d(f, {
|
23
|
+
placeholder: s(t)("enterAmount"),
|
24
|
+
class: "pd-medium radius-small"
|
25
|
+
}, null, 8, ["placeholder"]),
|
26
|
+
x
|
27
|
+
]),
|
28
|
+
g,
|
29
|
+
e("button", {
|
30
|
+
class: "uppercase w-100 bg-main t-black pd-thin radius-medium t-center br-solid br-2px br-black-transp-10 mn-t-small",
|
31
|
+
onClick: l[0] || (l[0] = (y) => a(3))
|
32
|
+
}, c(s(t)("pay")), 1),
|
33
|
+
e("button", {
|
34
|
+
class: "uppercase w-100 bg-main t-black pd-thin radius-medium t-center br-solid br-2px br-black-transp-10 mn-t-small",
|
35
|
+
onClick: r
|
36
|
+
}, c(s(t)("backToSelection")), 1)
|
37
|
+
], 64));
|
38
|
+
}
|
39
|
+
};
|
40
|
+
export {
|
41
|
+
j as default
|
42
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=e.createElementVNode("h2",{class:"mn-b-small t-center t-bold"},"Deposit with cash",-1),o=e.createElementVNode("p",{class:"t-transp t-center"}," You need to go to casse to topup balance ",-1),l=e.createElementVNode("div",{class:"w-100 bg-grey radius-medium mn-t-medium mn-b-medium",style:{height:"152px"}},null,-1),a={__name:"CashDeposite",emits:["back-selection"],setup(i,{emit:t}){const s=t;function n(){s("back-selection")}return(r,m)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[c,o,l,e.createElementVNode("button",{class:"w-100 bg-main t-black pd-thin radius-medium t-center br-solid br-2px br-black-transp-10 mn-t-small",onClick:n},"Back to selection ")],64))}};exports.default=a;
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { openBlock as c, createElementBlock as o, Fragment as a, createElementVNode as t } from "vue";
|
2
|
+
const i = /* @__PURE__ */ t("h2", { class: "mn-b-small t-center t-bold" }, "Deposit with cash", -1), l = /* @__PURE__ */ t("p", { class: "t-transp t-center" }, " You need to go to casse to topup balance ", -1), m = /* @__PURE__ */ t("div", {
|
3
|
+
class: "w-100 bg-grey radius-medium mn-t-medium mn-b-medium",
|
4
|
+
style: { height: "152px" }
|
5
|
+
}, null, -1), b = {
|
6
|
+
__name: "CashDeposite",
|
7
|
+
emits: ["back-selection"],
|
8
|
+
setup(r, { emit: e }) {
|
9
|
+
const s = e;
|
10
|
+
function n() {
|
11
|
+
s("back-selection");
|
12
|
+
}
|
13
|
+
return (d, p) => (c(), o(a, null, [
|
14
|
+
i,
|
15
|
+
l,
|
16
|
+
m,
|
17
|
+
t("button", {
|
18
|
+
class: "w-100 bg-main t-black pd-thin radius-medium t-center br-solid br-2px br-black-transp-10 mn-t-small",
|
19
|
+
onClick: n
|
20
|
+
}, "Back to selection ")
|
21
|
+
], 64));
|
22
|
+
}
|
23
|
+
};
|
24
|
+
export {
|
25
|
+
b as default
|
26
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),o=require("../../localization/Wallet.json.cjs"),a=require("../../../../components/Field/Field.vue2.cjs"),u=require("vue-i18n"),m={class:"mn-b-small t-center t-bold"},d={class:"bg-grey radius-big mn-t-semi mn-b-semi flex flex-justify-between"},p=e.createElementVNode("div",{class:"uppercase flex flex-justify-center flex-items-center mn-r-semi t-semi"}," POLY USDT ",-1),b=e.createElementVNode("h3",{class:"t-semi"},"You will receieve: 0 WDT",-1),f={__name:"CryptoDeposite",emits:["back-selection","switch-menu"],setup(_,{emit:i}){const n=i,{t}=u.useI18n({useScope:"global",...o.default});function r(){n("back-selection")}function c(s=0){n("switch-menu",s)}return(s,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("h2",m,e.toDisplayString(e.unref(t)("depositeWithCrypto")),1),e.createElementVNode("div",d,[e.createVNode(a.default,{placeholder:e.unref(t)("enterAmount"),class:"pd-medium radius-small"},null,8,["placeholder"]),p]),b,e.createElementVNode("button",{class:"uppercase w-100 bg-main t-black pd-thin radius-medium t-center br-solid br-2px br-black-transp-10 mn-t-small",onClick:l[0]||(l[0]=h=>c(3))},e.toDisplayString(e.unref(t)("pay")),1),e.createElementVNode("button",{class:"uppercase w-100 bg-main t-black pd-thin radius-medium t-center br-solid br-2px br-black-transp-10 mn-t-small",onClick:r},e.toDisplayString(e.unref(t)("backToSelection")),1)],64))}};exports.default=f;
|
@@ -0,0 +1,42 @@
|
|
1
|
+
import { openBlock as a, createElementBlock as p, Fragment as u, createElementVNode as e, toDisplayString as n, unref as s, createVNode as d } from "vue";
|
2
|
+
import b from "../../localization/Wallet.json.js";
|
3
|
+
import f from "../../../../components/Field/Field.vue2.js";
|
4
|
+
import { useI18n as _ } from "vue-i18n";
|
5
|
+
const h = { class: "mn-b-small t-center t-bold" }, k = { class: "bg-grey radius-big mn-t-semi mn-b-semi flex flex-justify-between" }, x = /* @__PURE__ */ e("div", { class: "uppercase flex flex-justify-center flex-items-center mn-r-semi t-semi" }, " POLY USDT ", -1), g = /* @__PURE__ */ e("h3", { class: "t-semi" }, "You will receieve: 0 WDT", -1), T = {
|
6
|
+
__name: "CryptoDeposite",
|
7
|
+
emits: ["back-selection", "switch-menu"],
|
8
|
+
setup(w, { emit: c }) {
|
9
|
+
const i = c, { t } = _({
|
10
|
+
useScope: "global",
|
11
|
+
...b
|
12
|
+
});
|
13
|
+
function r() {
|
14
|
+
i("back-selection");
|
15
|
+
}
|
16
|
+
function m(l = 0) {
|
17
|
+
i("switch-menu", l);
|
18
|
+
}
|
19
|
+
return (l, o) => (a(), p(u, null, [
|
20
|
+
e("h2", h, n(s(t)("depositeWithCrypto")), 1),
|
21
|
+
e("div", k, [
|
22
|
+
d(f, {
|
23
|
+
placeholder: s(t)("enterAmount"),
|
24
|
+
class: "pd-medium radius-small"
|
25
|
+
}, null, 8, ["placeholder"]),
|
26
|
+
x
|
27
|
+
]),
|
28
|
+
g,
|
29
|
+
e("button", {
|
30
|
+
class: "uppercase w-100 bg-main t-black pd-thin radius-medium t-center br-solid br-2px br-black-transp-10 mn-t-small",
|
31
|
+
onClick: o[0] || (o[0] = (y) => m(3))
|
32
|
+
}, n(s(t)("pay")), 1),
|
33
|
+
e("button", {
|
34
|
+
class: "uppercase w-100 bg-main t-black pd-thin radius-medium t-center br-solid br-2px br-black-transp-10 mn-t-small",
|
35
|
+
onClick: r
|
36
|
+
}, n(s(t)("backToSelection")), 1)
|
37
|
+
], 64));
|
38
|
+
}
|
39
|
+
};
|
40
|
+
export {
|
41
|
+
T as default
|
42
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e={"en-default":{pay:"pay",youReceived:"you received",enterAmount:"enter amount to top up",backToWallet:"back to wallet",backToSelection:"back to selection",balanceReplenished:"balance replenished",depositeWithCrypto:"deposite with crypto"},"ru-default":{pay:"купить",youReceived:"вы пополнили на сумму",enterAmount:"введите сумму для пополнения",backToWallet:"назад к кошельку",backToSelection:"назад к списку",balanceReplenished:"баланс пополнен",depositeWithCrypto:"пополнение криптовалютой"}},t={messages:e};exports.default=t;exports.messages=e;
|
@@ -0,0 +1,26 @@
|
|
1
|
+
const e = {
|
2
|
+
"en-default": {
|
3
|
+
pay: "pay",
|
4
|
+
youReceived: "you received",
|
5
|
+
enterAmount: "enter amount to top up",
|
6
|
+
backToWallet: "back to wallet",
|
7
|
+
backToSelection: "back to selection",
|
8
|
+
balanceReplenished: "balance replenished",
|
9
|
+
depositeWithCrypto: "deposite with crypto"
|
10
|
+
},
|
11
|
+
"ru-default": {
|
12
|
+
pay: "купить",
|
13
|
+
youReceived: "вы пополнили на сумму",
|
14
|
+
enterAmount: "введите сумму для пополнения",
|
15
|
+
backToWallet: "назад к кошельку",
|
16
|
+
backToSelection: "назад к списку",
|
17
|
+
balanceReplenished: "баланс пополнен",
|
18
|
+
depositeWithCrypto: "пополнение криптовалютой"
|
19
|
+
}
|
20
|
+
}, t = {
|
21
|
+
messages: e
|
22
|
+
};
|
23
|
+
export {
|
24
|
+
t as default,
|
25
|
+
e as messages
|
26
|
+
};
|