@ozdao/prometheus-framework 0.2.31 → 0.2.33
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/main.css +1 -1
- package/dist/node_modules/@adraffy/ens-normalize/dist/index.cjs +1 -1
- package/dist/node_modules/@adraffy/ens-normalize/dist/index.js +222 -218
- package/dist/node_modules/@noble/curves/esm/abstract/modular.cjs +1 -1
- package/dist/node_modules/@noble/curves/esm/abstract/modular.js +102 -91
- package/dist/node_modules/@noble/curves/esm/abstract/utils.cjs +1 -1
- package/dist/node_modules/@noble/curves/esm/abstract/utils.js +138 -115
- package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.cjs +1 -1
- package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.js +185 -185
- package/dist/node_modules/@noble/curves/esm/secp256k1.cjs +1 -1
- package/dist/node_modules/@noble/curves/esm/secp256k1.js +11 -8
- package/dist/node_modules/@noble/hashes/esm/_assert.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/_assert.js +29 -33
- package/dist/node_modules/@noble/hashes/esm/_sha2.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/_sha2.js +15 -15
- package/dist/node_modules/@noble/hashes/esm/_u64.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/_u64.js +38 -20
- package/dist/node_modules/@noble/hashes/esm/hmac.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/hmac.js +20 -20
- package/dist/node_modules/@noble/hashes/esm/pbkdf2.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/pbkdf2.js +20 -20
- package/dist/node_modules/@noble/hashes/esm/scrypt.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/scrypt.js +41 -41
- package/dist/node_modules/@noble/hashes/esm/sha256.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/sha256.js +23 -29
- package/dist/node_modules/@noble/hashes/esm/sha3.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/sha3.js +44 -55
- package/dist/node_modules/@noble/hashes/esm/sha512.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/sha512.js +23 -41
- package/dist/node_modules/@noble/hashes/esm/utils.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/utils.js +37 -33
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.cjs +20 -0
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.js +3974 -0
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +1 -0
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +1202 -0
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs +1 -0
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js +97 -0
- package/dist/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.cjs +1 -0
- package/dist/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +37 -0
- package/dist/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs +1 -0
- package/dist/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.js +22 -0
- package/dist/node_modules/ethereum-cryptography/esm/utils.cjs +1 -1
- package/dist/node_modules/ethereum-cryptography/esm/utils.js +1 -4
- package/dist/node_modules/js-cookie/dist/js.cookie.cjs +1 -0
- package/dist/node_modules/js-cookie/dist/js.cookie.js +74 -0
- package/dist/node_modules/vue3-carousel/dist/carousel.es.cjs +4 -4
- package/dist/node_modules/vue3-carousel/dist/carousel.es.js +340 -244
- package/dist/node_modules/web3/lib/esm/abi.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/abi.js +5 -10
- package/dist/node_modules/web3/lib/esm/accounts.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/accounts.js +27 -24
- 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 +53 -57
- package/dist/node_modules/web3-core/lib/esm/utils.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/utils.js +3 -4
- package/dist/node_modules/web3-core/lib/esm/web3_config.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_config.js +22 -19
- package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_context.js +72 -57
- 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 +53 -61
- package/dist/node_modules/web3-errors/lib/esm/errors/account_errors.js +8 -8
- 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 +1 -1
- 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 +42 -42
- 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 +19 -19
- 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 +29 -29
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +1 -0
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +51 -0
- 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 +1 -1
- 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 +1 -1
- package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +132 -47
- package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.cjs +1 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.js +21 -15
- package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.cjs +1 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.js +15 -13
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.cjs +1 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.js +1 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.cjs +1 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.js +61 -53
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.cjs +1 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.js +36 -9
- package/dist/node_modules/web3-eth-accounts/lib/esm/account.cjs +2 -2
- package/dist/node_modules/web3-eth-accounts/lib/esm/account.js +107 -103
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.cjs +1 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.js +135 -133
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.cjs +1 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.js +47 -31
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.cjs +1 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.js +18 -17
- package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +1 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +113 -111
- package/dist/node_modules/web3-eth-contract/lib/esm/encoding.cjs +1 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/encoding.js +27 -27
- package/dist/node_modules/web3-eth-contract/lib/esm/utils.cjs +1 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/utils.js +28 -40
- package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.js +10 -10
- package/dist/node_modules/web3-utils/lib/esm/converters.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/converters.js +78 -75
- package/dist/node_modules/web3-utils/lib/esm/formatter.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/formatter.js +8 -8
- package/dist/node_modules/web3-utils/lib/esm/hash.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/hash.js +44 -43
- package/dist/node_modules/web3-utils/lib/esm/index.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/index.js +64 -62
- package/dist/node_modules/web3-utils/lib/esm/socket_provider.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/socket_provider.js +78 -40
- package/dist/node_modules/web3-utils/lib/esm/uint8array.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/uint8array.js +16 -11
- package/dist/node_modules/web3-utils/lib/esm/validation.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/validation.js +45 -33
- package/dist/node_modules/web3-validator/lib/esm/utils.cjs +1 -1
- package/dist/node_modules/web3-validator/lib/esm/utils.js +127 -104
- package/dist/node_modules/web3-validator/lib/esm/validation/address.cjs +1 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/address.js +12 -11
- package/dist/node_modules/web3-validator/lib/esm/validation/bytes.cjs +1 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/bytes.js +17 -13
- package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.cjs +1 -1
- package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +7 -9
- package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/toPrimitive.cjs +1 -1
- package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +8 -8
- package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/toPropertyKey.cjs +1 -1
- package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +3 -3
- package/dist/prometheus-framework/node_modules/@capacitor/core/dist/index.cjs +1 -1
- package/dist/prometheus-framework/node_modules/@capacitor/core/dist/index.js +52 -52
- package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -1
- package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +2501 -2482
- package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.cjs +2 -1
- package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.js +75 -61
- package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.js +33 -33
- package/dist/prometheus-framework/node_modules/axios/lib/env/data.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/env/data.js +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.js +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.js +4 -2
- package/dist/prometheus-framework/node_modules/bignumber.js/bignumber.cjs +1 -0
- package/dist/prometheus-framework/node_modules/bignumber.js/bignumber.js +701 -0
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.cjs +1 -1
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +14 -7
- package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.cjs +1 -1
- package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.js +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue.js +2 -80
- package/dist/prometheus-framework/src/components/Address/Address.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue2.js +80 -2
- package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/Block/Block.vue.js +62 -0
- package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue2.js +15 -15
- package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue2.js +51 -40
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +21 -21
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +9 -7
- package/dist/prometheus-framework/src/components/DatePicker/DatePicker.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/DatePicker/DatePicker.vue.js +12 -13
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +2 -49
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +49 -2
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.js +53 -36
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +117 -0
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +48 -40
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +1 -2
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js +20 -10
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +2 -98
- package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue.js +2 -2
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +25 -27
- package/dist/prometheus-framework/src/components/Radio/Radio.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/Radio/Radio.vue.js +55 -0
- package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.js +55 -40
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.js +5 -5
- package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -0
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +45 -0
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +4 -0
- package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +2 -73
- package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +73 -2
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +3 -3
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +94 -33
- 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 +12 -12
- 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 +69 -61
- 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 +26 -27
- package/dist/prometheus-framework/src/modules/auth/localization/EnterCode.json.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/localization/EnterCode.json.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/localization/EnterPassword.json.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/localization/EnterPassword.json.js +7 -7
- package/dist/prometheus-framework/src/modules/auth/localization/ResetPassword.json.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/localization/ResetPassword.json.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/localization/SignIn.json.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/localization/SignIn.json.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/localization/SignUp.json.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/localization/SignUp.json.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/auth.js +30 -30
- 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.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.js +9 -9
- 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 +90 -47
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +166 -133
- 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 +86 -68
- 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 +105 -41
- package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.js +16 -16
- 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 +51 -42
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +14 -14
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.js +2 -2
- 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 +108 -94
- 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 +19 -19
- 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 +11 -11
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js +40 -29
- package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/store/blogposts.js +10 -9
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +27 -16
- 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 +21 -21
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +4 -3
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +31 -28
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +48 -0
- package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.js +33 -0
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Youtube.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Youtube.vue.js +13 -0
- 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 +106 -85
- 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 +31 -34
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +8 -8
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/events/router/events.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/router/events.js +1 -1
- 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/globals/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/localization/vue-i18n.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/localization/vue-i18n.js +13 -6
- package/dist/prometheus-framework/src/modules/globals/store/globals.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/store/globals.js +50 -22
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.js +13 -13
- package/dist/prometheus-framework/src/modules/icons/entities/IconEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconEvents.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.js +21 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconShopcart.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconShopcart.vue.js +21 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.js +21 -0
- package/dist/prometheus-framework/src/modules/icons/icons.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/icons.client.js +38 -34
- package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.js +7 -7
- package/dist/prometheus-framework/src/modules/icons/navigation/IconAdd.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconAdd.vue.js +30 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.js +12 -12
- package/dist/prometheus-framework/src/modules/icons/navigation/IconDelete.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconDelete.vue.js +27 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconMinus.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconMinus.vue.js +29 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconUpload.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/navigation/IconUpload.vue.js +33 -0
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.js +21 -0
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.js +28 -0
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.js +21 -20
- package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/icons/socials/line.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/line.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.js +7 -7
- package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +48 -35
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -0
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +63 -0
- package/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.cjs +1 -1
- package/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.js +6 -8
- package/dist/prometheus-framework/src/modules/middlewares/client/states.validation.cjs +1 -1
- package/dist/prometheus-framework/src/modules/middlewares/client/states.validation.js +5 -7
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.js +16 -22
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +4 -0
- 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 +61 -88
- 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 +104 -193
- 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 +29 -31
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.js +129 -0
- package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/orders.js +45 -36
- package/dist/prometheus-framework/src/modules/orders/store/shopcart.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/shopcart.js +27 -26
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +6 -6
- 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 +85 -79
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.js +10 -10
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Socials.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Socials.vue.js +29 -23
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +5 -5
- 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 +4 -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 +55 -169
- 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 +48 -59
- 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 +173 -94
- 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 +27 -20
- 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 +43 -33
- 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 +67 -63
- 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 +28 -30
- package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.js +2 -2
- 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/router/members.router.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/members.router.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +9 -6
- package/dist/prometheus-framework/src/modules/organizations/router/products.router.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/router/products.router.js +69 -20
- 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/organizations.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +38 -38
- package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +39 -44
- 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 +73 -44
- 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 +25 -54
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +39 -39
- 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 +12 -12
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +4 -0
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.js +18 -11
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.js +24 -24
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +140 -0
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.js +4 -0
- 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 +27 -23
- 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 +24 -25
- 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 +246 -102
- 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 +28 -24
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.js +23 -24
- 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 +56 -7
- 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 +82 -65
- 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 +71 -54
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.js +4 -0
- 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 +60 -86
- package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/store/leftovers.js +29 -37
- package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/store/products.js +32 -29
- 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 +43 -107
- package/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/store/spots.js +46 -40
- 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 +89 -94
- 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 +1 -1
- 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 +30 -30
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/users/router/users.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/router/users.js +2 -2
- 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 +80 -71
- package/dist/prometheus-framework/src/modules/wallet/store/wallet.cjs +1 -0
- package/dist/prometheus-framework/src/modules/wallet/store/wallet.js +29 -0
- package/dist/prometheus-framework.cjs.js +21 -21
- package/dist/prometheus-framework.es.js +1037 -1023
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/Countdown/Countdown.vue +75 -0
- package/src/components/EditImages/EditImages.vue +10 -2
- package/src/components/Upload/Upload.vue +32 -6
- package/src/components/UploadImage/UploadImage.vue +12 -8
- package/src/components/UploadImageMultiple/UploadImageMultiple.vue +4 -2
- package/src/modules/events/components/pages/EditEvent.vue +288 -1
- package/src/modules/events/components/pages/Event.vue +125 -46
- package/src/modules/events/components/sections/HeroEvent.vue +161 -0
- package/src/modules/events/components/sections/SectionLineup.vue +42 -0
- package/src/modules/events/components/sections/SectionMainGuest.vue +104 -0
- package/src/modules/events/components/sections/SectionPreviousEvents.vue +119 -0
- package/src/modules/events/components/sections/SectionSpecialGuests.vue +47 -0
- package/src/modules/events/controllers/events.controller.js +1 -0
- package/src/modules/events/controllers/utils/queryProcessor.js +2 -0
- package/src/modules/events/models/event.model.js +28 -0
- package/src/modules/events/store/events.js +4 -0
- package/src/modules/files/controllers/files.controller.js +3 -0
- package/src/modules/files/middlewares/server/middlewareBusboy.js +115 -100
- package/src/modules/files/routes/files.routes.js +3 -4
- package/src/modules/globals/globals.server.js +0 -1
- package/src/modules/orders/components/blocks/CardOrder.vue +5 -5
- package/src/modules/orders/components/blocks/StatusHistory.vue +84 -0
- package/src/modules/orders/components/pages/Order.vue +11 -54
- package/src/modules/orders/components/pages/Orders.vue +0 -4
- package/src/modules/orders/controllers/orders.controller.js +17 -9
- package/src/modules/orders/models/order.model.js +19 -0
- package/src/modules/orders/routes/orders.routes.js +4 -1
- package/src/modules/products/components/sections/FilterProducts.vue +9 -10
- package/src/modules/wallet/components/pages/Wallet.vue +2 -3
@@ -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/Loader/Loader.vue2.cjs");require("./Images360.vue2.cjs");const b=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),k={class:"product-360-viewer"},y=e.createStaticVNode('<svg class="pos-absolute z-index-2 pos-b-0 pd-small" width="73" height="50" viewBox="0 0 73 50" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-c6fa6581><path d="M42.5934 17.2017C42.5934 20.8208 39.8428 23.7544 36.45 23.7544C33.0573 23.7544 30.3066 20.8208 30.3066 17.2017C30.3066 13.5826 33.0573 10.6484 36.45 10.6484C39.8428 10.6484 42.5934 13.5826 42.5934 17.2017Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-c6fa6581></path><path d="M22.5953 29.4883H50.3053C53.7389 29.4883 56.5197 26.778 56.5197 23.4405V10.8396C56.5197 7.49996 53.739 4.79176 50.3053 4.79176H48.8712C48.2747 2.05313 45.7826 0 42.7962 0H30.1063C27.1179 0 24.6257 2.053 24.0313 4.78967H22.5971C19.1656 4.78967 16.3828 7.49788 16.3828 10.8375V23.4384C16.3807 26.778 19.1634 29.4882 22.595 29.4882L22.5953 29.4883ZM36.449 8.31471C41.4535 8.31471 45.5123 12.2648 45.5123 17.1352C45.5123 22.0062 41.4535 25.9582 36.449 25.9582C31.4445 25.9582 27.3856 22.0081 27.3856 17.1377C27.3856 12.2673 31.4445 8.31471 36.449 8.31471ZM20.9092 9.32597H24.0182C24.9472 9.32597 25.7019 10.0584 25.7019 10.9625C25.7019 11.8686 24.9493 12.6011 24.0182 12.6011H20.9092C19.9823 12.6011 19.2254 11.8707 19.2254 10.9625C19.2275 10.0604 19.9822 9.32597 20.9092 9.32597Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-c6fa6581></path><path d="M58.8645 12.2878C58.8645 12.2878 77.1839 21.8549 65.5604 32.0445C63.6718 33.6967 55.2747 38.9138 42.5947 39.9368V45.0519C50.0424 44.2514 61.7635 41.887 68.4037 34.9253C82.5323 20.1097 58.8657 12.2871 58.8657 12.2871L58.8645 12.2878Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-c6fa6581></path><path d="M37.6664 41.209L29.1818 35.5097C28.077 34.7658 27.1702 35.2358 27.1702 36.5516V39.5855C16.2598 38.0408 9.07761 33.565 7.35125 32.0517C-4.2894 21.858 14.0557 12.2871 14.0557 12.2871C14.0557 12.2871 -9.64257 20.1134 4.5039 34.9343C10.2723 40.9769 19.8619 43.5552 27.1712 44.656V44.952V48.5701C27.1712 49.8901 28.078 50.3554 29.1827 49.6141L37.6673 43.9127C38.7757 43.1683 38.7757 41.9525 37.6673 41.2092L37.6664 41.209Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-c6fa6581></path></svg>',1),V={key:0,class:"h-100 w-100 transition-ease"},I=["src"],B={__name:"Images360",props:{imagePath:{type:String,required:!0},imageCount:{type:Number,default:36},autoRotateSpeed:{type:Number,default:100}},setup(m){const n=m,r=e.ref(0),c=e.ref(!1),u=e.ref(0),v=e.ref(0);e.ref(!0);const g=async()=>{const t=[];for(let a=1;a<=n.imageCount;a++){const l=new Image;l.src=`${n.imagePath}/${a}.jpg`;try{await l.decode(),v.value++}catch(d){console.warn(`Failed to decode ${n.imagePath}/${a}.jpg:`,d)}t.push(l)}return t},C=e.computed(()=>Math.round(v.value/n.imageCount*100)),s=e.ref([]),o=e.ref(""),h=e.ref(null);e.watch(r,t=>{o.value=s.value[t]||""});function p(t){c.value=!0,u.value=t.clientX||t.touches[0].clientX}function f(t){if(!c.value)return;const a=t.clientX||t.touches[0].clientX,l=a-u.value;if(Math.abs(l)>=5){const d=l>0?1:-1;r.value=(r.value+d)%n.imageCount,r.value<0&&(r.value=n.imageCount-1),u.value=a}}function i(){c.value=!1}let _=null;const w=()=>{s.value=[]};return e.onMounted(async()=>{s.value=await g(),o.value=s.value[0]||""}),e.onUnmounted(()=>{clearInterval(_),w()}),(t,a)=>(e.openBlock(),e.createElementBlock("div",k,[y,e.createVNode(e.Transition,{name:"scale5",css:!h.value,appear:""},{default:e.withCtx(()=>[o.value?(e.openBlock(),e.createElementBlock("div",V,[o.value?(e.openBlock(),e.createElementBlock("img",{key:o.value,class:"h-100 w-100 transition-ease",src:(t.FILE_SERVER_URL||"")+o.value.src,alt:"360 product view",onMousedown:p,onMousemove:f,onMouseup:i,onMouseleave:i,onTouchstart:p,onTouchmove:f,onTouchend:i,onDragstart:a[0]||(a[0]=e.withModifiers(()=>{},["prevent"]))},null,40,I)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),_:1},8,["css"]),e.createVNode(e.Transition,{name:"scale5"},{default:e.withCtx(()=>[o.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(M.default,{key:0,progress:C.value,class:"center z-index-5"},null,8,["progress"]))]),_:1})]))}},L=b.default(B,[["__scopeId","data-v-c6fa6581"]]);exports.default=L;
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import { ref as a, computed as L, watch as x, onMounted as R, onUnmounted as H, openBlock as
|
2
|
-
import
|
1
|
+
import { ref as a, computed as L, watch as x, onMounted as R, onUnmounted as H, openBlock as c, createElementBlock as p, createVNode as h, Transition as _, withCtx as w, withModifiers as X, createCommentVNode as m, createBlock as Z, createStaticVNode as N } from "vue";
|
2
|
+
import B from "../../../../components/Loader/Loader.vue2.js";
|
3
3
|
import "./Images360.vue2.js";
|
4
|
-
import
|
5
|
-
const
|
4
|
+
import E from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
5
|
+
const P = { class: "product-360-viewer" }, S = /* @__PURE__ */ N('<svg class="pos-absolute z-index-2 pos-b-0 pd-small" width="73" height="50" viewBox="0 0 73 50" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-c6fa6581><path d="M42.5934 17.2017C42.5934 20.8208 39.8428 23.7544 36.45 23.7544C33.0573 23.7544 30.3066 20.8208 30.3066 17.2017C30.3066 13.5826 33.0573 10.6484 36.45 10.6484C39.8428 10.6484 42.5934 13.5826 42.5934 17.2017Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-c6fa6581></path><path d="M22.5953 29.4883H50.3053C53.7389 29.4883 56.5197 26.778 56.5197 23.4405V10.8396C56.5197 7.49996 53.739 4.79176 50.3053 4.79176H48.8712C48.2747 2.05313 45.7826 0 42.7962 0H30.1063C27.1179 0 24.6257 2.053 24.0313 4.78967H22.5971C19.1656 4.78967 16.3828 7.49788 16.3828 10.8375V23.4384C16.3807 26.778 19.1634 29.4882 22.595 29.4882L22.5953 29.4883ZM36.449 8.31471C41.4535 8.31471 45.5123 12.2648 45.5123 17.1352C45.5123 22.0062 41.4535 25.9582 36.449 25.9582C31.4445 25.9582 27.3856 22.0081 27.3856 17.1377C27.3856 12.2673 31.4445 8.31471 36.449 8.31471ZM20.9092 9.32597H24.0182C24.9472 9.32597 25.7019 10.0584 25.7019 10.9625C25.7019 11.8686 24.9493 12.6011 24.0182 12.6011H20.9092C19.9823 12.6011 19.2254 11.8707 19.2254 10.9625C19.2275 10.0604 19.9822 9.32597 20.9092 9.32597Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-c6fa6581></path><path d="M58.8645 12.2878C58.8645 12.2878 77.1839 21.8549 65.5604 32.0445C63.6718 33.6967 55.2747 38.9138 42.5947 39.9368V45.0519C50.0424 44.2514 61.7635 41.887 68.4037 34.9253C82.5323 20.1097 58.8657 12.2871 58.8657 12.2871L58.8645 12.2878Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-c6fa6581></path><path d="M37.6664 41.209L29.1818 35.5097C28.077 34.7658 27.1702 35.2358 27.1702 36.5516V39.5855C16.2598 38.0408 9.07761 33.565 7.35125 32.0517C-4.2894 21.858 14.0557 12.2871 14.0557 12.2871C14.0557 12.2871 -9.64257 20.1134 4.5039 34.9343C10.2723 40.9769 19.8619 43.5552 27.1712 44.656V44.952V48.5701C27.1712 49.8901 28.078 50.3554 29.1827 49.6141L37.6673 43.9127C38.7757 43.1683 38.7757 41.9525 37.6673 41.2092L37.6664 41.209Z" fill="rgb(var(--black))" fill-opacity="0.1" data-v-c6fa6581></path></svg>', 1), T = {
|
6
6
|
key: 0,
|
7
7
|
class: "h-100 w-100 transition-ease"
|
8
|
-
},
|
8
|
+
}, $ = ["src"], j = {
|
9
9
|
__name: "Images360",
|
10
10
|
props: {
|
11
11
|
imagePath: {
|
@@ -21,36 +21,36 @@ const S = { class: "product-360-viewer" }, T = /* @__PURE__ */ B('<svg class="po
|
|
21
21
|
default: 100
|
22
22
|
}
|
23
23
|
},
|
24
|
-
setup(
|
25
|
-
const
|
24
|
+
setup(M) {
|
25
|
+
const s = M, l = a(0), i = a(!1), u = a(0), f = a(0);
|
26
26
|
a(!0);
|
27
|
-
const
|
27
|
+
const b = async () => {
|
28
28
|
const e = [];
|
29
|
-
for (let t = 1; t <=
|
30
|
-
const
|
31
|
-
|
29
|
+
for (let t = 1; t <= s.imageCount; t++) {
|
30
|
+
const n = new Image();
|
31
|
+
n.src = `${s.imagePath}/${t}.jpg`;
|
32
32
|
try {
|
33
|
-
await
|
34
|
-
} catch (
|
35
|
-
console.warn(`Failed to decode ${
|
33
|
+
await n.decode(), f.value++;
|
34
|
+
} catch (v) {
|
35
|
+
console.warn(`Failed to decode ${s.imagePath}/${t}.jpg:`, v);
|
36
36
|
}
|
37
|
-
e.push(
|
37
|
+
e.push(n);
|
38
38
|
}
|
39
39
|
return e;
|
40
|
-
}, y = L(() => Math.round(f.value /
|
40
|
+
}, y = L(() => Math.round(f.value / s.imageCount * 100)), r = a([]), o = a(""), I = a(null);
|
41
41
|
x(l, (e) => {
|
42
|
-
o.value =
|
42
|
+
o.value = r.value[e] || "";
|
43
43
|
});
|
44
|
-
function
|
44
|
+
function g(e) {
|
45
45
|
i.value = !0, u.value = e.clientX || e.touches[0].clientX;
|
46
46
|
}
|
47
|
-
function
|
47
|
+
function C(e) {
|
48
48
|
if (!i.value)
|
49
49
|
return;
|
50
|
-
const t = e.clientX || e.touches[0].clientX,
|
51
|
-
if (Math.abs(
|
52
|
-
const
|
53
|
-
l.value = (l.value +
|
50
|
+
const t = e.clientX || e.touches[0].clientX, n = t - u.value;
|
51
|
+
if (Math.abs(n) >= 5) {
|
52
|
+
const v = n > 0 ? 1 : -1;
|
53
|
+
l.value = (l.value + v) % s.imageCount, l.value < 0 && (l.value = s.imageCount - 1), u.value = t;
|
54
54
|
}
|
55
55
|
}
|
56
56
|
function d() {
|
@@ -58,45 +58,45 @@ const S = { class: "product-360-viewer" }, T = /* @__PURE__ */ B('<svg class="po
|
|
58
58
|
}
|
59
59
|
let k = null;
|
60
60
|
const V = () => {
|
61
|
-
|
61
|
+
r.value = [];
|
62
62
|
};
|
63
63
|
return R(async () => {
|
64
|
-
|
64
|
+
r.value = await b(), o.value = r.value[0] || "";
|
65
65
|
}), H(() => {
|
66
66
|
clearInterval(k), V();
|
67
|
-
}), (e, t) => (
|
68
|
-
|
67
|
+
}), (e, t) => (c(), p("div", P, [
|
68
|
+
S,
|
69
69
|
h(_, {
|
70
70
|
name: "scale5",
|
71
71
|
css: !I.value,
|
72
72
|
appear: ""
|
73
73
|
}, {
|
74
74
|
default: w(() => [
|
75
|
-
o.value ? (
|
76
|
-
o.value ? (
|
75
|
+
o.value ? (c(), p("div", T, [
|
76
|
+
o.value ? (c(), p("img", {
|
77
77
|
key: o.value,
|
78
78
|
class: "h-100 w-100 transition-ease",
|
79
79
|
src: (e.FILE_SERVER_URL || "") + o.value.src,
|
80
80
|
alt: "360 product view",
|
81
|
-
onMousedown:
|
82
|
-
onMousemove:
|
81
|
+
onMousedown: g,
|
82
|
+
onMousemove: C,
|
83
83
|
onMouseup: d,
|
84
84
|
onMouseleave: d,
|
85
|
-
onTouchstart:
|
86
|
-
onTouchmove:
|
85
|
+
onTouchstart: g,
|
86
|
+
onTouchmove: C,
|
87
87
|
onTouchend: d,
|
88
88
|
onDragstart: t[0] || (t[0] = X(() => {
|
89
89
|
}, ["prevent"]))
|
90
|
-
}, null, 40,
|
91
|
-
])) :
|
90
|
+
}, null, 40, $)) : m("", !0)
|
91
|
+
])) : m("", !0)
|
92
92
|
]),
|
93
93
|
_: 1
|
94
94
|
}, 8, ["css"]),
|
95
95
|
h(_, { name: "scale5" }, {
|
96
96
|
default: w(() => [
|
97
|
-
o.value ?
|
97
|
+
o.value ? m("", !0) : (c(), Z(B, {
|
98
98
|
key: 0,
|
99
|
-
progress:
|
99
|
+
progress: y.value,
|
100
100
|
class: "center z-index-5"
|
101
101
|
}, null, 8, ["progress"]))
|
102
102
|
]),
|
@@ -104,7 +104,7 @@ const S = { class: "product-360-viewer" }, T = /* @__PURE__ */ B('<svg class="po
|
|
104
104
|
})
|
105
105
|
]));
|
106
106
|
}
|
107
|
-
},
|
107
|
+
}, D = /* @__PURE__ */ E(j, [["__scopeId", "data-v-c6fa6581"]]);
|
108
108
|
export {
|
109
|
-
|
109
|
+
D as default
|
110
110
|
};
|
package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("../../../../components/Popup/Popup.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("../../../../components/Popup/Popup.vue.cjs"),c=require("../../../../components/Magnifier/Magnifier.vue.cjs");require("./ImagesThumbnails.vue2.cjs");const d=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),p={class:"product-images"},m={class:"no-responsive cols-4 gap-thin"},_=["src","onClick"],g={__name:"ImagesThumbnails",props:{images:{type:Array,required:!0}},setup(o){const t=e.ref(!1),n=e.ref(0),a=s=>{n.value=s,t.value=!0},i=()=>{t.value=!1};return(s,v)=>(e.openBlock(),e.createElementBlock("div",p,[e.createElementVNode("div",m,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.images,(l,r)=>(e.openBlock(),e.createElementBlock("img",{key:r,src:(s.FILE_SERVER_URL||"")+l,onClick:h=>a(r),class:"radius-medium bg-white o-hidden thumbnail"},null,8,_))),128))]),e.createVNode(u.default,{onClosePopup:i,isPopupOpen:t.value,class:"radius-medium o-hidden"},{default:e.withCtx(()=>[e.createVNode(c.default,{imageSrc:(s.FILE_SERVER_URL||"")+o.images[n.value],class:"magnifier z-index-4"},null,8,["imageSrc"])]),_:1},8,["isPopupOpen"])]))}},f=d.default(g,[["__scopeId","data-v-5058c750"]]);exports.default=f;
|
package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
import { ref as r, openBlock as o, createElementBlock as i, createElementVNode as p, Fragment as d, renderList as _, createVNode as c, withCtx as
|
2
|
-
import
|
1
|
+
import { ref as r, openBlock as o, createElementBlock as i, createElementVNode as p, Fragment as d, renderList as _, createVNode as c, withCtx as g } from "vue";
|
2
|
+
import f from "../../../../components/Popup/Popup.vue.js";
|
3
3
|
import h from "../../../../components/Magnifier/Magnifier.vue.js";
|
4
4
|
import "./ImagesThumbnails.vue2.js";
|
5
5
|
import v from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
6
|
-
const
|
6
|
+
const E = { class: "product-images" }, I = { class: "no-responsive cols-4 gap-thin" }, P = ["src", "onClick"], R = {
|
7
7
|
__name: "ImagesThumbnails",
|
8
8
|
props: {
|
9
9
|
images: {
|
@@ -17,23 +17,23 @@ const b = { class: "product-images" }, P = { class: "no-responsive cols-4 thumbn
|
|
17
17
|
}, m = () => {
|
18
18
|
s.value = !1;
|
19
19
|
};
|
20
|
-
return (e,
|
21
|
-
p("div",
|
20
|
+
return (e, b) => (o(), i("div", E, [
|
21
|
+
p("div", I, [
|
22
22
|
(o(!0), i(d, null, _(t.images, (u, n) => (o(), i("img", {
|
23
23
|
key: n,
|
24
24
|
src: (e.FILE_SERVER_URL || "") + u,
|
25
|
-
onClick: (
|
25
|
+
onClick: (k) => l(n),
|
26
26
|
class: "radius-medium bg-white o-hidden thumbnail"
|
27
|
-
}, null, 8,
|
27
|
+
}, null, 8, P))), 128))
|
28
28
|
]),
|
29
|
-
c(
|
29
|
+
c(f, {
|
30
30
|
onClosePopup: m,
|
31
31
|
isPopupOpen: s.value,
|
32
32
|
class: "radius-medium o-hidden"
|
33
33
|
}, {
|
34
|
-
default:
|
34
|
+
default: g(() => [
|
35
35
|
c(h, {
|
36
|
-
imageSrc: e.
|
36
|
+
imageSrc: (e.FILE_SERVER_URL || "") + t.images[a.value],
|
37
37
|
class: "magnifier z-index-4"
|
38
38
|
}, null, 8, ["imageSrc"])
|
39
39
|
]),
|
@@ -41,7 +41,7 @@ const b = { class: "product-images" }, P = { class: "no-responsive cols-4 thumbn
|
|
41
41
|
}, 8, ["isPopupOpen"])
|
42
42
|
]));
|
43
43
|
}
|
44
|
-
},
|
44
|
+
}, y = /* @__PURE__ */ v(R, [["__scopeId", "data-v-5058c750"]]);
|
45
45
|
export {
|
46
|
-
|
46
|
+
y as default
|
47
47
|
};
|
package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="";exports.default=e;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./Price.vue2.cjs");const
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./Price.vue2.cjs");const l={key:0,class:"pd-r-small t-transp t-transp p-medium line-through price"},i={__name:"Price",props:{product:Object,size:String},setup(t){return(r,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["price-tag radius-small",{"bg-main":!t.product.sale,"bg-third-small":t.product.sale}])},[e.createElementVNode("p",{class:e.normalizeClass({h4:!t.size,"h5 t-semi pd-thin":t.size==="small","h3 t-semi pd-small":t.size==="big"})},e.toDisplayString(t.product.price)+" "+e.toDisplayString(r.returnCurrency()),3),t.product.sale?(e.openBlock(),e.createElementBlock("p",l,e.toDisplayString(t.product.price/100*(100+t.product.sale))+" "+e.toDisplayString(r.returnCurrency()),1)):e.createCommentVNode("",!0)],2))}};exports.default=i;
|
@@ -1,30 +1,37 @@
|
|
1
|
-
import { openBlock as
|
1
|
+
import { openBlock as a, createElementBlock as c, normalizeClass as i, createElementVNode as l, toDisplayString as t, createCommentVNode as s } from "vue";
|
2
2
|
import "./Price.vue2.js";
|
3
|
-
const
|
3
|
+
const n = {
|
4
4
|
key: 0,
|
5
|
-
class: "t-transp t-
|
6
|
-
},
|
5
|
+
class: "pd-r-small t-transp t-transp p-medium line-through price"
|
6
|
+
}, o = {
|
7
7
|
__name: "Price",
|
8
8
|
props: {
|
9
9
|
product: Object,
|
10
10
|
size: String
|
11
11
|
},
|
12
12
|
setup(e) {
|
13
|
-
return (r,
|
14
|
-
|
15
|
-
|
13
|
+
return (r, m) => (a(), c("div", {
|
14
|
+
class: i([
|
15
|
+
"price-tag radius-small",
|
16
|
+
{
|
17
|
+
"bg-main": !e.product.sale,
|
18
|
+
"bg-third-small": e.product.sale
|
19
|
+
}
|
20
|
+
])
|
21
|
+
}, [
|
22
|
+
l("p", {
|
23
|
+
class: i(
|
16
24
|
{
|
17
|
-
"t-main": e.product.sale,
|
18
25
|
h4: !e.size,
|
19
26
|
"h5 t-semi pd-thin": e.size === "small",
|
20
27
|
"h3 t-semi pd-small": e.size === "big"
|
21
28
|
}
|
22
29
|
)
|
23
30
|
}, t(e.product.price) + " " + t(r.returnCurrency()), 3),
|
24
|
-
e.product.sale ? (
|
25
|
-
]));
|
31
|
+
e.product.sale ? (a(), c("p", n, t(e.product.price / 100 * (100 + e.product.sale)) + " " + t(r.returnCurrency()), 1)) : s("", !0)
|
32
|
+
], 2));
|
26
33
|
}
|
27
34
|
};
|
28
35
|
export {
|
29
|
-
|
36
|
+
o as default
|
30
37
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./THC.vue2.cjs");const o={key:0,class:"thc"},n={class:"t-bold t-white"},
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./THC.vue2.cjs");const o={key:0,class:"thc"},n={class:"t-bold t-white"},r=e.createElementVNode("p",{class:"t-white h6"},"THC",-1),i={key:0,width:"60",height:"66",viewBox:"0 0 60 66",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l=e.createElementVNode("path",{fill:"#FF0000",stroke:"rgb(var(--white))","stroke-width":"3",d:"M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"},null,-1),c=[l],s={key:1,width:"60",height:"66",viewBox:"0 0 60 66",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d=e.createElementVNode("path",{fill:"#FF0099",stroke:"rgb(var(--white))","stroke-width":"3",d:"M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"},null,-1),a=[d],h={key:2,width:"60",height:"66",viewBox:"0 0 60 66",fill:"none",xmlns:"http://www.w3.org/2000/svg"},u=e.createElementVNode("path",{fill:"#EB00FF",stroke:"rgb(var(--white))","stroke-width":"3",d:"M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"},null,-1),m=[u],w={key:3,width:"60",height:"66",viewBox:"0 0 60 66",fill:"none",xmlns:"http://www.w3.org/2000/svg"},C=e.createElementVNode("path",{fill:"#00FF29",stroke:"rgb(var(--white))","stroke-width":"3",d:"M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"},null,-1),v=[C],_={__name:"THC",props:{product:Object},setup(t){return(g,k)=>t.product.information[1]?(e.openBlock(),e.createElementBlock("div",o,[e.createElementVNode("p",n,e.toDisplayString(t.product.information[1].value)+" %",1),r,Number(t.product.information[1].value)>=18?(e.openBlock(),e.createElementBlock("svg",i,c)):e.createCommentVNode("",!0),Number(t.product.information[1].value)<=18&&Number(t.product.information[1].value)>=14?(e.openBlock(),e.createElementBlock("svg",s,a)):e.createCommentVNode("",!0),Number(t.product.information[1].value)<=14&&Number(t.product.information[1].value)>=10?(e.openBlock(),e.createElementBlock("svg",h,m)):e.createCommentVNode("",!0),Number(t.product.information[1].value)<=10?(e.openBlock(),e.createElementBlock("svg",w,v)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)}};exports.default=_;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { openBlock as o, createElementBlock as i, createElementVNode as e, toDisplayString as s, createCommentVNode as n } from "vue";
|
2
2
|
import "./THC.vue2.js";
|
3
|
-
const
|
3
|
+
const r = {
|
4
4
|
key: 0,
|
5
5
|
class: "thc"
|
6
|
-
},
|
6
|
+
}, h = { class: "t-bold t-white" }, l = /* @__PURE__ */ e("p", { class: "t-white h6" }, "THC", -1), d = {
|
7
7
|
key: 0,
|
8
8
|
width: "60",
|
9
9
|
height: "66",
|
@@ -12,25 +12,25 @@ const h = {
|
|
12
12
|
xmlns: "http://www.w3.org/2000/svg"
|
13
13
|
}, c = /* @__PURE__ */ e("path", {
|
14
14
|
fill: "#FF0000",
|
15
|
-
stroke: "white",
|
15
|
+
stroke: "rgb(var(--white))",
|
16
16
|
"stroke-width": "3",
|
17
17
|
d: "M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"
|
18
|
-
}, null, -1),
|
18
|
+
}, null, -1), a = [
|
19
19
|
c
|
20
|
-
],
|
20
|
+
], u = {
|
21
21
|
key: 1,
|
22
22
|
width: "60",
|
23
23
|
height: "66",
|
24
24
|
viewBox: "0 0 60 66",
|
25
25
|
fill: "none",
|
26
26
|
xmlns: "http://www.w3.org/2000/svg"
|
27
|
-
},
|
27
|
+
}, w = /* @__PURE__ */ e("path", {
|
28
28
|
fill: "#FF0099",
|
29
|
-
stroke: "white",
|
29
|
+
stroke: "rgb(var(--white))",
|
30
30
|
"stroke-width": "3",
|
31
31
|
d: "M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"
|
32
32
|
}, null, -1), m = [
|
33
|
-
|
33
|
+
w
|
34
34
|
], C = {
|
35
35
|
key: 2,
|
36
36
|
width: "60",
|
@@ -38,43 +38,43 @@ const h = {
|
|
38
38
|
viewBox: "0 0 60 66",
|
39
39
|
fill: "none",
|
40
40
|
xmlns: "http://www.w3.org/2000/svg"
|
41
|
-
},
|
41
|
+
}, v = /* @__PURE__ */ e("path", {
|
42
42
|
fill: "#EB00FF",
|
43
|
-
stroke: "white",
|
43
|
+
stroke: "rgb(var(--white))",
|
44
44
|
"stroke-width": "3",
|
45
45
|
d: "M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"
|
46
|
-
}, null, -1),
|
47
|
-
|
48
|
-
],
|
46
|
+
}, null, -1), _ = [
|
47
|
+
v
|
48
|
+
], g = {
|
49
49
|
key: 3,
|
50
50
|
width: "60",
|
51
51
|
height: "66",
|
52
52
|
viewBox: "0 0 60 66",
|
53
53
|
fill: "none",
|
54
54
|
xmlns: "http://www.w3.org/2000/svg"
|
55
|
-
},
|
55
|
+
}, f = /* @__PURE__ */ e("path", {
|
56
56
|
fill: "#00FF29",
|
57
|
-
stroke: "white",
|
57
|
+
stroke: "rgb(var(--white))",
|
58
58
|
"stroke-width": "3",
|
59
59
|
d: "M26 3.3094C28.4752 1.88034 31.5248 1.88034 34 3.3094L53.7128 14.6906C56.188 16.1197 57.7128 18.7607 57.7128 21.6188V44.3812C57.7128 47.2393 56.188 49.8803 53.7128 51.3094L34 62.6906C31.5248 64.1197 28.4752 64.1197 26 62.6906L6.28719 51.3094C3.81198 49.8803 2.28719 47.2393 2.28719 44.3812V21.6188C2.28719 18.7607 3.81198 16.1197 6.28719 14.6906L26 3.3094Z"
|
60
60
|
}, null, -1), L = [
|
61
|
-
|
62
|
-
],
|
61
|
+
f
|
62
|
+
], V = {
|
63
63
|
__name: "THC",
|
64
64
|
props: {
|
65
65
|
product: Object
|
66
66
|
},
|
67
67
|
setup(t) {
|
68
|
-
return (k, p) => t.product.information[1] ? (o(), i("div",
|
69
|
-
e("p",
|
68
|
+
return (k, p) => t.product.information[1] ? (o(), i("div", r, [
|
69
|
+
e("p", h, s(t.product.information[1].value) + " %", 1),
|
70
70
|
l,
|
71
|
-
Number(t.product.information[1].value) >= 18 ? (o(), i("svg", d,
|
72
|
-
Number(t.product.information[1].value) <= 18 && Number(t.product.information[1].value) >= 14 ? (o(), i("svg",
|
73
|
-
Number(t.product.information[1].value) <= 14 && Number(t.product.information[1].value) >= 10 ? (o(), i("svg", C,
|
74
|
-
Number(t.product.information[1].value) <= 10 ? (o(), i("svg",
|
71
|
+
Number(t.product.information[1].value) >= 18 ? (o(), i("svg", d, a)) : n("", !0),
|
72
|
+
Number(t.product.information[1].value) <= 18 && Number(t.product.information[1].value) >= 14 ? (o(), i("svg", u, m)) : n("", !0),
|
73
|
+
Number(t.product.information[1].value) <= 14 && Number(t.product.information[1].value) >= 10 ? (o(), i("svg", C, _)) : n("", !0),
|
74
|
+
Number(t.product.information[1].value) <= 10 ? (o(), i("svg", g, L)) : n("", !0)
|
75
75
|
])) : n("", !0);
|
76
76
|
}
|
77
77
|
};
|
78
78
|
export {
|
79
|
-
|
79
|
+
V as default
|
80
80
|
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("../../../../components/Block/Block.vue.cjs");require("../../../../components/Field/Field.vue.cjs");const g=require("../../../../components/Select/Select.vue.cjs");require("../../../../components/SelectMulti/SelectMulti.vue2.cjs");const p=require("../blocks/CardPosition.vue.cjs"),f=require("vue-router"),l=require("../../../globals/store/globals.cjs"),t=require("../../store/leftovers.cjs"),m=require("../../store/products.cjs");require("./EditLeftover.vue2.cjs");const h={class:"mn-b-medium gap-small flex-v-center flex-nowrap flex"},N={class:""},q={class:"gap-thin flex-v-center flex-nojustify flex"},B={class:"mn-r-auto"},V={__name:"EditLeftover",setup(E){const s=f.useRoute(),c=f.useRouter(),i=e.ref(m.state.all);e.ref(null);const v=e.computed(()=>t.state.current.positions.reduce((o,r)=>o+r.price*(r.quantity||1),0));e.onMounted(async()=>{if(s.params.leftover)try{await t.actions.fetch(s.params.leftover)}catch{console.error("error")}else t.state.current={type:"",order:"",positions:[]};try{const o=await m.actions.read({organization:s.params._id,limit:100});i.value=o}catch{console.error("error")}});function k(){s.params.leftover?t.actions.fetch(s.params.leftover):t.state.current={type:"",order:"",positions:[]}}function y(){s.params.leftover?t.actions.update(t.state.current).then(()=>c.push({name:"Backoffice Leftovers"}),o=>console.error("error")):t.actions.create(t.state.current).then(()=>c.push({name:"Backoffice Leftovers"}),o=>console.error("error"))}function b(){t.actions.delete(s.params.leftover).then(()=>c.push({name:"Backoffice Leftovers"}),o=>console.error("error"))}return(o,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("header",h,[e.createElementVNode("h2",N,e.toDisplayString(e.unref(s).params.leftover?"Edit ":"Add ")+" Inventory",1),e.createVNode(g.default,{select:t.state.current.type,"onUpdate:select":r[0]||(r[0]=n=>t.state.current.type=n),options:["stock-in","stock-out","write-off"],placeholder:"Select type",class:"bg-main t-black w-max pd-small t-semi p-big uppercase radius-small"},null,8,["select"])]),e.createVNode(u.default,{title:"Add Position",class:"mn-b-semi"},{default:e.withCtx(()=>[e.createVNode(p.default,{onAdd:r[1]||(r[1]=n=>l.actions.add(t.state.current.positions,n)),products:i.value},null,8,["products"])]),_:1}),e.createVNode(u.default,{title:"Invetory Sheet",placeholder:"No positions added yet",class:"mn-b-semi"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.state.current.positions,(n,d)=>(e.openBlock(),e.createBlock(p.default,{key:n._id,product:n,array:t.state.current.positions,products:i.value,onAdd:r[2]||(r[2]=a=>l.actions.add(t.state.current.positions,a)),onUpdate:a=>l.actions.update(t.state.current.positions,a,d),onDelete:a=>l.actions.delete(t.state.current.positions,a,d)},null,8,["product","array","products","onUpdate","onDelete"]))),128))]),_:1}),e.createVNode(u.default,{class:""},{default:e.withCtx(()=>[e.createElementVNode("section",q,[e.createElementVNode("h3",B," In total: "+e.toDisplayString(o.formatPrice(v.value)),1),e.createElementVNode("a",{onClick:r[3]||(r[3]=n=>y()),class:"bg-main button"}," Save "),e.createElementVNode("a",{class:"t-white bg-second button",onClick:r[4]||(r[4]=n=>k())}," Reset "),e.unref(s).params.leftover?(e.openBlock(),e.createElementBlock("a",{key:0,onClick:r[5]||(r[5]=n=>b()),class:"t-white bg-red button"}," Delete ")):e.createCommentVNode("",!0)])]),_:1})],64))}};exports.default=V;
|
@@ -0,0 +1,140 @@
|
|
1
|
+
import { ref as k, computed as S, onMounted as C, openBlock as c, createElementBlock as d, Fragment as b, createElementVNode as n, toDisplayString as h, unref as _, createVNode as i, withCtx as f, renderList as D, createBlock as L, createCommentVNode as R } from "vue";
|
2
|
+
import v from "../../../../components/Block/Block.vue.js";
|
3
|
+
import "../../../../components/Field/Field.vue.js";
|
4
|
+
import A from "../../../../components/Select/Select.vue.js";
|
5
|
+
import "../../../../components/SelectMulti/SelectMulti.vue2.js";
|
6
|
+
import g from "../blocks/CardPosition.vue.js";
|
7
|
+
import { useRoute as E, useRouter as N } from "vue-router";
|
8
|
+
import { actions as u } from "../../../globals/store/globals.js";
|
9
|
+
import { state as t, actions as l } from "../../store/leftovers.js";
|
10
|
+
import { state as P, actions as I } from "../../store/products.js";
|
11
|
+
import "./EditLeftover.vue2.js";
|
12
|
+
const U = { class: "mn-b-medium gap-small flex-v-center flex-nowrap flex" }, V = { class: "" }, j = { class: "gap-thin flex-v-center flex-nojustify flex" }, q = { class: "mn-r-auto" }, Y = {
|
13
|
+
__name: "EditLeftover",
|
14
|
+
setup(z) {
|
15
|
+
const o = E(), p = N(), m = k(P.all);
|
16
|
+
k(null);
|
17
|
+
const w = S(() => t.current.positions.reduce((r, e) => r + e.price * (e.quantity || 1), 0));
|
18
|
+
C(async () => {
|
19
|
+
if (o.params.leftover)
|
20
|
+
try {
|
21
|
+
await l.fetch(o.params.leftover);
|
22
|
+
} catch {
|
23
|
+
console.error("error");
|
24
|
+
}
|
25
|
+
else
|
26
|
+
t.current = { type: "", order: "", positions: [] };
|
27
|
+
try {
|
28
|
+
const r = await I.read({
|
29
|
+
organization: o.params._id,
|
30
|
+
limit: 100
|
31
|
+
});
|
32
|
+
m.value = r;
|
33
|
+
} catch {
|
34
|
+
console.error("error");
|
35
|
+
}
|
36
|
+
});
|
37
|
+
function x() {
|
38
|
+
o.params.leftover ? l.fetch(o.params.leftover) : t.current = { type: "", order: "", positions: [] };
|
39
|
+
}
|
40
|
+
function $() {
|
41
|
+
o.params.leftover ? l.update(t.current).then(
|
42
|
+
() => p.push({ name: "Backoffice Leftovers" }),
|
43
|
+
(r) => console.error("error")
|
44
|
+
) : l.create(t.current).then(
|
45
|
+
() => p.push({ name: "Backoffice Leftovers" }),
|
46
|
+
(r) => console.error("error")
|
47
|
+
);
|
48
|
+
}
|
49
|
+
function B() {
|
50
|
+
l.delete(o.params.leftover).then(
|
51
|
+
() => p.push({ name: "Backoffice Leftovers" }),
|
52
|
+
(r) => console.error("error")
|
53
|
+
);
|
54
|
+
}
|
55
|
+
return (r, e) => (c(), d(b, null, [
|
56
|
+
n("header", U, [
|
57
|
+
n("h2", V, h(_(o).params.leftover ? "Edit " : "Add ") + " Inventory", 1),
|
58
|
+
i(A, {
|
59
|
+
select: t.current.type,
|
60
|
+
"onUpdate:select": e[0] || (e[0] = (s) => t.current.type = s),
|
61
|
+
options: [
|
62
|
+
"stock-in",
|
63
|
+
"stock-out",
|
64
|
+
"write-off"
|
65
|
+
],
|
66
|
+
placeholder: "Select type",
|
67
|
+
class: "bg-main t-black w-max pd-small t-semi p-big uppercase radius-small"
|
68
|
+
}, null, 8, ["select"])
|
69
|
+
]),
|
70
|
+
i(v, {
|
71
|
+
title: "Add Position",
|
72
|
+
class: "mn-b-semi"
|
73
|
+
}, {
|
74
|
+
default: f(() => [
|
75
|
+
i(g, {
|
76
|
+
onAdd: e[1] || (e[1] = (s) => u.add(
|
77
|
+
t.current.positions,
|
78
|
+
s
|
79
|
+
)),
|
80
|
+
products: m.value
|
81
|
+
}, null, 8, ["products"])
|
82
|
+
]),
|
83
|
+
_: 1
|
84
|
+
}),
|
85
|
+
i(v, {
|
86
|
+
title: "Invetory Sheet",
|
87
|
+
placeholder: "No positions added yet",
|
88
|
+
class: "mn-b-semi"
|
89
|
+
}, {
|
90
|
+
default: f(() => [
|
91
|
+
(c(!0), d(b, null, D(t.current.positions, (s, y) => (c(), L(g, {
|
92
|
+
key: s._id,
|
93
|
+
product: s,
|
94
|
+
array: t.current.positions,
|
95
|
+
products: m.value,
|
96
|
+
onAdd: e[2] || (e[2] = (a) => u.add(
|
97
|
+
t.current.positions,
|
98
|
+
a
|
99
|
+
)),
|
100
|
+
onUpdate: (a) => u.update(
|
101
|
+
t.current.positions,
|
102
|
+
a,
|
103
|
+
y
|
104
|
+
),
|
105
|
+
onDelete: (a) => u.delete(
|
106
|
+
t.current.positions,
|
107
|
+
a,
|
108
|
+
y
|
109
|
+
)
|
110
|
+
}, null, 8, ["product", "array", "products", "onUpdate", "onDelete"]))), 128))
|
111
|
+
]),
|
112
|
+
_: 1
|
113
|
+
}),
|
114
|
+
i(v, { class: "" }, {
|
115
|
+
default: f(() => [
|
116
|
+
n("section", j, [
|
117
|
+
n("h3", q, " In total: " + h(r.formatPrice(w.value)), 1),
|
118
|
+
n("a", {
|
119
|
+
onClick: e[3] || (e[3] = (s) => $()),
|
120
|
+
class: "bg-main button"
|
121
|
+
}, " Save "),
|
122
|
+
n("a", {
|
123
|
+
class: "t-white bg-second button",
|
124
|
+
onClick: e[4] || (e[4] = (s) => x())
|
125
|
+
}, " Reset "),
|
126
|
+
_(o).params.leftover ? (c(), d("a", {
|
127
|
+
key: 0,
|
128
|
+
onClick: e[5] || (e[5] = (s) => B()),
|
129
|
+
class: "t-white bg-red button"
|
130
|
+
}, " Delete ")) : R("", !0)
|
131
|
+
])
|
132
|
+
]),
|
133
|
+
_: 1
|
134
|
+
})
|
135
|
+
], 64));
|
136
|
+
}
|
137
|
+
};
|
138
|
+
export {
|
139
|
+
Y as default
|
140
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="";exports.default=e;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("vue-router"),d=require("../../../../components/Tab/Tab.vue2.cjs"),m=require("
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),u=require("vue-router"),d=require("../../../../components/Tab/Tab.vue2.cjs"),m=require("../../../../components/Feed/Feed.vue.cjs"),f=require("../blocks/CardLeftover.vue.cjs"),i=require("../../store/leftovers.cjs");require("./Leftovers.vue2.cjs");const v={class:"pd-thin"},p={class:"mn-b-medium flex-v-center flex-nowrap flex"},b=e.createElementVNode("h2",{class:"mn-r-medium"},"Inventory",-1),g={class:"mn-b-semi pd-medium bg-grey radius-big"},_=e.createElementVNode("p",{class:"mn-b-thin"},"Spended:",-1),h={__name:"Leftovers",setup(k){const s=u.useRoute();u.useRouter();const l=e.ref(s.query.tab?s.query.tab:"all"),c=e.computed(()=>i.state.all.reduce((o,r)=>{const t=r.positions.reduce((n,a)=>n+a.price*(a.quantity||1),0);return o+t},0));return(o,r)=>(e.openBlock(),e.createElementBlock("div",v,[e.createElementVNode("header",p,[b,e.createElementVNode("button",{onClick:r[0]||(r[0]=t=>o.$router.push({name:"LeftoverAdd"})),class:"radius-100 i-big hover-scale-1 cursor-pointer t-white bg-second"}," + ")]),e.createElementVNode("section",g,[_,e.createElementVNode("h3",null,e.toDisplayString(o.formatPrice(c.value)),1)]),e.createVNode(d.default,{selected:l.value,"onUpdate:selected":r[1]||(r[1]=t=>l.value=t),tabs:[{name:"All",value:"all"},{name:"Stock-In",value:"stock-in"},{name:"Stock-Out",value:"stock-out"},{name:"Write-Off",value:"write-off"}],class:"mn-b-small o-hidden h5 radius-big bg-grey"},null,8,["selected"]),e.createVNode(m.default,{states:{empty:{title:"No Leftovers Found",description:"Currently, there are no leftovers available."}},store:{read:t=>i.actions.read(t)},options:{limit:15,organization:e.unref(s).params._id}},{default:e.withCtx(({items:t})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t,n=>(e.openBlock(),e.createBlock(f.default,{leftover:n,class:"bg-grey pd-small radius-big"},null,8,["leftover"]))),256))]),_:1},8,["states","store","options"])]))}};exports.default=h;
|