@ozdao/prometheus-framework 0.2.31 → 0.2.33
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/main.css +1 -1
- package/dist/node_modules/@adraffy/ens-normalize/dist/index.cjs +1 -1
- package/dist/node_modules/@adraffy/ens-normalize/dist/index.js +222 -218
- package/dist/node_modules/@noble/curves/esm/abstract/modular.cjs +1 -1
- package/dist/node_modules/@noble/curves/esm/abstract/modular.js +102 -91
- package/dist/node_modules/@noble/curves/esm/abstract/utils.cjs +1 -1
- package/dist/node_modules/@noble/curves/esm/abstract/utils.js +138 -115
- package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.cjs +1 -1
- package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.js +185 -185
- package/dist/node_modules/@noble/curves/esm/secp256k1.cjs +1 -1
- package/dist/node_modules/@noble/curves/esm/secp256k1.js +11 -8
- package/dist/node_modules/@noble/hashes/esm/_assert.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/_assert.js +29 -33
- package/dist/node_modules/@noble/hashes/esm/_sha2.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/_sha2.js +15 -15
- package/dist/node_modules/@noble/hashes/esm/_u64.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/_u64.js +38 -20
- package/dist/node_modules/@noble/hashes/esm/hmac.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/hmac.js +20 -20
- package/dist/node_modules/@noble/hashes/esm/pbkdf2.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/pbkdf2.js +20 -20
- package/dist/node_modules/@noble/hashes/esm/scrypt.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/scrypt.js +41 -41
- package/dist/node_modules/@noble/hashes/esm/sha256.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/sha256.js +23 -29
- package/dist/node_modules/@noble/hashes/esm/sha3.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/sha3.js +44 -55
- package/dist/node_modules/@noble/hashes/esm/sha512.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/sha512.js +23 -41
- package/dist/node_modules/@noble/hashes/esm/utils.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/utils.js +37 -33
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.cjs +20 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.js +3974 -0
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +1 -0
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +1202 -0
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs +1 -0
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js +97 -0
- package/dist/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.cjs +1 -0
- package/dist/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +37 -0
- package/dist/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs +1 -0
- package/dist/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.js +22 -0
- package/dist/node_modules/ethereum-cryptography/esm/utils.cjs +1 -1
- package/dist/node_modules/ethereum-cryptography/esm/utils.js +1 -4
- package/dist/node_modules/js-cookie/dist/js.cookie.cjs +1 -0
- package/dist/node_modules/js-cookie/dist/js.cookie.js +74 -0
- package/dist/node_modules/vue3-carousel/dist/carousel.es.cjs +4 -4
- package/dist/node_modules/vue3-carousel/dist/carousel.es.js +340 -244
- package/dist/node_modules/web3/lib/esm/abi.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/abi.js +5 -10
- package/dist/node_modules/web3/lib/esm/accounts.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/accounts.js +27 -24
- package/dist/node_modules/web3/lib/esm/version.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/version.js +1 -1
- package/dist/node_modules/web3/lib/esm/web3.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/web3.js +53 -57
- package/dist/node_modules/web3-core/lib/esm/utils.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/utils.js +3 -4
- package/dist/node_modules/web3-core/lib/esm/web3_config.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_config.js +22 -19
- package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_context.js +72 -57
- package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +53 -61
- package/dist/node_modules/web3-errors/lib/esm/errors/account_errors.js +8 -8
- package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +42 -42
- package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.js +19 -19
- package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +29 -29
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +1 -0
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +51 -0
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.js +1 -1
- package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +132 -47
- package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.cjs +1 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.js +21 -15
- package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.cjs +1 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.js +15 -13
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.cjs +1 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.js +1 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.cjs +1 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.js +61 -53
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.cjs +1 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.js +36 -9
- package/dist/node_modules/web3-eth-accounts/lib/esm/account.cjs +2 -2
- package/dist/node_modules/web3-eth-accounts/lib/esm/account.js +107 -103
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.cjs +1 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.js +135 -133
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.cjs +1 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.js +47 -31
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.cjs +1 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.js +18 -17
- package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +1 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +113 -111
- package/dist/node_modules/web3-eth-contract/lib/esm/encoding.cjs +1 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/encoding.js +27 -27
- package/dist/node_modules/web3-eth-contract/lib/esm/utils.cjs +1 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/utils.js +28 -40
- package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.js +10 -10
- package/dist/node_modules/web3-utils/lib/esm/converters.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/converters.js +78 -75
- package/dist/node_modules/web3-utils/lib/esm/formatter.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/formatter.js +8 -8
- package/dist/node_modules/web3-utils/lib/esm/hash.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/hash.js +44 -43
- package/dist/node_modules/web3-utils/lib/esm/index.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/index.js +64 -62
- package/dist/node_modules/web3-utils/lib/esm/socket_provider.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/socket_provider.js +78 -40
- package/dist/node_modules/web3-utils/lib/esm/uint8array.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/uint8array.js +16 -11
- package/dist/node_modules/web3-utils/lib/esm/validation.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/validation.js +45 -33
- package/dist/node_modules/web3-validator/lib/esm/utils.cjs +1 -1
- package/dist/node_modules/web3-validator/lib/esm/utils.js +127 -104
- package/dist/node_modules/web3-validator/lib/esm/validation/address.cjs +1 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/address.js +12 -11
- package/dist/node_modules/web3-validator/lib/esm/validation/bytes.cjs +1 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/bytes.js +17 -13
- package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.cjs +1 -1
- package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +7 -9
- package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/toPrimitive.cjs +1 -1
- package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +8 -8
- package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/toPropertyKey.cjs +1 -1
- package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +3 -3
- package/dist/prometheus-framework/node_modules/@capacitor/core/dist/index.cjs +1 -1
- package/dist/prometheus-framework/node_modules/@capacitor/core/dist/index.js +52 -52
- package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -1
- package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +2501 -2482
- package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.cjs +2 -1
- package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.js +75 -61
- package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.js +33 -33
- package/dist/prometheus-framework/node_modules/axios/lib/env/data.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/env/data.js +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.js +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.js +4 -2
- package/dist/prometheus-framework/node_modules/bignumber.js/bignumber.cjs +1 -0
- package/dist/prometheus-framework/node_modules/bignumber.js/bignumber.js +701 -0
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.cjs +1 -1
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +14 -7
- package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.cjs +1 -1
- package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.js +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue.js +2 -80
- package/dist/prometheus-framework/src/components/Address/Address.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue2.js +80 -2
- package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/Block/Block.vue.js +62 -0
- package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue2.js +15 -15
- package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue2.js +51 -40
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +21 -21
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +9 -7
- package/dist/prometheus-framework/src/components/DatePicker/DatePicker.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/DatePicker/DatePicker.vue.js +12 -13
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +2 -49
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +49 -2
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.js +53 -36
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +117 -0
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +48 -40
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +1 -2
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js +20 -10
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +2 -98
- package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue.js +2 -2
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +25 -27
- package/dist/prometheus-framework/src/components/Radio/Radio.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/Radio/Radio.vue.js +55 -0
- package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.js +55 -40
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.js +5 -5
- package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +45 -0
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +4 -0
- package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +2 -73
- package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +73 -2
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +3 -3
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +94 -33
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +12 -12
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +69 -61
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +26 -27
- package/dist/prometheus-framework/src/modules/auth/localization/EnterCode.json.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/localization/EnterCode.json.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/localization/EnterPassword.json.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/localization/EnterPassword.json.js +7 -7
- package/dist/prometheus-framework/src/modules/auth/localization/ResetPassword.json.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/localization/ResetPassword.json.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/localization/SignIn.json.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/localization/SignIn.json.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/localization/SignUp.json.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/localization/SignUp.json.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/auth.js +30 -30
- package/dist/prometheus-framework/src/modules/auth/store/invites.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/invites.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/twofa.js +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.js +9 -9
- 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 +90 -47
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +166 -133
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +86 -68
- 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 +105 -41
- package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.js +16 -16
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +51 -42
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +14 -14
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.js +2 -2
- 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 +108 -94
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +19 -19
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +11 -11
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js +40 -29
- package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/store/blogposts.js +10 -9
- 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/Embed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +27 -16
- package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +21 -21
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +4 -3
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +31 -28
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +48 -0
- package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.js +33 -0
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Youtube.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Youtube.vue.js +13 -0
- 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 +106 -85
- 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 +31 -34
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +8 -8
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/events/router/events.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/router/events.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 +1 -1
- 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/globals/localization/vue-i18n.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/localization/vue-i18n.js +13 -6
- package/dist/prometheus-framework/src/modules/globals/store/globals.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/store/globals.js +50 -22
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.js +13 -13
- package/dist/prometheus-framework/src/modules/icons/entities/IconEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconEvents.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.js +21 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconShopcart.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconShopcart.vue.js +21 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.js +21 -0
- package/dist/prometheus-framework/src/modules/icons/icons.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/icons.client.js +38 -34
- package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.js +7 -7
- package/dist/prometheus-framework/src/modules/icons/navigation/IconAdd.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconAdd.vue.js +30 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.js +12 -12
- package/dist/prometheus-framework/src/modules/icons/navigation/IconDelete.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconDelete.vue.js +27 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconMinus.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconMinus.vue.js +29 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconUpload.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconUpload.vue.js +33 -0
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.js +21 -0
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.js +28 -0
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.js +21 -20
- package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/icons/socials/line.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/line.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.js +7 -7
- package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +48 -35
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -0
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +63 -0
- package/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.cjs +1 -1
- package/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.js +6 -8
- package/dist/prometheus-framework/src/modules/middlewares/client/states.validation.cjs +1 -1
- package/dist/prometheus-framework/src/modules/middlewares/client/states.validation.js +5 -7
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.js +16 -22
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +4 -0
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.js +61 -88
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.js +104 -193
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +29 -31
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.js +129 -0
- package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/orders.js +45 -36
- package/dist/prometheus-framework/src/modules/orders/store/shopcart.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/shopcart.js +27 -26
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +6 -6
- 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 +85 -79
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.js +10 -10
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Socials.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Socials.vue.js +29 -23
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +4 -4
- 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 +55 -169
- 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 +48 -59
- 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 +173 -94
- 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 +27 -20
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +43 -33
- 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 +67 -63
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +28 -30
- package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.js +2 -2
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/organizations/router/members.router.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/members.router.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +9 -6
- package/dist/prometheus-framework/src/modules/organizations/router/products.router.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/products.router.js +69 -20
- package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/departments.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/invites.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +38 -38
- package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +39 -44
- 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 +73 -44
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +25 -54
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +39 -39
- 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 +12 -12
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +4 -0
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.js +18 -11
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.js +24 -24
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +140 -0
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.js +4 -0
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +27 -23
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +24 -25
- 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 +246 -102
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +28 -24
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.js +23 -24
- 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 +56 -7
- 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 +82 -65
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +71 -54
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.js +4 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +60 -86
- package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/store/leftovers.js +29 -37
- package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/store/products.js +32 -29
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +43 -107
- package/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/store/spots.js +46 -40
- 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 +89 -94
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +30 -30
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/users/router/users.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/router/users.js +2 -2
- 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 +80 -71
- package/dist/prometheus-framework/src/modules/wallet/store/wallet.cjs +1 -0
- package/dist/prometheus-framework/src/modules/wallet/store/wallet.js +29 -0
- package/dist/prometheus-framework.cjs.js +21 -21
- package/dist/prometheus-framework.es.js +1037 -1023
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/Countdown/Countdown.vue +75 -0
- package/src/components/EditImages/EditImages.vue +10 -2
- package/src/components/Upload/Upload.vue +32 -6
- package/src/components/UploadImage/UploadImage.vue +12 -8
- package/src/components/UploadImageMultiple/UploadImageMultiple.vue +4 -2
- package/src/modules/events/components/pages/EditEvent.vue +288 -1
- package/src/modules/events/components/pages/Event.vue +125 -46
- package/src/modules/events/components/sections/HeroEvent.vue +161 -0
- package/src/modules/events/components/sections/SectionLineup.vue +42 -0
- package/src/modules/events/components/sections/SectionMainGuest.vue +104 -0
- package/src/modules/events/components/sections/SectionPreviousEvents.vue +119 -0
- package/src/modules/events/components/sections/SectionSpecialGuests.vue +47 -0
- package/src/modules/events/controllers/events.controller.js +1 -0
- package/src/modules/events/controllers/utils/queryProcessor.js +2 -0
- package/src/modules/events/models/event.model.js +28 -0
- package/src/modules/events/store/events.js +4 -0
- package/src/modules/files/controllers/files.controller.js +3 -0
- package/src/modules/files/middlewares/server/middlewareBusboy.js +115 -100
- package/src/modules/files/routes/files.routes.js +3 -4
- package/src/modules/globals/globals.server.js +0 -1
- package/src/modules/orders/components/blocks/CardOrder.vue +5 -5
- package/src/modules/orders/components/blocks/StatusHistory.vue +84 -0
- package/src/modules/orders/components/pages/Order.vue +11 -54
- package/src/modules/orders/components/pages/Orders.vue +0 -4
- package/src/modules/orders/controllers/orders.controller.js +17 -9
- package/src/modules/orders/models/order.model.js +19 -0
- package/src/modules/orders/routes/orders.routes.js +4 -1
- package/src/modules/products/components/sections/FilterProducts.vue +9 -10
- package/src/modules/wallet/components/pages/Wallet.vue +2 -3
@@ -3,7 +3,7 @@
|
|
3
3
|
<div class="mn-b-thin radius-small w-100 h-10r bg-grey flex-center flex-column flex">
|
4
4
|
<UploadImage
|
5
5
|
v-model:photo="event.cover"
|
6
|
-
:uploadPath="'
|
6
|
+
:uploadPath="'specials'"
|
7
7
|
class="h-4r w-4r aspect-1x1 o-hidden mn-b-thin radius-extra"
|
8
8
|
/>
|
9
9
|
<h4>Upload Event Cover</h4>
|
@@ -21,6 +21,281 @@
|
|
21
21
|
class="mn-b-semi w-100 bg-grey pd-medium radius-small"
|
22
22
|
/>
|
23
23
|
|
24
|
+
|
25
|
+
<h3
|
26
|
+
|
27
|
+
class="mn-b-small"
|
28
|
+
>
|
29
|
+
Special Details
|
30
|
+
</h3>
|
31
|
+
|
32
|
+
|
33
|
+
<Checkbox
|
34
|
+
:label="'Special'"
|
35
|
+
:radio="event.special"
|
36
|
+
@update:radio="updateEvent => event.special = !event.special"
|
37
|
+
class="mn-b-semi w-100 bg-black t-white pd-medium radius-small"
|
38
|
+
/>
|
39
|
+
|
40
|
+
<div
|
41
|
+
v-if="event.special"
|
42
|
+
class="mn-b-semi"
|
43
|
+
>
|
44
|
+
<h4
|
45
|
+
class="mn-b-thin"
|
46
|
+
>
|
47
|
+
Hero Section
|
48
|
+
</h4>
|
49
|
+
|
50
|
+
<Field
|
51
|
+
v-model:field="event.specialData.subtitle"
|
52
|
+
placeholder="Event subtitle"
|
53
|
+
class="mn-b-thin w-100 bg-grey pd-medium radius-small"
|
54
|
+
/>
|
55
|
+
|
56
|
+
<EditImages
|
57
|
+
:images="event.specialData.logos"
|
58
|
+
:uploadPath="'/specials'"
|
59
|
+
:text="{
|
60
|
+
title: 'Drag & Drop Your Logos Here',
|
61
|
+
subtitle: 'Files supported: JPG, PNG, GIF'
|
62
|
+
}"
|
63
|
+
:options="{
|
64
|
+
showTitle: true,
|
65
|
+
showText: false
|
66
|
+
}"
|
67
|
+
@update:images="(newImages) => event.specialData.logos = newImages"
|
68
|
+
class="mn-b-thin bg-grey radius-small"
|
69
|
+
/>
|
70
|
+
<h5
|
71
|
+
class="mn-b-thin"
|
72
|
+
>
|
73
|
+
Video in Hero Section
|
74
|
+
</h5>
|
75
|
+
<Upload
|
76
|
+
v-model:field="event.specialData.video"
|
77
|
+
:placeholder="'Upload video'"
|
78
|
+
@file-change="(videoURL) => event.specialData.video = videoURL"
|
79
|
+
uploadPath="specials"
|
80
|
+
type="file"
|
81
|
+
class="
|
82
|
+
mn-b-thin w-100 bg-grey pd-medium radius-small t-black
|
83
|
+
"
|
84
|
+
/>
|
85
|
+
|
86
|
+
<h5
|
87
|
+
class="mn-b-thin"
|
88
|
+
>
|
89
|
+
Ticket
|
90
|
+
</h5>
|
91
|
+
|
92
|
+
<div
|
93
|
+
class="mn-b-small gap-small cols-2-fit-content"
|
94
|
+
>
|
95
|
+
<UploadImage
|
96
|
+
v-model:photo="event.specialData.ticketImage"
|
97
|
+
:uploadPath="'/specials'"
|
98
|
+
class="aspect-1x1 w-4r o-hidden radius-extra"
|
99
|
+
/>
|
100
|
+
|
101
|
+
<div class="gap-thin flex-nowrap flex w-100">
|
102
|
+
<Field
|
103
|
+
v-model:field="event.specialData.ticketLinkStripe"
|
104
|
+
placeholder="Link to ticket stripe payment page"
|
105
|
+
class="mn-b-thin w-100 bg-grey pd-medium radius-small"
|
106
|
+
/>
|
107
|
+
<Field
|
108
|
+
v-model:field="event.specialData.ticketPrice"
|
109
|
+
type="number"
|
110
|
+
placeholder="Ticket price in baht"
|
111
|
+
class="mn-b-thin w-100 bg-grey pd-medium radius-small"
|
112
|
+
/>
|
113
|
+
|
114
|
+
|
115
|
+
</div>
|
116
|
+
</div>
|
117
|
+
|
118
|
+
<hr class="bg-black-transp-10 mn-b-semi mn-t-semi d-block">
|
119
|
+
|
120
|
+
<h4
|
121
|
+
class="mn-b-thin"
|
122
|
+
>
|
123
|
+
Guest Section
|
124
|
+
</h4>
|
125
|
+
|
126
|
+
<Field
|
127
|
+
v-model:field="event.specialData.titleMainGuest"
|
128
|
+
placeholder="Title for Main Guest section"
|
129
|
+
class="mn-b-thin w-100 bg-grey pd-medium radius-small"
|
130
|
+
/>
|
131
|
+
|
132
|
+
<Field
|
133
|
+
v-model:field="event.specialData.guestDescription"
|
134
|
+
placeholder="Description for Main Guest section"
|
135
|
+
class="mn-b-thin w-100 bg-grey pd-medium radius-small"
|
136
|
+
/>
|
137
|
+
|
138
|
+
<div class="gap-thin cols-3">
|
139
|
+
|
140
|
+
<Field
|
141
|
+
v-model:field="event.specialData.guestFacebook"
|
142
|
+
placeholder="Facebook of Main Guest"
|
143
|
+
class="mn-b-thin w-100 bg-grey pd-medium radius-small"
|
144
|
+
/>
|
145
|
+
|
146
|
+
<Field
|
147
|
+
v-model:field="event.specialData.guestInstagram"
|
148
|
+
placeholder="Instagram of Main Guest"
|
149
|
+
class="mn-b-thin w-100 bg-grey pd-medium radius-small"
|
150
|
+
/>
|
151
|
+
|
152
|
+
<Field
|
153
|
+
v-model:field="event.specialData.guestTwitter"
|
154
|
+
placeholder="Twitter of Main Guest"
|
155
|
+
class="mn-b-thin w-100 bg-grey pd-medium radius-small"
|
156
|
+
/>
|
157
|
+
|
158
|
+
|
159
|
+
<Field
|
160
|
+
v-model:field="event.specialData.guestTelegram"
|
161
|
+
placeholder="Telegram of Main Guest"
|
162
|
+
class="mn-b-thin w-100 bg-grey pd-medium radius-small"
|
163
|
+
/>
|
164
|
+
|
165
|
+
<Field
|
166
|
+
v-model:field="event.specialData.guestSoundcloud"
|
167
|
+
placeholder="Link to Main Guest soundcloud track"
|
168
|
+
class="mn-b-thin w-100 bg-grey pd-medium radius-small"
|
169
|
+
/>
|
170
|
+
|
171
|
+
<Field
|
172
|
+
v-model:field="event.specialData.guestSpotify"
|
173
|
+
placeholder="Link to Main guest spotify track"
|
174
|
+
class="mn-b-thin w-100 bg-grey pd-medium radius-small"
|
175
|
+
/>
|
176
|
+
</div>
|
177
|
+
|
178
|
+
<h5
|
179
|
+
class="mn-b-thin"
|
180
|
+
>
|
181
|
+
Video in Guests Section
|
182
|
+
</h5>
|
183
|
+
|
184
|
+
<Upload
|
185
|
+
v-model:field="event.specialData.guestVideo"
|
186
|
+
:placeholder="'Upload video'"
|
187
|
+
@file-change="(videoURL) => event.specialData.guestVideo = videoURL"
|
188
|
+
uploadPath="/specials"
|
189
|
+
type="file"
|
190
|
+
class="
|
191
|
+
mn-b-thin w-100 bg-grey pd-medium radius-small t-black
|
192
|
+
"
|
193
|
+
/>
|
194
|
+
|
195
|
+
<Block
|
196
|
+
title="Guests"
|
197
|
+
placeholder="No guests added yet"
|
198
|
+
:actions="[{
|
199
|
+
label: '+',
|
200
|
+
function: () => event.specialData.guests.push({name: null, description: null, photo: null, main: false})
|
201
|
+
}]"
|
202
|
+
class="cols-1 mn-b-thin t-black gap-thin"
|
203
|
+
>
|
204
|
+
<div
|
205
|
+
class="mn-b-small gap-small cols-2-fit-content"
|
206
|
+
v-for="(item, index) in event.specialData.guests"
|
207
|
+
:key="index"
|
208
|
+
>
|
209
|
+
<UploadImage
|
210
|
+
v-model:photo="item.photo"
|
211
|
+
:uploadPath="'/specials'"
|
212
|
+
class="aspect-1x1 w-8r o-hidden radius-extra"
|
213
|
+
/>
|
214
|
+
|
215
|
+
<div class="gap-thin flex-nowrap flex w-100">
|
216
|
+
<div class="w-100">
|
217
|
+
<Field
|
218
|
+
v-model:field="item.name"
|
219
|
+
placeholder="Name"
|
220
|
+
class="w-100 mn-b-thin bg-white radius-small pd-medium"
|
221
|
+
/>
|
222
|
+
<Field
|
223
|
+
v-model:field="item.description"
|
224
|
+
placeholder="Description"
|
225
|
+
class="w-100 mn-b-thin bg-white radius-small pd-medium"
|
226
|
+
/>
|
227
|
+
</div>
|
228
|
+
<div class="radius-small h-100 i-big flex-center flex aspect-1x1 bg-red">
|
229
|
+
<IconDelete
|
230
|
+
@click="() => event.specialData.guests.splice(index, 1)"
|
231
|
+
class="i-medium"
|
232
|
+
/>
|
233
|
+
</div>
|
234
|
+
</div>
|
235
|
+
</div>
|
236
|
+
</Block>
|
237
|
+
|
238
|
+
<hr class="bg-black-transp-10 mn-b-semi mn-t-semi d-block">
|
239
|
+
|
240
|
+
<h4
|
241
|
+
class="mn-b-thin"
|
242
|
+
>
|
243
|
+
Lineup Section
|
244
|
+
</h4>
|
245
|
+
|
246
|
+
<Block
|
247
|
+
title="Line Up"
|
248
|
+
placeholder="No line ups added yet"
|
249
|
+
:actions="[{
|
250
|
+
label: '+',
|
251
|
+
function: () => event.specialData.lineup.push({name: null, description: null, photo: null, main: false})
|
252
|
+
}]"
|
253
|
+
class="cols-1 t-black gap-thin"
|
254
|
+
>
|
255
|
+
<div
|
256
|
+
class="mn-b-thin gap-small flex-nowrap flex"
|
257
|
+
v-for="(item, index) in event.specialData.lineup"
|
258
|
+
:key="index"
|
259
|
+
>
|
260
|
+
<Field
|
261
|
+
v-model:field="item.name"
|
262
|
+
placeholder="Name"
|
263
|
+
class="w-100 bg-grey radius-small pd-medium"
|
264
|
+
/>
|
265
|
+
<Field
|
266
|
+
v-model:field="item.time"
|
267
|
+
placeholder="Time"
|
268
|
+
class="w-100 bg-grey radius-small pd-medium"
|
269
|
+
/>
|
270
|
+
<div class="radius-small h-100 i-big flex-center flex aspect-1x1 bg-red">
|
271
|
+
<IconDelete
|
272
|
+
@click="() => event.specialData.lineup.splice(index, 1)"
|
273
|
+
class="i-medium"
|
274
|
+
/>
|
275
|
+
</div>
|
276
|
+
</div>
|
277
|
+
</Block>
|
278
|
+
|
279
|
+
<h5
|
280
|
+
class="mn-b-thin"
|
281
|
+
>
|
282
|
+
Background in Lineup Section
|
283
|
+
</h5>
|
284
|
+
|
285
|
+
<Upload
|
286
|
+
v-model:field="event.specialData.lineupBackground"
|
287
|
+
:placeholder="'Upload image'"
|
288
|
+
@file-change="(videoURL) => event.specialData.lineupBackground = videoURL"
|
289
|
+
uploadPath="/specials"
|
290
|
+
type="file"
|
291
|
+
class="
|
292
|
+
mn-b-thin w-100 bg-grey pd-medium radius-small t-black
|
293
|
+
"
|
294
|
+
/>
|
295
|
+
|
296
|
+
|
297
|
+
</div>
|
298
|
+
|
24
299
|
<h3 class="mn-b-small">Date</h3>
|
25
300
|
<VueDatePicker v-model="date" :alt-position="customPosition" range class="mn-b-semi" />
|
26
301
|
|
@@ -33,6 +308,8 @@
|
|
33
308
|
/>
|
34
309
|
</section>
|
35
310
|
|
311
|
+
|
312
|
+
|
36
313
|
<section v-if="event" class="pd-thin pos-sticky pos-l-0 pos-b-0 w-100 ">
|
37
314
|
<div class="pd-thin radius-big bg-main w-100 flex-nowrap flex">
|
38
315
|
<a v-if="route.params.url" @click="onDelete()" class="mn-r-auto bg-red t-white t-black button">Delete</a>
|
@@ -87,14 +364,20 @@ import Constructor from '@pf/src/modules/constructor/components/sections/Constru
|
|
87
364
|
import VueDatePicker from '@vuepic/vue-datepicker';
|
88
365
|
import '@vuepic/vue-datepicker/dist/main.css'
|
89
366
|
|
367
|
+
import Block from '@pf/src/components/Block/Block.vue';
|
90
368
|
import Popup from '@pf/src/components/Popup/Popup.vue';
|
91
369
|
import Field from '@pf/src/components/Field/Field.vue'
|
92
370
|
import BlockTags from '@pf/src/components/FieldTags/BlockTags.vue';
|
93
371
|
import Checkbox from '@pf/src/components/Checkbox/Checkbox.vue';
|
94
372
|
import SelectMulti from '@pf/src/components/SelectMulti/SelectMulti.vue';
|
373
|
+
import Upload from '@pf/src/components/Upload/Upload.vue';
|
95
374
|
import UploadImage from '@pf/src/components/UploadImage/UploadImage.vue';
|
375
|
+
import EditImages from '@pf/src/components/EditImages/EditImages.vue';
|
96
376
|
import Button from '@pf/src/components/Button/Button.vue';
|
97
377
|
|
378
|
+
|
379
|
+
import IconDelete from '@pf/src/modules/icons/navigation/IconDelete.vue';
|
380
|
+
|
98
381
|
import { ref, onMounted } from 'vue';
|
99
382
|
import { useRoute, useRouter } from 'vue-router';
|
100
383
|
|
@@ -120,8 +403,11 @@ onMounted(async () =>{
|
|
120
403
|
|
121
404
|
if (route.params.url) {
|
122
405
|
const data = await events.read({ user: auth.state.user._id, url: route.params.url });
|
406
|
+
|
123
407
|
event.value = data.pop();
|
124
408
|
|
409
|
+
console.log(event.value)
|
410
|
+
|
125
411
|
const startDate = event.value.date.start;
|
126
412
|
const endDate = event.value.date.end;
|
127
413
|
|
@@ -224,6 +510,7 @@ function onSubmit() {
|
|
224
510
|
|
225
511
|
console.log(date.value)
|
226
512
|
if (route.params.url) {
|
513
|
+
console.log(event.value)
|
227
514
|
events.update(event.value)
|
228
515
|
.then(response => {
|
229
516
|
router.push({ name: 'Event', params: { url: response.url } });
|
@@ -20,54 +20,126 @@
|
|
20
20
|
|
21
21
|
|
22
22
|
<TransitionGroup tag="ul" name="fade" class="container">
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
23
|
+
<HeroEvent
|
24
|
+
v-if="!isLoading && event && event.special"
|
25
|
+
:content="{
|
26
|
+
title: event.name,
|
27
|
+
description: event.description,
|
28
|
+
ticketLinkStripe: event.specialData.ticketLinkStripe,
|
29
|
+
subtitle: event.specialData.subtitle,
|
30
|
+
logos: event.specialData.logos,
|
31
|
+
video: event.specialData.video,
|
32
|
+
buyticket: 'Buy ticket',
|
33
|
+
booktable: 'Book table'
|
34
|
+
}"
|
35
|
+
:options="{
|
36
|
+
date: event.date.start,
|
37
|
+
price: event.specialData.ticketPrice,
|
38
|
+
}"
|
39
|
+
/>
|
40
|
+
<SectionMainGuest
|
41
|
+
v-if="!isLoading && event && event.special"
|
42
|
+
:content="{
|
43
|
+
title: event.specialData.guestTitle,
|
44
|
+
description: event.specialData.guestDescription,
|
45
|
+
socials: {
|
46
|
+
twitter: event.specialData.guestTwitter,
|
47
|
+
telegram: event.specialData.guestTelegram,
|
48
|
+
instagram: event.specialData.guestInstagram,
|
49
|
+
facebook: event.specialData.guestFacebook
|
50
|
+
},
|
51
|
+
video: event.specialData.guestVideo,
|
52
|
+
spotify: event.specialData.guestSpotify,
|
53
|
+
soundcloud: event.specialData.guestSoundcloud,
|
54
|
+
}"
|
55
|
+
/>
|
56
|
+
|
57
|
+
<section
|
58
|
+
v-if="!isLoading && event && event.special"
|
59
|
+
:style="`
|
60
|
+
background-image: url(${event.specialData.lineupBackground});
|
61
|
+
background-size: 100%; background-repeat: no-repeat;
|
62
|
+
`"
|
63
|
+
class="t-white gap-big w-100 h-max o-hidden radius-big pd-big pos-relative bg-black"
|
64
|
+
>
|
65
|
+
<h2 class="mn-b-big w-100 t-center">Event Details</h2>
|
66
|
+
<div class="gap-big mn-b-thin cols-2">
|
67
|
+
|
68
|
+
<SectionSpecialGuests
|
69
|
+
:content="{
|
70
|
+
title: 'Special Guests',
|
71
|
+
description:'Enjoy a festive dining experience at The Commune, featuring a fine selection of dishes and drinks presented on your table throughout the evening.',
|
72
|
+
guests: event.specialData.guests
|
73
|
+
}"
|
74
|
+
/>
|
75
|
+
|
76
|
+
<SectionLineUp
|
77
|
+
:content="{
|
78
|
+
title: 'Lineup',
|
79
|
+
lineup: event.specialData.lineup
|
80
|
+
}"
|
81
|
+
/>
|
82
|
+
|
83
|
+
</div>
|
84
|
+
|
85
|
+
<SectionPreviousEvents
|
86
|
+
:content="{
|
87
|
+
ticket: event.specialData.ticketImage
|
88
|
+
}"
|
89
|
+
:options="{
|
90
|
+
link: event.specialData.ticketLinkStripe
|
91
|
+
}"
|
92
|
+
/>
|
93
|
+
</section>
|
94
|
+
|
95
|
+
<CardEvent
|
96
|
+
v-if="!isLoading && event && !event.special"
|
97
|
+
@click="$router.push({name: 'Event', params: {url: event.url}})"
|
98
|
+
:event="event"
|
99
|
+
:owner="event.owner"
|
100
|
+
:user="auth.state.user._id"
|
101
|
+
:type="'normal'"
|
102
|
+
class="mn-b-medium bg-grey radius-big"
|
103
|
+
>
|
104
|
+
<ButtonJoin
|
105
|
+
v-if="auth.state.user._id"
|
106
|
+
:type="'event'"
|
107
|
+
:hasTicket="event.hasTicket"
|
108
|
+
:targetId="event._id"
|
109
|
+
:userId="auth.state.user._id"
|
110
|
+
class="mn-b-small w-100 pd-medium mn-auto"
|
111
|
+
@updateTicket="handleTicketUpdate"
|
112
|
+
/>
|
113
|
+
|
114
|
+
<section>
|
115
|
+
<component
|
116
|
+
v-if="event && event.content"
|
117
|
+
v-for="(block, index) in event.content"
|
118
|
+
:is="ComponentMap[block.type]"
|
119
|
+
:key="index"
|
120
|
+
:index="index"
|
121
|
+
:component="block"
|
122
|
+
:prop="block"
|
123
|
+
:class="block.class"
|
124
|
+
content="content"
|
125
|
+
v-bind="getBlockProps(block)"
|
126
|
+
class="mn-b-regular"
|
40
127
|
/>
|
128
|
+
</section>
|
129
|
+
|
130
|
+
</CardEvent>
|
41
131
|
|
42
|
-
<section>
|
43
|
-
<component
|
44
|
-
v-if="event && event.content"
|
45
|
-
v-for="(block, index) in event.content"
|
46
|
-
:is="ComponentMap[block.type]"
|
47
|
-
:key="index"
|
48
|
-
:index="index"
|
49
|
-
:component="block"
|
50
|
-
:prop="block"
|
51
|
-
:class="block.class"
|
52
|
-
content="content"
|
53
|
-
v-bind="getBlockProps(block)"
|
54
|
-
class="mn-b-regular"
|
55
|
-
/>
|
56
|
-
</section>
|
57
|
-
|
58
|
-
</CardEvent>
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
<Comments
|
63
|
-
v-if="!isLoading && event"
|
64
|
-
:type="'event'"
|
65
|
-
:target="event._id"
|
66
|
-
:owner="auth.state.user._id"
|
67
|
-
/>
|
68
|
-
|
69
|
-
</TransitionGroup>
|
70
132
|
|
133
|
+
|
134
|
+
<Comments
|
135
|
+
v-if="!isLoading && event && !event.special"
|
136
|
+
:type="'event'"
|
137
|
+
:target="event._id"
|
138
|
+
:owner="auth.state.user._id"
|
139
|
+
/>
|
140
|
+
|
141
|
+
</TransitionGroup>
|
142
|
+
|
71
143
|
</section>
|
72
144
|
</template>
|
73
145
|
|
@@ -76,7 +148,14 @@
|
|
76
148
|
|
77
149
|
import Loader from '@pf/src/components/Loader/Loader.vue';
|
78
150
|
import EmptyState from '@pf/src/components/EmptyState/EmptyState.vue';
|
79
|
-
|
151
|
+
|
152
|
+
import HeroEvent from '@pf/src/modules/events/components/sections/HeroEvent.vue';
|
153
|
+
import SectionMainGuest from '@pf/src/modules/events/components/sections/SectionMainGuest.vue';
|
154
|
+
import SectionSpecialGuests from '@pf/src/modules/events/components/sections/SectionSpecialGuests.vue'
|
155
|
+
import SectionLineUp from '@pf/src/modules/events/components/sections/SectionLineUp.vue';
|
156
|
+
import SectionPreviousEvents from '@pf/src/modules/events/components/sections/SectionPreviousEvents.vue';
|
157
|
+
|
158
|
+
|
80
159
|
import CardEvent from '@pf/src/modules/events/components/blocks/CardEvent.vue';
|
81
160
|
import SkeletonEvent from '@pf/src/modules/icons/skeletons/SkeletonEvent.vue'
|
82
161
|
import ButtonJoin from '@pf/src/modules/events/components/elements/ButtonJoin.vue';
|
@@ -0,0 +1,161 @@
|
|
1
|
+
<template>
|
2
|
+
<section
|
3
|
+
class="
|
4
|
+
t-white
|
5
|
+
t-center
|
6
|
+
w-100
|
7
|
+
h-100
|
8
|
+
pos-relative
|
9
|
+
gap-thin
|
10
|
+
cols-2
|
11
|
+
pos-relative
|
12
|
+
"
|
13
|
+
>
|
14
|
+
<div
|
15
|
+
style="min-height: 20rem;"
|
16
|
+
class="desktop-only radius-big o-hidden bg-black pos-relative"
|
17
|
+
>
|
18
|
+
<video
|
19
|
+
v-if="content.video"
|
20
|
+
style="object-fit: cover;"
|
21
|
+
ref="videoElement"
|
22
|
+
class="pos-absolute pos-t-0 pos-l-0 w-100 h-100"
|
23
|
+
preload autoplay muted loop playsinlineclass playsinline :src="content.video"
|
24
|
+
itemprop="video"
|
25
|
+
type="video/webm"
|
26
|
+
>
|
27
|
+
</video>
|
28
|
+
</div>
|
29
|
+
|
30
|
+
<div
|
31
|
+
class="
|
32
|
+
content-hero-refactor
|
33
|
+
radius-big
|
34
|
+
o-hidden
|
35
|
+
bg-black
|
36
|
+
pd-big mn-r-auto mn-l-auto t-white flex-h-center flex-column o-hidden flex-v-start t-left flex w-100 h-100 gap-zero">
|
37
|
+
<!-- <img src="/logo/jungle-stereo-cosmonaut.png" class="h-8r mn-b-small z-index-1"/> -->
|
38
|
+
<div class="mn-b-big z-index-1 flex-nowrap flex gap-small">
|
39
|
+
<img v-for="logo in content.logos" class="i-big" :src="logo">
|
40
|
+
</div>
|
41
|
+
|
42
|
+
<h3 class="pd-thin z-index-1 w-max br-solid br-2px br-white radius-extra mn-b-thin">
|
43
|
+
{{content?.subtitle}}
|
44
|
+
</h3>
|
45
|
+
|
46
|
+
<h1 class="z-index-1 t-main mn-b-semi">
|
47
|
+
{{content?.title}}
|
48
|
+
</h1>
|
49
|
+
|
50
|
+
<p class="z-index-1 p-big mn-b-semi">
|
51
|
+
{{content?.description}}
|
52
|
+
</p>
|
53
|
+
|
54
|
+
<p class="z-index-1 t-transp p-small mn-b-thin">
|
55
|
+
|
56
|
+
Hurry up and purchase your ticket at a special price of only <span class="bg-white t-black pd-t-nano pd-b-nano pd-r-micro pd-l-micro radius-extra">{{options?.price}} {{returnCurrency()}}</span>
|
57
|
+
</p>
|
58
|
+
|
59
|
+
|
60
|
+
<Countdown
|
61
|
+
class="z-index-1 mn-b-small w-40"
|
62
|
+
:options="props.options"
|
63
|
+
/>
|
64
|
+
<div v-if="content?.ticketLinkStripe" class="z-index-1 mn-t-medium mn-b-small flex-nowrap flex gap-thin">
|
65
|
+
<!-- <a href="#" class="pd-l-medium pd-r-medium pd-t-small pd-b-small radius-extra uppercase t-medium t-black bg-white ">
|
66
|
+
Sold Out
|
67
|
+
</a> -->
|
68
|
+
<a href="#" @click="clickBuyTicket()" class="pd-l-medium pd-r-medium pd-t-small pd-b-small radius-extra uppercase t-medium t-black bg-white ">
|
69
|
+
{{content?.buyticket}}
|
70
|
+
</a>
|
71
|
+
</div>
|
72
|
+
|
73
|
+
<video
|
74
|
+
v-if="content.video"
|
75
|
+
style="object-fit: cover; opacity: 0.2;"
|
76
|
+
ref="videoElement"
|
77
|
+
class="mobile-only pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100"
|
78
|
+
preload autoplay muted loop playsinlineclass playsinline :src="content.video"
|
79
|
+
itemprop="video"
|
80
|
+
type="video/webm"
|
81
|
+
>
|
82
|
+
</video>
|
83
|
+
|
84
|
+
</div>
|
85
|
+
|
86
|
+
|
87
|
+
</section>
|
88
|
+
</template>
|
89
|
+
|
90
|
+
|
91
|
+
<script setup>
|
92
|
+
import { useI18n } from 'vue-i18n'
|
93
|
+
|
94
|
+
import Countdown from "@pf/src/components/Countdown/Countdown.vue"
|
95
|
+
|
96
|
+
import { ref, onMounted } from 'vue'
|
97
|
+
const videoElement = ref(null)
|
98
|
+
|
99
|
+
var isPlaying = false;
|
100
|
+
|
101
|
+
function checkAndPlayVideo() {
|
102
|
+
// Initializing values
|
103
|
+
|
104
|
+
// On video playing toggle values
|
105
|
+
videoElement.value.onplaying = function() {
|
106
|
+
isPlaying = true;
|
107
|
+
};
|
108
|
+
|
109
|
+
// On video pause toggle values
|
110
|
+
videoElement.value.onpause = function() {
|
111
|
+
isPlaying = false;
|
112
|
+
};
|
113
|
+
}
|
114
|
+
|
115
|
+
// Play video function
|
116
|
+
async function playVid() {
|
117
|
+
if (videoElement.value.paused && !isPlaying) {
|
118
|
+
return videoElement.value.play();
|
119
|
+
}
|
120
|
+
}
|
121
|
+
|
122
|
+
onMounted(() => {
|
123
|
+
checkAndPlayVideo()
|
124
|
+
playVid()
|
125
|
+
})
|
126
|
+
|
127
|
+
|
128
|
+
const props = defineProps({
|
129
|
+
content: {
|
130
|
+
type: Object
|
131
|
+
},
|
132
|
+
options: {
|
133
|
+
type: Object
|
134
|
+
}
|
135
|
+
})
|
136
|
+
|
137
|
+
|
138
|
+
function clickBuyTicket () {
|
139
|
+
gtag('event', 'buy_ticket', {
|
140
|
+
'event_category': 'conversion',
|
141
|
+
'event_label': 'Buy Ticket'
|
142
|
+
});
|
143
|
+
|
144
|
+
window.open(props.content?.ticketLinkStripe);
|
145
|
+
|
146
|
+
}
|
147
|
+
</script>
|
148
|
+
|
149
|
+
<style lang="scss" scoped>
|
150
|
+
@media screen and (max-width: 1025px) {
|
151
|
+
.content-hero-refactor {
|
152
|
+
text-align: center;
|
153
|
+
}
|
154
|
+
|
155
|
+
h3, div {
|
156
|
+
margin-left: auto;
|
157
|
+
margin-right: auto;
|
158
|
+
}
|
159
|
+
}
|
160
|
+
|
161
|
+
</style>
|