@ozdao/prometheus-framework 0.2.111 → 0.2.113
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/common.schema-BFhpUXUt.js +12 -0
- package/dist/common.schema-ChBVARrs.mjs +13 -0
- package/dist/community.server.js +6 -4
- package/dist/community.server.mjs +4 -2
- package/dist/engagement.schema-CI2ifjXN.mjs +28 -0
- package/dist/engagement.schema-fdLNO2_6.js +27 -0
- package/dist/events.server.js +6 -4
- package/dist/events.server.mjs +4 -2
- package/dist/files.server.js +81 -29
- package/dist/files.server.mjs +81 -29
- package/dist/gallery.server.js +66 -39
- package/dist/gallery.server.mjs +66 -39
- package/dist/main-8APITHuW.mjs +14201 -0
- package/dist/main-8N2Jmsuk.js +2 -2
- package/dist/main-BJvlNekm.mjs +5 -5
- package/dist/main-BQisDfLk.js +2 -2
- package/dist/main-BV1Yv9Hy.js +2 -2
- package/dist/main-Bw0PvTs-.mjs +5 -5
- package/dist/main-ByCtZbHD.mjs +5 -5
- package/dist/main-CX2ISR43.mjs +5 -5
- package/dist/main-CXObXjv-.js +2 -2
- package/dist/main-CkeuHuCY.mjs +5 -5
- package/dist/main-CnfcBov2.mjs +5 -5
- package/dist/main-D50VqYhy.js +2 -2
- package/dist/main-D8gNZLSa.js +2 -2
- package/dist/main-DPsHxX0l.mjs +5 -5
- package/dist/main-DTlUA63C.mjs +5 -5
- package/dist/main-DfD5hLQo.mjs +5 -5
- package/dist/main-Dh6Zfei9.js +2 -2
- package/dist/main-DmNP-t33.mjs +5 -5
- package/dist/main-DwyUYWFX.js +2 -2
- package/dist/main-VcxO-jAt.js +92 -0
- package/dist/main-cffh4bbv.js +2 -2
- package/dist/main-pGo7JpSP.js +2 -2
- package/dist/main.css +1 -1
- package/dist/metadata.schema-6slGhpQS.js +40 -0
- package/dist/metadata.schema-CK5e2O3f.mjs +41 -0
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +1 -1
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +410 -407
- package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.cjs +3 -3
- package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.js +469 -456
- package/dist/node_modules/web3/lib/esm/accounts.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/accounts.js +5 -2
- package/dist/node_modules/web3/lib/esm/index.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/index.js +45 -42
- package/dist/node_modules/web3/lib/esm/version.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/version.js +1 -1
- package/dist/node_modules/web3/lib/esm/web3.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/web3.js +40 -37
- package/dist/node_modules/web3-core/lib/esm/web3_config.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_config.js +28 -18
- package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_context.js +56 -53
- package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +100 -87
- package/dist/node_modules/web3-errors/lib/esm/error_codes.cjs +1 -1
- package/dist/node_modules/web3-errors/lib/esm/error_codes.js +97 -95
- package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.cjs +1 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.js +8 -8
- package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.cjs +1 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.js +20 -20
- package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.cjs +4 -4
- package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.js +2 -2
- package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.cjs +1 -1
- package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.js +33 -27
- package/dist/node_modules/web3-errors/lib/esm/web3_error_base.cjs +1 -1
- package/dist/node_modules/web3-errors/lib/esm/web3_error_base.js +33 -12
- package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +183 -179
- package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +10 -10
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.js +45 -44
- package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +59 -57
- package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.js +43 -43
- package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.js +31 -31
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +26 -26
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +53 -51
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.js +25 -23
- package/dist/node_modules/web3-eth/lib/esm/web3_eth.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +103 -101
- package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +2 -2
- package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +159 -156
- package/dist/node_modules/web3-eth-contract/lib/esm/encoding.cjs +1 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/encoding.js +11 -8
- package/dist/node_modules/web3-eth-contract/lib/esm/index.cjs +1 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/index.js +3 -0
- package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.cjs +1 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.js +5 -2
- package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +1 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +19 -16
- package/dist/node_modules/web3-eth-ens/lib/esm/registry.cjs +1 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/registry.js +5 -2
- package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.cjs +1 -1
- package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.js +50 -47
- package/dist/node_modules/web3-net/lib/esm/net.cjs +1 -1
- package/dist/node_modules/web3-net/lib/esm/net.js +27 -27
- package/dist/node_modules/web3-utils/lib/esm/converters.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/converters.js +100 -83
- package/dist/node_modules/web3-utils/lib/esm/formatter.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/formatter.js +123 -104
- package/dist/node_modules/web3-validator/lib/esm/utils.cjs +1 -1
- package/dist/node_modules/web3-validator/lib/esm/utils.js +21 -21
- package/dist/node_modules/web3-validator/lib/esm/validation/bytes.cjs +1 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/bytes.js +10 -10
- package/dist/node_modules/web3-validator/lib/esm/validation/numbers.cjs +1 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/numbers.js +30 -28
- package/dist/orders.server.js +1 -1
- package/dist/orders.server.mjs +1 -1
- package/dist/organizations.server.js +56 -59
- package/dist/organizations.server.mjs +56 -59
- package/dist/products.server.js +1 -1
- package/dist/products.server.mjs +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue2.js +17 -17
- package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Block/Block.vue.js +5 -5
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +33 -30
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +9 -9
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue.js +1 -0
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.js +165 -0
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +22 -19
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +132 -64
- package/dist/prometheus-framework/src/components/Feed/Feed.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/components/Feed/Feed.vue2.js +1 -0
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +9 -9
- package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.js +12 -12
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +16 -16
- package/dist/prometheus-framework/src/components/Map/Map.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Map/Map.vue.js +14 -13
- package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/Marquee/Marquee.vue.js +121 -0
- package/dist/prometheus-framework/src/components/Marquee/Marquee.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/components/Marquee/Marquee.vue2.js +1 -0
- package/dist/prometheus-framework/src/components/Radio/Radio.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Radio/Radio.vue.js +29 -36
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +1 -45
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +45 -1
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +17 -17
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +24 -24
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +24 -24
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +11 -11
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +26 -26
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +14 -14
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +45 -45
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +13 -13
- package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +19 -16
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +13 -13
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +213 -213
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +23 -23
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +167 -202
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +73 -165
- package/dist/prometheus-framework/src/modules/gallery/store/gallery.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/store/gallery.js +3 -47
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSorting.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSorting.vue.js +75 -0
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +96 -77
- package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue.js +1 -0
- package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonDate.vue2.js +27 -0
- package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonSort.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/globals/components/elements/ButtonSort.vue.js +31 -0
- package/dist/prometheus-framework/src/modules/globals/services/globals.store.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/services/globals.store.js +21 -19
- package/dist/prometheus-framework/src/modules/globals/store/globals.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/store/globals.js +10 -4
- package/dist/prometheus-framework/src/modules/icons/navigation/IconCalendar.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconCalendar.vue.js +31 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconFilter.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconFilter.vue.js +31 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconSort.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconSort.vue.js +59 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +80 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue2.js +1 -0
- package/dist/prometheus-framework/src/modules/landing/landing.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/landing/landing.client.js +8 -6
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.js +30 -30
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +21 -45
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +13 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +1 -13
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.js +36 -36
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +53 -53
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +33 -33
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +10 -10
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +24 -24
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/orders/store/applications.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/store/applications.js +37 -0
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js +11 -11
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +16 -16
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +41 -41
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +11 -11
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +17 -17
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +36 -36
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +20 -20
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +12 -12
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue.js +13 -13
- package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +33 -34
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +16 -16
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +15 -15
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +22 -22
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +14 -14
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +51 -56
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +32 -32
- package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/products.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/products.client.js +28 -30
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js +12 -12
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +30 -26
- package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +35 -35
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +11 -11
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +41 -41
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +13 -13
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js +102 -0
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue2.js +1 -0
- package/dist/prometheus-framework/src/modules/users/users.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/users.client.js +8 -6
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +14 -11
- package/dist/prometheus-framework.cjs.js +1 -1
- package/dist/prometheus-framework.es.js +1 -1
- package/dist/queryProcessor-BJoJAetd.mjs +162 -0
- package/dist/queryProcessor-DWf9tsis.js +161 -0
- package/dist/style.css +1 -1
- package/dist/wallet.server.js +1 -1
- package/dist/wallet.server.mjs +1 -1
- package/dist/web-TGdVOTnw.js +1 -0
- package/dist/web-_W9a_nWD.mjs +54 -0
- package/package.json +1 -1
- package/src/components/Address/Address.vue +1 -1
- package/src/components/AskToLogin/AskToLogin.vue +1 -1
- package/src/components/Block/Block.vue +1 -1
- package/src/components/Checkbox/Checkbox.vue +40 -43
- package/src/components/Chips/Chips.vue +2 -2
- package/src/components/DatePicker/Calendar.vue +29 -31
- package/src/components/Dropdown/Dropdown.vue +5 -11
- package/src/components/Feed/Feed.vue +98 -15
- package/src/components/FieldTags/BlockTags.vue +3 -3
- package/src/components/FieldTags/FieldTags.vue +1 -1
- package/src/components/FieldTags/vue-tags-input.scss +1 -1
- package/src/components/LocationMarker/LocationMarker.vue +1 -1
- package/src/components/LocationSelection/LocationSelection.vue +5 -30
- package/src/components/Map/LoaderGMaps.js +66 -0
- package/src/components/Map/Map.vue +2 -1
- package/src/components/Marquee/Marquee.vue +1 -1
- package/src/components/Radio/Radio.vue +36 -13
- package/src/configurator/components/pages/Styles.vue +1 -1
- package/src/modules/auth/components/layouts/Auth.vue +1 -1
- package/src/modules/auth/components/pages/EnterCode.vue +4 -4
- package/src/modules/auth/components/pages/EnterPassword.vue +2 -2
- package/src/modules/auth/components/pages/Invite.vue +2 -2
- package/src/modules/auth/components/pages/ResetPassword.vue +3 -3
- package/src/modules/auth/components/pages/SignIn.vue +4 -4
- package/src/modules/auth/components/pages/SignUp.vue +3 -3
- package/src/modules/backoffice/components/admin/Backcalls.vue +1 -1
- package/src/modules/backoffice/components/admin/FastOrders.vue +1 -1
- package/src/modules/backoffice/components/admin/Pages.vue +1 -1
- package/src/modules/backoffice/components/admin/ProductEdit.vue +1 -1
- package/src/modules/backoffice/components/admin/UserEdit.vue +1 -1
- package/src/modules/backoffice/components/admin/Users.vue +1 -1
- package/src/modules/backoffice/components/pages/Dashboard.vue +3 -3
- package/src/modules/community/components/blocks/CardBlogpost.vue +1 -1
- package/src/modules/community/components/layouts/Community.vue +2 -2
- package/src/modules/community/components/pages/BlogPost.vue +2 -2
- package/src/modules/community/components/pages/CreateBlogPost.vue +4 -4
- package/src/modules/community/components/sections/Comments.vue +2 -2
- package/src/modules/community/components/sections/Feed.vue +1 -1
- package/src/modules/community/components/sections/HotPosts.vue +1 -1
- package/src/modules/constructor/components/elements/Image.vue +1 -1
- package/src/modules/constructor/components/elements/Video.vue +2 -2
- package/src/modules/events/components/blocks/CardEvent.vue +1 -1
- package/src/modules/events/components/pages/EditEvent.vue +32 -32
- package/src/modules/events/components/pages/EditEventTickets.vue +1 -1
- package/src/modules/events/components/pages/Event.vue +3 -3
- package/src/modules/events/components/pages/Events.vue +4 -3
- package/src/modules/events/components/sections/Feed.vue +3 -3
- package/src/modules/events/components/sections/List.vue +2 -2
- package/src/modules/files/controllers/files.controller.js +8 -6
- package/src/modules/files/middlewares/server/middlewareBusboy.js +79 -14
- package/src/modules/files/routes/files.routes.js +11 -9
- package/src/modules/gallery/components/sections/BackofficeGallery.vue +158 -355
- package/src/modules/gallery/components/sections/GalleryWithCategories.vue +26 -244
- package/src/modules/gallery/controllers/gallery.controller.js +57 -38
- package/src/modules/gallery/models/photo.model.js +20 -11
- package/src/modules/gallery/routes/gallery.routes.js +3 -3
- package/src/modules/gallery/store/gallery.js +3 -78
- package/src/modules/globals/components/blocks/BlockSearch.vue +1 -1
- package/src/modules/globals/components/blocks/BlockSorting.vue +77 -0
- package/src/modules/globals/components/blocks/CardHeader.vue +27 -25
- package/src/modules/globals/components/elements/ButtonDate.vue +66 -0
- package/src/modules/globals/components/elements/ButtonSort.vue +41 -0
- package/src/modules/globals/components/layouts/Client.vue +273 -0
- package/src/{components/Footer → modules/globals/components/partials}/Footer.vue +1 -1
- package/src/{components/Header → modules/globals/components/partials}/Header.vue +98 -84
- package/src/modules/globals/controllers/utils/queryProcessor.js +3 -3
- package/src/modules/globals/models/common.schema.js +1 -1
- package/src/modules/globals/services/globals.store.js +11 -6
- package/src/modules/globals/store/globals.js +12 -10
- package/src/modules/icons/logos/Logotype.vue +23 -19
- package/src/modules/icons/navigation/IconCalendar.vue +18 -0
- package/src/modules/icons/navigation/IconFilter.vue +18 -0
- package/src/modules/icons/navigation/IconSearch.vue +1 -3
- package/src/modules/icons/navigation/IconSort.vue +21 -0
- package/src/modules/landing/components/pages/Home.vue +4 -4
- package/src/modules/landing/components/sections/FeatureSection.vue +5 -5
- package/src/modules/landing/components/sections/HowToBuyWDR.vue +2 -2
- package/src/modules/landing/components/sections/SectionFeature.vue +2 -2
- package/src/modules/landing/components/sections/SectionFeaturesImages.vue +2 -2
- package/src/modules/landing/components/sections/SectionsSection.vue +4 -4
- package/src/modules/{orders → landing}/components/sections/SubscribeNewsletter.vue +0 -2
- package/src/modules/landing/components/sections/WhatIsWDRSection.vue +6 -6
- package/src/modules/landing/landing.client.js +2 -0
- package/src/modules/landing/router/landing.js +1 -1
- package/src/modules/legal/components/pages/Legal.vue +2 -2
- package/src/modules/legal/components/pages/legal/Cookies.vue +1 -1
- package/src/modules/legal/components/pages/legal/EULA.vue +1 -1
- package/src/modules/legal/components/pages/legal/Privacy.vue +1 -1
- package/src/modules/legal/components/pages/legal/Terms.vue +1 -1
- package/src/modules/marketplace/components/layouts/Marketplace.vue +37 -49
- package/src/modules/marketplace/components/pages/Catalog.vue +43 -131
- package/src/modules/marketplace/components/sections/Filters.vue +63 -115
- package/src/modules/marketplace/store/marketplace.js +22 -167
- package/src/modules/mobile/components/Walkthrough/Walkthrough.vue +1 -1
- package/src/modules/orders/components/blocks/CardOrderItem.vue +6 -6
- package/src/modules/orders/components/blocks/CardOrderVar1.vue +1 -1
- package/src/modules/orders/components/blocks/StatusHistory.vue +1 -1
- package/src/modules/orders/components/pages/Order.vue +8 -8
- package/src/modules/orders/components/pages/OrderBackoffice.vue +7 -7
- package/src/modules/orders/components/pages/OrderCreate.vue +1 -1
- package/src/modules/orders/components/pages/OrderCreateBackoffice.vue +3 -3
- package/src/modules/orders/components/pages/Orders.vue +3 -5
- package/src/modules/orders/components/partials/ShopCart.vue +5 -1
- package/src/modules/orders/components/sections/FormAddCustomer.vue +2 -2
- package/src/modules/orders/components/sections/FormDelivery.vue +1 -1
- package/src/modules/orders/store/applications.js +1 -1
- package/src/modules/organizations/components/blocks/CardOrganization.vue +1 -1
- package/src/modules/organizations/components/blocks/Contacts.vue +4 -4
- package/src/modules/organizations/components/pages/Department.vue +3 -3
- package/src/modules/organizations/components/pages/DepartmentEdit.vue +6 -6
- package/src/modules/organizations/components/pages/Members.vue +4 -4
- package/src/modules/organizations/components/pages/Organization.vue +3 -3
- package/src/modules/organizations/components/pages/OrganizationCreate.vue +2 -2
- package/src/modules/organizations/components/pages/OrganizationDetails.vue +1 -1
- package/src/modules/organizations/components/pages/OrganizationDocuments.vue +1 -1
- package/src/modules/organizations/components/pages/OrganizationEdit.vue +9 -9
- package/src/modules/organizations/components/pages/OrganizationPeople.vue +1 -1
- package/src/modules/organizations/components/pages/Organizations.vue +1 -1
- package/src/modules/organizations/components/sections/DetailsTab.vue +4 -4
- package/src/modules/organizations/components/sections/Feed.vue +2 -2
- package/src/modules/organizations/components/sections/MembersAdd.vue +2 -2
- package/src/modules/organizations/components/sections/Publics.vue +1 -1
- package/src/modules/organizations/controllers/organizations.controller.js +103 -93
- package/src/modules/organizations/models/organization.model.js +10 -7
- package/src/modules/organizations/store/organizations.js +3 -34
- package/src/modules/products/components/blocks/CardPosition.vue +2 -2
- package/src/modules/products/components/blocks/LeftoverPositions.vue +2 -2
- package/src/modules/products/components/pages/Categories.vue +1 -1
- package/src/modules/products/components/pages/EditLeftover.vue +1 -1
- package/src/modules/products/components/pages/Leftovers.vue +4 -4
- package/src/modules/products/components/pages/Product.vue +1 -5
- package/src/modules/products/components/pages/ProductEdit.vue +1 -1
- package/src/modules/products/components/pages/Products.vue +2 -2
- package/src/modules/products/components/sections/EditProductInfo.vue +1 -1
- package/src/modules/products/components/sections/FilterProducts.vue +1 -1
- package/src/modules/products/components/sections/HeroRecommendation.vue +67 -74
- package/src/modules/products/components/sections/MenuSection.vue +2 -2
- package/src/modules/products/components/sections/PopularProducts.vue +2 -2
- package/src/modules/products/components/sections/SectionProduct.vue +3 -3
- package/src/modules/products/products.client.js +0 -2
- package/src/modules/reports/components/pages/BackofficeReports.vue +4 -4
- package/src/modules/spots/components/blocks/CardSpot.vue +9 -1
- package/src/modules/spots/components/blocks/SpotMemberModify.vue +2 -2
- package/src/modules/spots/components/layouts/Spots.vue +0 -2
- package/src/modules/spots/components/pages/Spot.vue +4 -4
- package/src/modules/spots/components/pages/SpotEdit.vue +1 -1
- package/src/modules/spots/components/sections/PlaceModify.vue +1 -1
- package/src/modules/spots/components/sections/Places.vue +1 -1
- package/src/modules/users/components/blocks/CardUser.vue +3 -3
- package/src/modules/users/components/pages/Profile.vue +5 -5
- package/src/modules/users/components/pages/ProfileBlogposts.vue +1 -1
- package/src/modules/users/components/pages/ProfileComments.vue +1 -1
- package/src/modules/users/components/pages/ProfileEdit.vue +11 -11
- package/src/modules/users/components/pages/ProfileEvents.vue +1 -1
- package/src/modules/users/components/pages/ProfileLikes.vue +1 -1
- package/src/modules/users/components/sections/FeaturedUsers.vue +76 -14
- package/src/modules/users/users.client.js +5 -0
- package/src/modules/wallet/views/components/pages/Payments.vue +2 -2
- package/src/modules/wallet/views/components/pages/Wallet.vue +3 -3
- package/src/styles/base/borders.scss +4 -0
- package/src/styles/base/shadow_transitions_hover_refactor.scss +4 -0
- package/src/styles/config.scss +15 -9
- package/src/styles/layout.scss +37 -8
- package/src/styles/typography.scss +24 -24
- package/src/modules/products/components/sections/SortProducts.vue +0 -74
- /package/src/{components/Navigation → modules/globals/components/partials}/Navigation.vue +0 -0
@@ -1,202 +1,110 @@
|
|
1
|
-
import { ref as
|
2
|
-
import { useRoute as
|
3
|
-
import
|
4
|
-
import
|
5
|
-
import
|
6
|
-
import
|
7
|
-
import
|
8
|
-
import "
|
9
|
-
|
10
|
-
const Z = { class: "pd-medium flex-v-center gap-big flex-nowrap flex pd-t-thin pd-b-thin o-scroll" }, ee = ["onClick"], le = ["data-id"], te = ["src", "onClick"], ae = { class: "modal pd-thin" }, se = { class: "modal-content radius-big" }, oe = { class: "" }, ie = ["src"], ne = {
|
11
|
-
key: 0,
|
12
|
-
class: "flex-v-center flex m modal pd-big"
|
13
|
-
}, re = { class: "modal-content radius-small pd-medium bg-white" }, ce = ["src"], de = ["src"], ue = !1, I = 10, me = {
|
1
|
+
import { ref as o, computed as S, onMounted as N, openBlock as a, createElementBlock as i, createElementVNode as l, Fragment as f, renderList as h, normalizeClass as V, unref as g, toDisplayString as $, createCommentVNode as _, createVNode as B, Transition as D, withCtx as j, withDirectives as F, vShow as L } from "vue";
|
2
|
+
import { useRoute as O } from "vue-router";
|
3
|
+
import "../../../../components/Field/Field.vue.js";
|
4
|
+
import "../../../../components/Loader/Loader.vue.js";
|
5
|
+
import "../../../../components/Button/Button.vue.js";
|
6
|
+
import "../../../../components/Select/Select.vue.js";
|
7
|
+
import "../../../../components/Upload/Upload.vue2.js";
|
8
|
+
import "../../store/gallery.js";
|
9
|
+
const P = { class: "pd-medium flex-v-center gap-big flex-nowrap flex pd-t-thin pd-b-thin o-scroll" }, R = ["onClick"], T = ["data-id"], W = ["src", "onClick"], q = { class: "modal pd-thin" }, A = { class: "modal-content radius-big" }, H = { class: "" }, J = ["src"], K = !1, y = 10, ne = {
|
14
10
|
__name: "GalleryWithCategories",
|
15
|
-
setup(
|
16
|
-
|
17
|
-
const
|
18
|
-
let
|
19
|
-
const
|
20
|
-
|
21
|
-
},
|
11
|
+
setup(Q) {
|
12
|
+
O();
|
13
|
+
const d = o(null), b = ["all", "place", "drinks", "people", "events"];
|
14
|
+
let r = 1, u = o(null), m = o(!1);
|
15
|
+
const k = S(() => n.value === "all" ? state.gallery : state.gallery.filter((t) => t.categories.includes(n.value))), w = async () => {
|
16
|
+
m.value = !0, await actions.fetchGallery(r, y), m.value = !1;
|
17
|
+
}, c = o(null), s = o({
|
22
18
|
categories: "",
|
23
19
|
size: "",
|
24
20
|
image: !1
|
25
|
-
}),
|
26
|
-
|
27
|
-
},
|
28
|
-
|
21
|
+
}), C = o(null), x = (t) => {
|
22
|
+
K.value ? E(t) : (c.value = "modal", s.value.image = t, v());
|
23
|
+
}, E = (t) => {
|
24
|
+
c.value = "edit-modal", s.value = t || {
|
29
25
|
categories: "",
|
30
26
|
size: "",
|
31
27
|
image: null
|
32
|
-
},
|
33
|
-
},
|
34
|
-
|
28
|
+
}, v();
|
29
|
+
}, I = () => {
|
30
|
+
s.value = {
|
35
31
|
categories: "",
|
36
32
|
size: "",
|
37
33
|
image: !1
|
38
|
-
},
|
39
|
-
},
|
34
|
+
}, C.value = null, M();
|
35
|
+
}, v = () => {
|
40
36
|
document.body.style.overflow = "hidden", document.documentElement.style.overflow = "hidden";
|
41
|
-
},
|
37
|
+
}, M = () => {
|
42
38
|
document.body.style.overflow = "", document.documentElement.style.overflow = "";
|
43
|
-
}, B = [
|
44
|
-
{ name: "Small", value: "" },
|
45
|
-
{ name: "Regular", value: "grid-item--width1 grid-item--height1" },
|
46
|
-
{ name: "Medium", value: "grid-item--width2 grid-item--height2" },
|
47
|
-
{ name: "Big", value: "grid-item--width3 grid-item--height3" }
|
48
|
-
], N = async () => {
|
49
|
-
await g.updatePhoto(e.value), u();
|
50
|
-
}, R = (t) => {
|
51
|
-
const a = t.files;
|
52
|
-
if (e.value.image = a, a && a.length > 0) {
|
53
|
-
const l = new FileReader();
|
54
|
-
l.onload = (h) => {
|
55
|
-
d.value = h.target.result;
|
56
|
-
}, l.readAsDataURL(a[0]);
|
57
|
-
}
|
58
|
-
}, V = async (t) => {
|
59
|
-
if (!e.value.image || !e.value.categories || !e.value.size) {
|
60
|
-
console.error("All fields are required.");
|
61
|
-
return;
|
62
|
-
}
|
63
|
-
await g.createPhoto({
|
64
|
-
...e.value,
|
65
|
-
size: e.value.size,
|
66
|
-
categories: typeof e.value.categories == "string" ? e.value.categories.split(",").map((a) => a.trim()) : e.value.categories
|
67
|
-
}), u();
|
68
39
|
};
|
69
|
-
let
|
70
|
-
const
|
71
|
-
|
40
|
+
let n = o("all");
|
41
|
+
const z = (t) => {
|
42
|
+
n.value = t;
|
72
43
|
};
|
73
|
-
return
|
74
|
-
await
|
75
|
-
|
76
|
-
}).observe(
|
77
|
-
}), (t,
|
78
|
-
|
79
|
-
(
|
80
|
-
key:
|
81
|
-
onClick: (
|
82
|
-
class:
|
83
|
-
"t-transp":
|
84
|
-
"pd-thin bg-main radius-small":
|
44
|
+
return N(async () => {
|
45
|
+
await actions.fetchGallery(r, y), typeof window < "u" && new IntersectionObserver((p) => {
|
46
|
+
p.some((e) => e.isIntersecting) && (r += 1, w());
|
47
|
+
}).observe(u.value);
|
48
|
+
}), (t, p) => (a(), i("div", null, [
|
49
|
+
l("div", P, [
|
50
|
+
(a(), i(f, null, h(b, (e) => l("a", {
|
51
|
+
key: e,
|
52
|
+
onClick: (G) => z(e),
|
53
|
+
class: V(["h3 uppercase", {
|
54
|
+
"t-transp": g(n) !== e,
|
55
|
+
"pd-thin bg-main radius-small": g(n) === e
|
85
56
|
}])
|
86
|
-
},
|
87
|
-
|
57
|
+
}, $(t.$t("gallery.categories." + e)), 11, R)), 64)),
|
58
|
+
_("", !0)
|
88
59
|
]),
|
89
|
-
|
60
|
+
l("div", {
|
90
61
|
ref_key: "grid",
|
91
|
-
ref:
|
62
|
+
ref: d,
|
92
63
|
class: "pd-medium cols-4 gap-thin"
|
93
64
|
}, [
|
94
|
-
(
|
95
|
-
key:
|
96
|
-
"data-id":
|
65
|
+
(a(!0), i(f, null, h(k.value, (e, G) => (a(), i("div", {
|
66
|
+
key: e.id,
|
67
|
+
"data-id": e.id
|
97
68
|
}, [
|
98
|
-
|
69
|
+
B(D, {
|
99
70
|
name: "scaleIn",
|
100
71
|
mode: "in-out"
|
101
72
|
}, {
|
102
|
-
default:
|
103
|
-
|
73
|
+
default: j(() => [
|
74
|
+
d.value ? (a(), i("img", {
|
104
75
|
key: 0,
|
105
|
-
src: "https://thecommunephuket.com/photos/" +
|
76
|
+
src: "https://thecommunephuket.com/photos/" + e.cover,
|
106
77
|
class: "w-100 h-100 o-hidden radius-big object-fit-cover",
|
107
|
-
onClick: (
|
108
|
-
}, null, 8,
|
78
|
+
onClick: (U) => x(e.image)
|
79
|
+
}, null, 8, W)) : _("", !0)
|
109
80
|
]),
|
110
81
|
_: 2
|
111
82
|
}, 1024)
|
112
|
-
], 8,
|
113
|
-
|
83
|
+
], 8, T))), 128)),
|
84
|
+
l("div", {
|
114
85
|
ref_key: "sentinel",
|
115
|
-
ref:
|
86
|
+
ref: u,
|
116
87
|
class: "sentinel"
|
117
88
|
}, null, 512),
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
src: "https://thecommunephuket.com/photos/" + e.value.image
|
129
|
-
}, null, 8, ie)
|
130
|
-
])
|
131
|
-
])
|
132
|
-
], 512), [
|
133
|
-
[T, e.value.image !== !1 && v.value === "modal"]
|
89
|
+
F(l("div", q, [
|
90
|
+
l("div", A, [
|
91
|
+
l("div", H, [
|
92
|
+
l("span", {
|
93
|
+
class: "close",
|
94
|
+
onClick: I
|
95
|
+
}, "×"),
|
96
|
+
l("img", {
|
97
|
+
src: "https://thecommunephuket.com/photos/" + s.value.image
|
98
|
+
}, null, 8, J)
|
134
99
|
])
|
135
|
-
])
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
default: p(() => [
|
140
|
-
e.value.image !== !1 && v.value === "edit-modal" ? (o(), i("div", ne, [
|
141
|
-
s("div", re, [
|
142
|
-
s("span", {
|
143
|
-
class: "close",
|
144
|
-
onClick: u
|
145
|
-
}, "×"),
|
146
|
-
typeof d.value == "string" ? (o(), i("img", {
|
147
|
-
key: 0,
|
148
|
-
src: d.value,
|
149
|
-
class: "radius-small w-100 mn-b-small h-20r object-fit-cover"
|
150
|
-
}, null, 8, ce)) : r("", !0),
|
151
|
-
typeof d.value == "object" && e.value.image !== null ? (o(), i("img", {
|
152
|
-
key: 1,
|
153
|
-
class: "radius-small w-100 mn-b-small h-20r object-fit-cover",
|
154
|
-
src: "/photos/" + e.value.cover
|
155
|
-
}, null, 8, de)) : r("", !0),
|
156
|
-
e.value._id ? r("", !0) : (o(), W(X, {
|
157
|
-
key: 2,
|
158
|
-
id: "photo",
|
159
|
-
name: "photo",
|
160
|
-
type: "file",
|
161
|
-
class: "t-black bg-grey pd-thin radius-small mn-b-thin",
|
162
|
-
onFileChange: R,
|
163
|
-
multiple: "true"
|
164
|
-
})),
|
165
|
-
c(Q, {
|
166
|
-
options: B,
|
167
|
-
label: "Size",
|
168
|
-
select: e.value.size,
|
169
|
-
"onUpdate:select": a[1] || (a[1] = (l) => e.value.size = l),
|
170
|
-
placeholder: "Select Size",
|
171
|
-
class: "bg-grey pd-thin radius-small mn-b-thin t-black"
|
172
|
-
}, null, 8, ["select"]),
|
173
|
-
c(J, {
|
174
|
-
field: e.value.categories,
|
175
|
-
"onUpdate:field": a[2] || (a[2] = (l) => e.value.categories = l),
|
176
|
-
type: "text",
|
177
|
-
label: "Categories",
|
178
|
-
placeholder: "Enter categories for image (comma separated)",
|
179
|
-
class: "bg-grey pd-thin radius-small mn-b-medium t-black"
|
180
|
-
}, null, 8, ["field"]),
|
181
|
-
c(K, {
|
182
|
-
submit: e.value._id ? N : V,
|
183
|
-
callback: u,
|
184
|
-
class: "mn-b-thin"
|
185
|
-
}, {
|
186
|
-
default: p(() => [
|
187
|
-
q(S(e.value._id ? "Update" : "Create"), 1)
|
188
|
-
]),
|
189
|
-
_: 1
|
190
|
-
}, 8, ["submit"])
|
191
|
-
])
|
192
|
-
])) : r("", !0)
|
193
|
-
]),
|
194
|
-
_: 1
|
195
|
-
})
|
100
|
+
])
|
101
|
+
], 512), [
|
102
|
+
[L, s.value.image !== !1 && c.value === "modal"]
|
103
|
+
])
|
196
104
|
], 512)
|
197
105
|
]));
|
198
106
|
}
|
199
|
-
}
|
107
|
+
};
|
200
108
|
export {
|
201
|
-
|
109
|
+
ne as default
|
202
110
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../globals/services/globals.store.cjs"),l=new e.default(`${process.env.API_URL}/api/gallery`);exports.default=l;
|
@@ -1,49 +1,5 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
const i = process.env.API_URL, l = c.create({ baseURL: i, withCredentials: !0 }), o = n({
|
4
|
-
gallery: []
|
5
|
-
}), d = {
|
6
|
-
async fetchGallery(r, e) {
|
7
|
-
const t = [];
|
8
|
-
r && t.push(`page=${r}`), e && t.push(`limit=${e}`);
|
9
|
-
const s = `/api/gallery${t.length ? `?${t.join("&")}` : ""}`;
|
10
|
-
try {
|
11
|
-
const a = await l.get(s);
|
12
|
-
if (console.log(a), a && a.data)
|
13
|
-
return o.gallery = [...o.gallery, ...a.data], a.data;
|
14
|
-
} catch (a) {
|
15
|
-
throw console.error("Error fetching gallery:", a), a;
|
16
|
-
}
|
17
|
-
},
|
18
|
-
async createPhoto(r) {
|
19
|
-
try {
|
20
|
-
const e = await l.post("/api/gallery/create", r);
|
21
|
-
console.log(e.data), o.gallery = [...e.data, ...o.gallery];
|
22
|
-
} catch (e) {
|
23
|
-
console.error(e);
|
24
|
-
}
|
25
|
-
},
|
26
|
-
async updatePhoto(r) {
|
27
|
-
try {
|
28
|
-
const e = {
|
29
|
-
...r,
|
30
|
-
categories: typeof r.categories == "string" ? r.categories.split(",").map((a) => a.trim()) : r.categories
|
31
|
-
}, t = await c.post("/api/gallery/update", e), s = o.gallery.findIndex((a) => a._id === r._id);
|
32
|
-
s !== -1 && (o.gallery[s] = t.data);
|
33
|
-
} catch (e) {
|
34
|
-
console.error(e);
|
35
|
-
}
|
36
|
-
},
|
37
|
-
async deletePhoto(r) {
|
38
|
-
try {
|
39
|
-
const e = await l.post(`/api/gallery/delete/${r}`), t = o.gallery.findIndex((s) => s._id === r);
|
40
|
-
t !== -1 && o.gallery.splice(t, 1);
|
41
|
-
} catch (e) {
|
42
|
-
console.error(e);
|
43
|
-
}
|
44
|
-
}
|
45
|
-
};
|
1
|
+
import e from "../../globals/services/globals.store.js";
|
2
|
+
const o = new e(`${process.env.API_URL}/api/gallery`);
|
46
3
|
export {
|
47
|
-
|
48
|
-
o as state
|
4
|
+
o as default
|
49
5
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("../../../icons/navigation/IconSearch.vue.cjs"),u=require("../../../../components/Field/Field.vue2.cjs"),d={class:"flex-v-center flex-nowrap flex pd-small bg-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),s=require("../../../icons/navigation/IconSearch.vue.cjs"),u=require("../../../../components/Field/Field.vue2.cjs"),d={class:"flex-v-center flex-nowrap flex pd-small bg-light w-100 radius-big"},i={__name:"BlockSearch",props:{placeholder:{type:String,default:"Enter shop or product name"},button:{type:String,default:"Search"}},emits:["search"],setup(l,{emit:a}){const c=a;e.ref(null);const o=t=>{c("search",t)};return(t,r)=>(e.openBlock(),e.createElementBlock("div",d,[e.createVNode(s.default,{class:"i-medium t-transp mn-r-thin"}),e.createVNode(u.default,{placeholder:l.placeholder,"onUpdate:field":r[0]||(r[0]=n=>o(n)),class:"w-100"},null,8,["placeholder"])]))}};exports.default=i;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { ref as s, openBlock as p, createElementBlock as i, createVNode as r } from "vue";
|
2
2
|
import d from "../../../icons/navigation/IconSearch.vue.js";
|
3
3
|
import m from "../../../../components/Field/Field.vue2.js";
|
4
|
-
const f = { class: "flex-v-center flex-nowrap flex pd-small bg-
|
4
|
+
const f = { class: "flex-v-center flex-nowrap flex pd-small bg-light w-100 radius-big" }, g = {
|
5
5
|
__name: "BlockSearch",
|
6
6
|
props: {
|
7
7
|
placeholder: {
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),n=require("../../../../components/Radio/Radio.vue.cjs"),s=require("../../../icons/navigation/IconSort.vue.cjs"),d={class:"w-100 o-hidden"},c={class:"mn-b-thin"},u={class:"w-100 flex-nowrap flex gap-micro"},p={__name:"BlockSorting",props:e.mergeModels({title:{type:String,default:"Sorting Options"},options:{type:Array,default:[{label:"Date",value:"createdAt"},{label:"Popularity",value:"popularity"},{label:"Creator",value:"creator"}]}},{param:{},paramModifiers:{},order:{},orderModifiers:{}}),emits:["update:param","update:order"],setup(r){const t=e.useModel(r,"param"),l=e.useModel(r,"order");return(b,a)=>(e.openBlock(),e.createElementBlock("div",d,[e.createElementVNode("h4",c,e.toDisplayString(r.title),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.options,o=>(e.openBlock(),e.createBlock(n.default,{radio:t.value,"onUpdate:radio":a[0]||(a[0]=i=>t.value=i),label:o.label,value:o.value,class:"w-100 mn-b-thin"},null,8,["radio","label","value"]))),256)),e.createElementVNode("div",u,[e.createElementVNode("button",{onClick:a[1]||(a[1]=e.withModifiers(()=>l.value="asc",["stop"])),class:e.normalizeClass([{"bg-white t-black":l.value==="asc"},"radius-semi flex-center w-100 uppercase p-small flex-nowrap flex gap-thin pd-thin br-solid br-1px br-grey-transp-25 w-100"])},[e.createVNode(s.default,{order:"asc",fill:l.value==="asc"?"rgb(var(--black))":"rgb(var(--white))",class:"i-small"},null,8,["fill"]),e.createTextVNode(" Ascending ")],2),e.createElementVNode("button",{onClick:a[2]||(a[2]=e.withModifiers(()=>l.value="desc",["stop"])),class:e.normalizeClass([{"bg-white t-black":l.value==="desc"},"radius-semi flex-center w-100 uppercase p-small flex-nowrap flex gap-thin pd-thin br-solid br-1px br-grey-transp-25 w-100"])},[e.createVNode(s.default,{order:"desc",fill:l.value==="desc"?"rgb(var(--black))":"rgb(var(--white))",class:"i-small"},null,8,["fill"]),e.createTextVNode(" Descending ")],2)])]))}};exports.default=p;
|
@@ -0,0 +1,75 @@
|
|
1
|
+
import { mergeModels as f, useModel as o, openBlock as t, createElementBlock as n, createElementVNode as r, toDisplayString as v, Fragment as g, renderList as w, createBlock as x, withModifiers as d, normalizeClass as c, createVNode as p, createTextVNode as u } from "vue";
|
2
|
+
import h from "../../../../components/Radio/Radio.vue.js";
|
3
|
+
import m from "../../../icons/navigation/IconSort.vue.js";
|
4
|
+
const k = { class: "w-100 o-hidden" }, y = { class: "mn-b-thin" }, M = { class: "w-100 flex-nowrap flex gap-micro" }, A = {
|
5
|
+
__name: "BlockSorting",
|
6
|
+
props: /* @__PURE__ */ f({
|
7
|
+
title: {
|
8
|
+
type: String,
|
9
|
+
default: "Sorting Options"
|
10
|
+
},
|
11
|
+
options: {
|
12
|
+
type: Array,
|
13
|
+
default: [{
|
14
|
+
label: "Date",
|
15
|
+
value: "createdAt"
|
16
|
+
}, {
|
17
|
+
label: "Popularity",
|
18
|
+
value: "popularity"
|
19
|
+
}, {
|
20
|
+
label: "Creator",
|
21
|
+
value: "creator"
|
22
|
+
}]
|
23
|
+
}
|
24
|
+
}, {
|
25
|
+
param: {},
|
26
|
+
paramModifiers: {},
|
27
|
+
order: {},
|
28
|
+
orderModifiers: {}
|
29
|
+
}),
|
30
|
+
emits: ["update:param", "update:order"],
|
31
|
+
setup(a) {
|
32
|
+
const s = o(a, "param"), e = o(a, "order");
|
33
|
+
return (B, l) => (t(), n("div", k, [
|
34
|
+
r("h4", y, v(a.title), 1),
|
35
|
+
(t(!0), n(g, null, w(a.options, (i) => (t(), x(h, {
|
36
|
+
radio: s.value,
|
37
|
+
"onUpdate:radio": l[0] || (l[0] = (b) => s.value = b),
|
38
|
+
label: i.label,
|
39
|
+
value: i.value,
|
40
|
+
class: "w-100 mn-b-thin"
|
41
|
+
}, null, 8, ["radio", "label", "value"]))), 256)),
|
42
|
+
r("div", M, [
|
43
|
+
r("button", {
|
44
|
+
onClick: l[1] || (l[1] = d(() => e.value = "asc", ["stop"])),
|
45
|
+
class: c([{
|
46
|
+
"bg-white t-black": e.value === "asc"
|
47
|
+
}, "radius-semi flex-center w-100 uppercase p-small flex-nowrap flex gap-thin pd-thin br-solid br-1px br-grey-transp-25 w-100"])
|
48
|
+
}, [
|
49
|
+
p(m, {
|
50
|
+
order: "asc",
|
51
|
+
fill: e.value === "asc" ? "rgb(var(--black))" : "rgb(var(--white))",
|
52
|
+
class: "i-small"
|
53
|
+
}, null, 8, ["fill"]),
|
54
|
+
u(" Ascending ")
|
55
|
+
], 2),
|
56
|
+
r("button", {
|
57
|
+
onClick: l[2] || (l[2] = d(() => e.value = "desc", ["stop"])),
|
58
|
+
class: c([{
|
59
|
+
"bg-white t-black": e.value === "desc"
|
60
|
+
}, "radius-semi flex-center w-100 uppercase p-small flex-nowrap flex gap-thin pd-thin br-solid br-1px br-grey-transp-25 w-100"])
|
61
|
+
}, [
|
62
|
+
p(m, {
|
63
|
+
order: "desc",
|
64
|
+
fill: e.value === "desc" ? "rgb(var(--black))" : "rgb(var(--white))",
|
65
|
+
class: "i-small"
|
66
|
+
}, null, 8, ["fill"]),
|
67
|
+
u(" Descending ")
|
68
|
+
], 2)
|
69
|
+
])
|
70
|
+
]));
|
71
|
+
}
|
72
|
+
};
|
73
|
+
export {
|
74
|
+
A as default
|
75
|
+
};
|
@@ -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"),V=require("vue-router"),C=require("../../../icons/placeholders/PlaceholderUserpic.vue.cjs"),x=require("../../../reports/components/sections/FormReport.vue.cjs"),N=require("../../../../components/Tooltip/Tooltip.vue2.cjs"),v=require("../../../../components/Dropdown/Dropdown.vue.cjs");require("../../../../components/Loader/Loader.vue.cjs");require("../../../../components/Button/Button.vue.cjs");require("../../../auth/store/auth.cjs");require("../../../organizations/store/memberships.cjs");const $=require("../../../icons/navigation/IconEllipsis.vue.cjs"),S={key:0,class:"pd-b-zero"},z={class:"w-100 flex-v-center flex-nojustify flex"},D={class:"w-100 flex-nowrap flex-v-center flex"},M=["src"],q={key:2,class:"t-semi"},R={key:1,class:"pos-relative"},F={key:2},P={class:"d-block mn-l-auto flex-nowrap flex flex-v-center"},T={key:0,class:"w-4r pos-relative i-thin"},U={style:{position:"absolute",top:"0px",right:"0px"},class:"br-solid br-2px br-white z-index-1 radius-big i-thin bg-second flex flex-center t-white p-small t-semi"},L=["src"],I={class:"bg-black pd-thin radius-small"},O=e.createElementVNode("button",{class:"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button"}," Report ",-1),j=["onClick"],A={__name:"CardHeader",props:["user","entity","entityType","date","dateFormatted","owner","creator","members","membersPhotos","type","actions"],setup(t){V.useRouter();function E(n){const r=new Date,d=new Date(n),u=Math.abs(r-d),m=Math.floor(u/1e3),a=Math.floor(m/60),s=Math.floor(a/60),i=Math.floor(s/24),c=Math.floor(i/7);return c>0?`${c} week${c>1?"s":""} ago`:i>0?`${i} day${i>1?"s":""} ago`:s>0?`${s} hour${s>1?"s":""} ago`:a>0?`${a} minute${a>1?"s":""} ago`:"Just now"}return(n,r)=>{var u,m,a,s,i,c,k,h,b,g,f,y,w,B,p;const d=e.resolveComponent("router-link");return t.owner?(e.openBlock(),e.createElementBlock("header",S,[e.createElementVNode("div",z,[e.createElementVNode("div",D,[((a=(m=(u=t.owner.target)==null?void 0:u.profile)==null?void 0:m.photo)==null?void 0:a.length)>0&&t.type!=="short"?(e.openBlock(),e.createElementBlock("img",{key:0,src:(n.FILE_SERVER_URL||"")+t.owner.target.profile.photo,class:"radius-medium object-fit-cover mn-r-thin i-thin",onClick:r[0]||(r[0]=e.withModifiers(o=>n.$router.push({name:t.owner.type==="user"?"User Profile":"Organization",params:{_id:t.owner.target._id}}),["stop"]))},null,8,M)):e.createCommentVNode("",!0),!((i=(s=t.owner.target)==null?void 0:s.profile)!=null&&i.photo)&&t.type!=="short"?(e.openBlock(),e.createBlock(C.default,{key:1,class:"radius-medium mn-r-thin i-thin",onClick:r[1]||(r[1]=e.withModifiers(o=>n.$router.push({name:t.owner.type==="user"?"User Profile":"Organization",params:{_id:t.owner.target._id}}),["stop"]))})):e.createCommentVNode("",!0),t.type!=="short"?(e.openBlock(),e.createElementBlock("span",q,[e.createElementVNode("span",{onClick:r[2]||(r[2]=e.withModifiers(o=>n.$router.push({name:t.owner.type==="user"?"User Profile":"Organization",params:{_id:t.owner.target._id}}),["stop"]))},e.toDisplayString(((k=(c=t.owner.target)==null?void 0:c.profile)==null?void 0:k.name)||((h=t.creator.target)==null?void 0:h.username)||"Anonymous"),1),!t.creator.hidden&&((g=(b=t.owner.target)==null?void 0:b.profile)==null?void 0:g.name)!==((y=(f=t.creator.target)==null?void 0:f.profile)==null?void 0:y.name)?(e.openBlock(),e.createElementBlock("span",{key:0,onClick:r[3]||(r[3]=e.withModifiers(o=>{var l;return n.$router.push({name:"User Profile",params:{_id:(l=t.creator.target)==null?void 0:l._id}})},["stop"]))}," · by "+e.toDisplayString(((B=(w=t.creator.target)==null?void 0:w.profile)==null?void 0:B.name)||((p=t.creator.target)==null?void 0:p.username)||"Anonymous"),1)):e.createCommentVNode("",!0),t.date?(e.openBlock(),e.createElementBlock("span",R,[t.date?(e.openBlock(),e.createBlock(N.default,{key:0,text:n.formatDate(t.date)},{default:e.withCtx(()=>[e.createTextVNode(" · "+e.toDisplayString(E(t.date)),1)]),_:1},8,["text"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.dateFormatted?(e.openBlock(),e.createElementBlock("span",F," · "+e.toDisplayString(t.dateFormatted),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",P,[t.members?(e.openBlock(),e.createElementBlock("div",T,[e.createElementVNode("span",U,e.toDisplayString(t.members),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.membersPhotos.slice(0,2),(o,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[o?(e.openBlock(),e.createElementBlock("img",{key:l,src:(n.FILE_SERVER_URL||"")+o,style:e.normalizeStyle({position:"absolute",top:"0px",right:l*20+20+"%",zIndex:1-l}),class:"br-solid br-2px br-white i-thin bg-light radius-big"},null,12,L)):(e.openBlock(),e.createBlock(C.default,{key:1,style:e.normalizeStyle({position:"absolute",top:"0px",right:l*20+20+"%",zIndex:1-l}),class:"br-solid br-2px br-white i-thin bg-light radius-big"},null,8,["style"]))],64))),256))])):e.createCommentVNode("",!0)]),t.type!=="short"&&t.user?(e.openBlock(),e.createBlock(v.default,{key:3,label:{component:$.default,class:"t-transp i-regular"},align:"right",class:"cursor-pointer z-index-2"},{default:e.withCtx(()=>[e.createElementVNode("section",I,[t.user!==t.creator.target._id?(e.openBlock(),e.createBlock(x.default,{key:0,user:t.user,type:t.entityType,target:t.entity._id,text:"Report",class:"w-100"},{default:e.withCtx(()=>[O]),_:1},8,["user","type","target"])):e.createCommentVNode("",!0),t.actions&&t.actions.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(t.actions,o=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[o.to?(e.openBlock(),e.createBlock(d,{key:o.to,to:o.to,class:e.normalizeClass(o.class||"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button")},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.label),1)]),_:2},1032,["to","class"])):e.createCommentVNode("",!0),o.method?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:o.method,class:e.normalizeClass(o.class||"w-100 bg-black br-solid br-1px br-white-transp-20 t-white button-small button")},e.toDisplayString(o.label),11,j)):e.createCommentVNode("",!0)],64))),256)):e.createCommentVNode("",!0)])]),_:1},8,["label"])):e.createCommentVNode("",!0)])])])):e.createCommentVNode("",!0)}}};exports.default=A;
|