@ozdao/prometheus-framework 0.2.44 → 0.2.47
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/main-AMWMdo3t.js +91 -0
- package/dist/main-R6dlNKp-.mjs +13606 -0
- package/dist/main.css +1 -1
- package/dist/node_modules/@noble/hashes/esm/_assert.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/_assert.js +6 -6
- package/dist/node_modules/@noble/hashes/esm/_u64.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/_u64.js +8 -8
- package/dist/node_modules/@noble/hashes/esm/sha512.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/sha512.js +2 -2
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.js +1 -1
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.cjs +1 -1
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.js +2 -2
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/utils.cjs +1 -1
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/utils.js +3 -3
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.cjs +1 -1
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.js +6 -6
- package/dist/node_modules/ethereum-cryptography/esm/utils.cjs +1 -1
- package/dist/node_modules/ethereum-cryptography/esm/utils.js +3 -4
- package/dist/node_modules/vue3-carousel/dist/carousel.css.cjs +1 -1
- package/dist/node_modules/vue3-carousel/dist/carousel.css.js +1 -4
- package/dist/node_modules/web3/lib/esm/accounts.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/accounts.js +36 -36
- package/dist/node_modules/web3-core/lib/esm/web3_batch_request.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_batch_request.js +27 -27
- package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_context.js +24 -24
- package/dist/node_modules/web3-core/lib/esm/web3_promi_event.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_promi_event.js +33 -33
- 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 +10 -10
- package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.js +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.js +13 -13
- 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 +110 -110
- 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 +26 -26
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.js +14 -14
- 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 +36 -36
- package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.js +20 -20
- package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.js +23 -23
- 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 +17 -17
- 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 +11 -11
- package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.js +24 -24
- 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 +25 -25
- 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 +19 -19
- 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 +39 -39
- package/dist/node_modules/web3-eth/lib/esm/web3_eth.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +7 -7
- package/dist/node_modules/web3-eth-accounts/lib/esm/account.cjs +2 -2
- package/dist/node_modules/web3-eth-accounts/lib/esm/account.js +28 -28
- package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.cjs +1 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.js +3 -3
- package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +1 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +8 -8
- package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +1 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +15 -15
- package/dist/node_modules/web3-eth-ens/lib/esm/registry.cjs +1 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/registry.js +16 -16
- package/dist/node_modules/web3-eth-ens/lib/esm/resolver.cjs +1 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/resolver.js +26 -26
- package/dist/node_modules/web3-eth-iban/lib/esm/iban.cjs +1 -1
- package/dist/node_modules/web3-eth-iban/lib/esm/iban.js +2 -2
- package/dist/node_modules/web3-eth-personal/lib/esm/personal.cjs +1 -1
- package/dist/node_modules/web3-eth-personal/lib/esm/personal.js +19 -19
- 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 +35 -35
- package/dist/node_modules/web3-net/lib/esm/net.cjs +1 -1
- package/dist/node_modules/web3-net/lib/esm/net.js +25 -25
- package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.cjs +1 -1
- package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.js +25 -25
- package/dist/node_modules/web3-providers-http/lib/esm/index.cjs +1 -1
- package/dist/node_modules/web3-providers-http/lib/esm/index.js +33 -33
- package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.cjs +1 -1
- package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.js +5 -5
- package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.cjs +1 -1
- package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.js +19 -19
- package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.cjs +1 -1
- package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.js +27 -27
- package/dist/node_modules/web3-types/lib/esm/web3_base_provider.cjs +1 -1
- package/dist/node_modules/web3-types/lib/esm/web3_base_provider.js +25 -25
- package/dist/node_modules/web3-utils/lib/esm/event_emitter.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/event_emitter.js +15 -15
- package/dist/node_modules/web3-utils/lib/esm/promise_helpers.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/promise_helpers.js +19 -19
- package/dist/node_modules/web3-utils/lib/esm/socket_provider.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/socket_provider.js +17 -17
- package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.js +5 -5
- package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.js +5 -5
- package/dist/products.server.js +875 -0
- package/dist/products.server.mjs +875 -0
- package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue.js +1 -4
- package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.js +1 -4
- package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.js +1 -4
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +61 -2
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.js +1 -63
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +20 -20
- package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue.js +1 -4
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +18 -18
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.js +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.js +1 -4
- package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.js +1 -4
- package/dist/prometheus-framework/src/components/Loader/Loader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue.js +1 -4
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +1 -4
- package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/Map/Map.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Map/Map.vue.js +1 -4
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +70 -2
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +1 -72
- package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.js +95 -2
- package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.js +1 -97
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +1 -4
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +1 -4
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +1 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +1 -4
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +1 -1
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/auth.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/store/invites.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/invites.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/twofa.js +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue2.js +1 -4
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.js +1 -4
- 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 +3 -3
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/store/blogposts.js +1 -1
- package/dist/prometheus-framework/src/modules/community/store/reactions.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/store/reactions.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +5 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +65 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -5
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +0 -66
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +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 +5 -5
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.js +1 -4
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/store/events.js +1 -1
- package/dist/prometheus-framework/src/modules/events/store/tickets.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/store/tickets.js +1 -1
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/gallery/store/gallery.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/store/gallery.js +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +1 -1
- 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 +1 -4
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +1 -4
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/orders.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.js +1 -4
- 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 +1 -1
- 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/blocks/DepartmentMemberModify.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.js +1 -4
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.js +1 -4
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.js +1 -4
- package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/departments.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/invites.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/memberships.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +1 -1
- package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.js +1 -4
- 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 +14 -14
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +14 -14
- package/dist/prometheus-framework/src/modules/products/components/blocks/CategoryCard.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/blocks/CategoryCard.vue.js +43 -0
- package/dist/prometheus-framework/src/modules/products/components/blocks/CategoryCard.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/blocks/CategoryCard.vue2.js +1 -0
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.js +1 -4
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +39 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.js +1 -0
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.js +1 -4
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.js +1 -4
- 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 +20 -21
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.js +1 -4
- 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 +90 -80
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +87 -0
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.js +1 -0
- 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 +7 -6
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +138 -0
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +114 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.js +1 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.js +1 -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 +51 -62
- package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.js +53 -0
- package/dist/prometheus-framework/src/modules/products/products.client.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/products.client.js +56 -0
- package/dist/prometheus-framework/src/modules/products/store/categories.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/store/categories.js +1 -1
- package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/store/leftovers.js +1 -1
- package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/store/products.js +3 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/reports/store/reports.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/store/reports.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/store/spots.js +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue2.js +1 -4
- package/dist/prometheus-framework/src/modules/users/store/users.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/store/users.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/wallet/store/wallet.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/store/wallet.js +2 -2
- package/dist/prometheus-framework.cjs.js +1 -1
- package/dist/prometheus-framework.es.js +1 -1
- package/dist/style.css +1 -1
- package/dist/web-HvAJWryM.js +1 -0
- package/dist/web-XMv5d7hK.mjs +55 -0
- package/package.json +1 -1
- package/src/components/Feed/Feed.vue +9 -7
- package/src/modules/products/components/blocks/CardPosition.vue +1 -1
- package/src/modules/products/components/blocks/CardProduct.vue +2 -3
- package/src/modules/products/components/pages/Product.vue +1 -1
- package/src/modules/products/components/pages/ProductEdit.vue +15 -0
- package/src/modules/products/components/pages/ProductRecommmendation.vue +2 -2
- package/src/modules/products/components/pages/Products.vue +1 -0
- package/src/modules/products/components/sections/SectionProduct.vue +10 -10
- package/src/modules/products/products.client.js +76 -20
- package/src/modules/products/products.server.js +8 -4
- package/src/modules/products/router/products.router.js +4 -2
- package/src/styles/base/all.scss +4 -1
package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const d=require("vue");require("../../../../components/Button/Button.vue.cjs");const r=require("../../../../components/Field/Field.vue2.cjs"),u=require("../../../../components/Select/Select.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const d=require("vue");require("../../../../components/Button/Button.vue.cjs");const r=require("../../../../components/Field/Field.vue2.cjs"),u=require("../../../../components/Select/Select.vue.cjs"),i={__name:"EditProductInfo",props:{product:Object},setup(e){return(a,l)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createVNode(u.default,{select:e.product.status,"onUpdate:select":l[0]||(l[0]=t=>e.product.status=t),label:"Status",options:["unpublished","published","archivied"],placeholder:"Display product",class:"pos-relative w-100 mn-b-small bg-white radius-small pd-medium"},null,8,["select"]),d.createVNode(r.default,{field:e.product.name,"onUpdate:field":l[1]||(l[1]=t=>e.product.name=t),label:"Name",placeholder:"Введите название",class:"w-100 mn-b-small bg-white radius-small pd-medium"},null,8,["field"]),d.createVNode(r.default,{field:e.product.price,"onUpdate:field":l[3]||(l[3]=t=>e.product.price=t),label:"Price",placeholder:"Введите цену",class:"w-100 mn-b-small bg-white radius-small pd-medium",type:"number"},{default:d.withCtx(()=>[d.createVNode(u.default,{select:e.product.price.currency,"onUpdate:select":l[2]||(l[2]=t=>e.product.price.currency=t),placeholder:"฿",options:["฿"],class:"pos-relative bg-grey pd-thin radius-thin"},null,8,["select"])]),_:1},8,["field"]),d.createVNode(r.default,{field:e.product.description,"onUpdate:field":l[4]||(l[4]=t=>e.product.description=t),label:"Description",placeholder:"Введите описание",class:"w-100 bg-white radius-small pd-medium",type:"textarea"},null,8,["field"])],64))}};exports.default=i;
|
package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { openBlock as a, createElementBlock as u, Fragment as s, createVNode as d, withCtx as o } from "vue";
|
2
2
|
import "../../../../components/Button/Button.vue.js";
|
3
3
|
import i from "../../../../components/Field/Field.vue2.js";
|
4
|
-
import r from "../../../../components/Select/Select.
|
4
|
+
import r from "../../../../components/Select/Select.vue.js";
|
5
5
|
const f = {
|
6
6
|
__name: "EditProductInfo",
|
7
7
|
props: {
|
package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),b=require("../../../../components/Spoiler/Spoiler.vue2.cjs"),f=require("../../../../components/Checkbox/Checkbox.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),b=require("../../../../components/Spoiler/Spoiler.vue2.cjs"),f=require("../../../../components/Checkbox/Checkbox.vue.cjs"),x=require("vue-i18n"),g=require("vue-router"),u=require("../../store/categories.cjs"),a=require("../../../marketplace/store/marketplace.cjs");require("./FilterProducts.vue2.cjs");const w={class:"pd-medium bg-grey radius-big"},q={class:"cursor-pointer mn-r-auto t-medium p-big"},E=e.createElementVNode("hr",{class:"mn-b-small"},null,-1),F={class:"cursor-pointer mn-r-auto t-medium p-big"},B=e.createElementVNode("hr",{class:"mn-b-small"},null,-1),C={__name:"FilterProducts",props:{selectedFilters:Object,prices:{type:Array,default:()=>[{label:"Under 300฿",value:"<300"},{label:"300฿ to 600฿",value:"300-600"},{label:"600฿ to 1200฿",value:"600-1200"},{label:"$1200 and above",value:">1200"}]},deliveryOptions:{type:Array,default:()=>[{label:"Pickup",value:{min:0,max:25}},{label:"Courier",value:{min:25,max:50}},{label:"Post",value:{min:50,max:100}}]}},emits:["updateFilters","resetFilters"],async setup(y,{emit:h}){let d,m;const n=g.useRoute(),v=g.useRouter();[d,m]=e.withAsyncContext(()=>u.actions.fetchCategories()),await d,m(),e.ref({categories:[],prices:[],delivery:[],extra:[]}),e.watch(()=>a.state.filter,(t,r)=>{const l={...n.query};Object.keys(r).forEach(s=>{l[s]&&delete l[s]});const i=Object.fromEntries(Object.entries(t).filter(([s,o])=>Array.isArray(o)&&o.length>0).map(([s,o])=>[s,o.join(",")]));Object.assign(l,i),v.push({query:l})},{deep:!0}),e.onMounted(async()=>{if(n.query){const t=n.query,r={categories:t.categories?t.categories.split(","):[],prices:t.prices?t.prices.split(","):[],delivery:t.delivery?t.delivery.split(","):[]};a.state.filter=r}});const _=h,k=()=>{_("resetFilters")},p={locale:"en",messages:{en:{categoriesTitle:"Category",categories:[],filters:{title:"Filters",price:{title:"Price",from:"From",to:"To"},filters:[],reset:"Reset Filters"}},ru:{categoriesTitle:"Категория",categories:[],filters:{title:"Фильтры",price:{title:"Цена",from:"От",to:"До"},filters:[],reset:"Сбросить фильтры"}}}};u.state.all.forEach(t=>{t.localization.forEach(r=>{p.messages[r.locale].categories.push(r.text)})});const{t:c}=x.useI18n(p);return(t,r)=>(e.openBlock(),e.createElementBlock("div",w,[e.createVNode(b.default,{class:"radius-small o-hidden br-1px br-solid br-grey mn-b-small",status:!0},{header:e.withCtx(()=>[e.createElementVNode("p",q,e.toDisplayString(e.unref(c)("categoriesTitle")),1)]),content:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.state.all,(l,i)=>(e.openBlock(),e.createBlock(f.default,{key:i,label:l.name,value:l.url,class:"w-100 mn-t-small mn-b-small bg-white radius-small pd-small",radio:a.state.filter.categories,"onUpdate:radio":r[0]||(r[0]=s=>a.state.filter.categories=s)},null,8,["label","value","radio"]))),128))]),_:1}),E,e.createVNode(b.default,{class:"radius-small o-hidden br-1px br-solid br-grey mn-b-small",status:!1},{header:e.withCtx(()=>[e.createElementVNode("p",F,e.toDisplayString(e.unref(c)("filters.price.title")),1)]),content:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.prices,(l,i)=>(e.openBlock(),e.createBlock(f.default,{key:i,label:l.label,value:l.value,class:"w-100 mn-t-small bg-white radius-small pd-small",radio:a.state.filter.prices,"onUpdate:radio":r[1]||(r[1]=s=>a.state.filter.prices=s)},null,8,["label","value","radio"]))),128))]),_:1}),B,e.createElementVNode("button",{onClick:k,class:"bg-main w-100 button"},e.toDisplayString(e.unref(c)("filters.reset")),1)]))}};exports.default=C;
|
package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { withAsyncContext as A, ref as P, watch as T, onMounted as V, openBlock as a, createElementBlock as d, createVNode as h, withCtx as c, createElementVNode as o, toDisplayString as p, unref as b, Fragment as _, renderList as v, createBlock as x } from "vue";
|
2
2
|
import w from "../../../../components/Spoiler/Spoiler.vue2.js";
|
3
|
-
import F from "../../../../components/Checkbox/Checkbox.
|
3
|
+
import F from "../../../../components/Checkbox/Checkbox.vue.js";
|
4
4
|
import { useI18n as B } from "vue-i18n";
|
5
5
|
import { useRoute as R, useRouter as U } from "vue-router";
|
6
6
|
import { actions as $, state as k } from "../../store/categories.js";
|
package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";
|
1
|
+
"use strict";
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),c=require("../../../../components/FieldBig/FieldBig.vue.cjs"),d=require("vue-router"),u=require("vue-i18n");require("../../store/products.cjs");require("./HeroRecommendation.vue2.cjs");const p={id:"hero",class:"pd-thin"},m={class:"pd-big bg-black t-white pos-relative radius-extra o-hidden"},b={class:"flex-column flex-center flex t-center pos-relative z-index-1"},h=["innerHTML"],g=["innerHTML"],f=["innerHTML"],_={style:{"max-width":"50rem"},class:"w-100 h-max gap-thin cols-6"},y=["onClick"],v=["src"],x={class:"t-white"},w=e.createElementVNode("div",{class:"w-100 h-100 flex flex-center pos-absolute pos-t-0 pos-r-0 z-index-0"},[e.createElementVNode("div",{style:{"background-image":"url(/spiral.jpg)"},class:"spiral"})],-1),E={__name:"HeroRecommendation",setup(T){const i=d.useRouter(),s={messages:{en:{title:"Increase Your High <br><b class='t-main'>Boosted by AI Budtender</b>",description:"Just tell us what you're want, and Weeder will find your ideal match.",placeholderTexts:["Lowest THC, please!","Something with banana flavors?","I'm in the mood for trippy vibes."],subdescription:"AI Curated Recommendations for Your Mood:",presets:{sleep:"sleep",creative:"creative",giggly:"giggly",libido:"libido",trippy:"trippy",euphoric:"euphoric"},placeholder:"Tell us what you're after...",action:"Transmit →"},ru:{title:"Персональный Накур,<br><b class='t-main'>Напрямую от AI</b>",description:"AI на страже твоего релакса, бро. Мы подбираем самые космические товары с учетом твоего желаемого настроения:",placeholderTexts:["Я хочу самый низкий THC","Я хочу чего-нибудь бананового","Я хочу курнуть хейза"],presets:{sleep:"сон",creative:"креатив",giggly:"смех",libido:"либидо",trippy:"трип",euphoric:"кайф"},subdescription:"Или выберите тег, и наш AI направит тебя к самым крутым вариантам:",placeholder:"Опиши свой желаемый хай, bro...",action:"Передать →"}}},{t:n,rt:V}=u.useI18n(s);let r=e.ref("");const l=["sleep","creative","giggly","libido","trippy","euphoric"];return(a,o)=>(e.openBlock(),e.createElementBlock("section",p,[e.createElementVNode("div",m,[e.createElementVNode("div",b,[e.createElementVNode("h1",{class:"mn-b-semi",innerHTML:e.unref(n)("title")},null,8,h),e.createElementVNode("p",{class:"mn-b-big p-big t-transp",innerHTML:e.unref(n)("description")},null,8,g),e.createVNode(c.default,{input:e.unref(r),typingSpeed:100,loopTyping:!0,enableTyping:!0,placeholder:e.unref(n)("placeholder"),action:e.unref(n)("action"),"onUpdate:input":o[0]||(o[0]=t=>e.isRef(r)?r.value=t:r=t),onAction:o[1]||(o[1]=t=>e.unref(i).push({name:"Product Recommmendation",query:{mood:e.unref(r)}})),class:"mn-b-big pd-big bg-black-transp-50 bg-blur-thin w-100 w-max-40r"},null,8,["input","placeholder","action"]),e.createElementVNode("p",{class:"w-m-60r t-transp mn-b-semi p-medium",innerHTML:e.unref(n)("subdescription")},null,8,f),e.createElementVNode("div",_,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(l,(t,N)=>e.createElementVNode("a",{key:t,onClick:e.withModifiers(k=>e.unref(i).push({name:"Product Recommmendation",query:{mood:t}}),["stop"]),class:"uppercase pd-thin t-medium flex-center flex-column flex-nowrap flex bg-black-transp-50 bg-blur-thin radius-semi cursor-pointer transition-elastic hover-easeInOut-1"},[e.createElementVNode("img",{src:(a.FILE_SERVER_URL||"")+"/icons/moods/"+t+".svg",class:"w-100"},null,8,v),e.createElementVNode("span",x,e.toDisplayString(e.unref(n)("presets."+t)),1)],8,y)),64))])]),w])]))}};exports.default=E;
|
package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js
ADDED
@@ -0,0 +1,114 @@
|
|
1
|
+
import { ref as m, openBlock as l, createElementBlock as a, createElementVNode as e, unref as t, createVNode as u, isRef as h, Fragment as b, renderList as g, withModifiers as _, toDisplayString as f } from "vue";
|
2
|
+
import y from "../../../../components/FieldBig/FieldBig.vue.js";
|
3
|
+
import { useRouter as x } from "vue-router";
|
4
|
+
import { useI18n as v } from "vue-i18n";
|
5
|
+
import "../../store/products.js";
|
6
|
+
import "./HeroRecommendation.vue2.js";
|
7
|
+
const w = {
|
8
|
+
id: "hero",
|
9
|
+
class: "pd-thin"
|
10
|
+
}, T = { class: "pd-big bg-black t-white pos-relative radius-extra o-hidden" }, H = { class: "flex-column flex-center flex t-center pos-relative z-index-1" }, I = ["innerHTML"], L = ["innerHTML"], k = ["innerHTML"], R = {
|
11
|
+
style: { "max-width": "50rem" },
|
12
|
+
class: "w-100 h-max gap-thin cols-6"
|
13
|
+
}, M = ["onClick"], A = ["src"], C = { class: "t-white" }, E = /* @__PURE__ */ e("div", { class: "w-100 h-100 flex flex-center pos-absolute pos-t-0 pos-r-0 z-index-0" }, [
|
14
|
+
/* @__PURE__ */ e("div", {
|
15
|
+
style: { "background-image": "url(/spiral.jpg)" },
|
16
|
+
class: "spiral"
|
17
|
+
})
|
18
|
+
], -1), $ = {
|
19
|
+
__name: "HeroRecommendation",
|
20
|
+
setup(B) {
|
21
|
+
const r = x(), c = {
|
22
|
+
messages: {
|
23
|
+
en: {
|
24
|
+
title: "Increase Your High <br><b class='t-main'>Boosted by AI Budtender</b>",
|
25
|
+
description: "Just tell us what you're want, and Weeder will find your ideal match.",
|
26
|
+
placeholderTexts: [
|
27
|
+
"Lowest THC, please!",
|
28
|
+
"Something with banana flavors?",
|
29
|
+
"I'm in the mood for trippy vibes."
|
30
|
+
],
|
31
|
+
subdescription: "AI Curated Recommendations for Your Mood:",
|
32
|
+
presets: {
|
33
|
+
sleep: "sleep",
|
34
|
+
creative: "creative",
|
35
|
+
giggly: "giggly",
|
36
|
+
libido: "libido",
|
37
|
+
trippy: "trippy",
|
38
|
+
euphoric: "euphoric"
|
39
|
+
},
|
40
|
+
placeholder: "Tell us what you're after...",
|
41
|
+
action: "Transmit →"
|
42
|
+
},
|
43
|
+
ru: {
|
44
|
+
title: "Персональный Накур,<br><b class='t-main'>Напрямую от AI</b>",
|
45
|
+
description: "AI на страже твоего релакса, бро. Мы подбираем самые космические товары с учетом твоего желаемого настроения:",
|
46
|
+
placeholderTexts: [
|
47
|
+
"Я хочу самый низкий THC",
|
48
|
+
"Я хочу чего-нибудь бананового",
|
49
|
+
"Я хочу курнуть хейза"
|
50
|
+
],
|
51
|
+
presets: {
|
52
|
+
sleep: "сон",
|
53
|
+
creative: "креатив",
|
54
|
+
giggly: "смех",
|
55
|
+
libido: "либидо",
|
56
|
+
trippy: "трип",
|
57
|
+
euphoric: "кайф"
|
58
|
+
},
|
59
|
+
subdescription: "Или выберите тег, и наш AI направит тебя к самым крутым вариантам:",
|
60
|
+
placeholder: "Опиши свой желаемый хай, bro...",
|
61
|
+
action: "Передать →"
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}, { t: s, rt: S } = v(c);
|
65
|
+
let o = m("");
|
66
|
+
const p = ["sleep", "creative", "giggly", "libido", "trippy", "euphoric"];
|
67
|
+
return (d, n) => (l(), a("section", w, [
|
68
|
+
e("div", T, [
|
69
|
+
e("div", H, [
|
70
|
+
e("h1", {
|
71
|
+
class: "mn-b-semi",
|
72
|
+
innerHTML: t(s)("title")
|
73
|
+
}, null, 8, I),
|
74
|
+
e("p", {
|
75
|
+
class: "mn-b-big p-big t-transp",
|
76
|
+
innerHTML: t(s)("description")
|
77
|
+
}, null, 8, L),
|
78
|
+
u(y, {
|
79
|
+
input: t(o),
|
80
|
+
typingSpeed: 100,
|
81
|
+
loopTyping: !0,
|
82
|
+
enableTyping: !0,
|
83
|
+
placeholder: t(s)("placeholder"),
|
84
|
+
action: t(s)("action"),
|
85
|
+
"onUpdate:input": n[0] || (n[0] = (i) => h(o) ? o.value = i : o = i),
|
86
|
+
onAction: n[1] || (n[1] = (i) => t(r).push({ name: "Product Recommmendation", query: { mood: t(o) } })),
|
87
|
+
class: "mn-b-big pd-big bg-black-transp-50 bg-blur-thin w-100 w-max-40r"
|
88
|
+
}, null, 8, ["input", "placeholder", "action"]),
|
89
|
+
e("p", {
|
90
|
+
class: "w-m-60r t-transp mn-b-semi p-medium",
|
91
|
+
innerHTML: t(s)("subdescription")
|
92
|
+
}, null, 8, k),
|
93
|
+
e("div", R, [
|
94
|
+
(l(), a(b, null, g(p, (i, V) => e("a", {
|
95
|
+
key: i,
|
96
|
+
onClick: _((q) => t(r).push({ name: "Product Recommmendation", query: { mood: i } }), ["stop"]),
|
97
|
+
class: "uppercase pd-thin t-medium flex-center flex-column flex-nowrap flex bg-black-transp-50 bg-blur-thin radius-semi cursor-pointer transition-elastic hover-easeInOut-1"
|
98
|
+
}, [
|
99
|
+
e("img", {
|
100
|
+
src: (d.FILE_SERVER_URL || "") + "/icons/moods/" + i + ".svg",
|
101
|
+
class: "w-100"
|
102
|
+
}, null, 8, A),
|
103
|
+
e("span", C, f(t(s)("presets." + i)), 1)
|
104
|
+
], 8, M)), 64))
|
105
|
+
])
|
106
|
+
]),
|
107
|
+
E
|
108
|
+
])
|
109
|
+
]));
|
110
|
+
}
|
111
|
+
};
|
112
|
+
export {
|
113
|
+
$ as default
|
114
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";
|
@@ -0,0 +1 @@
|
|
1
|
+
|
package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";
|
1
|
+
"use strict";
|
package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.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"),m=require("../../../../components/Button/Button.vue2.cjs"),u=require("../../../icons/placeholders/PlaceholderImage.vue.cjs"),g=require("../blocks/Images360.vue.cjs"),h=require("../blocks/ImagesThumbnails.vue.cjs");require("../elements/THC.vue2.cjs");const k=require("../elements/Price.vue.cjs"),f=require("vue-i18n"),n=require("../../../orders/store/shopcart.cjs"),p={class:"cols-2-1_2 w-100 gap-big"},y={class:"flex-nowrap flex-column flex pos-relative"},b={class:"h-100 h-max-50vh bg-grey radius-big o-hidden"},B=["src"],v={class:"pos-relative w-100 h-100 flex-column flex-justify flex col"},V={key:0,class:"t-main t-semi p-big"},N={class:"w-100 h1-product mn-b-thin"},E={key:1,class:"mn-b-semi"},w={key:2,class:"w-100 mn-b-medium t-transp"},C={key:3,class:"w-100 mn-b-medium t-transp"},S={class:"cols-2 w-100 gap-small mn-b-semi"},x={class:"w-100 pd-small radius-small bg-grey-transp-30 product-information"},q={class:"t-demi"},z={class:"max-w-33rem mobile-w-100 t-white gap-small cols-2"},D={__name:"SectionProduct",props:{product:{type:Object,required:!0},user:{type:String},recommendation:{type:String}},setup(t){const i=t,a=e.computed(()=>i.product.images),s={messages:{en:{airecommend:"AI Recommends You",description:"",addtoorder:"Add to order",fastorder:"Fast Order"},ru:{airecommend:"AI Рекомендует вам",description:"",addtoorder:"Добавить в корзину",fastorder:"Быстрый заказ"}}},{t:c}=f.useI18n(s);function l(o){return!(o.quantity>0)}function d(o){n.state.organization!==o.organization&&(n.state.positions=[],n.state.organization=o.organization),n.actions.addProductToCart(o,o.organization)}return(o,I)=>(e.openBlock(),e.createElementBlock("div",p,[e.createElementVNode("div",y,[e.createElementVNode("div",b,[t.product&&t.product.image3d?(e.openBlock(),e.createBlock(g.default,{key:0,class:"h-100 w-100",imagePath:`/assets/images/products/${t.product.image3d}`,imageCount:36},null,8,["imagePath"])):e.createCommentVNode("",!0),a.value[0]&&!t.product.image3d?(e.openBlock(),e.createElementBlock("img",{key:1,class:"h-100 bg-grey w-100",style:{"object-fit":"contain"},src:(o.FILE_SERVER_URL||"")+a.value[0]},null,8,B)):e.createCommentVNode("",!0),!a.value[0]&&!t.product.image3d?(e.openBlock(),e.createBlock(u.default,{key:2,class:"h-100 w-100",style:{"object-fit":"cover"}})):e.createCommentVNode("",!0)]),a.value.length>1?(e.openBlock(),e.createBlock(h.default,{key:0,images:a.value,class:"mn-t-medium"},null,8,["images"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",v,[t.recommendation?(e.openBlock(),e.createElementBlock("h2",V,e.toDisplayString(e.unref(c)("airecommend")),1)):e.createCommentVNode("",!0),e.createElementVNode("h1",N,e.toDisplayString(t.product.name),1),e.createVNode(k.default,{product:t.product,size:"big",class:"mn-b-semi"},null,8,["product"]),t.recommendation?(e.openBlock(),e.createElementBlock("h3",E,e.toDisplayString(t.recommendation),1)):e.createCommentVNode("",!0),t.product.description&&!t.product.localization<1&&!t.recommendation?(e.openBlock(),e.createElementBlock("p",w,e.toDisplayString(t.product.description),1)):e.createCommentVNode("",!0),t.product.localization&&t.product.localization.length>1&&!t.recommendation?(e.openBlock(),e.createElementBlock("p",C,e.toDisplayString(e.unref(c)("description")),1)):e.createCommentVNode("",!0),e.createElementVNode("div",S,[t.product.information.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.product.information,r=>(e.openBlock(),e.createElementBlock("div",x,[e.createElementVNode("p",q,e.toDisplayString(r.name),1),e.createElementVNode("p",null,e.toDisplayString(r.value),1)]))),256)):e.createCommentVNode("",!0)]),e.createElementVNode("div",z,[e.createVNode(m.default,{submit:r=>d(t.product),disabled:l(t.product),text:{success:" ✔ Added",error:"error"},class:"w-100 mn-r-small bg-main button"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(c)("addtoorder")),1)]),_:1},8,["submit","disabled"])])])]))}};exports.default=D;
|
package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js
CHANGED
@@ -1,26 +1,25 @@
|
|
1
|
-
import { computed as
|
2
|
-
import
|
3
|
-
import I from "../../../icons/
|
4
|
-
import
|
5
|
-
import
|
6
|
-
import $ from "../blocks/ImagesThumbnails.vue.js";
|
1
|
+
import { computed as y, openBlock as t, createElementBlock as a, createElementVNode as r, createBlock as m, createCommentVNode as o, toDisplayString as s, unref as l, createVNode as g, Fragment as v, renderList as w, withCtx as x, createTextVNode as k } from "vue";
|
2
|
+
import z from "../../../../components/Button/Button.vue2.js";
|
3
|
+
import I from "../../../icons/placeholders/PlaceholderImage.vue.js";
|
4
|
+
import C from "../blocks/Images360.vue.js";
|
5
|
+
import E from "../blocks/ImagesThumbnails.vue.js";
|
7
6
|
import "../elements/THC.vue2.js";
|
8
|
-
import
|
9
|
-
import { useI18n as
|
10
|
-
import { state as
|
11
|
-
const
|
7
|
+
import P from "../elements/Price.vue.js";
|
8
|
+
import { useI18n as S } from "vue-i18n";
|
9
|
+
import { state as u, actions as T } from "../../../orders/store/shopcart.js";
|
10
|
+
const V = { class: "cols-2-1_2 w-100 gap-big" }, j = { class: "flex-nowrap flex-column flex pos-relative" }, A = { class: "h-100 h-max-50vh bg-grey radius-big o-hidden" }, N = ["src"], R = { class: "pos-relative w-100 h-100 flex-column flex-justify flex col" }, B = {
|
12
11
|
key: 0,
|
13
12
|
class: "t-main t-semi p-big"
|
14
|
-
},
|
13
|
+
}, F = { class: "w-100 h1-product mn-b-thin" }, L = {
|
15
14
|
key: 1,
|
16
15
|
class: "mn-b-semi"
|
17
|
-
},
|
16
|
+
}, $ = {
|
18
17
|
key: 2,
|
19
18
|
class: "w-100 mn-b-medium t-transp"
|
20
|
-
},
|
19
|
+
}, q = {
|
21
20
|
key: 3,
|
22
21
|
class: "w-100 mn-b-medium t-transp"
|
23
|
-
},
|
22
|
+
}, O = { class: "cols-2 w-100 gap-small mn-b-semi" }, D = { class: "w-100 pd-small radius-small bg-grey-transp-30 product-information" }, U = { class: "t-demi" }, Y = { class: "max-w-33rem mobile-w-100 t-white gap-small cols-2" }, ee = {
|
24
23
|
__name: "SectionProduct",
|
25
24
|
props: {
|
26
25
|
product: {
|
@@ -34,8 +33,8 @@ const j = { class: "cols-2-1_2 w-100 gap-big" }, A = { class: "flex-nowrap flex-
|
|
34
33
|
type: String
|
35
34
|
}
|
36
35
|
},
|
37
|
-
setup(
|
38
|
-
const
|
36
|
+
setup(e) {
|
37
|
+
const h = e, n = y(() => h.product.images), f = {
|
39
38
|
messages: {
|
40
39
|
en: {
|
41
40
|
airecommend: "AI Recommends You",
|
@@ -50,71 +49,61 @@ const j = { class: "cols-2-1_2 w-100 gap-big" }, A = { class: "flex-nowrap flex-
|
|
50
49
|
fastorder: "Быстрый заказ"
|
51
50
|
}
|
52
51
|
}
|
53
|
-
}, { t: c } =
|
54
|
-
function b(
|
55
|
-
return !(
|
52
|
+
}, { t: c } = S(f);
|
53
|
+
function b(i) {
|
54
|
+
return !(i.quantity > 0);
|
56
55
|
}
|
57
|
-
function
|
58
|
-
|
56
|
+
function p(i) {
|
57
|
+
u.organization !== i.organization && (u.positions = [], u.organization = i.organization), T.addProductToCart(i, i.organization);
|
59
58
|
}
|
60
|
-
return (
|
61
|
-
r("div",
|
62
|
-
r("div",
|
63
|
-
|
59
|
+
return (i, G) => (t(), a("div", V, [
|
60
|
+
r("div", j, [
|
61
|
+
r("div", A, [
|
62
|
+
e.product && e.product.image3d ? (t(), m(C, {
|
64
63
|
key: 0,
|
65
64
|
class: "h-100 w-100",
|
66
|
-
imagePath: `/assets/images/products/${
|
65
|
+
imagePath: `/assets/images/products/${e.product.image3d}`,
|
67
66
|
imageCount: 36
|
68
|
-
}, null, 8, ["imagePath"])) :
|
69
|
-
n.value[0] && !
|
67
|
+
}, null, 8, ["imagePath"])) : o("", !0),
|
68
|
+
n.value[0] && !e.product.image3d ? (t(), a("img", {
|
70
69
|
key: 1,
|
71
70
|
class: "h-100 bg-grey w-100",
|
72
71
|
style: { "object-fit": "contain" },
|
73
|
-
src: (
|
74
|
-
}, null, 8,
|
75
|
-
!n.value[0] && !
|
72
|
+
src: (i.FILE_SERVER_URL || "") + n.value[0]
|
73
|
+
}, null, 8, N)) : o("", !0),
|
74
|
+
!n.value[0] && !e.product.image3d ? (t(), m(I, {
|
76
75
|
key: 2,
|
77
76
|
class: "h-100 w-100",
|
78
77
|
style: { "object-fit": "cover" }
|
79
|
-
})) :
|
78
|
+
})) : o("", !0)
|
80
79
|
]),
|
81
|
-
n.value.length > 1 ? (
|
80
|
+
n.value.length > 1 ? (t(), m(E, {
|
82
81
|
key: 0,
|
83
82
|
images: n.value,
|
84
83
|
class: "mn-t-medium"
|
85
|
-
}, null, 8, ["images"])) :
|
84
|
+
}, null, 8, ["images"])) : o("", !0)
|
86
85
|
]),
|
87
|
-
r("div",
|
88
|
-
l(
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
_id: t.product.organization,
|
93
|
-
product: t.product._id
|
94
|
-
}
|
95
|
-
})),
|
96
|
-
class: "pos-absolute pos-t-regular pos-r-regular i-regular t-transp"
|
97
|
-
}),
|
98
|
-
t.recommendation ? (e(), a("h2", F, s(u(c)("airecommend")), 1)) : i("", !0),
|
99
|
-
r("h1", L, s(t.product.name), 1),
|
100
|
-
l(S, {
|
101
|
-
product: t.product,
|
86
|
+
r("div", R, [
|
87
|
+
e.recommendation ? (t(), a("h2", B, s(l(c)("airecommend")), 1)) : o("", !0),
|
88
|
+
r("h1", F, s(e.product.name), 1),
|
89
|
+
g(P, {
|
90
|
+
product: e.product,
|
102
91
|
size: "big",
|
103
92
|
class: "mn-b-semi"
|
104
93
|
}, null, 8, ["product"]),
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
r("div",
|
109
|
-
|
110
|
-
r("p",
|
94
|
+
e.recommendation ? (t(), a("h3", L, s(e.recommendation), 1)) : o("", !0),
|
95
|
+
e.product.description && !e.product.localization < 1 && !e.recommendation ? (t(), a("p", $, s(e.product.description), 1)) : o("", !0),
|
96
|
+
e.product.localization && e.product.localization.length > 1 && !e.recommendation ? (t(), a("p", q, s(l(c)("description")), 1)) : o("", !0),
|
97
|
+
r("div", O, [
|
98
|
+
e.product.information.length > 0 ? (t(!0), a(v, { key: 0 }, w(e.product.information, (d) => (t(), a("div", D, [
|
99
|
+
r("p", U, s(d.name), 1),
|
111
100
|
r("p", null, s(d.value), 1)
|
112
|
-
]))), 256)) :
|
101
|
+
]))), 256)) : o("", !0)
|
113
102
|
]),
|
114
|
-
r("div",
|
115
|
-
|
116
|
-
submit: (d) =>
|
117
|
-
disabled: b(
|
103
|
+
r("div", Y, [
|
104
|
+
g(z, {
|
105
|
+
submit: (d) => p(e.product),
|
106
|
+
disabled: b(e.product),
|
118
107
|
text: {
|
119
108
|
success: " ✔ Added",
|
120
109
|
error: "error"
|
@@ -122,7 +111,7 @@ const j = { class: "cols-2-1_2 w-100 gap-big" }, A = { class: "flex-nowrap flex-
|
|
122
111
|
class: "w-100 mn-r-small bg-main button"
|
123
112
|
}, {
|
124
113
|
default: x(() => [
|
125
|
-
|
114
|
+
k(s(l(c)("addtoorder")), 1)
|
126
115
|
]),
|
127
116
|
_: 1
|
128
117
|
}, 8, ["submit", "disabled"])
|
@@ -132,5 +121,5 @@ const j = { class: "cols-2-1_2 w-100 gap-big" }, A = { class: "flex-nowrap flex-
|
|
132
121
|
}
|
133
122
|
};
|
134
123
|
export {
|
135
|
-
|
124
|
+
ee as default
|
136
125
|
};
|
package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.cjs
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("vue-i18n"),l={class:"pd-medium mn-b-thin bg-grey radius-big"},u={class:"flex-nowrap flex flex-v-center"},a=e.createElementVNode("p",{class:"mn-r-auto p-big t-semi t-transp"},"2,982 results",-1),p={__name:"SortProducts",props:{categories:Array,prices:Array,deliveryOptions:Array,selectedFilters:Object},emits:["updateFilters","resetFilters"],setup(c,{emit:d}){const n={locale:"en",messages:{en:{sort:{price:"By price",newest:"By newest",popularity:"By popularity"}},ru:{sort:{price:"По цене",newest:"По новизне",popularity:"По популярности"}}}},{t:r}=i.useI18n(n);return(s,t)=>(e.openBlock(),e.createElementBlock("div",l,[e.createElementVNode("div",u,[a,e.createElementVNode("button",{onClick:t[0]||(t[0]=o=>s.setSort("price")),class:"button-active button-sort button"},e.toDisplayString(e.unref(r)("sort.price")),1),e.createElementVNode("button",{onClick:t[1]||(t[1]=o=>s.setSort("createdAt")),class:"button-sort button"},e.toDisplayString(e.unref(r)("sort.newest")),1),e.createElementVNode("button",{onClick:t[2]||(t[2]=o=>s.setSort("popularity")),class:"button-sort button"},e.toDisplayString(e.unref(r)("sort.popularity")),1)])]))}};exports.default=p;
|
package/dist/prometheus-framework/src/modules/products/components/sections/SortProducts.vue.js
ADDED
@@ -0,0 +1,53 @@
|
|
1
|
+
import { openBlock as l, createElementBlock as u, createElementVNode as e, toDisplayString as o, unref as n } from "vue";
|
2
|
+
import { useI18n as a } from "vue-i18n";
|
3
|
+
const c = { class: "pd-medium mn-b-thin bg-grey radius-big" }, m = { class: "flex-nowrap flex flex-v-center" }, b = /* @__PURE__ */ e("p", { class: "mn-r-auto p-big t-semi t-transp" }, "2,982 results", -1), g = {
|
4
|
+
__name: "SortProducts",
|
5
|
+
props: {
|
6
|
+
categories: Array,
|
7
|
+
prices: Array,
|
8
|
+
deliveryOptions: Array,
|
9
|
+
selectedFilters: Object
|
10
|
+
},
|
11
|
+
emits: ["updateFilters", "resetFilters"],
|
12
|
+
setup(d, { emit: y }) {
|
13
|
+
const p = {
|
14
|
+
locale: "en",
|
15
|
+
messages: {
|
16
|
+
en: {
|
17
|
+
sort: {
|
18
|
+
price: "By price",
|
19
|
+
newest: "By newest",
|
20
|
+
popularity: "By popularity"
|
21
|
+
}
|
22
|
+
},
|
23
|
+
ru: {
|
24
|
+
sort: {
|
25
|
+
price: "По цене",
|
26
|
+
newest: "По новизне",
|
27
|
+
popularity: "По популярности"
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
31
|
+
}, { t: s } = a(p);
|
32
|
+
return (r, t) => (l(), u("div", c, [
|
33
|
+
e("div", m, [
|
34
|
+
b,
|
35
|
+
e("button", {
|
36
|
+
onClick: t[0] || (t[0] = (i) => r.setSort("price")),
|
37
|
+
class: "button-active button-sort button"
|
38
|
+
}, o(n(s)("sort.price")), 1),
|
39
|
+
e("button", {
|
40
|
+
onClick: t[1] || (t[1] = (i) => r.setSort("createdAt")),
|
41
|
+
class: "button-sort button"
|
42
|
+
}, o(n(s)("sort.newest")), 1),
|
43
|
+
e("button", {
|
44
|
+
onClick: t[2] || (t[2] = (i) => r.setSort("popularity")),
|
45
|
+
class: "button-sort button"
|
46
|
+
}, o(n(s)("sort.popularity")), 1)
|
47
|
+
])
|
48
|
+
]));
|
49
|
+
}
|
50
|
+
};
|
51
|
+
export {
|
52
|
+
g as default
|
53
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./components/blocks/ImagesThumbnails.vue.cjs"),t=require("./components/blocks/LeftoverPositions.vue.cjs"),r=require("./components/blocks/ListPositions.vue.cjs"),o=require("./components/blocks/CategoryCard.vue.cjs"),u=require("./components/blocks/CardProduct.vue.cjs"),i=require("./components/blocks/CardLeftover.vue.cjs"),d=require("./components/blocks/Images360.vue.cjs"),c=require("./components/blocks/CardPosition.vue.cjs"),s=require("./components/sections/SectionProduct.vue.cjs"),a=require("./components/sections/HeroRecommendation.vue.cjs"),n=require("./components/sections/FilterProducts.vue.cjs"),f=require("./components/sections/SortProducts.vue.cjs"),l=require("./components/sections/EditModifications.vue.cjs"),P=require("./components/sections/PopularProducts.vue.cjs"),q=require("./components/sections/EditProductInfo.vue.cjs"),m=require("./components/elements/Price.vue.cjs"),C=require("./components/elements/THC.vue.cjs"),v=require("./components/pages/Product.vue.cjs"),g=require("./components/pages/ProductsBackoffice.vue.cjs"),L=require("./components/pages/ProductEdit.vue.cjs"),S=require("./components/pages/EditLeftover.vue.cjs"),E=require("./components/pages/ProductRecommmendation.vue.cjs"),I=require("./components/pages/Products.vue.cjs"),p=require("./components/pages/Leftovers.vue.cjs"),T=require("./store/categories.cjs"),b=require("./store/leftovers.cjs"),y=require("./store/products.cjs");exports.ImagesThumbnails=e.default;exports.LeftoverPositions=t.default;exports.ListPositions=r.default;exports.CategoryCard=o.default;exports.CardProduct=u.default;exports.CardLeftover=i.default;exports.Images360=d.default;exports.CardPosition=c.default;exports.SectionProduct=s.default;exports.HeroRecommendation=a.default;exports.FilterProducts=n.default;exports.SortProducts=f.default;exports.EditModifications=l.default;exports.PopularProducts=P.default;exports.EditProductInfo=q.default;exports.Price=m.default;exports.THC=C.default;exports.Product=v.default;exports.ProductsBackoffice=g.default;exports.ProductEdit=L.default;exports.EditLeftover=S.default;exports.ProductRecommendation=E.default;exports.Products=I.default;exports.Leftovers=p.default;exports.categoriesStore=T;exports.leftoversStore=b;exports.productsStore=y;
|
@@ -0,0 +1,56 @@
|
|
1
|
+
import { default as f } from "./components/blocks/ImagesThumbnails.vue.js";
|
2
|
+
import { default as d } from "./components/blocks/LeftoverPositions.vue.js";
|
3
|
+
import { default as m } from "./components/blocks/ListPositions.vue.js";
|
4
|
+
import { default as l } from "./components/blocks/CategoryCard.vue.js";
|
5
|
+
import { default as i } from "./components/blocks/CardProduct.vue.js";
|
6
|
+
import { default as P } from "./components/blocks/CardLeftover.vue.js";
|
7
|
+
import { default as v } from "./components/blocks/Images360.vue.js";
|
8
|
+
import { default as g } from "./components/blocks/CardPosition.vue.js";
|
9
|
+
import { default as S } from "./components/sections/SectionProduct.vue.js";
|
10
|
+
import { default as I } from "./components/sections/HeroRecommendation.vue.js";
|
11
|
+
import { default as R } from "./components/sections/FilterProducts.vue.js";
|
12
|
+
import { default as b } from "./components/sections/SortProducts.vue.js";
|
13
|
+
import { default as k } from "./components/sections/EditModifications.vue.js";
|
14
|
+
import { default as B } from "./components/sections/PopularProducts.vue.js";
|
15
|
+
import { default as M } from "./components/sections/EditProductInfo.vue.js";
|
16
|
+
import { default as q } from "./components/elements/Price.vue.js";
|
17
|
+
import { default as z } from "./components/elements/THC.vue.js";
|
18
|
+
import { default as D } from "./components/pages/Product.vue.js";
|
19
|
+
import { default as J } from "./components/pages/ProductsBackoffice.vue.js";
|
20
|
+
import { default as N } from "./components/pages/ProductEdit.vue.js";
|
21
|
+
import { default as Q } from "./components/pages/EditLeftover.vue.js";
|
22
|
+
import { default as V } from "./components/pages/ProductRecommmendation.vue.js";
|
23
|
+
import { default as X } from "./components/pages/Products.vue.js";
|
24
|
+
import { default as Z } from "./components/pages/Leftovers.vue.js";
|
25
|
+
import * as o from "./store/categories.js";
|
26
|
+
import * as t from "./store/leftovers.js";
|
27
|
+
import * as r from "./store/products.js";
|
28
|
+
export {
|
29
|
+
P as CardLeftover,
|
30
|
+
g as CardPosition,
|
31
|
+
i as CardProduct,
|
32
|
+
l as CategoryCard,
|
33
|
+
Q as EditLeftover,
|
34
|
+
k as EditModifications,
|
35
|
+
M as EditProductInfo,
|
36
|
+
R as FilterProducts,
|
37
|
+
I as HeroRecommendation,
|
38
|
+
v as Images360,
|
39
|
+
f as ImagesThumbnails,
|
40
|
+
d as LeftoverPositions,
|
41
|
+
Z as Leftovers,
|
42
|
+
m as ListPositions,
|
43
|
+
B as PopularProducts,
|
44
|
+
q as Price,
|
45
|
+
D as Product,
|
46
|
+
N as ProductEdit,
|
47
|
+
V as ProductRecommendation,
|
48
|
+
X as Products,
|
49
|
+
J as ProductsBackoffice,
|
50
|
+
S as SectionProduct,
|
51
|
+
b as SortProducts,
|
52
|
+
z as THC,
|
53
|
+
o as categoriesStore,
|
54
|
+
t as leftoversStore,
|
55
|
+
r as productsStore
|
56
|
+
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),u=require("
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),u=require("../../../../../node_modules/axios/lib/axios.cjs"),s=require("../../globals/store/globals.cjs"),a=u.default.create({baseURL:process.env.API_URL,withCredentials:!0}),r=n.reactive({all:[],current:{order:"1",name:"",url:"",subcategories:[],filters:[],localization:[]}}),c={async fetchCategories(){return await a.get("/categories").then(e=>(r.all=e.data,Promise.resolve(e.data)),e=>(s.setError(e),Promise.reject(e)))},updateCategories(e){return a.post("/categories",e).then(t=>(r.all=e,Promise.resolve(e)),t=>(s.setError(t),Promise.reject(t)))},fetchCategory(e){return a.get("/categories/"+e).then(t=>(r.current=t.data,Promise.resolve(t.data)),t=>(s.setError(t),Promise.reject(t)))},addCategory(){return a.post("/categories/add",r.current).then(e=>(r.all.push(e.data),Promise.resolve(e.data)),e=>(s.setError(e),Promise.reject(e)))},updateCategory(e){return a.post("/categories/"+e,r.current).then(t=>(r.current=t.data,Promise.resolve(t.data)),t=>(s.setError(t),Promise.reject(t)))},deleteCategory(e){return a.delete("/categories/"+e).then(t=>{const o=r.all.findIndex(i=>i.url===e);r.all.splice(o,1)},t=>{s.setError(t)})}};n.watch(r,e=>{});exports.actions=c;exports.state=r;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { reactive as i, watch as u } from "vue";
|
2
|
-
import c from "
|
2
|
+
import c from "../../../../../node_modules/axios/lib/axios.js";
|
3
3
|
import { setError as a } from "../../globals/store/globals.js";
|
4
4
|
const s = c.create({ baseURL: process.env.API_URL, withCredentials: !0 }), r = i({
|
5
5
|
all: [],
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("vue"),l=require("
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("vue"),l=require("../../../../../node_modules/axios/lib/axios.cjs"),s=require("../../globals/store/globals.cjs"),o=l.default.create({baseURL:process.env.API_URL,withCredentials:!0}),e=c.reactive({all:[],current:{organization:"",type:"",order:"",positions:[]}}),d={async read(r){try{const t=await o.get("/leftovers",{params:r});return e.all=t.data,t.data}catch(t){throw s.setError(t),t}},async fetch(r){try{const t=await o.get("/leftovers/"+r);return e.current=t.data,t.data}catch(t){throw s.setError(t),t}},async create({organization:r,type:t,order:n,positions:i}){try{const a=await o.post("/leftovers",{organization:r,type:t,order:n,positions:i});return e.all.push(a.data),a.data}catch(a){throw s.setError(a),a}},async update(r){try{const t=await o.post("/leftovers/"+r._id,r);return e.current=t.data,t.data}catch(t){throw s.setError(t),t}},async delete(r){try{const t=await o.delete("/leftovers/"+r);return e.all.splice(e.all.findIndex(n=>n._id==r),1),t.data}catch(t){throw s.setError(t),t}}};c.watch(e,r=>{});exports.actions=d;exports.state=e;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { reactive as i, watch as d } from "vue";
|
2
|
-
import l from "
|
2
|
+
import l from "../../../../../node_modules/axios/lib/axios.js";
|
3
3
|
import { setError as o } from "../../globals/store/globals.js";
|
4
4
|
const s = l.create({ baseURL: process.env.API_URL, withCredentials: !0 }), e = i({
|
5
5
|
all: [],
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),o=require("
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),o=require("../../../../../node_modules/axios/lib/axios.cjs"),s=require("../../globals/store/globals.cjs"),i=o.default.create({baseURL:process.env.API_URL,withCredentials:!0}),t=n.reactive({all:[],current:{recommendation:!1,category:[],status:"unpublished",information:[],images:[],files:[],image3d:!1,name:"",sale:0,price:0,localization:[],modifications:[],quantityDiscount:[],ingridients:[],description:""}}),u={async create(e,r){const a={...r,organization:e};return await i.post("/api/products/create",a).then(c=>(d(c.data,"current"),Promise.resolve(c.data)),c=>(s.setError(c),Promise.reject(c)))},async read(e={}){let r={};e._id&&(r._id=e._id),e.category&&(r.category=e.category),e.organization&&(r.organization=e.organization),e.count&&(r.count=e.count),e.categories&&(r.categories=e.categories),e.prices&&(r.prices=e.prices),e.delivery&&(r.delivery=e.delivery),e.status&&(r.status=e.status),r.sort="createdAt",r.skip=e.skip||0,r.limit=e.limit||10,console.log(r);try{const a=await i.get("/api/products/read",{params:r});return e._id?(t.current={...a.data[0]},Promise.resolve(a.data[0])):Promise.resolve(a.data)}catch(a){return s.setError(a),Promise.reject(a)}},async update(e,r){return await i.post("/api/products/"+e,r).then(a=>Promise.resolve(a.data),a=>(s.setError(a),Promise.reject(a)))},async deleteProduct(e){return await i.delete("/api/products/"+e).then(r=>Promise.resolve(r.data),r=>(s.setError(r),Promise.reject(r)))},async submitMood(e=null){return console.log(e),i.post("/api/product/recommended",{mood:e}).then(r=>(t.current=r.data.product,t.current.recommendation=r.data.recommendationText,Promise.resolve(r.data)),r=>(console.log(r),s.setError(r),Promise.reject(r)))},async fetchProducts(){return await i.get("/api/products/read").then(e=>(t.all=e.data,Promise.resolve(e.data)),e=>(s.setError(e),Promise.reject(e)))},async fetchProductsPopular(){return await i.get("/api/products/popular").then(e=>(t.popular=e.data,Promise.resolve(e.data)),e=>(s.setError(e),Promise.reject(e)))},async fetchProductsPublished(){return await i.get("/api/products").then(e=>{let r=e.data.filter(function(a,c){return a.status!=="unpublished"});return t.all=r,t.filtered=r.slice(),t.filteredPrice=t.filtered,t.filteredPrice.sort(function(a,c){return a[t.sort.current]>c[t.sort.current]?t.sort.ascending?1:-1:a[t.sort.current]<c[t.sort.current]?t.sort.ascending?-1:1:0}),Promise.resolve(e.data)},e=>(s.setError(e),Promise.reject(e)))},async fetchProduct(e){try{const r=await i.get("/api/products/"+e);return console.log(r),t.current=r.data[0],Promise.resolve(r.data[0])}catch(r){return s.setError(r),Promise.reject(r)}},async fetchProductPopular(){return await i.get("/api/products").then(e=>(t.all=e.data.slice(1,5),Promise.resolve(e.data.slice(1,5))),e=>(s.setError(e),Promise.reject(e)))}};function d(e,r){t[r]=e}const l={};n.watch(t,(e,r)=>{});exports.actions=u;exports.getters=l;exports.state=t;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { reactive as n, watch as o } from "vue";
|
2
|
-
import u from "
|
2
|
+
import u from "../../../../../node_modules/axios/lib/axios.js";
|
3
3
|
import { setError as i } from "../../globals/store/globals.js";
|
4
4
|
const c = u.create({ baseURL: process.env.API_URL, withCredentials: !0 }), r = n({
|
5
5
|
all: [],
|
@@ -102,9 +102,11 @@ const c = u.create({ baseURL: process.env.API_URL, withCredentials: !0 }), r = n
|
|
102
102
|
function d(e, t) {
|
103
103
|
r[t] = e;
|
104
104
|
}
|
105
|
+
const g = {};
|
105
106
|
o(r, (e, t) => {
|
106
107
|
});
|
107
108
|
export {
|
108
109
|
f as actions,
|
110
|
+
g as getters,
|
109
111
|
r as state
|
110
112
|
};
|