@ozdao/prometheus-framework 0.2.47 → 0.2.50

Sign up to get free protection for your applications and to get access to all the features.
Files changed (492) hide show
  1. package/dist/auth.server.js +27 -25
  2. package/dist/auth.server.mjs +27 -25
  3. package/dist/community.server.js +1 -1
  4. package/dist/community.server.mjs +1 -1
  5. package/dist/events.server.js +1 -1
  6. package/dist/events.server.mjs +1 -1
  7. package/dist/files.server.js +1 -1
  8. package/dist/files.server.mjs +1 -1
  9. package/dist/gallery.server.js +1 -1
  10. package/dist/gallery.server.mjs +1 -1
  11. package/dist/index-3981e903.mjs +217 -0
  12. package/dist/index-4eecfdb9.js +216 -0
  13. package/dist/main-203b36b6.mjs +13628 -0
  14. package/dist/main-610fd21a.mjs +13628 -0
  15. package/dist/main-669fac33.js +91 -0
  16. package/dist/main-_b1_i8mt.mjs +13606 -0
  17. package/dist/main-a7ae4ce5.js +91 -0
  18. package/dist/main-uiQFxEks.js +91 -0
  19. package/dist/main.css +1 -1
  20. package/dist/middlewares.server.js +1 -1
  21. package/dist/middlewares.server.mjs +1 -1
  22. package/dist/node_modules/@noble/hashes/esm/_assert.cjs +1 -1
  23. package/dist/node_modules/@noble/hashes/esm/_assert.js +6 -6
  24. package/dist/node_modules/@noble/hashes/esm/_u64.cjs +1 -1
  25. package/dist/node_modules/@noble/hashes/esm/_u64.js +8 -8
  26. package/dist/node_modules/@noble/hashes/esm/sha512.cjs +1 -1
  27. package/dist/node_modules/@noble/hashes/esm/sha512.js +2 -2
  28. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.js +1 -1
  29. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.cjs +1 -1
  30. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.js +2 -2
  31. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/utils.cjs +1 -1
  32. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/utils.js +3 -3
  33. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.cjs +1 -1
  34. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.js +6 -6
  35. package/dist/node_modules/ethereum-cryptography/esm/utils.cjs +1 -1
  36. package/dist/node_modules/ethereum-cryptography/esm/utils.js +4 -3
  37. package/dist/node_modules/vue-select/dist/vue-select.es.cjs +1 -3
  38. package/dist/node_modules/vue-select/dist/vue-select.es.js +49 -645
  39. package/dist/node_modules/vue3-carousel/dist/carousel.css.cjs +1 -1
  40. package/dist/node_modules/vue3-carousel/dist/carousel.css.js +4 -1
  41. package/dist/node_modules/web3/lib/esm/accounts.cjs +1 -1
  42. package/dist/node_modules/web3/lib/esm/accounts.js +36 -36
  43. package/dist/node_modules/web3-core/lib/esm/web3_batch_request.cjs +1 -1
  44. package/dist/node_modules/web3-core/lib/esm/web3_batch_request.js +27 -27
  45. package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +1 -1
  46. package/dist/node_modules/web3-core/lib/esm/web3_context.js +24 -24
  47. package/dist/node_modules/web3-core/lib/esm/web3_promi_event.cjs +1 -1
  48. package/dist/node_modules/web3-core/lib/esm/web3_promi_event.js +33 -33
  49. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +1 -1
  50. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +10 -10
  51. package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.cjs +1 -1
  52. package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.js +1 -1
  53. package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.cjs +1 -1
  54. package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.js +13 -13
  55. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +1 -1
  56. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +110 -110
  57. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +1 -1
  58. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +26 -26
  59. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.cjs +1 -1
  60. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.js +14 -14
  61. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.cjs +1 -1
  62. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.js +36 -36
  63. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs +1 -1
  64. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.js +20 -20
  65. package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.cjs +1 -1
  66. package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.js +23 -23
  67. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +1 -1
  68. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +17 -17
  69. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs +1 -1
  70. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.js +11 -11
  71. package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.cjs +1 -1
  72. package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.js +24 -24
  73. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs +1 -1
  74. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.js +25 -25
  75. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +1 -1
  76. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +19 -19
  77. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +1 -1
  78. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +39 -39
  79. package/dist/node_modules/web3-eth/lib/esm/web3_eth.cjs +1 -1
  80. package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +7 -7
  81. package/dist/node_modules/web3-eth-accounts/lib/esm/account.cjs +2 -2
  82. package/dist/node_modules/web3-eth-accounts/lib/esm/account.js +28 -28
  83. package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.cjs +1 -1
  84. package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.js +3 -3
  85. package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +1 -1
  86. package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +8 -8
  87. package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +1 -1
  88. package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +15 -15
  89. package/dist/node_modules/web3-eth-ens/lib/esm/registry.cjs +1 -1
  90. package/dist/node_modules/web3-eth-ens/lib/esm/registry.js +16 -16
  91. package/dist/node_modules/web3-eth-ens/lib/esm/resolver.cjs +1 -1
  92. package/dist/node_modules/web3-eth-ens/lib/esm/resolver.js +26 -26
  93. package/dist/node_modules/web3-eth-iban/lib/esm/iban.cjs +1 -1
  94. package/dist/node_modules/web3-eth-iban/lib/esm/iban.js +2 -2
  95. package/dist/node_modules/web3-eth-personal/lib/esm/personal.cjs +1 -1
  96. package/dist/node_modules/web3-eth-personal/lib/esm/personal.js +19 -19
  97. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.cjs +1 -1
  98. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.js +35 -35
  99. package/dist/node_modules/web3-net/lib/esm/net.cjs +1 -1
  100. package/dist/node_modules/web3-net/lib/esm/net.js +25 -25
  101. package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.cjs +1 -1
  102. package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.js +25 -25
  103. package/dist/node_modules/web3-providers-http/lib/esm/index.cjs +1 -1
  104. package/dist/node_modules/web3-providers-http/lib/esm/index.js +33 -33
  105. package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.cjs +1 -1
  106. package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.js +5 -5
  107. package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.cjs +1 -1
  108. package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.js +19 -19
  109. package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.cjs +1 -1
  110. package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.js +27 -27
  111. package/dist/node_modules/web3-types/lib/esm/web3_base_provider.cjs +1 -1
  112. package/dist/node_modules/web3-types/lib/esm/web3_base_provider.js +25 -25
  113. package/dist/node_modules/web3-utils/lib/esm/event_emitter.cjs +1 -1
  114. package/dist/node_modules/web3-utils/lib/esm/event_emitter.js +15 -15
  115. package/dist/node_modules/web3-utils/lib/esm/promise_helpers.cjs +1 -1
  116. package/dist/node_modules/web3-utils/lib/esm/promise_helpers.js +19 -19
  117. package/dist/node_modules/web3-utils/lib/esm/socket_provider.cjs +1 -1
  118. package/dist/node_modules/web3-utils/lib/esm/socket_provider.js +17 -17
  119. package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.cjs +1 -1
  120. package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.js +5 -5
  121. package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.cjs +1 -1
  122. package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.js +5 -5
  123. package/dist/organizations.server.js +13 -27
  124. package/dist/organizations.server.mjs +13 -27
  125. package/dist/products.server.js +95 -15
  126. package/dist/products.server.mjs +95 -15
  127. package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +1 -1
  128. package/dist/prometheus-framework/src/components/Address/Address.vue.js +4 -1
  129. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.cjs +1 -1
  130. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.js +4 -1
  131. package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
  132. package/dist/prometheus-framework/src/components/Button/Button.vue.js +4 -1
  133. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.cjs +1 -1
  134. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.js +4 -1
  135. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +1 -1
  136. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +4 -1
  137. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
  138. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +4 -1
  139. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.cjs +1 -1
  140. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.js +4 -1
  141. package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
  142. package/dist/prometheus-framework/src/components/Field/Field.vue.js +4 -1
  143. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.cjs +1 -1
  144. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +1 -1
  145. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.cjs +1 -1
  146. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.js +4 -1
  147. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.cjs +1 -1
  148. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.js +1 -1
  149. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.cjs +1 -1
  150. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.js +4 -1
  151. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.cjs +1 -1
  152. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.js +4 -1
  153. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.cjs +1 -1
  154. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.js +4 -1
  155. package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.cjs +1 -1
  156. package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.js +4 -1
  157. package/dist/prometheus-framework/src/components/Loader/Loader.vue.cjs +1 -1
  158. package/dist/prometheus-framework/src/components/Loader/Loader.vue.js +4 -1
  159. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -1
  160. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +4 -1
  161. package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.cjs +1 -1
  162. package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.js +4 -1
  163. package/dist/prometheus-framework/src/components/Map/Map.vue.cjs +1 -1
  164. package/dist/prometheus-framework/src/components/Map/Map.vue.js +4 -1
  165. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  166. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +2 -70
  167. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
  168. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +72 -1
  169. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  170. package/dist/prometheus-framework/src/components/Select/Select.vue.js +2 -95
  171. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  172. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +97 -1
  173. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.cjs +1 -1
  174. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.js +6 -6
  175. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.cjs +1 -1
  176. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.js +4 -1
  177. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs +1 -1
  178. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +4 -1
  179. package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +1 -1
  180. package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +4 -1
  181. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
  182. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +4 -1
  183. package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
  184. package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +1 -1
  185. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +1 -1
  186. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +4 -1
  187. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
  188. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +1 -1
  189. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
  190. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
  191. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.cjs +1 -1
  192. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.js +4 -1
  193. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  194. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +42 -30
  195. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.cjs +1 -1
  196. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.js +4 -1
  197. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.cjs +1 -1
  198. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.js +4 -1
  199. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.cjs +1 -1
  200. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.js +4 -1
  201. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.cjs +1 -1
  202. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.js +4 -1
  203. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.cjs +1 -1
  204. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.js +4 -1
  205. package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
  206. package/dist/prometheus-framework/src/modules/auth/store/auth.js +47 -46
  207. package/dist/prometheus-framework/src/modules/auth/store/invites.cjs +1 -1
  208. package/dist/prometheus-framework/src/modules/auth/store/invites.js +5 -5
  209. package/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -1
  210. package/dist/prometheus-framework/src/modules/auth/store/twofa.js +1 -1
  211. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue2.cjs +1 -1
  212. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue2.js +4 -1
  213. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  214. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  215. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  216. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  217. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.cjs +1 -1
  218. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.js +4 -1
  219. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  220. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
  221. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
  222. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +1 -1
  223. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.cjs +1 -1
  224. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.js +4 -1
  225. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.cjs +1 -1
  226. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.js +4 -1
  227. package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -1
  228. package/dist/prometheus-framework/src/modules/community/store/blogposts.js +1 -1
  229. package/dist/prometheus-framework/src/modules/community/store/reactions.cjs +1 -1
  230. package/dist/prometheus-framework/src/modules/community/store/reactions.js +1 -1
  231. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.cjs +1 -1
  232. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.js +4 -1
  233. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
  234. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +1 -1
  235. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -5
  236. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +2 -65
  237. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +5 -1
  238. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +66 -0
  239. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  240. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
  241. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.cjs +1 -1
  242. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.js +4 -1
  243. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
  244. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
  245. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  246. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +4 -4
  247. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.cjs +1 -1
  248. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.js +4 -1
  249. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  250. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +2 -2
  251. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.cjs +1 -1
  252. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.js +4 -1
  253. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.cjs +1 -1
  254. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.js +4 -1
  255. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.cjs +1 -1
  256. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.js +4 -1
  257. package/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -1
  258. package/dist/prometheus-framework/src/modules/events/store/events.js +1 -1
  259. package/dist/prometheus-framework/src/modules/events/store/tickets.cjs +1 -1
  260. package/dist/prometheus-framework/src/modules/events/store/tickets.js +1 -1
  261. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  262. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
  263. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.cjs +1 -1
  264. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.js +4 -1
  265. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  266. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +1 -1
  267. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.cjs +1 -1
  268. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.js +4 -1
  269. package/dist/prometheus-framework/src/modules/gallery/store/gallery.cjs +1 -1
  270. package/dist/prometheus-framework/src/modules/gallery/store/gallery.js +1 -1
  271. package/dist/prometheus-framework/src/modules/globals/store/globals.cjs +1 -1
  272. package/dist/prometheus-framework/src/modules/globals/store/globals.js +22 -21
  273. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.cjs +1 -1
  274. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.js +4 -1
  275. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  276. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
  277. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue2.cjs +1 -1
  278. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue2.js +4 -1
  279. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
  280. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +1 -1
  281. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
  282. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +13 -1
  283. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
  284. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +2 -11
  285. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -1
  286. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +4 -1
  287. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue2.cjs +1 -1
  288. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue2.js +4 -1
  289. package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.cjs +1 -1
  290. package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.js +1 -1
  291. package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
  292. package/dist/prometheus-framework/src/modules/orders/store/orders.js +1 -1
  293. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
  294. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +17 -17
  295. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.cjs +1 -1
  296. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.js +4 -1
  297. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  298. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  299. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  300. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +50 -43
  301. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.cjs +1 -1
  302. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.js +4 -1
  303. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.cjs +1 -1
  304. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.js +4 -1
  305. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.cjs +1 -1
  306. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.js +4 -1
  307. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue.cjs +1 -1
  308. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue.js +47 -15
  309. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.cjs +1 -1
  310. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.js +4 -1
  311. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
  312. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +38 -37
  313. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  314. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +249 -61
  315. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue2.cjs +1 -1
  316. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue2.js +4 -1
  317. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  318. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +78 -45
  319. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  320. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +161 -86
  321. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.cjs +1 -1
  322. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.js +4 -1
  323. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  324. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  325. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  326. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  327. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.cjs +1 -1
  328. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.js +4 -1
  329. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.cjs +1 -1
  330. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.js +1 -1
  331. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  332. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +52 -54
  333. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.cjs +1 -1
  334. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.js +1 -1
  335. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  336. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +19 -25
  337. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.cjs +1 -1
  338. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.js +4 -1
  339. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.cjs +1 -1
  340. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.js +4 -1
  341. package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.cjs +1 -1
  342. package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.js +4 -1
  343. package/dist/prometheus-framework/src/modules/organizations/organizations.client.cjs +1 -1
  344. package/dist/prometheus-framework/src/modules/organizations/organizations.client.js +40 -46
  345. package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
  346. package/dist/prometheus-framework/src/modules/organizations/store/departments.js +35 -31
  347. package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
  348. package/dist/prometheus-framework/src/modules/organizations/store/invites.js +1 -1
  349. package/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -1
  350. package/dist/prometheus-framework/src/modules/organizations/store/memberships.js +30 -28
  351. package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
  352. package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +1 -1
  353. package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue2.cjs +1 -1
  354. package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue2.js +4 -1
  355. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.cjs +1 -1
  356. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.js +4 -1
  357. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  358. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +17 -17
  359. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
  360. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +50 -47
  361. package/dist/prometheus-framework/src/modules/products/components/blocks/CategoryCard.vue2.cjs +1 -1
  362. package/dist/prometheus-framework/src/modules/products/components/blocks/CategoryCard.vue2.js +4 -1
  363. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.cjs +1 -1
  364. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.js +4 -1
  365. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  366. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  367. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.cjs +1 -1
  368. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.js +4 -1
  369. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.cjs +1 -1
  370. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.js +4 -1
  371. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.cjs +1 -1
  372. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.js +4 -1
  373. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.cjs +1 -1
  374. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.js +4 -1
  375. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.cjs +1 -1
  376. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.js +4 -1
  377. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  378. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +1 -1
  379. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.cjs +1 -1
  380. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.js +4 -1
  381. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.cjs +1 -1
  382. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.js +4 -1
  383. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
  384. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +33 -28
  385. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.cjs +1 -1
  386. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.js +4 -1
  387. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  388. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +123 -113
  389. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.cjs +1 -1
  390. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.js +4 -1
  391. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.cjs +1 -1
  392. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.js +4 -1
  393. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  394. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
  395. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.cjs +1 -1
  396. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.js +4 -1
  397. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.cjs +1 -1
  398. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.js +4 -1
  399. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.cjs +1 -1
  400. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.js +4 -1
  401. package/dist/prometheus-framework/src/modules/products/store/categories.cjs +1 -1
  402. package/dist/prometheus-framework/src/modules/products/store/categories.js +1 -1
  403. package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs +1 -1
  404. package/dist/prometheus-framework/src/modules/products/store/leftovers.js +1 -1
  405. package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
  406. package/dist/prometheus-framework/src/modules/products/store/products.js +2 -2
  407. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  408. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  409. package/dist/prometheus-framework/src/modules/reports/store/reports.cjs +1 -1
  410. package/dist/prometheus-framework/src/modules/reports/store/reports.js +1 -1
  411. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.cjs +1 -1
  412. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.js +4 -1
  413. package/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -1
  414. package/dist/prometheus-framework/src/modules/spots/store/spots.js +1 -1
  415. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  416. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +1 -1
  417. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue2.cjs +1 -1
  418. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue2.js +4 -1
  419. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue2.cjs +1 -1
  420. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue2.js +4 -1
  421. package/dist/prometheus-framework/src/modules/users/store/users.cjs +1 -1
  422. package/dist/prometheus-framework/src/modules/users/store/users.js +1 -1
  423. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
  424. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +2 -2
  425. package/dist/prometheus-framework/src/modules/wallet/store/wallet.cjs +1 -1
  426. package/dist/prometheus-framework/src/modules/wallet/store/wallet.js +2 -2
  427. package/dist/prometheus-framework.cjs.js +1 -1
  428. package/dist/prometheus-framework.es.js +1 -1
  429. package/dist/reports.server.js +1 -1
  430. package/dist/reports.server.mjs +1 -1
  431. package/dist/style.css +1 -1
  432. package/dist/web-0410cac1.js +1 -0
  433. package/dist/web-7p76PGnO.mjs +55 -0
  434. package/dist/web-c1619455.mjs +55 -0
  435. package/dist/web-c63f0ecc.js +1 -0
  436. package/dist/web-d8173758.mjs +55 -0
  437. package/dist/web-dn8vgptQ.js +1 -0
  438. package/package.json +1 -1
  439. package/src/components/SelectMulti/SelectMulti.vue +1 -1
  440. package/src/modules/auth/components/pages/Invite.vue +17 -6
  441. package/src/modules/auth/controllers/auth.controller.js +24 -16
  442. package/src/modules/auth/controllers/invites.controller.js +17 -8
  443. package/src/modules/auth/store/auth.js +8 -1
  444. package/src/modules/auth/store/invites.js +1 -0
  445. package/src/modules/globals/store/globals.js +5 -1
  446. package/src/modules/landing/components/blocks/MapBlock.vue +37 -0
  447. package/src/modules/landing/components/pages/404.vue +3 -0
  448. package/src/modules/landing/components/pages/Governance.vue +155 -0
  449. package/src/modules/landing/components/pages/Home.vue +52 -0
  450. package/src/modules/landing/components/pages/Hotel.vue +54 -0
  451. package/src/modules/landing/components/pages/Page.vue +184 -0
  452. package/src/modules/landing/components/sections/AboutSection.vue +69 -0
  453. package/src/modules/landing/components/sections/Examples.vue +90 -0
  454. package/src/modules/landing/components/sections/FeatureSection.vue +80 -0
  455. package/src/modules/landing/components/sections/GiftSection.vue +63 -0
  456. package/src/modules/landing/components/sections/HeroSection.vue +74 -0
  457. package/src/modules/landing/components/sections/HowItWorksSection.vue +88 -0
  458. package/src/modules/landing/components/sections/HowToBuyWDR.vue +131 -0
  459. package/src/modules/landing/components/sections/InstagramSection.vue +181 -0
  460. package/src/modules/landing/components/sections/MapSection.vue +91 -0
  461. package/src/modules/landing/components/sections/SectionsSection.vue +69 -0
  462. package/src/modules/landing/components/sections/SliderFeatures.vue +131 -0
  463. package/src/modules/landing/components/sections/WhatIsWDRSection.vue +116 -0
  464. package/src/modules/landing/router/landing.js +34 -0
  465. package/src/modules/middlewares/server/verifySignUp.js +4 -0
  466. package/src/modules/organizations/components/blocks/CardDepartment.vue +3 -3
  467. package/src/modules/organizations/components/blocks/DepartmentMemberModify.vue +52 -44
  468. package/src/modules/organizations/components/blocks/User.vue +42 -10
  469. package/src/modules/organizations/components/pages/Department.vue +7 -6
  470. package/src/modules/organizations/components/pages/DepartmentEdit.vue +110 -134
  471. package/src/modules/organizations/components/pages/Members.vue +85 -26
  472. package/src/modules/organizations/components/pages/Organization.vue +60 -4
  473. package/src/modules/organizations/components/sections/MembersAdd.vue +27 -34
  474. package/src/modules/organizations/components/sections/Organizations.vue +0 -1
  475. package/src/modules/organizations/controllers/memberships.controller.js +6 -2
  476. package/src/modules/organizations/controllers/organizations.controller.js +1 -1
  477. package/src/modules/organizations/models/department.model.js +0 -19
  478. package/src/modules/organizations/models/membership.model.js +4 -0
  479. package/src/modules/organizations/organizations.client.js +1 -6
  480. package/src/modules/organizations/store/departments.js +48 -44
  481. package/src/modules/organizations/store/memberships.js +11 -3
  482. package/src/modules/products/components/blocks/CardPosition.vue +2 -2
  483. package/src/modules/products/components/blocks/CardProduct.vue +1 -1
  484. package/src/modules/products/components/pages/Product.vue +6 -1
  485. package/src/modules/products/components/pages/ProductEdit.vue +48 -28
  486. package/src/modules/products/controllers/products.controller.js +87 -24
  487. package/src/modules/products/models/product.model.js +16 -1
  488. package/src/modules/products/store/products.js +1 -1
  489. package/src/modules/users/components/pages/ProfileOrganizations.vue +41 -7
  490. package/src/modules/organizations/components/sections/FeedDepartments.vue +0 -64
  491. package/src/modules/organizations/components/sections/MembersList.vue +0 -85
  492. package/src/modules/organizations/store/invites.js +0 -93
