@ozdao/prometheus-framework 0.2.221 → 0.2.222

Sign up to get free protection for your applications and to get access to all the features.
Files changed (159) hide show
  1. package/dist/builder.js +7 -4
  2. package/dist/builder.mjs +7 -4
  3. package/dist/community.server.js +1 -1
  4. package/dist/community.server.mjs +1 -1
  5. package/dist/main.css +1 -1
  6. package/dist/organizations.server.js +39 -2
  7. package/dist/organizations.server.mjs +39 -2
  8. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
  9. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +1 -1
  10. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs +2 -2
  11. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +2 -2
  12. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.cjs +1 -1
  13. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.js +1 -1
  14. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +2 -2
  15. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +2 -2
  16. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +2 -2
  17. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +2 -2
  18. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +2 -2
  19. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +2 -2
  20. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +2 -2
  21. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +2 -2
  22. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +2 -2
  23. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +2 -2
  24. package/dist/prometheus-framework/src/modules/auth/views/middlewares/ownership.validation.cjs +33 -0
  25. package/dist/prometheus-framework/src/modules/auth/views/middlewares/ownership.validation.cjs.map +1 -0
  26. package/dist/prometheus-framework/src/modules/auth/views/middlewares/ownership.validation.js +33 -0
  27. package/dist/prometheus-framework/src/modules/auth/views/middlewares/ownership.validation.js.map +1 -0
  28. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +3 -1
  29. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs.map +1 -1
  30. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +3 -1
  31. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js.map +1 -1
  32. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +8 -7
  33. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs.map +1 -1
  34. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +9 -8
  35. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js.map +1 -1
  36. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +10 -12
  37. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs.map +1 -1
  38. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +10 -12
  39. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js.map +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 +1 -1
  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/community/components/sections/HotPosts.vue.cjs +2 -2
  45. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +2 -2
  46. package/dist/prometheus-framework/src/modules/community/router/blogposts.cjs +11 -4
  47. package/dist/prometheus-framework/src/modules/community/router/blogposts.cjs.map +1 -1
  48. package/dist/prometheus-framework/src/modules/community/router/blogposts.js +11 -4
  49. package/dist/prometheus-framework/src/modules/community/router/blogposts.js.map +1 -1
  50. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
  51. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -1
  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/EditEventTickets.vue.cjs +1 -1
  55. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
  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/globals/views/components/blocks/BlockFilter.vue.cjs +1 -1
  59. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockFilter.vue.js +1 -1
  60. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.cjs +1 -1
  61. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.js +1 -1
  62. package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.cjs +1 -1
  63. package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.js +1 -1
  64. package/dist/prometheus-framework/src/modules/landing/components/sections/SectionGuide.vue.cjs +1 -1
  65. package/dist/prometheus-framework/src/modules/landing/components/sections/SectionGuide.vue.js +1 -1
  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 +1 -1
  68. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  69. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
  70. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +2 -2
  71. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
  72. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  73. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +1 -1
  74. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  75. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
  76. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
  77. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
  78. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  79. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +1 -1
  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/pages/Department.vue.cjs +1 -1
  83. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +1 -1
  84. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +2 -2
  85. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  86. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  87. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +1 -1
  88. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  89. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
  90. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +2 -2
  91. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  92. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  93. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
  94. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  95. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  96. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  97. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  98. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +2 -2
  99. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
  100. package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +759 -759
  101. package/dist/prometheus-framework/src/modules/pages/pages.client.js +759 -759
  102. package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.cjs +1 -1
  103. package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.js +1 -1
  104. package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.cjs +1 -1
  105. package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
  106. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  107. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  108. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
  109. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
  110. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
  111. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +1 -1
  112. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  113. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
  114. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  115. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +1 -1
  116. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  117. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
  118. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +2 -2
  119. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +2 -2
  120. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +3 -3
  121. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +3 -3
  122. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -1
  123. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +1 -1
  124. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  125. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
  126. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  127. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
  128. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
  129. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
  130. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +2 -2
  131. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +2 -2
  132. package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.cjs +1 -1
  133. package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.js +1 -1
  134. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +2 -2
  135. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +2 -2
  136. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  137. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +1 -1
  138. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  139. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
  140. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +2 -2
  141. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +2 -2
  142. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
  143. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
  144. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs +1 -1
  145. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +1 -1
  146. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
  147. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +1 -1
  148. package/package.json +1 -1
  149. package/src/builder/webpack/webpack.config.client.js +7 -4
  150. package/src/modules/auth/views/middlewares/ownership.validation.js +45 -0
  151. package/src/modules/community/components/blocks/CardBlogpost.vue +3 -1
  152. package/src/modules/community/components/layouts/Community.vue +5 -7
  153. package/src/modules/community/components/pages/BlogPost.vue +7 -10
  154. package/src/modules/community/models/blogpost.model.js +1 -1
  155. package/src/modules/community/router/blogposts.js +10 -2
  156. package/src/modules/organizations/controllers/organizations.controller.js +26 -34
  157. package/src/modules/organizations/models/department.model.js +14 -0
  158. package/src/styles/base/all.scss +0 -2
  159. package/src/styles/config.scss +6 -0
package/dist/builder.js CHANGED
@@ -613,10 +613,13 @@ var webpack_config_client = (projectRoot) => {
613
613
  plugins: [
614
614
  // ...(!isProd ? [new webpack.HotModuleReplacementPlugin()] : []),
615
615
  new StatsWriterPlugin$1(),
616
- new WorkboxPlugin.GenerateSW({
617
- clientsClaim: true,
618
- skipWaiting: true
619
- }),
616
+ ...!isProd2 ? [
617
+ new WorkboxPlugin.GenerateSW({
618
+ clientsClaim: true,
619
+ skipWaiting: true,
620
+ disableDevLogs: true
621
+ })
622
+ ] : [],
620
623
  new PurgeCSSPlugin({
621
624
  paths: glob.sync([
622
625
  path$3.join(projectRoot, "src/**/*.vue"),
package/dist/builder.mjs CHANGED
@@ -590,10 +590,13 @@ var webpack_config_client = (projectRoot) => {
590
590
  plugins: [
591
591
  // ...(!isProd ? [new webpack.HotModuleReplacementPlugin()] : []),
592
592
  new StatsWriterPlugin$1(),
593
- new WorkboxPlugin.GenerateSW({
594
- clientsClaim: true,
595
- skipWaiting: true
596
- }),
593
+ ...!isProd2 ? [
594
+ new WorkboxPlugin.GenerateSW({
595
+ clientsClaim: true,
596
+ skipWaiting: true,
597
+ disableDevLogs: true
598
+ })
599
+ ] : [],
597
600
  new PurgeCSSPlugin({
598
601
  paths: glob.sync([
599
602
  path$3.join(projectRoot, "src/**/*.vue"),
@@ -743,7 +743,7 @@ var blogpost_model = (db) => {
743
743
  default: Date.now
744
744
  }
745
745
  }, {
746
- strict: false
746
+ strict: true
747
747
  });
748
748
  applyCommonSchema(BlogpostSchema);
749
749
  applyEngagementSchema(BlogpostSchema);
@@ -742,7 +742,7 @@ var blogpost_model = (db) => {
742
742
  default: Date.now
743
743
  }
744
744
  }, {
745
- strict: false
745
+ strict: true
746
746
  });
747
747
  applyCommonSchema(BlogpostSchema);
748
748
  applyEngagementSchema(BlogpostSchema);