@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,82 +1,4 @@
|
|
1
|
-
|
2
|
-
import "./Address.vue2.js";
|
3
|
-
import S from "../../../../_virtual/_plugin-vue_export-helper.js";
|
4
|
-
const V = {
|
5
|
-
key: 0,
|
6
|
-
class: "t-transp mn-r-small"
|
7
|
-
}, B = ["placeholder", "value"], L = {
|
8
|
-
key: 0,
|
9
|
-
class: "mn-t-thin invalid-feedback"
|
10
|
-
}, P = {
|
11
|
-
__name: "Address",
|
12
|
-
props: {
|
13
|
-
apiKey: {
|
14
|
-
type: String,
|
15
|
-
required: !0
|
16
|
-
},
|
17
|
-
label: null,
|
18
|
-
placeholder: "Enter something here",
|
19
|
-
field: null,
|
20
|
-
location: {
|
21
|
-
type: Object,
|
22
|
-
default: { lat: 48.6900735, lng: 41.1620239 }
|
23
|
-
},
|
24
|
-
address: {
|
25
|
-
type: String,
|
26
|
-
default: ""
|
27
|
-
}
|
28
|
-
},
|
29
|
-
emits: ["update:address", "update:location", "update:country", "update:state", "update:city"],
|
30
|
-
setup(a, { emit: _ }) {
|
31
|
-
const i = a, n = _, o = b(null);
|
32
|
-
let s;
|
33
|
-
const u = () => {
|
34
|
-
s = new google.maps.places.Autocomplete(o.value), s.addListener("place_changed", v);
|
35
|
-
}, h = () => {
|
36
|
-
s || u();
|
37
|
-
}, v = () => {
|
38
|
-
const e = s.getPlace();
|
39
|
-
if (!e.geometry || !e.address_components)
|
40
|
-
return;
|
41
|
-
let l = "", p = "", m = "";
|
42
|
-
for (let d = 0; d < e.address_components.length; d++) {
|
43
|
-
console.log(e.address_components);
|
44
|
-
let t = e.address_components[d];
|
45
|
-
t.types.includes("country") && (l = t.long_name), t.types.includes("administrative_area_level_1") && (p = t.long_name), t.types.includes("locality") && (m = t.long_name);
|
46
|
-
}
|
47
|
-
const w = e.formatted_address, k = { lat: e.geometry.location.lat(), lng: e.geometry.location.lng() };
|
48
|
-
n("update:address", w), n("update:location", k), n("update:country", l), n("update:state", p), n("update:city", m);
|
49
|
-
};
|
50
|
-
return A(() => {
|
51
|
-
i.address !== o.value && (o.value = i.address);
|
52
|
-
}), I(() => {
|
53
|
-
u();
|
54
|
-
}), (e, l) => (c(), r("div", {
|
55
|
-
class: C([e.$attrs.class, "flex-nowrap flex"])
|
56
|
-
}, [
|
57
|
-
a.label ? (c(), r("div", V, [
|
58
|
-
f("span", null, y(a.label), 1)
|
59
|
-
])) : g("", !0),
|
60
|
-
f("input", {
|
61
|
-
ref_key: "addressInput",
|
62
|
-
ref: o,
|
63
|
-
class: "w-100",
|
64
|
-
placeholder: a.placeholder,
|
65
|
-
value: a.address,
|
66
|
-
onInput: h
|
67
|
-
}, null, 40, B),
|
68
|
-
E(x, {
|
69
|
-
mode: "out-in",
|
70
|
-
name: "fade"
|
71
|
-
}, {
|
72
|
-
default: N(() => [
|
73
|
-
e.validation ? (c(), r("div", L, " * " + y(e.validation.message), 1)) : g("", !0)
|
74
|
-
]),
|
75
|
-
_: 1
|
76
|
-
})
|
77
|
-
], 2));
|
78
|
-
}
|
79
|
-
}, D = /* @__PURE__ */ S(P, [["__scopeId", "data-v-faece1a6"]]);
|
1
|
+
const e = "";
|
80
2
|
export {
|
81
|
-
|
3
|
+
e as default
|
82
4
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="";
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./Address.vue.cjs");const v=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),h={key:0,class:"t-transp mn-r-small"},k=["placeholder","value"],b={key:0,class:"mn-t-thin invalid-feedback"},w={__name:"Address",props:{apiKey:{type:String,required:!0},label:null,placeholder:"Enter something here",field:null,location:{type:Object,default:{lat:48.6900735,lng:41.1620239}},address:{type:String,default:""}},emits:["update:address","update:location","update:country","update:state","update:city"],setup(n,{emit:m}){const r=n,l=m,o=e.ref(null);let s;const i=()=>{s=new google.maps.places.Autocomplete(o.value),s.addListener("place_changed",g)},f=()=>{s||i()},g=()=>{const t=s.getPlace();if(!t.geometry||!t.address_components)return;let d="",u="",p="";for(let c=0;c<t.address_components.length;c++){console.log(t.address_components);let a=t.address_components[c];a.types.includes("country")&&(d=a.long_name),a.types.includes("administrative_area_level_1")&&(u=a.long_name),a.types.includes("locality")&&(p=a.long_name)}const y=t.formatted_address,_={lat:t.geometry.location.lat(),lng:t.geometry.location.lng()};l("update:address",y),l("update:location",_),l("update:country",d),l("update:state",u),l("update:city",p)};return e.watchEffect(()=>{r.address!==o.value&&(o.value=r.address)}),e.onMounted(()=>{i()}),(t,d)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([t.$attrs.class,"flex-nowrap flex"])},[n.label?(e.openBlock(),e.createElementBlock("div",h,[e.createElementVNode("span",null,e.toDisplayString(n.label),1)])):e.createCommentVNode("",!0),e.createElementVNode("input",{ref_key:"addressInput",ref:o,class:"w-100",placeholder:n.placeholder,value:n.address,onInput:f},null,40,k),e.createVNode(e.Transition,{mode:"out-in",name:"fade"},{default:e.withCtx(()=>[t.validation?(e.openBlock(),e.createElementBlock("div",b," * "+e.toDisplayString(t.validation.message),1)):e.createCommentVNode("",!0)]),_:1})],2))}},E=v.default(w,[["__scopeId","data-v-faece1a6"]]);exports.default=E;
|
@@ -1,4 +1,82 @@
|
|
1
|
-
|
1
|
+
import { ref as b, watchEffect as A, onMounted as I, openBlock as c, createElementBlock as r, normalizeClass as C, createElementVNode as f, toDisplayString as y, createCommentVNode as g, createVNode as E, Transition as x, withCtx as N } from "vue";
|
2
|
+
import "./Address.vue.js";
|
3
|
+
import S from "../../../../_virtual/_plugin-vue_export-helper.js";
|
4
|
+
const V = {
|
5
|
+
key: 0,
|
6
|
+
class: "t-transp mn-r-small"
|
7
|
+
}, B = ["placeholder", "value"], L = {
|
8
|
+
key: 0,
|
9
|
+
class: "mn-t-thin invalid-feedback"
|
10
|
+
}, P = {
|
11
|
+
__name: "Address",
|
12
|
+
props: {
|
13
|
+
apiKey: {
|
14
|
+
type: String,
|
15
|
+
required: !0
|
16
|
+
},
|
17
|
+
label: null,
|
18
|
+
placeholder: "Enter something here",
|
19
|
+
field: null,
|
20
|
+
location: {
|
21
|
+
type: Object,
|
22
|
+
default: { lat: 48.6900735, lng: 41.1620239 }
|
23
|
+
},
|
24
|
+
address: {
|
25
|
+
type: String,
|
26
|
+
default: ""
|
27
|
+
}
|
28
|
+
},
|
29
|
+
emits: ["update:address", "update:location", "update:country", "update:state", "update:city"],
|
30
|
+
setup(a, { emit: _ }) {
|
31
|
+
const i = a, n = _, o = b(null);
|
32
|
+
let s;
|
33
|
+
const u = () => {
|
34
|
+
s = new google.maps.places.Autocomplete(o.value), s.addListener("place_changed", v);
|
35
|
+
}, h = () => {
|
36
|
+
s || u();
|
37
|
+
}, v = () => {
|
38
|
+
const e = s.getPlace();
|
39
|
+
if (!e.geometry || !e.address_components)
|
40
|
+
return;
|
41
|
+
let l = "", p = "", m = "";
|
42
|
+
for (let d = 0; d < e.address_components.length; d++) {
|
43
|
+
console.log(e.address_components);
|
44
|
+
let t = e.address_components[d];
|
45
|
+
t.types.includes("country") && (l = t.long_name), t.types.includes("administrative_area_level_1") && (p = t.long_name), t.types.includes("locality") && (m = t.long_name);
|
46
|
+
}
|
47
|
+
const w = e.formatted_address, k = { lat: e.geometry.location.lat(), lng: e.geometry.location.lng() };
|
48
|
+
n("update:address", w), n("update:location", k), n("update:country", l), n("update:state", p), n("update:city", m);
|
49
|
+
};
|
50
|
+
return A(() => {
|
51
|
+
i.address !== o.value && (o.value = i.address);
|
52
|
+
}), I(() => {
|
53
|
+
u();
|
54
|
+
}), (e, l) => (c(), r("div", {
|
55
|
+
class: C([e.$attrs.class, "flex-nowrap flex"])
|
56
|
+
}, [
|
57
|
+
a.label ? (c(), r("div", V, [
|
58
|
+
f("span", null, y(a.label), 1)
|
59
|
+
])) : g("", !0),
|
60
|
+
f("input", {
|
61
|
+
ref_key: "addressInput",
|
62
|
+
ref: o,
|
63
|
+
class: "w-100",
|
64
|
+
placeholder: a.placeholder,
|
65
|
+
value: a.address,
|
66
|
+
onInput: h
|
67
|
+
}, null, 40, B),
|
68
|
+
E(x, {
|
69
|
+
mode: "out-in",
|
70
|
+
name: "fade"
|
71
|
+
}, {
|
72
|
+
default: N(() => [
|
73
|
+
e.validation ? (c(), r("div", L, " * " + y(e.validation.message), 1)) : g("", !0)
|
74
|
+
]),
|
75
|
+
_: 1
|
76
|
+
})
|
77
|
+
], 2));
|
78
|
+
}
|
79
|
+
}, D = /* @__PURE__ */ S(P, [["__scopeId", "data-v-faece1a6"]]);
|
2
80
|
export {
|
3
|
-
|
81
|
+
D as default
|
4
82
|
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("../Tooltip/Tooltip.vue.cjs"),c={class:"bg-grey pd-medium radius-medium"},a={class:"flex-v-center flex-nowrap flex"},s={key:0,class:"mn-r-thin t-medium p-big"},u=["onClick"],d=e.createElementVNode("p",{class:"bg-main radius-small t-center i-medium"},"i",-1),m={key:0,class:"w-100"},p={__name:"Block",props:{title:{type:String,default:null},tooltip:{type:String,default:null},actions:{type:Array,default:null},placeholder:{type:String,default:"Nothing here"},options:{type:Object,default:{theme:"white"}}},setup(t){e.useSlots();const r=(o,n={})=>o?o(n).some(l=>Array.isArray(l.children)?!!l.children.length:l.type!==e.Comment):!1;return(o,n)=>(e.openBlock(),e.createElementBlock("div",c,[e.createElementVNode("div",a,[t.title?(e.openBlock(),e.createElementBlock("p",s,e.toDisplayString(t.title),1)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.actions,l=>(e.openBlock(),e.createElementBlock("button",{onClick:l.function,class:"i-small pd-thin button-delete button"},e.toDisplayString(l.label),9,u))),256)),t.tooltip?(e.openBlock(),e.createBlock(i.default,{key:1,text:t.tooltip},{default:e.withCtx(()=>[d]),_:1},8,["text"])):e.createCommentVNode("",!0)]),r(o.$slots.default)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",m,e.toDisplayString(t.placeholder),1)),e.renderSlot(o.$slots,"default")]))}};exports.default=p;
|
@@ -0,0 +1,62 @@
|
|
1
|
+
import { useSlots as c, openBlock as l, createElementBlock as i, createElementVNode as a, toDisplayString as o, createCommentVNode as r, Fragment as d, renderList as m, createBlock as h, withCtx as f, renderSlot as p, Comment as y } from "vue";
|
2
|
+
import g from "../Tooltip/Tooltip.vue.js";
|
3
|
+
const k = { class: "bg-grey pd-medium radius-medium" }, b = { class: "flex-v-center flex-nowrap flex" }, S = {
|
4
|
+
key: 0,
|
5
|
+
class: "mn-r-thin t-medium p-big"
|
6
|
+
}, _ = ["onClick"], x = /* @__PURE__ */ a("p", { class: "bg-main radius-small t-center i-medium" }, "i", -1), C = {
|
7
|
+
key: 0,
|
8
|
+
class: "w-100"
|
9
|
+
}, A = {
|
10
|
+
__name: "Block",
|
11
|
+
props: {
|
12
|
+
title: {
|
13
|
+
type: String,
|
14
|
+
default: null
|
15
|
+
},
|
16
|
+
tooltip: {
|
17
|
+
type: String,
|
18
|
+
default: null
|
19
|
+
},
|
20
|
+
actions: {
|
21
|
+
type: Array,
|
22
|
+
default: null
|
23
|
+
},
|
24
|
+
placeholder: {
|
25
|
+
type: String,
|
26
|
+
default: "Nothing here"
|
27
|
+
},
|
28
|
+
options: {
|
29
|
+
type: Object,
|
30
|
+
default: {
|
31
|
+
theme: "white"
|
32
|
+
}
|
33
|
+
}
|
34
|
+
},
|
35
|
+
setup(t) {
|
36
|
+
c();
|
37
|
+
const u = (n, s = {}) => n ? n(s).some((e) => Array.isArray(e.children) ? !!e.children.length : e.type !== y) : !1;
|
38
|
+
return (n, s) => (l(), i("div", k, [
|
39
|
+
a("div", b, [
|
40
|
+
t.title ? (l(), i("p", S, o(t.title), 1)) : r("", !0),
|
41
|
+
(l(!0), i(d, null, m(t.actions, (e) => (l(), i("button", {
|
42
|
+
onClick: e.function,
|
43
|
+
class: "i-small pd-thin button-delete button"
|
44
|
+
}, o(e.label), 9, _))), 256)),
|
45
|
+
t.tooltip ? (l(), h(g, {
|
46
|
+
key: 1,
|
47
|
+
text: t.tooltip
|
48
|
+
}, {
|
49
|
+
default: f(() => [
|
50
|
+
x
|
51
|
+
]),
|
52
|
+
_: 1
|
53
|
+
}, 8, ["text"])) : r("", !0)
|
54
|
+
]),
|
55
|
+
u(n.$slots.default) ? r("", !0) : (l(), i("span", C, o(t.placeholder), 1)),
|
56
|
+
p(n.$slots, "default")
|
57
|
+
]));
|
58
|
+
}
|
59
|
+
};
|
60
|
+
export {
|
61
|
+
A as default
|
62
|
+
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),C=require("vue-router"),d=require("vue-i18n");require("../../modules/globals/localization/vue-i18n.cjs");require("./Breadcrumbs.vue.cjs");const p={class:"breadcrumbs flex-row flex-nowrap flex-left flex","aria-label":"breadcrumbs"},h={key:0,class:"i-small mn-r-thin",viewBox:"0 0 10 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},k=e.createElementVNode("path",{fill:"black",d:"M0.494141 4.26391C0.494141 4.48862 0.659906 4.66912 0.928813 4.66912C1.05037 4.66912 1.16825 4.6065 1.27139 4.52177L1.64344 4.20866V7.56448C1.64344 8.13545 1.98971 8.47803 2.5791 8.47803H7.56678C8.15616 8.47803 8.50243 8.13545 8.50243 7.56448V4.19392L8.8929 4.52177C8.99604 4.6065 9.11392 4.66912 9.23916 4.66912C9.48597 4.66912 9.67015 4.5144 9.67015 4.27128C9.67015 4.1313 9.61121 4.01343 9.5007 3.92133L8.50243 3.08146V1.47538C8.50243 1.30961 8.3956 1.1991 8.22984 1.1991H7.63308C7.46732 1.1991 7.35313 1.30961 7.35313 1.47538V2.11634L5.66969 0.70181C5.31606 0.403433 4.85928 0.403433 4.50197 0.70181L0.663589 3.92133C0.553079 4.01711 0.494141 4.14235 0.494141 4.26391ZM6.13752 5.26219C6.13752 5.08906 6.02701 4.97855 5.85387 4.97855H4.31779C4.14097 4.97855 4.02678 5.08906 4.02678 5.26219V7.63447H2.83327C2.60856 7.63447 2.48332 7.50922 2.48332 7.28084V3.5014L4.90349 1.47538C5.01768 1.37592 5.15029 1.37592 5.26817 1.47538L7.66255 3.48298V7.28084C7.66255 7.50922 7.53731 7.63447 7.3126 7.63447H6.13752V5.26219Z"},null,-1),v=[k],f={key:2},
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),C=require("vue-router"),d=require("vue-i18n");require("../../modules/globals/localization/vue-i18n.cjs");require("./Breadcrumbs.vue.cjs");const p={class:"breadcrumbs flex-row flex-nowrap flex-left flex","aria-label":"breadcrumbs"},h={key:0,class:"i-small mn-r-thin",viewBox:"0 0 10 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},k=e.createElementVNode("path",{fill:"rgb(var(--black))",d:"M0.494141 4.26391C0.494141 4.48862 0.659906 4.66912 0.928813 4.66912C1.05037 4.66912 1.16825 4.6065 1.27139 4.52177L1.64344 4.20866V7.56448C1.64344 8.13545 1.98971 8.47803 2.5791 8.47803H7.56678C8.15616 8.47803 8.50243 8.13545 8.50243 7.56448V4.19392L8.8929 4.52177C8.99604 4.6065 9.11392 4.66912 9.23916 4.66912C9.48597 4.66912 9.67015 4.5144 9.67015 4.27128C9.67015 4.1313 9.61121 4.01343 9.5007 3.92133L8.50243 3.08146V1.47538C8.50243 1.30961 8.3956 1.1991 8.22984 1.1991H7.63308C7.46732 1.1991 7.35313 1.30961 7.35313 1.47538V2.11634L5.66969 0.70181C5.31606 0.403433 4.85928 0.403433 4.50197 0.70181L0.663589 3.92133C0.553079 4.01711 0.494141 4.14235 0.494141 4.26391ZM6.13752 5.26219C6.13752 5.08906 6.02701 4.97855 5.85387 4.97855H4.31779C4.14097 4.97855 4.02678 5.08906 4.02678 5.26219V7.63447H2.83327C2.60856 7.63447 2.48332 7.50922 2.48332 7.28084V3.5014L4.90349 1.47538C5.01768 1.37592 5.15029 1.37592 5.26817 1.47538L7.66255 3.48298V7.28084C7.66255 7.50922 7.53731 7.63447 7.3126 7.63447H6.13752V5.26219Z"},null,-1),v=[k],f={key:2},g={key:3,class:"i-small chevron",viewBox:"0 0 4 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},B=e.createElementVNode("path",{d:"M4 3.99992C4 3.83673 3.94307 3.70391 3.81025 3.57867L0.899431 0.732369C0.800759 0.629902 0.679317 0.580566 0.531309 0.580566C0.239089 0.580566 0 0.815861 0 1.10808C0 1.25229 0.0607211 1.38512 0.166983 1.49138L2.74763 3.99613L0.166983 6.50846C0.0607211 6.61093 0 6.74375 0 6.89176C0 7.18398 0.239089 7.41928 0.531309 7.41928C0.675522 7.41928 0.800759 7.36994 0.899431 7.26747L3.81025 4.42117C3.94307 4.29594 4 4.15931 4 3.99992Z",fill:"rgb(var(--black))"},null,-1),b=[B],w={__name:"Breadcrumbs",setup(L){const m=C.useRoute(),{t:V,locale:c}=d.useI18n(),n=e.computed(()=>m.matched.map(o=>{var a,u,i;const s=(a=o.meta)==null?void 0:a.title,r=c==null?void 0:c.value,l=s&&r&&s[r],t=o.path.replace(/:.+?\//g,x=>""),_=(i=(u=o.meta)==null?void 0:u.breadcrumbs)==null?void 0:i.hidden;return{name:l,path:t,isHidden:_}}).filter(o=>o.name&&!o.isHidden));return(o,s)=>{const r=e.resolveComponent("router-link");return e.openBlock(),e.createElementBlock("ol",p,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.value,(l,t)=>(e.openBlock(),e.createElementBlock("li",{key:t,class:e.normalizeClass(["flex-v-center flex-nowrap flex",{"t-main":t===n.value.length-1}])},[t===0?(e.openBlock(),e.createElementBlock("svg",h,v)):e.createCommentVNode("",!0),t!==n.value.length-1?(e.openBlock(),e.createBlock(r,{key:1,to:t===0?"/":l.path},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(l.name),1)]),_:2},1032,["to"])):(e.openBlock(),e.createElementBlock("span",f,e.toDisplayString(l.name),1)),t!==n.value.length-1?(e.openBlock(),e.createElementBlock("svg",g,b)):e.createCommentVNode("",!0)],2))),128))])}}};exports.default=w;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { computed as f, resolveComponent as v, openBlock as o, createElementBlock as n, Fragment as
|
1
|
+
import { computed as f, resolveComponent as v, openBlock as o, createElementBlock as n, Fragment as g, renderList as w, normalizeClass as L, createCommentVNode as C, createBlock as b, withCtx as k, createTextVNode as V, toDisplayString as _, createElementVNode as p } from "vue";
|
2
2
|
import { useRoute as x } from "vue-router";
|
3
3
|
import { useI18n as H } from "vue-i18n";
|
4
4
|
import "../../modules/globals/localization/vue-i18n.js";
|
@@ -13,7 +13,7 @@ const y = {
|
|
13
13
|
fill: "none",
|
14
14
|
xmlns: "http://www.w3.org/2000/svg"
|
15
15
|
}, M = /* @__PURE__ */ p("path", {
|
16
|
-
fill: "black",
|
16
|
+
fill: "rgb(var(--black))",
|
17
17
|
d: "M0.494141 4.26391C0.494141 4.48862 0.659906 4.66912 0.928813 4.66912C1.05037 4.66912 1.16825 4.6065 1.27139 4.52177L1.64344 4.20866V7.56448C1.64344 8.13545 1.98971 8.47803 2.5791 8.47803H7.56678C8.15616 8.47803 8.50243 8.13545 8.50243 7.56448V4.19392L8.8929 4.52177C8.99604 4.6065 9.11392 4.66912 9.23916 4.66912C9.48597 4.66912 9.67015 4.5144 9.67015 4.27128C9.67015 4.1313 9.61121 4.01343 9.5007 3.92133L8.50243 3.08146V1.47538C8.50243 1.30961 8.3956 1.1991 8.22984 1.1991H7.63308C7.46732 1.1991 7.35313 1.30961 7.35313 1.47538V2.11634L5.66969 0.70181C5.31606 0.403433 4.85928 0.403433 4.50197 0.70181L0.663589 3.92133C0.553079 4.01711 0.494141 4.14235 0.494141 4.26391ZM6.13752 5.26219C6.13752 5.08906 6.02701 4.97855 5.85387 4.97855H4.31779C4.14097 4.97855 4.02678 5.08906 4.02678 5.26219V7.63447H2.83327C2.60856 7.63447 2.48332 7.50922 2.48332 7.28084V3.5014L4.90349 1.47538C5.01768 1.37592 5.15029 1.37592 5.26817 1.47538L7.66255 3.48298V7.28084C7.66255 7.50922 7.53731 7.63447 7.3126 7.63447H6.13752V5.26219Z"
|
18
18
|
}, null, -1), N = [
|
19
19
|
M
|
@@ -25,35 +25,35 @@ const y = {
|
|
25
25
|
xmlns: "http://www.w3.org/2000/svg"
|
26
26
|
}, z = /* @__PURE__ */ p("path", {
|
27
27
|
d: "M4 3.99992C4 3.83673 3.94307 3.70391 3.81025 3.57867L0.899431 0.732369C0.800759 0.629902 0.679317 0.580566 0.531309 0.580566C0.239089 0.580566 0 0.815861 0 1.10808C0 1.25229 0.0607211 1.38512 0.166983 1.49138L2.74763 3.99613L0.166983 6.50846C0.0607211 6.61093 0 6.74375 0 6.89176C0 7.18398 0.239089 7.41928 0.531309 7.41928C0.675522 7.41928 0.800759 7.36994 0.899431 7.26747L3.81025 4.42117C3.94307 4.29594 4 4.15931 4 3.99992Z",
|
28
|
-
fill: "black"
|
28
|
+
fill: "rgb(var(--black))"
|
29
29
|
}, null, -1), D = [
|
30
30
|
z
|
31
31
|
], G = {
|
32
32
|
__name: "Breadcrumbs",
|
33
33
|
setup(F) {
|
34
|
-
const h = x(), { t: I, locale: a } = H(),
|
34
|
+
const h = x(), { t: I, locale: a } = H(), l = f(() => h.matched.map((t) => {
|
35
35
|
var m, i, u;
|
36
|
-
const c = (m = t.meta) == null ? void 0 : m.title,
|
37
|
-
return { name:
|
36
|
+
const c = (m = t.meta) == null ? void 0 : m.title, s = a == null ? void 0 : a.value, r = c && s && c[s], e = t.path.replace(/:.+?\//g, (R) => ""), d = (u = (i = t.meta) == null ? void 0 : i.breadcrumbs) == null ? void 0 : u.hidden;
|
37
|
+
return { name: r, path: e, isHidden: d };
|
38
38
|
}).filter((t) => t.name && !t.isHidden));
|
39
39
|
return (t, c) => {
|
40
|
-
const
|
40
|
+
const s = v("router-link");
|
41
41
|
return o(), n("ol", y, [
|
42
|
-
(o(!0), n(
|
42
|
+
(o(!0), n(g, null, w(l.value, (r, e) => (o(), n("li", {
|
43
43
|
key: e,
|
44
|
-
class:
|
44
|
+
class: L(["flex-v-center flex-nowrap flex", { "t-main": e === l.value.length - 1 }])
|
45
45
|
}, [
|
46
46
|
e === 0 ? (o(), n("svg", B, N)) : C("", !0),
|
47
|
-
e !==
|
47
|
+
e !== l.value.length - 1 ? (o(), b(s, {
|
48
48
|
key: 1,
|
49
|
-
to: e === 0 ? "/" :
|
49
|
+
to: e === 0 ? "/" : r.path
|
50
50
|
}, {
|
51
|
-
default:
|
52
|
-
|
51
|
+
default: k(() => [
|
52
|
+
V(_(r.name), 1)
|
53
53
|
]),
|
54
54
|
_: 2
|
55
|
-
}, 1032, ["to"])) : (o(), n("span", Z, _(
|
56
|
-
e !==
|
55
|
+
}, 1032, ["to"])) : (o(), n("span", Z, _(r.name), 1)),
|
56
|
+
e !== l.value.length - 1 ? (o(), n("svg", E, D)) : C("", !0)
|
57
57
|
], 2))), 128))
|
58
58
|
]);
|
59
59
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./Button.vue.cjs");const u=["
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("./Button.vue.cjs");const u=["disabled"],d={key:0},m={key:0,class:"loading"},h=e.createElementVNode("svg",{class:"i-regular",width:"135",height:"140",viewBox:"0 0 135 140",xmlns:"http://www.w3.org/2000/svg",fill:"#fff"},[e.createElementVNode("rect",{y:"10",width:"15",height:"120",rx:"6"},[e.createElementVNode("animate",{attributeName:"height",begin:"0.5s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),e.createTextVNode(),e.createElementVNode("animate",{attributeName:"y",begin:"0.5s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]),e.createElementVNode("rect",{x:"30",y:"10",width:"15",height:"120",rx:"6"},[e.createElementVNode("animate",{attributeName:"height",begin:"0.25s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),e.createTextVNode(),e.createElementVNode("animate",{attributeName:"y",begin:"0.25s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]),e.createElementVNode("rect",{x:"60",width:"15",height:"140",rx:"6"},[e.createElementVNode("animate",{attributeName:"height",begin:"0s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),e.createTextVNode(),e.createElementVNode("animate",{attributeName:"y",begin:"0s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]),e.createElementVNode("rect",{x:"90",y:"10",width:"15",height:"120",rx:"6"},[e.createElementVNode("animate",{attributeName:"height",begin:"0.25s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),e.createTextVNode(),e.createElementVNode("animate",{attributeName:"y",begin:"0.25s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})]),e.createElementVNode("rect",{x:"120",y:"10",width:"15",height:"120",rx:"6"},[e.createElementVNode("animate",{attributeName:"height",begin:"0.5s",dur:"1s",values:"120;110;100;90;80;70;60;50;40;140;120",calcMode:"linear",repeatCount:"indefinite"}),e.createTextVNode(),e.createElementVNode("animate",{attributeName:"y",begin:"0.5s",dur:"1s",values:"10;15;20;25;30;35;40;45;50;0;10",calcMode:"linear",repeatCount:"indefinite"})])],-1),b=[h],f={key:0,class:"loading t-white"},g={key:0,class:"error"},v={key:0,class:"button-counter"},N={__name:"Button",props:{submit:{type:Function,default:async()=>{console.log("Button click.")}},counter:{type:Object},callback:{type:Function,default:async()=>{console.log("Button callback.")}},callbackDelay:{type:Number,default:750},showSucces:{type:Boolean,default:!0},showLoader:{type:Boolean,default:!0},validation:{type:Boolean,default:!1}},setup(a){const l=a,t=e.ref(null),n=e.ref(null),i=e.ref(!1),r=e.ref(!1);async function c(){t.value.style["pointer-events"]="none",n.value=null,i.value=!0;const o=()=>{t.value&&(t.value.classList.replace("bg-light-main","bg-main"),t.value.style.pointerEvents="auto",i.value=!1,r.value=!1,n.value=null)};try{await l.submit(),t.value.classList.replace("bg-main","bg-light-main"),i.value=!1,l.showSucces?(r.value=!0,setTimeout(o,500)):o(),l.callback&&setTimeout(()=>l.callback(),l.callbackDelay)}catch{t.value.classList.replace("bg-main","bg-fourth-nano"),n.value="❌",setTimeout(()=>{o(),t.value.classList.replace("bg-fourth-nano","bg-main")},1330)}}return(o,s)=>(e.openBlock(),e.createElementBlock("button",{onClick:e.withModifiers(c,["stop"]),disabled:a.validation,ref_key:"button",ref:t,class:"button"},[e.createVNode(e.Transition,{name:"TransitionTranslateY-small"},{default:e.withCtx(()=>[!i.value&&!n.value&&!r.value||!a.showLoader?(e.openBlock(),e.createElementBlock("span",d,[e.renderSlot(o.$slots,"default")])):e.createCommentVNode("",!0)]),_:3}),e.createVNode(e.Transition,{name:"TransitionTranslateY-small"},{default:e.withCtx(()=>[i.value&&!n.value&&a.showLoader?(e.openBlock(),e.createElementBlock("span",m,b)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"TransitionTranslateY-small"},{default:e.withCtx(()=>[r.value&&a.showSucces?(e.openBlock(),e.createElementBlock("span",f,"✔")):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"TransitionTranslateY-small"},{default:e.withCtx(()=>[n.value?(e.openBlock(),e.createElementBlock("span",g,e.toDisplayString(n.value),1)):e.createCommentVNode("",!0)]),_:1}),a.counter?(e.openBlock(),e.createElementBlock("p",v,e.toDisplayString(a.counter),1)):e.createCommentVNode("",!0)],8,u))}};exports.default=N;
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import { ref as
|
1
|
+
import { ref as h, openBlock as i, createElementBlock as l, withModifiers as p, createVNode as m, Transition as b, withCtx as f, renderSlot as w, createCommentVNode as r, toDisplayString as g, createElementVNode as e, createTextVNode as c } from "vue";
|
2
2
|
import "./Button.vue.js";
|
3
|
-
const
|
3
|
+
const k = ["disabled"], N = { key: 0 }, x = {
|
4
4
|
key: 0,
|
5
5
|
class: "loading"
|
6
|
-
},
|
6
|
+
}, _ = /* @__PURE__ */ e("svg", {
|
7
7
|
class: "i-regular",
|
8
8
|
width: "135",
|
9
9
|
height: "140",
|
@@ -25,7 +25,7 @@ const w = ["onClick", "disabled"], k = { key: 0 }, N = {
|
|
25
25
|
calcMode: "linear",
|
26
26
|
repeatCount: "indefinite"
|
27
27
|
}),
|
28
|
-
/* @__PURE__ */
|
28
|
+
/* @__PURE__ */ c(),
|
29
29
|
/* @__PURE__ */ e("animate", {
|
30
30
|
attributeName: "y",
|
31
31
|
begin: "0.5s",
|
@@ -50,7 +50,7 @@ const w = ["onClick", "disabled"], k = { key: 0 }, N = {
|
|
50
50
|
calcMode: "linear",
|
51
51
|
repeatCount: "indefinite"
|
52
52
|
}),
|
53
|
-
/* @__PURE__ */
|
53
|
+
/* @__PURE__ */ c(),
|
54
54
|
/* @__PURE__ */ e("animate", {
|
55
55
|
attributeName: "y",
|
56
56
|
begin: "0.25s",
|
@@ -74,7 +74,7 @@ const w = ["onClick", "disabled"], k = { key: 0 }, N = {
|
|
74
74
|
calcMode: "linear",
|
75
75
|
repeatCount: "indefinite"
|
76
76
|
}),
|
77
|
-
/* @__PURE__ */
|
77
|
+
/* @__PURE__ */ c(),
|
78
78
|
/* @__PURE__ */ e("animate", {
|
79
79
|
attributeName: "y",
|
80
80
|
begin: "0s",
|
@@ -99,7 +99,7 @@ const w = ["onClick", "disabled"], k = { key: 0 }, N = {
|
|
99
99
|
calcMode: "linear",
|
100
100
|
repeatCount: "indefinite"
|
101
101
|
}),
|
102
|
-
/* @__PURE__ */
|
102
|
+
/* @__PURE__ */ c(),
|
103
103
|
/* @__PURE__ */ e("animate", {
|
104
104
|
attributeName: "y",
|
105
105
|
begin: "0.25s",
|
@@ -124,7 +124,7 @@ const w = ["onClick", "disabled"], k = { key: 0 }, N = {
|
|
124
124
|
calcMode: "linear",
|
125
125
|
repeatCount: "indefinite"
|
126
126
|
}),
|
127
|
-
/* @__PURE__ */
|
127
|
+
/* @__PURE__ */ c(),
|
128
128
|
/* @__PURE__ */ e("animate", {
|
129
129
|
attributeName: "y",
|
130
130
|
begin: "0.5s",
|
@@ -135,14 +135,17 @@ const w = ["onClick", "disabled"], k = { key: 0 }, N = {
|
|
135
135
|
})
|
136
136
|
])
|
137
137
|
], -1), C = [
|
138
|
-
|
138
|
+
_
|
139
139
|
], T = {
|
140
140
|
key: 0,
|
141
141
|
class: "loading t-white"
|
142
142
|
}, M = {
|
143
143
|
key: 0,
|
144
144
|
class: "error"
|
145
|
-
},
|
145
|
+
}, B = {
|
146
|
+
key: 0,
|
147
|
+
class: "button-counter"
|
148
|
+
}, V = {
|
146
149
|
__name: "Button",
|
147
150
|
props: {
|
148
151
|
submit: {
|
@@ -151,6 +154,9 @@ const w = ["onClick", "disabled"], k = { key: 0 }, N = {
|
|
151
154
|
console.log("Button click.");
|
152
155
|
}
|
153
156
|
},
|
157
|
+
counter: {
|
158
|
+
type: Object
|
159
|
+
},
|
154
160
|
callback: {
|
155
161
|
type: Function,
|
156
162
|
default: async () => {
|
@@ -165,62 +171,67 @@ const w = ["onClick", "disabled"], k = { key: 0 }, N = {
|
|
165
171
|
type: Boolean,
|
166
172
|
default: !0
|
167
173
|
},
|
174
|
+
showLoader: {
|
175
|
+
type: Boolean,
|
176
|
+
default: !0
|
177
|
+
},
|
168
178
|
validation: {
|
169
179
|
type: Boolean,
|
170
180
|
default: !1
|
171
181
|
}
|
172
182
|
},
|
173
|
-
setup(
|
174
|
-
const
|
175
|
-
async function
|
176
|
-
t.value.style["pointer-events"] = "none",
|
177
|
-
const
|
178
|
-
t.value && (t.value.classList.replace("bg-light-main", "bg-main"), t.value.style.pointerEvents = "auto",
|
183
|
+
setup(a) {
|
184
|
+
const s = a, t = h(null), n = h(null), u = h(!1), d = h(!1);
|
185
|
+
async function v() {
|
186
|
+
t.value.style["pointer-events"] = "none", n.value = null, u.value = !0;
|
187
|
+
const o = () => {
|
188
|
+
t.value && (t.value.classList.replace("bg-light-main", "bg-main"), t.value.style.pointerEvents = "auto", u.value = !1, d.value = !1, n.value = null);
|
179
189
|
};
|
180
190
|
try {
|
181
|
-
await
|
191
|
+
await s.submit(), t.value.classList.replace("bg-main", "bg-light-main"), u.value = !1, s.showSucces ? (d.value = !0, setTimeout(o, 500)) : o(), s.callback && setTimeout(() => s.callback(), s.callbackDelay);
|
182
192
|
} catch {
|
183
|
-
t.value.classList.replace("bg-main", "bg-fourth-nano"),
|
184
|
-
|
193
|
+
t.value.classList.replace("bg-main", "bg-fourth-nano"), n.value = "❌", setTimeout(() => {
|
194
|
+
o(), t.value.classList.replace("bg-fourth-nano", "bg-main");
|
185
195
|
}, 1330);
|
186
196
|
}
|
187
197
|
}
|
188
|
-
return (
|
189
|
-
onClick: p(
|
190
|
-
disabled:
|
198
|
+
return (o, y) => (i(), l("button", {
|
199
|
+
onClick: p(v, ["stop"]),
|
200
|
+
disabled: a.validation,
|
191
201
|
ref_key: "button",
|
192
202
|
ref: t,
|
193
|
-
class: "
|
203
|
+
class: "button"
|
194
204
|
}, [
|
195
|
-
|
196
|
-
default:
|
197
|
-
!
|
198
|
-
|
199
|
-
])) :
|
205
|
+
m(b, { name: "TransitionTranslateY-small" }, {
|
206
|
+
default: f(() => [
|
207
|
+
!u.value && !n.value && !d.value || !a.showLoader ? (i(), l("span", N, [
|
208
|
+
w(o.$slots, "default")
|
209
|
+
])) : r("", !0)
|
200
210
|
]),
|
201
211
|
_: 3
|
202
212
|
}),
|
203
|
-
|
204
|
-
default:
|
205
|
-
|
213
|
+
m(b, { name: "TransitionTranslateY-small" }, {
|
214
|
+
default: f(() => [
|
215
|
+
u.value && !n.value && a.showLoader ? (i(), l("span", x, C)) : r("", !0)
|
206
216
|
]),
|
207
217
|
_: 1
|
208
218
|
}),
|
209
|
-
|
210
|
-
default:
|
211
|
-
|
219
|
+
m(b, { name: "TransitionTranslateY-small" }, {
|
220
|
+
default: f(() => [
|
221
|
+
d.value && a.showSucces ? (i(), l("span", T, "✔")) : r("", !0)
|
212
222
|
]),
|
213
223
|
_: 1
|
214
224
|
}),
|
215
|
-
|
216
|
-
default:
|
217
|
-
|
225
|
+
m(b, { name: "TransitionTranslateY-small" }, {
|
226
|
+
default: f(() => [
|
227
|
+
n.value ? (i(), l("span", M, g(n.value), 1)) : r("", !0)
|
218
228
|
]),
|
219
229
|
_: 1
|
220
|
-
})
|
221
|
-
|
230
|
+
}),
|
231
|
+
a.counter ? (i(), l("p", B, g(a.counter), 1)) : r("", !0)
|
232
|
+
], 8, k));
|
222
233
|
}
|
223
234
|
};
|
224
235
|
export {
|
225
|
-
|
236
|
+
V as default
|
226
237
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("vue");require("./Checkbox.vue2.cjs");const o=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),u={class:"flex-v-center flex-nowrap flex"},s={key:0,class:"mn-r-auto t-transp mn-r-small"},m=["name","value","checked"],y={__name:"Checkbox",props:{label:String,name:String,value:String,radio:{type:[Array,Boolean,Object],default:()=>[]}},emits:["update:radio"],setup(e,{emit:d}){const t=e,l=d,c=
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("vue");require("./Checkbox.vue2.cjs");const o=require("../../../../_virtual/_plugin-vue_export-helper.cjs"),u={class:"flex-v-center flex-nowrap flex"},s={key:0,class:"mn-r-auto t-transp mn-r-small"},m=["name","value","checked"],y={__name:"Checkbox",props:{label:String,name:String,value:String,radio:{type:[Array,Boolean,Object],default:()=>[]}},emits:["update:radio"],setup(e,{emit:d}){const t=e,l=d,c=i=>{if(Array.isArray(t.radio)){let r=[...t.radio];if(i.target.checked)r.push(t.value);else{const n=r.indexOf(t.value);n!==-1&&r.splice(n,1)}l("update:radio",r)}else typeof t.radio=="boolean"&&l("update:radio",i.target.checked)};return(i,r)=>(a.openBlock(),a.createElementBlock("label",u,[e.label?(a.openBlock(),a.createElementBlock("div",s,[a.createElementVNode("span",null,a.toDisplayString(e.label),1)])):a.createCommentVNode("",!0),a.createElementVNode("input",{onChange:c,class:"round radiobutton",type:"checkbox",name:e.name,value:e.value,checked:Array.isArray(e.radio)?e.radio.includes(e.value):e.radio},null,40,m),a.createElementVNode("div",{class:a.normalizeClass(["transition-elastic cursor-pointer mn-l-thin pd-thin h-2r w-4r radius-extra",{"bg-grey":!(Array.isArray(e.radio)?e.radio.includes(e.value):e.radio),"bg-main":Array.isArray(e.radio)?e.radio.includes(e.value):e.radio}])},[a.createElementVNode("div",{class:a.normalizeClass(["transition-linear w-1r h-1r radius-extra h-100 bg-white",{"mn-r-auto":!(Array.isArray(e.radio)?e.radio.includes(e.value):e.radio),"mn-l-auto":Array.isArray(e.radio)?e.radio.includes(e.value):e.radio}])},null,2)],2)]))}},h=o.default(y,[["__scopeId","data-v-ef88ec33"]]);exports.default=h;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { openBlock as d, createElementBlock as o, createElementVNode as t, toDisplayString as m, createCommentVNode as
|
1
|
+
import { openBlock as d, createElementBlock as o, createElementVNode as t, toDisplayString as m, createCommentVNode as h, normalizeClass as c } from "vue";
|
2
2
|
import "./Checkbox.vue2.js";
|
3
|
-
import
|
3
|
+
import y from "../../../../_virtual/_plugin-vue_export-helper.js";
|
4
4
|
const f = { class: "flex-v-center flex-nowrap flex" }, v = {
|
5
5
|
key: 0,
|
6
6
|
class: "mn-r-auto t-transp mn-r-small"
|
@@ -16,48 +16,48 @@ const f = { class: "flex-v-center flex-nowrap flex" }, v = {
|
|
16
16
|
}
|
17
17
|
},
|
18
18
|
emits: ["update:radio"],
|
19
|
-
setup(
|
20
|
-
const
|
21
|
-
if (Array.isArray(
|
22
|
-
let i = [...
|
19
|
+
setup(e, { emit: u }) {
|
20
|
+
const a = e, n = u, s = (r) => {
|
21
|
+
if (Array.isArray(a.radio)) {
|
22
|
+
let i = [...a.radio];
|
23
23
|
if (r.target.checked)
|
24
|
-
i.push(
|
24
|
+
i.push(a.value);
|
25
25
|
else {
|
26
|
-
const l = i.indexOf(
|
26
|
+
const l = i.indexOf(a.value);
|
27
27
|
l !== -1 && i.splice(l, 1);
|
28
28
|
}
|
29
29
|
n("update:radio", i);
|
30
30
|
} else
|
31
|
-
typeof
|
31
|
+
typeof a.radio == "boolean" && n("update:radio", r.target.checked);
|
32
32
|
};
|
33
33
|
return (r, i) => (d(), o("label", f, [
|
34
|
-
|
35
|
-
t("span", null, m(
|
36
|
-
])) :
|
34
|
+
e.label ? (d(), o("div", v, [
|
35
|
+
t("span", null, m(e.label), 1)
|
36
|
+
])) : h("", !0),
|
37
37
|
t("input", {
|
38
38
|
onChange: s,
|
39
39
|
class: "round radiobutton",
|
40
40
|
type: "checkbox",
|
41
|
-
name:
|
42
|
-
value:
|
43
|
-
checked: Array.isArray(
|
41
|
+
name: e.name,
|
42
|
+
value: e.value,
|
43
|
+
checked: Array.isArray(e.radio) ? e.radio.includes(e.value) : e.radio
|
44
44
|
}, null, 40, x),
|
45
45
|
t("div", {
|
46
|
-
class: c(["transition-elastic pd-thin h-2r w-4r radius-extra", {
|
47
|
-
"bg-grey": !(Array.isArray(
|
48
|
-
"bg-main": Array.isArray(
|
46
|
+
class: c(["transition-elastic cursor-pointer mn-l-thin pd-thin h-2r w-4r radius-extra", {
|
47
|
+
"bg-grey": !(Array.isArray(e.radio) ? e.radio.includes(e.value) : e.radio),
|
48
|
+
"bg-main": Array.isArray(e.radio) ? e.radio.includes(e.value) : e.radio
|
49
49
|
}])
|
50
50
|
}, [
|
51
51
|
t("div", {
|
52
52
|
class: c(["transition-linear w-1r h-1r radius-extra h-100 bg-white", {
|
53
|
-
"mn-r-auto": !(Array.isArray(
|
54
|
-
"mn-l-auto": Array.isArray(
|
53
|
+
"mn-r-auto": !(Array.isArray(e.radio) ? e.radio.includes(e.value) : e.radio),
|
54
|
+
"mn-l-auto": Array.isArray(e.radio) ? e.radio.includes(e.value) : e.radio
|
55
55
|
}])
|
56
56
|
}, null, 2)
|
57
57
|
], 2)
|
58
58
|
]));
|
59
59
|
}
|
60
|
-
}, w = /* @__PURE__ */
|
60
|
+
}, w = /* @__PURE__ */ y(b, [["__scopeId", "data-v-ef88ec33"]]);
|
61
61
|
export {
|
62
62
|
w as default
|
63
63
|
};
|