@@ -1,67 +1,126 @@
1
1
  <template>
2
2
  <transition name="slide-fade">
3
- <div>
4
- <section class="mn-b-medium radius-medium pd-semi bg-white">
5
- <h2 class="mn-b-regular">Участники</h2>
6
- <p class="t-transp p-big">Добавляйте новых участников организации и настраивайте права доступа.</p>
3
+ <div class="pd-thin">
4
+ <section class="mn-b-medium radius-medium pd-semi bg-grey">
5
+ <h2 class="mn-b-regular">Members</h2>
6
+ <p class="t-transp p-big">Add new memberships to the group and configure access rights.</p>
7
7
  </section>
8
-
9
- <FeedDepartments
10
- :organization="organization.state.current"
11
- :memberships="members.state.memberships"
12
- />
13
-
8
+
14
9
  <MembersAdd
15
10
  :organization="organizationData"
16
11
  @send-invite="handleSendInvite"
17
12
  />
18
13
 
19
- <MembersList
20
- :organization="organization"
21
- :memberships="memberships"
22
- :invites="invites.state.invites"
23
- @removeInvite="removeInvite"
24
- @removeMember="removeMember"
14
+ <Tab
15
+ v-model:selected="tabMemberships"
16
+ class="mn-b-medium bg-grey radius-small"
17
+ :tabs="[
18
+ { name: 'Members', value: 'members' },
19
+ { name: 'Invites', value: 'invites' },
20
+ ]"
25
21
  />
