@ozdao/prometheus-framework 0.2.111 → 0.2.113
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/common.schema-BFhpUXUt.js +12 -0
- package/dist/common.schema-ChBVARrs.mjs +13 -0
- package/dist/community.server.js +6 -4
- package/dist/community.server.mjs +4 -2
- package/dist/engagement.schema-CI2ifjXN.mjs +28 -0
- package/dist/engagement.schema-fdLNO2_6.js +27 -0
- package/dist/events.server.js +6 -4
- package/dist/events.server.mjs +4 -2
- package/dist/files.server.js +81 -29
- package/dist/files.server.mjs +81 -29
- package/dist/gallery.server.js +66 -39
- package/dist/gallery.server.mjs +66 -39
- package/dist/main-8APITHuW.mjs +14201 -0
- package/dist/main-8N2Jmsuk.js +2 -2
- package/dist/main-BJvlNekm.mjs +5 -5
- package/dist/main-BQisDfLk.js +2 -2
- package/dist/main-BV1Yv9Hy.js +2 -2
- package/dist/main-Bw0PvTs-.mjs +5 -5
- package/dist/main-ByCtZbHD.mjs +5 -5
- package/dist/main-CX2ISR43.mjs +5 -5
- package/dist/main-CXObXjv-.js +2 -2
- package/dist/main-CkeuHuCY.mjs +5 -5
- package/dist/main-CnfcBov2.mjs +5 -5
- package/dist/main-D50VqYhy.js +2 -2
- package/dist/main-D8gNZLSa.js +2 -2
- package/dist/main-DPsHxX0l.mjs +5 -5
- package/dist/main-DTlUA63C.mjs +5 -5
- package/dist/main-DfD5hLQo.mjs +5 -5
- package/dist/main-Dh6Zfei9.js +2 -2
- package/dist/main-DmNP-t33.mjs +5 -5
- package/dist/main-DwyUYWFX.js +2 -2
- package/dist/main-VcxO-jAt.js +92 -0
- package/dist/main-cffh4bbv.js +2 -2
- package/dist/main-pGo7JpSP.js +2 -2
- package/dist/main.css +1 -1
- package/dist/metadata.schema-6slGhpQS.js +40 -0
- package/dist/metadata.schema-CK5e2O3f.mjs +41 -0
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +1 -1
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +410 -407
- package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.cjs +3 -3
- package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.js +469 -456
- package/dist/node_modules/web3/lib/esm/accounts.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/accounts.js +5 -2
- package/dist/node_modules/web3/lib/esm/index.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/index.js +45 -42
- 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 +40 -37
- package/dist/node_modules/web3-core/lib/esm/web3_config.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_config.js +28 -18
- package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_context.js +56 -53
- 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 +100 -87
- package/dist/node_modules/web3-errors/lib/esm/error_codes.cjs +1 -1
- package/dist/node_modules/web3-errors/lib/esm/error_codes.js +97 -95
- package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.cjs +1 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.js +8 -8
- package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.cjs +1 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.js +20 -20
- package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.cjs +4 -4
- package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.js +2 -2
- package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.cjs +1 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.js +33 -27
- package/dist/node_modules/web3-errors/lib/esm/web3_error_base.cjs +1 -1
- package/dist/node_modules/web3-errors/lib/esm/web3_error_base.js +33 -12
- 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 +183 -179
- 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 +10 -10
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.js +45 -44
- 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 +59 -57
- package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.js +43 -43
- package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.js +31 -31
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +26 -26
- 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 +53 -51
- 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 +25 -23
- package/dist/node_modules/web3-eth/lib/esm/web3_eth.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +103 -101
- package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +2 -2
- package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +159 -156
- package/dist/node_modules/web3-eth-contract/lib/esm/encoding.cjs +1 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/encoding.js +11 -8
- package/dist/node_modules/web3-eth-contract/lib/esm/index.cjs +1 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/index.js +3 -0
- package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.cjs +1 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.js +5 -2
- package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +1 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +19 -16
- package/dist/node_modules/web3-eth-ens/lib/esm/registry.cjs +1 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/registry.js +5 -2
- package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.cjs +1 -1
- package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.js +50 -47
- package/dist/node_modules/web3-net/lib/esm/net.cjs +1 -1
- package/dist/node_modules/web3-net/lib/esm/net.js +27 -27
- package/dist/node_modules/web3-utils/lib/esm/converters.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/converters.js +100 -83
- package/dist/node_modules/web3-utils/lib/esm/formatter.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/formatter.js +123 -104
- package/dist/node_modules/web3-validator/lib/esm/utils.cjs +1 -1
- package/dist/node_modules/web3-validator/lib/esm/utils.js +21 -21
- package/dist/node_modules/web3-validator/lib/esm/validation/bytes.cjs +1 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/bytes.js +10 -10
- package/dist/node_modules/web3-validator/lib/esm/validation/numbers.cjs +1 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/numbers.js +30 -28
- package/dist/orders.server.js +1 -1
- package/dist/orders.server.mjs +1 -1
- package/dist/organizations.server.js +56 -59
- package/dist/organizations.server.mjs +56 -59
- package/dist/products.server.js +1 -1
- package/dist/products.server.mjs +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue2.js +17 -17
- package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Block/Block.vue.js +5 -5
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +33 -30
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +9 -9
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.js +1 -0
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.js +165 -0
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +22 -19
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +132 -64
- package/dist/prometheus-framework/src/components/Feed/Feed.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/components/Feed/Feed.vue2.js +1 -0
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +9 -9
- package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.js +12 -12
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +16 -16
- package/dist/prometheus-framework/src/components/Map/Map.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Map/Map.vue.js +14 -13
- package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.js +121 -0
- package/dist/prometheus-framework/src/components/Marquee/Marquee.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/components/Marquee/Marquee.vue2.js +1 -0
- package/dist/prometheus-framework/src/components/Radio/Radio.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Radio/Radio.vue.js +29 -36
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +1 -45
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +45 -1
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +6 -6
- 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 +17 -17
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +3 -3
- 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 +24 -24
- 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 +24 -24
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +11 -11
- 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 +26 -26
- 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 +14 -14
- 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 +6 -6
- 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 +45 -45
- 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 +13 -13
- package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.js +5 -5
- 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 +19 -16
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +13 -13
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +213 -213
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +23 -23
- 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 +9 -9
- package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +167 -202
- 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 +73 -165
- package/dist/prometheus-framework/src/modules/gallery/store/gallery.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/store/gallery.js +3 -47
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSorting.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSorting.vue.js +75 -0
- 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 +96 -77
- package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue.js +1 -0
- package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.js +27 -0
- package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonSort.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonSort.vue.js +31 -0
- package/dist/prometheus-framework/src/modules/globals/services/globals.store.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/services/globals.store.js +21 -19
- package/dist/prometheus-framework/src/modules/globals/store/globals.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/store/globals.js +10 -4
- package/dist/prometheus-framework/src/modules/icons/navigation/IconCalendar.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconCalendar.vue.js +31 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconFilter.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconFilter.vue.js +31 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconSort.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconSort.vue.js +59 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +80 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.js +1 -0
- package/dist/prometheus-framework/src/modules/landing/landing.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/landing/landing.client.js +8 -6
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.js +30 -30
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +21 -45
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +13 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +1 -13
- 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 +36 -36
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +53 -53
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +33 -33
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +10 -10
- 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 +5 -5
- package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +24 -24
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/orders/store/applications.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/store/applications.js +37 -0
- 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 +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js +11 -11
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +16 -16
- 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 +41 -41
- 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 +11 -11
- 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 +17 -17
- 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 +36 -36
- 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 +8 -8
- 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 +2 -2
- 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 +20 -20
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +12 -12
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.js +13 -13
- package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +33 -34
- 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 +16 -16
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +15 -15
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +8 -8
- 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 +9 -9
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +22 -22
- 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 +6 -6
- 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 +8 -8
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +14 -14
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +51 -56
- 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 +4 -4
- 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 +32 -32
- package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/products.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/products.client.js +28 -30
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js +12 -12
- 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 +30 -26
- package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.js +6 -6
- 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 +35 -35
- 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 +11 -11
- 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 +41 -41
- 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 +13 -13
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js +102 -0
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue2.js +1 -0
- package/dist/prometheus-framework/src/modules/users/users.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/users.client.js +8 -6
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +14 -11
- package/dist/prometheus-framework.cjs.js +1 -1
- package/dist/prometheus-framework.es.js +1 -1
- package/dist/queryProcessor-BJoJAetd.mjs +162 -0
- package/dist/queryProcessor-DWf9tsis.js +161 -0
- package/dist/style.css +1 -1
- package/dist/wallet.server.js +1 -1
- package/dist/wallet.server.mjs +1 -1
- package/dist/web-TGdVOTnw.js +1 -0
- package/dist/web-_W9a_nWD.mjs +54 -0
- package/package.json +1 -1
- package/src/components/Address/Address.vue +1 -1
- package/src/components/AskToLogin/AskToLogin.vue +1 -1
- package/src/components/Block/Block.vue +1 -1
- package/src/components/Checkbox/Checkbox.vue +40 -43
- package/src/components/Chips/Chips.vue +2 -2
- package/src/components/DatePicker/Calendar.vue +29 -31
- package/src/components/Dropdown/Dropdown.vue +5 -11
- package/src/components/Feed/Feed.vue +98 -15
- package/src/components/FieldTags/BlockTags.vue +3 -3
- package/src/components/FieldTags/FieldTags.vue +1 -1
- package/src/components/FieldTags/vue-tags-input.scss +1 -1
- package/src/components/LocationMarker/LocationMarker.vue +1 -1
- package/src/components/LocationSelection/LocationSelection.vue +5 -30
- package/src/components/Map/LoaderGMaps.js +66 -0
- package/src/components/Map/Map.vue +2 -1
- package/src/components/Marquee/Marquee.vue +1 -1
- package/src/components/Radio/Radio.vue +36 -13
- package/src/configurator/components/pages/Styles.vue +1 -1
- package/src/modules/auth/components/layouts/Auth.vue +1 -1
- package/src/modules/auth/components/pages/EnterCode.vue +4 -4
- package/src/modules/auth/components/pages/EnterPassword.vue +2 -2
- package/src/modules/auth/components/pages/Invite.vue +2 -2
- package/src/modules/auth/components/pages/ResetPassword.vue +3 -3
- package/src/modules/auth/components/pages/SignIn.vue +4 -4
- package/src/modules/auth/components/pages/SignUp.vue +3 -3
- package/src/modules/backoffice/components/admin/Backcalls.vue +1 -1
- package/src/modules/backoffice/components/admin/FastOrders.vue +1 -1
- package/src/modules/backoffice/components/admin/Pages.vue +1 -1
- package/src/modules/backoffice/components/admin/ProductEdit.vue +1 -1
- package/src/modules/backoffice/components/admin/UserEdit.vue +1 -1
- package/src/modules/backoffice/components/admin/Users.vue +1 -1
- package/src/modules/backoffice/components/pages/Dashboard.vue +3 -3
- package/src/modules/community/components/blocks/CardBlogpost.vue +1 -1
- package/src/modules/community/components/layouts/Community.vue +2 -2
- package/src/modules/community/components/pages/BlogPost.vue +2 -2
- package/src/modules/community/components/pages/CreateBlogPost.vue +4 -4
- package/src/modules/community/components/sections/Comments.vue +2 -2
- package/src/modules/community/components/sections/Feed.vue +1 -1
- package/src/modules/community/components/sections/HotPosts.vue +1 -1
- package/src/modules/constructor/components/elements/Image.vue +1 -1
- package/src/modules/constructor/components/elements/Video.vue +2 -2
- package/src/modules/events/components/blocks/CardEvent.vue +1 -1
- package/src/modules/events/components/pages/EditEvent.vue +32 -32
- package/src/modules/events/components/pages/EditEventTickets.vue +1 -1
- package/src/modules/events/components/pages/Event.vue +3 -3
- package/src/modules/events/components/pages/Events.vue +4 -3
- package/src/modules/events/components/sections/Feed.vue +3 -3
- package/src/modules/events/components/sections/List.vue +2 -2
- package/src/modules/files/controllers/files.controller.js +8 -6
- package/src/modules/files/middlewares/server/middlewareBusboy.js +79 -14
- package/src/modules/files/routes/files.routes.js +11 -9
- package/src/modules/gallery/components/sections/BackofficeGallery.vue +158 -355
- package/src/modules/gallery/components/sections/GalleryWithCategories.vue +26 -244
- package/src/modules/gallery/controllers/gallery.controller.js +57 -38
- package/src/modules/gallery/models/photo.model.js +20 -11
- package/src/modules/gallery/routes/gallery.routes.js +3 -3
- package/src/modules/gallery/store/gallery.js +3 -78
- package/src/modules/globals/components/blocks/BlockSearch.vue +1 -1
- package/src/modules/globals/components/blocks/BlockSorting.vue +77 -0
- package/src/modules/globals/components/blocks/CardHeader.vue +27 -25
- package/src/modules/globals/components/elements/ButtonDate.vue +66 -0
- package/src/modules/globals/components/elements/ButtonSort.vue +41 -0
- package/src/modules/globals/components/layouts/Client.vue +273 -0
- package/src/{components/Footer → modules/globals/components/partials}/Footer.vue +1 -1
- package/src/{components/Header → modules/globals/components/partials}/Header.vue +98 -84
- package/src/modules/globals/controllers/utils/queryProcessor.js +3 -3
- package/src/modules/globals/models/common.schema.js +1 -1
- package/src/modules/globals/services/globals.store.js +11 -6
- package/src/modules/globals/store/globals.js +12 -10
- package/src/modules/icons/logos/Logotype.vue +23 -19
- package/src/modules/icons/navigation/IconCalendar.vue +18 -0
- package/src/modules/icons/navigation/IconFilter.vue +18 -0
- package/src/modules/icons/navigation/IconSearch.vue +1 -3
- package/src/modules/icons/navigation/IconSort.vue +21 -0
- package/src/modules/landing/components/pages/Home.vue +4 -4
- package/src/modules/landing/components/sections/FeatureSection.vue +5 -5
- package/src/modules/landing/components/sections/HowToBuyWDR.vue +2 -2
- package/src/modules/landing/components/sections/SectionFeature.vue +2 -2
- package/src/modules/landing/components/sections/SectionFeaturesImages.vue +2 -2
- package/src/modules/landing/components/sections/SectionsSection.vue +4 -4
- package/src/modules/{orders → landing}/components/sections/SubscribeNewsletter.vue +0 -2
- package/src/modules/landing/components/sections/WhatIsWDRSection.vue +6 -6
- package/src/modules/landing/landing.client.js +2 -0
- package/src/modules/landing/router/landing.js +1 -1
- package/src/modules/legal/components/pages/Legal.vue +2 -2
- package/src/modules/legal/components/pages/legal/Cookies.vue +1 -1
- package/src/modules/legal/components/pages/legal/EULA.vue +1 -1
- package/src/modules/legal/components/pages/legal/Privacy.vue +1 -1
- package/src/modules/legal/components/pages/legal/Terms.vue +1 -1
- package/src/modules/marketplace/components/layouts/Marketplace.vue +37 -49
- package/src/modules/marketplace/components/pages/Catalog.vue +43 -131
- package/src/modules/marketplace/components/sections/Filters.vue +63 -115
- package/src/modules/marketplace/store/marketplace.js +22 -167
- package/src/modules/mobile/components/Walkthrough/Walkthrough.vue +1 -1
- package/src/modules/orders/components/blocks/CardOrderItem.vue +6 -6
- package/src/modules/orders/components/blocks/CardOrderVar1.vue +1 -1
- package/src/modules/orders/components/blocks/StatusHistory.vue +1 -1
- package/src/modules/orders/components/pages/Order.vue +8 -8
- package/src/modules/orders/components/pages/OrderBackoffice.vue +7 -7
- package/src/modules/orders/components/pages/OrderCreate.vue +1 -1
- package/src/modules/orders/components/pages/OrderCreateBackoffice.vue +3 -3
- package/src/modules/orders/components/pages/Orders.vue +3 -5
- package/src/modules/orders/components/partials/ShopCart.vue +5 -1
- package/src/modules/orders/components/sections/FormAddCustomer.vue +2 -2
- package/src/modules/orders/components/sections/FormDelivery.vue +1 -1
- package/src/modules/orders/store/applications.js +1 -1
- package/src/modules/organizations/components/blocks/CardOrganization.vue +1 -1
- package/src/modules/organizations/components/blocks/Contacts.vue +4 -4
- package/src/modules/organizations/components/pages/Department.vue +3 -3
- package/src/modules/organizations/components/pages/DepartmentEdit.vue +6 -6
- package/src/modules/organizations/components/pages/Members.vue +4 -4
- package/src/modules/organizations/components/pages/Organization.vue +3 -3
- package/src/modules/organizations/components/pages/OrganizationCreate.vue +2 -2
- package/src/modules/organizations/components/pages/OrganizationDetails.vue +1 -1
- package/src/modules/organizations/components/pages/OrganizationDocuments.vue +1 -1
- package/src/modules/organizations/components/pages/OrganizationEdit.vue +9 -9
- package/src/modules/organizations/components/pages/OrganizationPeople.vue +1 -1
- package/src/modules/organizations/components/pages/Organizations.vue +1 -1
- package/src/modules/organizations/components/sections/DetailsTab.vue +4 -4
- package/src/modules/organizations/components/sections/Feed.vue +2 -2
- package/src/modules/organizations/components/sections/MembersAdd.vue +2 -2
- package/src/modules/organizations/components/sections/Publics.vue +1 -1
- package/src/modules/organizations/controllers/organizations.controller.js +103 -93
- package/src/modules/organizations/models/organization.model.js +10 -7
- package/src/modules/organizations/store/organizations.js +3 -34
- package/src/modules/products/components/blocks/CardPosition.vue +2 -2
- package/src/modules/products/components/blocks/LeftoverPositions.vue +2 -2
- package/src/modules/products/components/pages/Categories.vue +1 -1
- package/src/modules/products/components/pages/EditLeftover.vue +1 -1
- package/src/modules/products/components/pages/Leftovers.vue +4 -4
- package/src/modules/products/components/pages/Product.vue +1 -5
- package/src/modules/products/components/pages/ProductEdit.vue +1 -1
- package/src/modules/products/components/pages/Products.vue +2 -2
- package/src/modules/products/components/sections/EditProductInfo.vue +1 -1
- package/src/modules/products/components/sections/FilterProducts.vue +1 -1
- package/src/modules/products/components/sections/HeroRecommendation.vue +67 -74
- package/src/modules/products/components/sections/MenuSection.vue +2 -2
- package/src/modules/products/components/sections/PopularProducts.vue +2 -2
- package/src/modules/products/components/sections/SectionProduct.vue +3 -3
- package/src/modules/products/products.client.js +0 -2
- package/src/modules/reports/components/pages/BackofficeReports.vue +4 -4
- package/src/modules/spots/components/blocks/CardSpot.vue +9 -1
- package/src/modules/spots/components/blocks/SpotMemberModify.vue +2 -2
- package/src/modules/spots/components/layouts/Spots.vue +0 -2
- package/src/modules/spots/components/pages/Spot.vue +4 -4
- package/src/modules/spots/components/pages/SpotEdit.vue +1 -1
- package/src/modules/spots/components/sections/PlaceModify.vue +1 -1
- package/src/modules/spots/components/sections/Places.vue +1 -1
- package/src/modules/users/components/blocks/CardUser.vue +3 -3
- package/src/modules/users/components/pages/Profile.vue +5 -5
- package/src/modules/users/components/pages/ProfileBlogposts.vue +1 -1
- package/src/modules/users/components/pages/ProfileComments.vue +1 -1
- package/src/modules/users/components/pages/ProfileEdit.vue +11 -11
- package/src/modules/users/components/pages/ProfileEvents.vue +1 -1
- package/src/modules/users/components/pages/ProfileLikes.vue +1 -1
- package/src/modules/users/components/sections/FeaturedUsers.vue +76 -14
- package/src/modules/users/users.client.js +5 -0
- package/src/modules/wallet/views/components/pages/Payments.vue +2 -2
- package/src/modules/wallet/views/components/pages/Wallet.vue +3 -3
- package/src/styles/base/borders.scss +4 -0
- package/src/styles/base/shadow_transitions_hover_refactor.scss +4 -0
- package/src/styles/config.scss +15 -9
- package/src/styles/layout.scss +37 -8
- package/src/styles/typography.scss +24 -24
- package/src/modules/products/components/sections/SortProducts.vue +0 -74
- /package/src/{components/Navigation → modules/globals/components/partials}/Navigation.vue +0 -0
@@ -1,16 +1,16 @@
|
|
1
|
-
import { ref as U, onMounted as C, openBlock as i, createElementBlock as c, unref as
|
1
|
+
import { ref as U, onMounted as C, openBlock as i, createElementBlock as c, unref as s, createBlock as d, createCommentVNode as m, createElementVNode as l, withCtx as u, createVNode as a, toDisplayString as _, Fragment as E, renderList as S, normalizeClass as P } from "vue";
|
2
2
|
import "../../../../components/Field/Field.vue.js";
|
3
3
|
import "../../../../components/Loader/Loader.vue.js";
|
4
4
|
import "../../../../components/Button/Button.vue.js";
|
5
5
|
import B from "../../../../components/Dropdown/Dropdown.vue.js";
|
6
6
|
import M from "../../../../components/Completion/Completion.vue.js";
|
7
|
-
import k from "../../../mobile/components/Menu/Menu.
|
7
|
+
import k from "../../../mobile/components/Menu/Menu.vue.js";
|
8
8
|
import f from "../../../mobile/components/Menu/MenuItem.vue.js";
|
9
|
-
import
|
9
|
+
import w from "../../../organizations/components/elements/ButtonToggleMembership.vue.js";
|
10
10
|
import R from "../../../reports/components/sections/FormReport.vue.js";
|
11
11
|
import F from "../../../organizations/components/blocks/Socials.vue.js";
|
12
12
|
import N from "../../../icons/entities/IconEvents.vue.js";
|
13
|
-
import
|
13
|
+
import y from "../../../icons/entities/IconGroups.vue.js";
|
14
14
|
import I from "../../../icons/entities/IconCommunity.vue.js";
|
15
15
|
import L from "../../../icons/navigation/IconEdit.vue.js";
|
16
16
|
import O from "../../../icons/placeholders/PlaceholderUserpic.vue.js";
|
@@ -24,33 +24,33 @@ const D = {
|
|
24
24
|
class: "for-transition w-100"
|
25
25
|
}, G = {
|
26
26
|
key: 0,
|
27
|
-
class: "flex-center flex pd-medium radius-big bg-
|
27
|
+
class: "flex-center flex pd-medium radius-big bg-light uppercase t-semi w-100 h-100"
|
28
28
|
}, q = {
|
29
29
|
key: 1,
|
30
30
|
_id: "dash",
|
31
31
|
class: "pd-b-extra pd-thin w-100"
|
32
|
-
}, H = { class: "flex-center pos-relative flex flex-column t-center w-100 mn-b-semi radius-medium pd-medium bg-
|
32
|
+
}, H = { class: "flex-center pos-relative flex flex-column t-center w-100 mn-b-semi radius-medium pd-medium bg-light" }, J = { class: "bg-black pd-thin radius-small" }, K = /* @__PURE__ */ l("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 = {
|
33
33
|
key: 4,
|
34
34
|
class: "mn-b-thin t-main t-semi"
|
35
35
|
}, Y = { class: "mn-b-small p-medium" }, Z = { class: "mn-b-medium flex-center flex-nowrap flex" }, ee = { class: "t-semi mn-b-small" }, re = {
|
36
36
|
key: 6,
|
37
37
|
class: "mn-t-small mn-b-thin"
|
38
|
-
},
|
38
|
+
}, te = /* @__PURE__ */ l("span", null, "Events", -1), se = /* @__PURE__ */ l("span", null, "Groups", -1), ie = /* @__PURE__ */ l("span", null, "Posts", -1), oe = /* @__PURE__ */ l("span", null, "Wallet", -1), ae = /* @__PURE__ */ l("span", null, " Settings ", -1), ne = /* @__PURE__ */ l("span", { class: "t-red" }, " Logout ", -1), Be = {
|
39
39
|
__name: "Profile",
|
40
40
|
setup(le) {
|
41
41
|
const o = V(), p = A(), g = U(!1);
|
42
42
|
C(async () => {
|
43
43
|
await j.read({ _id: o.params._id, user: n.user._id }), g.value = !0;
|
44
44
|
});
|
45
|
-
const
|
46
|
-
z.handleMembershipUpdate(e.current, b, r,
|
45
|
+
const v = ({ membership: b, status: r, target: t }, h, $) => {
|
46
|
+
z.handleMembershipUpdate(e.current, b, r, t, h, $);
|
47
47
|
};
|
48
48
|
function x() {
|
49
49
|
W.logout(), p.push({ name: "Sign In" });
|
50
50
|
}
|
51
51
|
return (b, r) => g.value ? (i(), c("div", D, [
|
52
52
|
e.current.status === "removed" ? (i(), c("div", G, " Sorry, user has been removed. ")) : (i(), c("div", q, [
|
53
|
-
|
53
|
+
s(o).params._id === n.user._id && g.value ? (i(), d(M, {
|
54
54
|
key: 0,
|
55
55
|
user: n.user._id,
|
56
56
|
target: e.current,
|
@@ -60,7 +60,7 @@ const D = {
|
|
60
60
|
class: "mn-b-medium"
|
61
61
|
}, null, 8, ["user", "target"])) : m("", !0),
|
62
62
|
l("section", H, [
|
63
|
-
|
63
|
+
s(o).params._id && s(o).params._id !== n.user._id ? (i(), d(B, {
|
64
64
|
key: 0,
|
65
65
|
label: "...",
|
66
66
|
align: "right",
|
@@ -80,7 +80,7 @@ const D = {
|
|
80
80
|
]),
|
81
81
|
_: 1
|
82
82
|
}, 8, ["user", "target"]),
|
83
|
-
n.user._id ? (i(), d(
|
83
|
+
n.user._id ? (i(), d(w, {
|
84
84
|
key: 0,
|
85
85
|
user: n.user._id,
|
86
86
|
type: "user",
|
@@ -88,16 +88,16 @@ const D = {
|
|
88
88
|
target: e.current._id,
|
89
89
|
status: e.current.isBlocked,
|
90
90
|
text: { create: "Block", remove: "Unblock" },
|
91
|
-
onUpdateMembership: r[0] || (r[0] = (
|
91
|
+
onUpdateMembership: r[0] || (r[0] = (t) => v(t, "isBlocked")),
|
92
92
|
class: "t-white mn-t-thin bg-red"
|
93
93
|
}, null, 8, ["user", "target", "status"])) : m("", !0)
|
94
94
|
])
|
95
95
|
]),
|
96
96
|
_: 1
|
97
97
|
})) : m("", !0),
|
98
|
-
|
98
|
+
s(o).params._id === n.user._id ? (i(), d(L, {
|
99
99
|
key: 1,
|
100
|
-
onClick: r[1] || (r[1] = (
|
100
|
+
onClick: r[1] || (r[1] = (t) => b.$router.push({
|
101
101
|
name: "User Edit Profile",
|
102
102
|
params: {
|
103
103
|
_id: n.user._id
|
@@ -117,12 +117,12 @@ const D = {
|
|
117
117
|
e.current.username ? (i(), c("p", X, " @" + _(e.current.username ? e.current.username : "Not specified"), 1)) : m("", !0),
|
118
118
|
l("p", Y, _(e.current.profile.description ? e.current.profile.description : "Bio not specified"), 1),
|
119
119
|
l("div", Z, [
|
120
|
-
(i(!0), c(E, null, S(e.current.roles, (
|
120
|
+
(i(!0), c(E, null, S(e.current.roles, (t, h) => (i(), c("div", {
|
121
121
|
class: P(["pd-thin radius-small t-semi bg-white", { "mn-r-thin": h !== e.current.roles.length - 1 }])
|
122
|
-
}, _(
|
122
|
+
}, _(t.icon) + " " + _(t.name), 3))), 256))
|
123
123
|
]),
|
124
124
|
l("p", ee, " 👨👨👧👧 " + _(e.current.numberOfSubscribers) + " followers ", 1),
|
125
|
-
n.user._id &&
|
125
|
+
n.user._id && s(o).params._id && s(o).params._id !== n.user._id ? (i(), d(w, {
|
126
126
|
key: 5,
|
127
127
|
user: n.user._id,
|
128
128
|
type: "user",
|
@@ -130,10 +130,10 @@ const D = {
|
|
130
130
|
target: e.current._id,
|
131
131
|
status: e.current.isSubscriber,
|
132
132
|
text: { create: "Follow", remove: "Unfollow" },
|
133
|
-
onUpdateMembership: r[2] || (r[2] = (
|
133
|
+
onUpdateMembership: r[2] || (r[2] = (t) => v(t, "isSubscriber", "numberOfSubscribers")),
|
134
134
|
class: "w-min mn-b-medium mn-r-auto mn-l-auto"
|
135
135
|
}, null, 8, ["user", "target", "status"])) : m("", !0),
|
136
|
-
Object.values(e.current.socials).some((
|
136
|
+
Object.values(e.current.socials).some((t) => t) ? (i(), c("h4", re, " Find Me in Socials ")) : m("", !0),
|
137
137
|
a(F, {
|
138
138
|
telegram: e.current.socials.telegram,
|
139
139
|
facebook: e.current.socials.facebook,
|
@@ -142,10 +142,10 @@ const D = {
|
|
142
142
|
class: "mn-r-auto mn-l-auto"
|
143
143
|
}, null, 8, ["telegram", "facebook", "instagram", "twitter"])
|
144
144
|
]),
|
145
|
-
a(k, { class: "mn-b-regular bg-
|
145
|
+
a(k, { class: "mn-b-regular bg-light" }, {
|
146
146
|
default: u(() => [
|
147
147
|
a(f, {
|
148
|
-
onClick: r[3] || (r[3] = (
|
148
|
+
onClick: r[3] || (r[3] = (t) => s(p).push({ name: "User Events", params: { _id: s(o).params._id } })),
|
149
149
|
class: "cursor-pointer"
|
150
150
|
}, {
|
151
151
|
default: u(() => [
|
@@ -154,25 +154,25 @@ const D = {
|
|
154
154
|
icon: !0,
|
155
155
|
fill: "rgb(var(--white))"
|
156
156
|
}),
|
157
|
-
|
157
|
+
te
|
158
158
|
]),
|
159
159
|
_: 1
|
160
160
|
}),
|
161
161
|
a(f, {
|
162
|
-
onClick: r[4] || (r[4] = (
|
162
|
+
onClick: r[4] || (r[4] = (t) => s(p).push({ name: "User Organizations", params: { _id: s(o).params._id } })),
|
163
163
|
class: "cursor-pointer"
|
164
164
|
}, {
|
165
165
|
default: u(() => [
|
166
|
-
a(
|
166
|
+
a(y, {
|
167
167
|
class: "i-semi",
|
168
168
|
icon: !0
|
169
169
|
}),
|
170
|
-
|
170
|
+
se
|
171
171
|
]),
|
172
172
|
_: 1
|
173
173
|
}),
|
174
174
|
a(f, {
|
175
|
-
onClick: r[5] || (r[5] = (
|
175
|
+
onClick: r[5] || (r[5] = (t) => s(p).push({ name: "User Blogposts", params: { _id: s(o).params._id } })),
|
176
176
|
class: "cursor-pointer"
|
177
177
|
}, {
|
178
178
|
default: u(() => [
|
@@ -189,15 +189,15 @@ const D = {
|
|
189
189
|
}),
|
190
190
|
b.APP_NAME === "Weeder" ? (i(), d(k, {
|
191
191
|
key: 1,
|
192
|
-
class: "mn-b-regular bg-
|
192
|
+
class: "mn-b-regular bg-light"
|
193
193
|
}, {
|
194
194
|
default: u(() => [
|
195
195
|
a(f, {
|
196
|
-
onClick: r[6] || (r[6] = (
|
196
|
+
onClick: r[6] || (r[6] = (t) => s(p).push({ name: "User Wallet", params: { _id: s(o).params._id } })),
|
197
197
|
class: "cursor-pointer"
|
198
198
|
}, {
|
199
199
|
default: u(() => [
|
200
|
-
a(
|
200
|
+
a(y, {
|
201
201
|
class: "i-semi",
|
202
202
|
icon: !0
|
203
203
|
}),
|
@@ -208,16 +208,16 @@ const D = {
|
|
208
208
|
]),
|
209
209
|
_: 1
|
210
210
|
})) : m("", !0),
|
211
|
-
n.user._id ===
|
211
|
+
n.user._id === s(o).params._id ? (i(), d(k, {
|
212
212
|
key: 2,
|
213
|
-
class: "bg-
|
213
|
+
class: "bg-light"
|
214
214
|
}, {
|
215
215
|
default: u(() => [
|
216
216
|
a(f, {
|
217
|
-
onClick: r[7] || (r[7] = (
|
217
|
+
onClick: r[7] || (r[7] = (t) => s(p).push({
|
218
218
|
name: "User Edit Profile",
|
219
219
|
params: {
|
220
|
-
_id:
|
220
|
+
_id: s(o).params._id
|
221
221
|
}
|
222
222
|
})),
|
223
223
|
class: "cursor-pointer"
|
@@ -229,7 +229,7 @@ const D = {
|
|
229
229
|
}),
|
230
230
|
a(f, {
|
231
231
|
class: "cursor-pointer",
|
232
|
-
onClick: r[8] || (r[8] = (
|
232
|
+
onClick: r[8] || (r[8] = (t) => x())
|
233
233
|
}, {
|
234
234
|
default: u(() => [
|
235
235
|
ne
|
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"),
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router"),d=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 i=t.query.tab?t.query.tab:"posts";const r=e.ref(i);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 t-white t-semi 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(d.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-light"},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
@@ -1,9 +1,9 @@
|
|
1
|
-
import { ref as _, watch as b, openBlock as r, createElementBlock as d, createElementVNode as c, unref as s, createCommentVNode as o, createBlock as
|
1
|
+
import { ref as _, watch as b, openBlock as r, createElementBlock as d, createElementVNode as c, unref as s, createCommentVNode as o, createBlock as u } from "vue";
|
2
2
|
import { useRoute as g, useRouter as v } from "vue-router";
|
3
|
-
import
|
3
|
+
import h from "../../../../components/Tab/Tab.vue2.js";
|
4
4
|
import i from "../../../community/components/sections/Feed.vue.js";
|
5
5
|
import { state as a } from "../../../auth/store/auth.js";
|
6
|
-
const
|
6
|
+
const y = { class: "pd-thin" }, k = { class: "mn-b-medium flex-v-center flex-nowrap flex" }, w = /* @__PURE__ */ c("h2", { class: "mn-r-medium" }, "Posts", -1), E = {
|
7
7
|
__name: "ProfileBlogposts",
|
8
8
|
setup(q) {
|
9
9
|
const e = g(), p = v();
|
@@ -11,40 +11,40 @@ const h = { class: "pd-thin" }, k = { class: "mn-b-medium flex-v-center flex-now
|
|
11
11
|
const t = _(f);
|
12
12
|
return e.query.tab = t.value, b(t, (n) => {
|
13
13
|
p.replace({ query: { ...e.query, tab: n } });
|
14
|
-
}), (n,
|
14
|
+
}), (n, l) => (r(), d("div", y, [
|
15
15
|
c("header", k, [
|
16
16
|
w,
|
17
17
|
a.user._id === s(e).params._id ? (r(), d("button", {
|
18
18
|
key: 0,
|
19
|
-
onClick:
|
19
|
+
onClick: l[0] || (l[0] = (m) => n.$router.push({
|
20
20
|
name: "Create BlogPost"
|
21
21
|
})),
|
22
22
|
class: "radius-100 t-white t-semi i-big hover-scale-1 cursor-pointer t-white bg-second"
|
23
23
|
}, " + ")) : o("", !0)
|
24
24
|
]),
|
25
|
-
a.user._id === s(e).params._id ? (r(),
|
25
|
+
a.user._id === s(e).params._id ? (r(), u(h, {
|
26
26
|
key: 0,
|
27
27
|
selected: t.value,
|
28
|
-
"onUpdate:selected":
|
28
|
+
"onUpdate:selected": l[1] || (l[1] = (m) => t.value = m),
|
29
29
|
tabs: [
|
30
30
|
{ name: "My posts", value: "posts" },
|
31
31
|
{ name: "Drafts", value: "drafts" },
|
32
32
|
{ name: "Following", value: "following" }
|
33
33
|
],
|
34
|
-
class: "mn-b-small o-hidden h5 radius-big bg-
|
34
|
+
class: "mn-b-small o-hidden h5 radius-big bg-light"
|
35
35
|
}, null, 8, ["selected"])) : o("", !0),
|
36
|
-
t.value === "posts" ? (r(),
|
36
|
+
t.value === "posts" ? (r(), u(i, {
|
37
37
|
key: 1,
|
38
38
|
user: a.user._id,
|
39
39
|
creator: s(e).params._id
|
40
40
|
}, null, 8, ["user", "creator"])) : o("", !0),
|
41
|
-
t.value === "drafts" ? (r(),
|
41
|
+
t.value === "drafts" ? (r(), u(i, {
|
42
42
|
key: 2,
|
43
43
|
user: a.user._id,
|
44
44
|
creator: s(e).params._id,
|
45
45
|
status: "draft"
|
46
46
|
}, null, 8, ["user", "creator"])) : o("", !0),
|
47
|
-
t.value === "following" ? (r(),
|
47
|
+
t.value === "following" ? (r(), u(i, {
|
48
48
|
key: 3,
|
49
49
|
user: a.user._id,
|
50
50
|
following: s(e).params._id
|
@@ -1 +1 @@
|
|
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"),
|
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"),v=require("../../../../components/UploadImage/UploadImage.vue.cjs"),g=require("../sections/ProfileCompletion.vue.cjs"),c=require("vue-router"),n=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"},U=e.createElementVNode("h3",{class:"mn-b-small"},"Profile",-1),_={class:"mn-b-thin radius-small w-100 h-10r bg-light flex-center flex-column flex"},k=e.createElementVNode("h4",null,"Upload userpic",-1),q=e.createElementVNode("h3",{class:"mn-b-small"},"Socials",-1),y=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 r,d;e.ref(null);const f=c.useRoute(),u=c.useRouter();[r,d]=e.withAsyncContext(()=>s.actions.read({_id:n.state.user._id})),await r,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),n.actions.logout())}function h(){u.replace({name:"User Profile",params:{_id:s.state.current._id}})}return(o,t)=>(e.openBlock(),e.createElementBlock("div",N,[e.unref(f).params._id===n.state.user._id?(e.openBlock(),e.createBlock(g.default,{key:0,user:n.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":t[0]||(t[0]=a=>l.value.username=a),label:"@",placeholder:"Not specified",class:"mn-b-thin w-100 bg-light 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),U,e.createElementVNode("div",_,[e.createVNode(v.default,{photo:l.value.profile.photo,"onUpdate:photo":t[1]||(t[1]=a=>l.value.profile.photo=a),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"]),k]),e.createVNode(i.default,{field:l.value.profile.name,"onUpdate:field":t[2]||(t[2]=a=>l.value.profile.name=a),label:"Name",placeholder:"Not specified",class:"mn-b-thin bg-light pd-medium radius-small",validation:o.organizationName},null,8,["field","validation"]),e.createVNode(i.default,{field:l.value.profile.description,"onUpdate:field":t[3]||(t[3]=a=>l.value.profile.description=a),label:"Description",placeholder:"Not specified",class:"mn-b-semi bg-light pd-medium radius-small",disabled:"true",validation:o.organizationName},null,8,["field","validation"]),q,y,e.createVNode(i.default,{field:l.value.socials.instagram,"onUpdate:field":t[4]||(t[4]=a=>l.value.socials.instagram=a),label:"Instagram",placeholder:"",class:"mn-b-thin bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:l.value.socials.twitter,"onUpdate:field":t[5]||(t[5]=a=>l.value.socials.twitter=a),label:"Twitter",placeholder:"",class:"mn-b-thin bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:l.value.socials.facebook,"onUpdate:field":t[6]||(t[6]=a=>l.value.socials.facebook=a),label:"Facebook",placeholder:"",class:"mn-b-thin bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:l.value.socials.telegram,"onUpdate:field":t[7]||(t[7]=a=>l.value.socials.telegram=a),label:"Telegram",placeholder:"",class:"mn-b-semi bg-light pd-medium radius-small"},null,8,["field"]),E,e.createVNode(i.default,{field:l.value.phone,"onUpdate:field":t[8]||(t[8]=a=>l.value.phone=a),label:"Phone",placeholder:"Not specified",class:"mn-b-thin bg-light 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":t[9]||(t[9]=a=>l.value.email=a),label:"Email",placeholder:"Not specified",class:"mn-b-semi bg-light pd-medium radius-small",disabled:!0,validation:o.organizationName},null,8,["field","validation"]),e.createVNode(m.default,{submit:p,callback:h,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,4 +1,4 @@
|
|
1
|
-
import { ref as f, withAsyncContext as
|
1
|
+
import { ref as f, withAsyncContext as k, openBlock as c, createElementBlock as y, unref as b, createBlock as P, createCommentVNode as S, createVNode as a, createElementVNode as s, toDisplayString as z, withCtx as h, createTextVNode as g } from "vue";
|
2
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";
|
@@ -10,24 +10,24 @@ 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 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-
|
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-light 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
15
|
async setup(j) {
|
16
16
|
let m, u;
|
17
17
|
f(null);
|
18
18
|
const w = $(), p = D();
|
19
|
-
[m, u] =
|
19
|
+
[m, u] = k(() => d.read({ _id: r.user._id })), await m, u();
|
20
20
|
const e = f(n.current);
|
21
|
-
async function
|
21
|
+
async function _() {
|
22
22
|
await d.update(n.current);
|
23
23
|
}
|
24
|
-
async function
|
24
|
+
async function N() {
|
25
25
|
window.confirm("Are you sure you want to delete your account? Restoration will be possible only with the help of an administrator.") && (n.current.status = "removed", await d.update(n.current), E.logout());
|
26
26
|
}
|
27
|
-
function
|
27
|
+
function U() {
|
28
28
|
p.replace({ name: "User Profile", params: { _id: n.current._id } });
|
29
29
|
}
|
30
|
-
return (o, l) => (c(),
|
30
|
+
return (o, l) => (c(), y("div", T, [
|
31
31
|
b(w).params._id === r.user._id ? (c(), P(R, {
|
32
32
|
key: 0,
|
33
33
|
user: r.user._id,
|
@@ -35,95 +35,95 @@ const T = { class: "pd-medium for-transition w-100" }, V = /* @__PURE__ */ s("h3
|
|
35
35
|
cta: !1
|
36
36
|
}, null, 8, ["user", "target"])) : S("", !0),
|
37
37
|
V,
|
38
|
-
|
38
|
+
a(t, {
|
39
39
|
field: e.value.username,
|
40
|
-
"onUpdate:field": l[0] || (l[0] = (
|
40
|
+
"onUpdate:field": l[0] || (l[0] = (i) => e.value.username = i),
|
41
41
|
label: "@",
|
42
42
|
placeholder: "Not specified",
|
43
|
-
class: "mn-b-thin w-100 bg-
|
43
|
+
class: "mn-b-thin w-100 bg-light pd-medium radius-small",
|
44
44
|
disabled: "true",
|
45
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
49
|
s("div", C, [
|
50
|
-
|
50
|
+
a(A, {
|
51
51
|
photo: e.value.profile.photo,
|
52
|
-
"onUpdate:photo": l[1] || (l[1] = (
|
52
|
+
"onUpdate:photo": l[1] || (l[1] = (i) => e.value.profile.photo = i),
|
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
|
+
a(t, {
|
59
59
|
field: e.value.profile.name,
|
60
|
-
"onUpdate:field": l[2] || (l[2] = (
|
60
|
+
"onUpdate:field": l[2] || (l[2] = (i) => e.value.profile.name = i),
|
61
61
|
label: "Name",
|
62
62
|
placeholder: "Not specified",
|
63
|
-
class: "mn-b-thin bg-
|
63
|
+
class: "mn-b-thin bg-light pd-medium radius-small",
|
64
64
|
validation: o.organizationName
|
65
65
|
}, null, 8, ["field", "validation"]),
|
66
|
-
|
66
|
+
a(t, {
|
67
67
|
field: e.value.profile.description,
|
68
|
-
"onUpdate:field": l[3] || (l[3] = (
|
68
|
+
"onUpdate:field": l[3] || (l[3] = (i) => e.value.profile.description = i),
|
69
69
|
label: "Description",
|
70
70
|
placeholder: "Not specified",
|
71
|
-
class: "mn-b-semi bg-
|
71
|
+
class: "mn-b-semi bg-light pd-medium radius-small",
|
72
72
|
disabled: "true",
|
73
73
|
validation: o.organizationName
|
74
74
|
}, null, 8, ["field", "validation"]),
|
75
75
|
F,
|
76
76
|
L,
|
77
|
-
|
77
|
+
a(t, {
|
78
78
|
field: e.value.socials.instagram,
|
79
|
-
"onUpdate:field": l[4] || (l[4] = (
|
79
|
+
"onUpdate:field": l[4] || (l[4] = (i) => e.value.socials.instagram = i),
|
80
80
|
label: "Instagram",
|
81
81
|
placeholder: "",
|
82
|
-
class: "mn-b-thin bg-
|
82
|
+
class: "mn-b-thin bg-light pd-medium radius-small"
|
83
83
|
}, null, 8, ["field"]),
|
84
|
-
|
84
|
+
a(t, {
|
85
85
|
field: e.value.socials.twitter,
|
86
|
-
"onUpdate:field": l[5] || (l[5] = (
|
86
|
+
"onUpdate:field": l[5] || (l[5] = (i) => e.value.socials.twitter = i),
|
87
87
|
label: "Twitter",
|
88
88
|
placeholder: "",
|
89
|
-
class: "mn-b-thin bg-
|
89
|
+
class: "mn-b-thin bg-light pd-medium radius-small"
|
90
90
|
}, null, 8, ["field"]),
|
91
|
-
|
91
|
+
a(t, {
|
92
92
|
field: e.value.socials.facebook,
|
93
|
-
"onUpdate:field": l[6] || (l[6] = (
|
93
|
+
"onUpdate:field": l[6] || (l[6] = (i) => e.value.socials.facebook = i),
|
94
94
|
label: "Facebook",
|
95
95
|
placeholder: "",
|
96
|
-
class: "mn-b-thin bg-
|
96
|
+
class: "mn-b-thin bg-light pd-medium radius-small"
|
97
97
|
}, null, 8, ["field"]),
|
98
|
-
|
98
|
+
a(t, {
|
99
99
|
field: e.value.socials.telegram,
|
100
|
-
"onUpdate:field": l[7] || (l[7] = (
|
100
|
+
"onUpdate:field": l[7] || (l[7] = (i) => e.value.socials.telegram = i),
|
101
101
|
label: "Telegram",
|
102
102
|
placeholder: "",
|
103
|
-
class: "mn-b-semi bg-
|
103
|
+
class: "mn-b-semi bg-light pd-medium radius-small"
|
104
104
|
}, null, 8, ["field"]),
|
105
105
|
Y,
|
106
|
-
|
106
|
+
a(t, {
|
107
107
|
field: e.value.phone,
|
108
|
-
"onUpdate:field": l[8] || (l[8] = (
|
108
|
+
"onUpdate:field": l[8] || (l[8] = (i) => e.value.phone = i),
|
109
109
|
label: "Phone",
|
110
110
|
placeholder: "Not specified",
|
111
|
-
class: "mn-b-thin bg-
|
111
|
+
class: "mn-b-thin bg-light pd-medium mn-b-thin radius-small",
|
112
112
|
disabled: "true",
|
113
113
|
validation: o.organizationName
|
114
114
|
}, null, 8, ["field", "validation"]),
|
115
|
-
|
115
|
+
a(t, {
|
116
116
|
field: e.value.email,
|
117
|
-
"onUpdate:field": l[9] || (l[9] = (
|
117
|
+
"onUpdate:field": l[9] || (l[9] = (i) => e.value.email = i),
|
118
118
|
label: "Email",
|
119
119
|
placeholder: "Not specified",
|
120
|
-
class: "mn-b-semi bg-
|
120
|
+
class: "mn-b-semi bg-light pd-medium radius-small",
|
121
121
|
disabled: !0,
|
122
122
|
validation: o.organizationName
|
123
123
|
}, null, 8, ["field", "validation"]),
|
124
|
-
|
125
|
-
submit:
|
126
|
-
callback:
|
124
|
+
a(v, {
|
125
|
+
submit: _,
|
126
|
+
callback: U,
|
127
127
|
class: "mn-b-thin"
|
128
128
|
}, {
|
129
129
|
default: h(() => [
|
@@ -131,8 +131,8 @@ const T = { class: "pd-medium for-transition w-100" }, V = /* @__PURE__ */ s("h3
|
|
131
131
|
]),
|
132
132
|
_: 1
|
133
133
|
}),
|
134
|
-
|
135
|
-
submit:
|
134
|
+
a(v, {
|
135
|
+
submit: N,
|
136
136
|
callback: o.a = () => {
|
137
137
|
b(p).push({ name: "Sign In" });
|
138
138
|
},
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),l=require("vue-router"),d=require("../../../../components/Tab/Tab.vue2.cjs"),c=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=l.useRoute(),o=l.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-light"},null,8,["selected"]),r.value==="owner"?(e.openBlock(),e.createBlock(c.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(c.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=_;
|
@@ -1,41 +1,41 @@
|
|
1
|
-
import { ref as f, watch as b, openBlock as a, createElementBlock as
|
2
|
-
import { useRoute as
|
1
|
+
import { ref as f, watch as b, openBlock as a, createElementBlock as c, createElementVNode as p, unref as s, createCommentVNode as o, createVNode as v, createBlock as m } from "vue";
|
2
|
+
import { useRoute as h, useRouter as y } from "vue-router";
|
3
3
|
import k from "../../../../components/Tab/Tab.vue2.js";
|
4
4
|
import d from "../../../events/components/sections/Feed.vue.js";
|
5
5
|
import { state as n } from "../../../auth/store/auth.js";
|
6
6
|
const g = { class: "pd-thin" }, w = { class: "mn-b-medium flex-v-center flex-nowrap flex" }, q = /* @__PURE__ */ p("h2", { class: "mn-r-medium" }, " Events ", -1), V = {
|
7
7
|
__name: "ProfileEvents",
|
8
8
|
setup(x) {
|
9
|
-
const e =
|
9
|
+
const e = h(), i = y();
|
10
10
|
let _ = e.query.tab ? e.query.tab : "owner";
|
11
|
-
const
|
12
|
-
return e.query.tab =
|
11
|
+
const t = f(_);
|
12
|
+
return e.query.tab = t.value, b(t, (u) => {
|
13
13
|
i.replace({ query: { ...e.query, tab: u } });
|
14
|
-
}), (u,
|
14
|
+
}), (u, r) => (a(), c("div", g, [
|
15
15
|
p("header", w, [
|
16
16
|
q,
|
17
|
-
n.user._id === s(e).params._id ? (a(),
|
17
|
+
n.user._id === s(e).params._id ? (a(), c("button", {
|
18
18
|
key: 0,
|
19
|
-
onClick:
|
19
|
+
onClick: r[0] || (r[0] = (l) => s(i).push({ name: "Create Event" })),
|
20
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, {
|
24
|
-
selected:
|
25
|
-
"onUpdate:selected":
|
24
|
+
selected: t.value,
|
25
|
+
"onUpdate:selected": r[1] || (r[1] = (l) => t.value = l),
|
26
26
|
tabs: [
|
27
27
|
{ name: "My", value: "owner" },
|
28
28
|
{ name: "Participant", value: "participant" }
|
29
29
|
],
|
30
|
-
class: "mn-b-small o-hidden h5 radius-big bg-
|
30
|
+
class: "mn-b-small o-hidden h5 radius-big bg-light"
|
31
31
|
}, null, 8, ["selected"]),
|
32
|
-
|
32
|
+
t.value === "owner" ? (a(), m(d, {
|
33
33
|
key: 0,
|
34
34
|
user: n.user._id,
|
35
35
|
creator: s(e).params._id,
|
36
36
|
sortOrder: "asc"
|
37
37
|
}, null, 8, ["user", "creator"])) : o("", !0),
|
38
|
-
|
38
|
+
t.value === "participant" ? (a(), m(d, {
|
39
39
|
key: 1,
|
40
40
|
user: n.user._id,
|
41
41
|
participant: s(e).params._id,
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),a=require("../../store/users.cjs"),n=require("../../../../components/Marquee/Marquee.vue.cjs"),l=require("../blocks/CardUser.vue.cjs");require("./FeaturedUsers.vue2.cjs");const i={class:"o-hidden w-100"},c=e.createElementVNode("div",{class:"flex-center flex w-100"},[e.createElementVNode("h2",{class:"t-center h2 w-max-50 mn-b-big"}," Ask over 5 million people who have trusted us for decades ")],-1),s={class:"flex flex-nowrap"},d={class:"flex flex-nowrap"},u={class:"flex flex-nowrap"},m=e.createElementVNode("p",{class:"w-m-33r mn-r-auto mn-l-auto t-center mn-b-small p-big"}," Together, we're shaping the future of the globals music community. ",-1),h={__name:"FeaturedUsers",setup(p){const o=e.ref([]);return e.onMounted(async()=>{o.value=await a.actions.read({limit:25})}),(f,g)=>{const r=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("div",i,[c,e.createVNode(n.default,{class:"mn-b-thin",gradient:!0,gradientColor:"var(--white)",gradientLength:"10%",direction:"normal",pauseOnHover:!1,clone:!0},{default:e.withCtx(()=>[e.createElementVNode("div",s,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value.slice(0,6),t=>(e.openBlock(),e.createBlock(l.default,{class:"mn-r-thin h4 h-8r flex-child-grow-0 flex-child bg-light pd-small radius-medium",user:t,photo:t.profile.photo,name:t.profile.name||t.phone||t.username,phone:"DJ"},null,8,["user","photo","name"]))),256))])]),_:1}),e.createVNode(n.default,{class:"mn-b-thin",gradient:!0,gradientColor:"var(--white)",gradientLength:"10%",direction:"reverse",pauseOnHover:!1,clone:!0},{default:e.withCtx(()=>[e.createElementVNode("div",d,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value.slice(7,14),t=>(e.openBlock(),e.createBlock(l.default,{class:"mn-r-thin h4 h-8r flex-child-grow-0 flex-child bg-light pd-small radius-medium",user:t,photo:t.profile.photo,name:t.profile.name||t.phone||t.username,phone:"DJ"},null,8,["user","photo","name"]))),256))])]),_:1}),e.createVNode(n.default,{class:"mn-b-big",gradient:!0,gradientColor:"var(--white)",gradientLength:"10%",direction:"normal",pauseOnHover:!1,clone:!0},{default:e.withCtx(()=>[e.createElementVNode("div",u,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value.slice(15,22),t=>(e.openBlock(),e.createBlock(l.default,{class:"mn-r-thin h4 h-8r flex-child-grow-0 flex-child bg-light pd-small radius-medium",user:t,photo:t.profile.photo,name:t.profile.name||t.phone||t.username,phone:"DJ"},null,8,["user","photo","name"]))),256))])]),_:1}),m,e.createVNode(r,{to:{name:"Sign In"},class:"bg-black mn-r-auto mn-l-auto t-medium t-white button"},{default:e.withCtx(()=>[e.createTextVNode(" Join Now ")]),_:1})])}}};exports.default=h;
|