@ozdao/prometheus-framework 0.2.33 → 0.2.35

Sign up to get free protection for your applications and to get access to all the features.
Files changed (296) hide show
  1. package/dist/events.server.js +32 -0
  2. package/dist/events.server.mjs +32 -0
  3. package/dist/files.server.js +99 -78
  4. package/dist/files.server.mjs +99 -78
  5. package/dist/globals.server.js +0 -1
  6. package/dist/globals.server.mjs +0 -1
  7. package/dist/main.css +1 -1
  8. package/dist/node_modules/@ozdao/prometheus-framework/dist/_virtual/_commonjsHelpers.cjs +1 -0
  9. package/dist/node_modules/@ozdao/prometheus-framework/dist/_virtual/_commonjsHelpers.js +6 -0
  10. package/dist/node_modules/@ozdao/prometheus-framework/dist/_virtual/_plugin-vue_export-helper.cjs +1 -0
  11. package/dist/node_modules/@ozdao/prometheus-framework/dist/_virtual/_plugin-vue_export-helper.js +9 -0
  12. package/dist/node_modules/@ozdao/prometheus-framework/dist/_virtual/js.cookie.cjs +1 -0
  13. package/dist/node_modules/@ozdao/prometheus-framework/dist/_virtual/js.cookie.js +4 -0
  14. package/dist/node_modules/@ozdao/prometheus-framework/dist/node_modules/js-cookie/src/js.cookie.cjs +7 -0
  15. package/dist/node_modules/@ozdao/prometheus-framework/dist/node_modules/js-cookie/src/js.cookie.js +97 -0
  16. package/dist/node_modules/@ozdao/prometheus-framework/dist/node_modules/vue-select/dist/vue-select.es.cjs +1 -0
  17. package/dist/node_modules/@ozdao/prometheus-framework/dist/node_modules/vue-select/dist/vue-select.es.js +173 -0
  18. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/@capacitor/core/dist/index.cjs +1 -0
  19. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/@capacitor/core/dist/index.js +337 -0
  20. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/@capacitor/preferences/dist/esm/index.cjs +1 -0
  21. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/@capacitor/preferences/dist/esm/index.js +7 -0
  22. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/@capacitor/preferences/dist/esm/web.cjs +1 -0
  23. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/@capacitor/preferences/dist/esm/web.js +54 -0
  24. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/adapters/adapters.cjs +3 -0
  25. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/adapters/adapters.js +51 -0
  26. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/adapters/xhr.cjs +1 -0
  27. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/adapters/xhr.js +109 -0
  28. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/axios.cjs +1 -0
  29. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/axios.js +47 -0
  30. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.cjs +1 -0
  31. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.js +73 -0
  32. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/cancel/CanceledError.cjs +1 -0
  33. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/cancel/CanceledError.js +11 -0
  34. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/cancel/isCancel.cjs +1 -0
  35. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/cancel/isCancel.js +6 -0
  36. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/Axios.cjs +1 -0
  37. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/Axios.js +117 -0
  38. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/AxiosError.cjs +1 -0
  39. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/AxiosError.js +54 -0
  40. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.cjs +2 -0
  41. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.js +165 -0
  42. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.cjs +1 -0
  43. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.js +59 -0
  44. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/buildFullPath.cjs +1 -0
  45. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/buildFullPath.js +8 -0
  46. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/dispatchRequest.cjs +1 -0
  47. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/dispatchRequest.js +31 -0
  48. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.cjs +1 -0
  49. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.js +72 -0
  50. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/settle.cjs +1 -0
  51. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/settle.js +14 -0
  52. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/transformData.cjs +1 -0
  53. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/transformData.js +13 -0
  54. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/defaults/index.cjs +1 -0
  55. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/defaults/index.js +88 -0
  56. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/defaults/transitional.cjs +1 -0
  57. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/defaults/transitional.js +8 -0
  58. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/env/data.cjs +1 -0
  59. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/env/data.js +4 -0
  60. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/AxiosURLSearchParams.cjs +1 -0
  61. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +33 -0
  62. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.cjs +1 -0
  63. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.js +72 -0
  64. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/bind.cjs +1 -0
  65. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/bind.js +8 -0
  66. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/buildURL.cjs +1 -0
  67. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/buildURL.js +19 -0
  68. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.cjs +1 -0
  69. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.js +6 -0
  70. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/cookies.cjs +1 -0
  71. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/cookies.js +32 -0
  72. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.cjs +1 -0
  73. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.js +30 -0
  74. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isAbsoluteURL.cjs +1 -0
  75. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isAbsoluteURL.js +6 -0
  76. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isAxiosError.cjs +1 -0
  77. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isAxiosError.js +7 -0
  78. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.cjs +1 -0
  79. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.js +37 -0
  80. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/null.cjs +1 -0
  81. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/null.js +4 -0
  82. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/parseHeaders.cjs +2 -0
  83. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/parseHeaders.js +30 -0
  84. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/parseProtocol.cjs +1 -0
  85. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/parseProtocol.js +7 -0
  86. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/speedometer.cjs +1 -0
  87. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/speedometer.js +19 -0
  88. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/spread.cjs +1 -0
  89. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/spread.js +8 -0
  90. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/toFormData.cjs +1 -0
  91. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/toFormData.js +84 -0
  92. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/toURLEncodedForm.cjs +1 -0
  93. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/toURLEncodedForm.js +13 -0
  94. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/validator.cjs +1 -0
  95. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/validator.js +51 -0
  96. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/Blob.cjs +1 -0
  97. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/Blob.js +4 -0
  98. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/FormData.cjs +1 -0
  99. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/FormData.js +4 -0
  100. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/URLSearchParams.cjs +1 -0
  101. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +5 -0
  102. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/index.cjs +1 -0
  103. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/index.js +15 -0
  104. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.cjs +1 -0
  105. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.js +7 -0
  106. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/index.cjs +1 -0
  107. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/index.js +9 -0
  108. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/utils.cjs +1 -0
  109. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/utils.js +224 -0
  110. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -0
  111. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/auth/store/auth.js +44 -0
  112. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -0
  113. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/auth/store/twofa.js +19 -0
  114. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -0
  115. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/community/store/blogposts.js +38 -0
  116. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/community/store/reactions.cjs +1 -0
  117. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/community/store/reactions.js +16 -0
  118. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -0
  119. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/events/store/events.js +42 -0
  120. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/globals/localization/vue-i18n.cjs +1 -0
  121. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/globals/localization/vue-i18n.js +22 -0
  122. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/globals/store/globals.cjs +1 -0
  123. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/globals/store/globals.js +59 -0
  124. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.cjs +1 -0
  125. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.js +28 -0
  126. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.cjs +1 -0
  127. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.js +21 -0
  128. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.cjs +1 -0
  129. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.js +21 -0
  130. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.cjs +1 -0
  131. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.js +21 -0
  132. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/line.vue.cjs +1 -0
  133. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/line.vue.js +23 -0
  134. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.cjs +1 -0
  135. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.js +21 -0
  136. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.cjs +1 -0
  137. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.js +29 -0
  138. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.cjs +1 -0
  139. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.js +21 -0
  140. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.cjs +1 -0
  141. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.js +3 -0
  142. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/middlewares/client/inputs.validation.cjs +1 -0
  143. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/middlewares/client/inputs.validation.js +35 -0
  144. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.cjs +1 -0
  145. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.js +60 -0
  146. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/components/blocks/Socials.vue.cjs +1 -0
  147. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/components/blocks/Socials.vue.js +80 -0
  148. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -0
  149. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/departments.js +34 -0
  150. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -0
  151. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/invites.js +17 -0
  152. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -0
  153. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/memberships.js +16 -0
  154. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -0
  155. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/organizations.js +42 -0
  156. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/products/store/categories.cjs +1 -0
  157. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/products/store/categories.js +20 -0
  158. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -0
  159. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/products/store/products.js +28 -0
  160. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/reports/store/reports.cjs +1 -0
  161. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/reports/store/reports.js +28 -0
  162. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -0
  163. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/spots/store/spots.js +34 -0
  164. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
  165. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +2 -61
  166. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.cjs +1 -1
  167. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.js +61 -2
  168. package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.cjs +1 -0
  169. package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.js +62 -0
  170. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
  171. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +49 -2
  172. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
  173. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +2 -49
  174. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.cjs +1 -1
  175. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.js +42 -34
  176. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  177. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +2 -70
  178. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
  179. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +70 -2
  180. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  181. package/dist/prometheus-framework/src/components/Select/Select.vue.js +2 -93
  182. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  183. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +93 -2
  184. package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
  185. package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +99 -2
  186. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +1 -1
  187. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +2 -73
  188. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
  189. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +30 -28
  190. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
  191. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +25 -24
  192. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  193. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  194. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  195. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  196. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  197. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +3 -3
  198. package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.cjs +1 -1
  199. package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.js +1 -1
  200. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -5
  201. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +2 -65
  202. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +5 -1
  203. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +65 -2
  204. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -1
  205. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +1 -1
  206. package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.cjs +1 -1
  207. package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.js +1 -1
  208. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  209. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
  210. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
  211. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
  212. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  213. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +381 -140
  214. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +4 -1
  215. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +122 -48
  216. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  217. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +3 -3
  218. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.cjs +1 -0
  219. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.js +116 -0
  220. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.cjs +1 -0
  221. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.js +4 -0
  222. package/dist/prometheus-framework/src/modules/events/components/sections/SectionLineup.vue.cjs +1 -0
  223. package/dist/prometheus-framework/src/modules/events/components/sections/SectionLineup.vue.js +29 -0
  224. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.cjs +3 -0
  225. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.js +117 -0
  226. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.cjs +1 -0
  227. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.js +4 -0
  228. package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.cjs +1 -0
  229. package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.js +108 -0
  230. package/dist/prometheus-framework/src/modules/events/components/sections/SectionSpecialGuests.vue.cjs +1 -0
  231. package/dist/prometheus-framework/src/modules/events/components/sections/SectionSpecialGuests.vue.js +70 -0
  232. package/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -1
  233. package/dist/prometheus-framework/src/modules/events/store/events.js +20 -16
  234. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  235. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
  236. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  237. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +2 -2
  238. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  239. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
  240. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  241. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
  242. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
  243. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +2 -11
  244. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
  245. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +11 -2
  246. package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.cjs +1 -1
  247. package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.js +1 -1
  248. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  249. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +14 -14
  250. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  251. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
  252. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  253. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +3 -3
  254. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  255. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +1 -1
  256. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  257. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
  258. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  259. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  260. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  261. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +1 -1
  262. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  263. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  264. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  265. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  266. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  267. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +3 -3
  268. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  269. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  270. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  271. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  272. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  273. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +1 -1
  274. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  275. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +3 -3
  276. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  277. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
  278. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  279. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
  280. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  281. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  282. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  283. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +58 -55
  284. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
  285. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +3 -3
  286. package/dist/prometheus-framework.cjs.js +19 -19
  287. package/dist/prometheus-framework.es.js +390 -376
  288. package/dist/style.css +1 -1
  289. package/package.json +1 -1
  290. package/src/modules/events/components/pages/EditEvent.vue +20 -5
  291. package/src/modules/events/components/pages/Event.vue +5 -2
  292. package/src/modules/events/components/sections/SectionPreviousEvents.vue +1 -1
  293. package/src/modules/events/models/event.model.js +2 -1
  294. package/src/modules/marketplace/components/pages/Catalog.vue +1 -0
  295. package/src/modules/organizations/components/blocks/CardOrganization.vue +1 -1
  296. package/src/modules/users/components/pages/Profile.vue +1 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),c=require("vue-router");require("../../../../components/Select/Select.vue2.cjs");const f=require("../../../../components/DatePicker/DatePicker.vue.cjs"),i=require("../../store/events.cjs"),m={class:"pd-thin h-min-100"},y={__name:"layoutEvents",setup(g){const u=c.useRoute(),d=c.useRouter(),l=p(new Date);function p(e){return`${e.getDate().toString().padStart(2,"0")}${(e.getMonth()+1).toString().padStart(2,"0")}${e.getFullYear()}`}if(u.query){const e=u.query,n={tags:e.tags?e.tags.split(","):null,date:e.date?e.date:l};i.state.filter=n}else{const e={date:l};i.state.filter=e}return t.watch(()=>i.state.filter,(e,n)=>{const a={...u.query};Object.keys(n).forEach(o=>{a[o]&&delete a[o]});const s=Object.fromEntries(Object.entries(e).filter(([o,r])=>Array.isArray(r)&&r.length>0||typeof r=="string"&&r).map(([o,r])=>[o,Array.isArray(r)?r.join(","):r]));Object.assign(a,s),d.push({query:a})},{deep:!0}),(e,n)=>{const a=t.resolveComponent("router-view");return t.openBlock(),t.createElementBlock("div",m,[t.createVNode(f.default,{date:i.state.filter.date,"onUpdate:date":n[0]||(n[0]=s=>i.state.filter.date=s),locale:e.$i18n.locale,class:"radius-semi o-hidden bg-grey mn-b-thin pd-l-zero pd-r-zero pd-medium"},null,8,["date","locale"]),t.createVNode(a,null,{default:t.withCtx(({Component:s,route:o})=>[t.createVNode(t.Transition,{name:"scaleIn",mode:"out-in"},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(s),{ref:"page",key:o.query}))]),_:2},1024)]),_:1})])}}};exports.default=y;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),c=require("vue-router");require("../../../../components/Select/Select.vue.cjs");const f=require("../../../../components/DatePicker/DatePicker.vue.cjs"),i=require("../../store/events.cjs"),m={class:"pd-thin h-min-100"},y={__name:"layoutEvents",setup(g){const u=c.useRoute(),d=c.useRouter(),l=p(new Date);function p(e){return`${e.getDate().toString().padStart(2,"0")}${(e.getMonth()+1).toString().padStart(2,"0")}${e.getFullYear()}`}if(u.query){const e=u.query,n={tags:e.tags?e.tags.split(","):null,date:e.date?e.date:l};i.state.filter=n}else{const e={date:l};i.state.filter=e}return t.watch(()=>i.state.filter,(e,n)=>{const a={...u.query};Object.keys(n).forEach(o=>{a[o]&&delete a[o]});const s=Object.fromEntries(Object.entries(e).filter(([o,r])=>Array.isArray(r)&&r.length>0||typeof r=="string"&&r).map(([o,r])=>[o,Array.isArray(r)?r.join(","):r]));Object.assign(a,s),d.push({query:a})},{deep:!0}),(e,n)=>{const a=t.resolveComponent("router-view");return t.openBlock(),t.createElementBlock("div",m,[t.createVNode(f.default,{date:i.state.filter.date,"onUpdate:date":n[0]||(n[0]=s=>i.state.filter.date=s),locale:e.$i18n.locale,class:"radius-semi o-hidden bg-grey mn-b-thin pd-l-zero pd-r-zero pd-medium"},null,8,["date","locale"]),t.createVNode(a,null,{default:t.withCtx(({Component:s,route:o})=>[t.createVNode(t.Transition,{name:"scaleIn",mode:"out-in"},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(s),{ref:"page",key:o.query}))]),_:2},1024)]),_:1})])}}};exports.default=y;