22
+
23
+ <section class="mn-b-big radius-medium bg-white">
24
+ <!-- Members -->
25
+ <div
26
+ v-if="tabMemberships === 'members'"
27
+ class="cols-1 gap-thin"
28
+ >
29
+ <User
30
+ v-for="(member, index) in memberships.state.memberships"
31
+ :key="index"
32
+ :user="member"
33
+ @click="$router.push(`/app/profile/${member._id}`)"
34
+ class="bg-grey radius-small flex-nowrap flex pd-medium"
35
+
36
+ />
37
+ </div>
38
+ <!-- Invites -->
39
+ <div
40
+ v-if="tabMemberships === 'invites'"
41
+ >
42
+ <span v-if="invites.length < 1">В организации нет приглашений</span>
43
+ <div
44
+ v-for="(invite, index) in invites.state.invites"
45
+ class="br-grey br-1px br-solid radius-small mn-b-thin flex-nowrap flex-v-center flex pd-medium"
46
+ >
47
+
48
+ <span class="w-100 mn-r-small">{{invite.invitedEmail}} {{invite.invitedPhone}}</span>
49
+ <span class="t-transp">{{invite.status}}</span>
50
+
51
+ <div class="mn-l-medium flex-v-center flex">
52
+ <button @click="removeInvite(index,invite)" class="button-small button">×</button>
53
+ </div>
54
+
55
+ </div>
56
+ </div>
57
+
58
+
59
+ </section>
26
60
  </div>
