@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.
Files changed (118) hide show
  1. package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -1
  2. package/dist/prometheus-framework/src/components/Block/Block.vue.js +1 -1
  3. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  4. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +73 -1
  5. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
  6. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +1 -73
  7. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  8. package/dist/prometheus-framework/src/components/Select/Select.vue.js +103 -1
  9. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  10. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +1 -103
  11. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -1
  12. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +1 -45
  13. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
  14. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +45 -1
  15. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  16. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  17. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  18. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  19. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  20. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +1 -1
  21. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  22. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
  23. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +5 -1
  24. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +66 -0
  25. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -5
  26. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +0 -66
  27. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  28. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
  29. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  30. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
  31. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
  32. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
  33. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  34. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +2 -2
  35. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  36. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
  37. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  38. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
  39. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  40. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +1 -1
  41. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  42. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
  43. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  44. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
  45. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
  46. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +13 -1
  47. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
  48. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +1 -13
  49. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  50. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
  51. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  52. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
  53. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
  54. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
  55. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
  56. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  57. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  58. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
  59. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  60. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  61. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  62. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +2 -2
  63. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  64. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
  65. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  66. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  67. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  68. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  69. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  70. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  71. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  72. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
  73. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  74. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  75. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  76. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  77. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  78. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
  79. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  80. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
  81. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  82. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
  83. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  84. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
  85. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  86. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  87. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  88. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +1 -1
  89. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  90. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +3 -3
  91. package/dist/style.css +1 -1
  92. package/package.json +2 -2
  93. package/src/modules/auth/routes/auth.routes.js +1 -14
  94. package/src/modules/auth/routes/twofa.routes.js +0 -9
  95. package/src/modules/community/routes/blog.routes.js +0 -13
  96. package/src/modules/community/routes/comments.routes.js +0 -9
  97. package/src/modules/community/routes/reactions.routes.js +0 -9
  98. package/src/modules/events/routes/events.routes.js +0 -13
  99. package/src/modules/events/routes/tickets.routes.js +0 -12
  100. package/src/modules/files/routes/files.routes.js +0 -13
  101. package/src/modules/gallery/routes/gallery.routes.js +0 -13
  102. package/src/modules/orders/routes/applications.routes.js +0 -13
  103. package/src/modules/orders/routes/backcalls.routes.js +0 -5
  104. package/src/modules/orders/routes/fastorders.routes.js +0 -4
  105. package/src/modules/orders/routes/testimonials.routes.js +0 -8
  106. package/src/modules/organizations/routes/departments.routes.js +1 -11
  107. package/src/modules/organizations/routes/invites.routes.js +0 -8
  108. package/src/modules/organizations/routes/memberships.routes.js +0 -8
  109. package/src/modules/organizations/routes/organizations.routes.js +0 -13
  110. package/src/modules/pages/routes/pages.routes.js +0 -5
  111. package/src/modules/products/routes/categories.routes.js +0 -9
  112. package/src/modules/products/routes/leftovers.routes.js +0 -5
  113. package/src/modules/products/routes/products.routes.js +0 -8
  114. package/src/modules/projects/routes/projects.routes.js +0 -8
  115. package/src/modules/reports/routes/reports.routes.js +0 -13
  116. package/src/modules/spots/routes/spots.routes.js +0 -9
  117. package/src/modules/users/routes/users.routes.js +0 -13
  118. 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 });