@ozdao/prometheus-framework 0.2.90 → 0.2.92

Sign up to get free protection for your applications and to get access to all the features.
Files changed (137) hide show
  1. package/dist/auth.server.js +1 -0
  2. package/dist/auth.server.mjs +1 -0
  3. package/dist/events.server.js +5 -3
  4. package/dist/events.server.mjs +5 -3
  5. package/dist/main-BQisDfLk.js +92 -0
  6. package/dist/main-DTlUA63C.mjs +13617 -0
  7. package/dist/main.css +1 -1
  8. package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -1
  9. package/dist/prometheus-framework/src/components/Block/Block.vue.js +1 -1
  10. package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
  11. package/dist/prometheus-framework/src/components/Button/Button.vue2.js +24 -32
  12. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.cjs +1 -1
  13. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +17 -16
  14. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  15. package/dist/prometheus-framework/src/components/Select/Select.vue.js +1 -103
  16. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  17. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +103 -1
  18. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs +1 -1
  19. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +1 -36
  20. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.cjs +1 -1
  21. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.js +36 -1
  22. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -1
  23. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +1 -45
  24. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
  25. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +45 -1
  26. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
  27. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +7 -6
  28. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
  29. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +28 -29
  30. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  31. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +64 -64
  32. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  33. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +37 -38
  34. package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
  35. package/dist/prometheus-framework/src/modules/auth/store/auth.js +35 -37
  36. package/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -1
  37. package/dist/prometheus-framework/src/modules/auth/store/twofa.js +3 -3
  38. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  39. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  40. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  41. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +10 -9
  42. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  43. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
  44. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -5
  45. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +0 -66
  46. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +5 -1
  47. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +66 -0
  48. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  49. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
  50. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
  51. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +14 -48
  52. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  53. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +1 -1
  54. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  55. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +85 -25
  56. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  57. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
  58. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  59. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +1 -1
  60. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  61. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +69 -57
  62. package/dist/prometheus-framework/src/modules/landing/components/sections/SectionFeatures.vue.cjs +1 -0
  63. package/dist/prometheus-framework/src/modules/landing/components/sections/SectionFeatures.vue.js +74 -0
  64. package/dist/prometheus-framework/src/modules/landing/landing.client.cjs +1 -1
  65. package/dist/prometheus-framework/src/modules/landing/landing.client.js +4 -2
  66. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  67. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +3 -2
  68. package/dist/prometheus-framework/src/modules/middlewares/client/inputs.validation.cjs +1 -1
  69. package/dist/prometheus-framework/src/modules/middlewares/client/inputs.validation.js +10 -13
  70. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  71. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +1 -1
  72. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  73. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
  74. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
  75. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
  76. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
  77. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  78. package/dist/prometheus-framework/src/modules/orders/router/orders.backoffice.router.cjs +1 -1
  79. package/dist/prometheus-framework/src/modules/orders/router/orders.backoffice.router.js +6 -8
  80. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
  81. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +1 -1
  82. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  83. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
  84. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
  85. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +1 -1
  86. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  87. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +1 -1
  88. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  89. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +1 -1
  90. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  91. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +3 -2
  92. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  93. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  94. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  95. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +4 -3
  96. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  97. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  98. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
  99. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +36 -25
  100. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  101. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
  102. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  103. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +1 -1
  104. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  105. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +7 -6
  106. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  107. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
  108. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  109. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +1 -1
  110. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  111. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +3 -2
  112. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  113. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +5 -4
  114. package/dist/prometheus-framework.cjs.js +1 -1
  115. package/dist/prometheus-framework.es.js +1 -1
  116. package/dist/style.css +1 -1
  117. package/dist/web-CXzcKdk4.mjs +54 -0
  118. package/dist/web-D9Cfcy5k.js +1 -0
  119. package/package.json +1 -1
  120. package/src/components/Button/Button.vue +5 -8
  121. package/src/components/FieldPhone/FieldPhone.vue +4 -0
  122. package/src/modules/auth/components/pages/ResetPassword.vue +1 -1
  123. package/src/modules/auth/components/pages/SignIn.vue +3 -3
  124. package/src/modules/auth/components/pages/SignUp.vue +1 -1
  125. package/src/modules/auth/controllers/auth.controller.js +1 -0
  126. package/src/modules/auth/store/auth.js +3 -5
  127. package/src/modules/auth/store/twofa.js +1 -1
  128. package/src/modules/events/components/layouts/layoutEvents.vue +2 -59
  129. package/src/modules/events/components/pages/Events.vue +106 -23
  130. package/src/modules/events/controllers/events.controller.js +6 -3
  131. package/src/modules/globals/components/blocks/CardHeader.vue +29 -4
  132. package/src/modules/landing/landing.client.js +3 -1
  133. package/src/modules/middlewares/client/inputs.validation.js +0 -13
  134. package/src/modules/orders/components/sections/SubscribeNewsletter.vue +2 -2
  135. package/src/modules/orders/router/orders.backoffice.router.js +2 -4
  136. package/src/modules/products/components/blocks/CardProduct.vue +31 -20
  137. package/src/modules/products/components/sections/HeroRecommendation.vue +1 -1
@@ -75,6 +75,7 @@ const controllerFactory$3 = (db) => {
75
75
  if (type === "email" || type === "phone") {
76
76
  const passwordIsValid = bcrypt.compareSync(req.body.password, user.password);
77
77
  if (!passwordIsValid) {
78
+ console.log("req obdy is", req.body);
78
79
  return res.status(401).send({ errorCode: "INCORRECT_PASSWORD_ENTERED", accessToken: null });
79
80
  }
80
81
  }
@@ -74,6 +74,7 @@ const controllerFactory$3 = (db) => {
74
74
  if (type === "email" || type === "phone") {
75
75
  const passwordIsValid = bcrypt.compareSync(req.body.password, user.password);
76
76
  if (!passwordIsValid) {
77
+ console.log("req obdy is", req.body);
77
78
  return res.status(401).send({ errorCode: "INCORRECT_PASSWORD_ENTERED", accessToken: null });
78
79
  }
79
80
  }
@@ -527,9 +527,11 @@ const middlewareFactory = (db) => {
527
527
  });
528
528
  }
529
529
  event = req.body;
530
- const { product, price, paymentLink } = await serviceStripe.updateProduct(event);
531
- if (paymentLink) {
532
- event.specialData.ticketLinkStripe = paymentLink.url;
530
+ if (event.special) {
531
+ const { product, price, paymentLink } = await serviceStripe.updateProduct(event);
532
+ if (paymentLink) {
533
+ event.specialData.ticketLinkStripe = paymentLink.url;
534
+ }
533
535
  }
534
536
  await Event.updateOne({ _id: event._id }, { $set: event });
535
537
  res.status(200).send(event);
@@ -525,9 +525,11 @@ const middlewareFactory = (db) => {
525
525
  });
526
526
  }
527
527
  event = req.body;
528
- const { product, price, paymentLink } = await serviceStripe.updateProduct(event);
529
- if (paymentLink) {
530
- event.specialData.ticketLinkStripe = paymentLink.url;
528
+ if (event.special) {
529
+ const { product, price, paymentLink } = await serviceStripe.updateProduct(event);
530
+ if (paymentLink) {
531
+ event.specialData.ticketLinkStripe = paymentLink.url;
532
+ }
531
533
  }
532
534
  await Event.updateOne({ _id: event._id }, { $set: event });
533
535
  res.status(200).send(event);