27
61
  </transition>
28
62
  </template>
29
63
 
30
64
  <script setup>
31
- import { ref,onMounted } from 'vue';
65
+ import { ref, computed, onMounted } from 'vue';
32
66
  import { useRoute, useRouter } from 'vue-router'
33
67
 
34
- import FeedDepartments from '@pf/src/modules/organizations/components/sections/FeedDepartments.vue'
68
+ import Feed from '@pf/src/components/Feed/Feed.vue'
69
+ import Tab from '@pf/src/components/Tab/Tab.vue'
70
+ import Block from '@pf/src/components/Block/Block.vue'
71
+
72
+ import PlaceholderUserpic from '@pf/src/modules/icons/placeholders/PlaceholderUserpic.vue'
73
+
35
74
  import MembersAdd from '@pf/src/modules/organizations/components/sections/MembersAdd.vue';
36
- import MembersList from '@pf/src/modules/organizations/components/sections/MembersList.vue';
75
+
37
76
  // Mobile Module
38
77
  import Menu from '@pf/src/modules/mobile/components/Menu/Menu.vue'
39
78
  import MenuItem from '@pf/src/modules/mobile/components/Menu/MenuItem.vue'
40
79
 
80
+ import User from '@pf/src/modules/organizations/components/blocks/User.vue';
81
+
82
+
41
83
  import * as auth from '@pf/src/modules/auth/store/auth'
