@ozdao/prometheus-framework 0.2.112 → 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 +4 -4
- 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 -1
- package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.js +8 -8
- 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/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 +10 -10
- 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 +4 -4
- 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/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 +9 -9
- 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 +16 -16
- 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/pages/Profile.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +34 -34
- 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 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js +19 -19
- 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 +13 -10
- 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/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 +3 -3
- 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
package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js
CHANGED
@@ -1,23 +1,23 @@
|
|
1
|
-
import { ref as u, onMounted as p, resolveComponent as f, openBlock as t, createElementBlock as
|
1
|
+
import { ref as u, onMounted as p, resolveComponent as f, openBlock as t, createElementBlock as l, createVNode as r, withCtx as a, createElementVNode as o, Fragment as i, renderList as s, createBlock as m, createTextVNode as _ } from "vue";
|
2
2
|
import { actions as g } from "../../store/users.js";
|
3
3
|
import c from "../../../../components/Marquee/Marquee.vue.js";
|
4
|
-
import
|
4
|
+
import h from "../blocks/CardUser.vue.js";
|
5
5
|
import "./FeaturedUsers.vue2.js";
|
6
6
|
const v = { class: "o-hidden w-100" }, w = /* @__PURE__ */ o("div", { class: "flex-center flex w-100" }, [
|
7
7
|
/* @__PURE__ */ o("h2", { class: "t-center h2 w-max-50 mn-b-big" }, " Ask over 5 million people who have trusted us for decades ")
|
8
|
-
], -1), x = { class: "flex flex-nowrap" }, b = { class: "flex flex-nowrap" }, k = { class: "flex flex-nowrap" },
|
8
|
+
], -1), x = { class: "flex flex-nowrap" }, b = { class: "flex flex-nowrap" }, k = { class: "flex flex-nowrap" }, C = /* @__PURE__ */ o("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), y = {
|
9
9
|
__name: "FeaturedUsers",
|
10
|
-
setup(
|
10
|
+
setup(L) {
|
11
11
|
const n = u([]);
|
12
12
|
return p(async () => {
|
13
13
|
n.value = await g.read({
|
14
14
|
limit: 25
|
15
15
|
});
|
16
|
-
}), (
|
17
|
-
const
|
18
|
-
return t(),
|
16
|
+
}), (J, N) => {
|
17
|
+
const d = f("router-link");
|
18
|
+
return t(), l("div", v, [
|
19
19
|
w,
|
20
|
-
|
20
|
+
r(c, {
|
21
21
|
class: "mn-b-thin",
|
22
22
|
gradient: !0,
|
23
23
|
gradientColor: "var(--white)",
|
@@ -28,8 +28,8 @@ const v = { class: "o-hidden w-100" }, w = /* @__PURE__ */ o("div", { class: "fl
|
|
28
28
|
}, {
|
29
29
|
default: a(() => [
|
30
30
|
o("div", x, [
|
31
|
-
(t(!0),
|
32
|
-
class: "mn-r-thin h4 h-8r flex-child-grow-0 flex-child bg-
|
31
|
+
(t(!0), l(i, null, s(n.value.slice(0, 6), (e) => (t(), m(h, {
|
32
|
+
class: "mn-r-thin h4 h-8r flex-child-grow-0 flex-child bg-light pd-small radius-medium",
|
33
33
|
user: e,
|
34
34
|
photo: e.profile.photo,
|
35
35
|
name: e.profile.name || e.phone || e.username,
|
@@ -39,7 +39,7 @@ const v = { class: "o-hidden w-100" }, w = /* @__PURE__ */ o("div", { class: "fl
|
|
39
39
|
]),
|
40
40
|
_: 1
|
41
41
|
}),
|
42
|
-
|
42
|
+
r(c, {
|
43
43
|
class: "mn-b-thin",
|
44
44
|
gradient: !0,
|
45
45
|
gradientColor: "var(--white)",
|
@@ -50,8 +50,8 @@ const v = { class: "o-hidden w-100" }, w = /* @__PURE__ */ o("div", { class: "fl
|
|
50
50
|
}, {
|
51
51
|
default: a(() => [
|
52
52
|
o("div", b, [
|
53
|
-
(t(!0),
|
54
|
-
class: "mn-r-thin h4 h-8r flex-child-grow-0 flex-child bg-
|
53
|
+
(t(!0), l(i, null, s(n.value.slice(7, 14), (e) => (t(), m(h, {
|
54
|
+
class: "mn-r-thin h4 h-8r flex-child-grow-0 flex-child bg-light pd-small radius-medium",
|
55
55
|
user: e,
|
56
56
|
photo: e.profile.photo,
|
57
57
|
name: e.profile.name || e.phone || e.username,
|
@@ -61,7 +61,7 @@ const v = { class: "o-hidden w-100" }, w = /* @__PURE__ */ o("div", { class: "fl
|
|
61
61
|
]),
|
62
62
|
_: 1
|
63
63
|
}),
|
64
|
-
|
64
|
+
r(c, {
|
65
65
|
class: "mn-b-big",
|
66
66
|
gradient: !0,
|
67
67
|
gradientColor: "var(--white)",
|
@@ -72,8 +72,8 @@ const v = { class: "o-hidden w-100" }, w = /* @__PURE__ */ o("div", { class: "fl
|
|
72
72
|
}, {
|
73
73
|
default: a(() => [
|
74
74
|
o("div", k, [
|
75
|
-
(t(!0),
|
76
|
-
class: "mn-r-thin h4 h-8r flex-child-grow-0 flex-child bg-
|
75
|
+
(t(!0), l(i, null, s(n.value.slice(15, 22), (e) => (t(), m(h, {
|
76
|
+
class: "mn-r-thin h4 h-8r flex-child-grow-0 flex-child bg-light pd-small radius-medium",
|
77
77
|
user: e,
|
78
78
|
photo: e.profile.photo,
|
79
79
|
name: e.profile.name || e.phone || e.username,
|
@@ -83,8 +83,8 @@ const v = { class: "o-hidden w-100" }, w = /* @__PURE__ */ o("div", { class: "fl
|
|
83
83
|
]),
|
84
84
|
_: 1
|
85
85
|
}),
|
86
|
-
|
87
|
-
|
86
|
+
C,
|
87
|
+
r(d, {
|
88
88
|
to: { name: "Sign In" },
|
89
89
|
class: "bg-black mn-r-auto mn-l-auto t-medium t-white button"
|
90
90
|
}, {
|
@@ -98,5 +98,5 @@ const v = { class: "o-hidden w-100" }, w = /* @__PURE__ */ o("div", { class: "fl
|
|
98
98
|
}
|
99
99
|
};
|
100
100
|
export {
|
101
|
-
|
101
|
+
y as default
|
102
102
|
};
|
package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.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"),o=require("../../../../globals/components/sections/SectionPageTitle.vue.cjs"),u=require("../../../../../components/Feed/Feed.vue.cjs"),i=require("../../store/payments.store.cjs");require("./Payments.vue2.cjs");const c={class:"pd-thin"},d={class:"bg-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("vue-router"),o=require("../../../../globals/components/sections/SectionPageTitle.vue.cjs"),u=require("../../../../../components/Feed/Feed.vue.cjs"),i=require("../../store/payments.store.cjs");require("./Payments.vue2.cjs");const c={class:"pd-thin"},d={class:"bg-light pos-relative pd-medium radius-big"},m={__name:"Payments",setup(p){const s=n.useRoute();n.useRouter();const a=e.ref("all");return(_,r)=>(e.openBlock(),e.createElementBlock("div",c,[e.createVNode(o.default,{title:"Payments","onUpdate:tabs_current":r[0]||(r[0]=t=>a.value=t),tabs_current:a.value,tabs:[{name:"All",value:"all"},{name:"Created",value:"created"},{name:"Proccesing",value:"processing"},{name:"Finished",value:"finished"},{name:"Canceled",value:"canceled"},{name:"Refunded",value:"refunded"}],actions:[{to:{name:"PaymentsCreate"},label:"Create Payment"}],class:"mn-b-small bg-light bg-light radius-big"},null,8,["tabs_current"]),e.createVNode(u.default,{search:!0,states:{empty:{title:"No Payments Found",description:"Currently, there are no payments."}},store:{read:t=>i.actions.read(t)},options:{limit:15,owner:e.unref(s).params._id,...a.value!=="all"&&{type:a.value}},class:"gap-thin cols-3"},{default:e.withCtx(({items:t})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t,l=>(e.openBlock(),e.createElementBlock("div",d,e.toDisplayString(l),1))),256))]),_:1},8,["store","options"])]))}};exports.default=m;
|
@@ -2,15 +2,15 @@ import { ref as i, openBlock as a, createElementBlock as r, createVNode as s, un
|
|
2
2
|
import { useRoute as _, useRouter as f } from "vue-router";
|
3
3
|
import g from "../../../../globals/components/sections/SectionPageTitle.vue.js";
|
4
4
|
import v from "../../../../../components/Feed/Feed.vue.js";
|
5
|
-
import { actions as
|
5
|
+
import { actions as b } from "../../store/payments.store.js";
|
6
6
|
import "./Payments.vue2.js";
|
7
|
-
const
|
7
|
+
const h = { class: "pd-thin" }, y = { class: "bg-light pos-relative pd-medium radius-big" }, N = {
|
8
8
|
__name: "Payments",
|
9
9
|
setup(C) {
|
10
|
-
const
|
10
|
+
const l = _();
|
11
11
|
f();
|
12
12
|
const t = i("all");
|
13
|
-
return (P, n) => (a(), r("div",
|
13
|
+
return (P, n) => (a(), r("div", h, [
|
14
14
|
s(g, {
|
15
15
|
title: "Payments",
|
16
16
|
"onUpdate:tabs_current": n[0] || (n[0] = (e) => t.value = e),
|
@@ -26,7 +26,7 @@ const b = { class: "pd-thin" }, h = { class: "bg-grey pos-relative pd-medium rad
|
|
26
26
|
actions: [
|
27
27
|
{ to: { name: "PaymentsCreate" }, label: "Create Payment" }
|
28
28
|
],
|
29
|
-
class: "mn-b-small bg-
|
29
|
+
class: "mn-b-small bg-light bg-light radius-big"
|
30
30
|
}, null, 8, ["tabs_current"]),
|
31
31
|
s(v, {
|
32
32
|
search: !0,
|
@@ -37,11 +37,11 @@ const b = { class: "pd-thin" }, h = { class: "bg-grey pos-relative pd-medium rad
|
|
37
37
|
}
|
38
38
|
},
|
39
39
|
store: {
|
40
|
-
read: (e) =>
|
40
|
+
read: (e) => b.read(e)
|
41
41
|
},
|
42
42
|
options: {
|
43
43
|
limit: 15,
|
44
|
-
owner: m(
|
44
|
+
owner: m(l).params._id,
|
45
45
|
...t.value !== "all" && { type: t.value }
|
46
46
|
},
|
47
47
|
class: "gap-thin cols-3"
|
@@ -49,7 +49,7 @@ const b = { class: "pd-thin" }, h = { class: "bg-grey pos-relative pd-medium rad
|
|
49
49
|
default: u(({
|
50
50
|
items: e
|
51
51
|
}) => [
|
52
|
-
(a(!0), r(c, null, d(e, (
|
52
|
+
(a(!0), r(c, null, d(e, (o) => (a(), r("div", y, p(o), 1))), 256))
|
53
53
|
]),
|
54
54
|
_: 1
|
55
55
|
}, 8, ["store", "options"])
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t=require("../../store/wallet.store.cjs"),s=require("../../../../../../../node_modules/web3/lib/esm/web3.cjs");require("../../../../../../../node_modules/web3-core/lib/esm/web3_config.cjs");require("../../../../../../../node_modules/web3-core/lib/esm/web3_request_manager.cjs");require("../../../../../../../node_modules/web3-core/lib/esm/web3_subscription_manager.cjs");require("../../../../../../../node_modules/web3-core/lib/esm/web3_subscriptions.cjs");require("../../../../../../../node_modules/web3-core/lib/esm/web3_context.cjs");require("../../../../../../../node_modules/web3-core/lib/esm/web3_batch_request.cjs");require("../../../../../../../node_modules/web3-types/lib/esm/data_format_types.cjs");require("../../../../../../../node_modules/web3-types/lib/esm/eth_types.cjs");require("../../../../../../../node_modules/web3-types/lib/esm/web3_base_provider.cjs");require("../../../../../../../node_modules/web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../../../../../node_modules/web3-eth-iban/lib/esm/iban.cjs");require("../../../../../../../node_modules/web3-validator/lib/esm/formats.cjs");require("../../../../../../../node_modules/web3-validator/lib/esm/default_validator.cjs");require("../../../../../../../node_modules/web3-core/lib/esm/web3_promi_event.cjs");require("../../../../../../../node_modules/setimmediate/setImmediate.cjs");require("../../../../../../../node_modules/web3-eth/lib/esm/web3_eth.cjs");require("../../../../../../../node_modules/web3-eth-abi/lib/esm/coders/base/number.cjs");require("../../../../../../../node_modules/web3-eth/lib/esm/schemas.cjs");require("../../../../../../../node_modules/web3-eth/lib/esm/constants.cjs");require("../../../../../../../node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs");require("../../../../../../../node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs");require("../../../../../../../node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs");require("../../../../../../../node_modules/web3-eth-contract/lib/esm/contract.cjs");require("../../../../../../../node_modules/web3-eth-personal/lib/esm/personal.cjs");require("../../../../../../../node_modules/web3-net/lib/esm/net.cjs");require("../../../../../../../node_modules/web3-net/lib/esm/rpc_method_wrappers.cjs");require("../../../../../../../node_modules/web3-providers-http/lib/esm/index.cjs");require("../../../../../../../node_modules/isomorphic-ws/browser.cjs");require("../../../../../../../node_modules/web3-eth-accounts/lib/esm/wallet.cjs");require("../../../../../../../node_modules/web3-eth-accounts/lib/esm/account.cjs");require("../../../../../../../node_modules/crc-32/crc32.cjs");require("../../../../../../../node_modules/web3-eth-accounts/lib/esm/common/types.cjs");require("../../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/constants.cjs");require("../../../../../../../node_modules/web3-eth-accounts/lib/esm/common/enums.cjs");require("../../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs");require("../../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs");require("../../../../../../../node_modules/@ethereumjs/rlp/dist/index.cjs");require("../../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/types.cjs");require("../../../../../../../node_modules/web3-eth-ens/lib/esm/ens.cjs");require("../../../../../../../node_modules/web3/lib/esm/web3_eip6963.cjs");require("../../../../../../../node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.cjs");require("../../../../../../../node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.cjs");require("../../../../../../../node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.cjs");require("vue-router");require("vue-i18n");require("../../../../../components/Popup/Popup.vue.cjs");require("../../../../../components/Loader/Loader.vue.cjs");require("../../../../../components/Button/Button.vue.cjs");require("../../../../../components/Select/Select.vue.cjs");require("../../../../reports/store/reports.cjs");require("../../../../../components/Tooltip/Tooltip.vue.cjs");require("../../../../../components/Dropdown/Dropdown.vue2.cjs");require("../../../../auth/store/auth.cjs");require("../../../../organizations/store/memberships.cjs");require("../../../../community/store/reactions.cjs");require("../../../../../components/Chips/Chips.vue2.cjs");const a={class:"pd-thin"},l={class:"bg-black t-white mn-b-thin radius-big pd-big"},i=e.createElementVNode("h1",{class:"mn-b-medium"},"Your Wallet",-1),c=e.createElementVNode("p",{class:"mn-b-semi t-transp p-big"}," Earn Weeder Tokens by purchasing our weed or contributing to the community. ",-1),u={key:0,class:"gap-thin flex-nowrap bg-black radius-extra t-white br-solid br-white-transp-10 br-1px flex-v-center flex pd-medium"},d={class:"flex-v-center flex-nowrap flex mn-r-auto"},m=e.createElementVNode("button",{class:"w-max bg-main t-medium button"},"Get More",-1),p={key:0,class:"mn-b-semi cols-2 gap-thin"},b=e.createElementVNode("div",{class:"w-100 pd-medium radius-medium t-center bg-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),t=require("../../store/wallet.store.cjs"),s=require("../../../../../../../node_modules/web3/lib/esm/web3.cjs");require("../../../../../../../node_modules/web3-core/lib/esm/web3_config.cjs");require("../../../../../../../node_modules/web3-core/lib/esm/web3_request_manager.cjs");require("../../../../../../../node_modules/web3-core/lib/esm/web3_subscription_manager.cjs");require("../../../../../../../node_modules/web3-core/lib/esm/web3_subscriptions.cjs");require("../../../../../../../node_modules/web3-core/lib/esm/web3_context.cjs");require("../../../../../../../node_modules/web3-core/lib/esm/web3_batch_request.cjs");require("../../../../../../../node_modules/web3-types/lib/esm/data_format_types.cjs");require("../../../../../../../node_modules/web3-types/lib/esm/eth_types.cjs");require("../../../../../../../node_modules/web3-types/lib/esm/web3_base_provider.cjs");require("../../../../../../../node_modules/web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../../../../../node_modules/web3-eth-iban/lib/esm/iban.cjs");require("../../../../../../../node_modules/web3-validator/lib/esm/formats.cjs");require("../../../../../../../node_modules/web3-validator/lib/esm/default_validator.cjs");require("../../../../../../../node_modules/web3-core/lib/esm/web3_promi_event.cjs");require("../../../../../../../node_modules/setimmediate/setImmediate.cjs");require("../../../../../../../node_modules/web3-eth/lib/esm/web3_eth.cjs");require("../../../../../../../node_modules/web3-eth-abi/lib/esm/coders/base/number.cjs");require("../../../../../../../node_modules/web3-eth/lib/esm/schemas.cjs");require("../../../../../../../node_modules/web3-eth/lib/esm/constants.cjs");require("../../../../../../../node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs");require("../../../../../../../node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs");require("../../../../../../../node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs");require("../../../../../../../node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs");require("../../../../../../../node_modules/web3-eth/lib/esm/utils/try_send_transaction.cjs");require("../../../../../../../node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs");require("../../../../../../../node_modules/web3-eth-contract/lib/esm/contract.cjs");require("../../../../../../../node_modules/web3-eth-personal/lib/esm/personal.cjs");require("../../../../../../../node_modules/web3-net/lib/esm/net.cjs");require("../../../../../../../node_modules/web3-net/lib/esm/rpc_method_wrappers.cjs");require("../../../../../../../node_modules/web3-providers-http/lib/esm/index.cjs");require("../../../../../../../node_modules/isomorphic-ws/browser.cjs");require("../../../../../../../node_modules/web3-eth-accounts/lib/esm/wallet.cjs");require("../../../../../../../node_modules/web3-eth-accounts/lib/esm/account.cjs");require("../../../../../../../node_modules/crc-32/crc32.cjs");require("../../../../../../../node_modules/web3-eth-accounts/lib/esm/common/types.cjs");require("../../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/constants.cjs");require("../../../../../../../node_modules/web3-eth-accounts/lib/esm/common/enums.cjs");require("../../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs");require("../../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs");require("../../../../../../../node_modules/@ethereumjs/rlp/dist/index.cjs");require("../../../../../../../node_modules/web3-eth-accounts/lib/esm/tx/types.cjs");require("../../../../../../../node_modules/web3-eth-ens/lib/esm/ens.cjs");require("../../../../../../../node_modules/web3/lib/esm/web3_eip6963.cjs");require("../../../../../../../node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.cjs");require("../../../../../../../node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.cjs");require("../../../../../../../node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.cjs");require("vue-router");require("vue-i18n");require("../../../../../components/Popup/Popup.vue.cjs");require("../../../../../components/Loader/Loader.vue.cjs");require("../../../../../components/Button/Button.vue.cjs");require("../../../../../components/Select/Select.vue.cjs");require("../../../../reports/store/reports.cjs");require("../../../../../components/Tooltip/Tooltip.vue.cjs");require("../../../../../components/Dropdown/Dropdown.vue2.cjs");require("../../../../auth/store/auth.cjs");require("../../../../organizations/store/memberships.cjs");require("../../../../community/store/reactions.cjs");require("../../../../../components/Chips/Chips.vue2.cjs");const a={class:"pd-thin"},l={class:"bg-black t-white mn-b-thin radius-big pd-big"},i=e.createElementVNode("h1",{class:"mn-b-medium"},"Your Wallet",-1),c=e.createElementVNode("p",{class:"mn-b-semi t-transp p-big"}," Earn Weeder Tokens by purchasing our weed or contributing to the community. ",-1),u={key:0,class:"gap-thin flex-nowrap bg-black radius-extra t-white br-solid br-white-transp-10 br-1px flex-v-center flex pd-medium"},d={class:"flex-v-center flex-nowrap flex mn-r-auto"},m=e.createElementVNode("button",{class:"w-max bg-main t-medium button"},"Get More",-1),p={key:0,class:"mn-b-semi cols-2 gap-thin"},b=e.createElementVNode("div",{class:"w-100 pd-medium radius-medium t-center bg-light"},[e.createElementVNode("h3",{class:"mn-b-small"},"Make first order and start earning Weeder Token"),e.createElementVNode("button",{class:"mn-l-auto mn-r-auto bg-main button"},"Explore marketplace")],-1),q={class:"w-100 pd-medium flex-center flex flex-column radius-medium t-center bg-light"},h={key:0,class:"mn-b-small"},_={key:1,class:"w-100 mn-b-semi flex-column flex pd-big radius-big bg-main t-black"},k=e.createElementVNode("p",{class:"t-transp t-medium mn-b-thin"},"You own:",-1),f={class:"h1 mn-b-small"},g=e.createElementVNode("p",{class:"t-white p-big t-medium mn-b-semi"},"of all shares",-1),E={class:"flex-v-center mn-b-small flex-nowrap flex pd-small bg-black-transp-5 radius-extra"},w={key:0,class:"t-transp t-medium"},N=e.createElementVNode("span",{class:"uppercase p-small t-medium t-transp"},"Connected Metamask",-1),V=e.createElementVNode("br",null,null,-1),x={key:2,class:"mn-b-small"},B={class:"cols-3 gap-thin"},y={class:"radius-medium bg-light"},v={class:"flex-nowrap br-b br-black-transp-10 br-solid flex pd-medium"},C={class:"t-semi mn-r-auto"},W={class:"pd-t-nano pd-b-nano pd-l-thin pd-r-thin bg-main flex flex-center radius-extra t-semi p-small"},D={class:"pd-medium"},S={class:"t-regular mn-b-thin"},M={__name:"Wallet",setup(R){return window.ethereum.on("accountsChanged",o=>{o.length<1&&(t.state.account=null)}),t.state.web3=new s.Web3(window.ethereum||"http://localhost:8080"),e.onMounted(()=>{t.actions.listRewards(),t.actions.tryReconnectWallet()}),(o,n)=>(e.openBlock(),e.createElementBlock("section",a,[e.createElementVNode("section",l,[i,c,e.unref(t.state).account?(e.openBlock(),e.createElementBlock("div",u,[e.createElementVNode("div",d,[e.createElementVNode("h2",null,e.toDisplayString(e.unref(t.state).tokenBalance)+" WDT",1)]),m,e.createElementVNode("button",{class:"w-max bg-white t-black t-medium button",onClick:n[0]||(n[0]=(...r)=>e.unref(t.actions).collectRewards&&e.unref(t.actions).collectRewards(...r))},"Withdraw")])):e.createCommentVNode("",!0)]),e.unref(t.state).account?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",p,[b,e.createElementVNode("div",q,[e.unref(t.state).account?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("h3",h," Connect Metamask to withdrawal your earnings. ")),e.unref(t.state).account?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("button",{key:1,onClick:n[1]||(n[1]=(...r)=>e.unref(t.actions).connectWallet&&e.unref(t.actions).connectWallet(...r)),class:"br-solid br-2px br-black-transp-10 t-black button"}," Connect Wallet "))])])),e.unref(t.state).account?(e.openBlock(),e.createElementBlock("div",_,[k,e.createElementVNode("p",f,e.toDisplayString(e.unref(t.state).share)+"%",1),g,e.createElementVNode("div",E,[e.unref(t.state).account?(e.openBlock(),e.createElementBlock("p",w,[N,V,e.createElementVNode("span",null,e.toDisplayString(e.unref(t.state).account),1)])):e.createCommentVNode("",!0),e.unref(t.state).account?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:n[2]||(n[2]=(...r)=>e.unref(t.actions).disconnectWallet&&e.unref(t.actions).disconnectWallet(...r)),class:"mn-l-auto bg-red button"}," Disconnect Wallet ")):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),e.unref(t.state).rewards.length>0?(e.openBlock(),e.createElementBlock("h2",x,"Latest Rewards ")):e.createCommentVNode("",!0),e.createElementVNode("section",B,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(t.state).rewards,r=>(e.openBlock(),e.createElementBlock("div",y,[e.createElementVNode("div",v,[e.createElementVNode("p",C,e.toDisplayString(r.amount)+" WDT",1),e.createElementVNode("span",W,e.toDisplayString(r.type==="blogpost"?"Community Reward":r.type),1)]),e.createElementVNode("div",D,[e.createElementVNode("h4",S,e.toDisplayString(r.name),1)])]))),256))])]))}};exports.default=M;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { onMounted as p, openBlock as s, createElementBlock as i, createElementVNode as t, unref as o, toDisplayString as l, createCommentVNode as r, Fragment as d, renderList as u } from "vue";
|
2
|
-
import { state as e, actions as
|
2
|
+
import { state as e, actions as m } from "../../store/wallet.store.js";
|
3
3
|
import { Web3 as b } from "../../../../../../../node_modules/web3/lib/esm/web3.js";
|
4
4
|
import "../../../../../../../node_modules/web3-core/lib/esm/web3_config.js";
|
5
5
|
import "../../../../../../../node_modules/web3-core/lib/esm/web3_request_manager.js";
|
@@ -23,6 +23,9 @@ import "../../../../../../../node_modules/web3-eth/lib/esm/constants.js";
|
|
23
23
|
import "../../../../../../../node_modules/web3-eth/lib/esm/rpc_method_wrappers.js";
|
24
24
|
import "../../../../../../../node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.js";
|
25
25
|
import "../../../../../../../node_modules/web3-eth/lib/esm/utils/transaction_builder.js";
|
26
|
+
import "../../../../../../../node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.js";
|
27
|
+
import "../../../../../../../node_modules/web3-eth/lib/esm/utils/try_send_transaction.js";
|
28
|
+
import "../../../../../../../node_modules/web3-eth/lib/esm/utils/send_tx_helper.js";
|
26
29
|
import "../../../../../../../node_modules/web3-eth-contract/lib/esm/contract.js";
|
27
30
|
import "../../../../../../../node_modules/web3-eth-personal/lib/esm/personal.js";
|
28
31
|
import "../../../../../../../node_modules/web3-net/lib/esm/net.js";
|
@@ -63,10 +66,10 @@ const h = { class: "pd-thin" }, _ = { class: "bg-black t-white mn-b-thin radius-
|
|
63
66
|
}, x = { class: "flex-v-center flex-nowrap flex mn-r-auto" }, f = /* @__PURE__ */ t("button", { class: "w-max bg-main t-medium button" }, "Get More", -1), y = {
|
64
67
|
key: 0,
|
65
68
|
class: "mn-b-semi cols-2 gap-thin"
|
66
|
-
}, W = /* @__PURE__ */ t("div", { class: "w-100 pd-medium radius-medium t-center bg-
|
69
|
+
}, W = /* @__PURE__ */ t("div", { class: "w-100 pd-medium radius-medium t-center bg-light" }, [
|
67
70
|
/* @__PURE__ */ t("h3", { class: "mn-b-small" }, "Make first order and start earning Weeder Token"),
|
68
71
|
/* @__PURE__ */ t("button", { class: "mn-l-auto mn-r-auto bg-main button" }, "Explore marketplace")
|
69
|
-
], -1), v = { class: "w-100 pd-medium flex-center flex flex-column radius-medium t-center bg-
|
72
|
+
], -1), v = { class: "w-100 pd-medium flex-center flex flex-column radius-medium t-center bg-light" }, C = {
|
70
73
|
key: 0,
|
71
74
|
class: "mn-b-small"
|
72
75
|
}, R = {
|
@@ -78,14 +81,14 @@ const h = { class: "pd-thin" }, _ = { class: "bg-black t-white mn-b-thin radius-
|
|
78
81
|
}, L = /* @__PURE__ */ t("span", { class: "uppercase p-small t-medium t-transp" }, "Connected Metamask", -1), N = /* @__PURE__ */ t("br", null, null, -1), V = {
|
79
82
|
key: 2,
|
80
83
|
class: "mn-b-small"
|
81
|
-
}, Y = { class: "cols-3 gap-thin" }, F = { class: "radius-medium bg-
|
84
|
+
}, Y = { class: "cols-3 gap-thin" }, F = { class: "radius-medium bg-light" }, G = { class: "flex-nowrap br-b br-black-transp-10 br-solid flex pd-medium" }, S = { class: "t-semi mn-r-auto" }, j = { class: "pd-t-nano pd-b-nano pd-l-thin pd-r-thin bg-main flex flex-center radius-extra t-semi p-small" }, q = { class: "pd-medium" }, z = { class: "t-regular mn-b-thin" }, Xt = {
|
82
85
|
__name: "Wallet",
|
83
86
|
setup(A) {
|
84
87
|
return window.ethereum.on("accountsChanged", (c) => {
|
85
88
|
c.length < 1 && (e.account = null);
|
86
89
|
}), e.web3 = new b(window.ethereum || "http://localhost:8080"), p(() => {
|
87
|
-
|
88
|
-
}), (c,
|
90
|
+
m.listRewards(), m.tryReconnectWallet();
|
91
|
+
}), (c, a) => (s(), i("section", h, [
|
89
92
|
t("section", _, [
|
90
93
|
g,
|
91
94
|
w,
|
@@ -96,7 +99,7 @@ const h = { class: "pd-thin" }, _ = { class: "bg-black t-white mn-b-thin radius-
|
|
96
99
|
f,
|
97
100
|
t("button", {
|
98
101
|
class: "w-max bg-white t-black t-medium button",
|
99
|
-
onClick:
|
102
|
+
onClick: a[0] || (a[0] = (...n) => o(m).collectRewards && o(m).collectRewards(...n))
|
100
103
|
}, "Withdraw")
|
101
104
|
])) : r("", !0)
|
102
105
|
]),
|
@@ -106,7 +109,7 @@ const h = { class: "pd-thin" }, _ = { class: "bg-black t-white mn-b-thin radius-
|
|
106
109
|
o(e).account ? r("", !0) : (s(), i("h3", C, " Connect Metamask to withdrawal your earnings. ")),
|
107
110
|
o(e).account ? r("", !0) : (s(), i("button", {
|
108
111
|
key: 1,
|
109
|
-
onClick:
|
112
|
+
onClick: a[1] || (a[1] = (...n) => o(m).connectWallet && o(m).connectWallet(...n)),
|
110
113
|
class: "br-solid br-2px br-black-transp-10 t-black button"
|
111
114
|
}, " Connect Wallet "))
|
112
115
|
])
|
@@ -123,7 +126,7 @@ const h = { class: "pd-thin" }, _ = { class: "bg-black t-white mn-b-thin radius-
|
|
123
126
|
])) : r("", !0),
|
124
127
|
o(e).account ? (s(), i("button", {
|
125
128
|
key: 1,
|
126
|
-
onClick:
|
129
|
+
onClick: a[2] || (a[2] = (...n) => o(m).disconnectWallet && o(m).disconnectWallet(...n)),
|
127
130
|
class: "mn-l-auto bg-red button"
|
128
131
|
}, " Disconnect Wallet ")) : r("", !0)
|
129
132
|
])
|
@@ -144,5 +147,5 @@ const h = { class: "pd-thin" }, _ = { class: "bg-black t-white mn-b-thin radius-
|
|
144
147
|
}
|
145
148
|
};
|
146
149
|
export {
|
147
|
-
|
150
|
+
Xt as default
|
148
151
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./main-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./main-VcxO-jAt.js");exports.Address=e.Address;exports.Breadcrumbs=e._sfc_main$10;exports.Button=e._sfc_main;exports.Checkbox=e._sfc_main$1;exports.Chips=e.Chips;exports.Countdown=e._sfc_main$11;exports.DatePicker=e._sfc_main$12;exports.Dropdown=e.Dropdown;exports.EmptyState=e._sfc_main$13;exports.Error=e._sfc_main$2;exports.Feed=e._sfc_main$14;exports.Field=e.Field;exports.FieldBig=e._sfc_main$15;exports.FieldPhone=e.FieldPhone;exports.FieldTags=e.FieldTags;exports.Loader=e.Loader;exports.LocationMarker=e.LocationMarker;exports.Magnifier=e.Magnifier;exports.Map=e.Map;exports.Marquee=e._sfc_main$19;exports.Popup=e._sfc_main$3;exports.Radio=e._sfc_main$4;exports.Select=e.Select;exports.SelectMulti=e.SelectMulti;exports.Shader=e.Shader;exports.Sidebar=e._sfc_main$16;exports.Slider=e._sfc_main$17;exports.Spoiler=e._sfc_main$5;exports.Status=e._sfc_main$18;exports.Tab=e._sfc_main$6;exports.Text=e._sfc_main$7;exports.Tooltip=e.Tooltip;exports.Upload=e.Upload;exports.UploadImage=e._sfc_main$8;exports.UploadImageMultiple=e._sfc_main$9;exports.default=e.main;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { A as e,
|
1
|
+
import { A as e, l as o, _ as d, a as r, C as t, n as i, o as l, D as p, p as u, b as S, q as n, F as c, r as M, c as g, s as m, t as F, L as b, u as h, M as T, z as f, d as k, e as x, S as C, f as U, v as w, w as B, x as D, g as L, y as P, h as q, i as y, T as A, U as E, j as I, k as j, m as v } from "./main-8APITHuW.mjs";
|
2
2
|
export {
|
3
3
|
e as Address,
|
4
4
|
o as Breadcrumbs,
|
@@ -0,0 +1,162 @@
|
|
1
|
+
import require$$0 from "mongoose";
|
2
|
+
const ObjectId = require$$0.Types.ObjectId;
|
3
|
+
function getBasicOptions(query) {
|
4
|
+
const { _id, url, status, type, owner, creator } = query;
|
5
|
+
const conditions = [];
|
6
|
+
if (_id) {
|
7
|
+
conditions.push({ _id: new ObjectId(_id) });
|
8
|
+
}
|
9
|
+
if (url) {
|
10
|
+
conditions.push({ url });
|
11
|
+
}
|
12
|
+
if (status) {
|
13
|
+
conditions.push({ status });
|
14
|
+
}
|
15
|
+
if (type) {
|
16
|
+
conditions.push({ type });
|
17
|
+
}
|
18
|
+
if (owner) {
|
19
|
+
conditions.push({ "owner.target": new ObjectId(owner) });
|
20
|
+
}
|
21
|
+
if (creator) {
|
22
|
+
conditions.push({ "creator.target": new ObjectId(creator) });
|
23
|
+
}
|
24
|
+
if (conditions.length > 0) {
|
25
|
+
return [{ $match: { $and: conditions } }];
|
26
|
+
} else {
|
27
|
+
return [];
|
28
|
+
}
|
29
|
+
}
|
30
|
+
function getTagsOptions(tags) {
|
31
|
+
if (tags && tags.length > 0) {
|
32
|
+
[{ $in: tags.split(",") }];
|
33
|
+
} else {
|
34
|
+
return [];
|
35
|
+
}
|
36
|
+
}
|
37
|
+
function getSortingOptions(param = "createdAt", order = "desc") {
|
38
|
+
let sort = {
|
39
|
+
[param]: order === "desc" ? -1 : 1,
|
40
|
+
"_id": 1
|
41
|
+
};
|
42
|
+
return [{ $sort: sort }];
|
43
|
+
}
|
44
|
+
function getPaginationOptions(skip, limit) {
|
45
|
+
let pagination = {
|
46
|
+
skip: parseInt(skip) || 0,
|
47
|
+
limit: parseInt(limit) || 20
|
48
|
+
};
|
49
|
+
return [{ $skip: pagination.skip }, { $limit: pagination.limit }];
|
50
|
+
}
|
51
|
+
function getCreatorUserLookupStage() {
|
52
|
+
return {
|
53
|
+
$lookup: {
|
54
|
+
from: "users",
|
55
|
+
localField: "creator.target",
|
56
|
+
foreignField: "_id",
|
57
|
+
as: "creatorUser"
|
58
|
+
}
|
59
|
+
};
|
60
|
+
}
|
61
|
+
function getCreatorOrganizationLookupStage() {
|
62
|
+
return {
|
63
|
+
$lookup: {
|
64
|
+
from: "organizations",
|
65
|
+
localField: "creator.target",
|
66
|
+
foreignField: "_id",
|
67
|
+
as: "creatorOrganization"
|
68
|
+
}
|
69
|
+
};
|
70
|
+
}
|
71
|
+
function getCreatorCustomerLookupStage() {
|
72
|
+
return {
|
73
|
+
$lookup: {
|
74
|
+
from: "customers",
|
75
|
+
localField: "creator.target",
|
76
|
+
foreignField: "_id",
|
77
|
+
as: "creatorCustomer"
|
78
|
+
}
|
79
|
+
};
|
80
|
+
}
|
81
|
+
function getOwnerUserLookupStage() {
|
82
|
+
return {
|
83
|
+
$lookup: {
|
84
|
+
from: "users",
|
85
|
+
localField: "owner.target",
|
86
|
+
foreignField: "_id",
|
87
|
+
as: "ownerUser"
|
88
|
+
}
|
89
|
+
};
|
90
|
+
}
|
91
|
+
function getOwnerOrganizationLookupStage() {
|
92
|
+
return {
|
93
|
+
$lookup: {
|
94
|
+
from: "organizations",
|
95
|
+
localField: "owner.target",
|
96
|
+
foreignField: "_id",
|
97
|
+
as: "ownerOrganization"
|
98
|
+
}
|
99
|
+
};
|
100
|
+
}
|
101
|
+
function getAddFieldsCreatorOwnerStage() {
|
102
|
+
return {
|
103
|
+
$addFields: {
|
104
|
+
"creator.target": {
|
105
|
+
$switch: {
|
106
|
+
branches: [
|
107
|
+
{
|
108
|
+
case: { $eq: [{ $toLower: "$creator.type" }, "user"] },
|
109
|
+
then: { $arrayElemAt: ["$creatorUser", 0] }
|
110
|
+
},
|
111
|
+
{
|
112
|
+
case: { $eq: [{ $toLower: "$creator.type" }, "organization"] },
|
113
|
+
then: { $arrayElemAt: ["$creatorOrganization", 0] }
|
114
|
+
},
|
115
|
+
{
|
116
|
+
case: { $eq: [{ $toLower: "$creator.type" }, "customer"] },
|
117
|
+
then: { $arrayElemAt: ["$creatorCustomer", 0] }
|
118
|
+
}
|
119
|
+
],
|
120
|
+
default: "Unknown type"
|
121
|
+
// или любое другое значение по умолчанию, которое вы хотите использовать
|
122
|
+
}
|
123
|
+
},
|
124
|
+
"owner.target": {
|
125
|
+
$cond: [
|
126
|
+
{ $eq: ["$owner.type", "user"] },
|
127
|
+
{ $arrayElemAt: ["$ownerUser", 0] },
|
128
|
+
{ $arrayElemAt: ["$ownerOrganization", 0] }
|
129
|
+
]
|
130
|
+
}
|
131
|
+
}
|
132
|
+
};
|
133
|
+
}
|
134
|
+
function removeTempPropeties() {
|
135
|
+
return {
|
136
|
+
$project: {
|
137
|
+
creatorOrganization: 0,
|
138
|
+
creatorUser: 0,
|
139
|
+
ownerOrganization: 0,
|
140
|
+
ownerUser: 0,
|
141
|
+
creatorCustomer: 0,
|
142
|
+
ownerCustomer: 0
|
143
|
+
}
|
144
|
+
};
|
145
|
+
}
|
146
|
+
var queryProcessor = {
|
147
|
+
getBasicOptions,
|
148
|
+
getSortingOptions,
|
149
|
+
getPaginationOptions,
|
150
|
+
getTagsOptions,
|
151
|
+
// Creator and Owner
|
152
|
+
getCreatorUserLookupStage,
|
153
|
+
getCreatorOrganizationLookupStage,
|
154
|
+
getCreatorCustomerLookupStage,
|
155
|
+
getOwnerUserLookupStage,
|
156
|
+
getOwnerOrganizationLookupStage,
|
157
|
+
getAddFieldsCreatorOwnerStage,
|
158
|
+
removeTempPropeties
|
159
|
+
};
|
160
|
+
export {
|
161
|
+
queryProcessor as q
|
162
|
+
};
|
@@ -0,0 +1,161 @@
|
|
1
|
+
"use strict";
|
2
|
+
const require$$0 = require("mongoose");
|
3
|
+
const ObjectId = require$$0.Types.ObjectId;
|
4
|
+
function getBasicOptions(query) {
|
5
|
+
const { _id, url, status, type, owner, creator } = query;
|
6
|
+
const conditions = [];
|
7
|
+
if (_id) {
|
8
|
+
conditions.push({ _id: new ObjectId(_id) });
|
9
|
+
}
|
10
|
+
if (url) {
|
11
|
+
conditions.push({ url });
|
12
|
+
}
|
13
|
+
if (status) {
|
14
|
+
conditions.push({ status });
|
15
|
+
}
|
16
|
+
if (type) {
|
17
|
+
conditions.push({ type });
|
18
|
+
}
|
19
|
+
if (owner) {
|
20
|
+
conditions.push({ "owner.target": new ObjectId(owner) });
|
21
|
+
}
|
22
|
+
if (creator) {
|
23
|
+
conditions.push({ "creator.target": new ObjectId(creator) });
|
24
|
+
}
|
25
|
+
if (conditions.length > 0) {
|
26
|
+
return [{ $match: { $and: conditions } }];
|
27
|
+
} else {
|
28
|
+
return [];
|
29
|
+
}
|
30
|
+
}
|
31
|
+
function getTagsOptions(tags) {
|
32
|
+
if (tags && tags.length > 0) {
|
33
|
+
[{ $in: tags.split(",") }];
|
34
|
+
} else {
|
35
|
+
return [];
|
36
|
+
}
|
37
|
+
}
|
38
|
+
function getSortingOptions(param = "createdAt", order = "desc") {
|
39
|
+
let sort = {
|
40
|
+
[param]: order === "desc" ? -1 : 1,
|
41
|
+
"_id": 1
|
42
|
+
};
|
43
|
+
return [{ $sort: sort }];
|
44
|
+
}
|
45
|
+
function getPaginationOptions(skip, limit) {
|
46
|
+
let pagination = {
|
47
|
+
skip: parseInt(skip) || 0,
|
48
|
+
limit: parseInt(limit) || 20
|
49
|
+
};
|
50
|
+
return [{ $skip: pagination.skip }, { $limit: pagination.limit }];
|
51
|
+
}
|
52
|
+
function getCreatorUserLookupStage() {
|
53
|
+
return {
|
54
|
+
$lookup: {
|
55
|
+
from: "users",
|
56
|
+
localField: "creator.target",
|
57
|
+
foreignField: "_id",
|
58
|
+
as: "creatorUser"
|
59
|
+
}
|
60
|
+
};
|
61
|
+
}
|
62
|
+
function getCreatorOrganizationLookupStage() {
|
63
|
+
return {
|
64
|
+
$lookup: {
|
65
|
+
from: "organizations",
|
66
|
+
localField: "creator.target",
|
67
|
+
foreignField: "_id",
|
68
|
+
as: "creatorOrganization"
|
69
|
+
}
|
70
|
+
};
|
71
|
+
}
|
72
|
+
function getCreatorCustomerLookupStage() {
|
73
|
+
return {
|
74
|
+
$lookup: {
|
75
|
+
from: "customers",
|
76
|
+
localField: "creator.target",
|
77
|
+
foreignField: "_id",
|
78
|
+
as: "creatorCustomer"
|
79
|
+
}
|
80
|
+
};
|
81
|
+
}
|
82
|
+
function getOwnerUserLookupStage() {
|
83
|
+
return {
|
84
|
+
$lookup: {
|
85
|
+
from: "users",
|
86
|
+
localField: "owner.target",
|
87
|
+
foreignField: "_id",
|
88
|
+
as: "ownerUser"
|
89
|
+
}
|
90
|
+
};
|
91
|
+
}
|
92
|
+
function getOwnerOrganizationLookupStage() {
|
93
|
+
return {
|
94
|
+
$lookup: {
|
95
|
+
from: "organizations",
|
96
|
+
localField: "owner.target",
|
97
|
+
foreignField: "_id",
|
98
|
+
as: "ownerOrganization"
|
99
|
+
}
|
100
|
+
};
|
101
|
+
}
|
102
|
+
function getAddFieldsCreatorOwnerStage() {
|
103
|
+
return {
|
104
|
+
$addFields: {
|
105
|
+
"creator.target": {
|
106
|
+
$switch: {
|
107
|
+
branches: [
|
108
|
+
{
|
109
|
+
case: { $eq: [{ $toLower: "$creator.type" }, "user"] },
|
110
|
+
then: { $arrayElemAt: ["$creatorUser", 0] }
|
111
|
+
},
|
112
|
+
{
|
113
|
+
case: { $eq: [{ $toLower: "$creator.type" }, "organization"] },
|
114
|
+
then: { $arrayElemAt: ["$creatorOrganization", 0] }
|
115
|
+
},
|
116
|
+
{
|
117
|
+
case: { $eq: [{ $toLower: "$creator.type" }, "customer"] },
|
118
|
+
then: { $arrayElemAt: ["$creatorCustomer", 0] }
|
119
|
+
}
|
120
|
+
],
|
121
|
+
default: "Unknown type"
|
122
|
+
// или любое другое значение по умолчанию, которое вы хотите использовать
|
123
|
+
}
|
124
|
+
},
|
125
|
+
"owner.target": {
|
126
|
+
$cond: [
|
127
|
+
{ $eq: ["$owner.type", "user"] },
|
128
|
+
{ $arrayElemAt: ["$ownerUser", 0] },
|
129
|
+
{ $arrayElemAt: ["$ownerOrganization", 0] }
|
130
|
+
]
|
131
|
+
}
|
132
|
+
}
|
133
|
+
};
|
134
|
+
}
|
135
|
+
function removeTempPropeties() {
|
136
|
+
return {
|
137
|
+
$project: {
|
138
|
+
creatorOrganization: 0,
|
139
|
+
creatorUser: 0,
|
140
|
+
ownerOrganization: 0,
|
141
|
+
ownerUser: 0,
|
142
|
+
creatorCustomer: 0,
|
143
|
+
ownerCustomer: 0
|
144
|
+
}
|
145
|
+
};
|
146
|
+
}
|
147
|
+
var queryProcessor = {
|
148
|
+
getBasicOptions,
|
149
|
+
getSortingOptions,
|
150
|
+
getPaginationOptions,
|
151
|
+
getTagsOptions,
|
152
|
+
// Creator and Owner
|
153
|
+
getCreatorUserLookupStage,
|
154
|
+
getCreatorOrganizationLookupStage,
|
155
|
+
getCreatorCustomerLookupStage,
|
156
|
+
getOwnerUserLookupStage,
|
157
|
+
getOwnerOrganizationLookupStage,
|
158
|
+
getAddFieldsCreatorOwnerStage,
|
159
|
+
removeTempPropeties
|
160
|
+
};
|
161
|
+
exports.queryProcessor = queryProcessor;
|