@ozdao/prometheus-framework 0.2.34 → 0.2.36
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/events.server.js +2 -1
- package/dist/events.server.mjs +2 -1
- package/dist/main.css +1 -1
- package/dist/node_modules/@ozdao/prometheus-framework/dist/_virtual/_commonjsHelpers.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/_virtual/_commonjsHelpers.js +6 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/_virtual/_plugin-vue_export-helper.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/_virtual/js.cookie.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/_virtual/js.cookie.js +4 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/node_modules/js-cookie/src/js.cookie.cjs +7 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/node_modules/js-cookie/src/js.cookie.js +97 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/node_modules/vue-select/dist/vue-select.es.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/node_modules/vue-select/dist/vue-select.es.js +173 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/@capacitor/core/dist/index.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/@capacitor/core/dist/index.js +337 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/@capacitor/preferences/dist/esm/index.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/@capacitor/preferences/dist/esm/index.js +7 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/@capacitor/preferences/dist/esm/web.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/@capacitor/preferences/dist/esm/web.js +54 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/adapters/adapters.cjs +3 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/adapters/adapters.js +51 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/adapters/xhr.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/adapters/xhr.js +109 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/axios.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/axios.js +47 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.js +73 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/cancel/CanceledError.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/cancel/CanceledError.js +11 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/cancel/isCancel.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/cancel/isCancel.js +6 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/Axios.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/Axios.js +117 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/AxiosError.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/AxiosError.js +54 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.cjs +2 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.js +165 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.js +59 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/buildFullPath.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/buildFullPath.js +8 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/dispatchRequest.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/dispatchRequest.js +31 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.js +72 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/settle.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/settle.js +14 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/transformData.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/core/transformData.js +13 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/defaults/index.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/defaults/index.js +88 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/defaults/transitional.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/defaults/transitional.js +8 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/env/data.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/env/data.js +4 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/AxiosURLSearchParams.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +33 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.js +72 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/bind.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/bind.js +8 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/buildURL.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/buildURL.js +19 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.js +6 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/cookies.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/cookies.js +32 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.js +30 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isAbsoluteURL.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isAbsoluteURL.js +6 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isAxiosError.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isAxiosError.js +7 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.js +37 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/null.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/null.js +4 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/parseHeaders.cjs +2 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/parseHeaders.js +30 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/parseProtocol.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/parseProtocol.js +7 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/speedometer.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/speedometer.js +19 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/spread.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/spread.js +8 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/toFormData.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/toFormData.js +84 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/toURLEncodedForm.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/toURLEncodedForm.js +13 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/validator.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/validator.js +51 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/Blob.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/Blob.js +4 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/FormData.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/FormData.js +4 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/URLSearchParams.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +5 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/index.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/browser/index.js +15 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.js +7 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/index.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/index.js +9 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/utils.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/utils.js +224 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/auth/store/auth.js +44 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/auth/store/twofa.js +19 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/community/store/blogposts.js +38 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/community/store/reactions.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/community/store/reactions.js +16 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/events/store/events.js +42 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/globals/localization/vue-i18n.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/globals/localization/vue-i18n.js +22 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/globals/store/globals.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/globals/store/globals.js +59 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.js +28 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.js +21 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.js +21 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.js +21 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/line.vue.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/line.vue.js +23 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.js +21 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.js +29 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.js +21 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.js +3 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/middlewares/client/inputs.validation.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/middlewares/client/inputs.validation.js +35 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.js +60 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/components/blocks/Socials.vue.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/components/blocks/Socials.vue.js +80 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/departments.js +34 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/invites.js +17 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/memberships.js +16 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/organizations/store/organizations.js +42 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/products/store/categories.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/products/store/categories.js +20 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/products/store/products.js +28 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/reports/store/reports.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/reports/store/reports.js +28 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/src/modules/spots/store/spots.js +34 -0
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +2 -61
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.js +61 -2
- package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.js +62 -0
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +49 -2
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +2 -49
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.js +42 -34
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +2 -70
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +70 -2
- package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.js +2 -93
- package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.js +93 -2
- package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +99 -2
- package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +2 -73
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +30 -28
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +25 -24
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -5
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +2 -65
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +5 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +65 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +381 -140
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +4 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +122 -48
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.js +116 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.js +4 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionLineup.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionLineup.vue.js +29 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.cjs +3 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue.js +117 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.js +4 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.js +108 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionSpecialGuests.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionSpecialGuests.vue.js +70 -0
- package/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/store/events.js +20 -16
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +2 -11
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +11 -2
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +14 -14
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +58 -55
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +3 -3
- package/dist/prometheus-framework.cjs.js +13 -14
- package/dist/prometheus-framework.es.js +594 -805
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/Button/Button.vue +26 -19
- package/src/components/FieldBig/FieldBig.vue +1 -1
- package/src/components/FieldPhone/FieldPhone.vue +55 -304
- package/src/components/FieldPhone/FieldPhone2.vue +671 -0
- package/src/components/FieldPhone/click-outside.js +16 -11
- package/src/components/Footer/Footer.vue +4 -4
- package/src/components/Header/Header.vue +2 -1
- package/src/components/Select/Select.vue +2 -1
- package/src/modules/chats/components/sections/ChatWindow.vue +3 -1
- package/src/modules/chats/store/chat.store.js +1 -3
- package/src/modules/events/components/pages/EditEvent.vue +2 -1
- package/src/modules/events/components/pages/Event.vue +8 -2
- package/src/modules/events/components/sections/SectionMainGuest.vue +1 -1
- package/src/modules/events/components/sections/SectionSpecialGuests.vue +0 -1
- package/src/modules/events/store/events.js +23 -3
- package/src/modules/globals/mixins/mixins.js +33 -2
- package/src/modules/globals/store/globals.js +1 -0
- package/src/modules/landing/components/sections/HeroGovernance.vue +156 -0
- package/src/modules/marketplace/components/sections/Filters.vue +3 -0
- package/src/modules/marketplace/router/marketplace.js +1 -0
- package/src/modules/orders/components/blocks/StatusHistory.vue +8 -3
- package/src/modules/orders/components/pages/EditOrder.vue +9 -11
- package/src/modules/orders/components/pages/FormOrder.vue +58 -46
- package/src/modules/orders/components/pages/Order.vue +63 -42
- package/src/modules/orders/components/sections/FormOrderDetails.vue +50 -18
- package/src/modules/orders/controllers/orders.controller.js +10 -1
- package/src/modules/orders/models/order.model.js +1 -0
- package/src/modules/orders/store/orders.js +21 -27
- package/src/modules/orders/store/shopcart.js +14 -2
- package/src/modules/organizations/components/sections/DetailsTab.vue +2 -2
- package/src/modules/products/components/sections/FilterProducts.vue +3 -4
- package/src/modules/products/components/sections/HeroRecommendation.vue +29 -2
- package/src/modules/products/components/sections/SectionProduct.vue +14 -9
- package/src/modules/products/controllers/products.controller.js +26 -17
- package/src/modules/products/routes/products.routes.js +6 -6
- package/src/modules/products/store/products.js +10 -10
- package/src/styles/config.scss +10 -3
@@ -1,192 +1,433 @@
|
|
1
|
-
import { ref as
|
2
|
-
import "../../../constructor/components/elements/Textarea.
|
3
|
-
import
|
4
|
-
import
|
1
|
+
import { ref as b, onMounted as N, unref as t, openBlock as d, createElementBlock as r, createElementVNode as i, createVNode as s, createCommentVNode as f, createBlock as R, withCtx as D, Fragment as x, renderList as P, createTextVNode as A } from "vue";
|
2
|
+
import "../../../constructor/components/elements/Textarea.vue.js";
|
3
|
+
import B from "../../../constructor/components/sections/Constructor.vue.js";
|
4
|
+
import I from "../../../../../node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js";
|
5
5
|
import "../../../../../node_modules/@vuepic/vue-datepicker/dist/main.css.js";
|
6
|
-
import
|
7
|
-
import
|
8
|
-
import
|
9
|
-
import
|
10
|
-
import
|
11
|
-
import
|
12
|
-
import
|
13
|
-
import
|
14
|
-
import
|
15
|
-
import
|
16
|
-
import
|
6
|
+
import T from "../../../../components/Block/Block.vue.js";
|
7
|
+
import z from "../../../../components/Popup/Popup.vue2.js";
|
8
|
+
import n from "../../../../components/Field/Field.vue2.js";
|
9
|
+
import H from "../../../../components/FieldTags/BlockTags.vue.js";
|
10
|
+
import E from "../../../../components/Checkbox/Checkbox.vue2.js";
|
11
|
+
import J from "../../../../components/SelectMulti/SelectMulti.vue.js";
|
12
|
+
import w from "../../../../components/Upload/Upload.vue.js";
|
13
|
+
import y from "../../../../components/UploadImage/UploadImage.vue.js";
|
14
|
+
import K from "../../../../components/EditImages/EditImages.vue.js";
|
15
|
+
import Y from "../../../../components/Button/Button.vue2.js";
|
16
|
+
import V from "../../../icons/navigation/IconDelete.vue.js";
|
17
|
+
import { useRoute as j, useRouter as q } from "vue-router";
|
18
|
+
import { read as Q, clean as W, state as X, update as C, create as S, remove as Z } from "../../store/events.js";
|
19
|
+
import { state as u } from "../../../auth/store/auth.js";
|
20
|
+
import { actions as ee } from "../../../organizations/store/organizations.js";
|
17
21
|
import "./EditEvent.vue2.js";
|
18
|
-
const
|
22
|
+
const le = {
|
19
23
|
key: 0,
|
20
24
|
class: "h-100 pd-thin"
|
21
|
-
},
|
25
|
+
}, ae = { class: "mn-b-thin radius-small w-100 h-10r bg-grey flex-center flex-column flex" }, te = /* @__PURE__ */ i("h4", null, "Upload Event Cover", -1), se = {
|
22
26
|
key: 0,
|
27
|
+
class: "mn-b-small"
|
28
|
+
}, ie = {
|
29
|
+
key: 2,
|
30
|
+
class: "mn-b-semi"
|
31
|
+
}, oe = /* @__PURE__ */ i("h4", { class: "mn-b-thin" }, " Hero Section ", -1), ne = /* @__PURE__ */ i("h5", { class: "mn-b-thin" }, " Video in Hero Section ", -1), de = /* @__PURE__ */ i("h5", { class: "mn-b-thin" }, " Ticket ", -1), re = { class: "mn-b-small gap-small cols-2-fit-content" }, ue = { class: "gap-thin flex-nowrap flex w-100" }, pe = /* @__PURE__ */ i("hr", { class: "bg-black-transp-10 mn-b-semi mn-t-semi d-block" }, null, -1), me = /* @__PURE__ */ i("h4", { class: "mn-b-thin" }, " Guest Section ", -1), ce = { class: "gap-thin cols-3" }, fe = /* @__PURE__ */ i("h5", { class: "mn-b-thin" }, " Video in Guests Section ", -1), ge = { class: "gap-thin flex-nowrap flex w-100" }, be = { class: "w-100" }, he = { class: "radius-small h-100 i-big flex-center flex aspect-1x1 bg-red" }, ve = /* @__PURE__ */ i("hr", { class: "bg-black-transp-10 mn-b-semi mn-t-semi d-block" }, null, -1), De = /* @__PURE__ */ i("h4", { class: "mn-b-thin" }, " Lineup Section ", -1), we = { class: "radius-small h-100 i-big flex-center flex aspect-1x1 bg-red" }, ke = /* @__PURE__ */ i("h5", { class: "mn-b-thin" }, " Background in Lineup Section ", -1), ye = /* @__PURE__ */ i("h5", { class: "mn-b-thin" }, " Video in Previous Partys Section ", -1), Ue = /* @__PURE__ */ i("h3", { class: "mn-b-small" }, "Date", -1), _e = /* @__PURE__ */ i("h3", { class: "mn-b-small" }, "Description", -1), xe = {
|
32
|
+
key: 3,
|
23
33
|
class: "pd-b-extra w-100 bg-grey pd-big radius-big"
|
24
|
-
},
|
25
|
-
key:
|
34
|
+
}, Pe = {
|
35
|
+
key: 4,
|
26
36
|
class: "pd-thin pos-sticky pos-l-0 pos-b-0 w-100"
|
27
|
-
},
|
37
|
+
}, Te = { class: "pd-thin radius-big bg-main w-100 flex-nowrap flex" }, Ee = /* @__PURE__ */ i("h3", { class: "mn-b-small" }, "Final Touches", -1), Ve = /* @__PURE__ */ i("h5", { class: "mn-b-thin" }, "Add to public:", -1), Ce = {
|
28
38
|
key: 0,
|
29
39
|
class: "mn-b-thin"
|
30
|
-
},
|
40
|
+
}, Se = {
|
31
41
|
key: 1,
|
32
42
|
class: "mn-b-medium br-grey br-2px br-solid pd-small radius-big"
|
33
|
-
},
|
43
|
+
}, el = {
|
34
44
|
__name: "EditEvent",
|
35
|
-
setup(
|
36
|
-
const
|
37
|
-
let e =
|
38
|
-
const
|
39
|
-
|
40
|
-
if (
|
41
|
-
const
|
42
|
-
e.value =
|
43
|
-
const
|
44
|
-
|
45
|
+
setup(Me) {
|
46
|
+
const h = j(), v = q();
|
47
|
+
let e = b(null), U = b(null);
|
48
|
+
const _ = b([]), p = b(null), m = b(), M = () => ({ top: 0, left: 0 });
|
49
|
+
N(async () => {
|
50
|
+
if (h.params.url) {
|
51
|
+
const a = await Q({ user: u.user._id, url: h.params.url });
|
52
|
+
e.value = a.pop(), console.log(e.value);
|
53
|
+
const l = e.value.date.start, g = e.value.date.end;
|
54
|
+
m.value = [l, g];
|
45
55
|
} else {
|
46
|
-
|
47
|
-
const
|
48
|
-
|
56
|
+
W(), e.value = X.current;
|
57
|
+
const a = /* @__PURE__ */ new Date(), l = /* @__PURE__ */ new Date();
|
58
|
+
m.value = [a, l];
|
49
59
|
}
|
50
60
|
e.value.owner || (e.value.owner = {
|
51
|
-
target:
|
61
|
+
target: u.user._id,
|
52
62
|
type: "user"
|
53
63
|
}), e.value.creator || (e.value.creator = {
|
54
|
-
target:
|
64
|
+
target: u.user._id,
|
55
65
|
type: "user",
|
56
66
|
hidden: !1
|
57
|
-
}), e.value.owner.type === "organization" && (
|
67
|
+
}), e.value.owner.type === "organization" && (p.value = {
|
58
68
|
_id: e.value.owner.target._id,
|
59
69
|
name: e.value.owner.target.profile.name,
|
60
70
|
photo: e.value.owner.target.profile.photo
|
61
71
|
});
|
62
|
-
const
|
63
|
-
user:
|
64
|
-
postable:
|
72
|
+
const o = await ee.read({
|
73
|
+
user: u.user._id,
|
74
|
+
postable: u.user._id,
|
65
75
|
limit: 100
|
66
76
|
});
|
67
|
-
|
68
|
-
name:
|
69
|
-
_id:
|
70
|
-
photo:
|
77
|
+
U.value = o.map((a) => ({
|
78
|
+
name: a.profile.name,
|
79
|
+
_id: a._id,
|
80
|
+
photo: a.profile.photo
|
71
81
|
}));
|
72
82
|
});
|
73
|
-
const
|
74
|
-
function
|
75
|
-
|
83
|
+
const k = b(!1);
|
84
|
+
function G() {
|
85
|
+
k.value = !0;
|
76
86
|
}
|
77
|
-
function
|
78
|
-
|
87
|
+
function L() {
|
88
|
+
k.value = !1;
|
79
89
|
}
|
80
|
-
function
|
81
|
-
|
82
|
-
start:
|
83
|
-
end:
|
84
|
-
},
|
85
|
-
|
86
|
-
}).catch((
|
87
|
-
console.error(
|
88
|
-
}) :
|
89
|
-
|
90
|
-
}).catch((
|
91
|
-
console.error(
|
90
|
+
function F() {
|
91
|
+
_.value.length > 0 && _.value.map((o) => o.text), e.value.status = "draft", e.value.date = {
|
92
|
+
start: m.value[0],
|
93
|
+
end: m.value[1]
|
94
|
+
}, h.params.url ? C(e.value).then((o) => {
|
95
|
+
v.push({ name: "Event", params: { url: o.url } });
|
96
|
+
}).catch((o) => {
|
97
|
+
console.error(o);
|
98
|
+
}) : S(e.value).then((o) => {
|
99
|
+
v.push({ name: "Event", params: { url: o.url } });
|
100
|
+
}).catch((o) => {
|
101
|
+
console.error(o);
|
92
102
|
});
|
93
103
|
}
|
94
|
-
function
|
95
|
-
|
96
|
-
target:
|
104
|
+
function O() {
|
105
|
+
p.value && (e.value.owner = {
|
106
|
+
target: p.value._id,
|
97
107
|
type: "organization"
|
98
|
-
}),
|
99
|
-
start:
|
100
|
-
end:
|
101
|
-
}, console.log(
|
102
|
-
|
103
|
-
}).catch((
|
104
|
-
console.log(
|
105
|
-
}) :
|
106
|
-
|
107
|
-
}).catch((
|
108
|
-
console.log(
|
108
|
+
}), p.value || (e.value.creator.hidden = !1), p.value || (e.value.organization = e.value.creator), e.value.status = "published", e.value.date = {
|
109
|
+
start: m.value[0],
|
110
|
+
end: m.value[1]
|
111
|
+
}, console.log(m.value), h.params.url ? (console.log(e.value), C(e.value).then((o) => {
|
112
|
+
v.push({ name: "Event", params: { url: o.url } });
|
113
|
+
}).catch((o) => {
|
114
|
+
console.log(o);
|
115
|
+
})) : S(e.value).then((o) => {
|
116
|
+
v.push({ name: "Event", params: { url: o.url } });
|
117
|
+
}).catch((o) => {
|
118
|
+
console.log(o);
|
109
119
|
});
|
110
120
|
}
|
111
|
-
function
|
112
|
-
confirm("Are you sure you want to delete this event?") &&
|
113
|
-
|
114
|
-
}).catch((
|
115
|
-
console.error(
|
121
|
+
function $() {
|
122
|
+
confirm("Are you sure you want to delete this event?") && Z(e.value._id).then((o) => {
|
123
|
+
v.push({ name: "User Events", params: { _id: e.value.creator.target._id } });
|
124
|
+
}).catch((o) => {
|
125
|
+
console.error(o);
|
116
126
|
});
|
117
127
|
}
|
118
|
-
return (
|
119
|
-
i("div",
|
120
|
-
s(
|
121
|
-
photo:
|
122
|
-
"onUpdate:photo":
|
123
|
-
uploadPath: "
|
128
|
+
return (o, a) => t(e) ? (d(), r("article", le, [
|
129
|
+
i("div", ae, [
|
130
|
+
s(y, {
|
131
|
+
photo: t(e).cover,
|
132
|
+
"onUpdate:photo": a[0] || (a[0] = (l) => t(e).cover = l),
|
133
|
+
uploadPath: "specials",
|
124
134
|
class: "h-4r w-4r aspect-1x1 o-hidden mn-b-thin radius-extra"
|
125
|
-
}, null, 8, ["photo"
|
126
|
-
|
135
|
+
}, null, 8, ["photo"]),
|
136
|
+
te
|
127
137
|
]),
|
128
|
-
s(
|
129
|
-
field:
|
130
|
-
"onUpdate:field":
|
138
|
+
s(n, {
|
139
|
+
field: t(e).name,
|
140
|
+
"onUpdate:field": a[1] || (a[1] = (l) => t(e).name = l),
|
131
141
|
placeholder: "Event name",
|
132
142
|
class: "mn-b-thin w-100 bg-grey pd-medium radius-small"
|
133
143
|
}, null, 8, ["field"]),
|
134
|
-
s(
|
135
|
-
field:
|
136
|
-
"onUpdate:field":
|
144
|
+
s(n, {
|
145
|
+
field: t(e).description,
|
146
|
+
"onUpdate:field": a[2] || (a[2] = (l) => t(e).description = l),
|
137
147
|
type: "textfield",
|
138
148
|
placeholder: "Enter short description",
|
139
149
|
class: "mn-b-semi w-100 bg-grey pd-medium radius-small"
|
140
150
|
}, null, 8, ["field"]),
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
151
|
+
u.access.roles && (u.access.roles.includes("ROLE_MODERATOR") || u.access.roles.includes("ROLE_ADMIN")) ? (d(), r("h3", se, " Special Details ")) : f("", !0),
|
152
|
+
u.access.roles && (u.access.roles.includes("ROLE_MODERATOR") || u.access.roles.includes("ROLE_ADMIN")) ? (d(), R(E, {
|
153
|
+
key: 1,
|
154
|
+
label: "Special",
|
155
|
+
radio: t(e).special,
|
156
|
+
"onUpdate:radio": a[3] || (a[3] = (l) => t(e).special = !t(e).special),
|
157
|
+
class: "mn-b-semi w-100 bg-black t-white pd-medium radius-small"
|
158
|
+
}, null, 8, ["radio"])) : f("", !0),
|
159
|
+
t(e).special ? (d(), r("div", ie, [
|
160
|
+
oe,
|
161
|
+
s(n, {
|
162
|
+
field: t(e).specialData.subtitle,
|
163
|
+
"onUpdate:field": a[4] || (a[4] = (l) => t(e).specialData.subtitle = l),
|
164
|
+
placeholder: "Event subtitle",
|
165
|
+
class: "mn-b-thin w-100 bg-grey pd-medium radius-small"
|
166
|
+
}, null, 8, ["field"]),
|
167
|
+
s(K, {
|
168
|
+
images: t(e).specialData.logos,
|
169
|
+
uploadPath: "/specials",
|
170
|
+
text: {
|
171
|
+
title: "Drag & Drop Your Logos Here",
|
172
|
+
subtitle: "Files supported: JPG, PNG, GIF"
|
173
|
+
},
|
174
|
+
options: {
|
175
|
+
showTitle: !0,
|
176
|
+
showText: !1
|
177
|
+
},
|
178
|
+
"onUpdate:images": a[5] || (a[5] = (l) => t(e).specialData.logos = l),
|
179
|
+
class: "mn-b-thin bg-grey radius-small"
|
180
|
+
}, null, 8, ["images"]),
|
181
|
+
ne,
|
182
|
+
s(w, {
|
183
|
+
field: t(e).specialData.video,
|
184
|
+
"onUpdate:field": a[6] || (a[6] = (l) => t(e).specialData.video = l),
|
185
|
+
placeholder: "Upload video",
|
186
|
+
onFileChange: a[7] || (a[7] = (l) => t(e).specialData.video = l),
|
187
|
+
uploadPath: "specials",
|
188
|
+
type: "file",
|
189
|
+
class: "mn-b-thin w-100 bg-grey pd-medium radius-small t-black"
|
190
|
+
}, null, 8, ["field"]),
|
191
|
+
de,
|
192
|
+
i("div", re, [
|
193
|
+
s(y, {
|
194
|
+
photo: t(e).specialData.ticketImage,
|
195
|
+
"onUpdate:photo": a[8] || (a[8] = (l) => t(e).specialData.ticketImage = l),
|
196
|
+
uploadPath: "/specials",
|
197
|
+
class: "aspect-1x1 w-4r o-hidden radius-extra"
|
198
|
+
}, null, 8, ["photo"]),
|
199
|
+
i("div", ue, [
|
200
|
+
s(n, {
|
201
|
+
field: t(e).specialData.ticketLinkStripe,
|
202
|
+
"onUpdate:field": a[9] || (a[9] = (l) => t(e).specialData.ticketLinkStripe = l),
|
203
|
+
placeholder: "Link to ticket stripe payment page",
|
204
|
+
class: "mn-b-thin w-100 bg-grey pd-medium radius-small"
|
205
|
+
}, null, 8, ["field"]),
|
206
|
+
s(n, {
|
207
|
+
field: t(e).specialData.ticketPrice,
|
208
|
+
"onUpdate:field": a[10] || (a[10] = (l) => t(e).specialData.ticketPrice = l),
|
209
|
+
type: "number",
|
210
|
+
placeholder: "Ticket price in baht",
|
211
|
+
class: "mn-b-thin w-100 bg-grey pd-medium radius-small"
|
212
|
+
}, null, 8, ["field"])
|
213
|
+
])
|
214
|
+
]),
|
215
|
+
pe,
|
216
|
+
me,
|
217
|
+
s(n, {
|
218
|
+
field: t(e).specialData.titleMainGuest,
|
219
|
+
"onUpdate:field": a[11] || (a[11] = (l) => t(e).specialData.titleMainGuest = l),
|
220
|
+
placeholder: "Title for Main Guest section",
|
221
|
+
class: "mn-b-thin w-100 bg-grey pd-medium radius-small"
|
222
|
+
}, null, 8, ["field"]),
|
223
|
+
s(n, {
|
224
|
+
field: t(e).specialData.guestDescription,
|
225
|
+
"onUpdate:field": a[12] || (a[12] = (l) => t(e).specialData.guestDescription = l),
|
226
|
+
placeholder: "Description for Main Guest section",
|
227
|
+
class: "mn-b-thin w-100 bg-grey pd-medium radius-small"
|
228
|
+
}, null, 8, ["field"]),
|
229
|
+
i("div", ce, [
|
230
|
+
s(n, {
|
231
|
+
field: t(e).specialData.guestFacebook,
|
232
|
+
"onUpdate:field": a[13] || (a[13] = (l) => t(e).specialData.guestFacebook = l),
|
233
|
+
placeholder: "Facebook of Main Guest",
|
234
|
+
class: "mn-b-thin w-100 bg-grey pd-medium radius-small"
|
235
|
+
}, null, 8, ["field"]),
|
236
|
+
s(n, {
|
237
|
+
field: t(e).specialData.guestInstagram,
|
238
|
+
"onUpdate:field": a[14] || (a[14] = (l) => t(e).specialData.guestInstagram = l),
|
239
|
+
placeholder: "Instagram of Main Guest",
|
240
|
+
class: "mn-b-thin w-100 bg-grey pd-medium radius-small"
|
241
|
+
}, null, 8, ["field"]),
|
242
|
+
s(n, {
|
243
|
+
field: t(e).specialData.guestTwitter,
|
244
|
+
"onUpdate:field": a[15] || (a[15] = (l) => t(e).specialData.guestTwitter = l),
|
245
|
+
placeholder: "Twitter of Main Guest",
|
246
|
+
class: "mn-b-thin w-100 bg-grey pd-medium radius-small"
|
247
|
+
}, null, 8, ["field"]),
|
248
|
+
s(n, {
|
249
|
+
field: t(e).specialData.guestTelegram,
|
250
|
+
"onUpdate:field": a[16] || (a[16] = (l) => t(e).specialData.guestTelegram = l),
|
251
|
+
placeholder: "Telegram of Main Guest",
|
252
|
+
class: "mn-b-thin w-100 bg-grey pd-medium radius-small"
|
253
|
+
}, null, 8, ["field"]),
|
254
|
+
s(n, {
|
255
|
+
field: t(e).specialData.guestSoundcloud,
|
256
|
+
"onUpdate:field": a[17] || (a[17] = (l) => t(e).specialData.guestSoundcloud = l),
|
257
|
+
placeholder: "Link to Main Guest soundcloud track",
|
258
|
+
class: "mn-b-thin w-100 bg-grey pd-medium radius-small"
|
259
|
+
}, null, 8, ["field"]),
|
260
|
+
s(n, {
|
261
|
+
field: t(e).specialData.guestSpotify,
|
262
|
+
"onUpdate:field": a[18] || (a[18] = (l) => t(e).specialData.guestSpotify = l),
|
263
|
+
placeholder: "Link to Main guest spotify track",
|
264
|
+
class: "mn-b-thin w-100 bg-grey pd-medium radius-small"
|
265
|
+
}, null, 8, ["field"])
|
266
|
+
]),
|
267
|
+
fe,
|
268
|
+
s(w, {
|
269
|
+
field: t(e).specialData.guestVideo,
|
270
|
+
"onUpdate:field": a[19] || (a[19] = (l) => t(e).specialData.guestVideo = l),
|
271
|
+
placeholder: "Upload video",
|
272
|
+
onFileChange: a[20] || (a[20] = (l) => t(e).specialData.guestVideo = l),
|
273
|
+
uploadPath: "/specials",
|
274
|
+
type: "file",
|
275
|
+
class: "mn-b-thin w-100 bg-grey pd-medium radius-small t-black"
|
276
|
+
}, null, 8, ["field"]),
|
277
|
+
s(T, {
|
278
|
+
title: "Guests",
|
279
|
+
placeholder: "No guests added yet",
|
280
|
+
actions: [{
|
281
|
+
label: "+",
|
282
|
+
function: () => t(e).specialData.guests.push({ name: null, description: null, photo: null, main: !1 })
|
283
|
+
}],
|
284
|
+
class: "cols-1 mn-b-thin t-black gap-thin"
|
285
|
+
}, {
|
286
|
+
default: D(() => [
|
287
|
+
(d(!0), r(x, null, P(t(e).specialData.guests, (l, g) => (d(), r("div", {
|
288
|
+
class: "mn-b-small gap-small cols-2-fit-content",
|
289
|
+
key: g
|
290
|
+
}, [
|
291
|
+
s(y, {
|
292
|
+
photo: l.photo,
|
293
|
+
"onUpdate:photo": (c) => l.photo = c,
|
294
|
+
uploadPath: "/specials",
|
295
|
+
class: "aspect-1x1 w-8r o-hidden radius-extra"
|
296
|
+
}, null, 8, ["photo", "onUpdate:photo"]),
|
297
|
+
i("div", ge, [
|
298
|
+
i("div", be, [
|
299
|
+
s(n, {
|
300
|
+
field: l.name,
|
301
|
+
"onUpdate:field": (c) => l.name = c,
|
302
|
+
placeholder: "Name",
|
303
|
+
class: "w-100 mn-b-thin bg-white radius-small pd-medium"
|
304
|
+
}, null, 8, ["field", "onUpdate:field"]),
|
305
|
+
s(n, {
|
306
|
+
field: l.description,
|
307
|
+
"onUpdate:field": (c) => l.description = c,
|
308
|
+
placeholder: "Description",
|
309
|
+
class: "w-100 mn-b-thin bg-white radius-small pd-medium"
|
310
|
+
}, null, 8, ["field", "onUpdate:field"])
|
311
|
+
]),
|
312
|
+
i("div", he, [
|
313
|
+
s(V, {
|
314
|
+
onClick: () => t(e).specialData.guests.splice(g, 1),
|
315
|
+
class: "i-medium"
|
316
|
+
}, null, 8, ["onClick"])
|
317
|
+
])
|
318
|
+
])
|
319
|
+
]))), 128))
|
320
|
+
]),
|
321
|
+
_: 1
|
322
|
+
}, 8, ["actions"]),
|
323
|
+
ve,
|
324
|
+
De,
|
325
|
+
s(T, {
|
326
|
+
title: "Line Up",
|
327
|
+
placeholder: "No line ups added yet",
|
328
|
+
actions: [{
|
329
|
+
label: "+",
|
330
|
+
function: () => t(e).specialData.lineup.push({ name: null, description: null, photo: null, main: !1 })
|
331
|
+
}],
|
332
|
+
class: "cols-1 t-black gap-thin"
|
333
|
+
}, {
|
334
|
+
default: D(() => [
|
335
|
+
(d(!0), r(x, null, P(t(e).specialData.lineup, (l, g) => (d(), r("div", {
|
336
|
+
class: "mn-b-thin gap-small flex-nowrap flex",
|
337
|
+
key: g
|
338
|
+
}, [
|
339
|
+
s(n, {
|
340
|
+
field: l.name,
|
341
|
+
"onUpdate:field": (c) => l.name = c,
|
342
|
+
placeholder: "Name",
|
343
|
+
class: "w-100 bg-grey radius-small pd-medium"
|
344
|
+
}, null, 8, ["field", "onUpdate:field"]),
|
345
|
+
s(n, {
|
346
|
+
field: l.time,
|
347
|
+
"onUpdate:field": (c) => l.time = c,
|
348
|
+
placeholder: "Time",
|
349
|
+
class: "w-100 bg-grey radius-small pd-medium"
|
350
|
+
}, null, 8, ["field", "onUpdate:field"]),
|
351
|
+
i("div", we, [
|
352
|
+
s(V, {
|
353
|
+
onClick: () => t(e).specialData.lineup.splice(g, 1),
|
354
|
+
class: "i-medium"
|
355
|
+
}, null, 8, ["onClick"])
|
356
|
+
])
|
357
|
+
]))), 128))
|
358
|
+
]),
|
359
|
+
_: 1
|
360
|
+
}, 8, ["actions"]),
|
361
|
+
ke,
|
362
|
+
s(w, {
|
363
|
+
field: t(e).specialData.lineupBackground,
|
364
|
+
"onUpdate:field": a[21] || (a[21] = (l) => t(e).specialData.lineupBackground = l),
|
365
|
+
placeholder: "Upload image",
|
366
|
+
onFileChange: a[22] || (a[22] = (l) => t(e).specialData.lineupBackground = l),
|
367
|
+
uploadPath: "/specials",
|
368
|
+
type: "file",
|
369
|
+
class: "mn-b-thin w-100 bg-grey pd-medium radius-small t-black"
|
370
|
+
}, null, 8, ["field"]),
|
371
|
+
ye,
|
372
|
+
s(w, {
|
373
|
+
field: t(e).specialData.previousVideo,
|
374
|
+
"onUpdate:field": a[23] || (a[23] = (l) => t(e).specialData.previousVideo = l),
|
375
|
+
placeholder: "Upload image",
|
376
|
+
onFileChange: a[24] || (a[24] = (l) => t(e).specialData.previousVideo = l),
|
377
|
+
uploadPath: "/specials",
|
378
|
+
type: "file",
|
379
|
+
class: "mn-b-thin w-100 bg-grey pd-medium radius-small t-black"
|
380
|
+
}, null, 8, ["field"])
|
381
|
+
])) : f("", !0),
|
382
|
+
Ue,
|
383
|
+
s(t(I), {
|
384
|
+
modelValue: m.value,
|
385
|
+
"onUpdate:modelValue": a[25] || (a[25] = (l) => m.value = l),
|
386
|
+
"alt-position": M,
|
146
387
|
range: "",
|
147
388
|
class: "mn-b-semi"
|
148
389
|
}, null, 8, ["modelValue"]),
|
149
|
-
|
150
|
-
|
151
|
-
s(
|
152
|
-
content:
|
153
|
-
onUpdate:
|
390
|
+
_e,
|
391
|
+
t(e) ? (d(), r("section", xe, [
|
392
|
+
s(B, {
|
393
|
+
content: t(e).content,
|
394
|
+
onUpdate: a[26] || (a[26] = (l) => t(e).content = l)
|
154
395
|
}, null, 8, ["content"])
|
155
|
-
])) :
|
156
|
-
|
157
|
-
i("div",
|
158
|
-
|
396
|
+
])) : f("", !0),
|
397
|
+
t(e) ? (d(), r("section", Pe, [
|
398
|
+
i("div", Te, [
|
399
|
+
t(h).params.url ? (d(), r("a", {
|
159
400
|
key: 0,
|
160
|
-
onClick:
|
401
|
+
onClick: a[27] || (a[27] = (l) => $()),
|
161
402
|
class: "mn-r-auto bg-red t-white t-black button"
|
162
|
-
}, "Delete")) :
|
403
|
+
}, "Delete")) : f("", !0),
|
163
404
|
i("a", {
|
164
|
-
onClick:
|
405
|
+
onClick: a[28] || (a[28] = (l) => F()),
|
165
406
|
class: "mn-l-auto bg-white t-black button"
|
166
407
|
}, "To Drafts"),
|
167
408
|
i("a", {
|
168
|
-
onClick:
|
409
|
+
onClick: a[29] || (a[29] = (l) => G()),
|
169
410
|
class: "mn-l-thin bg-black t-white button"
|
170
411
|
}, "Publish")
|
171
412
|
])
|
172
|
-
])) :
|
173
|
-
s(
|
413
|
+
])) : f("", !0),
|
414
|
+
s(z, {
|
174
415
|
title: "Добавить участника",
|
175
|
-
onClosePopup:
|
176
|
-
isPopupOpen:
|
416
|
+
onClosePopup: L,
|
417
|
+
isPopupOpen: k.value,
|
177
418
|
class: "w-m-33r t-left pd-big bg-white radius-big"
|
178
419
|
}, {
|
179
|
-
default:
|
180
|
-
|
181
|
-
s(
|
182
|
-
onTagsChanged:
|
183
|
-
tags:
|
420
|
+
default: D(() => [
|
421
|
+
Ee,
|
422
|
+
s(H, {
|
423
|
+
onTagsChanged: a[30] || (a[30] = (l) => t(e).tags = l),
|
424
|
+
tags: t(e).tags
|
184
425
|
}, null, 8, ["tags"]),
|
185
|
-
|
186
|
-
s(
|
187
|
-
modelValue:
|
188
|
-
"onUpdate:modelValue":
|
189
|
-
options:
|
426
|
+
Ve,
|
427
|
+
s(J, {
|
428
|
+
modelValue: p.value,
|
429
|
+
"onUpdate:modelValue": a[31] || (a[31] = (l) => p.value = l),
|
430
|
+
options: t(U),
|
190
431
|
multiple: !1,
|
191
432
|
taggable: !1,
|
192
433
|
placeholder: "Type to search or add tag",
|
@@ -194,32 +435,32 @@ const L = {
|
|
194
435
|
"track-by": "_id",
|
195
436
|
class: "mn-b-medium bg-grey radius-medium pd-small"
|
196
437
|
}, null, 8, ["modelValue", "options"]),
|
197
|
-
|
198
|
-
|
199
|
-
s(
|
438
|
+
p.value ? (d(), r("h5", Ce, "Options:")) : f("", !0),
|
439
|
+
p.value ? (d(), r("div", Se, [
|
440
|
+
s(E, {
|
200
441
|
label: "Hide Author",
|
201
|
-
radio:
|
202
|
-
"onUpdate:radio":
|
442
|
+
radio: t(e).creator.hidden,
|
443
|
+
"onUpdate:radio": a[32] || (a[32] = (l) => t(e).creator.hidden = l),
|
203
444
|
name: "prices",
|
204
445
|
class: "w-100"
|
205
446
|
}, null, 8, ["radio"])
|
206
|
-
])) :
|
207
|
-
s(
|
208
|
-
submit:
|
209
|
-
callback:
|
447
|
+
])) : f("", !0),
|
448
|
+
s(Y, {
|
449
|
+
submit: O,
|
450
|
+
callback: o.redirectTo,
|
210
451
|
class: "w-100 bg-black t-white"
|
211
452
|
}, {
|
212
|
-
default:
|
213
|
-
|
453
|
+
default: D(() => [
|
454
|
+
A("Publish")
|
214
455
|
]),
|
215
456
|
_: 1
|
216
457
|
}, 8, ["callback"])
|
217
458
|
]),
|
218
459
|
_: 1
|
219
460
|
}, 8, ["isPopupOpen"])
|
220
|
-
])) :
|
461
|
+
])) : f("", !0);
|
221
462
|
}
|
222
463
|
};
|
223
464
|
export {
|
224
|
-
|
465
|
+
el as default
|
225
466
|
};
|
@@ -1 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Loader/Loader.vue.cjs");const
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Loader/Loader.vue.cjs");const p=require("../../../../components/EmptyState/EmptyState.vue.cjs"),v=require("../sections/HeroEvent.vue.cjs"),m=require("../sections/SectionMainGuest.vue.cjs"),g=require("../sections/SectionSpecialGuests.vue.cjs"),k=require("../sections/SectionLineup.vue.cjs"),f=require("../sections/SectionPreviousEvents.vue.cjs"),y=require("../blocks/CardEvent.vue.cjs"),h=require("../../../icons/skeletons/SkeletonEvent.vue.cjs"),B=require("../elements/ButtonJoin.vue.cjs"),b=require("../../../community/components/sections/Comments.vue.cjs"),_=require("../../../constructor/components/elements/Image.vue.cjs"),D=require("../../store/events.cjs"),C=require("../../store/tickets.cjs"),l=require("../../../auth/store/auth.cjs"),V=require("vue-router"),N={class:"pd-thin"},T=e.createElementVNode("h2",{class:"mn-b-big w-100 t-center"},"Event Details",-1),q={class:"gap-big mn-b-thin cols-2"},E={__name:"Event",setup(w){const i=V.useRoute(),s=({ticket:a,hasTicket:r,targetId:n})=>{C.mutations.handleTicketUpdate(t.value,a,r,n)},c={Textarea:"p",H2:"h2",Bullets:"p",Caption:"p",ImageUpload:_.default};function d(a){return a.type==="Textarea"?{innerHTML:a.content,class:"p-medium"}:a.type==="H2"?{innerHTML:a.content,class:"h3"}:a.type==="Caption"?{innerHTML:a.content}:a.type==="ImageUpload"?{src:a.content}:{}}const t=e.ref(null),o=e.ref(!0);return e.onMounted(async()=>{o.value=!0;const a=await D.read({user:l.state.user._id,url:i.params.url});t.value=a[0],o.value=!1}),(a,r)=>(e.openBlock(),e.createElementBlock("section",N,[e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"o-hidden bg-grey radius-big"},{default:e.withCtx(()=>[o.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},e.renderList(3,n=>e.createVNode(h.default,{key:n})),64)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[!o.value&&!t.value?(e.openBlock(),e.createBlock(p.default,{key:0,title:"No Event Found",description:"Currently, there are no events available. Please check back later.",class:"pd-medium mn-b-thin bg-grey radius-big"})):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"container"},{default:e.withCtx(()=>[!o.value&&t.value&&t.value.special?(e.openBlock(),e.createBlock(v.default,{key:0,content:{title:t.value.name,description:t.value.description,ticketLinkStripe:t.value.specialData.ticketLinkStripe,subtitle:t.value.specialData.subtitle,logos:t.value.specialData.logos,video:t.value.specialData.video,buyticket:"Buy ticket",booktable:"Book table"},options:{date:t.value.date.start,price:t.value.specialData.ticketPrice},class:"mn-b-thin"},null,8,["content","options"])):e.createCommentVNode("",!0),!o.value&&t.value&&t.value.special?(e.openBlock(),e.createBlock(m.default,{key:1,content:{title:t.value.specialData.guestTitle,description:t.value.specialData.guestDescription,socials:{twitter:t.value.specialData.guestTwitter,telegram:t.value.specialData.guestTelegram,instagram:t.value.specialData.guestInstagram,facebook:t.value.specialData.guestFacebook},video:t.value.specialData.guestVideo,spotify:t.value.specialData.guestSpotify,soundcloud:t.value.specialData.guestSoundcloud},class:"mn-b-thin"},null,8,["content"])):e.createCommentVNode("",!0),!o.value&&t.value&&t.value.special?(e.openBlock(),e.createElementBlock("section",{key:2,style:e.normalizeStyle(`
|
2
|
+
background-image: url(${t.value.specialData.lineupBackground});
|
3
|
+
background-size: 100%; background-repeat: no-repeat;
|
4
|
+
`),class:"mn-b-thin t-white gap-big w-100 h-max o-hidden radius-big pd-big pos-relative bg-black"},[T,e.createElementVNode("div",q,[e.createVNode(g.default,{content:{title:"Special Guests",description:"Enjoy a festive dining experience at The Commune, featuring a fine selection of dishes and drinks presented on your table throughout the evening.",guests:t.value.specialData.guests}},null,8,["content"]),e.createVNode(k.default,{content:{title:"Lineup",lineup:t.value.specialData.lineup}},null,8,["content"])]),e.createVNode(f.default,{content:{ticket:t.value.specialData.ticketImage},options:{link:t.value.specialData.ticketLinkStripe,video:t.value.specialData.previousVideo}},null,8,["content","options"])],4)):e.createCommentVNode("",!0),!o.value&&t.value&&!t.value.special?(e.openBlock(),e.createBlock(y.default,{key:3,onClick:r[0]||(r[0]=n=>a.$router.push({name:"Event",params:{url:t.value.url}})),event:t.value,owner:t.value.owner,user:l.state.user._id,type:"normal",class:"mn-b-medium bg-grey radius-big"},{default:e.withCtx(()=>[l.state.user._id?(e.openBlock(),e.createBlock(B.default,{key:0,type:"event",hasTicket:t.value.hasTicket,targetId:t.value._id,userId:l.state.user._id,class:"mn-b-small w-100 pd-medium mn-auto",onUpdateTicket:s},null,8,["hasTicket","targetId","userId"])):e.createCommentVNode("",!0),e.createElementVNode("section",null,[t.value&&t.value.content?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.value.content,(n,u)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(c[n.type]),e.mergeProps({key:u,index:u,component:n,prop:n,class:n.class,content:"content"},d(n),{class:"mn-b-regular"}),null,16,["index","component","prop","class"]))),128)):e.createCommentVNode("",!0)])]),_:1},8,["event","owner","user"])):e.createCommentVNode("",!0),!o.value&&t.value&&!t.value.special?(e.openBlock(),e.createBlock(b.default,{key:4,type:"event",target:t.value._id,owner:l.state.user._id},null,8,["target","owner"])):e.createCommentVNode("",!0)]),_:1})]))}};exports.default=E;
|