42
- import * as invites from '@pf/src/modules/organizations/store/invites';
43
- import * as members from '@pf/src/modules/organizations/store/memberships';
84
+ import * as invites from '@pf/src/modules/auth/store/invites';
85
+ import * as memberships from '@pf/src/modules/organizations/store/memberships';
44
86
  import * as organization from '@pf/src/modules/organizations/store/organizations'
87
+ import * as departments from '@pf/src/modules/organizations/store/departments';
45
88
 
46
89
  const route = useRoute()
47
-
90
+ const router = useRouter()
48
91
  const organizationData = ref(null)
49
92
 
93
+ const tabMemberships = ref('members')
94
+
50
95
  onMounted(async () => {
51
96
  organizationData.value = (await organization.actions.read({_id: route.params._id, user: auth.state.user._id}))[0]
52
- await members.actions.read(route.params._id)
97
+ await memberships.actions.read({target: route.params._id});
53
98
  await invites.actions.read(organizationData.value._id);
54
99
  })
55
100
 
101
+ const FirstLevelDepartments = computed(() => {
102
+ const departmentsState = departments.state.departments;
103
+
104
+ const subdepartmentIds = departmentsState.flatMap(department =>
105
+ department.subdepartments.map(subdepartment => subdepartment._id)
106
+ );
107
+
108
+ return departmentsState.filter(department =>
109
+ !subdepartmentIds.includes(department._id)
110
+ );
111
+ });
112
+
56
113
  async function handleSendInvite(invite) {
57
114
  await invites.actions.create(organizationData.value._id, invite);
58
115
  }
59
116
 
60
- async function removeMember(member) {
61
- await members.actions.delete(member._id);
117
+ async function removeMember(index,member) {
118
+ memberships.state.memberships.splice(index, 1);
119
+ await memberships.actions.delete(member._id);
62
120
  }
63
121
 
64
- async function removeInvite(invite) {
122
+ async function removeInvite(index,invite) {
123
+ invites.state.invites.splice(index, 1);
65
124
  await invites.actions.delete(invite._id);
66
125
  }
67
126
  </script>
@@ -11,8 +11,7 @@
11
11
  />
12
12
 
13
13
  <!-- MEMBERS TAB -->
14
-
15
- <!-- <Menu
14
+ <Menu
16
15
  class="mn-b-regular bg-grey"
17
16
  >
18
17
  <MenuItem
@@ -29,7 +28,59 @@
29
28
  {{organization.state.current.numberOfMembers}} members
30
29
  </span>
31
30
  </MenuItem>
32
- </Menu> -->
31
+ </Menu>
32
+
33
+ <div class="cols-2 pd-medium bg-grey radius-bg">
34
+
35
+ <Block
36
+ title="Departments"
37
+ :actions="[{
38
+ label: '+',
39
+ function: () => $router.push(`/organizations/${route.params._id}/departments/create`)
40
+ }]"
41
+ >
42
+ <Feed
43
+ :states="{
44
+ empty: {
45
+ title: 'No Departments Found',
46
+ description: 'Currently, there are no departments available.'
47
+ }
48
+ }"
49
+ :store="{
50
+ read: (options) => departments.actions.read(route.params._id),
51
+ state: null
52
+ }"
53
+ :options="{
54
+ user: auth.state.user._id,
55
+ sort: 'numberOfMemberships',
56
+ limit: 10
57
+ }"
58
+ v-slot="{
59
+ items
60
+ }"
61
+ >
62
+ <CardDepartment
63
+ v-for="(department, index) in items"
64
+ :key="index"
65
+ :department="department"
66
+ :organization="route.params._id"
67
+ class="radius-big bg-white pos-relative mn-b-thin"
68
+ />
69
+ </Feed>
70
+ </Block>
71
+ <div>
72
+ <User
73
+ v-for="(member, index) in organization.state.current.memberships"
74
+ :key="index"
75
+ :user="member"
76
+ :position="member.position"
77
+ @click="$router.push(`/app/profile/${member.user._id}`)"
78
+ class="bg-grey radius-small flex-nowrap flex pd-medium"
79
+ />
80
+
81
+ </div>
82
+ </div>
83
+
33
84
 