@@ -1,6 +1,6 @@
1
1
  import { watch as f, resolveComponent as y, openBlock as u, createElementBlock as g, createVNode as l, withCtx as d, Transition as _, createBlock as h, resolveDynamicComponent as b } from "vue";
2
2
  import { useRoute as w, useRouter as D } from "vue-router";
3
- import "../../../../components/Select/Select.vue2.js";
3
+ import "../../../../components/Select/Select.vue.js";
4
4
  import q from "../../../../components/DatePicker/DatePicker.vue.js";
5
5
  import { state as s } from "../../store/events.js";
6
6
  const j = { class: "pd-thin h-min-100" }, V = {
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../constructor/components/elements/Textarea.vue2.cjs");const N=require("../../../constructor/components/sections/Constructor.vue.cjs"),E=require("../../../../../node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs");require("../../../../../node_modules/@vuepic/vue-datepicker/dist/main.css.cjs");const y=require("../../../../components/Popup/Popup.vue.cjs"),f=require("../../../../components/Field/Field.vue2.cjs"),q=require("../../../../components/FieldTags/BlockTags.vue.cjs"),P=require("../../../../components/Checkbox/Checkbox.vue.cjs"),C=require("../../../../components/SelectMulti/SelectMulti.vue.cjs"),x=require("../../../../components/UploadImage/UploadImage.vue.cjs"),B=require("../../../../components/Button/Button.vue2.cjs"),v=require("vue-router"),s=require("../../store/events.cjs"),u=require("../../../auth/store/auth.cjs"),D=require("../../../organizations/store/organizations.cjs");require("./EditEvent.vue2.cjs");const U={key:0,class:"h-100 pd-thin"},T={class:"mn-b-thin radius-small w-100 h-10r bg-grey flex-center flex-column flex"},z=e.createElementVNode("h4",null,"Upload Event Cover",-1),O=e.createElementVNode("h3",{class:"mn-b-small"},"Date",-1),M=e.createElementVNode("h3",{class:"mn-b-small"},"Description",-1),S={key:0,class:"pd-b-extra w-100 bg-grey pd-big radius-big"},A={key:1,class:"pd-thin pos-sticky pos-l-0 pos-b-0 w-100"},R={class:"pd-thin radius-big bg-main w-100 flex-nowrap flex"},$=e.createElementVNode("h3",{class:"mn-b-small"},"Final Touches",-1),F=e.createElementVNode("h5",{class:"mn-b-thin"},"Add to public:",-1),j={key:0,class:"mn-b-thin"},H={key:1,class:"mn-b-medium br-grey br-2px br-solid pd-small radius-big"},G={__name:"EditEvent",setup(J){const i=v.useRoute(),d=v.useRouter();let t=e.ref(null),p=e.ref(null);const m=e.ref([]),n=e.ref(null),r=e.ref(),b=()=>({top:0,left:0});e.onMounted(async()=>{if(i.params.url){const a=await s.read({user:u.state.user._id,url:i.params.url});t.value=a.pop();const l=t.value.date.start,_=t.value.date.end;r.value=[l,_]}else{s.clean(),t.value=s.state.current;const a=new Date,l=new Date;r.value=[a,l]}t.value.owner||(t.value.owner={target:u.state.user._id,type:"user"}),t.value.creator||(t.value.creator={target:u.state.user._id,type:"user",hidden:!1}),t.value.owner.type==="organization"&&(n.value={_id:t.value.owner.target._id,name:t.value.owner.target.profile.name,photo:t.value.owner.target.profile.photo});const o=await D.actions.read({user:u.state.user._id,postable:u.state.user._id,limit:100});p.value=o.map(a=>({name:a.profile.name,_id:a._id,photo:a.profile.photo}))});const c=e.ref(!1);function h(){c.value=!0}function g(){c.value=!1}function k(){m.value.length>0&&m.value.map(o=>o.text),t.value.status="draft",t.value.date={start:r.value[0],end:r.value[1]},i.params.url?s.update(t.value).then(o=>{d.push({name:"Event",params:{url:o.url}})}).catch(o=>{console.error(o)}):s.create(t.value).then(o=>{d.push({name:"Event",params:{url:o.url}})}).catch(o=>{console.error(o)})}function V(){n.value&&(t.value.owner={target:n.value._id,type:"organization"}),n.value||(t.value.creator.hidden=!1),n.value||(t.value.organization=t.value.creator),t.value.status="published",t.value.date={start:r.value[0],end:r.value[1]},console.log(r.value),i.params.url?s.update(t.value).then(o=>{d.push({name:"Event",params:{url:o.url}})}).catch(o=>{console.log(o)}):s.create(t.value).then(o=>{d.push({name:"Event",params:{url:o.url}})}).catch(o=>{console.log(o)})}function w(){confirm("Are you sure you want to delete this event?")&&s.remove(t.value._id).then(o=>{d.push({name:"User Events",params:{_id:t.value.creator.target._id}})}).catch(o=>{console.error(o)})}return(o,a)=>e.unref(t)?(e.openBlock(),e.createElementBlock("article",U,[e.createElementVNode("div",T,[e.createVNode(x.default,{photo:e.unref(t).cover,"onUpdate:photo":a[0]||(a[0]=l=>e.unref(t).cover=l),uploadPath:"users/"+u.state.user._id+"/events",class:"h-4r w-4r aspect-1x1 o-hidden mn-b-thin radius-extra"},null,8,["photo","uploadPath"]),z]),e.createVNode(f.default,{field:e.unref(t).name,"onUpdate:field":a[1]||(a[1]=l=>e.unref(t).name=l),placeholder:"Event name",class:"mn-b-thin w-100 bg-grey pd-medium radius-small"},null,8,["field"]),e.createVNode(f.default,{field:e.unref(t).description,"onUpdate:field":a[2]||(a[2]=l=>e.unref(t).description=l),type:"textfield",placeholder:"Enter short description",class:"mn-b-semi w-100 bg-grey pd-medium radius-small"},null,8,["field"]),O,e.createVNode(e.unref(E.default),{modelValue:r.value,"onUpdate:modelValue":a[3]||(a[3]=l=>r.value=l),"alt-position":b,range:"",class:"mn-b-semi"},null,8,["modelValue"]),M,e.unref(t)?(e.openBlock(),e.createElementBlock("section",S,[e.createVNode(N.default,{content:e.unref(t).content,onUpdate:a[4]||(a[4]=l=>e.unref(t).content=l)},null,8,["content"])])):e.createCommentVNode("",!0),e.unref(t)?(e.openBlock(),e.createElementBlock("section",A,[e.createElementVNode("div",R,[e.unref(i).params.url?(e.openBlock(),e.createElementBlock("a",{key:0,onClick:a[5]||(a[5]=l=>w()),class:"mn-r-auto bg-red t-white t-black button"},"Delete")):e.createCommentVNode("",!0),e.createElementVNode("a",{onClick:a[6]||(a[6]=l=>k()),class:"mn-l-auto bg-white t-black button"},"To Drafts"),e.createElementVNode("a",{onClick:a[7]||(a[7]=l=>h()),class:"mn-l-thin bg-black t-white button"},"Publish")])])):e.createCommentVNode("",!0),e.createVNode(y.default,{title:"Добавить участника",onClosePopup:g,isPopupOpen:c.value,class:"w-m-33r t-left pd-big bg-white radius-big"},{default:e.withCtx(()=>[$,e.createVNode(q.default,{onTagsChanged:a[8]||(a[8]=l=>e.unref(t).tags=l),tags:e.unref(t).tags},null,8,["tags"]),F,e.createVNode(C.default,{modelValue:n.value,"onUpdate:modelValue":a[9]||(a[9]=l=>n.value=l),options:e.unref(p),multiple:!1,taggable:!1,placeholder:"Type to search or add tag",label:"name","track-by":"_id",class:"mn-b-medium bg-grey radius-medium pd-small"},null,8,["modelValue","options"]),n.value?(e.openBlock(),e.createElementBlock("h5",j,"Options:")):e.createCommentVNode("",!0),n.value?(e.openBlock(),e.createElementBlock("div",H,[e.createVNode(P.default,{label:"Hide Author",radio:e.unref(t).creator.hidden,"onUpdate:radio":a[10]||(a[10]=l=>e.unref(t).creator.hidden=l),name:"prices",class:"w-100"},null,8,["radio"])])):e.createCommentVNode("",!0),e.createVNode(B.default,{submit:V,callback:o.redirectTo,class:"w-100 bg-black t-white"},{default:e.withCtx(()=>[e.createTextVNode("Publish")]),_:1},8,["callback"])]),_:1},8,["isPopupOpen"])])):e.createCommentVNode("",!0)}};exports.default=G;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../constructor/components/elements/Textarea.vue.cjs");const C=require("../../../constructor/components/sections/Constructor.vue.cjs"),P=require("../../../../../node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs");require("../../../../../node_modules/@vuepic/vue-datepicker/dist/main.css.cjs");const k=require("../../../../components/Block/Block.vue.cjs"),_=require("../../../../components/Popup/Popup.vue2.cjs"),n=require("../../../../components/Field/Field.vue2.cjs"),T=require("../../../../components/FieldTags/BlockTags.vue.cjs"),V=require("../../../../components/Checkbox/Checkbox.vue2.cjs"),q=require("../../../../components/SelectMulti/SelectMulti.vue.cjs"),f=require("../../../../components/Upload/Upload.vue.cjs"),b=require("../../../../components/UploadImage/UploadImage.vue.cjs"),S=require("../../../../components/EditImages/EditImages.vue.cjs"),M=require("../../../../components/Button/Button.vue2.cjs"),N=require("../../../icons/navigation/IconDelete.vue.cjs"),D=require("vue-router"),u=require("../../store/events.cjs"),o=require("../../../auth/store/auth.cjs"),G=require("../../../organizations/store/organizations.cjs");require("./EditEvent.vue2.cjs");const L={key:0,class:"h-100 pd-thin"},F={class:"mn-b-thin radius-small w-100 h-10r bg-grey flex-center flex-column flex"},O=e.createElementVNode("h4",null,"Upload Event Cover",-1),R={key:0,class:"mn-b-small"},I={key:2,class:"mn-b-semi"},A=e.createElementVNode("h4",{class:"mn-b-thin"}," Hero Section ",-1),z=e.createElementVNode("h5",{class:"mn-b-thin"}," Video in Hero Section ",-1),H=e.createElementVNode("h5",{class:"mn-b-thin"}," Ticket ",-1),$={class:"mn-b-small gap-small cols-2-fit-content"},j={class:"gap-thin flex-nowrap flex w-100"},J=e.createElementVNode("hr",{class:"bg-black-transp-10 mn-b-semi mn-t-semi d-block"},null,-1),Y=e.createElementVNode("h4",{class:"mn-b-thin"}," Guest Section ",-1),K={class:"gap-thin cols-3"},Q=e.createElementVNode("h5",{class:"mn-b-thin"}," Video in Guests Section ",-1),W={class:"gap-thin flex-nowrap flex w-100"},X={class:"w-100"},Z={class:"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red"},ee=e.createElementVNode("hr",{class:"bg-black-transp-10 mn-b-semi mn-t-semi d-block"},null,-1),te=e.createElementVNode("h4",{class:"mn-b-thin"}," Lineup Section ",-1),le={class:"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red"},ae=e.createElementVNode("h5",{class:"mn-b-thin"}," Background in Lineup Section ",-1),se=e.createElementVNode("h5",{class:"mn-b-thin"}," Video in Previous Partys Section ",-1),ne=e.createElementVNode("h3",{class:"mn-b-small"},"Date",-1),oe=e.createElementVNode("h3",{class:"mn-b-small"},"Description",-1),ie={key:3,class:"pd-b-extra w-100 bg-grey pd-big radius-big"},re={key:4,class:"pd-thin pos-sticky pos-l-0 pos-b-0 w-100"},de={class:"pd-thin radius-big bg-main w-100 flex-nowrap flex"},ue=e.createElementVNode("h3",{class:"mn-b-small"},"Final Touches",-1),ce=e.createElementVNode("h5",{class:"mn-b-thin"},"Add to public:",-1),pe={key:0,class:"mn-b-thin"},me={key:1,class:"mn-b-medium br-grey br-2px br-solid pd-small radius-big"},fe={__name:"EditEvent",setup(ge){const p=D.useRoute(),m=D.useRouter();let t=e.ref(null),h=e.ref(null);const v=e.ref([]),i=e.ref(null),r=e.ref(),w=()=>({top:0,left:0});e.onMounted(async()=>{if(p.params.url){const a=await u.read({user:o.state.user._id,url:p.params.url});t.value=a.pop(),console.log(t.value);const l=t.value.date.start,c=t.value.date.end;r.value=[l,c]}else{u.clean(),t.value=u.state.current;const a=new Date,l=new Date;r.value=[a,l]}t.value.owner||(t.value.owner={target:o.state.user._id,type:"user"}),t.value.creator||(t.value.creator={target:o.state.user._id,type:"user",hidden:!1}),t.value.owner.type==="organization"&&(i.value={_id:t.value.owner.target._id,name:t.value.owner.target.profile.name,photo:t.value.owner.target.profile.photo});const s=await G.actions.read({user:o.state.user._id,postable:o.state.user._id,limit:100});h.value=s.map(a=>({name:a.profile.name,_id:a._id,photo:a.profile.photo}))});const g=e.ref(!1);function y(){g.value=!0}function E(){g.value=!1}function U(){v.value.length>0&&v.value.map(s=>s.text),t.value.status="draft",t.value.date={start:r.value[0],end:r.value[1]},p.params.url?u.update(t.value).then(s=>{m.push({name:"Event",params:{url:s.url}})}).catch(s=>{console.error(s)}):u.create(t.value).then(s=>{m.push({name:"Event",params:{url:s.url}})}).catch(s=>{console.error(s)})}function x(){i.value&&(t.value.owner={target:i.value._id,type:"organization"}),i.value||(t.value.creator.hidden=!1),i.value||(t.value.organization=t.value.creator),t.value.status="published",t.value.date={start:r.value[0],end:r.value[1]},console.log(r.value),p.params.url?(console.log(t.value),u.update(t.value).then(s=>{m.push({name:"Event",params:{url:s.url}})}).catch(s=>{console.log(s)})):u.create(t.value).then(s=>{m.push({name:"Event",params:{url:s.url}})}).catch(s=>{console.log(s)})}function B(){confirm("Are you sure you want to delete this event?")&&u.remove(t.value._id).then(s=>{m.push({name:"User Events",params:{_id:t.value.creator.target._id}})}).catch(s=>{console.error(s)})}return(s,a)=>e.unref(t)?(e.openBlock(),e.createElementBlock("article",L,[e.createElementVNode("div",F,[e.createVNode(b.default,{photo:e.unref(t).cover,"onUpdate:photo":a[0]||(a[0]=l=>e.unref(t).cover=l),uploadPath:"specials",class:"h-4r w-4r aspect-1x1 o-hidden mn-b-thin radius-extra"},null,8,["photo"]),O]),e.createVNode(n.default,{field:e.unref(t).name,"onUpdate:field":a[1]||(a[1]=l=>e.unref(t).name=l),placeholder:"Event name",class:"mn-b-thin w-100 bg-grey pd-medium radius-small"},null,8,["field"]),e.createVNode(n.default,{field:e.unref(t).description,"onUpdate:field":a[2]||(a[2]=l=>e.unref(t).description=l),type:"textfield",placeholder:"Enter short description",class:"mn-b-semi w-100 bg-grey pd-medium radius-small"},null,8,["field"]),o.state.access.roles&&(o.state.access.roles.includes("ROLE_MODERATOR")||o.state.access.roles.includes("ROLE_ADMIN"))?(e.openBlock(),e.createElementBlock("h3",R," Special Details ")):e.createCommentVNode("",!0),o.state.access.roles&&(o.state.access.roles.includes("ROLE_MODERATOR")||o.state.access.roles.includes("ROLE_ADMIN"))?(e.openBlock(),e.createBlock(V.default,{key:1,label:"Special",radio:e.unref(t).special,"onUpdate:radio":a[3]||(a[3]=l=>e.unref(t).special=!e.unref(t).special),class:"mn-b-semi w-100 bg-black t-white pd-medium radius-small"},null,8,["radio"])):e.createCommentVNode("",!0),e.unref(t).special?(e.openBlock(),e.createElementBlock("div",I,[A,e.createVNode(n.default,{field:e.unref(t).specialData.subtitle,"onUpdate:field":a[4]||(a[4]=l=>e.unref(t).specialData.subtitle=l),placeholder:"Event subtitle",class:"mn-b-thin w-100 bg-grey pd-medium radius-small"},null,8,["field"]),e.createVNode(S.default,{images:e.unref(t).specialData.logos,uploadPath:"/specials",text:{title:"Drag & Drop Your Logos Here",subtitle:"Files supported: JPG, PNG, GIF"},options:{showTitle:!0,showText:!1},"onUpdate:images":a[5]||(a[5]=l=>e.unref(t).specialData.logos=l),class:"mn-b-thin bg-grey radius-small"},null,8,["images"]),z,e.createVNode(f.default,{field:e.unref(t).specialData.video,"onUpdate:field":a[6]||(a[6]=l=>e.unref(t).specialData.video=l),placeholder:"Upload video",onFileChange:a[7]||(a[7]=l=>e.unref(t).specialData.video=l),uploadPath:"specials",type:"file",class:"mn-b-thin w-100 bg-grey pd-medium radius-small t-black"},null,8,["field"]),H,e.createElementVNode("div",$,[e.createVNode(b.default,{photo:e.unref(t).specialData.ticketImage,"onUpdate:photo":a[8]||(a[8]=l=>e.unref(t).specialData.ticketImage=l),uploadPath:"/specials",class:"aspect-1x1 w-4r o-hidden radius-extra"},null,8,["photo"]),e.createElementVNode("div",j,[e.createVNode(n.default,{field:e.unref(t).specialData.ticketLinkStripe,"onUpdate:field":a[9]||(a[9]=l=>e.unref(t).specialData.ticketLinkStripe=l),placeholder:"Link to ticket stripe payment page",class:"mn-b-thin w-100 bg-grey pd-medium radius-small"},null,8,["field"]),e.createVNode(n.default,{field:e.unref(t).specialData.ticketPrice,"onUpdate:field":a[10]||(a[10]=l=>e.unref(t).specialData.ticketPrice=l),type:"number",placeholder:"Ticket price in baht",class:"mn-b-thin w-100 bg-grey pd-medium radius-small"},null,8,["field"])])]),J,Y,e.createVNode(n.default,{field:e.unref(t).specialData.titleMainGuest,"onUpdate:field":a[11]||(a[11]=l=>e.unref(t).specialData.titleMainGuest=l),placeholder:"Title for Main Guest section",class:"mn-b-thin w-100 bg-grey pd-medium radius-small"},null,8,["field"]),e.createVNode(n.default,{field:e.unref(t).specialData.guestDescription,"onUpdate:field":a[12]||(a[12]=l=>e.unref(t).specialData.guestDescription=l),placeholder:"Description for Main Guest section",class:"mn-b-thin w-100 bg-grey pd-medium radius-small"},null,8,["field"]),e.createElementVNode("div",K,[e.createVNode(n.default,{field:e.unref(t).specialData.guestFacebook,"onUpdate:field":a[13]||(a[13]=l=>e.unref(t).specialData.guestFacebook=l),placeholder:"Facebook of Main Guest",class:"mn-b-thin w-100 bg-grey pd-medium radius-small"},null,8,["field"]),e.createVNode(n.default,{field:e.unref(t).specialData.guestInstagram,"onUpdate:field":a[14]||(a[14]=l=>e.unref(t).specialData.guestInstagram=l),placeholder:"Instagram of Main Guest",class:"mn-b-thin w-100 bg-grey pd-medium radius-small"},null,8,["field"]),e.createVNode(n.default,{field:e.unref(t).specialData.guestTwitter,"onUpdate:field":a[15]||(a[15]=l=>e.unref(t).specialData.guestTwitter=l),placeholder:"Twitter of Main Guest",class:"mn-b-thin w-100 bg-grey pd-medium radius-small"},null,8,["field"]),e.createVNode(n.default,{field:e.unref(t).specialData.guestTelegram,"onUpdate:field":a[16]||(a[16]=l=>e.unref(t).specialData.guestTelegram=l),placeholder:"Telegram of Main Guest",class:"mn-b-thin w-100 bg-grey pd-medium radius-small"},null,8,["field"]),e.createVNode(n.default,{field:e.unref(t).specialData.guestSoundcloud,"onUpdate:field":a[17]||(a[17]=l=>e.unref(t).specialData.guestSoundcloud=l),placeholder:"Link to Main Guest soundcloud track",class:"mn-b-thin w-100 bg-grey pd-medium radius-small"},null,8,["field"]),e.createVNode(n.default,{field:e.unref(t).specialData.guestSpotify,"onUpdate:field":a[18]||(a[18]=l=>e.unref(t).specialData.guestSpotify=l),placeholder:"Link to Main guest spotify track",class:"mn-b-thin w-100 bg-grey pd-medium radius-small"},null,8,["field"])]),Q,e.createVNode(f.default,{field:e.unref(t).specialData.guestVideo,"onUpdate:field":a[19]||(a[19]=l=>e.unref(t).specialData.guestVideo=l),placeholder:"Upload video",onFileChange:a[20]||(a[20]=l=>e.unref(t).specialData.guestVideo=l),uploadPath:"/specials",type:"file",class:"mn-b-thin w-100 bg-grey pd-medium radius-small t-black"},null,8,["field"]),e.createVNode(k.default,{title:"Guests",placeholder:"No guests added yet",actions:[{label:"+",function:()=>e.unref(t).specialData.guests.push({name:null,description:null,photo:null,main:!1})}],class:"cols-1 mn-b-thin t-black gap-thin"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(t).specialData.guests,(l,c)=>(e.openBlock(),e.createElementBlock("div",{class:"mn-b-small gap-small cols-2-fit-content",key:c},[e.createVNode(b.default,{photo:l.photo,"onUpdate:photo":d=>l.photo=d,uploadPath:"/specials",class:"aspect-1x1 w-8r o-hidden radius-extra"},null,8,["photo","onUpdate:photo"]),e.createElementVNode("div",W,[e.createElementVNode("div",X,[e.createVNode(n.default,{field:l.name,"onUpdate:field":d=>l.name=d,placeholder:"Name",class:"w-100 mn-b-thin bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(n.default,{field:l.description,"onUpdate:field":d=>l.description=d,placeholder:"Description",class:"w-100 mn-b-thin bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"])]),e.createElementVNode("div",Z,[e.createVNode(N.default,{onClick:()=>e.unref(t).specialData.guests.splice(c,1),class:"i-medium"},null,8,["onClick"])])])]))),128))]),_:1},8,["actions"]),ee,te,e.createVNode(k.default,{title:"Line Up",placeholder:"No line ups added yet",actions:[{label:"+",function:()=>e.unref(t).specialData.lineup.push({name:null,description:null,photo:null,main:!1})}],class:"cols-1 t-black gap-thin"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(t).specialData.lineup,(l,c)=>(e.openBlock(),e.createElementBlock("div",{class:"mn-b-thin gap-small flex-nowrap flex",key:c},[e.createVNode(n.default,{field:l.name,"onUpdate:field":d=>l.name=d,placeholder:"Name",class:"w-100 bg-grey radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(n.default,{field:l.time,"onUpdate:field":d=>l.time=d,placeholder:"Time",class:"w-100 bg-grey radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createElementVNode("div",le,[e.createVNode(N.default,{onClick:()=>e.unref(t).specialData.lineup.splice(c,1),class:"i-medium"},null,8,["onClick"])])]))),128))]),_:1},8,["actions"]),ae,e.createVNode(f.default,{field:e.unref(t).specialData.lineupBackground,"onUpdate:field":a[21]||(a[21]=l=>e.unref(t).specialData.lineupBackground=l),placeholder:"Upload image",onFileChange:a[22]||(a[22]=l=>e.unref(t).specialData.lineupBackground=l),uploadPath:"/specials",type:"file",class:"mn-b-thin w-100 bg-grey pd-medium radius-small t-black"},null,8,["field"]),se,e.createVNode(f.default,{field:e.unref(t).specialData.previousVideo,"onUpdate:field":a[23]||(a[23]=l=>e.unref(t).specialData.previousVideo=l),placeholder:"Upload image",onFileChange:a[24]||(a[24]=l=>e.unref(t).specialData.previousVideo=l),uploadPath:"/specials",type:"file",class:"mn-b-thin w-100 bg-grey pd-medium radius-small t-black"},null,8,["field"])])):e.createCommentVNode("",!0),ne,e.createVNode(e.unref(P.default),{modelValue:r.value,"onUpdate:modelValue":a[25]||(a[25]=l=>r.value=l),"alt-position":w,range:"",class:"mn-b-semi"},null,8,["modelValue"]),oe,e.unref(t)?(e.openBlock(),e.createElementBlock("section",ie,[e.createVNode(C.default,{content:e.unref(t).content,onUpdate:a[26]||(a[26]=l=>e.unref(t).content=l)},null,8,["content"])])):e.createCommentVNode("",!0),e.unref(t)?(e.openBlock(),e.createElementBlock("section",re,[e.createElementVNode("div",de,[e.unref(p).params.url?(e.openBlock(),e.createElementBlock("a",{key:0,onClick:a[27]||(a[27]=l=>B()),class:"mn-r-auto bg-red t-white t-black button"},"Delete")):e.createCommentVNode("",!0),e.createElementVNode("a",{onClick:a[28]||(a[28]=l=>U()),class:"mn-l-auto bg-white t-black button"},"To Drafts"),e.createElementVNode("a",{onClick:a[29]||(a[29]=l=>y()),class:"mn-l-thin bg-black t-white button"},"Publish")])])):e.createCommentVNode("",!0),e.createVNode(_.default,{title:"Добавить участника",onClosePopup:E,isPopupOpen:g.value,class:"w-m-33r t-left pd-big bg-white radius-big"},{default:e.withCtx(()=>[ue,e.createVNode(T.default,{onTagsChanged:a[30]||(a[30]=l=>e.unref(t).tags=l),tags:e.unref(t).tags},null,8,["tags"]),ce,e.createVNode(q.default,{modelValue:i.value,"onUpdate:modelValue":a[31]||(a[31]=l=>i.value=l),options:e.unref(h),multiple:!1,taggable:!1,placeholder:"Type to search or add tag",label:"name","track-by":"_id",class:"mn-b-medium bg-grey radius-medium pd-small"},null,8,["modelValue","options"]),i.value?(e.openBlock(),e.createElementBlock("h5",pe,"Options:")):e.createCommentVNode("",!0),i.value?(e.openBlock(),e.createElementBlock("div",me,[e.createVNode(V.default,{label:"Hide Author",radio:e.unref(t).creator.hidden,"onUpdate:radio":a[32]||(a[32]=l=>e.unref(t).creator.hidden=l),name:"prices",class:"w-100"},null,8,["radio"])])):e.createCommentVNode("",!0),e.createVNode(M.default,{submit:x,callback:s.redirectTo,class:"w-100 bg-black t-white"},{default:e.withCtx(()=>[e.createTextVNode("Publish")]),_:1},8,["callback"])]),_:1},8,["isPopupOpen"])])):e.createCommentVNode("",!0)}};exports.default=fe;