@ozdao/prometheus-framework 0.2.47 → 0.2.50
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/auth.server.js +27 -25
- package/dist/auth.server.mjs +27 -25
- package/dist/community.server.js +1 -1
- package/dist/community.server.mjs +1 -1
- package/dist/events.server.js +1 -1
- package/dist/events.server.mjs +1 -1
- package/dist/files.server.js +1 -1
- package/dist/files.server.mjs +1 -1
- package/dist/gallery.server.js +1 -1
- package/dist/gallery.server.mjs +1 -1
- package/dist/index-3981e903.mjs +217 -0
- package/dist/index-4eecfdb9.js +216 -0
- package/dist/main-203b36b6.mjs +13628 -0
- package/dist/main-610fd21a.mjs +13628 -0
- package/dist/main-669fac33.js +91 -0
- package/dist/main-_b1_i8mt.mjs +13606 -0
- package/dist/main-a7ae4ce5.js +91 -0
- package/dist/main-uiQFxEks.js +91 -0
- package/dist/main.css +1 -1
- package/dist/middlewares.server.js +1 -1
- package/dist/middlewares.server.mjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/_assert.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/_assert.js +6 -6
- package/dist/node_modules/@noble/hashes/esm/_u64.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/_u64.js +8 -8
- package/dist/node_modules/@noble/hashes/esm/sha512.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/sha512.js +2 -2
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.js +1 -1
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.cjs +1 -1
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.js +2 -2
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/utils.cjs +1 -1
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/utils.js +3 -3
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.cjs +1 -1
- package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.js +6 -6
- package/dist/node_modules/ethereum-cryptography/esm/utils.cjs +1 -1
- package/dist/node_modules/ethereum-cryptography/esm/utils.js +4 -3
- package/dist/node_modules/vue-select/dist/vue-select.es.cjs +1 -3
- package/dist/node_modules/vue-select/dist/vue-select.es.js +49 -645
- package/dist/node_modules/vue3-carousel/dist/carousel.css.cjs +1 -1
- package/dist/node_modules/vue3-carousel/dist/carousel.css.js +4 -1
- package/dist/node_modules/web3/lib/esm/accounts.cjs +1 -1
- package/dist/node_modules/web3/lib/esm/accounts.js +36 -36
- package/dist/node_modules/web3-core/lib/esm/web3_batch_request.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_batch_request.js +27 -27
- package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_context.js +24 -24
- package/dist/node_modules/web3-core/lib/esm/web3_promi_event.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_promi_event.js +33 -33
- package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +10 -10
- package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.js +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.cjs +1 -1
- package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.js +13 -13
- package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +110 -110
- package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +26 -26
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.js +14 -14
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.js +36 -36
- package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.js +20 -20
- package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.js +23 -23
- package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +17 -17
- package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.js +11 -11
- package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.js +24 -24
- package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.js +25 -25
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +19 -19
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +39 -39
- package/dist/node_modules/web3-eth/lib/esm/web3_eth.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +7 -7
- package/dist/node_modules/web3-eth-accounts/lib/esm/account.cjs +2 -2
- package/dist/node_modules/web3-eth-accounts/lib/esm/account.js +28 -28
- package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.cjs +1 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.js +3 -3
- package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +1 -1
- package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +8 -8
- package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +1 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +15 -15
- package/dist/node_modules/web3-eth-ens/lib/esm/registry.cjs +1 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/registry.js +16 -16
- package/dist/node_modules/web3-eth-ens/lib/esm/resolver.cjs +1 -1
- package/dist/node_modules/web3-eth-ens/lib/esm/resolver.js +26 -26
- package/dist/node_modules/web3-eth-iban/lib/esm/iban.cjs +1 -1
- package/dist/node_modules/web3-eth-iban/lib/esm/iban.js +2 -2
- package/dist/node_modules/web3-eth-personal/lib/esm/personal.cjs +1 -1
- package/dist/node_modules/web3-eth-personal/lib/esm/personal.js +19 -19
- package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.cjs +1 -1
- package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.js +35 -35
- package/dist/node_modules/web3-net/lib/esm/net.cjs +1 -1
- package/dist/node_modules/web3-net/lib/esm/net.js +25 -25
- package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.cjs +1 -1
- package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.js +25 -25
- package/dist/node_modules/web3-providers-http/lib/esm/index.cjs +1 -1
- package/dist/node_modules/web3-providers-http/lib/esm/index.js +33 -33
- package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.cjs +1 -1
- package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.js +5 -5
- package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.cjs +1 -1
- package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.js +19 -19
- package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.cjs +1 -1
- package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.js +27 -27
- package/dist/node_modules/web3-types/lib/esm/web3_base_provider.cjs +1 -1
- package/dist/node_modules/web3-types/lib/esm/web3_base_provider.js +25 -25
- package/dist/node_modules/web3-utils/lib/esm/event_emitter.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/event_emitter.js +15 -15
- package/dist/node_modules/web3-utils/lib/esm/promise_helpers.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/promise_helpers.js +19 -19
- package/dist/node_modules/web3-utils/lib/esm/socket_provider.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/socket_provider.js +17 -17
- package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.js +5 -5
- package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.cjs +1 -1
- package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.js +5 -5
- package/dist/organizations.server.js +13 -27
- package/dist/organizations.server.mjs +13 -27
- package/dist/products.server.js +95 -15
- package/dist/products.server.mjs +95 -15
- package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Address/Address.vue.js +4 -1
- package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.js +4 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.js +4 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.js +4 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +4 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +4 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.js +4 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue.js +4 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.js +4 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.js +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.js +4 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.js +4 -1
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.js +4 -1
- package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.js +4 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue.js +4 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +4 -1
- package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.js +4 -1
- package/dist/prometheus-framework/src/components/Map/Map.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Map/Map.vue.js +4 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +2 -70
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +72 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.js +2 -95
- package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.js +97 -1
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.js +6 -6
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.js +4 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +4 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +4 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +4 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +1 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +4 -1
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +1 -1
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +42 -30
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/auth.js +47 -46
- package/dist/prometheus-framework/src/modules/auth/store/invites.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/invites.js +5 -5
- package/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/store/twofa.js +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue2.js +4 -1
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.js +4 -1
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/store/blogposts.js +1 -1
- package/dist/prometheus-framework/src/modules/community/store/reactions.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/store/reactions.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -5
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +2 -65
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +5 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +66 -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 +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/store/events.js +1 -1
- package/dist/prometheus-framework/src/modules/events/store/tickets.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/store/tickets.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.js +4 -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/gallery/components/sections/GalleryWithCategories.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/gallery/store/gallery.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/store/gallery.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/store/globals.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/store/globals.js +22 -21
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
- package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +13 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +2 -11
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +4 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/orders.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +17 -17
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +50 -43
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue.js +47 -15
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +38 -37
- 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 +249 -61
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue2.js +4 -1
- 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 +78 -45
- 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 +161 -86
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.js +4 -1
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +52 -54
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +19 -25
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.js +4 -1
- package/dist/prometheus-framework/src/modules/organizations/organizations.client.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/organizations.client.js +40 -46
- package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/departments.js +35 -31
- package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/invites.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/memberships.js +30 -28
- package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +1 -1
- package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.js +4 -1
- 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 +17 -17
- 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 +50 -47
- package/dist/prometheus-framework/src/modules/products/components/blocks/CategoryCard.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CategoryCard.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.js +4 -1
- 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 +33 -28
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +123 -113
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/products/store/categories.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/store/categories.js +1 -1
- package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/store/leftovers.js +1 -1
- package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/store/products.js +2 -2
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/reports/store/reports.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/store/reports.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/store/spots.js +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue2.js +4 -1
- package/dist/prometheus-framework/src/modules/users/store/users.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/store/users.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/wallet/store/wallet.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/store/wallet.js +2 -2
- package/dist/prometheus-framework.cjs.js +1 -1
- package/dist/prometheus-framework.es.js +1 -1
- package/dist/reports.server.js +1 -1
- package/dist/reports.server.mjs +1 -1
- package/dist/style.css +1 -1
- package/dist/web-0410cac1.js +1 -0
- package/dist/web-7p76PGnO.mjs +55 -0
- package/dist/web-c1619455.mjs +55 -0
- package/dist/web-c63f0ecc.js +1 -0
- package/dist/web-d8173758.mjs +55 -0
- package/dist/web-dn8vgptQ.js +1 -0
- package/package.json +1 -1
- package/src/components/SelectMulti/SelectMulti.vue +1 -1
- package/src/modules/auth/components/pages/Invite.vue +17 -6
- package/src/modules/auth/controllers/auth.controller.js +24 -16
- package/src/modules/auth/controllers/invites.controller.js +17 -8
- package/src/modules/auth/store/auth.js +8 -1
- package/src/modules/auth/store/invites.js +1 -0
- package/src/modules/globals/store/globals.js +5 -1
- package/src/modules/landing/components/blocks/MapBlock.vue +37 -0
- package/src/modules/landing/components/pages/404.vue +3 -0
- package/src/modules/landing/components/pages/Governance.vue +155 -0
- package/src/modules/landing/components/pages/Home.vue +52 -0
- package/src/modules/landing/components/pages/Hotel.vue +54 -0
- package/src/modules/landing/components/pages/Page.vue +184 -0
- package/src/modules/landing/components/sections/AboutSection.vue +69 -0
- package/src/modules/landing/components/sections/Examples.vue +90 -0
- package/src/modules/landing/components/sections/FeatureSection.vue +80 -0
- package/src/modules/landing/components/sections/GiftSection.vue +63 -0
- package/src/modules/landing/components/sections/HeroSection.vue +74 -0
- package/src/modules/landing/components/sections/HowItWorksSection.vue +88 -0
- package/src/modules/landing/components/sections/HowToBuyWDR.vue +131 -0
- package/src/modules/landing/components/sections/InstagramSection.vue +181 -0
- package/src/modules/landing/components/sections/MapSection.vue +91 -0
- package/src/modules/landing/components/sections/SectionsSection.vue +69 -0
- package/src/modules/landing/components/sections/SliderFeatures.vue +131 -0
- package/src/modules/landing/components/sections/WhatIsWDRSection.vue +116 -0
- package/src/modules/landing/router/landing.js +34 -0
- package/src/modules/middlewares/server/verifySignUp.js +4 -0
- package/src/modules/organizations/components/blocks/CardDepartment.vue +3 -3
- package/src/modules/organizations/components/blocks/DepartmentMemberModify.vue +52 -44
- package/src/modules/organizations/components/blocks/User.vue +42 -10
- package/src/modules/organizations/components/pages/Department.vue +7 -6
- package/src/modules/organizations/components/pages/DepartmentEdit.vue +110 -134
- package/src/modules/organizations/components/pages/Members.vue +85 -26
- package/src/modules/organizations/components/pages/Organization.vue +60 -4
- package/src/modules/organizations/components/sections/MembersAdd.vue +27 -34
- package/src/modules/organizations/components/sections/Organizations.vue +0 -1
- package/src/modules/organizations/controllers/memberships.controller.js +6 -2
- package/src/modules/organizations/controllers/organizations.controller.js +1 -1
- package/src/modules/organizations/models/department.model.js +0 -19
- package/src/modules/organizations/models/membership.model.js +4 -0
- package/src/modules/organizations/organizations.client.js +1 -6
- package/src/modules/organizations/store/departments.js +48 -44
- package/src/modules/organizations/store/memberships.js +11 -3
- package/src/modules/products/components/blocks/CardPosition.vue +2 -2
- package/src/modules/products/components/blocks/CardProduct.vue +1 -1
- package/src/modules/products/components/pages/Product.vue +6 -1
- package/src/modules/products/components/pages/ProductEdit.vue +48 -28
- package/src/modules/products/controllers/products.controller.js +87 -24
- package/src/modules/products/models/product.model.js +16 -1
- package/src/modules/products/store/products.js +1 -1
- package/src/modules/users/components/pages/ProfileOrganizations.vue +41 -7
- package/src/modules/organizations/components/sections/FeedDepartments.vue +0 -64
- package/src/modules/organizations/components/sections/MembersList.vue +0 -85
- package/src/modules/organizations/store/invites.js +0 -93
@@ -1,13 +1,13 @@
|
|
1
|
-
import { openBlock as
|
2
|
-
var
|
3
|
-
for (var
|
4
|
-
|
5
|
-
if (
|
6
|
-
for (var
|
7
|
-
|
1
|
+
import { openBlock as p, createElementBlock as d, createElementVNode as u } from "vue";
|
2
|
+
var m = Object.defineProperty, b = Object.defineProperties, O = Object.getOwnPropertyDescriptors, a = Object.getOwnPropertySymbols, w = Object.prototype.hasOwnProperty, S = Object.prototype.propertyIsEnumerable, r = (e, t, i) => t in e ? m(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, n = (e, t) => {
|
3
|
+
for (var i in t || (t = {}))
|
4
|
+
w.call(t, i) && r(e, i, t[i]);
|
5
|
+
if (a)
|
6
|
+
for (var i of a(t))
|
7
|
+
S.call(t, i) && r(e, i, t[i]);
|
8
8
|
return e;
|
9
|
-
},
|
10
|
-
const
|
9
|
+
}, h = (e, t) => b(e, O(t));
|
10
|
+
const v = {
|
11
11
|
props: {
|
12
12
|
autoscroll: {
|
13
13
|
type: Boolean,
|
@@ -27,11 +27,11 @@ const U = {
|
|
27
27
|
var e;
|
28
28
|
const t = ((e = this.$refs.dropdownMenu) == null ? void 0 : e.children[this.typeAheadPointer]) || !1;
|
29
29
|
if (t) {
|
30
|
-
const
|
31
|
-
if (
|
30
|
+
const i = this.getDropdownViewport(), { top: s, bottom: o, height: l } = t.getBoundingClientRect();
|
31
|
+
if (s < i.top)
|
32
32
|
return this.$refs.dropdownMenu.scrollTop = t.offsetTop;
|
33
|
-
if (
|
34
|
-
return this.$refs.dropdownMenu.scrollTop = t.offsetTop - (
|
33
|
+
if (o > i.bottom)
|
34
|
+
return this.$refs.dropdownMenu.scrollTop = t.offsetTop - (i.height - l);
|
35
35
|
}
|
36
36
|
},
|
37
37
|
getDropdownViewport() {
|
@@ -42,7 +42,7 @@ const U = {
|
|
42
42
|
};
|
43
43
|
}
|
44
44
|
}
|
45
|
-
},
|
45
|
+
}, V = {
|
46
46
|
data() {
|
47
47
|
return {
|
48
48
|
typeAheadPointer: -1
|
@@ -86,7 +86,7 @@ const U = {
|
|
86
86
|
this.typeAheadPointer = this.selectedValue.length !== 0 ? this.filteredOptions.indexOf(this.selectedValue[this.selectedValue.length - 1]) : -1;
|
87
87
|
}
|
88
88
|
}
|
89
|
-
},
|
89
|
+
}, B = {
|
90
90
|
props: {
|
91
91
|
loading: {
|
92
92
|
type: Boolean,
|
@@ -111,48 +111,48 @@ const U = {
|
|
111
111
|
return e == null ? this.mutableLoading = !this.mutableLoading : this.mutableLoading = e;
|
112
112
|
}
|
113
113
|
}
|
114
|
-
},
|
115
|
-
const
|
116
|
-
for (const [
|
117
|
-
|
118
|
-
return
|
119
|
-
},
|
114
|
+
}, f = (e, t) => {
|
115
|
+
const i = e.__vccOpts || e;
|
116
|
+
for (const [s, o] of t)
|
117
|
+
i[s] = o;
|
118
|
+
return i;
|
119
|
+
}, L = {}, $ = {
|
120
120
|
xmlns: "http://www.w3.org/2000/svg",
|
121
121
|
width: "10",
|
122
122
|
height: "10"
|
123
|
-
},
|
124
|
-
|
123
|
+
}, A = /* @__PURE__ */ u("path", { d: "M6.895455 5l2.842897-2.842898c.348864-.348863.348864-.914488 0-1.263636L9.106534.261648c-.348864-.348864-.914489-.348864-1.263636 0L5 3.104545 2.157102.261648c-.348863-.348864-.914488-.348864-1.263636 0L.261648.893466c-.348864.348864-.348864.914489 0 1.263636L3.104545 5 .261648 7.842898c-.348864.348863-.348864.914488 0 1.263636l.631818.631818c.348864.348864.914773.348864 1.263636 0L5 6.895455l2.842898 2.842897c.348863.348864.914772.348864 1.263636 0l.631818-.631818c.348864-.348864.348864-.914489 0-1.263636L6.895455 5z" }, null, -1), C = [
|
124
|
+
A
|
125
125
|
];
|
126
|
-
function
|
127
|
-
return
|
126
|
+
function T(e, t) {
|
127
|
+
return p(), d("svg", $, C);
|
128
128
|
}
|
129
|
-
const
|
129
|
+
const P = /* @__PURE__ */ f(L, [["render", T]]), D = {}, F = {
|
130
130
|
xmlns: "http://www.w3.org/2000/svg",
|
131
131
|
width: "14",
|
132
132
|
height: "10"
|
133
|
-
},
|
134
|
-
|
133
|
+
}, E = /* @__PURE__ */ u("path", { d: "M9.211364 7.59931l4.48338-4.867229c.407008-.441854.407008-1.158247 0-1.60046l-.73712-.80023c-.407008-.441854-1.066904-.441854-1.474243 0L7 5.198617 2.51662.33139c-.407008-.441853-1.066904-.441853-1.474243 0l-.737121.80023c-.407008.441854-.407008 1.158248 0 1.600461l4.48338 4.867228L7 10l2.211364-2.40069z" }, null, -1), k = [
|
134
|
+
E
|
135
135
|
];
|
136
|
-
function
|
137
|
-
return
|
136
|
+
function x(e, t) {
|
137
|
+
return p(), d("svg", F, k);
|
138
138
|
}
|
139
|
-
const
|
140
|
-
Deselect:
|
141
|
-
OpenIndicator:
|
142
|
-
},
|
139
|
+
const _ = /* @__PURE__ */ f(D, [["render", x]]), c = {
|
140
|
+
Deselect: P,
|
141
|
+
OpenIndicator: _
|
142
|
+
}, j = {
|
143
143
|
mounted(e, { instance: t }) {
|
144
144
|
if (t.appendToBody) {
|
145
145
|
const {
|
146
|
-
height:
|
147
|
-
top:
|
148
|
-
left:
|
149
|
-
width:
|
146
|
+
height: i,
|
147
|
+
top: s,
|
148
|
+
left: o,
|
149
|
+
width: l
|
150
150
|
} = t.$refs.toggle.getBoundingClientRect();
|
151
|
-
let
|
151
|
+
let g = window.scrollX || window.pageXOffset, y = window.scrollY || window.pageYOffset;
|
152
152
|
e.unbindPosition = t.calculatePosition(e, t, {
|
153
|
-
width:
|
154
|
-
left:
|
155
|
-
top:
|
153
|
+
width: l + "px",
|
154
|
+
left: g + o + "px",
|
155
|
+
top: y + s + i + "px"
|
156
156
|
}), document.body.appendChild(e);
|
157
157
|
}
|
158
158
|
},
|
@@ -160,610 +160,14 @@ const ie = /* @__PURE__ */ S(Z, [["render", se]]), k = {
|
|
160
160
|
t.appendToBody && (e.unbindPosition && typeof e.unbindPosition == "function" && e.unbindPosition(), e.parentNode && e.parentNode.removeChild(e));
|
161
161
|
}
|
162
162
|
};
|
163
|
-
function
|
163
|
+
function I(e) {
|
164
164
|
const t = {};
|
165
|
-
return Object.keys(e).sort().forEach((
|
166
|
-
t[
|
165
|
+
return Object.keys(e).sort().forEach((i) => {
|
166
|
+
t[i] = e[i];
|
167
167
|
}), JSON.stringify(t);
|
168
168
|
}
|
169
|
-
let
|
170
|
-
function
|
171
|
-
return ++
|
169
|
+
let M = 0;
|
170
|
+
function K() {
|
171
|
+
return ++M;
|
172
172
|
}
|
173
|
-
|
174
|
-
components: f({}, k),
|
175
|
-
directives: { appendToBody: ne },
|
176
|
-
mixins: [U, J, q],
|
177
|
-
compatConfig: {
|
178
|
-
MODE: 3
|
179
|
-
},
|
180
|
-
emits: [
|
181
|
-
"open",
|
182
|
-
"close",
|
183
|
-
"update:modelValue",
|
184
|
-
"search",
|
185
|
-
"search:compositionstart",
|
186
|
-
"search:compositionend",
|
187
|
-
"search:keydown",
|
188
|
-
"search:blur",
|
189
|
-
"search:focus",
|
190
|
-
"search:input",
|
191
|
-
"option:created",
|
192
|
-
"option:selecting",
|
193
|
-
"option:selected",
|
194
|
-
"option:deselecting",
|
195
|
-
"option:deselected"
|
196
|
-
],
|
197
|
-
props: {
|
198
|
-
modelValue: {},
|
199
|
-
components: {
|
200
|
-
type: Object,
|
201
|
-
default: () => ({})
|
202
|
-
},
|
203
|
-
options: {
|
204
|
-
type: Array,
|
205
|
-
default() {
|
206
|
-
return [];
|
207
|
-
}
|
208
|
-
},
|
209
|
-
disabled: {
|
210
|
-
type: Boolean,
|
211
|
-
default: !1
|
212
|
-
},
|
213
|
-
clearable: {
|
214
|
-
type: Boolean,
|
215
|
-
default: !0
|
216
|
-
},
|
217
|
-
deselectFromDropdown: {
|
218
|
-
type: Boolean,
|
219
|
-
default: !1
|
220
|
-
},
|
221
|
-
searchable: {
|
222
|
-
type: Boolean,
|
223
|
-
default: !0
|
224
|
-
},
|
225
|
-
multiple: {
|
226
|
-
type: Boolean,
|
227
|
-
default: !1
|
228
|
-
},
|
229
|
-
placeholder: {
|
230
|
-
type: String,
|
231
|
-
default: ""
|
232
|
-
},
|
233
|
-
transition: {
|
234
|
-
type: String,
|
235
|
-
default: "vs__fade"
|
236
|
-
},
|
237
|
-
clearSearchOnSelect: {
|
238
|
-
type: Boolean,
|
239
|
-
default: !0
|
240
|
-
},
|
241
|
-
closeOnSelect: {
|
242
|
-
type: Boolean,
|
243
|
-
default: !0
|
244
|
-
},
|
245
|
-
label: {
|
246
|
-
type: String,
|
247
|
-
default: "label"
|
248
|
-
},
|
249
|
-
autocomplete: {
|
250
|
-
type: String,
|
251
|
-
default: "off"
|
252
|
-
},
|
253
|
-
reduce: {
|
254
|
-
type: Function,
|
255
|
-
default: (e) => e
|
256
|
-
},
|
257
|
-
selectable: {
|
258
|
-
type: Function,
|
259
|
-
default: (e) => !0
|
260
|
-
},
|
261
|
-
getOptionLabel: {
|
262
|
-
type: Function,
|
263
|
-
default(e) {
|
264
|
-
return typeof e == "object" ? e.hasOwnProperty(this.label) ? e[this.label] : console.warn(`[vue-select warn]: Label key "option.${this.label}" does not exist in options object ${JSON.stringify(e)}.
|
265
|
-
https://vue-select.org/api/props.html#getoptionlabel`) : e;
|
266
|
-
}
|
267
|
-
},
|
268
|
-
getOptionKey: {
|
269
|
-
type: Function,
|
270
|
-
default(e) {
|
271
|
-
if (typeof e != "object")
|
272
|
-
return e;
|
273
|
-
try {
|
274
|
-
return e.hasOwnProperty("id") ? e.id : le(e);
|
275
|
-
} catch (t) {
|
276
|
-
return console.warn(`[vue-select warn]: Could not stringify this option to generate unique key. Please provide'getOptionKey' prop to return a unique key for each option.
|
277
|
-
https://vue-select.org/api/props.html#getoptionkey`, e, t);
|
278
|
-
}
|
279
|
-
}
|
280
|
-
},
|
281
|
-
onTab: {
|
282
|
-
type: Function,
|
283
|
-
default: function() {
|
284
|
-
this.selectOnTab && !this.isComposing && this.typeAheadSelect();
|
285
|
-
}
|
286
|
-
},
|
287
|
-
taggable: {
|
288
|
-
type: Boolean,
|
289
|
-
default: !1
|
290
|
-
},
|
291
|
-
tabindex: {
|
292
|
-
type: Number,
|
293
|
-
default: null
|
294
|
-
},
|
295
|
-
pushTags: {
|
296
|
-
type: Boolean,
|
297
|
-
default: !1
|
298
|
-
},
|
299
|
-
filterable: {
|
300
|
-
type: Boolean,
|
301
|
-
default: !0
|
302
|
-
},
|
303
|
-
filterBy: {
|
304
|
-
type: Function,
|
305
|
-
default(e, t, o) {
|
306
|
-
return (t || "").toLocaleLowerCase().indexOf(o.toLocaleLowerCase()) > -1;
|
307
|
-
}
|
308
|
-
},
|
309
|
-
filter: {
|
310
|
-
type: Function,
|
311
|
-
default(e, t) {
|
312
|
-
return e.filter((o) => {
|
313
|
-
let n = this.getOptionLabel(o);
|
314
|
-
return typeof n == "number" && (n = n.toString()), this.filterBy(o, n, t);
|
315
|
-
});
|
316
|
-
}
|
317
|
-
},
|
318
|
-
createOption: {
|
319
|
-
type: Function,
|
320
|
-
default(e) {
|
321
|
-
return typeof this.optionList[0] == "object" ? { [this.label]: e } : e;
|
322
|
-
}
|
323
|
-
},
|
324
|
-
resetOnOptionsChange: {
|
325
|
-
default: !1,
|
326
|
-
validator: (e) => ["function", "boolean"].includes(typeof e)
|
327
|
-
},
|
328
|
-
clearSearchOnBlur: {
|
329
|
-
type: Function,
|
330
|
-
default: function({ clearSearchOnSelect: e, multiple: t }) {
|
331
|
-
return e && !t;
|
332
|
-
}
|
333
|
-
},
|
334
|
-
noDrop: {
|
335
|
-
type: Boolean,
|
336
|
-
default: !1
|
337
|
-
},
|
338
|
-
inputId: {
|
339
|
-
type: String
|
340
|
-
},
|
341
|
-
dir: {
|
342
|
-
type: String,
|
343
|
-
default: "auto"
|
344
|
-
},
|
345
|
-
selectOnTab: {
|
346
|
-
type: Boolean,
|
347
|
-
default: !1
|
348
|
-
},
|
349
|
-
selectOnKeyCodes: {
|
350
|
-
type: Array,
|
351
|
-
default: () => [13]
|
352
|
-
},
|
353
|
-
searchInputQuerySelector: {
|
354
|
-
type: String,
|
355
|
-
default: "[type=search]"
|
356
|
-
},
|
357
|
-
mapKeydown: {
|
358
|
-
type: Function,
|
359
|
-
default: (e, t) => e
|
360
|
-
},
|
361
|
-
appendToBody: {
|
362
|
-
type: Boolean,
|
363
|
-
default: !1
|
364
|
-
},
|
365
|
-
calculatePosition: {
|
366
|
-
type: Function,
|
367
|
-
default(e, t, { width: o, top: n, left: l }) {
|
368
|
-
e.style.top = n, e.style.left = l, e.style.width = o;
|
369
|
-
}
|
370
|
-
},
|
371
|
-
dropdownShouldOpen: {
|
372
|
-
type: Function,
|
373
|
-
default({ noDrop: e, open: t, mutableLoading: o }) {
|
374
|
-
return e ? !1 : t && !o;
|
375
|
-
}
|
376
|
-
},
|
377
|
-
uid: {
|
378
|
-
type: [String, Number],
|
379
|
-
default: () => re()
|
380
|
-
}
|
381
|
-
},
|
382
|
-
data() {
|
383
|
-
return {
|
384
|
-
search: "",
|
385
|
-
open: !1,
|
386
|
-
isComposing: !1,
|
387
|
-
pushedTags: [],
|
388
|
-
_value: [],
|
389
|
-
deselectButtons: []
|
390
|
-
};
|
391
|
-
},
|
392
|
-
computed: {
|
393
|
-
isReducingValues() {
|
394
|
-
return this.$props.reduce !== this.$options.props.reduce.default;
|
395
|
-
},
|
396
|
-
isTrackingValues() {
|
397
|
-
return typeof this.modelValue > "u" || this.isReducingValues;
|
398
|
-
},
|
399
|
-
selectedValue() {
|
400
|
-
let e = this.modelValue;
|
401
|
-
return this.isTrackingValues && (e = this.$data._value), e != null && e !== "" ? [].concat(e) : [];
|
402
|
-
},
|
403
|
-
optionList() {
|
404
|
-
return this.options.concat(this.pushTags ? this.pushedTags : []);
|
405
|
-
},
|
406
|
-
searchEl() {
|
407
|
-
return this.$slots.search ? this.$refs.selectedOptions.querySelector(this.searchInputQuerySelector) : this.$refs.search;
|
408
|
-
},
|
409
|
-
scope() {
|
410
|
-
const e = {
|
411
|
-
search: this.search,
|
412
|
-
loading: this.loading,
|
413
|
-
searching: this.searching,
|
414
|
-
filteredOptions: this.filteredOptions
|
415
|
-
};
|
416
|
-
return {
|
417
|
-
search: {
|
418
|
-
attributes: f({
|
419
|
-
disabled: this.disabled,
|
420
|
-
placeholder: this.searchPlaceholder,
|
421
|
-
tabindex: this.tabindex,
|
422
|
-
readonly: !this.searchable,
|
423
|
-
id: this.inputId,
|
424
|
-
"aria-autocomplete": "list",
|
425
|
-
"aria-labelledby": `vs${this.uid}__combobox`,
|
426
|
-
"aria-controls": `vs${this.uid}__listbox`,
|
427
|
-
ref: "search",
|
428
|
-
type: "search",
|
429
|
-
autocomplete: this.autocomplete,
|
430
|
-
value: this.search
|
431
|
-
}, this.dropdownOpen && this.filteredOptions[this.typeAheadPointer] ? {
|
432
|
-
"aria-activedescendant": `vs${this.uid}__option-${this.typeAheadPointer}`
|
433
|
-
} : {}),
|
434
|
-
events: {
|
435
|
-
compositionstart: () => this.isComposing = !0,
|
436
|
-
compositionend: () => this.isComposing = !1,
|
437
|
-
keydown: this.onSearchKeyDown,
|
438
|
-
blur: this.onSearchBlur,
|
439
|
-
focus: this.onSearchFocus,
|
440
|
-
input: (t) => this.search = t.target.value
|
441
|
-
}
|
442
|
-
},
|
443
|
-
spinner: {
|
444
|
-
loading: this.mutableLoading
|
445
|
-
},
|
446
|
-
noOptions: {
|
447
|
-
search: this.search,
|
448
|
-
loading: this.mutableLoading,
|
449
|
-
searching: this.searching
|
450
|
-
},
|
451
|
-
openIndicator: {
|
452
|
-
attributes: {
|
453
|
-
ref: "openIndicator",
|
454
|
-
role: "presentation",
|
455
|
-
class: "vs__open-indicator"
|
456
|
-
}
|
457
|
-
},
|
458
|
-
listHeader: e,
|
459
|
-
listFooter: e,
|
460
|
-
header: x(f({}, e), { deselect: this.deselect }),
|
461
|
-
footer: x(f({}, e), { deselect: this.deselect })
|
462
|
-
};
|
463
|
-
},
|
464
|
-
childComponents() {
|
465
|
-
return f(f({}, k), this.components);
|
466
|
-
},
|
467
|
-
stateClasses() {
|
468
|
-
return {
|
469
|
-
"vs--open": this.dropdownOpen,
|
470
|
-
"vs--single": !this.multiple,
|
471
|
-
"vs--multiple": this.multiple,
|
472
|
-
"vs--searching": this.searching && !this.noDrop,
|
473
|
-
"vs--searchable": this.searchable && !this.noDrop,
|
474
|
-
"vs--unsearchable": !this.searchable,
|
475
|
-
"vs--loading": this.mutableLoading,
|
476
|
-
"vs--disabled": this.disabled
|
477
|
-
};
|
478
|
-
},
|
479
|
-
searching() {
|
480
|
-
return !!this.search;
|
481
|
-
},
|
482
|
-
dropdownOpen() {
|
483
|
-
return this.dropdownShouldOpen(this);
|
484
|
-
},
|
485
|
-
searchPlaceholder() {
|
486
|
-
return this.isValueEmpty && this.placeholder ? this.placeholder : void 0;
|
487
|
-
},
|
488
|
-
filteredOptions() {
|
489
|
-
const e = [].concat(this.optionList);
|
490
|
-
if (!this.filterable && !this.taggable)
|
491
|
-
return e;
|
492
|
-
const t = this.search.length ? this.filter(e, this.search, this) : e;
|
493
|
-
if (this.taggable && this.search.length) {
|
494
|
-
const o = this.createOption(this.search);
|
495
|
-
this.optionExists(o) || t.unshift(o);
|
496
|
-
}
|
497
|
-
return t;
|
498
|
-
},
|
499
|
-
isValueEmpty() {
|
500
|
-
return this.selectedValue.length === 0;
|
501
|
-
},
|
502
|
-
showClearButton() {
|
503
|
-
return !this.multiple && this.clearable && !this.open && !this.isValueEmpty;
|
504
|
-
}
|
505
|
-
},
|
506
|
-
watch: {
|
507
|
-
options(e, t) {
|
508
|
-
const o = () => typeof this.resetOnOptionsChange == "function" ? this.resetOnOptionsChange(e, t, this.selectedValue) : this.resetOnOptionsChange;
|
509
|
-
!this.taggable && o() && this.clearSelection(), this.modelValue && this.isTrackingValues && this.setInternalValueFromOptions(this.modelValue);
|
510
|
-
},
|
511
|
-
modelValue: {
|
512
|
-
immediate: !0,
|
513
|
-
handler(e) {
|
514
|
-
this.isTrackingValues && this.setInternalValueFromOptions(e);
|
515
|
-
}
|
516
|
-
},
|
517
|
-
multiple() {
|
518
|
-
this.clearSelection();
|
519
|
-
},
|
520
|
-
open(e) {
|
521
|
-
this.$emit(e ? "open" : "close");
|
522
|
-
}
|
523
|
-
},
|
524
|
-
created() {
|
525
|
-
this.mutableLoading = this.loading;
|
526
|
-
},
|
527
|
-
methods: {
|
528
|
-
setInternalValueFromOptions(e) {
|
529
|
-
Array.isArray(e) ? this.$data._value = e.map((t) => this.findOptionFromReducedValue(t)) : this.$data._value = this.findOptionFromReducedValue(e);
|
530
|
-
},
|
531
|
-
select(e) {
|
532
|
-
this.$emit("option:selecting", e), this.isOptionSelected(e) ? this.deselectFromDropdown && (this.clearable || this.multiple && this.selectedValue.length > 1) && this.deselect(e) : (this.taggable && !this.optionExists(e) && (this.$emit("option:created", e), this.pushTag(e)), this.multiple && (e = this.selectedValue.concat(e)), this.updateValue(e), this.$emit("option:selected", e)), this.onAfterSelect(e);
|
533
|
-
},
|
534
|
-
deselect(e) {
|
535
|
-
this.$emit("option:deselecting", e), this.updateValue(this.selectedValue.filter((t) => !this.optionComparator(t, e))), this.$emit("option:deselected", e);
|
536
|
-
},
|
537
|
-
clearSelection() {
|
538
|
-
this.updateValue(this.multiple ? [] : null);
|
539
|
-
},
|
540
|
-
onAfterSelect(e) {
|
541
|
-
this.closeOnSelect && (this.open = !this.open, this.searchEl.blur()), this.clearSearchOnSelect && (this.search = "");
|
542
|
-
},
|
543
|
-
updateValue(e) {
|
544
|
-
typeof this.modelValue > "u" && (this.$data._value = e), e !== null && (Array.isArray(e) ? e = e.map((t) => this.reduce(t)) : e = this.reduce(e)), this.$emit("update:modelValue", e);
|
545
|
-
},
|
546
|
-
toggleDropdown(e) {
|
547
|
-
const t = e.target !== this.searchEl;
|
548
|
-
t && e.preventDefault();
|
549
|
-
const o = [
|
550
|
-
...this.deselectButtons || [],
|
551
|
-
this.$refs.clearButton
|
552
|
-
];
|
553
|
-
if (this.searchEl === void 0 || o.filter(Boolean).some((n) => n.contains(e.target) || n === e.target)) {
|
554
|
-
e.preventDefault();
|
555
|
-
return;
|
556
|
-
}
|
557
|
-
this.open && t ? this.searchEl.blur() : this.disabled || (this.open = !0, this.searchEl.focus());
|
558
|
-
},
|
559
|
-
isOptionSelected(e) {
|
560
|
-
return this.selectedValue.some((t) => this.optionComparator(t, e));
|
561
|
-
},
|
562
|
-
isOptionDeselectable(e) {
|
563
|
-
return this.isOptionSelected(e) && this.deselectFromDropdown;
|
564
|
-
},
|
565
|
-
optionComparator(e, t) {
|
566
|
-
return this.getOptionKey(e) === this.getOptionKey(t);
|
567
|
-
},
|
568
|
-
findOptionFromReducedValue(e) {
|
569
|
-
const t = (n) => JSON.stringify(this.reduce(n)) === JSON.stringify(e), o = [...this.options, ...this.pushedTags].filter(t);
|
570
|
-
return o.length === 1 ? o[0] : o.find((n) => this.optionComparator(n, this.$data._value)) || e;
|
571
|
-
},
|
572
|
-
closeSearchOptions() {
|
573
|
-
this.open = !1, this.$emit("search:blur");
|
574
|
-
},
|
575
|
-
maybeDeleteValue() {
|
576
|
-
if (!this.searchEl.value.length && this.selectedValue && this.selectedValue.length && this.clearable) {
|
577
|
-
let e = null;
|
578
|
-
this.multiple && (e = [
|
579
|
-
...this.selectedValue.slice(0, this.selectedValue.length - 1)
|
580
|
-
]), this.updateValue(e);
|
581
|
-
}
|
582
|
-
},
|
583
|
-
optionExists(e) {
|
584
|
-
return this.optionList.some((t) => this.optionComparator(t, e));
|
585
|
-
},
|
586
|
-
normalizeOptionForSlot(e) {
|
587
|
-
return typeof e == "object" ? e : { [this.label]: e };
|
588
|
-
},
|
589
|
-
pushTag(e) {
|
590
|
-
this.pushedTags.push(e);
|
591
|
-
},
|
592
|
-
onEscape() {
|
593
|
-
this.search.length ? this.search = "" : this.searchEl.blur();
|
594
|
-
},
|
595
|
-
onSearchBlur() {
|
596
|
-
if (this.mousedown && !this.searching)
|
597
|
-
this.mousedown = !1;
|
598
|
-
else {
|
599
|
-
const { clearSearchOnSelect: e, multiple: t } = this;
|
600
|
-
this.clearSearchOnBlur({ clearSearchOnSelect: e, multiple: t }) && (this.search = ""), this.closeSearchOptions();
|
601
|
-
return;
|
602
|
-
}
|
603
|
-
if (this.search.length === 0 && this.options.length === 0) {
|
604
|
-
this.closeSearchOptions();
|
605
|
-
return;
|
606
|
-
}
|
607
|
-
},
|
608
|
-
onSearchFocus() {
|
609
|
-
this.open = !0, this.$emit("search:focus");
|
610
|
-
},
|
611
|
-
onMousedown() {
|
612
|
-
this.mousedown = !0;
|
613
|
-
},
|
614
|
-
onMouseUp() {
|
615
|
-
this.mousedown = !1;
|
616
|
-
},
|
617
|
-
onSearchKeyDown(e) {
|
618
|
-
const t = (l) => (l.preventDefault(), !this.isComposing && this.typeAheadSelect()), o = {
|
619
|
-
8: (l) => this.maybeDeleteValue(),
|
620
|
-
9: (l) => this.onTab(),
|
621
|
-
27: (l) => this.onEscape(),
|
622
|
-
38: (l) => (l.preventDefault(), this.typeAheadUp()),
|
623
|
-
40: (l) => (l.preventDefault(), this.typeAheadDown())
|
624
|
-
};
|
625
|
-
this.selectOnKeyCodes.forEach((l) => o[l] = t);
|
626
|
-
const n = this.mapKeydown(o, this);
|
627
|
-
if (typeof n[e.keyCode] == "function")
|
628
|
-
return n[e.keyCode](e);
|
629
|
-
}
|
630
|
-
}
|
631
|
-
}, he = ["dir"], ce = ["id", "aria-expanded", "aria-owns"], pe = {
|
632
|
-
ref: "selectedOptions",
|
633
|
-
class: "vs__selected-options"
|
634
|
-
}, ue = ["disabled", "title", "aria-label", "onClick"], fe = {
|
635
|
-
ref: "actions",
|
636
|
-
class: "vs__actions"
|
637
|
-
}, ge = ["disabled"], ye = { class: "vs__spinner" }, me = ["id"], be = ["id", "aria-selected", "onMouseover", "onClick"], Oe = {
|
638
|
-
key: 0,
|
639
|
-
class: "vs__no-options"
|
640
|
-
}, ve = /* @__PURE__ */ w(" Sorry, no matching options. "), we = ["id"];
|
641
|
-
function Se(e, t, o, n, l, s) {
|
642
|
-
const y = T("append-to-body");
|
643
|
-
return a(), h("div", {
|
644
|
-
dir: o.dir,
|
645
|
-
class: _(["v-select", s.stateClasses])
|
646
|
-
}, [
|
647
|
-
r(e.$slots, "header", d(c(s.scope.header))),
|
648
|
-
p("div", {
|
649
|
-
id: `vs${o.uid}__combobox`,
|
650
|
-
ref: "toggle",
|
651
|
-
class: "vs__dropdown-toggle",
|
652
|
-
role: "combobox",
|
653
|
-
"aria-expanded": s.dropdownOpen.toString(),
|
654
|
-
"aria-owns": `vs${o.uid}__listbox`,
|
655
|
-
"aria-label": "Search for option",
|
656
|
-
onMousedown: t[1] || (t[1] = (i) => s.toggleDropdown(i))
|
657
|
-
}, [
|
658
|
-
p("div", pe, [
|
659
|
-
(a(!0), h(V, null, $(s.selectedValue, (i, u) => r(e.$slots, "selected-option-container", {
|
660
|
-
option: s.normalizeOptionForSlot(i),
|
661
|
-
deselect: s.deselect,
|
662
|
-
multiple: o.multiple,
|
663
|
-
disabled: o.disabled
|
664
|
-
}, () => [
|
665
|
-
(a(), h("span", {
|
666
|
-
key: o.getOptionKey(i),
|
667
|
-
class: "vs__selected"
|
668
|
-
}, [
|
669
|
-
r(e.$slots, "selected-option", d(c(s.normalizeOptionForSlot(i))), () => [
|
670
|
-
w(C(o.getOptionLabel(i)), 1)
|
671
|
-
]),
|
672
|
-
o.multiple ? (a(), h("button", {
|
673
|
-
key: 0,
|
674
|
-
ref_for: !0,
|
675
|
-
ref: (g) => l.deselectButtons[u] = g,
|
676
|
-
disabled: o.disabled,
|
677
|
-
type: "button",
|
678
|
-
class: "vs__deselect",
|
679
|
-
title: `Deselect ${o.getOptionLabel(i)}`,
|
680
|
-
"aria-label": `Deselect ${o.getOptionLabel(i)}`,
|
681
|
-
onClick: (g) => s.deselect(i)
|
682
|
-
}, [
|
683
|
-
(a(), m(b(s.childComponents.Deselect)))
|
684
|
-
], 8, ue)) : O("", !0)
|
685
|
-
]))
|
686
|
-
])), 256)),
|
687
|
-
r(e.$slots, "search", d(c(s.scope.search)), () => [
|
688
|
-
p("input", L({ class: "vs__search" }, s.scope.search.attributes, F(s.scope.search.events)), null, 16)
|
689
|
-
])
|
690
|
-
], 512),
|
691
|
-
p("div", fe, [
|
692
|
-
v(p("button", {
|
693
|
-
ref: "clearButton",
|
694
|
-
disabled: o.disabled,
|
695
|
-
type: "button",
|
696
|
-
class: "vs__clear",
|
697
|
-
title: "Clear Selected",
|
698
|
-
"aria-label": "Clear Selected",
|
699
|
-
onClick: t[0] || (t[0] = (...i) => s.clearSelection && s.clearSelection(...i))
|
700
|
-
}, [
|
701
|
-
(a(), m(b(s.childComponents.Deselect)))
|
702
|
-
], 8, ge), [
|
703
|
-
[B, s.showClearButton]
|
704
|
-
]),
|
705
|
-
r(e.$slots, "open-indicator", d(c(s.scope.openIndicator)), () => [
|
706
|
-
o.noDrop ? O("", !0) : (a(), m(b(s.childComponents.OpenIndicator), d(L({ key: 0 }, s.scope.openIndicator.attributes)), null, 16))
|
707
|
-
]),
|
708
|
-
r(e.$slots, "spinner", d(c(s.scope.spinner)), () => [
|
709
|
-
v(p("div", ye, "Loading...", 512), [
|
710
|
-
[B, e.mutableLoading]
|
711
|
-
])
|
712
|
-
])
|
713
|
-
], 512)
|
714
|
-
], 40, ce),
|
715
|
-
E(M, { name: o.transition }, {
|
716
|
-
default: j(() => [
|
717
|
-
s.dropdownOpen ? v((a(), h("ul", {
|
718
|
-
id: `vs${o.uid}__listbox`,
|
719
|
-
ref: "dropdownMenu",
|
720
|
-
key: `vs${o.uid}__listbox`,
|
721
|
-
class: "vs__dropdown-menu",
|
722
|
-
role: "listbox",
|
723
|
-
tabindex: "-1",
|
724
|
-
onMousedown: t[2] || (t[2] = A((...i) => s.onMousedown && s.onMousedown(...i), ["prevent"])),
|
725
|
-
onMouseup: t[3] || (t[3] = (...i) => s.onMouseUp && s.onMouseUp(...i))
|
726
|
-
}, [
|
727
|
-
r(e.$slots, "list-header", d(c(s.scope.listHeader))),
|
728
|
-
(a(!0), h(V, null, $(s.filteredOptions, (i, u) => (a(), h("li", {
|
729
|
-
id: `vs${o.uid}__option-${u}`,
|
730
|
-
key: o.getOptionKey(i),
|
731
|
-
role: "option",
|
732
|
-
class: _(["vs__dropdown-option", {
|
733
|
-
"vs__dropdown-option--deselect": s.isOptionDeselectable(i) && u === e.typeAheadPointer,
|
734
|
-
"vs__dropdown-option--selected": s.isOptionSelected(i),
|
735
|
-
"vs__dropdown-option--highlight": u === e.typeAheadPointer,
|
736
|
-
"vs__dropdown-option--disabled": !o.selectable(i)
|
737
|
-
}]),
|
738
|
-
"aria-selected": u === e.typeAheadPointer ? !0 : null,
|
739
|
-
onMouseover: (g) => o.selectable(i) ? e.typeAheadPointer = u : null,
|
740
|
-
onClick: A((g) => o.selectable(i) ? s.select(i) : null, ["prevent", "stop"])
|
741
|
-
}, [
|
742
|
-
r(e.$slots, "option", d(c(s.normalizeOptionForSlot(i))), () => [
|
743
|
-
w(C(o.getOptionLabel(i)), 1)
|
744
|
-
])
|
745
|
-
], 42, be))), 128)),
|
746
|
-
s.filteredOptions.length === 0 ? (a(), h("li", Oe, [
|
747
|
-
r(e.$slots, "no-options", d(c(s.scope.noOptions)), () => [
|
748
|
-
ve
|
749
|
-
])
|
750
|
-
])) : O("", !0),
|
751
|
-
r(e.$slots, "list-footer", d(c(s.scope.listFooter)))
|
752
|
-
], 40, me)), [
|
753
|
-
[y]
|
754
|
-
]) : (a(), h("ul", {
|
755
|
-
key: 1,
|
756
|
-
id: `vs${o.uid}__listbox`,
|
757
|
-
role: "listbox",
|
758
|
-
style: { display: "none", visibility: "hidden" }
|
759
|
-
}, null, 8, we))
|
760
|
-
]),
|
761
|
-
_: 3
|
762
|
-
}, 8, ["name"]),
|
763
|
-
r(e.$slots, "footer", d(c(s.scope.footer)))
|
764
|
-
], 10, he);
|
765
|
-
}
|
766
|
-
const Ve = /* @__PURE__ */ S(de, [["render", Se]]);
|
767
|
-
export {
|
768
|
-
Ve as default
|
769
|
-
};
|
173
|
+
n({}, c);
|