34
85
  <Tab
35
86
  v-model:selected="tabOrganization"
@@ -114,7 +165,6 @@
114
165
 
115
166
  </transition>
116
167
 
117
-
118
168
  <transition name="slide-fade">
119
169
  <div v-if="tabOrganization === 'spots'">
120
170
  <Feed
@@ -173,6 +223,11 @@
173
223
  // Mobile Module
174
224
  import Menu from '@pf/src/modules/mobile/components/Menu/Menu.vue'
175
225
  import MenuItem from '@pf/src/modules/mobile/components/Menu/MenuItem.vue'
226
+ // Organizations
227
+ import DepartmentSub from '@pf/src/modules/organizations/components/blocks/DepartmentSub.vue';
228
+ import User from '@pf/src/modules/organizations/components/blocks/User.vue';
229
+ // Ssds
230
+ import CardDepartment from '@pf/src/modules/organizations/components/blocks/CardDepartment.vue';
176
231
  // Feeds
177
232
  import FeedEvents from '@pf/src/modules/events/components/sections/Feed.vue';
178
233
  import FeedCommunity from '@pf/src/modules/community/components/sections/Feed.vue';
@@ -185,6 +240,7 @@
185
240
  import * as auth from '@pf/src/modules/auth/store/auth'
186
241
  import * as organization from '@pf/src/modules/organizations/store/organizations'
187
242
  import * as memberships from '@pf/src/modules/organizations/store/memberships'
243
+ import * as departments from '@pf/src/modules/organizations/store/departments';
188
244
  // Spots
189
245
  import * as spots from '@pf/src/modules/spots/store/spots';
190
246
  // Init router
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div>
3
- <section class="mn-b-medium radius-medium pd-semi bg-white">
4
- <h3 class="mn-b-medium">Добавить участников</h3>
3
+ <section class="mn-b-medium radius-medium pd-semi bg-grey">
4
+ <h3 class="mn-b-medium">Add members</h3>
5
5
  <p class="mn-b-small t-transp p-medium">Укажите email или телефон, чтобы отправить ссылку с приглашением:</p>
6
6
 
7
7
  <div
@@ -10,49 +10,42 @@
10
10
  class="
11
11
  br-1px br-solid br-grey
12
12
  flex
13
+ gap-thin
13
14
  radius-small
14
15
  mn-b-thin
15
16
  ">
16
-
17
- <div class="w-100 flex-nowrap flex">
18
17
  <Field
19
18
  v-model:field="member.contact"
20
- placeholder="Email или телефон"
21
- class="w-100 bg-white"
19
+ placeholder="Enter email or phone"
20
+ class="pd-small radius-small w-100 bg-white"
22
21
  :validation="contactValidation"
23
22
  />
24
-
23
+ <Select
24
+ v-model:select="member.role"
25
+ label="Role"
26
+ :options="[
27
+ 'owner',
28
+ 'manager',
29
+ 'member'
30
+ ]"
31
+ placeholder="Select"
32
+ class="pos-relative w-100 bg-white radius-small pd-small"
33
+ />
25
34
  <div v-if="index > 0" class="mn-r-medium flex-v-center flex">
26
- <button @click="removeMember(index)" class="button-small button">×</button>
35
+ <button @click="removeMember(index)" class="button-small button">×</button>
27
36
  </div>
28
37
  </div>
29
38
 
30
- <Select
31
- :options="[
32
- {name: 'Директор', value: 'director'},
33
- {name: 'Менеджер', value: 'manager'},
34
- {name: 'Сотрудник', value: 'member'},
35
- ]"
36
- :prop="member"
37
- content="role"
38
- placeholder="Роль"
39
- size="small"
40
- class="w-80"
41
- />
42
-
43
- </div>
44
-
45
- <div @click="addMember" class="mn-b-small flex-v-center flex-nowrap flex">
46
- <p class="t-blue mn-r-small">+ Добавить приглашение</p>
47
- </div>
48
-
49
- <Button
50
- :submit="a = () => handleSendInvite(invites.state.invites)"
51
- :callback="reloadPage"
52
- class="mn-t-medium">
53
- <span >Отправить приглашения </span>
54
- </Button>
39
+ <div @click="addMember" class="mn-b-small flex-v-center flex-nowrap flex">
40
+ <p class="t-blue mn-r-small">+ Добавить приглашение</p>
41
+ </div>
55
42
 
43
+ <Button
44
+ :submit="a = () => handleSendInvite(invites.state.invites)"
45
+ :callback="reloadPage"
46
+ class="w-100 bg-main">
47
+ <span>Invite to organization</span>
48
+ </Button>
56
49
  </section>
57
50
  </div>
58
51
  </template>
@@ -65,7 +58,7 @@
65
58
  import Button from '@pf/src/components/Button/Button.vue'
66
59
  // Import validation
67
60
  import * as inputsValidation from '@pf/src/modules/middlewares/client/inputs.validation'
68
- import * as invites from '@pf/src/modules/organizations/store/invites';
61
+ import * as invites from '@pf/src/modules/auth/store/invites';
69
62
  // Props
