@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
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),n=require("vue-router");require("vue-i18n");require("../../../globals/localization/vue-i18n.cjs");require("../../../../components/Breadcrumbs/Breadcrumbs.vue.cjs");const p=require("../../../../components/FieldTags/BlockTags.vue.cjs");require("../../../../components/Tab/Tab.vue.cjs");const
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),n=require("vue-router");require("vue-i18n");require("../../../globals/localization/vue-i18n.cjs");require("../../../../components/Breadcrumbs/Breadcrumbs.vue.cjs");const p=require("../../../../components/FieldTags/BlockTags.vue.cjs");require("../../../../components/Tab/Tab.vue.cjs");const r=require("../../../../components/Field/Field.vue2.cjs");require("../../../../components/Select/Select.vue.cjs");const f=require("../../../../components/SelectMulti/SelectMulti.vue.cjs"),g=require("../../../../components/UploadImage/UploadImage.vue.cjs"),b=require("../../../../components/Button/Button.vue2.cjs");require("../../../../components/Popup/Popup.vue.cjs");const h=require("../../../auth/store/auth.cjs"),e=require("../../store/organizations.cjs");require("../../store/memberships.cjs");const V={class:"for-transition pd-thin"},N=t.createElementVNode("h3",{class:"mn-b-small"},"Type of group",-1),_=t.createElementVNode("p",{class:"mn-b-thin"},"Public groups are open to everyone, whereas in exclusive groups only members can post. If you wish to make a group private, select 'hidden'.",-1),q=t.createElementVNode("h3",{class:"mn-b-small"},"Profile",-1),y={class:"mn-b-thin radius-small w-100 h-10r bg-light flex-center flex-column flex"},v=t.createElementVNode("h4",null,"Upload photo",-1),w=t.createElementVNode("h3",{class:"mn-b-small"},"Socials",-1),x=t.createElementVNode("p",{class:"mn-b-thin"},"Please provide only the username for social media profiles, without full links.",-1),U={__name:"OrganizationEdit",async setup(T){let i,o;const s=n.useRoute(),d=n.useRouter();e.actions.reset(),s.params._id&&([i,o]=t.withAsyncContext(()=>e.actions.read({_id:s.params._id})),await i,o());const u=t.computed(()=>e.state.current);async function c(){s.params._id?await e.actions.update(s.params._id,u.value):await e.actions.create(e.state.current,h.state.user._id)}function m(){d.replace({name:"Organization",params:{_id:e.state.current._id}})}return(k,a)=>(t.openBlock(),t.createElementBlock("div",V,[N,_,t.createVNode(f.default,{modelValue:e.state.current.types,"onUpdate:modelValue":a[0]||(a[0]=l=>e.state.current.types=l),options:["public","exclusive","hidden"],multiple:!1,taggable:!1,placeholder:"Type to search or add type of organization",class:"mn-b-semi bg-light pd-medium radius-small"},null,8,["modelValue"]),q,t.createElementVNode("div",y,[t.createVNode(g.default,{photo:e.state.current.profile.photo,"onUpdate:photo":a[1]||(a[1]=l=>e.state.current.profile.photo=l),uploadPath:"organizations/"+e.state.current._id+"/avatars",class:"h-4r w-4r aspect-1x1 o-hidden mn-b-thin radius-extra"},null,8,["photo","uploadPath"]),v]),t.createVNode(r.default,{field:e.state.current.profile.name,"onUpdate:field":a[2]||(a[2]=l=>e.state.current.profile.name=l),placeholder:"Name of organization",class:"mn-b-thin bg-light pd-medium radius-small"},null,8,["field"]),t.createVNode(r.default,{field:e.state.current.profile.description,"onUpdate:field":a[3]||(a[3]=l=>e.state.current.profile.description=l),placeholder:"Brief description of your group",class:"mn-b-thin bg-light pd-medium radius-small"},null,8,["field"]),t.createVNode(p.default,{onTagsChanged:a[4]||(a[4]=l=>e.state.current.profile.tags=l),tags:e.state.current.profile.tags},null,8,["tags"]),w,x,t.createVNode(r.default,{field:e.state.current.socials.instagram,"onUpdate:field":a[5]||(a[5]=l=>e.state.current.socials.instagram=l),label:"Instagram",placeholder:"",class:"mn-b-thin bg-light pd-medium radius-small"},null,8,["field"]),t.createVNode(r.default,{field:e.state.current.socials.twitter,"onUpdate:field":a[6]||(a[6]=l=>e.state.current.socials.twitter=l),label:"Twitter",placeholder:"",class:"mn-b-thin bg-light pd-medium radius-small"},null,8,["field"]),t.createVNode(r.default,{field:e.state.current.socials.facebook,"onUpdate:field":a[7]||(a[7]=l=>e.state.current.socials.facebook=l),label:"Facebook",placeholder:"",class:"mn-b-thin bg-light pd-medium radius-small"},null,8,["field"]),t.createVNode(r.default,{field:e.state.current.socials.telegram,"onUpdate:field":a[8]||(a[8]=l=>e.state.current.socials.telegram=l),label:"Telegram",placeholder:"",class:"mn-b-thin bg-light pd-medium radius-small"},null,8,["field"]),t.createVNode(r.default,{field:e.state.current.socials.youtube,"onUpdate:field":a[9]||(a[9]=l=>e.state.current.socials.youtube=l),label:"Telegram",placeholder:"",class:"mn-b-thin bg-light pd-medium radius-small"},null,8,["field"]),t.createVNode(b.default,{submit:c,callback:m,class:"bg-main w-100 mn-b-thin"},{default:t.withCtx(()=>[t.createTextVNode("Save")]),_:1})]))}};exports.default=U;
|
package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
import { withAsyncContext as f, computed as g, openBlock as
|
1
|
+
import { withAsyncContext as f, computed as g, openBlock as h, createElementBlock as b, createVNode as i, createElementVNode as r, withCtx as _, createTextVNode as y } from "vue";
|
2
2
|
import { useRoute as w, useRouter as x } from "vue-router";
|
3
3
|
import "vue-i18n";
|
4
4
|
import "../../../globals/localization/vue-i18n.js";
|
5
5
|
import "../../../../components/Breadcrumbs/Breadcrumbs.vue.js";
|
6
6
|
import v from "../../../../components/FieldTags/BlockTags.vue.js";
|
7
7
|
import "../../../../components/Tab/Tab.vue.js";
|
8
|
-
import
|
8
|
+
import o from "../../../../components/Field/Field.vue2.js";
|
9
9
|
import "../../../../components/Select/Select.vue.js";
|
10
10
|
import U from "../../../../components/SelectMulti/SelectMulti.vue.js";
|
11
11
|
import k from "../../../../components/UploadImage/UploadImage.vue.js";
|
@@ -14,7 +14,7 @@ import "../../../../components/Popup/Popup.vue.js";
|
|
14
14
|
import { state as z } from "../../../auth/store/auth.js";
|
15
15
|
import { actions as s, state as e } from "../../store/organizations.js";
|
16
16
|
import "../../store/memberships.js";
|
17
|
-
const V = { class: "for-transition pd-thin" }, P = /* @__PURE__ */
|
17
|
+
const V = { class: "for-transition pd-thin" }, P = /* @__PURE__ */ r("h3", { class: "mn-b-small" }, "Type of group", -1), N = /* @__PURE__ */ r("p", { class: "mn-b-thin" }, "Public groups are open to everyone, whereas in exclusive groups only members can post. If you wish to make a group private, select 'hidden'.", -1), S = /* @__PURE__ */ r("h3", { class: "mn-b-small" }, "Profile", -1), $ = { class: "mn-b-thin radius-small w-100 h-10r bg-light flex-center flex-column flex" }, B = /* @__PURE__ */ r("h4", null, "Upload photo", -1), C = /* @__PURE__ */ r("h3", { class: "mn-b-small" }, "Socials", -1), E = /* @__PURE__ */ r("p", { class: "mn-b-thin" }, "Please provide only the username for social media profiles, without full links.", -1), Z = {
|
18
18
|
__name: "OrganizationEdit",
|
19
19
|
async setup(F) {
|
20
20
|
let n, d;
|
@@ -27,88 +27,88 @@ const V = { class: "for-transition pd-thin" }, P = /* @__PURE__ */ o("h3", { cla
|
|
27
27
|
function c() {
|
28
28
|
m.replace({ name: "Organization", params: { _id: e.current._id } });
|
29
29
|
}
|
30
|
-
return (I, t) => (
|
30
|
+
return (I, t) => (h(), b("div", V, [
|
31
31
|
P,
|
32
32
|
N,
|
33
|
-
|
33
|
+
i(U, {
|
34
34
|
modelValue: e.current.types,
|
35
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
35
|
+
"onUpdate:modelValue": t[0] || (t[0] = (l) => e.current.types = l),
|
36
36
|
options: ["public", "exclusive", "hidden"],
|
37
37
|
multiple: !1,
|
38
38
|
taggable: !1,
|
39
39
|
placeholder: "Type to search or add type of organization",
|
40
|
-
class: "mn-b-semi bg-
|
40
|
+
class: "mn-b-semi bg-light pd-medium radius-small"
|
41
41
|
}, null, 8, ["modelValue"]),
|
42
42
|
S,
|
43
|
-
|
44
|
-
|
43
|
+
r("div", $, [
|
44
|
+
i(k, {
|
45
45
|
photo: e.current.profile.photo,
|
46
|
-
"onUpdate:photo": t[1] || (t[1] = (
|
46
|
+
"onUpdate:photo": t[1] || (t[1] = (l) => e.current.profile.photo = l),
|
47
47
|
uploadPath: "organizations/" + e.current._id + "/avatars",
|
48
48
|
class: "h-4r w-4r aspect-1x1 o-hidden mn-b-thin radius-extra"
|
49
49
|
}, null, 8, ["photo", "uploadPath"]),
|
50
50
|
B
|
51
51
|
]),
|
52
|
-
|
52
|
+
i(o, {
|
53
53
|
field: e.current.profile.name,
|
54
|
-
"onUpdate:field": t[2] || (t[2] = (
|
54
|
+
"onUpdate:field": t[2] || (t[2] = (l) => e.current.profile.name = l),
|
55
55
|
placeholder: "Name of organization",
|
56
|
-
class: "mn-b-thin bg-
|
56
|
+
class: "mn-b-thin bg-light pd-medium radius-small"
|
57
57
|
}, null, 8, ["field"]),
|
58
|
-
|
58
|
+
i(o, {
|
59
59
|
field: e.current.profile.description,
|
60
|
-
"onUpdate:field": t[3] || (t[3] = (
|
60
|
+
"onUpdate:field": t[3] || (t[3] = (l) => e.current.profile.description = l),
|
61
61
|
placeholder: "Brief description of your group",
|
62
|
-
class: "mn-b-thin bg-
|
62
|
+
class: "mn-b-thin bg-light pd-medium radius-small"
|
63
63
|
}, null, 8, ["field"]),
|
64
|
-
|
65
|
-
onTagsChanged: t[4] || (t[4] = (
|
64
|
+
i(v, {
|
65
|
+
onTagsChanged: t[4] || (t[4] = (l) => e.current.profile.tags = l),
|
66
66
|
tags: e.current.profile.tags
|
67
67
|
}, null, 8, ["tags"]),
|
68
68
|
C,
|
69
69
|
E,
|
70
|
-
|
70
|
+
i(o, {
|
71
71
|
field: e.current.socials.instagram,
|
72
|
-
"onUpdate:field": t[5] || (t[5] = (
|
72
|
+
"onUpdate:field": t[5] || (t[5] = (l) => e.current.socials.instagram = l),
|
73
73
|
label: "Instagram",
|
74
74
|
placeholder: "",
|
75
|
-
class: "mn-b-thin bg-
|
75
|
+
class: "mn-b-thin bg-light pd-medium radius-small"
|
76
76
|
}, null, 8, ["field"]),
|
77
|
-
|
77
|
+
i(o, {
|
78
78
|
field: e.current.socials.twitter,
|
79
|
-
"onUpdate:field": t[6] || (t[6] = (
|
79
|
+
"onUpdate:field": t[6] || (t[6] = (l) => e.current.socials.twitter = l),
|
80
80
|
label: "Twitter",
|
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
|
+
i(o, {
|
85
85
|
field: e.current.socials.facebook,
|
86
|
-
"onUpdate:field": t[7] || (t[7] = (
|
86
|
+
"onUpdate:field": t[7] || (t[7] = (l) => e.current.socials.facebook = l),
|
87
87
|
label: "Facebook",
|
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
|
+
i(o, {
|
92
92
|
field: e.current.socials.telegram,
|
93
|
-
"onUpdate:field": t[8] || (t[8] = (
|
93
|
+
"onUpdate:field": t[8] || (t[8] = (l) => e.current.socials.telegram = l),
|
94
94
|
label: "Telegram",
|
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
|
+
i(o, {
|
99
99
|
field: e.current.socials.youtube,
|
100
|
-
"onUpdate:field": t[9] || (t[9] = (
|
100
|
+
"onUpdate:field": t[9] || (t[9] = (l) => e.current.socials.youtube = l),
|
101
101
|
label: "Telegram",
|
102
102
|
placeholder: "",
|
103
|
-
class: "mn-b-thin bg-
|
103
|
+
class: "mn-b-thin bg-light pd-medium radius-small"
|
104
104
|
}, null, 8, ["field"]),
|
105
|
-
|
105
|
+
i(T, {
|
106
106
|
submit: p,
|
107
107
|
callback: c,
|
108
108
|
class: "bg-main w-100 mn-b-thin"
|
109
109
|
}, {
|
110
|
-
default:
|
111
|
-
|
110
|
+
default: _(() => [
|
111
|
+
y("Save")
|
112
112
|
]),
|
113
113
|
_: 1
|
114
114
|
})
|
package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),l=require("vue-router"),c=require("../../../../components/Tab/Tab.vue2.cjs"),u=require("../sections/Feed.vue.cjs"),n=require("../../../auth/store/auth.cjs"),m={class:"pd-thin"},b={class:"mn-b-medium flex-v-center flex-nowrap flex"},f=e.createElementVNode("h2",{class:"mn-r-medium"},"Groups",-1),_={__name:"Organizations",setup(p){const t=l.useRoute(),
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),l=require("vue-router"),c=require("../../../../components/Tab/Tab.vue2.cjs"),u=require("../sections/Feed.vue.cjs"),n=require("../../../auth/store/auth.cjs"),m={class:"pd-thin"},b={class:"mn-b-medium flex-v-center flex-nowrap flex"},f=e.createElementVNode("h2",{class:"mn-r-medium"},"Groups",-1),_={__name:"Organizations",setup(p){const t=l.useRoute(),i=l.useRouter();let d=t.query.tab?t.query.tab:"owner";const r=e.ref(d);return t.query.tab=r.value,e.watch(r,o=>{i.replace({query:{...t.query,tab:o}})}),(o,a)=>(e.openBlock(),e.createElementBlock("div",m,[e.createElementVNode("header",b,[f,e.createElementVNode("button",{onClick:a[0]||(a[0]=s=>o.$router.push({name:"Create Organization"})),class:"bg-second radius-100 i-big hover-scale-1 cursor-pointer t-white bg-second"}," + ")]),e.createVNode(c.default,{selected:r.value,"onUpdate:selected":a[1]||(a[1]=s=>r.value=s),tabs:[{name:"Owner",value:"owner"},{name:"Member",value:"member"},{name:"Follower",value:"follower"}],class:"mn-b-medium o-hidden h5 radius-big bg-light"},null,8,["selected"]),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[r.value==="owner"?(e.openBlock(),e.createBlock(u.default,{key:0,user:n.state.user._id,owner:e.unref(t).params._id},null,8,["user","owner"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[r.value==="member"?(e.openBlock(),e.createBlock(u.default,{key:0,user:n.state.user._id,member:e.unref(t).params._id},null,8,["user","member"])):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>[r.value==="follower"?(e.openBlock(),e.createBlock(u.default,{key:0,user:n.state.user._id,subscriber:e.unref(t).params._id},null,8,["user","subscriber"])):e.createCommentVNode("",!0)]),_:1})]))}};exports.default=_;
|
package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ref as v, watch as w, openBlock as a, createElementBlock as h, createElementVNode as b, createVNode as s, Transition as n, withCtx as u, createBlock as l, unref as
|
1
|
+
import { ref as v, watch as w, openBlock as a, createElementBlock as h, createElementVNode as b, createVNode as s, Transition as n, withCtx as u, createBlock as l, unref as i, createCommentVNode as m } from "vue";
|
2
2
|
import { useRoute as g, useRouter as y } from "vue-router";
|
3
3
|
import k from "../../../../components/Tab/Tab.vue2.js";
|
4
4
|
import d from "../sections/Feed.vue.js";
|
@@ -29,15 +29,15 @@ const q = { class: "pd-thin" }, x = { class: "mn-b-medium flex-v-center flex-now
|
|
29
29
|
{ name: "Member", value: "member" },
|
30
30
|
{ name: "Follower", value: "follower" }
|
31
31
|
],
|
32
|
-
class: "mn-b-medium o-hidden h5 radius-big bg-
|
32
|
+
class: "mn-b-medium o-hidden h5 radius-big bg-light"
|
33
33
|
}, null, 8, ["selected"]),
|
34
34
|
s(n, { name: "slide-fade" }, {
|
35
35
|
default: u(() => [
|
36
36
|
r.value === "owner" ? (a(), l(d, {
|
37
37
|
key: 0,
|
38
38
|
user: c.user._id,
|
39
|
-
owner:
|
40
|
-
}, null, 8, ["user", "owner"])) :
|
39
|
+
owner: i(e).params._id
|
40
|
+
}, null, 8, ["user", "owner"])) : m("", !0)
|
41
41
|
]),
|
42
42
|
_: 1
|
43
43
|
}),
|
@@ -46,8 +46,8 @@ const q = { class: "pd-thin" }, x = { class: "mn-b-medium flex-v-center flex-now
|
|
46
46
|
r.value === "member" ? (a(), l(d, {
|
47
47
|
key: 0,
|
48
48
|
user: c.user._id,
|
49
|
-
member:
|
50
|
-
}, null, 8, ["user", "member"])) :
|
49
|
+
member: i(e).params._id
|
50
|
+
}, null, 8, ["user", "member"])) : m("", !0)
|
51
51
|
]),
|
52
52
|
_: 1
|
53
53
|
}),
|
@@ -56,8 +56,8 @@ const q = { class: "pd-thin" }, x = { class: "mn-b-medium flex-v-center flex-now
|
|
56
56
|
r.value === "follower" ? (a(), l(d, {
|
57
57
|
key: 0,
|
58
58
|
user: c.user._id,
|
59
|
-
subscriber:
|
60
|
-
}, null, 8, ["user", "subscriber"])) :
|
59
|
+
subscriber: i(e).params._id
|
60
|
+
}, null, 8, ["user", "subscriber"])) : m("", !0)
|
61
61
|
]),
|
62
62
|
_: 1
|
63
63
|
})
|
package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("vue-router"),d=require("../../../../components/Dropdown/Dropdown.vue.cjs"),m=require("../../../../components/Text/Text.vue.cjs"),g=require("../../../../components/Chips/Chips.vue.cjs"),b=require("../../../icons/entities/IconFollowing.vue.cjs"),h=require("../../../icons/navigation/IconEdit.vue.cjs"),f=require("../../../icons/navigation/IconEllipsis.vue.cjs"),k=require("../../../icons/placeholders/PlaceholderOrganizationPic.vue.cjs"),c=require("../elements/ButtonToggleMembership.vue.cjs"),z=require("../blocks/Socials.vue.cjs"),w=require("../../../reports/components/sections/FormReport.vue.cjs"),x=require("../../store/organizations.cjs"),B=require("../../store/memberships.cjs"),
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("vue-router"),d=require("../../../../components/Dropdown/Dropdown.vue.cjs"),m=require("../../../../components/Text/Text.vue.cjs"),g=require("../../../../components/Chips/Chips.vue.cjs"),b=require("../../../icons/entities/IconFollowing.vue.cjs"),h=require("../../../icons/navigation/IconEdit.vue.cjs"),f=require("../../../icons/navigation/IconEllipsis.vue.cjs"),k=require("../../../icons/placeholders/PlaceholderOrganizationPic.vue.cjs"),c=require("../elements/ButtonToggleMembership.vue.cjs"),z=require("../blocks/Socials.vue.cjs"),w=require("../../../reports/components/sections/FormReport.vue.cjs"),x=require("../../store/organizations.cjs"),B=require("../../store/memberships.cjs"),V={class:"flex-center flex flex-column t-center pd-medium radius-big bg-light"},y={class:"bg-black pd-thin radius-small"},N=e.createElementVNode("button",{class:"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button"}," Report ",-1),E=["src"],q={class:"mn-b-thin"},p={class:"flex-center pd-r-thin pd-l-thin flex-nowrap flex mn-t-thin bg-white radius-extra w-max"},C={class:"mn-t-thin p-medium t-medium uppercase mn-b-thin"},S={class:"w-max-50r mn-t-regular mn-b-medium p-big"},v={key:5,class:"mn-t-small mn-b-thin"},O={__name:"DetailsTab",props:{organization:Object,user:Object},setup(t){const s=u.useRoute(),l=({membership:o,status:i,target:r},n,a)=>{B.mutations.handleMembershipUpdate(x.state.current,o,i,r,n,a)};return(o,i)=>(e.openBlock(),e.createBlock(e.Transition,{name:"slide-fade"},{default:e.withCtx(()=>{var r,n;return[e.createElementVNode("section",V,[t.user._id!==t.organization.owner?(e.openBlock(),e.createBlock(d.default,{key:0,label:{component:f.default,class:"i-regular t-transp"},align:"right",class:"cursor-pointer pos-absolute pos-r-regular pos-t-regular pd-thin radius-extra"},{default:e.withCtx(()=>[e.createElementVNode("section",y,[e.createVNode(w.default,{user:t.user._id,type:"organization",target:t.organization._id,text:"Report",class:"w-100"},{default:e.withCtx(()=>[N]),_:1},8,["user","target"]),t.user._id&&t.user._id!==t.organization.owner?(e.openBlock(),e.createBlock(c.default,{key:0,user:t.user._id,type:"organization",role:"blocked",target:t.organization._id,status:t.organization.isBlocked,text:{create:"Block",remove:"Unblock"},onUpdateMembership:i[0]||(i[0]=a=>l(a,"isBlocked")),class:"t-white w-100 mn-t-thin bg-red"},null,8,["user","target","status"])):e.createCommentVNode("",!0)])]),_:1},8,["label"])):e.createCommentVNode("",!0),t.user._id===t.organization.owner?(e.openBlock(),e.createBlock(h.default,{key:1,onClick:i[1]||(i[1]=a=>o.$router.push({name:"Organization Edit",params:{_id:t.organization._id}})),class:"pos-absolute cursor-pointer pos-t-big pos-r-big i-regular t-transp"})):e.createCommentVNode("",!0),t.organization.profile.photo?(e.openBlock(),e.createElementBlock("img",{key:2,src:(o.FILE_SERVER_URL||"")+t.organization.profile.photo,class:"radius-big bg-light flex-center flex mn-b-small w-8r"},null,8,E)):(e.openBlock(),e.createBlock(k.default,{key:3,class:"radius-medium mn-b-small i-extra"})),e.createElementVNode("h1",q,e.toDisplayString(t.organization.profile.name),1),e.createElementVNode("div",p,[e.createVNode(b.default,{class:"i-medium mn-r-micro t-transp"}),e.createElementVNode("p",C,e.toDisplayString(t.organization.numberOfSubscribers)+" followers",1),t.user._id&&e.unref(s).params._id&&e.unref(s).params._id!==t.user._id&&t.organization.owner!==t.user._id?(e.openBlock(),e.createBlock(c.default,{key:0,user:t.user._id,type:"organization",role:"subscriber",target:t.organization._id,status:t.organization.isSubscriber,text:{create:"+",remove:"-"},onUpdateMembership:i[2]||(i[2]=a=>l(a,"isSubscriber","numberOfSubscribers")),class:"mn-l-thin p-medium t-medium radius-extra i-semi"},null,8,["user","target","status"])):e.createCommentVNode("",!0)]),e.createElementVNode("p",S,[e.createVNode(m.default,{text:t.organization.profile.description||"",maxLen:240},null,8,["text"])]),((n=(r=t.organization.profile)==null?void 0:r.tags)==null?void 0:n.length)>0?(e.openBlock(),e.createBlock(g.default,{key:4,chips:t.organization.profile.tags,class:"p-medium"},null,8,["chips"])):e.createCommentVNode("",!0),Object.values(t.organization.socials).some(a=>a)?(e.openBlock(),e.createElementBlock("h4",v," Find us in socials ")):e.createCommentVNode("",!0),e.createVNode(z.default,{telegram:t.organization.socials.telegram,facebook:t.organization.socials.facebook,instagram:t.organization.socials.instagram,twitter:t.organization.socials.twitter,youtube:t.organization.socials.youtube},null,8,["telegram","facebook","instagram","twitter","youtube"])])]}),_:1}))}};exports.default=O;
|
package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js
CHANGED
@@ -12,7 +12,7 @@ import R from "../blocks/Socials.vue.js";
|
|
12
12
|
import S from "../../../reports/components/sections/FormReport.vue.js";
|
13
13
|
import { state as U } from "../../store/organizations.js";
|
14
14
|
import { mutations as v } from "../../store/memberships.js";
|
15
|
-
const C = { class: "flex-center flex flex-column t-center pd-medium radius-big bg-
|
15
|
+
const C = { class: "flex-center flex flex-column t-center pd-medium radius-big bg-light" }, M = { class: "bg-black pd-thin radius-small" }, V = /* @__PURE__ */ n("button", { class: "w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button" }, " Report ", -1), j = ["src"], D = { class: "mn-b-thin" }, L = { class: "flex-center pd-r-thin pd-l-thin flex-nowrap flex mn-t-thin bg-white radius-extra w-max" }, N = { class: "mn-t-thin p-medium t-medium uppercase mn-b-thin" }, F = { class: "w-max-50r mn-t-regular mn-b-medium p-big" }, P = {
|
16
16
|
key: 5,
|
17
17
|
class: "mn-t-small mn-b-thin"
|
18
18
|
}, tt = {
|
@@ -78,7 +78,7 @@ const C = { class: "flex-center flex flex-column t-center pd-medium radius-big b
|
|
78
78
|
t.organization.profile.photo ? (e(), b("img", {
|
79
79
|
key: 2,
|
80
80
|
src: (s.FILE_SERVER_URL || "") + t.organization.profile.photo,
|
81
|
-
class: "radius-big bg-
|
81
|
+
class: "radius-big bg-light flex-center flex mn-b-small w-8r"
|
82
82
|
}, null, 8, j)) : (e(), r(E, {
|
83
83
|
key: 3,
|
84
84
|
class: "radius-medium mn-b-small i-extra"
|
package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Loader/Loader.vue.cjs");const g=require("../../../../components/EmptyState/EmptyState.vue.cjs"),m=require("../blocks/CardOrganization.vue.cjs"),p=require("../../../icons/skeletons/SkeletonOrganization.vue.cjs"),c=require("../../store/organizations.cjs"),f={class:"pos-relative"},
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../../components/Loader/Loader.vue.cjs");const g=require("../../../../components/EmptyState/EmptyState.vue.cjs"),m=require("../blocks/CardOrganization.vue.cjs"),p=require("../../../icons/skeletons/SkeletonOrganization.vue.cjs"),c=require("../../store/organizations.cjs"),f={class:"pos-relative"},b={__name:"Feed",props:{category:{type:String,default:null},selectedDate:{type:String,default:null},organization:{type:String,default:null},owner:{type:String,default:null},user:{type:[String,Number],default:null},member:{type:[String,Number],default:null},subscriber:{type:[String,Number],default:null},sortOrder:{type:String,default:"desc"},participant:{type:String,default:null},period:{type:String,default:null},status:{type:String,default:null}},setup(s){const t=s,r=e.ref([]),n=e.ref(!1),l=e.ref(!0),i=e.ref(0),u=e.ref(20),d=async()=>{if(n.value){i.value+=u.value;const a=await c.actions.read({skip:i.value,limit:u.value,category:t.category,sortOrder:t.sortOrder,member:t.member,subscriber:t.subscriber,onlyuser:t.onlyuser,user:t.user,date:t.selectedDate,owner:t.owner,organization:t.organization,period:t.period,status:t.status});a.length===0?n.value=!1:n.value=!0,r.value=[...r.value,...a]}};return e.onMounted(async()=>{l.value=!0;const a=await c.actions.read({skip:i.value,limit:u.value,category:t.category,member:t.member,subscriber:t.subscriber,onlyuser:t.onlyuser,sortOrder:t.sortOrder,user:t.user,owner:t.owner,date:t.selectedDate,organization:t.organization,period:t.period,status:t.status});a.length===0?n.value=!1:n.value=!0,r.value=a,l.value=!1}),(a,y)=>(e.openBlock(),e.createElementBlock("section",f,[e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"o-hidden bg-light radius-big"},{default:e.withCtx(()=>[l.value?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(u.value,o=>(e.openBlock(),e.createBlock(p.default,{key:o}))),128)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[!l.value&&r.value.length<1?(e.openBlock(),e.createBlock(g.default,{key:0,title:"No Organizations Found",description:"Currently, there are no organizations available. Please check back later.",class:"pd-medium mn-b-thin bg-light radius-big"})):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"cols-1"},{default:e.withCtx(()=>[!l.value&&r.value.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(r.value,(o,v)=>(e.openBlock(),e.createBlock(m.default,{onClick:k=>a.$router.push({name:"Organization",params:{_id:o._id}}),key:o._id,organization:o,user:s.user,type:"normal",class:"w-100 radius-big mn-b-medium"},null,8,["onClick","organization","user"]))),128)):e.createCommentVNode("",!0),n.value&&r.value.length>0?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:d,class:"w-100 bg-main button"},"Load more")):e.createCommentVNode("",!0)]),_:1})]))}};exports.default=b;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ref as
|
1
|
+
import { ref as u, onMounted as _, openBlock as r, createElementBlock as o, createVNode as m, TransitionGroup as b, withCtx as g, Fragment as y, renderList as v, createBlock as p, createCommentVNode as d, Transition as z } from "vue";
|
2
2
|
import "../../../../components/Loader/Loader.vue.js";
|
3
3
|
import S from "../../../../components/EmptyState/EmptyState.vue.js";
|
4
4
|
import w from "../blocks/CardOrganization.vue.js";
|
@@ -53,10 +53,10 @@ const C = { class: "pos-relative" }, V = {
|
|
53
53
|
}
|
54
54
|
},
|
55
55
|
setup(f) {
|
56
|
-
const e = f, t =
|
56
|
+
const e = f, t = u([]), n = u(!1), l = u(!0), c = u(0), s = u(20), h = async () => {
|
57
57
|
if (n.value) {
|
58
58
|
c.value += s.value;
|
59
|
-
const
|
59
|
+
const a = await k.read({
|
60
60
|
skip: c.value,
|
61
61
|
limit: s.value,
|
62
62
|
category: e.category,
|
@@ -71,12 +71,12 @@ const C = { class: "pos-relative" }, V = {
|
|
71
71
|
period: e.period,
|
72
72
|
status: e.status
|
73
73
|
});
|
74
|
-
|
74
|
+
a.length === 0 ? n.value = !1 : n.value = !0, t.value = [...t.value, ...a];
|
75
75
|
}
|
76
76
|
};
|
77
|
-
return
|
77
|
+
return _(async () => {
|
78
78
|
l.value = !0;
|
79
|
-
const
|
79
|
+
const a = await k.read({
|
80
80
|
skip: c.value,
|
81
81
|
limit: s.value,
|
82
82
|
category: e.category,
|
@@ -91,46 +91,46 @@ const C = { class: "pos-relative" }, V = {
|
|
91
91
|
period: e.period,
|
92
92
|
status: e.status
|
93
93
|
});
|
94
|
-
|
95
|
-
}), (
|
96
|
-
m(
|
94
|
+
a.length === 0 ? n.value = !1 : n.value = !0, t.value = a, l.value = !1;
|
95
|
+
}), (a, N) => (r(), o("section", C, [
|
96
|
+
m(b, {
|
97
97
|
tag: "ul",
|
98
98
|
name: "fade",
|
99
|
-
class: "o-hidden bg-
|
99
|
+
class: "o-hidden bg-light radius-big"
|
100
100
|
}, {
|
101
101
|
default: g(() => [
|
102
|
-
l.value ? (
|
102
|
+
l.value ? (r(!0), o(y, { key: 0 }, v(s.value, (i) => (r(), p(O, { key: i }))), 128)) : d("", !0)
|
103
103
|
]),
|
104
104
|
_: 1
|
105
105
|
}),
|
106
106
|
m(z, { name: "fade" }, {
|
107
107
|
default: g(() => [
|
108
|
-
!l.value && t.value.length < 1 ? (
|
108
|
+
!l.value && t.value.length < 1 ? (r(), p(S, {
|
109
109
|
key: 0,
|
110
110
|
title: "No Organizations Found",
|
111
111
|
description: "Currently, there are no organizations available. Please check back later.",
|
112
|
-
class: "pd-medium mn-b-thin bg-
|
112
|
+
class: "pd-medium mn-b-thin bg-light radius-big"
|
113
113
|
})) : d("", !0)
|
114
114
|
]),
|
115
115
|
_: 1
|
116
116
|
}),
|
117
|
-
m(
|
117
|
+
m(b, {
|
118
118
|
tag: "ul",
|
119
119
|
name: "fade",
|
120
120
|
class: "cols-1"
|
121
121
|
}, {
|
122
122
|
default: g(() => [
|
123
|
-
!l.value && t.value.length > 0 ? (
|
124
|
-
onClick: ($) =>
|
125
|
-
key:
|
126
|
-
organization:
|
123
|
+
!l.value && t.value.length > 0 ? (r(!0), o(y, { key: 0 }, v(t.value, (i, L) => (r(), p(w, {
|
124
|
+
onClick: ($) => a.$router.push({ name: "Organization", params: { _id: i._id } }),
|
125
|
+
key: i._id,
|
126
|
+
organization: i,
|
127
127
|
user: f.user,
|
128
128
|
type: "normal",
|
129
129
|
class: "w-100 radius-big mn-b-medium"
|
130
130
|
}, null, 8, ["onClick", "organization", "user"]))), 128)) : d("", !0),
|
131
|
-
n.value && t.value.length > 0 ? (
|
131
|
+
n.value && t.value.length > 0 ? (r(), o("button", {
|
132
132
|
key: 1,
|
133
|
-
onClick:
|
133
|
+
onClick: h,
|
134
134
|
class: "w-100 bg-main button"
|
135
135
|
}, "Load more")) : d("", !0)
|
136
136
|
]),
|
package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("../../../../components/Field/Field.vue2.cjs");require("../../../../components/Select/Select.vue.cjs");const m=require("../../../../components/Button/Button.vue2.cjs"),p=require("../../../icons/navigation/IconDelete.vue.cjs"),f=require("../../../icons/navigation/IconAdd.vue.cjs");require("../../../middlewares/client/inputs.validation.cjs");require("../../store/invites.cjs");const b={class:"mn-b-thin t-transp p-medium"},g={class:"cols-1 mn-b-small radius-medium pd-semi bg-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("../../../../components/Field/Field.vue2.cjs");require("../../../../components/Select/Select.vue.cjs");const m=require("../../../../components/Button/Button.vue2.cjs"),p=require("../../../icons/navigation/IconDelete.vue.cjs"),f=require("../../../icons/navigation/IconAdd.vue.cjs");require("../../../middlewares/client/inputs.validation.cjs");require("../../store/invites.cjs");const b={class:"mn-b-thin t-transp p-medium"},g={class:"cols-1 mn-b-small radius-medium pd-semi bg-light"},v=["onClick"],h=e.createElementVNode("span",null,"Invite to organization",-1),k={__name:"MembersAdd",props:{organization:Object,text:String},emits:["send-invite"],setup(a,{emit:s}){const o=e.ref(null),r=s,t=e.ref([{contact:""}]);async function c(){r("send-invite",t.value)}return(_,i)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("p",b,e.toDisplayString(a.text),1),e.createElementVNode("section",g,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.value,(n,l)=>(e.openBlock(),e.createElementBlock("div",{key:l,class:"br-1px br-solid br-grey-transp-25 flex gap-thin radius-small mn-b-thin"},[e.createVNode(u.default,{field:n.contact,"onUpdate:field":d=>n.contact=d,placeholder:"Enter email or phone",class:"w-100 pd-small radius-small bg-white",validation:o.value},{default:e.withCtx(()=>[l<1?(e.openBlock(),e.createElementBlock("div",{key:0,onClick:i[0]||(i[0]=()=>t.value.push({contact:""})),class:"radius-small h-100 i-big flex-center flex aspect-1x1 bg-green"},[e.createVNode(f.default,{class:"i-medium",fill:"rgb(var(--white)"})])):(e.openBlock(),e.createElementBlock("div",{key:1,onClick:()=>t.value.splice(l,1),class:"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red"},[e.createVNode(p.default,{class:"i-medium",fill:"rgb(var(--white)"})],8,v))]),_:2},1032,["field","onUpdate:field","validation"])]))),128))]),e.createVNode(m.default,{submit:c,class:"w-100 bg-main"},{default:e.withCtx(()=>[h]),_:1})]))}};exports.default=k;
|
package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
import { ref as r, openBlock as
|
2
|
-
import
|
1
|
+
import { ref as r, openBlock as t, createElementBlock as e, createElementVNode as a, toDisplayString as _, Fragment as g, renderList as h, createVNode as s, withCtx as c } from "vue";
|
2
|
+
import v from "../../../../components/Field/Field.vue2.js";
|
3
3
|
import "../../../../components/Select/Select.vue.js";
|
4
4
|
import x from "../../../../components/Button/Button.vue2.js";
|
5
5
|
import k from "../../../icons/navigation/IconDelete.vue.js";
|
6
|
-
import
|
6
|
+
import w from "../../../icons/navigation/IconAdd.vue.js";
|
7
7
|
import "../../../middlewares/client/inputs.validation.js";
|
8
8
|
import "../../store/invites.js";
|
9
|
-
const
|
9
|
+
const y = { class: "mn-b-thin t-transp p-medium" }, C = { class: "cols-1 mn-b-small radius-medium pd-semi bg-light" }, E = ["onClick"], V = /* @__PURE__ */ a("span", null, "Invite to organization", -1), A = {
|
10
10
|
__name: "MembersAdd",
|
11
11
|
props: {
|
12
12
|
organization: Object,
|
@@ -18,14 +18,14 @@ const w = { class: "mn-b-thin t-transp p-medium" }, C = { class: "cols-1 mn-b-sm
|
|
18
18
|
async function f() {
|
19
19
|
u("send-invite", i.value);
|
20
20
|
}
|
21
|
-
return ($, n) => (
|
22
|
-
a("p",
|
21
|
+
return ($, n) => (t(), e("div", null, [
|
22
|
+
a("p", y, _(m.text), 1),
|
23
23
|
a("section", C, [
|
24
|
-
(
|
24
|
+
(t(!0), e(g, null, h(i.value, (o, l) => (t(), e("div", {
|
25
25
|
key: l,
|
26
|
-
class: "br-1px br-solid br-grey flex gap-thin radius-small mn-b-thin"
|
26
|
+
class: "br-1px br-solid br-grey-transp-25 flex gap-thin radius-small mn-b-thin"
|
27
27
|
}, [
|
28
|
-
s(
|
28
|
+
s(v, {
|
29
29
|
field: o.contact,
|
30
30
|
"onUpdate:field": (b) => o.contact = b,
|
31
31
|
placeholder: "Enter email or phone",
|
@@ -33,16 +33,16 @@ const w = { class: "mn-b-thin t-transp p-medium" }, C = { class: "cols-1 mn-b-sm
|
|
33
33
|
validation: p.value
|
34
34
|
}, {
|
35
35
|
default: c(() => [
|
36
|
-
l < 1 ? (
|
36
|
+
l < 1 ? (t(), e("div", {
|
37
37
|
key: 0,
|
38
38
|
onClick: n[0] || (n[0] = () => i.value.push({ contact: "" })),
|
39
39
|
class: "radius-small h-100 i-big flex-center flex aspect-1x1 bg-green"
|
40
40
|
}, [
|
41
|
-
s(
|
41
|
+
s(w, {
|
42
42
|
class: "i-medium",
|
43
43
|
fill: "rgb(var(--white)"
|
44
44
|
})
|
45
|
-
])) : (
|
45
|
+
])) : (t(), e("div", {
|
46
46
|
key: 1,
|
47
47
|
onClick: () => i.value.splice(l, 1),
|
48
48
|
class: "radius-small h-100 i-big flex-center flex aspect-1x1 bg-red"
|
package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.cjs
CHANGED
@@ -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("../blocks/CardOrganization.vue.cjs"),c=require("../../../../components/EmptyState/EmptyState.vue.cjs"),s=require("../../../auth/store/auth.cjs"),d=require("../../store/organizations.cjs"),m=require("../../store/memberships.cjs");require("./Publics.vue2.cjs");const p={class:"w-100 o-scroll"},f={key:1,class:"w-max gap-thin flex-nowrap flex"},_={__name:"Publics",setup(g){let t=e.ref(null);e.onMounted(async()=>{t.value=await d.actions.read({user:s.state.user._id,sortParam:"profile.tags",limit:10})});const i=({membership:n,status:o,target:r},a,u)=>{m.mutations.handleMembershipUpdate(organizations.state.current,n,o,r,a,u)};return(n,o)=>(e.openBlock(),e.createElementBlock("div",p,[!e.unref(t)||e.unref(t).length<1?(e.openBlock(),e.createBlock(c.default,{key:0,title:"Unfortunately, we couldn't find any recommendations for you",description:"Explore and find a community or organization that suits your interests.",class:"radius-big bg-light pd-medium"})):(e.openBlock(),e.createElementBlock("div",f,[e.unref(t)?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(e.unref(t),(r,a)=>(e.openBlock(),e.createBlock(l.default,{key:r._id,organization:r,user:s.state.user,onUpdateMembership:i,class:"w-max-20r radius-big"},null,8,["organization","user"]))),128)):e.createCommentVNode("",!0)]))]))}};exports.default=_;
|
package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
import { ref as d, onMounted as p, openBlock as t, createElementBlock as
|
2
|
-
import
|
1
|
+
import { ref as d, onMounted as p, openBlock as t, createElementBlock as i, unref as o, createBlock as m, Fragment as f, renderList as _, createCommentVNode as h } from "vue";
|
2
|
+
import g from "../blocks/CardOrganization.vue.js";
|
3
3
|
import y from "../../../../components/EmptyState/EmptyState.vue.js";
|
4
|
-
import { state as
|
4
|
+
import { state as l } from "../../../auth/store/auth.js";
|
5
5
|
import { actions as b } from "../../store/organizations.js";
|
6
6
|
import { mutations as x } from "../../store/memberships.js";
|
7
7
|
import "./Publics.vue2.js";
|
@@ -14,28 +14,28 @@ const k = { class: "w-100 o-scroll" }, w = {
|
|
14
14
|
let e = d(null);
|
15
15
|
p(async () => {
|
16
16
|
e.value = await b.read({
|
17
|
-
user:
|
17
|
+
user: l.user._id,
|
18
18
|
sortParam: "profile.tags",
|
19
19
|
limit: 10
|
20
20
|
});
|
21
21
|
});
|
22
|
-
const
|
23
|
-
x.handleMembershipUpdate(organizations.state.current,
|
22
|
+
const c = ({ membership: a, status: n, target: r }, s, u) => {
|
23
|
+
x.handleMembershipUpdate(organizations.state.current, a, n, r, s, u);
|
24
24
|
};
|
25
|
-
return (
|
25
|
+
return (a, n) => (t(), i("div", k, [
|
26
26
|
!o(e) || o(e).length < 1 ? (t(), m(y, {
|
27
27
|
key: 0,
|
28
28
|
title: "Unfortunately, we couldn't find any recommendations for you",
|
29
29
|
description: "Explore and find a community or organization that suits your interests.",
|
30
|
-
class: "radius-big bg-
|
31
|
-
})) : (t(),
|
32
|
-
o(e) ? (t(!0),
|
30
|
+
class: "radius-big bg-light pd-medium"
|
31
|
+
})) : (t(), i("div", w, [
|
32
|
+
o(e) ? (t(!0), i(f, { key: 0 }, _(o(e), (r, s) => (t(), m(g, {
|
33
33
|
key: r._id,
|
34
34
|
organization: r,
|
35
|
-
user:
|
36
|
-
onUpdateMembership:
|
35
|
+
user: l.user,
|
36
|
+
onUpdateMembership: c,
|
37
37
|
class: "w-max-20r radius-big"
|
38
|
-
}, null, 8, ["organization", "user"]))), 128)) :
|
38
|
+
}, null, 8, ["organization", "user"]))), 128)) : h("", !0)
|
39
39
|
]))
|
40
40
|
]));
|
41
41
|
}
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("../../../../node_modules/axios/lib/axios.cjs"),i=require("../../../../../node_modules/js-cookie/dist/js.cookie.cjs"),c=require("vue"),o=require("../../globals/store/globals.cjs"),s=l.default.create({baseURL:process.env.API_URL,withCredentials:!0}),a=c.reactive({all:[],current:{_id:null,profile:{tags:[],photo:"",name:"",description:""},structure:[],owner:null,types:"",contacts:{email:"",website:"",phone:"",address:""},socials:{telegram:"",line:"",facebook:"",instagram:"",youtube:""},rating:{popularity:0,median:0,amount:0}}}),u={async create(t,e){t.owner=e;try{const r=await s.post("/api/organizations/create",t);return a.current=r.data,r.data}catch(r){throw console.log(r),o.setError(r),r}},async read(t={}){console.log(t);try{const e=await s.get("/api/organizations",{params:t});return t._id&&Object.assign(a.current||{},e.data[0]),Promise.resolve(e.data)}catch(e){return o.setError(e),Promise.reject(e)}},async update(t,e){return console.log(t,e),await s.post(`/api/organizations/${t}/update`,e).then(r=>(console.log("Organization updated successfully"),Promise.resolve(r.data)),r=>(console.log("Updating organization failed"),Promise.reject(r)))},async remove(t){await s.delete(`/api/organizations/${t}/delete`).then(e=>{a.error=null;let r=i.default.get("user"),n=JSON.parse(r);return n.organization=null,i.default.set("user",JSON.stringify(n),{expires:7,domain:".osi.plus",sameSite:"none",secure:!0}),Promise.resolve(e.data)},e=>(o.setError(e),Promise.reject(e))).catch(e=>{o.setError(e)})},async reset(){a.current={_id:null,profile:{categories:[],photo:"",name:"",description:""},structure:[],owner:null,types:"",contacts:{email:"",website:"",phone:"",address:""},socials:{telegram:"",line:"",facebook:"",instagram:""},rating:{popularity:0,median:0,amount:0}}}};c.watch(a,(t,e)=>{});exports.actions=u;exports.state=a;
|