@ozdao/prometheus-framework 0.1.67 → 0.1.69
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/BackofficeGallery-59a591ab.js +1 -0
- package/dist/BackofficeGallery-be6f69a9.mjs +307 -0
- package/dist/BackofficeReports-06166952.js +1 -0
- package/dist/BackofficeReports-50fd799c.mjs +44 -0
- package/dist/BlockTags-00325fa0.mjs +853 -0
- package/dist/BlockTags-58f95c8a.js +1 -0
- package/dist/ButtonToggleMembership-84d0e018.mjs +90 -0
- package/dist/ButtonToggleMembership-b905812f.js +1 -0
- package/dist/CardBlogpost-1b81b54e.mjs +246 -0
- package/dist/CardBlogpost-7107e04a.js +1 -0
- package/dist/CardOrganization-49ab5190.mjs +234 -0
- package/dist/CardOrganization-e6ac27f1.js +1 -0
- package/dist/CardProduct-4c0cb9a1.js +1 -0
- package/dist/CardProduct-ea0e1f84.mjs +192 -0
- package/dist/Chips-817cf959.js +1 -0
- package/dist/Chips-8c836ba6.mjs +213 -0
- package/dist/Community-8c4e011b.js +1 -0
- package/dist/Community-bd6f0cbb.mjs +131 -0
- package/dist/Dashboard-73b50724.js +1 -0
- package/dist/Dashboard-bc81b5f6.mjs +151 -0
- package/dist/Dropdown-60e3dc6c.js +1 -0
- package/dist/Dropdown-d1c81d45.mjs +169 -0
- package/dist/EditOrder-2b746caf.mjs +221 -0
- package/dist/EditOrder-e632f0cc.js +1 -0
- package/dist/Events-999cc8ed.js +1 -0
- package/dist/Events-ad8bbf27.mjs +134 -0
- package/dist/Feed-35e13c22.mjs +156 -0
- package/dist/Feed-53d96b18.mjs +361 -0
- package/dist/Feed-694a2fad.js +1 -0
- package/dist/Feed-ac4bb6ea.js +1 -0
- package/dist/Feed-d1d01771.js +1 -0
- package/dist/Feed-f7c04014.mjs +124 -0
- package/dist/Image-61cfd52d.js +9 -0
- package/dist/Image-e8be4acc.mjs +480 -0
- package/dist/LeftoverAdd-a268a95c.js +1 -0
- package/dist/LeftoverAdd-e4d93760.mjs +229 -0
- package/dist/Leftovers-6976802d.mjs +135 -0
- package/dist/Leftovers-d8f1d152.js +1 -0
- package/dist/Members-aeb2bca1.mjs +109 -0
- package/dist/Members-b9664e83.js +1 -0
- package/dist/Menu-93d34d9f.js +1 -0
- package/dist/Menu-eaf6b44c.mjs +13 -0
- package/dist/MenuItem-4a5881bd.mjs +85 -0
- package/dist/MenuItem-f35cad93.js +1 -0
- package/dist/Orders-8bc8963c.js +1 -0
- package/dist/Orders-eb262d8c.mjs +75 -0
- package/dist/Organizations-9926aa51.mjs +72 -0
- package/dist/Organizations-c653d814.js +1 -0
- package/dist/Payments-98328000.js +1 -0
- package/dist/Payments-a9066cdf.mjs +11 -0
- package/dist/Popup-0d8e1392.mjs +96 -0
- package/dist/Popup-eb11fa82.js +1 -0
- package/dist/Product-15043af7.mjs +651 -0
- package/dist/Product-82c022a4.js +7 -0
- package/dist/ProductEdit-05da9866.mjs +258 -0
- package/dist/ProductEdit-2f075296.js +1 -0
- package/dist/ProductsBackoffice-8462f626.js +1 -0
- package/dist/ProductsBackoffice-8d0f0ee8.mjs +85 -0
- package/dist/ProfileBlogposts-43855cb9.js +1 -0
- package/dist/ProfileBlogposts-f32170a3.mjs +78 -0
- package/dist/ProfileEvents-54be2d43.mjs +69 -0
- package/dist/ProfileEvents-ab69e27e.js +1 -0
- package/dist/ProfileOrganizations-0787cf34.mjs +72 -0
- package/dist/ProfileOrganizations-eb62dde4.js +1 -0
- package/dist/Publics-8e726d20.mjs +45 -0
- package/dist/Publics-ae589bf1.js +1 -0
- package/dist/Select-95f4701a.js +1 -0
- package/dist/Select-dab17282.mjs +80 -0
- package/dist/Select.vue_vue_type_style_index_0_scoped_dfe03dc2_lang-0ea8fbf8.js +1 -0
- package/dist/Select.vue_vue_type_style_index_0_scoped_dfe03dc2_lang-4ed993c7.mjs +1 -0
- package/dist/Socials-43293869.js +1 -0
- package/dist/Socials-8193477c.mjs +189 -0
- package/dist/UploadImage-0e8e4278.mjs +83 -0
- package/dist/UploadImage-8c71bda6.js +1 -0
- package/dist/UploadImageMultiple-c34a6c6f.mjs +58 -0
- package/dist/UploadImageMultiple-d1316df5.js +1 -0
- package/dist/Wallet-727195d9.mjs +21700 -0
- package/dist/Wallet-f4dda407.js +10 -0
- package/dist/auth-04684a60.js +7 -0
- package/dist/auth-7e39361f.mjs +633 -0
- package/dist/auth.client.cjs +1 -1
- package/dist/auth.client.js +5 -5
- package/dist/auth.server.js +1 -1
- package/dist/auth.server.mjs +1 -1
- package/dist/auth.validation-d614130d.js +1 -0
- package/dist/auth.validation-f4bf1deb.mjs +24 -0
- package/dist/axios-33aeb810.mjs +1435 -0
- package/dist/axios-ceccf20e.js +5 -0
- package/dist/backoffice.client.cjs +1 -1
- package/dist/backoffice.client.js +20 -20
- package/dist/categories-7e17a7eb.js +1 -0
- package/dist/categories-b7f9e8c0.mjs +122 -0
- package/dist/community.client.cjs +1 -1
- package/dist/community.client.js +209 -202
- package/dist/components/Upload/Upload.vue.d.ts.map +1 -1
- package/dist/events.client.cjs +2 -2
- package/dist/events.client.js +24 -27
- package/dist/landing.client.cjs +1 -1
- package/dist/landing.client.js +64 -40
- package/dist/leftovers-86e7d438.mjs +67 -0
- package/dist/leftovers-c9f70579.js +1 -0
- package/dist/legal.client.cjs +1 -1
- package/dist/legal.client.js +6 -7
- package/dist/main.css +1 -1
- package/dist/memberships-559590ad.mjs +68 -0
- package/dist/memberships-58af22e0.js +1 -0
- package/dist/modules/constructor/components/elements/H2.vue.d.ts +1 -1
- package/dist/modules/constructor/components/elements/Textarea.vue.d.ts +1 -1
- package/dist/modules/products/components/sections/EditProductInfo.vue.d.ts +1 -5
- package/dist/orders-1325c51b.js +1 -0
- package/dist/orders-c7cbe706.mjs +85 -0
- package/dist/organizations-71777b32.js +1 -0
- package/dist/organizations-93f7b610.mjs +122 -0
- package/dist/organizations.client-6ca27fb3.js +3 -0
- package/dist/organizations.client-bd63a7b2.mjs +2997 -0
- package/dist/organizations.client.cjs +1 -1
- package/dist/organizations.client.js +56 -61
- package/dist/products-61d83d74.js +1 -0
- package/dist/products-7f1e5a75.mjs +108 -0
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +67 -65
- package/dist/prometheus-framework.cjs.js +21 -21
- package/dist/prometheus-framework.es.js +682 -690
- package/dist/reports-a67b4fb4.js +1 -0
- package/dist/reports-c579b02a.mjs +91 -0
- package/dist/reports.client.cjs +1 -1
- package/dist/reports.client.js +2 -2
- package/dist/states.validation-3b4604bc.mjs +13 -0
- package/dist/states.validation-9b43a097.js +1 -0
- package/dist/style.css +1 -1
- package/dist/users.client.cjs +1 -1
- package/dist/users.client.js +279 -208
- package/package.json +30 -35
- package/src/components/Button/Button.vue +1 -1
- package/src/components/Sidebar/Sidebar.vue +10 -8
- package/src/components/Upload/Upload.vue +8 -28
- package/src/modules/auth/components/pages/SignIn.vue +2 -2
- package/src/modules/auth/controllers/auth.controller.js +1 -1
- package/src/modules/auth/store/auth.js +21 -24
- package/src/modules/backoffice/components/admin/ProductEdit.vue +2 -0
- package/src/modules/constructor/components/sections/Constructor.vue +7 -54
- package/src/modules/gallery/components/pages/Gallery.vue +7 -1
- package/src/modules/gallery/components/sections/GalleryWithCategories.vue +24 -8
- package/src/modules/gallery/gallery.client.js +5 -1
- package/src/modules/marketplace/components/layouts/Marketplace.vue +1 -0
- package/src/modules/organizations/components/pages/Organization.vue +2 -2
- package/src/modules/payments/components/pages/Payments.vue +4 -3
- package/src/modules/products/components/blocks/CardLeftover.vue +0 -1
- package/src/modules/products/components/blocks/CardProduct.vue +15 -1
- package/src/modules/products/components/sections/EditProductInfo.vue +16 -14
- package/src/modules/products/components/sections/FilterProducts.vue +0 -2
- package/src/modules/products/components/sections/SectionProduct.vue +1 -0
- package/src/modules/products/components/sections/SortProducts.vue +2 -0
- package/src/modules/products/store/categories.js +9 -9
- package/src/modules/products/store/leftovers.js +6 -9
- package/src/modules/products/store/products.js +2 -0
- package/src/modules/users/components/pages/Profile.vue +3 -5
- package/src/modules/wallet/components/pages/Wallet.vue +1 -1
- package/src/styles/components/button.scss +253 -0
- package/src/styles/theme.scss +1 -0
- package/src/modules/constructor/components/elements/Audio.vue +0 -82
- package/src/modules/constructor/components/elements/Embed.vue +0 -85
- package/src/modules/globals/mixins/mixins.js +0 -52
- package/src/modules/globals/router/routerGuards.js +0 -28
package/dist/auth.client.js
CHANGED
@@ -5,18 +5,18 @@ import "./Button.vue_vue_type_style_index_0_lang-4ed993c7.mjs";
|
|
5
5
|
import { C as xt, S as kt } from "./carousel.es-44c501bc.mjs";
|
6
6
|
import { useI18n as B } from "vue-i18n";
|
7
7
|
import { useRoute as L, useRouter as x } from "vue-router";
|
8
|
-
import { b as ie, c as pt, s as m, a as K } from "./auth-
|
9
|
-
import { d as U1, t as G1 } from "./auth-
|
8
|
+
import { b as ie, c as pt, s as m, a as K } from "./auth-7e39361f.mjs";
|
9
|
+
import { d as U1, t as G1 } from "./auth-7e39361f.mjs";
|
10
10
|
import { v as R, a as mt, b as be, c as _e } from "./inputs.validation-db65277a.mjs";
|
11
11
|
import { s as z } from "./globals-96ba60e4.mjs";
|
12
12
|
import { F as M } from "./Field-e5ad88d3.mjs";
|
13
13
|
import { _ as X } from "./Button-9e1a9284.mjs";
|
14
|
-
import { a as jt } from "./
|
14
|
+
import { a as jt } from "./axios-33aeb810.mjs";
|
15
15
|
import { _ as Ce } from "./Tab-054b61f7.mjs";
|
16
16
|
import { c as Bt } from "./click-outside-6101836c.mjs";
|
17
17
|
import { _ as Ut } from "./_plugin-vue_export-helper-dad06003.mjs";
|
18
|
-
import { r as oe, c as Te } from "./states.validation-
|
19
|
-
import { b as G } from "./auth.validation-
|
18
|
+
import { r as oe, c as Te } from "./states.validation-3b4604bc.mjs";
|
19
|
+
import { b as G } from "./auth.validation-f4bf1deb.mjs";
|
20
20
|
const Gt = { class: "parent-div" }, Vt = { class: "mn-small" }, Ht = { class: "mn-big mn-r-small mn-l-small" }, L1 = {
|
21
21
|
__name: "SliderFeatures",
|
22
22
|
setup(e) {
|
package/dist/auth.server.js
CHANGED
@@ -79,7 +79,7 @@ const controllerFactory$4 = (db) => {
|
|
79
79
|
}
|
80
80
|
try {
|
81
81
|
let user = await User.findOne(query).populate("roles").exec();
|
82
|
-
if (type === "email" || type === "phone") {
|
82
|
+
if ((type === "email" || type === "phone") && req.body.password) {
|
83
83
|
const passwordIsValid = bcrypt.compareSync(req.body.password, user.password);
|
84
84
|
if (!passwordIsValid) {
|
85
85
|
return res.status(401).send({ errorCode: "INCORRECT_PASSWORD_ENTERED", accessToken: null });
|
package/dist/auth.server.mjs
CHANGED
@@ -78,7 +78,7 @@ const controllerFactory$4 = (db) => {
|
|
78
78
|
}
|
79
79
|
try {
|
80
80
|
let user = await User.findOne(query).populate("roles").exec();
|
81
|
-
if (type === "email" || type === "phone") {
|
81
|
+
if ((type === "email" || type === "phone") && req.body.password) {
|
82
82
|
const passwordIsValid = bcrypt.compareSync(req.body.password, user.password);
|
83
83
|
if (!passwordIsValid) {
|
84
84
|
return res.status(401).send({ errorCode: "INCORRECT_PASSWORD_ENTERED", accessToken: null });
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";const o=require("vue-router"),e=require("./auth-04684a60.js");o.useRouter();function n(t,i,s){if(e.state.access.status!==!0)return s("/auth/signin");s()}function c(t,i,s){var u;if(((u=e.state.access.roles)!=null&&u.includes("ROLE_ADMIN")?e.state.access.roles.includes("ROLE_ADMIN"):!1)!==!0)return s("/404");s()}function a(t,i,s){if(e.state.access.status)return s("/profile/"+e.state.user._id);s()}exports.requiresAdmin=c;exports.requiresAuth=n;exports.requiresNoAuth=a;
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { useRouter as u } from "vue-router";
|
2
|
+
import { s as i } from "./auth-7e39361f.mjs";
|
3
|
+
u();
|
4
|
+
function a(r, o, s) {
|
5
|
+
if (i.access.status !== !0)
|
6
|
+
return s("/auth/signin");
|
7
|
+
s();
|
8
|
+
}
|
9
|
+
function f(r, o, s) {
|
10
|
+
var e;
|
11
|
+
if (((e = i.access.roles) != null && e.includes("ROLE_ADMIN") ? i.access.roles.includes("ROLE_ADMIN") : !1) !== !0)
|
12
|
+
return s("/404");
|
13
|
+
s();
|
14
|
+
}
|
15
|
+
function m(r, o, s) {
|
16
|
+
if (i.access.status)
|
17
|
+
return s("/profile/" + i.user._id);
|
18
|
+
s();
|
19
|
+
}
|
20
|
+
export {
|
21
|
+
a,
|
22
|
+
m as b,
|
23
|
+
f as r
|
24
|
+
};
|