70
63
  const props = defineProps({
71
64
  organization: Object,
@@ -37,7 +37,6 @@
37
37
  import Button from '@pf/src/components/Button/Button.vue'
38
38
  // Local
39
39
  import DetailsTab from '@pf/src/modules/organizations/components/sections/DetailsTab.vue'
40
- import FeedDepartments from '@pf/src/modules/organizations/components/sections/FeedDepartments.vue'
41
40
  import CardOrganization from '@pf/src/modules/organizations/components/blocks/CardOrganization.vue'
42
41
  // Blocks
43
42
  import EmptyState from '@pf/src/modules/organizations/components/blocks/EmptyState.vue'
@@ -1,3 +1,5 @@
1
+ const ObjectId = require('mongoose').Types.ObjectId;
2
+
1
3
  const controllerFactory = (db) => {
2
4
  const Membership = db.membership;
3
5
 
@@ -64,13 +66,15 @@ const controllerFactory = (db) => {
64
66
  };
65
67
 
66
68
  const deleteMembership = async (req, res) => {
67
- const { type, target, user, role } = req.body;
69
+ // const { type, target, user, role } = req.body;
68
70
 
69
71
 
70
72
  console.log(req.body)
71
73
 
72
74
  try {
73
- const membership = await Membership.findOne({ type, target, user, role });
75
+ // const membership = await Membership.findOne({ type, target, user, role });
76
+ const membership = await Membership.findOneAndDelete({ _id: new ObjectId(req.body._id)})
77
+ // const membership = await Membership.findOne({ type, target, user, role });
74
78
 
75
79
  if (!membership) {
76
80
  return res.status(404).send({ errorCode: 'MEMBERSHIP_NOT_FOUND' });
@@ -61,7 +61,7 @@ const controllerFactory = (db) => {
61
61
  const matchConditions = [
62
62
  ...(req.query._id ? [{ _id: new ObjectId(req.query._id) }] : []),
63
63
  ...(req.query.owner ? [{ owner: new ObjectId(req.query.owner) }] : []),
64
- ...(req.query.member ? [{"memberships.user": new ObjectId(req.query.member), "memberships.role": { $nin: ['subscriber', 'owner'] } } ] : [] ),
64
+ ...(req.query.member ? [{"memberships.user": new ObjectId(req.query.member), "memberships.role": 'member' } ] : [] ),
65
65
  ...(req.query.subscriber ? [{"memberships.user": new ObjectId(req.query.subscriber), "memberships.role": 'subscriber'} ] : [] ),
66
66
  ...(req.query.postable ? [{$or: [{$and: [{ types: { $elemMatch: { $eq: 'public' } } }, { "memberships.user": new ObjectId(req.query.postable) } ] }, {$and: [{types: {$elemMatch: {$in: ['exclusive', 'hidden'] } } }, { "memberships.user": new ObjectId(req.query.postable) }, { "memberships.role": { $ne: 'subscriber' } } ] } ] } ] : [] ),
67
67
  ...(req.query.types ? [{ types: { $in: req.query.types } }] : []), // Если req.query.types - строка
@@ -15,22 +15,6 @@ module.exports = (mongoose) => {
15
15
  description: { type: String },
16
16
  categories: [String]
17
17
  },
18
- // Working hours
19
- address: String,
20
- // Position on map
21
- location: {
22
- lat: Number,
23
- lng: Number,
24
- type: {
25
- type: String,
26
- enum: ['Point'], // 'location.type' must be 'Point'
27
- required: true
28
- },
29
- coordinates: {
30
- type: [Number],
31
- required: true
32
- }
33
- },
34
18
  worktime: [{
35
19
  day: String,
36
20
  time: {
@@ -63,9 +47,6 @@ module.exports = (mongoose) => {
63
47
 
64
48
  departmentSchema.index({ organization: 1 })
65
49
 
66
- departmentSchema.index({ location: '2dsphere' });
67
-
68
-
69
50
  const Department = mongoose.model('Department', departmentSchema);
70
51
 
71
52
  return Department
@@ -15,6 +15,10 @@ module.exports = (mongoose) => {
15
15
  type: String,
16
16
  default: 'subscriber'
17
17
  },
18
+ label: {
19
+ type: String,
20
+ default: 'subscriber'
21
+ },
18
22
  target: { // заменяем 'organization' на 'target', так как это может быть или User, или Organization
19
23
  type: mongoose.Schema.Types.ObjectId,
20
24
  ref: function (value) {
@@ -18,17 +18,15 @@ import Contacts from './components/blocks/Contacts.vue';
18
18
  import Socials from './components/blocks/Socials.vue';
19
19
 
20
20
  import MembersAdd from './components/sections/MembersAdd.vue';
21
- import FeedDepartments from './components/sections/FeedDepartments.vue';
22
21
  import DetailsTab from './components/sections/DetailsTab.vue';
23
22
  import OrganizationsSection from './components/sections/Organizations.vue';
24
23
  import Publics from './components/sections/Publics.vue';
25
24
  import Documents from './components/sections/Documents.vue';
26
- import MembersList from './components/sections/MembersList.vue';
27
25
 
28
26
  import ButtonToggleMembership from './components/elements/ButtonToggleMembership.vue';
29
27
 
30
28
  // Import Vuex store modules
31
- import * as invitesStore from './store/invites.js';
29
+
32
30
  import * as departmentsStore from './store/departments.js';
33
31
  import * as membershipsStore from './store/memberships.js';
34
32
  import * as organizationStore from './store/organizations.js';
@@ -55,14 +53,11 @@ EmptyState,
55
53
  Contacts,
56
54
  Socials,
57
55
  MembersAdd,
58
- FeedDepartments,
59
56
  DetailsTab,
60
57
  OrganizationsSection,
61
58
  Publics,
62
59
  Documents,
63
- MembersList,
64
60
  ButtonToggleMembership,
65
- invitesStore,
66
61
  departmentsStore,
67
62
  membershipsStore,
68
63
  organizationStore,
@@ -37,58 +37,62 @@ const state = reactive({
37
37
  // Methods
38
38
  const actions = {
39
39
  async readOne(departmentID) {
40
- await $axios
41
- .get(`/api/departments/get/${departmentID}`)
42
- .then(response => {
43
- state.department = response.data;
44
- state.error = null;
45
- })
46
- .catch(error => {
47
- setError(error)
48
- });
40
+ try {
41
+ const response = await $axios.get(`/api/departments/get/${departmentID}`);
42
+ state.department = response.data;
43
+ state.error = null;
44
+ return response.data; // Return the response data
45
+ } catch (error) {
46
+ setError(error);
47
+ return null; // Return null or appropriate error response
48
+ }
49
49
  },
50
+
50
51
  async read(organizationId) {
51
- await $axios
52
- .get(`/api/departments/${organizationId}`)
53
- .then(response => {
54
- console.log('Response:', response);
55
- state.departments = response.data;
56
- state.error = null;
57
- })
58
- .catch(error => {
59
- setError(error)
60
- });
52
+ try {
53
+ const response = await $axios.get(`/api/departments/${organizationId}`);
54
+ console.log('Response:', response);
55
+ state.departments = response.data;
56
+ state.error = null;
57
+ return response.data; // Return the response data
58
+ } catch (error) {
59
+ setError(error);
60
+ return null; // Return null or appropriate error response
61
+ }
61
62
  },
63
+
62
64
  async create(organizationId, department) {
63
- await $axios
64
- .post(`/api/departments/${organizationId}/create`, department)
65
- .then(response => {
66
- state.error = null;
67
- state.department = response.data;
68
- })
69
- .catch(error => {
70
- setError(error)
71
- });
65
+ try {
66
+ const response = await $axios.post(`/api/departments/${organizationId}/create`, department);
67
+ state.error = null;
68
+ state.department = response.data;
69
+ return response.data; // Return the response data
70
+ } catch (error) {
71
+ setError(error);
72
+ return null; // Return null or appropriate error response
73
+ }
72
74
  },
75
+
73
76
  async update(organizationId, department) {
74
- await $axios
75
- .post(`/api/departments/${organizationId}/update`, department)
76
- .then(() => {
77
- state.error = null;
78
- })
79
- .catch(error => {
80
- setError(error)
81
- });
77
+ try {
78
+ const response = await $axios.post(`/api/departments/${organizationId}/update`, department);
79
+ state.error = null;
80
+ return response; // Return the response for update operations, might not have body data
81
+ } catch (error) {
82
+ setError(error);
83
+ return null; // Return null or appropriate error response
84
+ }
82
85
  },
86
+
83
87
  async delete(organizationId, departmentId) {
84
- await $axios
85
- .delete(`/api/departments/${organizationId}/delete`, { data: { _id: departmentId } })
86
- .then(() => {
87
- state.error = null;
88
- })
89
- .catch(error => {
90
- setError(error)
91
- });
88
+ try {
89
+ await $axios.delete(`/api/departments/${organizationId}/delete`, { data: { _id: departmentId } });
90
+ state.error = null;
91
+ return true; // Return true to indicate successful deletion
92
+ } catch (error) {
93
+ setError(error);
94
+ return false; // Return false or appropriate error response
95
+ }
92
96
  },
93
97
  };
94
98
 
@@ -21,9 +21,17 @@ const state = reactive({
21
21
 
22
22
  // Methods
23
23
  const actions = {
24
- async read({ user, type, target, role }) {
24
+ async read(options = {}) {
25
+
26
+ let params = {}
27
+
28
+ if (options._id) params._id = options._id;
29
+ if (options.user) params.user = options.user;
30
+ if (options.target) params.target = options.target;
31
+ if (options.roles) params.roles = options.roles;
32
+
25
33
  try {
26
- const response = await $axios.get(`/api/memberships`, { params: { user, type, target, role } });
34
+ const response = await $axios.get(`/api/memberships`, { params: params });
27
35
  state.error = null;
28
36
  state.memberships = response.data;
29
37
  return Promise.resolve(response.data);
@@ -54,7 +62,7 @@ const actions = {
54
62
  },
55
63
  async delete(membership) {
56
64
  try {
57
- const response = await $axios.post(`/api/memberships/delete`, membership);
65
+ const response = await $axios.post(`/api/memberships/delete`, {_id: membership});
58
66
  state.error = null;
59
67
  return Promise.resolve(response.data);
60
68
  } catch (error) {
@@ -7,7 +7,7 @@
7
7
  :multiple="false"
8
8
  :taggable="false"
9
9
  placeholder="Select a product"
10
- class="bg-white h-100 pd-small radius-small"
10
+ class="bg-white pd-small radius-small"
11
11
  />
12
12
  <Field
13
13
  v-model:field="productPrice"
@@ -29,7 +29,7 @@
29
29
  'g',
30
30
  'ml'
31
31
  ]"
32
- class="h-100 bg-grey pd-thin radius-thin"
32
+ class="bg-grey pd-thin radius-thin"
33
33
  />
34
34
 
35
35
  </Field>
@@ -36,7 +36,7 @@
36
36
  v-else
37
37
  class="pos-absolute h-100 w-100"
38
38
  />
39
- <THC v-if="product.information.length > 0 && product.information[1].name === 'THC'" :product="product" />
39
+ <THC v-if="product.information?.length > 0 && product.information[1]?.name === 'THC'" :product="product" />
40
40
  </div>
41
41
 
42
42
  <!-- Product Info Start -->
@@ -1,7 +1,12 @@
1
1
  <template>
2
2
  <div class="flex flex-column w-100 o-hidden gap-thin pd-thin">
3
3
  <!-- <Breadcrumbs class="bg-grey radius-big pd-small"/> -->
4
- <!-- {{product.quantity}} -->
4
+ {{product.quantity}}
5
+ <div v-if="product.ingredients">
6
+ {{product?.ingredients[0]?._id}}
7
+ {{product?.ingredients[0]?.quantity}}
8
+ {{product?.ingredients[1]?.quantity}}
9
+ </div>
5
10
  <SectionProduct v-if="product" :product="product" :user="auth.state.user" class="pos-relative"/>
6
11
 
7
12
  <PopularProducts />