@ozdao/prometheus-framework 0.2.84 → 0.2.86
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Block/Block.vue.js +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +73 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +1 -73
- package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.js +103 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.js +1 -103
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +1 -45
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +45 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/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/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +5 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +66 -0
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -5
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +0 -66
- 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 +1 -1
- 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/layouts/layoutEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.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 +2 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +13 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +1 -13
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/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/DepartmentMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +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 +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
- 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/sections/EditProductInfo.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +3 -3
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/modules/auth/routes/auth.routes.js +1 -14
- package/src/modules/auth/routes/twofa.routes.js +0 -9
- package/src/modules/community/routes/blog.routes.js +0 -13
- package/src/modules/community/routes/comments.routes.js +0 -9
- package/src/modules/community/routes/reactions.routes.js +0 -9
- package/src/modules/events/routes/events.routes.js +0 -13
- package/src/modules/events/routes/tickets.routes.js +0 -12
- package/src/modules/files/routes/files.routes.js +0 -13
- package/src/modules/gallery/routes/gallery.routes.js +0 -13
- package/src/modules/orders/routes/applications.routes.js +0 -13
- package/src/modules/orders/routes/backcalls.routes.js +0 -5
- package/src/modules/orders/routes/fastorders.routes.js +0 -4
- package/src/modules/orders/routes/testimonials.routes.js +0 -8
- package/src/modules/organizations/routes/departments.routes.js +1 -11
- package/src/modules/organizations/routes/invites.routes.js +0 -8
- package/src/modules/organizations/routes/memberships.routes.js +0 -8
- package/src/modules/organizations/routes/organizations.routes.js +0 -13
- package/src/modules/pages/routes/pages.routes.js +0 -5
- package/src/modules/products/routes/categories.routes.js +0 -9
- package/src/modules/products/routes/leftovers.routes.js +0 -5
- package/src/modules/products/routes/products.routes.js +0 -8
- package/src/modules/projects/routes/projects.routes.js +0 -8
- package/src/modules/reports/routes/reports.routes.js +0 -13
- package/src/modules/spots/routes/spots.routes.js +0 -9
- package/src/modules/users/routes/users.routes.js +0 -13
- package/src/modules/wallet/controllers/routes/payments.routes.js +0 -5
@@ -7,19 +7,6 @@ module.exports = function(app, db, origins) {
|
|
7
7
|
|
8
8
|
const { authJwt } = middlewareFactoryGlobal(db);
|
9
9
|
|
10
|
-
app.use(function(req, res, next) {
|
11
|
-
|
12
|
-
const origin = req.headers.origin;
|
13
|
-
|
14
|
-
if (origins.includes(origin)) {
|
15
|
-
res.setHeader('Access-Control-Allow-Origin', origin);
|
16
|
-
}
|
17
|
-
|
18
|
-
res.header("Access-Control-Allow-Headers", "x-access-token, Origin, Content-Type, Accept");
|
19
|
-
|
20
|
-
next();
|
21
|
-
});
|
22
|
-
|
23
10
|
app.get(
|
24
11
|
"/reports",
|
25
12
|
controller.read
|
@@ -4,15 +4,6 @@ const controllerFactory = require("../controllers/spots.controller");
|
|
4
4
|
module.exports = function(app, db) {
|
5
5
|
const controller = controllerFactory(db);
|
6
6
|
|
7
|
-
app.use(function(req, res, next) {
|
8
|
-
res.header(
|
9
|
-
"Access-Control-Allow-Headers",
|
10
|
-
"Access-Control-Allow-Origin",
|
11
|
-
"x-access-token, Origin, Content-Type, Accept"
|
12
|
-
);
|
13
|
-
next();
|
14
|
-
});
|
15
|
-
|
16
7
|
// Get organization spots by _id
|
17
8
|
app.get("/api/spots/:_id", controller.read);
|
18
9
|
|
@@ -3,19 +3,6 @@ const controllerFactory = require("../controllers/users.controller");
|
|
3
3
|
// Routes
|
4
4
|
module.exports = function(app, db, origins) {
|
5
5
|
const controller = controllerFactory(db);
|
6
|
-
|
7
|
-
app.use(function(req, res, next) {
|
8
|
-
|
9
|
-
const origin = req.headers.origin;
|
10
|
-
if (origins.includes(origin)) {
|
11
|
-
res.setHeader('Access-Control-Allow-Origin', origin);
|
12
|
-
}
|
13
|
-
|
14
|
-
res.header("Access-Control-Allow-Headers", "x-access-token, Origin, Content-Type, Accept");
|
15
|
-
|
16
|
-
next();
|
17
|
-
});
|
18
|
-
|
19
6
|
// Create a User
|
20
7
|
app.post("/api/users", controller.create);
|
21
8
|
|
@@ -18,11 +18,6 @@ module.exports = function(app, db, origins, publicPath) {
|
|
18
18
|
|
19
19
|
const { verifySignUp, verifyUser } = middlewareFactory(db);
|
20
20
|
|
21
|
-
app.use(function(req, res, next) {
|
22
|
-
res.header("Access-Control-Allow-Headers", "Access-Control-Allow-Origin: *", "x-access-token, Origin, Content-Type, Accept");
|
23
|
-
next();
|
24
|
-
});
|
25
|
-
|
26
21
|
|
27
22
|
observer.subscribe('checkout.session.completed', async (paymentIntent) => {
|
28
23
|
const event = await db.event.findOne({ _id: paymentIntent.metadata.product });
|