@ozdao/prometheus-framework 0.2.242 → 0.2.244
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/events.server.js +1 -1
- package/dist/events.server.mjs +1 -1
- package/dist/node_modules/@unhead/shared/dist/index.cjs +2 -2
- package/dist/node_modules/@unhead/shared/dist/index.cjs.map +1 -1
- package/dist/node_modules/@unhead/shared/dist/index.js +2 -2
- package/dist/node_modules/@unhead/shared/dist/index.js.map +1 -1
- package/dist/node_modules/@unhead/ssr/dist/index.cjs +22 -15
- package/dist/node_modules/@unhead/ssr/dist/index.cjs.map +1 -1
- package/dist/node_modules/@unhead/ssr/dist/index.js +22 -15
- package/dist/node_modules/@unhead/ssr/dist/index.js.map +1 -1
- package/dist/node_modules/@unhead/vue/dist/shared/vue.40986ab9.cjs +48 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.40986ab9.cjs.map +1 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.40986ab9.js +48 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.40986ab9.js.map +1 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.65b7bcda.cjs +38 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.65b7bcda.cjs.map +1 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.65b7bcda.js +38 -0
- package/dist/node_modules/@unhead/vue/dist/shared/vue.65b7bcda.js.map +1 -0
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +26 -19
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs.map +1 -1
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +26 -19
- package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js.map +1 -1
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs +2 -2
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs.map +1 -1
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js +2 -2
- package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js.map +1 -1
- package/dist/node_modules/unhead/dist/index.cjs.map +1 -1
- package/dist/node_modules/unhead/dist/index.js.map +1 -1
- package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.cjs +117 -60
- package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.cjs.map +1 -1
- package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.js +118 -61
- package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.js.map +1 -1
- package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.cjs +3 -2
- package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.cjs.map +1 -1
- package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.js +3 -2
- package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.js.map +1 -1
- package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +5 -6
- package/dist/prometheus-framework/src/components/Block/Block.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Block/Block.vue.js +6 -7
- package/dist/prometheus-framework/src/components/Block/Block.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.cjs +5 -7
- package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.js +5 -7
- package/dist/prometheus-framework/src/components/BottomSheet/BottomSheet.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Completion/Completion.vue.cjs +1 -2
- package/dist/prometheus-framework/src/components/Completion/Completion.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Completion/Completion.vue.js +1 -2
- package/dist/prometheus-framework/src/components/Completion/Completion.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.cjs +23 -29
- package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.js +24 -30
- package/dist/prometheus-framework/src/components/Countdown/Countdown.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +5 -6
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +6 -7
- package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/FieldTags.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue2.js.map +1 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs +24 -25
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js +25 -26
- package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js.map +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +10 -13
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +10 -13
- package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js.map +1 -1
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.cjs +2 -2
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.js +2 -2
- package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Status/Status.vue.cjs +1 -2
- package/dist/prometheus-framework/src/components/Status/Status.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Status/Status.vue.js +1 -2
- package/dist/prometheus-framework/src/components/Status/Status.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +15 -17
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +15 -17
- package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs +2 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +2 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +12 -13
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +12 -13
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +8 -11
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +8 -11
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +23 -25
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +23 -25
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.js +5 -6
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +4 -6
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs +22 -33
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js +22 -33
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/blocks/ChatMessage.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.cjs +4 -6
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/chats/components/sections/ChatWindow.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.cjs +19 -25
- package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.js +19 -25
- package/dist/prometheus-framework/src/modules/community/components/blocks/Activity.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +15 -17
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +15 -17
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +9 -11
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +10 -12
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +15 -19
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +15 -19
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +9 -12
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +9 -12
- package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +5 -6
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs +3 -4
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js +3 -4
- package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js.map +1 -1
- 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 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +17 -16
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +17 -16
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +52 -69
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +52 -69
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +24 -25
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +24 -25
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +1 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +1 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +4 -6
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +5 -7
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.cjs +4 -5
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js +4 -5
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.cjs +4 -6
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +7 -7
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +7 -7
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSorting.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSorting.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +6 -7
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +6 -7
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Empty.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Empty.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.cjs +108 -112
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.js +108 -112
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/BottomNavigationBar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +11 -13
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +11 -13
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.js +5 -6
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/LocationSelection.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +8 -10
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js +9 -11
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.cjs +4 -5
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.js +4 -5
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.cjs +18 -23
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.js +18 -23
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronBottom.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronBottom.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.cjs +15 -18
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.js +15 -18
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderChat.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.cjs +15 -18
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.js +15 -18
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.cjs +14 -17
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.js +14 -17
- package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.js +3 -5
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/dribbble.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/facebook.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/line.vue.cjs +8 -10
- package/dist/prometheus-framework/src/modules/icons/socials/line.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/line.vue.js +8 -10
- package/dist/prometheus-framework/src/modules/icons/socials/line.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/linkedin.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.cjs +14 -18
- package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.js +14 -18
- package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/vk.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.js +6 -8
- package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.cjs +3 -6
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.js +4 -7
- package/dist/prometheus-framework/src/modules/landing/components/elements/AnimatedGrid.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +3 -5
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +14 -19
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +15 -20
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.cjs +218 -241
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.js +218 -241
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Cookies.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.cjs +1701 -1807
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.js +1702 -1808
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/EULA.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.cjs +4107 -4405
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.js +4107 -4405
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Privacy.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.cjs +1257 -1395
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.js +1258 -1396
- package/dist/prometheus-framework/src/modules/legal/components/pages/legal/Terms.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +54 -68
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +55 -69
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.cjs +7 -8
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.js +8 -9
- package/dist/prometheus-framework/src/modules/orders/components/blocks/StatusHistory.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs +64 -76
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js +65 -77
- package/dist/prometheus-framework/src/modules/orders/components/pages/Order.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +58 -72
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +59 -73
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs +21 -24
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js +21 -24
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreate.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +14 -17
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +14 -17
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +44 -49
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +44 -49
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.cjs +4 -5
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.js +4 -5
- package/dist/prometheus-framework/src/modules/orders/components/sections/AskToLogin.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +4 -6
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +4 -6
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.cjs +13 -16
- package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.js +14 -17
- package/dist/prometheus-framework/src/modules/orders/components/sections/Succes.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +2 -3
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +2 -3
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs +14 -22
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js +15 -23
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Contacts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.cjs +8 -10
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.js +8 -10
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +8 -10
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +8 -10
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +21 -30
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +21 -30
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +8 -8
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +8 -15
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +9 -16
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +14 -21
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +15 -22
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +2 -3
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +2 -3
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +17 -18
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js +17 -18
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +10 -12
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +11 -13
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +4 -5
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +4 -5
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +571 -583
- package/dist/prometheus-framework/src/modules/pages/pages.client.js +571 -583
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.cjs +7 -10
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.js +7 -10
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/Page.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardCategory.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardCategory.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +9 -11
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +10 -12
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js.map +1 -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 +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +6 -7
- package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js.map +1 -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/elements/THC.vue.cjs +37 -46
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.js +37 -46
- package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +5 -6
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +6 -7
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +8 -9
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +8 -9
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +5 -7
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +5 -7
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +6 -6
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +6 -7
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +6 -7
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +47 -53
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +47 -53
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js.map +1 -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.vue.cjs +8 -12
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +8 -12
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs +27 -35
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js +27 -35
- package/dist/prometheus-framework/src/modules/reports/components/pages/BackofficeReports.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +7 -10
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +8 -11
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +3 -6
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +4 -7
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +8 -9
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +8 -9
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs +6 -8
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js +7 -9
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.cjs +51 -58
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.js +52 -59
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +10 -13
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +10 -13
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +32 -40
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +32 -40
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +2 -3
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +2 -3
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +16 -23
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +17 -24
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs +10 -12
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js +11 -13
- package/dist/prometheus-framework/src/modules/users/components/sections/FeaturedUsers.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.cjs +1 -2
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.js +1 -2
- package/dist/prometheus-framework/src/modules/users/components/sections/ProfileCompletion.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs +5 -8
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +5 -8
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.cjs +6 -9
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.js +6 -9
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.cjs +18 -23
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.js +19 -24
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.cjs +20 -23
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js +20 -23
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +61 -67
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +61 -67
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js.map +1 -1
- package/dist/prometheus-framework.cjs.js +21 -21
- package/dist/prometheus-framework.es.js +2845 -2813
- package/dist/tickets.controller-CLL05IYf.mjs +441 -0
- package/dist/tickets.controller-Dn5NbQEu.js +440 -0
- package/dist/wallet.server.js +1 -1
- package/dist/wallet.server.mjs +1 -1
- package/package.json +1 -1
- package/src/modules/events/components/elements/ButtonCheck.vue +16 -9
- package/src/modules/events/controllers/tickets.controller.js +33 -7
- package/src/modules/globals/views/components/layouts/Client.vue +1 -12
- package/src/modules/events/components/elements/ButtonCheck1.vue +0 -107
- package/src/modules/events/components/elements/ButtonCheck2.vue +0 -76
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"FieldTags.vue.cjs","sources":["../../../../../src/components/FieldTags/FieldTags.vue"],"sourcesContent":["<!--\n Entry Point for the component.\n The file contains the template and includes the script and style files.\n-->\n\n<template>\n <div\n class=\"vue-tags-input\"\n :class=\"[{ 'ti-disabled': disabled }, { 'ti-focus': focused }, $attrs.class]\"\n :style=\"$attrs.style\"\n >\n <div class=\"ti-input\">\n <ul v-if=\"tagsCopy\" class=\"ti-tags\">\n <li\n v-for=\"(tag, index) in tagsCopy\"\n :key=\"index\"\n :style=\"tag.style\"\n :class=\"[\n { 'ti-editing': tagsEditStatus[index] },\n tag.tiClasses,\n tag.classes,\n { 'ti-deletion-mark': isMarked(index) }\n ]\"\n tabindex=\"0\"\n class=\"ti-tag t-medium\"\n @click=\"$emit('tag-clicked', { tag, index })\"\n >\n <div class=\"ti-content\">\n <div\n v-if=\"$slots['tag-left']\"\n class=\"ti-tag-left\"\n >\n <slot\n name=\"tag-left\"\n :tag=\"tag\"\n :index=\"index\"\n :edit=\"tagsEditStatus[index]\"\n :perform-save-edit=\"performSaveTag\"\n :perform-delete=\"performDeleteTag\"\n :perform-cancel-edit=\"cancelEdit\"\n :perform-open-edit=\"performEditTag\"\n :deletion-mark=\"isMarked(index)\"\n />\n </div>\n <div :ref=\"setTagCenter\" class=\"ti-tag-center\">\n <span\n v-if=\"!$slots['tag-center']\"\n :class=\"{ 'ti-hidden': tagsEditStatus[index] }\"\n @click=\"performEditTag(index)\"\n >{{ tag.text }}</span>\n <tag-input\n v-if=\"!$slots['tag-center']\"\n :scope=\"{\n edit: tagsEditStatus[index],\n maxlength,\n tag,\n index,\n validateTag: createChangedTag,\n performCancelEdit: cancelEdit,\n performSaveEdit: performSaveTag,\n }\"\n />\n <slot\n name=\"tag-center\"\n :tag=\"tag\"\n :index=\"index\"\n :maxlength=\"maxlength\"\n :edit=\"tagsEditStatus[index]\"\n :perform-save-edit=\"performSaveTag\"\n :perform-delete=\"performDeleteTag\"\n :perform-cancel-edit=\"cancelEdit\"\n :validate-tag=\"createChangedTag\"\n :perform-open-edit=\"performEditTag\"\n :deletion-mark=\"isMarked(index)\"\n />\n </div>\n <div\n v-if=\"$slots['tag-right']\"\n class=\"ti-tag-right\"\n >\n <slot\n name=\"tag-right\"\n :tag=\"tag\"\n :index=\"index\"\n :edit=\"tagsEditStatus[index]\"\n :perform-save-edit=\"performSaveTag\"\n :perform-delete=\"performDeleteTag\"\n :perform-cancel-edit=\"cancelEdit\"\n :perform-open-edit=\"performEditTag\"\n :deletion-mark=\"isMarked(index)\"\n />\n </div>\n </div>\n <div class=\"ti-actions\">\n <!-- dont use v-if and v-else here -> different event calling on click?! -->\n <i\n v-if=\"!$slots['tag-actions']\"\n v-show=\"tagsEditStatus[index]\"\n class=\"ti-icon-undo\"\n @click=\"cancelEdit(index)\"\n />\n <i\n v-if=\"!$slots['tag-actions']\"\n v-show=\"!tagsEditStatus[index]\"\n class=\"ti-icon-close\"\n @click=\"performDeleteTag(index)\"\n />\n <slot\n v-if=\"$slots['tag-actions']\"\n name=\"tag-actions\"\n :tag=\"tag\"\n :index=\"index\"\n :edit=\"tagsEditStatus[index]\"\n :perform-save-edit=\"performSaveTag\"\n :perform-delete=\"performDeleteTag\"\n :perform-cancel-edit=\"cancelEdit\"\n :perform-open-edit=\"performEditTag\"\n :deletion-mark=\"isMarked(index)\"\n />\n </div>\n </li>\n <li class=\"ti-new-tag-input-wrapper\">\n <input\n ref=\"newTagInput\"\n v-bind=\"$attrs\"\n :class=\"[createClasses(newTag, tags, validation, isDuplicate)]\"\n :placeholder=\"placeholder\"\n :value=\"newTag\"\n :maxlength=\"maxlength\"\n :disabled=\"disabled\"\n type=\"text\"\n size=\"1\"\n class=\"ti-new-tag-input\"\n @keydown=\"performAddTags(\n filteredAutocompleteItems[selectedItem] || newTag, $event\n )\"\n @paste=\"addTagsFromPaste\"\n @keydown.delete=\"invokeDelete\"\n @keydown.tab=\"performBlur\"\n @keydown.up=\"selectItem($event, 'before')\"\n @keydown.down=\"selectItem($event, 'after')\"\n @input=\"updateNewTag\"\n @focus=\"focused = true\"\n @click=\"addOnlyFromAutocomplete ? false : selectedItem = null\"\n >\n </li>\n </ul>\n </div>\n <slot name=\"between-elements\" />\n <div\n v-if=\"autocompleteOpen\"\n class=\"ti-autocomplete\"\n :class=\"$attrs.class\"\n @mouseout=\"selectedItem = null\"\n >\n <slot name=\"autocomplete-header\" />\n <ul>\n <li\n v-for=\"(item, index) in filteredAutocompleteItems\"\n :key=\"index\"\n :style=\"item.style\"\n :class=\"[\n item.tiClasses,\n item.classes,\n { 'ti-selected-item': isSelected(index) }\n ]\"\n class=\"ti-item\"\n @mouseover=\"disabled ? false : selectedItem = index\"\n >\n <div\n v-if=\"!$slots['autocomplete-item']\"\n @click=\"performAddTags(item, undefined, 'autocomplete')\"\n >\n {{ item.text }}\n </div>\n <slot\n v-else\n name=\"autocomplete-item\"\n :item=\"item\"\n :index=\"index\"\n :perform-add=\"item => performAddTags(item, undefined, 'autocomplete')\"\n :selected=\"isSelected(index)\"\n />\n </li>\n </ul>\n <slot name=\"autocomplete-footer\" />\n </div>\n </div>\n</template>\n\n<!-- js and scss resources → I separated it into different files, because they became huge -->\n<script src=\"./vue-tags-input.js\"></script>\n\n<style lang=\"scss\" src=\"./vue-tags-input.scss\" ></style>\n"],"names":["_resolveComponent","_openBlock","_createElementBlock","_normalizeStyle","_createElementVNode","_Fragment","_renderList","tagsEditStatus","_normalizeClass","isMarked","$emit","_renderSlot","_createCommentVNode","_toDisplayString","_createBlock","_withDirectives","_vShow","_mergeProps","newTag","filteredAutocompleteItems","_withKeys","selectItem","autocompleteOpen","isSelected","disabled","selectedItem","performAddTags"],"mappings":";;;;;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AA,mBAAAG,cAAA,MAAAC,IAAA,WAAA,KAAA,2BAAA,CAAA,MAAA,UAAA;AACV,iBAhKXL,IAAA,UAAA,GAAAC,IAgK4B,mBAAA,MAAA;AAAA,YACjB,KAAK;AAAA,YAAoB,OAAUC,IAAAA,eAAA,KAAA,KAAA;AAAA,YAAkB,OAAQK,IAAA,eAAA,CAAA;AAAA,cAAoCe,KAAAA;AAAAA,mBAKnF;AAAA,cACd,EAAA,oBAAWC,KAAAA,WAAAA,KAAmBC,EAAAA;AAAAA;yBAGhB,YAAA,KAAA,WAAA,QAAA,KAAA,eAAA;AAAA;kBA1KzB,OAAA,mBAAA,KA2KaxB,cAAOyB,GAAAA,IAAAA,mBAAAA,OAAe;AAAA;cAWvB,SAAA,YAAA,KAAA,eAAA,MAAA,QAAA,cAAA;AAAA,eAtLZb,IAAA,gBAAA,KAAA,IAAA,GAAA,GAAA,WAAA,KAkLaF,eAAU,KAAA,QAAA,qBAAA;AAAA,cACV,KAAK;AAAA,cACL;AAAA,cACA;AAAA;cArLb,UAAA,KAAA,WAAA,KAAA;AAAA;;QAyLyC,CAAA,GAAA,GAAA;AAAA;MAzLzCA,eAAA,KAAA,QAAA,qBAAA;AAAA;;;;;"}
|
1
|
+
{"version":3,"file":"FieldTags.vue.cjs","sources":["../../../../../src/components/FieldTags/FieldTags.vue"],"sourcesContent":["<!--\n Entry Point for the component.\n The file contains the template and includes the script and style files.\n-->\n\n<template>\n <div\n class=\"vue-tags-input\"\n :class=\"[{ 'ti-disabled': disabled }, { 'ti-focus': focused }, $attrs.class]\"\n :style=\"$attrs.style\"\n >\n <div class=\"ti-input\">\n <ul v-if=\"tagsCopy\" class=\"ti-tags\">\n <li\n v-for=\"(tag, index) in tagsCopy\"\n :key=\"index\"\n :style=\"tag.style\"\n :class=\"[\n { 'ti-editing': tagsEditStatus[index] },\n tag.tiClasses,\n tag.classes,\n { 'ti-deletion-mark': isMarked(index) }\n ]\"\n tabindex=\"0\"\n class=\"ti-tag t-medium\"\n @click=\"$emit('tag-clicked', { tag, index })\"\n >\n <div class=\"ti-content\">\n <div\n v-if=\"$slots['tag-left']\"\n class=\"ti-tag-left\"\n >\n <slot\n name=\"tag-left\"\n :tag=\"tag\"\n :index=\"index\"\n :edit=\"tagsEditStatus[index]\"\n :perform-save-edit=\"performSaveTag\"\n :perform-delete=\"performDeleteTag\"\n :perform-cancel-edit=\"cancelEdit\"\n :perform-open-edit=\"performEditTag\"\n :deletion-mark=\"isMarked(index)\"\n />\n </div>\n <div :ref=\"setTagCenter\" class=\"ti-tag-center\">\n <span\n v-if=\"!$slots['tag-center']\"\n :class=\"{ 'ti-hidden': tagsEditStatus[index] }\"\n @click=\"performEditTag(index)\"\n >{{ tag.text }}</span>\n <tag-input\n v-if=\"!$slots['tag-center']\"\n :scope=\"{\n edit: tagsEditStatus[index],\n maxlength,\n tag,\n index,\n validateTag: createChangedTag,\n performCancelEdit: cancelEdit,\n performSaveEdit: performSaveTag,\n }\"\n />\n <slot\n name=\"tag-center\"\n :tag=\"tag\"\n :index=\"index\"\n :maxlength=\"maxlength\"\n :edit=\"tagsEditStatus[index]\"\n :perform-save-edit=\"performSaveTag\"\n :perform-delete=\"performDeleteTag\"\n :perform-cancel-edit=\"cancelEdit\"\n :validate-tag=\"createChangedTag\"\n :perform-open-edit=\"performEditTag\"\n :deletion-mark=\"isMarked(index)\"\n />\n </div>\n <div\n v-if=\"$slots['tag-right']\"\n class=\"ti-tag-right\"\n >\n <slot\n name=\"tag-right\"\n :tag=\"tag\"\n :index=\"index\"\n :edit=\"tagsEditStatus[index]\"\n :perform-save-edit=\"performSaveTag\"\n :perform-delete=\"performDeleteTag\"\n :perform-cancel-edit=\"cancelEdit\"\n :perform-open-edit=\"performEditTag\"\n :deletion-mark=\"isMarked(index)\"\n />\n </div>\n </div>\n <div class=\"ti-actions\">\n <!-- dont use v-if and v-else here -> different event calling on click?! -->\n <i\n v-if=\"!$slots['tag-actions']\"\n v-show=\"tagsEditStatus[index]\"\n class=\"ti-icon-undo\"\n @click=\"cancelEdit(index)\"\n />\n <i\n v-if=\"!$slots['tag-actions']\"\n v-show=\"!tagsEditStatus[index]\"\n class=\"ti-icon-close\"\n @click=\"performDeleteTag(index)\"\n />\n <slot\n v-if=\"$slots['tag-actions']\"\n name=\"tag-actions\"\n :tag=\"tag\"\n :index=\"index\"\n :edit=\"tagsEditStatus[index]\"\n :perform-save-edit=\"performSaveTag\"\n :perform-delete=\"performDeleteTag\"\n :perform-cancel-edit=\"cancelEdit\"\n :perform-open-edit=\"performEditTag\"\n :deletion-mark=\"isMarked(index)\"\n />\n </div>\n </li>\n <li class=\"ti-new-tag-input-wrapper\">\n <input\n ref=\"newTagInput\"\n v-bind=\"$attrs\"\n :class=\"[createClasses(newTag, tags, validation, isDuplicate)]\"\n :placeholder=\"placeholder\"\n :value=\"newTag\"\n :maxlength=\"maxlength\"\n :disabled=\"disabled\"\n type=\"text\"\n size=\"1\"\n class=\"ti-new-tag-input\"\n @keydown=\"performAddTags(\n filteredAutocompleteItems[selectedItem] || newTag, $event\n )\"\n @paste=\"addTagsFromPaste\"\n @keydown.delete=\"invokeDelete\"\n @keydown.tab=\"performBlur\"\n @keydown.up=\"selectItem($event, 'before')\"\n @keydown.down=\"selectItem($event, 'after')\"\n @input=\"updateNewTag\"\n @focus=\"focused = true\"\n @click=\"addOnlyFromAutocomplete ? false : selectedItem = null\"\n >\n </li>\n </ul>\n </div>\n <slot name=\"between-elements\" />\n <div\n v-if=\"autocompleteOpen\"\n class=\"ti-autocomplete\"\n :class=\"$attrs.class\"\n @mouseout=\"selectedItem = null\"\n >\n <slot name=\"autocomplete-header\" />\n <ul>\n <li\n v-for=\"(item, index) in filteredAutocompleteItems\"\n :key=\"index\"\n :style=\"item.style\"\n :class=\"[\n item.tiClasses,\n item.classes,\n { 'ti-selected-item': isSelected(index) }\n ]\"\n class=\"ti-item\"\n @mouseover=\"disabled ? false : selectedItem = index\"\n >\n <div\n v-if=\"!$slots['autocomplete-item']\"\n @click=\"performAddTags(item, undefined, 'autocomplete')\"\n >\n {{ item.text }}\n </div>\n <slot\n v-else\n name=\"autocomplete-item\"\n :item=\"item\"\n :index=\"index\"\n :perform-add=\"item => performAddTags(item, undefined, 'autocomplete')\"\n :selected=\"isSelected(index)\"\n />\n </li>\n </ul>\n <slot name=\"autocomplete-footer\" />\n </div>\n </div>\n</template>\n\n<!-- js and scss resources → I separated it into different files, because they became huge -->\n<script src=\"./vue-tags-input.js\"></script>\n\n<style lang=\"scss\" src=\"./vue-tags-input.scss\" ></style>\n"],"names":["_resolveComponent","_openBlock","_createElementBlock","_normalizeStyle","_createElementVNode","_Fragment","_renderList","_normalizeClass","_renderSlot","_toDisplayString","_createBlock","_createCommentVNode","_withDirectives","_mergeProps","_withKeys"],"mappings":";;;;;;;AAY0B,MAAA,aAAe;AAAA;;AAe1B;;;AAGD,MAAA,aAAmB;AAAA;;;;AAgDnB,MAAA,aAAoB;AAAA;EAenB,OAAA;;;AA4BH,MAAA,aAAA,CAAA,SAAM;;;;;;;+BAkEVA,IAAA,iBAAA,WAAA;SAlLEC,IAAA,UAAA,GAAAC,IAAc,mBAAA,OAAA;AAAA;IAEpB,OAAAC,wBAwIM,OAAA,KAAA;AAAA;IAvIJC,IAAA,mBAAA,OAAA,YAAA;AAAA,MACE,KAAA,oDA2GK,MAAA,YAAA;AAAA,SAzGFH,IAAAA,UAAU,IAAA,GAAAC,IAAA,mBAAAG,cAAA,MAAAC,IAAA,WAAA,KAAA,UAAA,CAAA,KAAA,UAAA;iBACLL,IAAA,UAAA,GAAAC,IAAW,mBAAA,MAAA;AAAA,YAChB,KAAK;AAAA,YAAgC,OAAAC,IAAAA,eAAA,IAAA,KAAe;AAAA,YAA0B,OAASI,IAAA,eAAA,CAAA;AAAA,cAAc,EAAA,cAAW,KAAA,eAAA,KAAA,EAAA;AAAA,cAAoC,IAAA;AAAA,kBAO9H;AAAA,cADvB,EAAA,oBAAY,KAAA,SAAA,KAAA,EAAA;AAAA,YAEX,GAAA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AA,cAEpB,KAAA;AAAA,cASH,SAAA,YAAA,KAAA,eAAA,MAAA,QAAA,cAAA;AAAA,kEAJCM,eAAU,KAAA,QAAA,qBAAA;AAAA,cACV,KAAK;AAAA,cACL;AAAA,cACA;AAAA;;;;QAI4B,CAAA,GAAA,GAAA;AAAA;;;;;;;"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"FieldTags.vue.js","sources":["../../../../../src/components/FieldTags/FieldTags.vue"],"sourcesContent":["<!--\n Entry Point for the component.\n The file contains the template and includes the script and style files.\n-->\n\n<template>\n <div\n class=\"vue-tags-input\"\n :class=\"[{ 'ti-disabled': disabled }, { 'ti-focus': focused }, $attrs.class]\"\n :style=\"$attrs.style\"\n >\n <div class=\"ti-input\">\n <ul v-if=\"tagsCopy\" class=\"ti-tags\">\n <li\n v-for=\"(tag, index) in tagsCopy\"\n :key=\"index\"\n :style=\"tag.style\"\n :class=\"[\n { 'ti-editing': tagsEditStatus[index] },\n tag.tiClasses,\n tag.classes,\n { 'ti-deletion-mark': isMarked(index) }\n ]\"\n tabindex=\"0\"\n class=\"ti-tag t-medium\"\n @click=\"$emit('tag-clicked', { tag, index })\"\n >\n <div class=\"ti-content\">\n <div\n v-if=\"$slots['tag-left']\"\n class=\"ti-tag-left\"\n >\n <slot\n name=\"tag-left\"\n :tag=\"tag\"\n :index=\"index\"\n :edit=\"tagsEditStatus[index]\"\n :perform-save-edit=\"performSaveTag\"\n :perform-delete=\"performDeleteTag\"\n :perform-cancel-edit=\"cancelEdit\"\n :perform-open-edit=\"performEditTag\"\n :deletion-mark=\"isMarked(index)\"\n />\n </div>\n <div :ref=\"setTagCenter\" class=\"ti-tag-center\">\n <span\n v-if=\"!$slots['tag-center']\"\n :class=\"{ 'ti-hidden': tagsEditStatus[index] }\"\n @click=\"performEditTag(index)\"\n >{{ tag.text }}</span>\n <tag-input\n v-if=\"!$slots['tag-center']\"\n :scope=\"{\n edit: tagsEditStatus[index],\n maxlength,\n tag,\n index,\n validateTag: createChangedTag,\n performCancelEdit: cancelEdit,\n performSaveEdit: performSaveTag,\n }\"\n />\n <slot\n name=\"tag-center\"\n :tag=\"tag\"\n :index=\"index\"\n :maxlength=\"maxlength\"\n :edit=\"tagsEditStatus[index]\"\n :perform-save-edit=\"performSaveTag\"\n :perform-delete=\"performDeleteTag\"\n :perform-cancel-edit=\"cancelEdit\"\n :validate-tag=\"createChangedTag\"\n :perform-open-edit=\"performEditTag\"\n :deletion-mark=\"isMarked(index)\"\n />\n </div>\n <div\n v-if=\"$slots['tag-right']\"\n class=\"ti-tag-right\"\n >\n <slot\n name=\"tag-right\"\n :tag=\"tag\"\n :index=\"index\"\n :edit=\"tagsEditStatus[index]\"\n :perform-save-edit=\"performSaveTag\"\n :perform-delete=\"performDeleteTag\"\n :perform-cancel-edit=\"cancelEdit\"\n :perform-open-edit=\"performEditTag\"\n :deletion-mark=\"isMarked(index)\"\n />\n </div>\n </div>\n <div class=\"ti-actions\">\n <!-- dont use v-if and v-else here -> different event calling on click?! -->\n <i\n v-if=\"!$slots['tag-actions']\"\n v-show=\"tagsEditStatus[index]\"\n class=\"ti-icon-undo\"\n @click=\"cancelEdit(index)\"\n />\n <i\n v-if=\"!$slots['tag-actions']\"\n v-show=\"!tagsEditStatus[index]\"\n class=\"ti-icon-close\"\n @click=\"performDeleteTag(index)\"\n />\n <slot\n v-if=\"$slots['tag-actions']\"\n name=\"tag-actions\"\n :tag=\"tag\"\n :index=\"index\"\n :edit=\"tagsEditStatus[index]\"\n :perform-save-edit=\"performSaveTag\"\n :perform-delete=\"performDeleteTag\"\n :perform-cancel-edit=\"cancelEdit\"\n :perform-open-edit=\"performEditTag\"\n :deletion-mark=\"isMarked(index)\"\n />\n </div>\n </li>\n <li class=\"ti-new-tag-input-wrapper\">\n <input\n ref=\"newTagInput\"\n v-bind=\"$attrs\"\n :class=\"[createClasses(newTag, tags, validation, isDuplicate)]\"\n :placeholder=\"placeholder\"\n :value=\"newTag\"\n :maxlength=\"maxlength\"\n :disabled=\"disabled\"\n type=\"text\"\n size=\"1\"\n class=\"ti-new-tag-input\"\n @keydown=\"performAddTags(\n filteredAutocompleteItems[selectedItem] || newTag, $event\n )\"\n @paste=\"addTagsFromPaste\"\n @keydown.delete=\"invokeDelete\"\n @keydown.tab=\"performBlur\"\n @keydown.up=\"selectItem($event, 'before')\"\n @keydown.down=\"selectItem($event, 'after')\"\n @input=\"updateNewTag\"\n @focus=\"focused = true\"\n @click=\"addOnlyFromAutocomplete ? false : selectedItem = null\"\n >\n </li>\n </ul>\n </div>\n <slot name=\"between-elements\" />\n <div\n v-if=\"autocompleteOpen\"\n class=\"ti-autocomplete\"\n :class=\"$attrs.class\"\n @mouseout=\"selectedItem = null\"\n >\n <slot name=\"autocomplete-header\" />\n <ul>\n <li\n v-for=\"(item, index) in filteredAutocompleteItems\"\n :key=\"index\"\n :style=\"item.style\"\n :class=\"[\n item.tiClasses,\n item.classes,\n { 'ti-selected-item': isSelected(index) }\n ]\"\n class=\"ti-item\"\n @mouseover=\"disabled ? false : selectedItem = index\"\n >\n <div\n v-if=\"!$slots['autocomplete-item']\"\n @click=\"performAddTags(item, undefined, 'autocomplete')\"\n >\n {{ item.text }}\n </div>\n <slot\n v-else\n name=\"autocomplete-item\"\n :item=\"item\"\n :index=\"index\"\n :perform-add=\"item => performAddTags(item, undefined, 'autocomplete')\"\n :selected=\"isSelected(index)\"\n />\n </li>\n </ul>\n <slot name=\"autocomplete-footer\" />\n </div>\n </div>\n</template>\n\n<!-- js and scss resources → I separated it into different files, because they became huge -->\n<script src=\"./vue-tags-input.js\"></script>\n\n<style lang=\"scss\" src=\"./vue-tags-input.scss\" ></style>\n"],"names":["_resolveComponent","_openBlock","_createElementBlock","_normalizeStyle","_createElementVNode","_Fragment","_renderList","tagsEditStatus","_normalizeClass","isMarked","$emit","_renderSlot","_createCommentVNode","_toDisplayString","_createBlock","_withDirectives","_vShow","_mergeProps","newTag","filteredAutocompleteItems","_withKeys","selectItem","autocompleteOpen","isSelected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;AAAA,cACd,EAAA,oBAAWC,KAAAA,WAAAA,KAAmBC,EAAAA;AAAAA;yBAGhB,YAAA,KAAA,WAAA,QAAA,KAAA,eAAA;AAAA;kBA1KzB,OAAA,mBAAA,KA2KaxB,UAAOyB,GAAAA,mBAAAA,OAAe;AAAA;cAWvB,SAAA,YAAA,KAAA,eAAA,MAAA,QAAA,cAAA;AAAA,eAtLZb,gBAAA,KAAA,IAAA,GAAA,GAAA,WAAA,KAkLaF,WAAU,KAAA,QAAA,qBAAA;AAAA,cACV,KAAK;AAAA,cACL;AAAA,cACA;AAAA;cArLb,UAAA,KAAA,WAAA,KAAA;AAAA;;QAyLyC,CAAA,GAAA,GAAA;AAAA;MAzLzCA,WAAA,KAAA,QAAA,qBAAA;AAAA;;;;"}
|
1
|
+
{"version":3,"file":"FieldTags.vue.js","sources":["../../../../../src/components/FieldTags/FieldTags.vue"],"sourcesContent":["<!--\n Entry Point for the component.\n The file contains the template and includes the script and style files.\n-->\n\n<template>\n <div\n class=\"vue-tags-input\"\n :class=\"[{ 'ti-disabled': disabled }, { 'ti-focus': focused }, $attrs.class]\"\n :style=\"$attrs.style\"\n >\n <div class=\"ti-input\">\n <ul v-if=\"tagsCopy\" class=\"ti-tags\">\n <li\n v-for=\"(tag, index) in tagsCopy\"\n :key=\"index\"\n :style=\"tag.style\"\n :class=\"[\n { 'ti-editing': tagsEditStatus[index] },\n tag.tiClasses,\n tag.classes,\n { 'ti-deletion-mark': isMarked(index) }\n ]\"\n tabindex=\"0\"\n class=\"ti-tag t-medium\"\n @click=\"$emit('tag-clicked', { tag, index })\"\n >\n <div class=\"ti-content\">\n <div\n v-if=\"$slots['tag-left']\"\n class=\"ti-tag-left\"\n >\n <slot\n name=\"tag-left\"\n :tag=\"tag\"\n :index=\"index\"\n :edit=\"tagsEditStatus[index]\"\n :perform-save-edit=\"performSaveTag\"\n :perform-delete=\"performDeleteTag\"\n :perform-cancel-edit=\"cancelEdit\"\n :perform-open-edit=\"performEditTag\"\n :deletion-mark=\"isMarked(index)\"\n />\n </div>\n <div :ref=\"setTagCenter\" class=\"ti-tag-center\">\n <span\n v-if=\"!$slots['tag-center']\"\n :class=\"{ 'ti-hidden': tagsEditStatus[index] }\"\n @click=\"performEditTag(index)\"\n >{{ tag.text }}</span>\n <tag-input\n v-if=\"!$slots['tag-center']\"\n :scope=\"{\n edit: tagsEditStatus[index],\n maxlength,\n tag,\n index,\n validateTag: createChangedTag,\n performCancelEdit: cancelEdit,\n performSaveEdit: performSaveTag,\n }\"\n />\n <slot\n name=\"tag-center\"\n :tag=\"tag\"\n :index=\"index\"\n :maxlength=\"maxlength\"\n :edit=\"tagsEditStatus[index]\"\n :perform-save-edit=\"performSaveTag\"\n :perform-delete=\"performDeleteTag\"\n :perform-cancel-edit=\"cancelEdit\"\n :validate-tag=\"createChangedTag\"\n :perform-open-edit=\"performEditTag\"\n :deletion-mark=\"isMarked(index)\"\n />\n </div>\n <div\n v-if=\"$slots['tag-right']\"\n class=\"ti-tag-right\"\n >\n <slot\n name=\"tag-right\"\n :tag=\"tag\"\n :index=\"index\"\n :edit=\"tagsEditStatus[index]\"\n :perform-save-edit=\"performSaveTag\"\n :perform-delete=\"performDeleteTag\"\n :perform-cancel-edit=\"cancelEdit\"\n :perform-open-edit=\"performEditTag\"\n :deletion-mark=\"isMarked(index)\"\n />\n </div>\n </div>\n <div class=\"ti-actions\">\n <!-- dont use v-if and v-else here -> different event calling on click?! -->\n <i\n v-if=\"!$slots['tag-actions']\"\n v-show=\"tagsEditStatus[index]\"\n class=\"ti-icon-undo\"\n @click=\"cancelEdit(index)\"\n />\n <i\n v-if=\"!$slots['tag-actions']\"\n v-show=\"!tagsEditStatus[index]\"\n class=\"ti-icon-close\"\n @click=\"performDeleteTag(index)\"\n />\n <slot\n v-if=\"$slots['tag-actions']\"\n name=\"tag-actions\"\n :tag=\"tag\"\n :index=\"index\"\n :edit=\"tagsEditStatus[index]\"\n :perform-save-edit=\"performSaveTag\"\n :perform-delete=\"performDeleteTag\"\n :perform-cancel-edit=\"cancelEdit\"\n :perform-open-edit=\"performEditTag\"\n :deletion-mark=\"isMarked(index)\"\n />\n </div>\n </li>\n <li class=\"ti-new-tag-input-wrapper\">\n <input\n ref=\"newTagInput\"\n v-bind=\"$attrs\"\n :class=\"[createClasses(newTag, tags, validation, isDuplicate)]\"\n :placeholder=\"placeholder\"\n :value=\"newTag\"\n :maxlength=\"maxlength\"\n :disabled=\"disabled\"\n type=\"text\"\n size=\"1\"\n class=\"ti-new-tag-input\"\n @keydown=\"performAddTags(\n filteredAutocompleteItems[selectedItem] || newTag, $event\n )\"\n @paste=\"addTagsFromPaste\"\n @keydown.delete=\"invokeDelete\"\n @keydown.tab=\"performBlur\"\n @keydown.up=\"selectItem($event, 'before')\"\n @keydown.down=\"selectItem($event, 'after')\"\n @input=\"updateNewTag\"\n @focus=\"focused = true\"\n @click=\"addOnlyFromAutocomplete ? false : selectedItem = null\"\n >\n </li>\n </ul>\n </div>\n <slot name=\"between-elements\" />\n <div\n v-if=\"autocompleteOpen\"\n class=\"ti-autocomplete\"\n :class=\"$attrs.class\"\n @mouseout=\"selectedItem = null\"\n >\n <slot name=\"autocomplete-header\" />\n <ul>\n <li\n v-for=\"(item, index) in filteredAutocompleteItems\"\n :key=\"index\"\n :style=\"item.style\"\n :class=\"[\n item.tiClasses,\n item.classes,\n { 'ti-selected-item': isSelected(index) }\n ]\"\n class=\"ti-item\"\n @mouseover=\"disabled ? false : selectedItem = index\"\n >\n <div\n v-if=\"!$slots['autocomplete-item']\"\n @click=\"performAddTags(item, undefined, 'autocomplete')\"\n >\n {{ item.text }}\n </div>\n <slot\n v-else\n name=\"autocomplete-item\"\n :item=\"item\"\n :index=\"index\"\n :perform-add=\"item => performAddTags(item, undefined, 'autocomplete')\"\n :selected=\"isSelected(index)\"\n />\n </li>\n </ul>\n <slot name=\"autocomplete-footer\" />\n </div>\n </div>\n</template>\n\n<!-- js and scss resources → I separated it into different files, because they became huge -->\n<script src=\"./vue-tags-input.js\"></script>\n\n<style lang=\"scss\" src=\"./vue-tags-input.scss\" ></style>\n"],"names":["_resolveComponent","_openBlock","_createElementBlock","_normalizeStyle","_createElementVNode","_Fragment","_renderList","_normalizeClass","_renderSlot","_toDisplayString","_createBlock","_createCommentVNode","_withDirectives","_mergeProps","_withKeys"],"mappings":";;;;;AAY0B,MAAA,aAAe;AAAA;;AAe1B;;;AAGD,MAAA,aAAmB;AAAA;;;;AAgDnB,MAAA,aAAoB;AAAA;EAenB,OAAA;;;AA4BH,MAAA,aAAA,CAAA,SAAM;;;;;;;+BAkEVA,iBAAA,WAAA;SAlLEC,UAAA,GAAAC,mBAAc,OAAA;AAAA;IAEpB,OAAAC,oBAwIM,OAAA,KAAA;AAAA;IAvIJC,mBAAA,OAAA,YAAA;AAAA,MACE,KAAA,4CA2GK,MAAA,YAAA;AAAA,SAzGFH,UAAU,IAAA,GAAAC,mBAAAG,UAAA,MAAAC,WAAA,KAAA,UAAA,CAAA,KAAA,UAAA;iBACLL,UAAA,GAAAC,mBAAW,MAAA;AAAA,YAChB,KAAK;AAAA,YAAgC,OAAAC,eAAA,IAAA,KAAe;AAAA,YAA0B,OAASI,eAAA,CAAA;AAAA,cAAc,EAAA,cAAW,KAAA,eAAA,KAAA,EAAA;AAAA,cAAoC,IAAA;AAAA,kBAO9H;AAAA,cADvB,EAAA,oBAAY,KAAA,SAAA,KAAA,EAAA;AAAA,YAEX,GAAA,iBAAO,CAAA;AAAA;YAER,SAAA,YAiEM,WAAA,eAAA,EAAA,KAAA,MAAA,CAAA;AAAA;YAhEJH,mBAAA,OAAA,YAAA;AAAA,mBAIE,OAUE,UAAA,KARCH,aAAQC,mBAAA,OAAA,YAAA;AAAA,gBACRM,WAAY,KAAA,QAAA,YAAA;AAAA,kBACZ;AAAA,kBACA;AAAA,kBACA,MAAA,KAAA,eAAgC,KAAA;AAAA,kBAChC,iBAAmB,KAAY;AAAA,kBAC/B,eAAiB,KAAgB;AAAA,kBACjC,mBAAuB,KAAA;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AAAA;;;;YAK9BH,mBAAA,IAAA,IAAA;AAAA,KAExB;AAAA,4BAoCF,kBAAA;AAAA,6BAnCJV,UAAM,GAAAC,mBAAA,OAAA;AAAA,MAEL,KAAA;AAAA;MAED,YAAmC,OAAA,CAAA,MAAA,OAAA,CAAA,IAAA,YAAA,KAAA,eAAA;AAAA,OA6B9B;AAAA,MA3BHM,WAAA,KAAA,QAAA,qBAC0B;AAAA,+BAD1B,MA0BK;AAAA,SAxBFP,UAAU,IAAA,GAAAC,mBAAAG,UAAA,MAAAC,WAAA,KAAA,2BAAA,CAAA,MAAA,UAAA;iBACLL,UAAA,GAAAC,mBAAY,MAAA;AAAA,YACjB,KAAK;AAAA,YAAoB,OAAUC,eAAA,KAAA,KAAA;AAAA,YAAkB,OAAQI,eAAA,CAAA;AAAA,cAAoC,KAAA;AAAA,mBAKnF;AAAA,cACd,EAAA,oBAAW,KAAA,WAAA,KAAmB,EAAA;AAAA;yBAGhB,YAAA,KAAA,WAAA,QAAA,KAAA,eAAA;AAAA;iDACZN,UAAO,GAAAC,mBAAA,OAAe;AAAA,cAEpB,KAAA;AAAA,cASH,SAAA,YAAA,KAAA,eAAA,MAAA,QAAA,cAAA;AAAA,8DAJCM,WAAU,KAAA,QAAA,qBAAA;AAAA,cACV,KAAK;AAAA,cACL;AAAA,cACA;AAAA;;;;QAI4B,CAAA,GAAA,GAAA;AAAA;;;;;;"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"tag-input.vue2.cjs","sources":["../../../../../src/components/FieldTags/tag-input.vue"],"sourcesContent":["<!-- A helper component used by VueTagsInput and can be put into the tag-center slot -->\n\n<template>\n <input\n v-if=\"scope.edit\"\n v-model=\"scope.tag.text\"\n :maxlength=\"scope.maxlength\"\n type=\"text\"\n class=\"ti-tag-input\"\n size=\"1\"\n @input=\"scope.validateTag(scope.index, $event)\"\n @blur=\"scope.performCancelEdit(scope.index)\"\n @keydown=\"scope.performSaveEdit(scope.index, $event)\"\n >\n</template>\n\n<script>\n\nexport default {\n name: 'TagInput',\n props: {\n scope: {\n type: Object,\n },\n },\n};\n\n</script>\n\n<style lang=\"css\" >\n.ti-tag-input {\n background-color: transparent;\n color: inherit;\n border: none;\n padding: 0px;\n margin: 0px;\n display: flex;\n top: 0px;\n position: absolute;\n width: 100%;\n line-height: inherit;\n}\n\n.ti-tag-input::-ms-clear {\n display: none;\n}\n\ninput:focus {\n outline: none;\n}\n\ninput[disabled] {\n background-color: transparent;\n}\n</style>\n"],"names":["_createElementBlock"
|
1
|
+
{"version":3,"file":"tag-input.vue2.cjs","sources":["../../../../../src/components/FieldTags/tag-input.vue"],"sourcesContent":["<!-- A helper component used by VueTagsInput and can be put into the tag-center slot -->\n\n<template>\n <input\n v-if=\"scope.edit\"\n v-model=\"scope.tag.text\"\n :maxlength=\"scope.maxlength\"\n type=\"text\"\n class=\"ti-tag-input\"\n size=\"1\"\n @input=\"scope.validateTag(scope.index, $event)\"\n @blur=\"scope.performCancelEdit(scope.index)\"\n @keydown=\"scope.performSaveEdit(scope.index, $event)\"\n >\n</template>\n\n<script>\n\nexport default {\n name: 'TagInput',\n props: {\n scope: {\n type: Object,\n },\n },\n};\n\n</script>\n\n<style lang=\"css\" >\n.ti-tag-input {\n background-color: transparent;\n color: inherit;\n border: none;\n padding: 0px;\n margin: 0px;\n display: flex;\n top: 0px;\n position: absolute;\n width: 100%;\n line-height: inherit;\n}\n\n.ti-tag-input::-ms-clear {\n display: none;\n}\n\ninput:focus {\n outline: none;\n}\n\ninput[disabled] {\n background-color: transparent;\n}\n</style>\n"],"names":["_createElementBlock"],"mappings":";;;;;AAkBA,MAAK,YAAU;AAAA,EACb,MAAM;AAAA,EACN,OAAO;AAAA,IACL,OAAO;AAAA,MACL,MAAM;AAAA,IACP;AAAA,EACF;AACH;;;AArBU,SAAA,OAAA,MAAM,4CADdA,IAUC,mBAAA,SAAA;AAAA;iEARU,OAAK,MAAC,IAAI,OAAI;AAAA,IACtB,WAAW,OAAK,MAAC;AAAA,IAClB,MAAK;AAAA,IACL,OAAM;AAAA,IACN,MAAK;AAAA,IACJ,SAAK,OAAA,CAAA,MAAA,OAAA,CAAA,IAAA,YAAE,aAAM,YAAY,OAAK,MAAC,OAAO,MAAM;AAAA,IAC5C,8CAAM,OAAK,MAAC,kBAAkB,OAAA,MAAM,KAAK;AAAA,IACzC,WAAO,OAAA,CAAA,MAAA,OAAA,CAAA,IAAA,YAAE,aAAM,gBAAgB,OAAK,MAAC,OAAO,MAAM;AAAA;qBAP1C,OAAK,MAAC,IAAI,IAAI;AAAA;;;;"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"tag-input.vue2.js","sources":["../../../../../src/components/FieldTags/tag-input.vue"],"sourcesContent":["<!-- A helper component used by VueTagsInput and can be put into the tag-center slot -->\n\n<template>\n <input\n v-if=\"scope.edit\"\n v-model=\"scope.tag.text\"\n :maxlength=\"scope.maxlength\"\n type=\"text\"\n class=\"ti-tag-input\"\n size=\"1\"\n @input=\"scope.validateTag(scope.index, $event)\"\n @blur=\"scope.performCancelEdit(scope.index)\"\n @keydown=\"scope.performSaveEdit(scope.index, $event)\"\n >\n</template>\n\n<script>\n\nexport default {\n name: 'TagInput',\n props: {\n scope: {\n type: Object,\n },\n },\n};\n\n</script>\n\n<style lang=\"css\" >\n.ti-tag-input {\n background-color: transparent;\n color: inherit;\n border: none;\n padding: 0px;\n margin: 0px;\n display: flex;\n top: 0px;\n position: absolute;\n width: 100%;\n line-height: inherit;\n}\n\n.ti-tag-input::-ms-clear {\n display: none;\n}\n\ninput:focus {\n outline: none;\n}\n\ninput[disabled] {\n background-color: transparent;\n}\n</style>\n"],"names":["_createElementBlock"
|
1
|
+
{"version":3,"file":"tag-input.vue2.js","sources":["../../../../../src/components/FieldTags/tag-input.vue"],"sourcesContent":["<!-- A helper component used by VueTagsInput and can be put into the tag-center slot -->\n\n<template>\n <input\n v-if=\"scope.edit\"\n v-model=\"scope.tag.text\"\n :maxlength=\"scope.maxlength\"\n type=\"text\"\n class=\"ti-tag-input\"\n size=\"1\"\n @input=\"scope.validateTag(scope.index, $event)\"\n @blur=\"scope.performCancelEdit(scope.index)\"\n @keydown=\"scope.performSaveEdit(scope.index, $event)\"\n >\n</template>\n\n<script>\n\nexport default {\n name: 'TagInput',\n props: {\n scope: {\n type: Object,\n },\n },\n};\n\n</script>\n\n<style lang=\"css\" >\n.ti-tag-input {\n background-color: transparent;\n color: inherit;\n border: none;\n padding: 0px;\n margin: 0px;\n display: flex;\n top: 0px;\n position: absolute;\n width: 100%;\n line-height: inherit;\n}\n\n.ti-tag-input::-ms-clear {\n display: none;\n}\n\ninput:focus {\n outline: none;\n}\n\ninput[disabled] {\n background-color: transparent;\n}\n</style>\n"],"names":["_createElementBlock"],"mappings":";;;AAkBA,MAAK,YAAU;AAAA,EACb,MAAM;AAAA,EACN,OAAO;AAAA,IACL,OAAO;AAAA,MACL,MAAM;AAAA,IACP;AAAA,EACF;AACH;;;AArBU,SAAA,OAAA,MAAM,oCADdA,mBAUC,SAAA;AAAA;iEARU,OAAK,MAAC,IAAI,OAAI;AAAA,IACtB,WAAW,OAAK,MAAC;AAAA,IAClB,MAAK;AAAA,IACL,OAAM;AAAA,IACN,MAAK;AAAA,IACJ,SAAK,OAAA,CAAA,MAAA,OAAA,CAAA,IAAA,YAAE,aAAM,YAAY,OAAK,MAAC,OAAO,MAAM;AAAA,IAC5C,8CAAM,OAAK,MAAC,kBAAkB,OAAA,MAAM,KAAK;AAAA,IACzC,WAAO,OAAA,CAAA,MAAA,OAAA,CAAA,IAAA,YAAE,aAAM,gBAAgB,OAAK,MAAC,OAAO,MAAM;AAAA;iBAP1C,OAAK,MAAC,IAAI,IAAI;AAAA;;;"}
|
@@ -16,39 +16,38 @@ const _sfc_main = {
|
|
16
16
|
}
|
17
17
|
};
|
18
18
|
const _hoisted_1 = { class: "circular-loader" };
|
19
|
-
const _hoisted_2 =
|
20
|
-
/* @__PURE__ */ vue.createElementVNode("circle", {
|
21
|
-
class: "circular-loader-fill",
|
22
|
-
cx: "50",
|
23
|
-
cy: "50",
|
24
|
-
r: "20",
|
25
|
-
fill: "none",
|
26
|
-
"stroke-width": "4",
|
27
|
-
"stroke-miterlimit": "10"
|
28
|
-
}),
|
29
|
-
/* @__PURE__ */ vue.createElementVNode("circle", {
|
30
|
-
class: "circular-loader-circle",
|
31
|
-
cx: "50",
|
32
|
-
cy: "50",
|
33
|
-
r: "20",
|
34
|
-
fill: "none",
|
35
|
-
"stroke-width": "4",
|
36
|
-
"stroke-miterlimit": "10"
|
37
|
-
})
|
38
|
-
], -1);
|
39
|
-
const _hoisted_3 = {
|
19
|
+
const _hoisted_2 = {
|
40
20
|
key: 0,
|
41
21
|
class: "progress-text"
|
42
22
|
};
|
43
|
-
const
|
23
|
+
const _hoisted_3 = {
|
44
24
|
key: 1,
|
45
25
|
class: "uppercase t-semi w-m-10r status-text"
|
46
26
|
};
|
47
27
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
48
28
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
49
|
-
|
50
|
-
|
51
|
-
|
29
|
+
_cache[0] || (_cache[0] = vue.createElementVNode("svg", { viewBox: "25 25 50 50" }, [
|
30
|
+
vue.createElementVNode("circle", {
|
31
|
+
class: "circular-loader-fill",
|
32
|
+
cx: "50",
|
33
|
+
cy: "50",
|
34
|
+
r: "20",
|
35
|
+
fill: "none",
|
36
|
+
"stroke-width": "4",
|
37
|
+
"stroke-miterlimit": "10"
|
38
|
+
}),
|
39
|
+
vue.createElementVNode("circle", {
|
40
|
+
class: "circular-loader-circle",
|
41
|
+
cx: "50",
|
42
|
+
cy: "50",
|
43
|
+
r: "20",
|
44
|
+
fill: "none",
|
45
|
+
"stroke-width": "4",
|
46
|
+
"stroke-miterlimit": "10"
|
47
|
+
})
|
48
|
+
], -1)),
|
49
|
+
$props.progress ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, vue.toDisplayString($props.progress), 1)) : vue.createCommentVNode("", true),
|
50
|
+
$props.status ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3, vue.toDisplayString($props.status), 1)) : vue.createCommentVNode("", true)
|
52
51
|
]);
|
53
52
|
}
|
54
53
|
const Loader = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["render", _sfc_render]]);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Loader.vue2.cjs","sources":["../../../../../src/components/Loader/Loader.vue"],"sourcesContent":["<template>\n <div class=\"circular-loader\">\n <svg viewBox=\"25 25 50 50\">\n <circle class=\"circular-loader-fill\" cx=\"50\" cy=\"50\" r=\"20\" fill=\"none\" stroke-width=\"4\" stroke-miterlimit=\"10\" />\n <circle class=\"circular-loader-circle\" cx=\"50\" cy=\"50\" r=\"20\" fill=\"none\" stroke-width=\"4\" stroke-miterlimit=\"10\" />\n \n </svg>\n <div v-if=\"progress\" class=\"progress-text\">{{ progress }}</div>\n <div v-if=\"status\" class=\"uppercase t-semi w-m-10r status-text\">{{ status }}</div>\n </div>\n</template>\n\n<script>\nexport default {\n props: {\n progress: {\n type: Number,\n default: null,\n },\n status: {\n type: String,\n default: null,\n },\n },\n};\n</script>\n\n<style>\n.circular-loader {\n position: relative;\n top: calc(50% - 1rem);\n left: calc(50% - 1rem);\n z-index: 50;\n height: 2rem;\n width: 2rem;\n z-index: 50;\n}\n\n.circular-loader svg {\n animation: rotate 2s linear infinite;\n}\n\n.circular-loader-circle {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n stroke-linecap: round;\n stroke: rgb(var(--main));\n animation: dash 1.5s ease-in-out infinite;\n}\n\n.circular-loader-fill {\n stroke-linecap: round;\n stroke: rgba(var(--black),0.2);\n}\n\n.progress-text {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n font-size: 0.8rem;\n color: rgb(var(--main));;\n}\n\n.status-text {\n position: absolute;\n top: 120%;\n left: calc(50% - 5rem);\n font-size: 0.8rem;\n width: 10rem !important;\n text-align: center;\n}\n\n@keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n}\n\n@keyframes dash {\n 0% {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -35;\n }\n 100% {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: -124;\n }\n}\n</style>"],"names":["
|
1
|
+
{"version":3,"file":"Loader.vue2.cjs","sources":["../../../../../src/components/Loader/Loader.vue"],"sourcesContent":["<template>\n <div class=\"circular-loader\">\n <svg viewBox=\"25 25 50 50\">\n <circle class=\"circular-loader-fill\" cx=\"50\" cy=\"50\" r=\"20\" fill=\"none\" stroke-width=\"4\" stroke-miterlimit=\"10\" />\n <circle class=\"circular-loader-circle\" cx=\"50\" cy=\"50\" r=\"20\" fill=\"none\" stroke-width=\"4\" stroke-miterlimit=\"10\" />\n \n </svg>\n <div v-if=\"progress\" class=\"progress-text\">{{ progress }}</div>\n <div v-if=\"status\" class=\"uppercase t-semi w-m-10r status-text\">{{ status }}</div>\n </div>\n</template>\n\n<script>\nexport default {\n props: {\n progress: {\n type: Number,\n default: null,\n },\n status: {\n type: String,\n default: null,\n },\n },\n};\n</script>\n\n<style>\n.circular-loader {\n position: relative;\n top: calc(50% - 1rem);\n left: calc(50% - 1rem);\n z-index: 50;\n height: 2rem;\n width: 2rem;\n z-index: 50;\n}\n\n.circular-loader svg {\n animation: rotate 2s linear infinite;\n}\n\n.circular-loader-circle {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n stroke-linecap: round;\n stroke: rgb(var(--main));\n animation: dash 1.5s ease-in-out infinite;\n}\n\n.circular-loader-fill {\n stroke-linecap: round;\n stroke: rgba(var(--black),0.2);\n}\n\n.progress-text {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n font-size: 0.8rem;\n color: rgb(var(--main));;\n}\n\n.status-text {\n position: absolute;\n top: 120%;\n left: calc(50% - 5rem);\n font-size: 0.8rem;\n width: 10rem !important;\n text-align: center;\n}\n\n@keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n}\n\n@keyframes dash {\n 0% {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -35;\n }\n 100% {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: -124;\n }\n}\n</style>"],"names":["_openBlock","_createElementBlock","_createElementVNode","_toDisplayString"],"mappings":";;;;;AAaA,MAAK,YAAU;AAAA,EACb,OAAO;AAAA,IACL,UAAU;AAAA,MACR,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA,IACD,QAAQ;AAAA,MACN,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA,EACF;AACH;AAvBO,MAAA,aAAA,EAAA,OAAM,kBAAiB;;;EAML,OAAM;;;;EACR,OAAM;;;AAP3B,SAAAA,cAAA,GAAAC,uBAQM,OARN,YAQM;AAAA,8BAPJC,IAIM,mBAAA,OAAA,EAJD,SAAQ,iBAAa;AAAA,MACvBA,IAAAA,mBAAkH,UAAA;AAAA,QAA1G,OAAM;AAAA,QAAuB,IAAG;AAAA,QAAK,IAAG;AAAA,QAAK,GAAE;AAAA,QAAK,MAAK;AAAA,QAAO,gBAAa;AAAA,QAAI,qBAAkB;AAAA;MAC5GA,IAAAA,mBAAoH,UAAA;AAAA,QAA5G,OAAM;AAAA,QAAyB,IAAG;AAAA,QAAK,IAAG;AAAA,QAAK,GAAE;AAAA,QAAK,MAAK;AAAA,QAAO,gBAAa;AAAA,QAAI,qBAAkB;AAAA;;IAGpG,OAAQ,6BAAnBD,IAA+D,mBAAA,OAA/D,YAA+DE,IAAAA,gBAAjB,OAAQ,QAAA,GAAA,CAAA;IAC3C,OAAM,2BAAjBF,IAAkF,mBAAA,OAAlF,YAAkFE,IAAAA,gBAAf,OAAM,MAAA,GAAA,CAAA;;;;;"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { openBlock, createElementBlock, toDisplayString, createCommentVNode
|
1
|
+
import { openBlock, createElementBlock, createElementVNode, toDisplayString, createCommentVNode } from "vue";
|
2
2
|
/* empty css */
|
3
3
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.js";
|
4
4
|
const _sfc_main = {
|
@@ -14,39 +14,38 @@ const _sfc_main = {
|
|
14
14
|
}
|
15
15
|
};
|
16
16
|
const _hoisted_1 = { class: "circular-loader" };
|
17
|
-
const _hoisted_2 =
|
18
|
-
/* @__PURE__ */ createElementVNode("circle", {
|
19
|
-
class: "circular-loader-fill",
|
20
|
-
cx: "50",
|
21
|
-
cy: "50",
|
22
|
-
r: "20",
|
23
|
-
fill: "none",
|
24
|
-
"stroke-width": "4",
|
25
|
-
"stroke-miterlimit": "10"
|
26
|
-
}),
|
27
|
-
/* @__PURE__ */ createElementVNode("circle", {
|
28
|
-
class: "circular-loader-circle",
|
29
|
-
cx: "50",
|
30
|
-
cy: "50",
|
31
|
-
r: "20",
|
32
|
-
fill: "none",
|
33
|
-
"stroke-width": "4",
|
34
|
-
"stroke-miterlimit": "10"
|
35
|
-
})
|
36
|
-
], -1);
|
37
|
-
const _hoisted_3 = {
|
17
|
+
const _hoisted_2 = {
|
38
18
|
key: 0,
|
39
19
|
class: "progress-text"
|
40
20
|
};
|
41
|
-
const
|
21
|
+
const _hoisted_3 = {
|
42
22
|
key: 1,
|
43
23
|
class: "uppercase t-semi w-m-10r status-text"
|
44
24
|
};
|
45
25
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
46
26
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
47
|
-
|
48
|
-
|
49
|
-
|
27
|
+
_cache[0] || (_cache[0] = createElementVNode("svg", { viewBox: "25 25 50 50" }, [
|
28
|
+
createElementVNode("circle", {
|
29
|
+
class: "circular-loader-fill",
|
30
|
+
cx: "50",
|
31
|
+
cy: "50",
|
32
|
+
r: "20",
|
33
|
+
fill: "none",
|
34
|
+
"stroke-width": "4",
|
35
|
+
"stroke-miterlimit": "10"
|
36
|
+
}),
|
37
|
+
createElementVNode("circle", {
|
38
|
+
class: "circular-loader-circle",
|
39
|
+
cx: "50",
|
40
|
+
cy: "50",
|
41
|
+
r: "20",
|
42
|
+
fill: "none",
|
43
|
+
"stroke-width": "4",
|
44
|
+
"stroke-miterlimit": "10"
|
45
|
+
})
|
46
|
+
], -1)),
|
47
|
+
$props.progress ? (openBlock(), createElementBlock("div", _hoisted_2, toDisplayString($props.progress), 1)) : createCommentVNode("", true),
|
48
|
+
$props.status ? (openBlock(), createElementBlock("div", _hoisted_3, toDisplayString($props.status), 1)) : createCommentVNode("", true)
|
50
49
|
]);
|
51
50
|
}
|
52
51
|
const Loader = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Loader.vue2.js","sources":["../../../../../src/components/Loader/Loader.vue"],"sourcesContent":["<template>\n <div class=\"circular-loader\">\n <svg viewBox=\"25 25 50 50\">\n <circle class=\"circular-loader-fill\" cx=\"50\" cy=\"50\" r=\"20\" fill=\"none\" stroke-width=\"4\" stroke-miterlimit=\"10\" />\n <circle class=\"circular-loader-circle\" cx=\"50\" cy=\"50\" r=\"20\" fill=\"none\" stroke-width=\"4\" stroke-miterlimit=\"10\" />\n \n </svg>\n <div v-if=\"progress\" class=\"progress-text\">{{ progress }}</div>\n <div v-if=\"status\" class=\"uppercase t-semi w-m-10r status-text\">{{ status }}</div>\n </div>\n</template>\n\n<script>\nexport default {\n props: {\n progress: {\n type: Number,\n default: null,\n },\n status: {\n type: String,\n default: null,\n },\n },\n};\n</script>\n\n<style>\n.circular-loader {\n position: relative;\n top: calc(50% - 1rem);\n left: calc(50% - 1rem);\n z-index: 50;\n height: 2rem;\n width: 2rem;\n z-index: 50;\n}\n\n.circular-loader svg {\n animation: rotate 2s linear infinite;\n}\n\n.circular-loader-circle {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n stroke-linecap: round;\n stroke: rgb(var(--main));\n animation: dash 1.5s ease-in-out infinite;\n}\n\n.circular-loader-fill {\n stroke-linecap: round;\n stroke: rgba(var(--black),0.2);\n}\n\n.progress-text {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n font-size: 0.8rem;\n color: rgb(var(--main));;\n}\n\n.status-text {\n position: absolute;\n top: 120%;\n left: calc(50% - 5rem);\n font-size: 0.8rem;\n width: 10rem !important;\n text-align: center;\n}\n\n@keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n}\n\n@keyframes dash {\n 0% {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -35;\n }\n 100% {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: -124;\n }\n}\n</style>"],"names":["
|
1
|
+
{"version":3,"file":"Loader.vue2.js","sources":["../../../../../src/components/Loader/Loader.vue"],"sourcesContent":["<template>\n <div class=\"circular-loader\">\n <svg viewBox=\"25 25 50 50\">\n <circle class=\"circular-loader-fill\" cx=\"50\" cy=\"50\" r=\"20\" fill=\"none\" stroke-width=\"4\" stroke-miterlimit=\"10\" />\n <circle class=\"circular-loader-circle\" cx=\"50\" cy=\"50\" r=\"20\" fill=\"none\" stroke-width=\"4\" stroke-miterlimit=\"10\" />\n \n </svg>\n <div v-if=\"progress\" class=\"progress-text\">{{ progress }}</div>\n <div v-if=\"status\" class=\"uppercase t-semi w-m-10r status-text\">{{ status }}</div>\n </div>\n</template>\n\n<script>\nexport default {\n props: {\n progress: {\n type: Number,\n default: null,\n },\n status: {\n type: String,\n default: null,\n },\n },\n};\n</script>\n\n<style>\n.circular-loader {\n position: relative;\n top: calc(50% - 1rem);\n left: calc(50% - 1rem);\n z-index: 50;\n height: 2rem;\n width: 2rem;\n z-index: 50;\n}\n\n.circular-loader svg {\n animation: rotate 2s linear infinite;\n}\n\n.circular-loader-circle {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n stroke-linecap: round;\n stroke: rgb(var(--main));\n animation: dash 1.5s ease-in-out infinite;\n}\n\n.circular-loader-fill {\n stroke-linecap: round;\n stroke: rgba(var(--black),0.2);\n}\n\n.progress-text {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n font-size: 0.8rem;\n color: rgb(var(--main));;\n}\n\n.status-text {\n position: absolute;\n top: 120%;\n left: calc(50% - 5rem);\n font-size: 0.8rem;\n width: 10rem !important;\n text-align: center;\n}\n\n@keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n}\n\n@keyframes dash {\n 0% {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 89, 200;\n stroke-dashoffset: -35;\n }\n 100% {\n stroke-dasharray: 1, 200;\n stroke-dashoffset: -124;\n }\n}\n</style>"],"names":["_openBlock","_createElementBlock","_createElementVNode","_toDisplayString"],"mappings":";;;AAaA,MAAK,YAAU;AAAA,EACb,OAAO;AAAA,IACL,UAAU;AAAA,MACR,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA,IACD,QAAQ;AAAA,MACN,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA,EACF;AACH;AAvBO,MAAA,aAAA,EAAA,OAAM,kBAAiB;;;EAML,OAAM;;;;EACR,OAAM;;;AAP3B,SAAAA,UAAA,GAAAC,mBAQM,OARN,YAQM;AAAA,8BAPJC,mBAIM,OAAA,EAJD,SAAQ,iBAAa;AAAA,MACvBA,mBAAkH,UAAA;AAAA,QAA1G,OAAM;AAAA,QAAuB,IAAG;AAAA,QAAK,IAAG;AAAA,QAAK,GAAE;AAAA,QAAK,MAAK;AAAA,QAAO,gBAAa;AAAA,QAAI,qBAAkB;AAAA;MAC5GA,mBAAoH,UAAA;AAAA,QAA5G,OAAM;AAAA,QAAyB,IAAG;AAAA,QAAK,IAAG;AAAA,QAAK,GAAE;AAAA,QAAK,MAAK;AAAA,QAAO,gBAAa;AAAA,QAAI,qBAAkB;AAAA;;IAGpG,OAAQ,yBAAnBD,mBAA+D,OAA/D,YAA+DE,gBAAjB,OAAQ,QAAA,GAAA,CAAA;IAC3C,OAAM,uBAAjBF,mBAAkF,OAAlF,YAAkFE,gBAAf,OAAM,MAAA,GAAA,CAAA;;;;"}
|
@@ -14,18 +14,6 @@ const _hoisted_2 = {
|
|
14
14
|
fill: "none",
|
15
15
|
xmlns: "http://www.w3.org/2000/svg"
|
16
16
|
};
|
17
|
-
const _hoisted_3 = /* @__PURE__ */ vue.createElementVNode("path", {
|
18
|
-
d: "M50.0004 31.4995C39.7996 31.4995 31.5 39.7991 31.5 49.9999C31.5 60.2007 39.7996 68.5003 50.0004 68.5003C60.2012 68.5003 68.5008 60.2007 68.5008 49.9999C68.5008 39.7991 60.2012 31.4995 50.0004 31.4995ZM50.0004 63.7944C42.3941 63.7944 36.2059 57.6062 36.2059 49.9999C36.2059 42.3936 42.3941 36.2054 50.0004 36.2054C57.6067 36.2054 63.7949 42.3936 63.7949 49.9999C63.7949 57.6062 57.6067 63.7944 50.0004 63.7944Z",
|
19
|
-
fill: "rgb(var(--white))"
|
20
|
-
}, null, -1);
|
21
|
-
const _hoisted_4 = /* @__PURE__ */ vue.createElementVNode("path", {
|
22
|
-
d: "M97.6471 47.6471H84.56C83.3977 30.4141 69.5859 16.6024 52.3529 15.44V2.35294C52.3529 1.05255 51.2988 0 50 0C48.6996 0 47.6471 1.05255 47.6471 2.35294V15.44C30.4141 16.6024 16.6024 30.4141 15.44 47.6471H2.35294C1.05255 47.6471 0 48.6996 0 50C0 51.2988 1.05255 52.3529 2.35294 52.3529H15.44C16.6024 69.5859 30.4141 83.3977 47.6471 84.56V97.6471C47.6471 98.9459 48.6996 100 50 100C51.2988 100 52.3529 98.9459 52.3529 97.6471V84.56C69.5859 83.3977 83.3977 69.5859 84.56 52.3529H97.6471C98.9459 52.3529 100 51.2988 100 50C100 48.6996 98.9459 47.6471 97.6471 47.6471ZM50 79.9435C33.4886 79.9435 20.0565 66.5114 20.0565 50C20.0565 33.4886 33.4886 20.0565 50 20.0565C66.5098 20.0565 79.9435 33.4886 79.9435 50C79.9435 66.5098 66.5098 79.9435 50 79.9435Z",
|
23
|
-
fill: "rgb(var(--white))"
|
24
|
-
}, null, -1);
|
25
|
-
const _hoisted_5 = [
|
26
|
-
_hoisted_3,
|
27
|
-
_hoisted_4
|
28
|
-
];
|
29
17
|
const _sfc_main = {
|
30
18
|
__name: "LocationMarker",
|
31
19
|
props: {
|
@@ -153,7 +141,16 @@ const _sfc_main = {
|
|
153
141
|
mode: "out-in"
|
154
142
|
}, {
|
155
143
|
default: vue.withCtx(() => [
|
156
|
-
!locationLoading.value ? (vue.openBlock(), vue.createElementBlock("svg", _hoisted_2,
|
144
|
+
!locationLoading.value ? (vue.openBlock(), vue.createElementBlock("svg", _hoisted_2, _cache[0] || (_cache[0] = [
|
145
|
+
vue.createElementVNode("path", {
|
146
|
+
d: "M50.0004 31.4995C39.7996 31.4995 31.5 39.7991 31.5 49.9999C31.5 60.2007 39.7996 68.5003 50.0004 68.5003C60.2012 68.5003 68.5008 60.2007 68.5008 49.9999C68.5008 39.7991 60.2012 31.4995 50.0004 31.4995ZM50.0004 63.7944C42.3941 63.7944 36.2059 57.6062 36.2059 49.9999C36.2059 42.3936 42.3941 36.2054 50.0004 36.2054C57.6067 36.2054 63.7949 42.3936 63.7949 49.9999C63.7949 57.6062 57.6067 63.7944 50.0004 63.7944Z",
|
147
|
+
fill: "rgb(var(--white))"
|
148
|
+
}, null, -1),
|
149
|
+
vue.createElementVNode("path", {
|
150
|
+
d: "M97.6471 47.6471H84.56C83.3977 30.4141 69.5859 16.6024 52.3529 15.44V2.35294C52.3529 1.05255 51.2988 0 50 0C48.6996 0 47.6471 1.05255 47.6471 2.35294V15.44C30.4141 16.6024 16.6024 30.4141 15.44 47.6471H2.35294C1.05255 47.6471 0 48.6996 0 50C0 51.2988 1.05255 52.3529 2.35294 52.3529H15.44C16.6024 69.5859 30.4141 83.3977 47.6471 84.56V97.6471C47.6471 98.9459 48.6996 100 50 100C51.2988 100 52.3529 98.9459 52.3529 97.6471V84.56C69.5859 83.3977 83.3977 69.5859 84.56 52.3529H97.6471C98.9459 52.3529 100 51.2988 100 50C100 48.6996 98.9459 47.6471 97.6471 47.6471ZM50 79.9435C33.4886 79.9435 20.0565 66.5114 20.0565 50C20.0565 33.4886 33.4886 20.0565 50 20.0565C66.5098 20.0565 79.9435 33.4886 79.9435 50C79.9435 66.5098 66.5098 79.9435 50 79.9435Z",
|
151
|
+
fill: "rgb(var(--white))"
|
152
|
+
}, null, -1)
|
153
|
+
]))) : (vue.openBlock(), vue.createBlock(Loader.default, {
|
157
154
|
key: 1,
|
158
155
|
class: "pos-t-0 pos-l-0 i-small"
|
159
156
|
}))
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LocationMarker.vue2.cjs","sources":["../../../../../src/components/LocationMarker/LocationMarker.vue"],"sourcesContent":["<template>\n <div class=\"pos-relative\">\n <div ref=\"mapContainer\" class=\"w-100 h-100\"></div>\n\n <button class=\"cursor-pointer flex-center flex pos-absolute pos-t-regular pos-r-regular i-semi bg-second pd-nano radius-extra\" @click=\"setUserLocation\">\n\n <transition name=\"ScaleOut\" mode=\"out-in\"> \n <svg v-if=\"!locationLoading\" class=\"i-regular\" width=\"98\" height=\"98\" viewBox=\"0 0 98 98\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M50.0004 31.4995C39.7996 31.4995 31.5 39.7991 31.5 49.9999C31.5 60.2007 39.7996 68.5003 50.0004 68.5003C60.2012 68.5003 68.5008 60.2007 68.5008 49.9999C68.5008 39.7991 60.2012 31.4995 50.0004 31.4995ZM50.0004 63.7944C42.3941 63.7944 36.2059 57.6062 36.2059 49.9999C36.2059 42.3936 42.3941 36.2054 50.0004 36.2054C57.6067 36.2054 63.7949 42.3936 63.7949 49.9999C63.7949 57.6062 57.6067 63.7944 50.0004 63.7944Z\" fill=\"rgb(var(--white))\"/>\n <path d=\"M97.6471 47.6471H84.56C83.3977 30.4141 69.5859 16.6024 52.3529 15.44V2.35294C52.3529 1.05255 51.2988 0 50 0C48.6996 0 47.6471 1.05255 47.6471 2.35294V15.44C30.4141 16.6024 16.6024 30.4141 15.44 47.6471H2.35294C1.05255 47.6471 0 48.6996 0 50C0 51.2988 1.05255 52.3529 2.35294 52.3529H15.44C16.6024 69.5859 30.4141 83.3977 47.6471 84.56V97.6471C47.6471 98.9459 48.6996 100 50 100C51.2988 100 52.3529 98.9459 52.3529 97.6471V84.56C69.5859 83.3977 83.3977 69.5859 84.56 52.3529H97.6471C98.9459 52.3529 100 51.2988 100 50C100 48.6996 98.9459 47.6471 97.6471 47.6471ZM50 79.9435C33.4886 79.9435 20.0565 66.5114 20.0565 50C20.0565 33.4886 33.4886 20.0565 50 20.0565C66.5098 20.0565 79.9435 33.4886 79.9435 50C79.9435 66.5098 66.5098 79.9435 50 79.9435Z\" fill=\"rgb(var(--white))\"/> \n </svg>\n\n <Loader v-else class=\"pos-t-0 pos-l-0 i-small\"/>\n </transition>\n\n </button>\n </div>\n</template>\n\n<script setup>\nimport { ref, onMounted, watchEffect } from 'vue';\nimport { Loader as GMLoader } from \"@googlemaps/js-api-loader\";\n\nimport Loader from '@pf/src/components/Loader/Loader.vue'\n\n// Добавим новый проп для ключа API\nconst props = defineProps({\n location: {\n type: Object,\n default: () => ({ lat: 15.8700, lng: 100.9925 })\n },\n address: {\n type: String,\n default: null\n },\n apiKey: String,\n locale: {\n type: String,\n default: 'en'\n }\n})\n\nconst emit = defineEmits(['update:location', 'update:address', 'update:country', 'update:state', 'update:city']);\n\nconst mapContainer = ref(null);\nconst locationLoading = ref(false);\n\nlet map, marker;\n\nonMounted(() => {\n const loader = new GMLoader({\n apiKey: props.apiKey,\n version: \"weekly\",\n libraries: [\"places\"],\n language: props.locale, \n });\n\n loader.load().then(() => {\n map = new google.maps.Map(mapContainer.value, {\n center: props.location,\n zoom: 15,\n mapTypeControl: false,\n fullscreenControl: false,\n disableDefaultUI: true\n });\n\n marker = new google.maps.Marker({\n position: props.location,\n map,\n draggable: true,\n });\n\n marker.addListener(\"dragend\", (e) => {\n const newLocation = { lat: e.latLng.lat(), lng: e.latLng.lng() };\n\n emit('update:location', newLocation);\n\n getAddressFromLocation(newLocation);\n });\n }).catch(e => {\n console.error(e);\n });\n});\n\nwatchEffect(() => {\n if (props.location && marker) {\n marker.setPosition(new google.maps.LatLng(props.location.lat, props.location.lng));\n }\n});\n\nwatchEffect(() => {\n if (props.location && map) {\n const newCenter = new google.maps.LatLng(props.location.lat, props.location.lng);\n \n map.setCenter(newCenter);\n map.setZoom(15);\n }\n});\n\nfunction getAddressFromLocation(location) {\n \n const geocoder = new google.maps.Geocoder;\n\n geocoder.geocode({ 'location': location }, (results, status) => {\n if (status === 'OK') {\n if (results[0]) {\n emit('update:address', results[0].formatted_address);\n\n let country = '', state = '', city = '';\n\n results[0].address_components.forEach((addr) => {\n if (addr.types.includes('country')) {\n country = addr.long_name;\n }\n if (addr.types.includes('administrative_area_level_1')) {\n state = addr.long_name;\n }\n if (addr.types.includes('locality')) {\n city = addr.long_name;\n }\n });\n\n emit('update:country', country);\n emit('update:state', state);\n emit('update:city', city);\n } else {\n console.error('No results found');\n }\n } else {\n console.error('Geocoder failed due to: ' + status);\n }\n });\n}\n\n// Функция для установки местоположения пользователя\nasync function setUserLocation() {\n locationLoading.value = true\n \n if (navigator.geolocation) {\n navigator.geolocation.getCurrentPosition((position) => {\n const newLocation = { lat: position.coords.latitude, lng: position.coords.longitude };\n emit('update:location', newLocation);\n getAddressFromLocation(newLocation);\n locationLoading.value = false\n }, () => {\n console.error('Error getting location');\n locationLoading.value = false\n });\n } else {\n console.error('Geolocation is not supported by this browser.');\n locationLoading.value = false\n }\n}\n</script>\n\n\n<style >\n.my-location-button {\n position: absolute;\n right: 10px;\n top: 10px;\n z-index: 99;\n}\n\n.gm-style-cc { display:none; }\n\n\n</style>\n"],"names":["ref","onMounted","GMLoader","watchEffect"],"mappings":"
|
1
|
+
{"version":3,"file":"LocationMarker.vue2.cjs","sources":["../../../../../src/components/LocationMarker/LocationMarker.vue"],"sourcesContent":["<template>\n <div class=\"pos-relative\">\n <div ref=\"mapContainer\" class=\"w-100 h-100\"></div>\n\n <button class=\"cursor-pointer flex-center flex pos-absolute pos-t-regular pos-r-regular i-semi bg-second pd-nano radius-extra\" @click=\"setUserLocation\">\n\n <transition name=\"ScaleOut\" mode=\"out-in\"> \n <svg v-if=\"!locationLoading\" class=\"i-regular\" width=\"98\" height=\"98\" viewBox=\"0 0 98 98\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M50.0004 31.4995C39.7996 31.4995 31.5 39.7991 31.5 49.9999C31.5 60.2007 39.7996 68.5003 50.0004 68.5003C60.2012 68.5003 68.5008 60.2007 68.5008 49.9999C68.5008 39.7991 60.2012 31.4995 50.0004 31.4995ZM50.0004 63.7944C42.3941 63.7944 36.2059 57.6062 36.2059 49.9999C36.2059 42.3936 42.3941 36.2054 50.0004 36.2054C57.6067 36.2054 63.7949 42.3936 63.7949 49.9999C63.7949 57.6062 57.6067 63.7944 50.0004 63.7944Z\" fill=\"rgb(var(--white))\"/>\n <path d=\"M97.6471 47.6471H84.56C83.3977 30.4141 69.5859 16.6024 52.3529 15.44V2.35294C52.3529 1.05255 51.2988 0 50 0C48.6996 0 47.6471 1.05255 47.6471 2.35294V15.44C30.4141 16.6024 16.6024 30.4141 15.44 47.6471H2.35294C1.05255 47.6471 0 48.6996 0 50C0 51.2988 1.05255 52.3529 2.35294 52.3529H15.44C16.6024 69.5859 30.4141 83.3977 47.6471 84.56V97.6471C47.6471 98.9459 48.6996 100 50 100C51.2988 100 52.3529 98.9459 52.3529 97.6471V84.56C69.5859 83.3977 83.3977 69.5859 84.56 52.3529H97.6471C98.9459 52.3529 100 51.2988 100 50C100 48.6996 98.9459 47.6471 97.6471 47.6471ZM50 79.9435C33.4886 79.9435 20.0565 66.5114 20.0565 50C20.0565 33.4886 33.4886 20.0565 50 20.0565C66.5098 20.0565 79.9435 33.4886 79.9435 50C79.9435 66.5098 66.5098 79.9435 50 79.9435Z\" fill=\"rgb(var(--white))\"/> \n </svg>\n\n <Loader v-else class=\"pos-t-0 pos-l-0 i-small\"/>\n </transition>\n\n </button>\n </div>\n</template>\n\n<script setup>\nimport { ref, onMounted, watchEffect } from 'vue';\nimport { Loader as GMLoader } from \"@googlemaps/js-api-loader\";\n\nimport Loader from '@pf/src/components/Loader/Loader.vue'\n\n// Добавим новый проп для ключа API\nconst props = defineProps({\n location: {\n type: Object,\n default: () => ({ lat: 15.8700, lng: 100.9925 })\n },\n address: {\n type: String,\n default: null\n },\n apiKey: String,\n locale: {\n type: String,\n default: 'en'\n }\n})\n\nconst emit = defineEmits(['update:location', 'update:address', 'update:country', 'update:state', 'update:city']);\n\nconst mapContainer = ref(null);\nconst locationLoading = ref(false);\n\nlet map, marker;\n\nonMounted(() => {\n const loader = new GMLoader({\n apiKey: props.apiKey,\n version: \"weekly\",\n libraries: [\"places\"],\n language: props.locale, \n });\n\n loader.load().then(() => {\n map = new google.maps.Map(mapContainer.value, {\n center: props.location,\n zoom: 15,\n mapTypeControl: false,\n fullscreenControl: false,\n disableDefaultUI: true\n });\n\n marker = new google.maps.Marker({\n position: props.location,\n map,\n draggable: true,\n });\n\n marker.addListener(\"dragend\", (e) => {\n const newLocation = { lat: e.latLng.lat(), lng: e.latLng.lng() };\n\n emit('update:location', newLocation);\n\n getAddressFromLocation(newLocation);\n });\n }).catch(e => {\n console.error(e);\n });\n});\n\nwatchEffect(() => {\n if (props.location && marker) {\n marker.setPosition(new google.maps.LatLng(props.location.lat, props.location.lng));\n }\n});\n\nwatchEffect(() => {\n if (props.location && map) {\n const newCenter = new google.maps.LatLng(props.location.lat, props.location.lng);\n \n map.setCenter(newCenter);\n map.setZoom(15);\n }\n});\n\nfunction getAddressFromLocation(location) {\n \n const geocoder = new google.maps.Geocoder;\n\n geocoder.geocode({ 'location': location }, (results, status) => {\n if (status === 'OK') {\n if (results[0]) {\n emit('update:address', results[0].formatted_address);\n\n let country = '', state = '', city = '';\n\n results[0].address_components.forEach((addr) => {\n if (addr.types.includes('country')) {\n country = addr.long_name;\n }\n if (addr.types.includes('administrative_area_level_1')) {\n state = addr.long_name;\n }\n if (addr.types.includes('locality')) {\n city = addr.long_name;\n }\n });\n\n emit('update:country', country);\n emit('update:state', state);\n emit('update:city', city);\n } else {\n console.error('No results found');\n }\n } else {\n console.error('Geocoder failed due to: ' + status);\n }\n });\n}\n\n// Функция для установки местоположения пользователя\nasync function setUserLocation() {\n locationLoading.value = true\n \n if (navigator.geolocation) {\n navigator.geolocation.getCurrentPosition((position) => {\n const newLocation = { lat: position.coords.latitude, lng: position.coords.longitude };\n emit('update:location', newLocation);\n getAddressFromLocation(newLocation);\n locationLoading.value = false\n }, () => {\n console.error('Error getting location');\n locationLoading.value = false\n });\n } else {\n console.error('Geolocation is not supported by this browser.');\n locationLoading.value = false\n }\n}\n</script>\n\n\n<style >\n.my-location-button {\n position: absolute;\n right: 10px;\n top: 10px;\n z-index: 99;\n}\n\n.gm-style-cc { display:none; }\n\n\n</style>\n"],"names":["ref","onMounted","GMLoader","watchEffect"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0BA,UAAM,QAAQ;AAgBd,UAAM,OAAO;AAEb,UAAM,eAAeA,IAAAA,IAAI,IAAI;AAC7B,UAAM,kBAAkBA,IAAAA,IAAI,KAAK;AAEjC,QAAI,KAAK;AAETC,QAAAA,UAAU,MAAM;AACd,YAAM,SAAS,IAAIC,aAAS;AAAA,QAC1B,QAAQ,MAAM;AAAA,QACd,SAAS;AAAA,QACT,WAAW,CAAC,QAAQ;AAAA,QACpB,UAAU,MAAM;AAAA,MACpB,CAAG;AAED,aAAO,OAAO,KAAK,MAAM;AACvB,cAAM,IAAI,OAAO,KAAK,IAAI,aAAa,OAAO;AAAA,UAC5C,QAAQ,MAAM;AAAA,UACd,MAAM;AAAA,UACN,gBAAgB;A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B;AACD,kBAAI,KAAK,MAAM,SAAS,6BAA6B,GAAG;AACtD,wBAAQ,KAAK;AAAA,cACd;AACD,kBAAI,KAAK,MAAM,SAAS,UAAU,GAAG;AACnC,uBAAO,KAAK;AAAA,cACb;AAAA,YACX,CAAS;AAED,iBAAK,kBAAkB,OAAO;AAC9B,iBAAK,gBAAgB,KAAK;AAC1B,iBAAK,eAAe,IAAI;AAAA,UAChC,OAAa;AACL,oBAAQ,MAAM,kBAAkB;AAAA,UACjC;AAAA,QACP,OAAW;AACL,kBAAQ,MAAM,6BAA6B,MAAM;AAAA,QAClD;AAAA,MACL,CAAG;AAAA,IACH;AAGA,mBAAe,kBAAkB;AAC/B,sBAAgB,QAAQ;AAExB,UAAI,UAAU,aAAa;AACzB,kBAAU,YAAY,mBAAmB,CAAC,aAAa;AACrD,gBAAM,cAAc,EAAE,KAAK,SAAS,OAAO,UAAU,KAAK,SAAS,OAAO;AAC1E,eAAK,mBAAmB,WAAW;AACnC,iCAAuB,WAAW;AAClC,0BAAgB,QAAQ;AAAA,QAC9B,GAAO,MAAM;AACP,kBAAQ,MAAM,wBAAwB;AACtC,0BAAgB,QAAQ;AAAA,QAC9B,CAAK;AAAA,MACL,OAAS;AACL,gBAAQ,MAAM,+CAA+C;AAC7D,wBAAgB,QAAQ;AAAA,MACzB;AAAA,IACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -12,18 +12,6 @@ const _hoisted_2 = {
|
|
12
12
|
fill: "none",
|
13
13
|
xmlns: "http://www.w3.org/2000/svg"
|
14
14
|
};
|
15
|
-
const _hoisted_3 = /* @__PURE__ */ createElementVNode("path", {
|
16
|
-
d: "M50.0004 31.4995C39.7996 31.4995 31.5 39.7991 31.5 49.9999C31.5 60.2007 39.7996 68.5003 50.0004 68.5003C60.2012 68.5003 68.5008 60.2007 68.5008 49.9999C68.5008 39.7991 60.2012 31.4995 50.0004 31.4995ZM50.0004 63.7944C42.3941 63.7944 36.2059 57.6062 36.2059 49.9999C36.2059 42.3936 42.3941 36.2054 50.0004 36.2054C57.6067 36.2054 63.7949 42.3936 63.7949 49.9999C63.7949 57.6062 57.6067 63.7944 50.0004 63.7944Z",
|
17
|
-
fill: "rgb(var(--white))"
|
18
|
-
}, null, -1);
|
19
|
-
const _hoisted_4 = /* @__PURE__ */ createElementVNode("path", {
|
20
|
-
d: "M97.6471 47.6471H84.56C83.3977 30.4141 69.5859 16.6024 52.3529 15.44V2.35294C52.3529 1.05255 51.2988 0 50 0C48.6996 0 47.6471 1.05255 47.6471 2.35294V15.44C30.4141 16.6024 16.6024 30.4141 15.44 47.6471H2.35294C1.05255 47.6471 0 48.6996 0 50C0 51.2988 1.05255 52.3529 2.35294 52.3529H15.44C16.6024 69.5859 30.4141 83.3977 47.6471 84.56V97.6471C47.6471 98.9459 48.6996 100 50 100C51.2988 100 52.3529 98.9459 52.3529 97.6471V84.56C69.5859 83.3977 83.3977 69.5859 84.56 52.3529H97.6471C98.9459 52.3529 100 51.2988 100 50C100 48.6996 98.9459 47.6471 97.6471 47.6471ZM50 79.9435C33.4886 79.9435 20.0565 66.5114 20.0565 50C20.0565 33.4886 33.4886 20.0565 50 20.0565C66.5098 20.0565 79.9435 33.4886 79.9435 50C79.9435 66.5098 66.5098 79.9435 50 79.9435Z",
|
21
|
-
fill: "rgb(var(--white))"
|
22
|
-
}, null, -1);
|
23
|
-
const _hoisted_5 = [
|
24
|
-
_hoisted_3,
|
25
|
-
_hoisted_4
|
26
|
-
];
|
27
15
|
const _sfc_main = {
|
28
16
|
__name: "LocationMarker",
|
29
17
|
props: {
|
@@ -151,7 +139,16 @@ const _sfc_main = {
|
|
151
139
|
mode: "out-in"
|
152
140
|
}, {
|
153
141
|
default: withCtx(() => [
|
154
|
-
!locationLoading.value ? (openBlock(), createElementBlock("svg", _hoisted_2,
|
142
|
+
!locationLoading.value ? (openBlock(), createElementBlock("svg", _hoisted_2, _cache[0] || (_cache[0] = [
|
143
|
+
createElementVNode("path", {
|
144
|
+
d: "M50.0004 31.4995C39.7996 31.4995 31.5 39.7991 31.5 49.9999C31.5 60.2007 39.7996 68.5003 50.0004 68.5003C60.2012 68.5003 68.5008 60.2007 68.5008 49.9999C68.5008 39.7991 60.2012 31.4995 50.0004 31.4995ZM50.0004 63.7944C42.3941 63.7944 36.2059 57.6062 36.2059 49.9999C36.2059 42.3936 42.3941 36.2054 50.0004 36.2054C57.6067 36.2054 63.7949 42.3936 63.7949 49.9999C63.7949 57.6062 57.6067 63.7944 50.0004 63.7944Z",
|
145
|
+
fill: "rgb(var(--white))"
|
146
|
+
}, null, -1),
|
147
|
+
createElementVNode("path", {
|
148
|
+
d: "M97.6471 47.6471H84.56C83.3977 30.4141 69.5859 16.6024 52.3529 15.44V2.35294C52.3529 1.05255 51.2988 0 50 0C48.6996 0 47.6471 1.05255 47.6471 2.35294V15.44C30.4141 16.6024 16.6024 30.4141 15.44 47.6471H2.35294C1.05255 47.6471 0 48.6996 0 50C0 51.2988 1.05255 52.3529 2.35294 52.3529H15.44C16.6024 69.5859 30.4141 83.3977 47.6471 84.56V97.6471C47.6471 98.9459 48.6996 100 50 100C51.2988 100 52.3529 98.9459 52.3529 97.6471V84.56C69.5859 83.3977 83.3977 69.5859 84.56 52.3529H97.6471C98.9459 52.3529 100 51.2988 100 50C100 48.6996 98.9459 47.6471 97.6471 47.6471ZM50 79.9435C33.4886 79.9435 20.0565 66.5114 20.0565 50C20.0565 33.4886 33.4886 20.0565 50 20.0565C66.5098 20.0565 79.9435 33.4886 79.9435 50C79.9435 66.5098 66.5098 79.9435 50 79.9435Z",
|
149
|
+
fill: "rgb(var(--white))"
|
150
|
+
}, null, -1)
|
151
|
+
]))) : (openBlock(), createBlock(Loader$1, {
|
155
152
|
key: 1,
|
156
153
|
class: "pos-t-0 pos-l-0 i-small"
|
157
154
|
}))
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LocationMarker.vue2.js","sources":["../../../../../src/components/LocationMarker/LocationMarker.vue"],"sourcesContent":["<template>\n <div class=\"pos-relative\">\n <div ref=\"mapContainer\" class=\"w-100 h-100\"></div>\n\n <button class=\"cursor-pointer flex-center flex pos-absolute pos-t-regular pos-r-regular i-semi bg-second pd-nano radius-extra\" @click=\"setUserLocation\">\n\n <transition name=\"ScaleOut\" mode=\"out-in\"> \n <svg v-if=\"!locationLoading\" class=\"i-regular\" width=\"98\" height=\"98\" viewBox=\"0 0 98 98\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M50.0004 31.4995C39.7996 31.4995 31.5 39.7991 31.5 49.9999C31.5 60.2007 39.7996 68.5003 50.0004 68.5003C60.2012 68.5003 68.5008 60.2007 68.5008 49.9999C68.5008 39.7991 60.2012 31.4995 50.0004 31.4995ZM50.0004 63.7944C42.3941 63.7944 36.2059 57.6062 36.2059 49.9999C36.2059 42.3936 42.3941 36.2054 50.0004 36.2054C57.6067 36.2054 63.7949 42.3936 63.7949 49.9999C63.7949 57.6062 57.6067 63.7944 50.0004 63.7944Z\" fill=\"rgb(var(--white))\"/>\n <path d=\"M97.6471 47.6471H84.56C83.3977 30.4141 69.5859 16.6024 52.3529 15.44V2.35294C52.3529 1.05255 51.2988 0 50 0C48.6996 0 47.6471 1.05255 47.6471 2.35294V15.44C30.4141 16.6024 16.6024 30.4141 15.44 47.6471H2.35294C1.05255 47.6471 0 48.6996 0 50C0 51.2988 1.05255 52.3529 2.35294 52.3529H15.44C16.6024 69.5859 30.4141 83.3977 47.6471 84.56V97.6471C47.6471 98.9459 48.6996 100 50 100C51.2988 100 52.3529 98.9459 52.3529 97.6471V84.56C69.5859 83.3977 83.3977 69.5859 84.56 52.3529H97.6471C98.9459 52.3529 100 51.2988 100 50C100 48.6996 98.9459 47.6471 97.6471 47.6471ZM50 79.9435C33.4886 79.9435 20.0565 66.5114 20.0565 50C20.0565 33.4886 33.4886 20.0565 50 20.0565C66.5098 20.0565 79.9435 33.4886 79.9435 50C79.9435 66.5098 66.5098 79.9435 50 79.9435Z\" fill=\"rgb(var(--white))\"/> \n </svg>\n\n <Loader v-else class=\"pos-t-0 pos-l-0 i-small\"/>\n </transition>\n\n </button>\n </div>\n</template>\n\n<script setup>\nimport { ref, onMounted, watchEffect } from 'vue';\nimport { Loader as GMLoader } from \"@googlemaps/js-api-loader\";\n\nimport Loader from '@pf/src/components/Loader/Loader.vue'\n\n// Добавим новый проп для ключа API\nconst props = defineProps({\n location: {\n type: Object,\n default: () => ({ lat: 15.8700, lng: 100.9925 })\n },\n address: {\n type: String,\n default: null\n },\n apiKey: String,\n locale: {\n type: String,\n default: 'en'\n }\n})\n\nconst emit = defineEmits(['update:location', 'update:address', 'update:country', 'update:state', 'update:city']);\n\nconst mapContainer = ref(null);\nconst locationLoading = ref(false);\n\nlet map, marker;\n\nonMounted(() => {\n const loader = new GMLoader({\n apiKey: props.apiKey,\n version: \"weekly\",\n libraries: [\"places\"],\n language: props.locale, \n });\n\n loader.load().then(() => {\n map = new google.maps.Map(mapContainer.value, {\n center: props.location,\n zoom: 15,\n mapTypeControl: false,\n fullscreenControl: false,\n disableDefaultUI: true\n });\n\n marker = new google.maps.Marker({\n position: props.location,\n map,\n draggable: true,\n });\n\n marker.addListener(\"dragend\", (e) => {\n const newLocation = { lat: e.latLng.lat(), lng: e.latLng.lng() };\n\n emit('update:location', newLocation);\n\n getAddressFromLocation(newLocation);\n });\n }).catch(e => {\n console.error(e);\n });\n});\n\nwatchEffect(() => {\n if (props.location && marker) {\n marker.setPosition(new google.maps.LatLng(props.location.lat, props.location.lng));\n }\n});\n\nwatchEffect(() => {\n if (props.location && map) {\n const newCenter = new google.maps.LatLng(props.location.lat, props.location.lng);\n \n map.setCenter(newCenter);\n map.setZoom(15);\n }\n});\n\nfunction getAddressFromLocation(location) {\n \n const geocoder = new google.maps.Geocoder;\n\n geocoder.geocode({ 'location': location }, (results, status) => {\n if (status === 'OK') {\n if (results[0]) {\n emit('update:address', results[0].formatted_address);\n\n let country = '', state = '', city = '';\n\n results[0].address_components.forEach((addr) => {\n if (addr.types.includes('country')) {\n country = addr.long_name;\n }\n if (addr.types.includes('administrative_area_level_1')) {\n state = addr.long_name;\n }\n if (addr.types.includes('locality')) {\n city = addr.long_name;\n }\n });\n\n emit('update:country', country);\n emit('update:state', state);\n emit('update:city', city);\n } else {\n console.error('No results found');\n }\n } else {\n console.error('Geocoder failed due to: ' + status);\n }\n });\n}\n\n// Функция для установки местоположения пользователя\nasync function setUserLocation() {\n locationLoading.value = true\n \n if (navigator.geolocation) {\n navigator.geolocation.getCurrentPosition((position) => {\n const newLocation = { lat: position.coords.latitude, lng: position.coords.longitude };\n emit('update:location', newLocation);\n getAddressFromLocation(newLocation);\n locationLoading.value = false\n }, () => {\n console.error('Error getting location');\n locationLoading.value = false\n });\n } else {\n console.error('Geolocation is not supported by this browser.');\n locationLoading.value = false\n }\n}\n</script>\n\n\n<style >\n.my-location-button {\n position: absolute;\n right: 10px;\n top: 10px;\n z-index: 99;\n}\n\n.gm-style-cc { display:none; }\n\n\n</style>\n"],"names":["GMLoader"],"mappings":"
|
1
|
+
{"version":3,"file":"LocationMarker.vue2.js","sources":["../../../../../src/components/LocationMarker/LocationMarker.vue"],"sourcesContent":["<template>\n <div class=\"pos-relative\">\n <div ref=\"mapContainer\" class=\"w-100 h-100\"></div>\n\n <button class=\"cursor-pointer flex-center flex pos-absolute pos-t-regular pos-r-regular i-semi bg-second pd-nano radius-extra\" @click=\"setUserLocation\">\n\n <transition name=\"ScaleOut\" mode=\"out-in\"> \n <svg v-if=\"!locationLoading\" class=\"i-regular\" width=\"98\" height=\"98\" viewBox=\"0 0 98 98\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M50.0004 31.4995C39.7996 31.4995 31.5 39.7991 31.5 49.9999C31.5 60.2007 39.7996 68.5003 50.0004 68.5003C60.2012 68.5003 68.5008 60.2007 68.5008 49.9999C68.5008 39.7991 60.2012 31.4995 50.0004 31.4995ZM50.0004 63.7944C42.3941 63.7944 36.2059 57.6062 36.2059 49.9999C36.2059 42.3936 42.3941 36.2054 50.0004 36.2054C57.6067 36.2054 63.7949 42.3936 63.7949 49.9999C63.7949 57.6062 57.6067 63.7944 50.0004 63.7944Z\" fill=\"rgb(var(--white))\"/>\n <path d=\"M97.6471 47.6471H84.56C83.3977 30.4141 69.5859 16.6024 52.3529 15.44V2.35294C52.3529 1.05255 51.2988 0 50 0C48.6996 0 47.6471 1.05255 47.6471 2.35294V15.44C30.4141 16.6024 16.6024 30.4141 15.44 47.6471H2.35294C1.05255 47.6471 0 48.6996 0 50C0 51.2988 1.05255 52.3529 2.35294 52.3529H15.44C16.6024 69.5859 30.4141 83.3977 47.6471 84.56V97.6471C47.6471 98.9459 48.6996 100 50 100C51.2988 100 52.3529 98.9459 52.3529 97.6471V84.56C69.5859 83.3977 83.3977 69.5859 84.56 52.3529H97.6471C98.9459 52.3529 100 51.2988 100 50C100 48.6996 98.9459 47.6471 97.6471 47.6471ZM50 79.9435C33.4886 79.9435 20.0565 66.5114 20.0565 50C20.0565 33.4886 33.4886 20.0565 50 20.0565C66.5098 20.0565 79.9435 33.4886 79.9435 50C79.9435 66.5098 66.5098 79.9435 50 79.9435Z\" fill=\"rgb(var(--white))\"/> \n </svg>\n\n <Loader v-else class=\"pos-t-0 pos-l-0 i-small\"/>\n </transition>\n\n </button>\n </div>\n</template>\n\n<script setup>\nimport { ref, onMounted, watchEffect } from 'vue';\nimport { Loader as GMLoader } from \"@googlemaps/js-api-loader\";\n\nimport Loader from '@pf/src/components/Loader/Loader.vue'\n\n// Добавим новый проп для ключа API\nconst props = defineProps({\n location: {\n type: Object,\n default: () => ({ lat: 15.8700, lng: 100.9925 })\n },\n address: {\n type: String,\n default: null\n },\n apiKey: String,\n locale: {\n type: String,\n default: 'en'\n }\n})\n\nconst emit = defineEmits(['update:location', 'update:address', 'update:country', 'update:state', 'update:city']);\n\nconst mapContainer = ref(null);\nconst locationLoading = ref(false);\n\nlet map, marker;\n\nonMounted(() => {\n const loader = new GMLoader({\n apiKey: props.apiKey,\n version: \"weekly\",\n libraries: [\"places\"],\n language: props.locale, \n });\n\n loader.load().then(() => {\n map = new google.maps.Map(mapContainer.value, {\n center: props.location,\n zoom: 15,\n mapTypeControl: false,\n fullscreenControl: false,\n disableDefaultUI: true\n });\n\n marker = new google.maps.Marker({\n position: props.location,\n map,\n draggable: true,\n });\n\n marker.addListener(\"dragend\", (e) => {\n const newLocation = { lat: e.latLng.lat(), lng: e.latLng.lng() };\n\n emit('update:location', newLocation);\n\n getAddressFromLocation(newLocation);\n });\n }).catch(e => {\n console.error(e);\n });\n});\n\nwatchEffect(() => {\n if (props.location && marker) {\n marker.setPosition(new google.maps.LatLng(props.location.lat, props.location.lng));\n }\n});\n\nwatchEffect(() => {\n if (props.location && map) {\n const newCenter = new google.maps.LatLng(props.location.lat, props.location.lng);\n \n map.setCenter(newCenter);\n map.setZoom(15);\n }\n});\n\nfunction getAddressFromLocation(location) {\n \n const geocoder = new google.maps.Geocoder;\n\n geocoder.geocode({ 'location': location }, (results, status) => {\n if (status === 'OK') {\n if (results[0]) {\n emit('update:address', results[0].formatted_address);\n\n let country = '', state = '', city = '';\n\n results[0].address_components.forEach((addr) => {\n if (addr.types.includes('country')) {\n country = addr.long_name;\n }\n if (addr.types.includes('administrative_area_level_1')) {\n state = addr.long_name;\n }\n if (addr.types.includes('locality')) {\n city = addr.long_name;\n }\n });\n\n emit('update:country', country);\n emit('update:state', state);\n emit('update:city', city);\n } else {\n console.error('No results found');\n }\n } else {\n console.error('Geocoder failed due to: ' + status);\n }\n });\n}\n\n// Функция для установки местоположения пользователя\nasync function setUserLocation() {\n locationLoading.value = true\n \n if (navigator.geolocation) {\n navigator.geolocation.getCurrentPosition((position) => {\n const newLocation = { lat: position.coords.latitude, lng: position.coords.longitude };\n emit('update:location', newLocation);\n getAddressFromLocation(newLocation);\n locationLoading.value = false\n }, () => {\n console.error('Error getting location');\n locationLoading.value = false\n });\n } else {\n console.error('Geolocation is not supported by this browser.');\n locationLoading.value = false\n }\n}\n</script>\n\n\n<style >\n.my-location-button {\n position: absolute;\n right: 10px;\n top: 10px;\n z-index: 99;\n}\n\n.gm-style-cc { display:none; }\n\n\n</style>\n"],"names":["GMLoader"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0BA,UAAM,QAAQ;AAgBd,UAAM,OAAO;AAEb,UAAM,eAAe,IAAI,IAAI;AAC7B,UAAM,kBAAkB,IAAI,KAAK;AAEjC,QAAI,KAAK;AAET,cAAU,MAAM;AACd,YAAM,SAAS,IAAIA,OAAS;AAAA,QAC1B,QAAQ,MAAM;AAAA,QACd,SAAS;AAAA,QACT,WAAW,CAAC,QAAQ;AAAA,QACpB,UAAU,MAAM;AAAA,MACpB,CAAG;AAED,aAAO,OAAO,KAAK,MAAM;AACvB,cAAM,IAAI,OAAO,KAAK,IAAI,aAAa,OAAO;AAAA,UAC5C,QAAQ,MAAM;AAAA,UACd,MAAM;AAAA,UACN,gBAAgB;AAAA,UAChB,mBAAmB;AAAA,UACnB,kBAAkB;AAAA,QACxB,CAAK;AAED,iBAAS,IAAI,OAAO,KAAK,OAAO;AAAA,UAC9B,UAAU,MAAM;AAAA,UAChB;AAAA,UACA,WAAW;AAAA,QACjB,CAAK;AAED,eAAO,YAAY,WAAW,CAAC,MAAM;AACnC,gBAAM,cAAc,EAAE,KAAK,EAAE,OAAO,OAAO,KAAK,EAAE,OAAO,IAAK,EAAA;AAE9D,eAAK,mBAAmB,WAAW;AAEnC,iCAAuB,WAAW;AAAA,QACxC,CAAK;AAAA,MACL,CAAG,EAAE,MAAM,OAAK;AACZ,gBAAQ,MAAM,CAAC;AAAA,MACnB,CAAG;AAAA,IACH,CAAC;AAED,gBAAY,MAAM;AAChB,UAAI,MAAM,YAAY,QAAQ;AAC5B,eAAO,YAAY,IAAI,OAAO,KAAK,OAAO,MAAM,SAAS,KAAK,MAAM,SAAS,GAAG,CAAC;AAAA,MAClF;AAAA,IACH,CAAC;AAED,gBAAY,MAAM;AAChB,U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AC9B,GAAO,MAAM;AACP,kBAAQ,MAAM,wBAAwB;AACtC,0BAAgB,QAAQ;AAAA,QAC9B,CAAK;AAAA,MACL,OAAS;AACL,gBAAQ,MAAM,+CAA+C;AAC7D,wBAAgB,QAAQ;AAAA,MACzB;AAAA,IACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -420,7 +420,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
420
420
|
vue.withDirectives(vue.createElementVNode("li", null, [
|
421
421
|
vue.createElementVNode("span", _hoisted_15, [
|
422
422
|
vue.renderSlot(_ctx.$slots, "noResult", { search: _ctx.search }, () => [
|
423
|
-
vue.createTextVNode("No elements found. Consider changing the search query.")
|
423
|
+
_cache[19] || (_cache[19] = vue.createTextVNode("No elements found. Consider changing the search query."))
|
424
424
|
])
|
425
425
|
])
|
426
426
|
], 512), [
|
@@ -429,7 +429,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
429
429
|
vue.withDirectives(vue.createElementVNode("li", null, [
|
430
430
|
vue.createElementVNode("span", _hoisted_16, [
|
431
431
|
vue.renderSlot(_ctx.$slots, "noOptions", {}, () => [
|
432
|
-
vue.createTextVNode("List is empty.")
|
432
|
+
_cache[20] || (_cache[20] = vue.createTextVNode("List is empty."))
|
433
433
|
])
|
434
434
|
])
|
435
435
|
], 512), [
|