@ozdao/prometheus-framework 0.2.31 → 0.2.32
Sign up to get free protection for your applications and to get access to all the features.
- 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/style.css +1 -1
- package/package.json +1 -1
- package/src/modules/orders/components/blocks/CardOrder.vue +2 -2
- package/src/modules/orders/components/pages/Orders.vue +0 -4
- package/src/modules/products/components/sections/FilterProducts.vue +9 -10
- package/src/modules/wallet/components/pages/Wallet.vue +2 -3
@@ -1,68 +1,68 @@
|
|
1
|
-
import { ref as
|
1
|
+
import { ref as U, onMounted as C, openBlock as n, createElementBlock as d, unref as r, createBlock as p, createCommentVNode as m, createElementVNode as i, withCtx as u, createVNode as o, toDisplayString as f, Fragment as E, renderList as S, normalizeClass as B } from "vue";
|
2
2
|
import "../../../../components/Field/Field.vue.js";
|
3
3
|
import "../../../../components/Button/Button.vue.js";
|
4
|
-
import
|
4
|
+
import R from "../../../../components/Dropdown/Dropdown.vue2.js";
|
5
5
|
import k from "../../../mobile/components/Menu/Menu.vue.js";
|
6
6
|
import _ from "../../../mobile/components/Menu/MenuItem.vue.js";
|
7
|
-
import
|
8
|
-
import
|
7
|
+
import y from "../../../organizations/components/elements/ButtonToggleMembership.vue.js";
|
8
|
+
import I from "../../../reports/components/sections/FormReport.vue.js";
|
9
9
|
import M from "../../../organizations/components/blocks/Socials.vue.js";
|
10
|
-
import
|
11
|
-
import
|
12
|
-
import
|
13
|
-
import
|
14
|
-
import
|
15
|
-
import
|
16
|
-
import { useRoute as
|
17
|
-
import { state as
|
18
|
-
import { actions as
|
19
|
-
import { mutations as
|
10
|
+
import N from "../sections/ProfileCompletion.vue.js";
|
11
|
+
import L from "../../../icons/entities/IconEvents.vue.js";
|
12
|
+
import w from "../../../icons/entities/IconGroups.vue.js";
|
13
|
+
import P from "../../../icons/entities/IconCommunity.vue.js";
|
14
|
+
import F from "../../../icons/navigation/IconEdit.vue.js";
|
15
|
+
import O from "../../../icons/placeholders/PlaceholderUserpic.vue.js";
|
16
|
+
import { useRoute as V, useRouter as j } from "vue-router";
|
17
|
+
import { state as l, actions as z } from "../../../auth/store/auth.js";
|
18
|
+
import { actions as D, state as e } from "../../store/users.js";
|
19
|
+
import { mutations as G } from "../../../organizations/store/memberships.js";
|
20
20
|
import "./Profile.vue2.js";
|
21
|
-
const
|
21
|
+
const W = {
|
22
22
|
key: 0,
|
23
23
|
class: "for-transition w-100"
|
24
|
-
},
|
24
|
+
}, A = {
|
25
25
|
key: 0,
|
26
26
|
class: "flex-center flex pd-medium radius-big bg-grey uppercase t-semi w-100 h-100"
|
27
27
|
}, q = {
|
28
28
|
key: 1,
|
29
29
|
_id: "dash",
|
30
30
|
class: "pd-b-extra pd-thin w-100"
|
31
|
-
}, H = { class: "flex-center flex flex-column t-center w-100 mn-b-semi radius-medium pd-medium bg-grey" }, J = { class: "bg-black pd-thin radius-small" }, K = /* @__PURE__ */
|
31
|
+
}, H = { class: "flex-center pos-relative flex flex-column t-center w-100 mn-b-semi radius-medium pd-medium bg-grey" }, J = { class: "bg-black pd-thin radius-small" }, K = /* @__PURE__ */ i("button", { class: "w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button" }, " Report ", -1), Q = ["src"], T = { class: "mn-b-thin" }, X = { class: "mn-b-thin t-main t-semi" }, Y = { class: "mn-b-small p-medium" }, Z = { class: "mn-b-medium flex-center flex-nowrap flex" }, ee = { class: "t-semi mn-b-small" }, se = {
|
32
32
|
key: 5,
|
33
33
|
class: "mn-t-small mn-b-thin"
|
34
|
-
}, re = /* @__PURE__ */
|
34
|
+
}, re = /* @__PURE__ */ i("span", null, "Events", -1), te = /* @__PURE__ */ i("span", null, "Groups", -1), oe = /* @__PURE__ */ i("span", null, "Posts", -1), ie = /* @__PURE__ */ i("span", null, "Wallet", -1), ae = /* @__PURE__ */ i("span", null, " Settings ", -1), ne = /* @__PURE__ */ i("span", null, " About ", -1), le = /* @__PURE__ */ i("span", { class: "t-red" }, " Logout ", -1), Re = {
|
35
35
|
__name: "Profile",
|
36
36
|
setup(ue) {
|
37
|
-
const
|
38
|
-
|
39
|
-
await
|
37
|
+
const a = V(), c = j(), g = U(!1);
|
38
|
+
C(async () => {
|
39
|
+
await D.read({ _id: a.params._id, user: l.user._id }), g.value = !0;
|
40
40
|
});
|
41
|
-
const v = ({ membership: b, status: s, target: t }, h,
|
42
|
-
|
41
|
+
const v = ({ membership: b, status: s, target: t }, h, $) => {
|
42
|
+
G.handleMembershipUpdate(e.current, b, s, t, h, $);
|
43
43
|
};
|
44
|
-
function
|
45
|
-
|
44
|
+
function x() {
|
45
|
+
z.logout(), c.push({ name: "Sign In" });
|
46
46
|
}
|
47
|
-
return (b, s) => g.value ? (
|
48
|
-
e.current.status === "removed" ? (
|
49
|
-
r(
|
47
|
+
return (b, s) => g.value ? (n(), d("div", W, [
|
48
|
+
e.current.status === "removed" ? (n(), d("div", A, " Sorry, user has been removed. ")) : (n(), d("div", q, [
|
49
|
+
r(a).params._id === l.user._id && g.value ? (n(), p(N, {
|
50
50
|
key: 0,
|
51
|
-
user:
|
51
|
+
user: l.user._id,
|
52
52
|
target: e.current,
|
53
53
|
cta: !0
|
54
54
|
}, null, 8, ["user", "target"])) : m("", !0),
|
55
|
-
|
56
|
-
r(
|
55
|
+
i("section", H, [
|
56
|
+
r(a).params._id && r(a).params._id !== l.user._id ? (n(), p(R, {
|
57
57
|
key: 0,
|
58
58
|
label: "...",
|
59
59
|
align: "right",
|
60
60
|
class: "cursor-pointer pos-absolute pos-r-0 pos-t-0 pd-thin radius-extra"
|
61
61
|
}, {
|
62
62
|
default: u(() => [
|
63
|
-
|
64
|
-
|
65
|
-
user:
|
63
|
+
i("section", J, [
|
64
|
+
o(I, {
|
65
|
+
user: l.user._id,
|
66
66
|
type: "user",
|
67
67
|
target: e.current._id,
|
68
68
|
text: "Report",
|
@@ -73,9 +73,9 @@ const G = {
|
|
73
73
|
]),
|
74
74
|
_: 1
|
75
75
|
}, 8, ["user", "target"]),
|
76
|
-
|
76
|
+
l.user._id ? (n(), p(y, {
|
77
77
|
key: 0,
|
78
|
-
user:
|
78
|
+
user: l.user._id,
|
79
79
|
type: "user",
|
80
80
|
role: "blocked",
|
81
81
|
target: e.current._id,
|
@@ -88,36 +88,36 @@ const G = {
|
|
88
88
|
]),
|
89
89
|
_: 1
|
90
90
|
}, 8, ["label"])) : m("", !0),
|
91
|
-
r(
|
91
|
+
r(a).params._id === l.user._id ? (n(), p(F, {
|
92
92
|
key: 1,
|
93
93
|
onClick: s[1] || (s[1] = (t) => b.$router.push({
|
94
94
|
name: "User Edit Profile",
|
95
95
|
params: {
|
96
|
-
_id:
|
96
|
+
_id: l.user._id
|
97
97
|
}
|
98
98
|
})),
|
99
|
-
class: "pos-absolute pos-t-regular pos-r-regular i-regular t-transp"
|
99
|
+
class: "cursor-pointer pos-absolute pos-t-regular pos-r-regular i-regular t-transp"
|
100
100
|
})) : m("", !0),
|
101
|
-
e.current.profile.photo.length > 0 ? (
|
101
|
+
e.current.profile.photo.length > 0 ? (n(), d("img", {
|
102
102
|
key: 2,
|
103
103
|
src: (b.FILE_SERVER_URL || "") + e.current.profile.photo,
|
104
104
|
class: "radius-extra bg-white mn-b-small object-fit-cover i-extra"
|
105
|
-
}, null, 8, Q)) : (
|
105
|
+
}, null, 8, Q)) : (n(), p(O, {
|
106
106
|
key: 3,
|
107
107
|
class: "radius-medium mn-b-small i-extra"
|
108
108
|
})),
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
(
|
114
|
-
class:
|
109
|
+
i("h3", T, f(e.current.profile.name ? e.current.profile.name : "Not specified"), 1),
|
110
|
+
i("p", X, " @" + f(e.current.username ? e.current.username : "Not specified"), 1),
|
111
|
+
i("p", Y, f(e.current.profile.description ? e.current.profile.description : "Not specified"), 1),
|
112
|
+
i("div", Z, [
|
113
|
+
(n(!0), d(E, null, S(e.current.roles, (t, h) => (n(), d("div", {
|
114
|
+
class: B(["pd-thin radius-small t-semi bg-white", { "mn-r-thin": h !== e.current.roles.length - 1 }])
|
115
115
|
}, f(t.icon) + " " + f(t.name), 3))), 256))
|
116
116
|
]),
|
117
|
-
|
118
|
-
|
117
|
+
i("p", ee, " 👨👨👧👧 " + f(e.current.numberOfSubscribers) + " followers ", 1),
|
118
|
+
l.user._id && r(a).params._id && r(a).params._id !== l.user._id ? (n(), p(y, {
|
119
119
|
key: 4,
|
120
|
-
user:
|
120
|
+
user: l.user._id,
|
121
121
|
type: "user",
|
122
122
|
role: "subscriber",
|
123
123
|
target: e.current._id,
|
@@ -126,8 +126,8 @@ const G = {
|
|
126
126
|
onUpdateMembership: s[2] || (s[2] = (t) => v(t, "isSubscriber", "numberOfSubscribers")),
|
127
127
|
class: "w-min mn-b-medium mn-r-auto mn-l-auto"
|
128
128
|
}, null, 8, ["user", "target", "status"])) : m("", !0),
|
129
|
-
Object.values(e.current.socials).some((t) => t) ? (
|
130
|
-
|
129
|
+
Object.values(e.current.socials).some((t) => t) ? (n(), d("h4", se, " Find Me in Socials ")) : m("", !0),
|
130
|
+
o(M, {
|
131
131
|
telegram: e.current.socials.telegram,
|
132
132
|
facebook: e.current.socials.facebook,
|
133
133
|
instagram: e.current.socials.instagram,
|
@@ -135,37 +135,27 @@ const G = {
|
|
135
135
|
class: "mn-r-auto mn-l-auto"
|
136
136
|
}, null, 8, ["telegram", "facebook", "instagram", "twitter"])
|
137
137
|
]),
|
138
|
-
|
139
|
-
key: 1,
|
140
|
-
class: "mn-b-regular bg-black t-white"
|
141
|
-
}, {
|
138
|
+
o(k, { class: "mn-b-regular bg-grey" }, {
|
142
139
|
default: u(() => [
|
143
|
-
|
144
|
-
onClick: s[3] || (s[3] = (t) => r(
|
145
|
-
|
146
|
-
params: {
|
147
|
-
_id: r(o).params._id
|
148
|
-
}
|
149
|
-
})),
|
150
|
-
class: "cursor-pointer",
|
151
|
-
theme: "white"
|
140
|
+
o(_, {
|
141
|
+
onClick: s[3] || (s[3] = (t) => r(c).push({ name: "User Events", params: { _id: r(a).params._id } })),
|
142
|
+
class: "cursor-pointer"
|
152
143
|
}, {
|
153
144
|
default: u(() => [
|
145
|
+
o(L, {
|
146
|
+
class: "i-semi",
|
147
|
+
icon: !0
|
148
|
+
}),
|
154
149
|
re
|
155
150
|
]),
|
156
151
|
_: 1
|
157
|
-
})
|
158
|
-
|
159
|
-
|
160
|
-
})) : m("", !0),
|
161
|
-
l(k, { class: "mn-b-regular bg-grey" }, {
|
162
|
-
default: u(() => [
|
163
|
-
l(_, {
|
164
|
-
onClick: s[4] || (s[4] = (t) => r(d).push({ name: "User Events", params: { _id: r(o).params._id } })),
|
152
|
+
}),
|
153
|
+
o(_, {
|
154
|
+
onClick: s[4] || (s[4] = (t) => r(c).push({ name: "User Organizations", params: { _id: r(a).params._id } })),
|
165
155
|
class: "cursor-pointer"
|
166
156
|
}, {
|
167
157
|
default: u(() => [
|
168
|
-
|
158
|
+
o(w, {
|
169
159
|
class: "i-semi",
|
170
160
|
icon: !0
|
171
161
|
}),
|
@@ -173,45 +163,50 @@ const G = {
|
|
173
163
|
]),
|
174
164
|
_: 1
|
175
165
|
}),
|
176
|
-
|
177
|
-
onClick: s[5] || (s[5] = (t) => r(
|
166
|
+
o(_, {
|
167
|
+
onClick: s[5] || (s[5] = (t) => r(c).push({ name: "User Blogposts", params: { _id: r(a).params._id } })),
|
178
168
|
class: "cursor-pointer"
|
179
169
|
}, {
|
180
170
|
default: u(() => [
|
181
|
-
|
171
|
+
o(P, {
|
182
172
|
class: "i-semi",
|
183
173
|
icon: !0
|
184
174
|
}),
|
185
|
-
|
175
|
+
oe
|
186
176
|
]),
|
187
177
|
_: 1
|
188
|
-
})
|
189
|
-
|
190
|
-
|
178
|
+
})
|
179
|
+
]),
|
180
|
+
_: 1
|
181
|
+
}),
|
182
|
+
o(k, { class: "mn-b-regular bg-grey" }, {
|
183
|
+
default: u(() => [
|
184
|
+
o(_, {
|
185
|
+
onClick: s[6] || (s[6] = (t) => r(c).push({ name: "User Wallet", params: { _id: r(a).params._id } })),
|
191
186
|
class: "cursor-pointer"
|
192
187
|
}, {
|
193
188
|
default: u(() => [
|
194
|
-
|
189
|
+
o(w, {
|
195
190
|
class: "i-semi",
|
196
191
|
icon: !0
|
197
192
|
}),
|
198
|
-
|
193
|
+
ie
|
199
194
|
]),
|
200
195
|
_: 1
|
201
196
|
})
|
202
197
|
]),
|
203
198
|
_: 1
|
204
199
|
}),
|
205
|
-
|
206
|
-
key:
|
200
|
+
l.user._id === r(a).params._id ? (n(), p(k, {
|
201
|
+
key: 1,
|
207
202
|
class: "bg-grey"
|
208
203
|
}, {
|
209
204
|
default: u(() => [
|
210
|
-
|
211
|
-
onClick: s[7] || (s[7] = (t) => r(
|
205
|
+
o(_, {
|
206
|
+
onClick: s[7] || (s[7] = (t) => r(c).push({
|
212
207
|
name: "User Edit Profile",
|
213
208
|
params: {
|
214
|
-
_id: r(
|
209
|
+
_id: r(a).params._id
|
215
210
|
}
|
216
211
|
})),
|
217
212
|
class: "cursor-pointer"
|
@@ -221,11 +216,11 @@ const G = {
|
|
221
216
|
]),
|
222
217
|
_: 1
|
223
218
|
}),
|
224
|
-
|
225
|
-
onClick: s[8] || (s[8] = (t) => r(
|
219
|
+
o(_, {
|
220
|
+
onClick: s[8] || (s[8] = (t) => r(c).push({
|
226
221
|
name: "Legal",
|
227
222
|
params: {
|
228
|
-
_id: r(
|
223
|
+
_id: r(a).params._id
|
229
224
|
}
|
230
225
|
})),
|
231
226
|
class: "cursor-pointer"
|
@@ -235,9 +230,9 @@ const G = {
|
|
235
230
|
]),
|
236
231
|
_: 1
|
237
232
|
}),
|
238
|
-
|
233
|
+
o(_, {
|
239
234
|
class: "cursor-pointer",
|
240
|
-
onClick: s[9] || (s[9] = (t) =>
|
235
|
+
onClick: s[9] || (s[9] = (t) => x())
|
241
236
|
}, {
|
242
237
|
default: u(() => [
|
243
238
|
le
|
@@ -252,5 +247,5 @@ const G = {
|
|
252
247
|
}
|
253
248
|
};
|
254
249
|
export {
|
255
|
-
|
250
|
+
Re as default
|
256
251
|
};
|
package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router"),i=require("../../../../components/Tab/Tab.vue2.cjs"),u=require("../../../community/components/sections/Feed.vue.cjs"),o=require("../../../auth/store/auth.cjs"),m={class:"pd-thin"},p={class:"mn-b-medium flex-v-center flex-nowrap flex"},f=e.createElementVNode("h2",{class:"mn-r-medium"},"Posts",-1),_={__name:"ProfileBlogposts",setup(k){const t=n.useRoute(),c=n.useRouter();let d=t.query.tab?t.query.tab:"posts";const r=e.ref(d);return t.query.tab=r.value,e.watch(r,a=>{c.replace({query:{...t.query,tab:a}})}),(a,s)=>(e.openBlock(),e.createElementBlock("div",m,[e.createElementVNode("header",p,[f,o.state.user._id===e.unref(t).params._id?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:s[0]||(s[0]=l=>a.$router.push({name:"Create BlogPost"})),class:"radius-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router"),i=require("../../../../components/Tab/Tab.vue2.cjs"),u=require("../../../community/components/sections/Feed.vue.cjs"),o=require("../../../auth/store/auth.cjs"),m={class:"pd-thin"},p={class:"mn-b-medium flex-v-center flex-nowrap flex"},f=e.createElementVNode("h2",{class:"mn-r-medium"},"Posts",-1),_={__name:"ProfileBlogposts",setup(k){const t=n.useRoute(),c=n.useRouter();let d=t.query.tab?t.query.tab:"posts";const r=e.ref(d);return t.query.tab=r.value,e.watch(r,a=>{c.replace({query:{...t.query,tab:a}})}),(a,s)=>(e.openBlock(),e.createElementBlock("div",m,[e.createElementVNode("header",p,[f,o.state.user._id===e.unref(t).params._id?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:s[0]||(s[0]=l=>a.$router.push({name:"Create BlogPost"})),class:"radius-100 i-big hover-scale-1 cursor-pointer t-white bg-second"}," + ")):e.createCommentVNode("",!0)]),o.state.user._id===e.unref(t).params._id?(e.openBlock(),e.createBlock(i.default,{key:0,selected:r.value,"onUpdate:selected":s[1]||(s[1]=l=>r.value=l),tabs:[{name:"My posts",value:"posts"},{name:"Drafts",value:"drafts"},{name:"Following",value:"following"}],class:"mn-b-small o-hidden h5 radius-big bg-grey"},null,8,["selected"])):e.createCommentVNode("",!0),r.value==="posts"?(e.openBlock(),e.createBlock(u.default,{key:1,user:o.state.user._id,creator:e.unref(t).params._id},null,8,["user","creator"])):e.createCommentVNode("",!0),r.value==="drafts"?(e.openBlock(),e.createBlock(u.default,{key:2,user:o.state.user._id,creator:e.unref(t).params._id,status:"draft"},null,8,["user","creator"])):e.createCommentVNode("",!0),r.value==="following"?(e.openBlock(),e.createBlock(u.default,{key:3,user:o.state.user._id,following:e.unref(t).params._id},null,8,["user","following"])):e.createCommentVNode("",!0)]))}};exports.default=_;
|
package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js
CHANGED
@@ -19,7 +19,7 @@ const h = { class: "pd-thin" }, k = { class: "mn-b-medium flex-v-center flex-now
|
|
19
19
|
onClick: u[0] || (u[0] = (m) => n.$router.push({
|
20
20
|
name: "Create BlogPost"
|
21
21
|
})),
|
22
|
-
class: "radius-
|
22
|
+
class: "radius-100 i-big hover-scale-1 cursor-pointer t-white bg-second"
|
23
23
|
}, " + ")) : o("", !0)
|
24
24
|
]),
|
25
25
|
a.user._id === s(e).params._id ? (t(), l(y, {
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../../../node_modules/js-cookie/
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../../../node_modules/js-cookie/dist/js.cookie.cjs");require("../../../../components/Tab/Tab.vue.cjs");const i=require("../../../../components/Field/Field.vue2.cjs"),m=require("../../../../components/Button/Button.vue2.cjs"),g=require("../../../../components/UploadImage/UploadImage.vue.cjs"),h=require("../sections/ProfileCompletion.vue.cjs"),c=require("vue-router"),r=require("../../../auth/store/auth.cjs"),s=require("../../store/users.cjs");require("../../../middlewares/client/inputs.validation.cjs");require("./ProfileEdit.vue2.cjs");const N={class:"pd-medium for-transition w-100"},V=e.createElementVNode("h3",{class:"mn-b-small"},"Username",-1),w={class:"mn-b-semi"},y=e.createElementVNode("h3",{class:"mn-b-small"},"Profile",-1),U={class:"mn-b-thin radius-small w-100 h-10r bg-grey flex-center flex-column flex"},_=e.createElementVNode("h4",null,"Upload userpic",-1),k=e.createElementVNode("h3",{class:"mn-b-small"},"Socials",-1),q=e.createElementVNode("p",{class:"mn-b-thin"},"Please provide only the username for social media profiles, without full links.",-1),E=e.createElementVNode("h3",{class:"mn-b-small"},"Account",-1),P={__name:"ProfileEdit",async setup(S){let n,d;e.ref(null);const f=c.useRoute(),u=c.useRouter();[n,d]=e.withAsyncContext(()=>s.actions.read({_id:r.state.user._id})),await n,d();const l=e.ref(s.state.current);async function p(){await s.actions.update(s.state.current)}async function b(){window.confirm("Are you sure you want to delete your account? Restoration will be possible only with the help of an administrator.")&&(s.state.current.status="removed",await s.actions.update(s.state.current),r.actions.logout())}function v(){u.replace({name:"User Profile",params:{_id:s.state.current._id}})}return(o,a)=>(e.openBlock(),e.createElementBlock("div",N,[e.unref(f).params._id===r.state.user._id?(e.openBlock(),e.createBlock(h.default,{key:0,user:r.state.user._id,target:l.value,cta:!1},null,8,["user","target"])):e.createCommentVNode("",!0),V,e.createVNode(i.default,{field:l.value.username,"onUpdate:field":a[0]||(a[0]=t=>l.value.username=t),label:"@",placeholder:"Not specified",class:"mn-b-thin w-100 bg-grey pd-medium radius-small",disabled:"true",validation:o.organizationName},null,8,["field","validation"]),e.createElementVNode("p",w,"Your username will be used for URL of profile like "+e.toDisplayString(o.API_URL)+"/users/username",1),y,e.createElementVNode("div",U,[e.createVNode(g.default,{photo:l.value.profile.photo,"onUpdate:photo":a[1]||(a[1]=t=>l.value.profile.photo=t),uploadPath:"users/"+l.value._id+"/avatars",class:"h-4r w-4r aspect-1x1 o-hidden bg-white mn-b-thin radius-extra"},null,8,["photo","uploadPath"]),_]),e.createVNode(i.default,{field:l.value.profile.name,"onUpdate:field":a[2]||(a[2]=t=>l.value.profile.name=t),label:"Name",placeholder:"Not specified",class:"mn-b-thin bg-grey pd-medium radius-small",validation:o.organizationName},null,8,["field","validation"]),e.createVNode(i.default,{field:l.value.profile.description,"onUpdate:field":a[3]||(a[3]=t=>l.value.profile.description=t),label:"Description",placeholder:"Not specified",class:"mn-b-semi bg-grey pd-medium radius-small",disabled:"true",validation:o.organizationName},null,8,["field","validation"]),k,q,e.createVNode(i.default,{field:l.value.socials.instagram,"onUpdate:field":a[4]||(a[4]=t=>l.value.socials.instagram=t),label:"Instagram",placeholder:"",class:"mn-b-thin bg-grey pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:l.value.socials.twitter,"onUpdate:field":a[5]||(a[5]=t=>l.value.socials.twitter=t),label:"Twitter",placeholder:"",class:"mn-b-thin bg-grey pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:l.value.socials.facebook,"onUpdate:field":a[6]||(a[6]=t=>l.value.socials.facebook=t),label:"Facebook",placeholder:"",class:"mn-b-thin bg-grey pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:l.value.socials.telegram,"onUpdate:field":a[7]||(a[7]=t=>l.value.socials.telegram=t),label:"Telegram",placeholder:"",class:"mn-b-semi bg-grey pd-medium radius-small"},null,8,["field"]),E,e.createVNode(i.default,{field:l.value.phone,"onUpdate:field":a[8]||(a[8]=t=>l.value.phone=t),label:"Phone",placeholder:"Not specified",class:"mn-b-thin bg-grey pd-medium mn-b-thin radius-small",disabled:"true",validation:o.organizationName},null,8,["field","validation"]),e.createVNode(i.default,{field:l.value.email,"onUpdate:field":a[9]||(a[9]=t=>l.value.email=t),label:"Email",placeholder:"Not specified",class:"mn-b-semi bg-grey pd-medium radius-small",disabled:!0,validation:o.organizationName},null,8,["field","validation"]),e.createVNode(m.default,{submit:p,callback:v,class:"mn-b-thin"},{default:e.withCtx(()=>[e.createTextVNode("Save")]),_:1}),e.createVNode(m.default,{submit:b,callback:o.a=()=>{e.unref(u).push({name:"Sign In"})},class:"mn-b-thin bg-red t-white"},{default:e.withCtx(()=>[e.createTextVNode("Delete Account")]),_:1},8,["callback"])]))}};exports.default=P;
|
@@ -1,21 +1,21 @@
|
|
1
|
-
import { ref as f, withAsyncContext as U, openBlock as c, createElementBlock as k, unref as b, createBlock as P, createCommentVNode as
|
2
|
-
import "../../../../../../node_modules/js-cookie/
|
1
|
+
import { ref as f, withAsyncContext as U, openBlock as c, createElementBlock as k, unref as b, createBlock as P, createCommentVNode as S, createVNode as i, createElementVNode as s, toDisplayString as z, withCtx as h, createTextVNode as g } from "vue";
|
2
|
+
import "../../../../../../node_modules/js-cookie/dist/js.cookie.js";
|
3
3
|
import "../../../../components/Tab/Tab.vue.js";
|
4
4
|
import t from "../../../../components/Field/Field.vue2.js";
|
5
|
-
import
|
6
|
-
import
|
7
|
-
import
|
8
|
-
import { useRoute as
|
5
|
+
import v from "../../../../components/Button/Button.vue2.js";
|
6
|
+
import A from "../../../../components/UploadImage/UploadImage.vue.js";
|
7
|
+
import R from "../sections/ProfileCompletion.vue.js";
|
8
|
+
import { useRoute as $, useRouter as D } from "vue-router";
|
9
9
|
import { state as r, actions as E } from "../../../auth/store/auth.js";
|
10
10
|
import { actions as d, state as n } from "../../store/users.js";
|
11
11
|
import "../../../middlewares/client/inputs.validation.js";
|
12
12
|
import "./ProfileEdit.vue2.js";
|
13
|
-
const
|
13
|
+
const T = { class: "pd-medium for-transition w-100" }, V = /* @__PURE__ */ s("h3", { class: "mn-b-small" }, "Username", -1), x = { class: "mn-b-semi" }, B = /* @__PURE__ */ s("h3", { class: "mn-b-small" }, "Profile", -1), C = { class: "mn-b-thin radius-small w-100 h-10r bg-grey flex-center flex-column flex" }, I = /* @__PURE__ */ s("h4", null, "Upload userpic", -1), F = /* @__PURE__ */ s("h3", { class: "mn-b-small" }, "Socials", -1), L = /* @__PURE__ */ s("p", { class: "mn-b-thin" }, "Please provide only the username for social media profiles, without full links.", -1), Y = /* @__PURE__ */ s("h3", { class: "mn-b-small" }, "Account", -1), le = {
|
14
14
|
__name: "ProfileEdit",
|
15
|
-
async setup(
|
15
|
+
async setup(j) {
|
16
16
|
let m, u;
|
17
17
|
f(null);
|
18
|
-
const w =
|
18
|
+
const w = $(), p = D();
|
19
19
|
[m, u] = U(() => d.read({ _id: r.user._id })), await m, u();
|
20
20
|
const e = f(n.current);
|
21
21
|
async function y() {
|
@@ -27,14 +27,14 @@ const R = { class: "pd-medium for-transition w-100" }, T = /* @__PURE__ */ o("h3
|
|
27
27
|
function N() {
|
28
28
|
p.replace({ name: "User Profile", params: { _id: n.current._id } });
|
29
29
|
}
|
30
|
-
return (
|
31
|
-
b(w).params._id === r.user._id ? (c(), P(
|
30
|
+
return (o, l) => (c(), k("div", T, [
|
31
|
+
b(w).params._id === r.user._id ? (c(), P(R, {
|
32
32
|
key: 0,
|
33
33
|
user: r.user._id,
|
34
34
|
target: e.value,
|
35
35
|
cta: !1
|
36
|
-
}, null, 8, ["user", "target"])) :
|
37
|
-
|
36
|
+
}, null, 8, ["user", "target"])) : S("", !0),
|
37
|
+
V,
|
38
38
|
i(t, {
|
39
39
|
field: e.value.username,
|
40
40
|
"onUpdate:field": l[0] || (l[0] = (a) => e.value.username = a),
|
@@ -42,18 +42,18 @@ const R = { class: "pd-medium for-transition w-100" }, T = /* @__PURE__ */ o("h3
|
|
42
42
|
placeholder: "Not specified",
|
43
43
|
class: "mn-b-thin w-100 bg-grey pd-medium radius-small",
|
44
44
|
disabled: "true",
|
45
|
-
validation:
|
45
|
+
validation: o.organizationName
|
46
46
|
}, null, 8, ["field", "validation"]),
|
47
|
-
|
47
|
+
s("p", x, "Your username will be used for URL of profile like " + z(o.API_URL) + "/users/username", 1),
|
48
48
|
B,
|
49
|
-
|
50
|
-
i(
|
49
|
+
s("div", C, [
|
50
|
+
i(A, {
|
51
51
|
photo: e.value.profile.photo,
|
52
52
|
"onUpdate:photo": l[1] || (l[1] = (a) => e.value.profile.photo = a),
|
53
53
|
uploadPath: "users/" + e.value._id + "/avatars",
|
54
54
|
class: "h-4r w-4r aspect-1x1 o-hidden bg-white mn-b-thin radius-extra"
|
55
55
|
}, null, 8, ["photo", "uploadPath"]),
|
56
|
-
|
56
|
+
I
|
57
57
|
]),
|
58
58
|
i(t, {
|
59
59
|
field: e.value.profile.name,
|
@@ -61,7 +61,7 @@ const R = { class: "pd-medium for-transition w-100" }, T = /* @__PURE__ */ o("h3
|
|
61
61
|
label: "Name",
|
62
62
|
placeholder: "Not specified",
|
63
63
|
class: "mn-b-thin bg-grey pd-medium radius-small",
|
64
|
-
validation:
|
64
|
+
validation: o.organizationName
|
65
65
|
}, null, 8, ["field", "validation"]),
|
66
66
|
i(t, {
|
67
67
|
field: e.value.profile.description,
|
@@ -70,10 +70,10 @@ const R = { class: "pd-medium for-transition w-100" }, T = /* @__PURE__ */ o("h3
|
|
70
70
|
placeholder: "Not specified",
|
71
71
|
class: "mn-b-semi bg-grey pd-medium radius-small",
|
72
72
|
disabled: "true",
|
73
|
-
validation:
|
73
|
+
validation: o.organizationName
|
74
74
|
}, null, 8, ["field", "validation"]),
|
75
75
|
F,
|
76
|
-
|
76
|
+
L,
|
77
77
|
i(t, {
|
78
78
|
field: e.value.socials.instagram,
|
79
79
|
"onUpdate:field": l[4] || (l[4] = (a) => e.value.socials.instagram = a),
|
@@ -102,7 +102,7 @@ const R = { class: "pd-medium for-transition w-100" }, T = /* @__PURE__ */ o("h3
|
|
102
102
|
placeholder: "",
|
103
103
|
class: "mn-b-semi bg-grey pd-medium radius-small"
|
104
104
|
}, null, 8, ["field"]),
|
105
|
-
|
105
|
+
Y,
|
106
106
|
i(t, {
|
107
107
|
field: e.value.phone,
|
108
108
|
"onUpdate:field": l[8] || (l[8] = (a) => e.value.phone = a),
|
@@ -110,7 +110,7 @@ const R = { class: "pd-medium for-transition w-100" }, T = /* @__PURE__ */ o("h3
|
|
110
110
|
placeholder: "Not specified",
|
111
111
|
class: "mn-b-thin bg-grey pd-medium mn-b-thin radius-small",
|
112
112
|
disabled: "true",
|
113
|
-
validation:
|
113
|
+
validation: o.organizationName
|
114
114
|
}, null, 8, ["field", "validation"]),
|
115
115
|
i(t, {
|
116
116
|
field: e.value.email,
|
@@ -119,27 +119,27 @@ const R = { class: "pd-medium for-transition w-100" }, T = /* @__PURE__ */ o("h3
|
|
119
119
|
placeholder: "Not specified",
|
120
120
|
class: "mn-b-semi bg-grey pd-medium radius-small",
|
121
121
|
disabled: !0,
|
122
|
-
validation:
|
122
|
+
validation: o.organizationName
|
123
123
|
}, null, 8, ["field", "validation"]),
|
124
|
-
i(
|
124
|
+
i(v, {
|
125
125
|
submit: y,
|
126
126
|
callback: N,
|
127
127
|
class: "mn-b-thin"
|
128
128
|
}, {
|
129
129
|
default: h(() => [
|
130
|
-
|
130
|
+
g("Save")
|
131
131
|
]),
|
132
132
|
_: 1
|
133
133
|
}),
|
134
|
-
i(
|
134
|
+
i(v, {
|
135
135
|
submit: _,
|
136
|
-
callback:
|
136
|
+
callback: o.a = () => {
|
137
137
|
b(p).push({ name: "Sign In" });
|
138
138
|
},
|
139
139
|
class: "mn-b-thin bg-red t-white"
|
140
140
|
}, {
|
141
141
|
default: h(() => [
|
142
|
-
|
142
|
+
g("Delete Account")
|
143
143
|
]),
|
144
144
|
_: 1
|
145
145
|
}, 8, ["callback"])
|
@@ -147,5 +147,5 @@ const R = { class: "pd-medium for-transition w-100" }, T = /* @__PURE__ */ o("h3
|
|
147
147
|
}
|
148
148
|
};
|
149
149
|
export {
|
150
|
-
|
150
|
+
le as default
|
151
151
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("vue-router"),d=require("../../../../components/Tab/Tab.vue2.cjs"),l=require("../../../events/components/sections/Feed.vue.cjs"),n=require("../../../auth/store/auth.cjs"),m={class:"pd-thin"},p={class:"mn-b-medium flex-v-center flex-nowrap flex"},v=e.createElementVNode("h2",{class:"mn-r-medium"}," Events ",-1),_={__name:"ProfileEvents",setup(b){const t=c.useRoute(),o=c.useRouter();let i=t.query.tab?t.query.tab:"owner";const r=e.ref(i);return t.query.tab=r.value,e.watch(r,s=>{o.replace({query:{...t.query,tab:s}})}),(s,a)=>(e.openBlock(),e.createElementBlock("div",m,[e.createElementVNode("header",p,[v,n.state.user._id===e.unref(t).params._id?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:a[0]||(a[0]=u=>e.unref(o).push({name:"Create Event"})),class:"radius-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("vue-router"),d=require("../../../../components/Tab/Tab.vue2.cjs"),l=require("../../../events/components/sections/Feed.vue.cjs"),n=require("../../../auth/store/auth.cjs"),m={class:"pd-thin"},p={class:"mn-b-medium flex-v-center flex-nowrap flex"},v=e.createElementVNode("h2",{class:"mn-r-medium"}," Events ",-1),_={__name:"ProfileEvents",setup(b){const t=c.useRoute(),o=c.useRouter();let i=t.query.tab?t.query.tab:"owner";const r=e.ref(i);return t.query.tab=r.value,e.watch(r,s=>{o.replace({query:{...t.query,tab:s}})}),(s,a)=>(e.openBlock(),e.createElementBlock("div",m,[e.createElementVNode("header",p,[v,n.state.user._id===e.unref(t).params._id?(e.openBlock(),e.createElementBlock("button",{key:0,onClick:a[0]||(a[0]=u=>e.unref(o).push({name:"Create Event"})),class:"radius-100 i-big hover-scale-1 cursor-pointer t-white bg-second"}," + ")):e.createCommentVNode("",!0)]),e.createVNode(d.default,{selected:r.value,"onUpdate:selected":a[1]||(a[1]=u=>r.value=u),tabs:[{name:"My",value:"owner"},{name:"Participant",value:"participant"}],class:"mn-b-small o-hidden h5 radius-big bg-grey"},null,8,["selected"]),r.value==="owner"?(e.openBlock(),e.createBlock(l.default,{key:0,user:n.state.user._id,creator:e.unref(t).params._id,sortOrder:"asc"},null,8,["user","creator"])):e.createCommentVNode("",!0),r.value==="participant"?(e.openBlock(),e.createBlock(l.default,{key:1,user:n.state.user._id,participant:e.unref(t).params._id,sortOrder:"desc"},null,8,["user","participant"])):e.createCommentVNode("",!0)]))}};exports.default=_;
|
@@ -17,7 +17,7 @@ const g = { class: "pd-thin" }, w = { class: "mn-b-medium flex-v-center flex-now
|
|
17
17
|
n.user._id === s(e).params._id ? (a(), l("button", {
|
18
18
|
key: 0,
|
19
19
|
onClick: t[0] || (t[0] = (c) => s(i).push({ name: "Create Event" })),
|
20
|
-
class: "radius-
|
20
|
+
class: "radius-100 i-big hover-scale-1 cursor-pointer t-white bg-second"
|
21
21
|
}, " + ")) : o("", !0)
|
22
22
|
]),
|
23
23
|
v(k, {
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("../../
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("../../auth/store/auth.cjs");const e=require("../../middlewares/client/auth.validation.cjs"),t=[{path:"profile/:_id",name:"User Profile",meta:{title:{en:"Profile",ru:"Профиль"}},component:()=>Promise.resolve().then(()=>require("../components/pages/Profile.vue.cjs"))},{path:"profile/:_id/edit",name:"User Edit Profile",beforeEnter:[e.requiresAuth],meta:{title:{en:"Edit Profile",ru:"Редактировать Профиль"}},component:()=>Promise.resolve().then(()=>require("../components/pages/ProfileEdit.vue.cjs"))},{path:"profile/:_id/blogposts",name:"User Blogposts",meta:{title:{en:"Posts",ru:"Посты"}},component:()=>Promise.resolve().then(()=>require("../components/pages/ProfileBlogposts.vue.cjs"))},{path:"profile/:_id/events",name:"User Events",meta:{title:{en:"Events",ru:"События"}},component:()=>Promise.resolve().then(()=>require("../components/pages/ProfileEvents.vue.cjs"))},{path:"profile/:_id/organizations",name:"User Organizations",meta:{title:{en:"Groups",ru:"Группы"}},component:()=>Promise.resolve().then(()=>require("../../organizations/components/pages/Organizations.vue.cjs"))},{path:"profile/:_id/wallet",name:"User Wallet",meta:{title:{en:"Wallet",ru:"Кошелек"}},component:()=>Promise.resolve().then(()=>require("../../wallet/components/pages/Wallet.vue.cjs"))}];exports.default=t;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import "../../
|
1
|
+
import "../../auth/store/auth.js";
|
2
2
|
import { requiresAuth as e } from "../../middlewares/client/auth.validation.js";
|
3
3
|
const r = [
|
4
4
|
{
|
@@ -71,7 +71,7 @@ const r = [
|
|
71
71
|
},
|
72
72
|
component: () => import(
|
73
73
|
/* webpackChunkName: "profile" */
|
74
|
-
"
|
74
|
+
"../../organizations/components/pages/Organizations.vue.js"
|
75
75
|
)
|
76
76
|
},
|
77
77
|
{
|