@ozdao/prometheus-framework 0.2.242 → 0.2.243
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 +11 -12
- 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 +11 -12
- 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 +801 -811
- package/dist/prometheus-framework/src/modules/pages/pages.client.js +801 -811
- 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/controllers/tickets.controller.js +33 -7
- package/src/modules/globals/views/components/layouts/Client.vue +1 -12
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Block.vue.cjs","sources":["../../../../../src/components/Block/Block.vue"],"sourcesContent":["<template>\n\t<div \n class=\"bg-light pd-medium radius-big\"\n >\n \t<div v-if=\"title || actions\" class=\"mn-b-small flex-v-center flex-nowrap flex\">\n \t\t<p v-if=\"title\" class=\"mn-r-thin t-medium p-big\">{{title}}</p>\n \t\t\t\n \t\t<button \n \t\t\tv-for=\"action in actions\" \n \t\t\t@click=\"action.function\" \n \t\t\tclass=\"pd-thin button-delete button\"\n \t\t\t:class=\"action.class || 'bg-main radius-small t-center i-medium'\"\n \t\t>\n \t\t\t{{action.label}}\n \t\t</button>\n\n \t\t<Tooltip v-if=\"tooltip\" :text=\"tooltip\">\n\t <p class=\"bg-main radius-small t-center i-medium\">i</p>\n\t </Tooltip>\n \t</div>\n\n \t<span \n v-if=\"!hasSlotContent($slots.default)\" \n class=\"w-100\"\n >\n {{placeholder}}\n </span> \n\n \t<slot></slot>\n\t</div>\n</template>\n\n<script setup>\nimport { ref, defineProps, useSlots, Comment } from 'vue';\n\n\nimport Tooltip from '@pf/src/components/Tooltip/Tooltip.vue'\n\nconst slots = useSlots()\n\nconst hasSlotContent = (slot, slotProps = {}) => {\n\tif (!slot) return false;\n\n\treturn slot(slotProps).some((vnode) => {\n\t\tif (Array.isArray(vnode.children)) {\n\t\t\treturn !!vnode.children.length;\n\t\t}\n\n\t\treturn vnode.type !== Comment;\n\t});\n};\n\n// defineProps объявление\nconst props = defineProps({\n\ttitle: {\n\t\ttype: String,\n\t\tdefault: null\n\t},\n\ttooltip: {\n\t\ttype: String,\n\t\tdefault: null\n\t},\n\tactions: {\n\t\ttype: Array,\n\t\tdefault: null\n\t},\n\tplaceholder: {\n\t\ttype: String,\n\t\tdefault: 'Nothing here'\n\t},\n options: {\n type: Object,\n default: {\n \ttheme: 'white'\n }\n },\n})\n</script>"],"names":["useSlots","Comment"],"mappings":"
|
1
|
+
{"version":3,"file":"Block.vue.cjs","sources":["../../../../../src/components/Block/Block.vue"],"sourcesContent":["<template>\n\t<div \n class=\"bg-light pd-medium radius-big\"\n >\n \t<div v-if=\"title || actions\" class=\"mn-b-small flex-v-center flex-nowrap flex\">\n \t\t<p v-if=\"title\" class=\"mn-r-thin t-medium p-big\">{{title}}</p>\n \t\t\t\n \t\t<button \n \t\t\tv-for=\"action in actions\" \n \t\t\t@click=\"action.function\" \n \t\t\tclass=\"pd-thin button-delete button\"\n \t\t\t:class=\"action.class || 'bg-main radius-small t-center i-medium'\"\n \t\t>\n \t\t\t{{action.label}}\n \t\t</button>\n\n \t\t<Tooltip v-if=\"tooltip\" :text=\"tooltip\">\n\t <p class=\"bg-main radius-small t-center i-medium\">i</p>\n\t </Tooltip>\n \t</div>\n\n \t<span \n v-if=\"!hasSlotContent($slots.default)\" \n class=\"w-100\"\n >\n {{placeholder}}\n </span> \n\n \t<slot></slot>\n\t</div>\n</template>\n\n<script setup>\nimport { ref, defineProps, useSlots, Comment } from 'vue';\n\n\nimport Tooltip from '@pf/src/components/Tooltip/Tooltip.vue'\n\nconst slots = useSlots()\n\nconst hasSlotContent = (slot, slotProps = {}) => {\n\tif (!slot) return false;\n\n\treturn slot(slotProps).some((vnode) => {\n\t\tif (Array.isArray(vnode.children)) {\n\t\t\treturn !!vnode.children.length;\n\t\t}\n\n\t\treturn vnode.type !== Comment;\n\t});\n};\n\n// defineProps объявление\nconst props = defineProps({\n\ttitle: {\n\t\ttype: String,\n\t\tdefault: null\n\t},\n\ttooltip: {\n\t\ttype: String,\n\t\tdefault: null\n\t},\n\tactions: {\n\t\ttype: Array,\n\t\tdefault: null\n\t},\n\tplaceholder: {\n\t\ttype: String,\n\t\tdefault: 'Nothing here'\n\t},\n options: {\n type: Object,\n default: {\n \ttheme: 'white'\n }\n },\n})\n</script>"],"names":["useSlots","Comment"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsCcA,QAAAA,SAAU;AAExB,UAAM,iBAAiB,CAAC,MAAM,YAAY,OAAO;AAChD,UAAI,CAAC,KAAM,QAAO;AAElB,aAAO,KAAK,SAAS,EAAE,KAAK,CAAC,UAAU;AACtC,YAAI,MAAM,QAAQ,MAAM,QAAQ,GAAG;AAClC,iBAAO,CAAC,CAAC,MAAM,SAAS;AAAA,QACxB;AAED,eAAO,MAAM,SAASC;MACxB,CAAE;AAAA,IACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { useSlots, openBlock, createElementBlock, toDisplayString, createCommentVNode, Fragment, renderList, normalizeClass, createBlock, withCtx,
|
1
|
+
import { useSlots, openBlock, createElementBlock, toDisplayString, createCommentVNode, Fragment, renderList, normalizeClass, createBlock, withCtx, createElementVNode, renderSlot, Comment } from "vue";
|
2
2
|
import _sfc_main$1 from "../Tooltip/Tooltip.vue2.js";
|
3
3
|
const _hoisted_1 = { class: "bg-light pd-medium radius-big" };
|
4
4
|
const _hoisted_2 = {
|
@@ -10,8 +10,7 @@ const _hoisted_3 = {
|
|
10
10
|
class: "mn-r-thin t-medium p-big"
|
11
11
|
};
|
12
12
|
const _hoisted_4 = ["onClick"];
|
13
|
-
const _hoisted_5 =
|
14
|
-
const _hoisted_6 = {
|
13
|
+
const _hoisted_5 = {
|
15
14
|
key: 1,
|
16
15
|
class: "w-100"
|
17
16
|
};
|
@@ -66,13 +65,13 @@ const _sfc_main = {
|
|
66
65
|
key: 1,
|
67
66
|
text: __props.tooltip
|
68
67
|
}, {
|
69
|
-
default: withCtx(() => [
|
70
|
-
|
71
|
-
]),
|
68
|
+
default: withCtx(() => _cache[0] || (_cache[0] = [
|
69
|
+
createElementVNode("p", { class: "bg-main radius-small t-center i-medium" }, "i", -1)
|
70
|
+
])),
|
72
71
|
_: 1
|
73
72
|
}, 8, ["text"])) : createCommentVNode("", true)
|
74
73
|
])) : createCommentVNode("", true),
|
75
|
-
!hasSlotContent(_ctx.$slots.default) ? (openBlock(), createElementBlock("span",
|
74
|
+
!hasSlotContent(_ctx.$slots.default) ? (openBlock(), createElementBlock("span", _hoisted_5, toDisplayString(__props.placeholder), 1)) : createCommentVNode("", true),
|
76
75
|
renderSlot(_ctx.$slots, "default")
|
77
76
|
]);
|
78
77
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Block.vue.js","sources":["../../../../../src/components/Block/Block.vue"],"sourcesContent":["<template>\n\t<div \n class=\"bg-light pd-medium radius-big\"\n >\n \t<div v-if=\"title || actions\" class=\"mn-b-small flex-v-center flex-nowrap flex\">\n \t\t<p v-if=\"title\" class=\"mn-r-thin t-medium p-big\">{{title}}</p>\n \t\t\t\n \t\t<button \n \t\t\tv-for=\"action in actions\" \n \t\t\t@click=\"action.function\" \n \t\t\tclass=\"pd-thin button-delete button\"\n \t\t\t:class=\"action.class || 'bg-main radius-small t-center i-medium'\"\n \t\t>\n \t\t\t{{action.label}}\n \t\t</button>\n\n \t\t<Tooltip v-if=\"tooltip\" :text=\"tooltip\">\n\t <p class=\"bg-main radius-small t-center i-medium\">i</p>\n\t </Tooltip>\n \t</div>\n\n \t<span \n v-if=\"!hasSlotContent($slots.default)\" \n class=\"w-100\"\n >\n {{placeholder}}\n </span> \n\n \t<slot></slot>\n\t</div>\n</template>\n\n<script setup>\nimport { ref, defineProps, useSlots, Comment } from 'vue';\n\n\nimport Tooltip from '@pf/src/components/Tooltip/Tooltip.vue'\n\nconst slots = useSlots()\n\nconst hasSlotContent = (slot, slotProps = {}) => {\n\tif (!slot) return false;\n\n\treturn slot(slotProps).some((vnode) => {\n\t\tif (Array.isArray(vnode.children)) {\n\t\t\treturn !!vnode.children.length;\n\t\t}\n\n\t\treturn vnode.type !== Comment;\n\t});\n};\n\n// defineProps объявление\nconst props = defineProps({\n\ttitle: {\n\t\ttype: String,\n\t\tdefault: null\n\t},\n\ttooltip: {\n\t\ttype: String,\n\t\tdefault: null\n\t},\n\tactions: {\n\t\ttype: Array,\n\t\tdefault: null\n\t},\n\tplaceholder: {\n\t\ttype: String,\n\t\tdefault: 'Nothing here'\n\t},\n options: {\n type: Object,\n default: {\n \ttheme: 'white'\n }\n },\n})\n</script>"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"Block.vue.js","sources":["../../../../../src/components/Block/Block.vue"],"sourcesContent":["<template>\n\t<div \n class=\"bg-light pd-medium radius-big\"\n >\n \t<div v-if=\"title || actions\" class=\"mn-b-small flex-v-center flex-nowrap flex\">\n \t\t<p v-if=\"title\" class=\"mn-r-thin t-medium p-big\">{{title}}</p>\n \t\t\t\n \t\t<button \n \t\t\tv-for=\"action in actions\" \n \t\t\t@click=\"action.function\" \n \t\t\tclass=\"pd-thin button-delete button\"\n \t\t\t:class=\"action.class || 'bg-main radius-small t-center i-medium'\"\n \t\t>\n \t\t\t{{action.label}}\n \t\t</button>\n\n \t\t<Tooltip v-if=\"tooltip\" :text=\"tooltip\">\n\t <p class=\"bg-main radius-small t-center i-medium\">i</p>\n\t </Tooltip>\n \t</div>\n\n \t<span \n v-if=\"!hasSlotContent($slots.default)\" \n class=\"w-100\"\n >\n {{placeholder}}\n </span> \n\n \t<slot></slot>\n\t</div>\n</template>\n\n<script setup>\nimport { ref, defineProps, useSlots, Comment } from 'vue';\n\n\nimport Tooltip from '@pf/src/components/Tooltip/Tooltip.vue'\n\nconst slots = useSlots()\n\nconst hasSlotContent = (slot, slotProps = {}) => {\n\tif (!slot) return false;\n\n\treturn slot(slotProps).some((vnode) => {\n\t\tif (Array.isArray(vnode.children)) {\n\t\t\treturn !!vnode.children.length;\n\t\t}\n\n\t\treturn vnode.type !== Comment;\n\t});\n};\n\n// defineProps объявление\nconst props = defineProps({\n\ttitle: {\n\t\ttype: String,\n\t\tdefault: null\n\t},\n\ttooltip: {\n\t\ttype: String,\n\t\tdefault: null\n\t},\n\tactions: {\n\t\ttype: Array,\n\t\tdefault: null\n\t},\n\tplaceholder: {\n\t\ttype: String,\n\t\tdefault: 'Nothing here'\n\t},\n options: {\n type: Object,\n default: {\n \ttheme: 'white'\n }\n },\n})\n</script>"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsCc,aAAU;AAExB,UAAM,iBAAiB,CAAC,MAAM,YAAY,OAAO;AAChD,UAAI,CAAC,KAAM,QAAO;AAElB,aAAO,KAAK,SAAS,EAAE,KAAK,CAAC,UAAU;AACtC,YAAI,MAAM,QAAQ,MAAM,QAAQ,GAAG;AAClC,iBAAO,CAAC,CAAC,MAAM,SAAS;AAAA,QACxB;AAED,eAAO,MAAM,SAAS;AAAA,MACxB,CAAE;AAAA,IACF;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,12 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
|
-
const _hoisted_1 = /* @__PURE__ */ vue.createElementVNode("div", { class: "radius-extra pd-small t-black p-medium" }, [
|
5
|
-
/* @__PURE__ */ vue.createElementVNode("div", { class: "radius-extra pd-nano w-3r h-1r t-black p-medium bg-black-transp-10" })
|
6
|
-
], -1);
|
7
|
-
const _hoisted_2 = [
|
8
|
-
_hoisted_1
|
9
|
-
];
|
10
4
|
const _sfc_main = {
|
11
5
|
__name: "BottomSheet",
|
12
6
|
props: {
|
@@ -77,7 +71,11 @@ const _sfc_main = {
|
|
77
71
|
onTouchend: endDrag,
|
78
72
|
onMouseleave: endDrag,
|
79
73
|
class: "bs-black d-block p-medium pos-relative bg-white flex-center flex uppercase z-index-2"
|
80
|
-
},
|
74
|
+
}, _cache[1] || (_cache[1] = [
|
75
|
+
vue.createElementVNode("div", { class: "radius-extra pd-small t-black p-medium" }, [
|
76
|
+
vue.createElementVNode("div", { class: "radius-extra pd-nano w-3r h-1r t-black p-medium bg-black-transp-10" })
|
77
|
+
], -1)
|
78
|
+
]), 32),
|
81
79
|
vue.renderSlot(_ctx.$slots, "default")
|
82
80
|
], 4)
|
83
81
|
]),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"BottomSheet.vue.cjs","sources":["../../../../../src/components/BottomSheet/BottomSheet.vue"],"sourcesContent":["<template>\n <transition name=\"slideY\" mode=\"out-in\">\n <section \n ref=\"wrapper\" \n class=\"w-100 h-100vh\"\n :style=\"MOBILE_APP === 'ios' ?'padding-top: 6rem;':''\" \n >\n <!-- Toggle To Close -->\n <div\n @click=\"emits('toggle')\"\n @mousedown=\"startDrag\"\n @touchstart=\"startDrag\"\n @mousemove=\"onDrag\"\n @touchmove=\"onDrag\"\n @mouseup=\"endDrag\"\n @touchend=\"endDrag\"\n @mouseleave=\"endDrag\"\n class=\"bs-black d-block p-medium pos-relative bg-white flex-center flex uppercase z-index-2\"\n >\n <div class=\"radius-extra pd-small t-black p-medium\">\n <div class=\"radius-extra pd-nano w-3r h-1r t-black p-medium bg-black-transp-10\"></div>\n </div>\n </div>\n \n <slot></slot>\n </section>\n </transition>\n</template>\n\n<script setup>\nimport { ref } from 'vue';\n\nconst props = defineProps({\n show: {\n type: Boolean,\n default: false\n },\n options: {\n type: Object,\n default: {\n position: false\n }\n }\n})\n\nconst emits = defineEmits([\n 'toggle'\n])\n\nconst wrapper = ref(null)\n\nconst startY = ref(0);\nconst currentY = ref(0);\nconst dragging = ref(false);\n\nfunction startDrag(event) {\n dragging.value = true;\n startY.value = event.touches ? event.touches[0].clientY : event.clientY;\n currentY.value = startY.value;\n}\n\nfunction onDrag(event) {\n if (!dragging.value) return;\n event.preventDefault(); // Prevent scrolling while dragging\n currentY.value = event.touches ? event.touches[0].clientY : event.clientY;\n const deltaY = currentY.value - startY.value;\n\n if (deltaY > 0) {\n wrapper.value.style.top = `${deltaY}px`;\n }\n}\nfunction endDrag() {\n if (!dragging.value) return;\n\n dragging.value = false;\n\n const deltaY = currentY.value - startY.value;\n const threshold = window.innerHeight * 0.2;\n\n if (deltaY < threshold) {\n // If less than 40%, snap back to the original position\n wrapper.value.style.top = '';\n } else {\n // If more than 40%, hide the element\n emits('toggle')\n // VisualizerWrapper.value.style.top = '';\n }\n}\n</script>"],"names":["ref"],"mappings":"
|
1
|
+
{"version":3,"file":"BottomSheet.vue.cjs","sources":["../../../../../src/components/BottomSheet/BottomSheet.vue"],"sourcesContent":["<template>\n <transition name=\"slideY\" mode=\"out-in\">\n <section \n ref=\"wrapper\" \n class=\"w-100 h-100vh\"\n :style=\"MOBILE_APP === 'ios' ?'padding-top: 6rem;':''\" \n >\n <!-- Toggle To Close -->\n <div\n @click=\"emits('toggle')\"\n @mousedown=\"startDrag\"\n @touchstart=\"startDrag\"\n @mousemove=\"onDrag\"\n @touchmove=\"onDrag\"\n @mouseup=\"endDrag\"\n @touchend=\"endDrag\"\n @mouseleave=\"endDrag\"\n class=\"bs-black d-block p-medium pos-relative bg-white flex-center flex uppercase z-index-2\"\n >\n <div class=\"radius-extra pd-small t-black p-medium\">\n <div class=\"radius-extra pd-nano w-3r h-1r t-black p-medium bg-black-transp-10\"></div>\n </div>\n </div>\n \n <slot></slot>\n </section>\n </transition>\n</template>\n\n<script setup>\nimport { ref } from 'vue';\n\nconst props = defineProps({\n show: {\n type: Boolean,\n default: false\n },\n options: {\n type: Object,\n default: {\n position: false\n }\n }\n})\n\nconst emits = defineEmits([\n 'toggle'\n])\n\nconst wrapper = ref(null)\n\nconst startY = ref(0);\nconst currentY = ref(0);\nconst dragging = ref(false);\n\nfunction startDrag(event) {\n dragging.value = true;\n startY.value = event.touches ? event.touches[0].clientY : event.clientY;\n currentY.value = startY.value;\n}\n\nfunction onDrag(event) {\n if (!dragging.value) return;\n event.preventDefault(); // Prevent scrolling while dragging\n currentY.value = event.touches ? event.touches[0].clientY : event.clientY;\n const deltaY = currentY.value - startY.value;\n\n if (deltaY > 0) {\n wrapper.value.style.top = `${deltaY}px`;\n }\n}\nfunction endDrag() {\n if (!dragging.value) return;\n\n dragging.value = false;\n\n const deltaY = currentY.value - startY.value;\n const threshold = window.innerHeight * 0.2;\n\n if (deltaY < threshold) {\n // If less than 40%, snap back to the original position\n wrapper.value.style.top = '';\n } else {\n // If more than 40%, hide the element\n emits('toggle')\n // VisualizerWrapper.value.style.top = '';\n }\n}\n</script>"],"names":["ref"],"mappings":";;;;;;;;;;;;;;;;;;;;;AA6CA,UAAM,QAAQ;AAId,UAAM,UAAUA,IAAG,IAAC,IAAI;AAExB,UAAM,SAASA,IAAAA,IAAI,CAAC;AACpB,UAAM,WAAWA,IAAAA,IAAI,CAAC;AACtB,UAAM,WAAWA,IAAAA,IAAI,KAAK;AAE1B,aAAS,UAAU,OAAO;AACxB,eAAS,QAAQ;AACjB,aAAO,QAAQ,MAAM,UAAU,MAAM,QAAQ,CAAC,EAAE,UAAU,MAAM;AAChE,eAAS,QAAQ,OAAO;AAAA,IAC1B;AAEA,aAAS,OAAO,OAAO;AACrB,UAAI,CAAC,SAAS,MAAO;AACrB,YAAM,eAAc;AACpB,eAAS,QAAQ,MAAM,UAAU,MAAM,QAAQ,CAAC,EAAE,UAAU,MAAM;AAClE,YAAM,SAAS,SAAS,QAAQ,OAAO;AAEvC,UAAI,SAAS,GAAG;AACd,gBAAQ,MAAM,MAAM,MAAM,GAAG,MAAM;AAAA,MACpC;AAAA,IACH;AACA,aAAS,UAAU;AACjB,UAAI,CAAC,SAAS,MAAO;AAErB,eAAS,QAAQ;AAEjB,YAAM,SAAS,SAAS,QAAQ,OAAO;AACvC,YAAM,YAAY,OAAO,cAAc;AAEvC,UAAI,SAAS,WAAW;AAEtB,gBAAQ,MAAM,MAAM,MAAM;AAAA,MAC9B,OAAS;AAEL,cAAM,QAAQ;AAAA,MAEf;AAAA,IACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,10 +1,4 @@
|
|
1
1
|
import { ref, openBlock, createBlock, Transition, withCtx, createElementVNode, normalizeStyle, renderSlot } from "vue";
|
2
|
-
const _hoisted_1 = /* @__PURE__ */ createElementVNode("div", { class: "radius-extra pd-small t-black p-medium" }, [
|
3
|
-
/* @__PURE__ */ createElementVNode("div", { class: "radius-extra pd-nano w-3r h-1r t-black p-medium bg-black-transp-10" })
|
4
|
-
], -1);
|
5
|
-
const _hoisted_2 = [
|
6
|
-
_hoisted_1
|
7
|
-
];
|
8
2
|
const _sfc_main = {
|
9
3
|
__name: "BottomSheet",
|
10
4
|
props: {
|
@@ -75,7 +69,11 @@ const _sfc_main = {
|
|
75
69
|
onTouchend: endDrag,
|
76
70
|
onMouseleave: endDrag,
|
77
71
|
class: "bs-black d-block p-medium pos-relative bg-white flex-center flex uppercase z-index-2"
|
78
|
-
},
|
72
|
+
}, _cache[1] || (_cache[1] = [
|
73
|
+
createElementVNode("div", { class: "radius-extra pd-small t-black p-medium" }, [
|
74
|
+
createElementVNode("div", { class: "radius-extra pd-nano w-3r h-1r t-black p-medium bg-black-transp-10" })
|
75
|
+
], -1)
|
76
|
+
]), 32),
|
79
77
|
renderSlot(_ctx.$slots, "default")
|
80
78
|
], 4)
|
81
79
|
]),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"BottomSheet.vue.js","sources":["../../../../../src/components/BottomSheet/BottomSheet.vue"],"sourcesContent":["<template>\n <transition name=\"slideY\" mode=\"out-in\">\n <section \n ref=\"wrapper\" \n class=\"w-100 h-100vh\"\n :style=\"MOBILE_APP === 'ios' ?'padding-top: 6rem;':''\" \n >\n <!-- Toggle To Close -->\n <div\n @click=\"emits('toggle')\"\n @mousedown=\"startDrag\"\n @touchstart=\"startDrag\"\n @mousemove=\"onDrag\"\n @touchmove=\"onDrag\"\n @mouseup=\"endDrag\"\n @touchend=\"endDrag\"\n @mouseleave=\"endDrag\"\n class=\"bs-black d-block p-medium pos-relative bg-white flex-center flex uppercase z-index-2\"\n >\n <div class=\"radius-extra pd-small t-black p-medium\">\n <div class=\"radius-extra pd-nano w-3r h-1r t-black p-medium bg-black-transp-10\"></div>\n </div>\n </div>\n \n <slot></slot>\n </section>\n </transition>\n</template>\n\n<script setup>\nimport { ref } from 'vue';\n\nconst props = defineProps({\n show: {\n type: Boolean,\n default: false\n },\n options: {\n type: Object,\n default: {\n position: false\n }\n }\n})\n\nconst emits = defineEmits([\n 'toggle'\n])\n\nconst wrapper = ref(null)\n\nconst startY = ref(0);\nconst currentY = ref(0);\nconst dragging = ref(false);\n\nfunction startDrag(event) {\n dragging.value = true;\n startY.value = event.touches ? event.touches[0].clientY : event.clientY;\n currentY.value = startY.value;\n}\n\nfunction onDrag(event) {\n if (!dragging.value) return;\n event.preventDefault(); // Prevent scrolling while dragging\n currentY.value = event.touches ? event.touches[0].clientY : event.clientY;\n const deltaY = currentY.value - startY.value;\n\n if (deltaY > 0) {\n wrapper.value.style.top = `${deltaY}px`;\n }\n}\nfunction endDrag() {\n if (!dragging.value) return;\n\n dragging.value = false;\n\n const deltaY = currentY.value - startY.value;\n const threshold = window.innerHeight * 0.2;\n\n if (deltaY < threshold) {\n // If less than 40%, snap back to the original position\n wrapper.value.style.top = '';\n } else {\n // If more than 40%, hide the element\n emits('toggle')\n // VisualizerWrapper.value.style.top = '';\n }\n}\n</script>"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"BottomSheet.vue.js","sources":["../../../../../src/components/BottomSheet/BottomSheet.vue"],"sourcesContent":["<template>\n <transition name=\"slideY\" mode=\"out-in\">\n <section \n ref=\"wrapper\" \n class=\"w-100 h-100vh\"\n :style=\"MOBILE_APP === 'ios' ?'padding-top: 6rem;':''\" \n >\n <!-- Toggle To Close -->\n <div\n @click=\"emits('toggle')\"\n @mousedown=\"startDrag\"\n @touchstart=\"startDrag\"\n @mousemove=\"onDrag\"\n @touchmove=\"onDrag\"\n @mouseup=\"endDrag\"\n @touchend=\"endDrag\"\n @mouseleave=\"endDrag\"\n class=\"bs-black d-block p-medium pos-relative bg-white flex-center flex uppercase z-index-2\"\n >\n <div class=\"radius-extra pd-small t-black p-medium\">\n <div class=\"radius-extra pd-nano w-3r h-1r t-black p-medium bg-black-transp-10\"></div>\n </div>\n </div>\n \n <slot></slot>\n </section>\n </transition>\n</template>\n\n<script setup>\nimport { ref } from 'vue';\n\nconst props = defineProps({\n show: {\n type: Boolean,\n default: false\n },\n options: {\n type: Object,\n default: {\n position: false\n }\n }\n})\n\nconst emits = defineEmits([\n 'toggle'\n])\n\nconst wrapper = ref(null)\n\nconst startY = ref(0);\nconst currentY = ref(0);\nconst dragging = ref(false);\n\nfunction startDrag(event) {\n dragging.value = true;\n startY.value = event.touches ? event.touches[0].clientY : event.clientY;\n currentY.value = startY.value;\n}\n\nfunction onDrag(event) {\n if (!dragging.value) return;\n event.preventDefault(); // Prevent scrolling while dragging\n currentY.value = event.touches ? event.touches[0].clientY : event.clientY;\n const deltaY = currentY.value - startY.value;\n\n if (deltaY > 0) {\n wrapper.value.style.top = `${deltaY}px`;\n }\n}\nfunction endDrag() {\n if (!dragging.value) return;\n\n dragging.value = false;\n\n const deltaY = currentY.value - startY.value;\n const threshold = window.innerHeight * 0.2;\n\n if (deltaY < threshold) {\n // If less than 40%, snap back to the original position\n wrapper.value.style.top = '';\n } else {\n // If more than 40%, hide the element\n emits('toggle')\n // VisualizerWrapper.value.style.top = '';\n }\n}\n</script>"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AA6CA,UAAM,QAAQ;AAId,UAAM,UAAU,IAAI,IAAI;AAExB,UAAM,SAAS,IAAI,CAAC;AACpB,UAAM,WAAW,IAAI,CAAC;AACtB,UAAM,WAAW,IAAI,KAAK;AAE1B,aAAS,UAAU,OAAO;AACxB,eAAS,QAAQ;AACjB,aAAO,QAAQ,MAAM,UAAU,MAAM,QAAQ,CAAC,EAAE,UAAU,MAAM;AAChE,eAAS,QAAQ,OAAO;AAAA,IAC1B;AAEA,aAAS,OAAO,OAAO;AACrB,UAAI,CAAC,SAAS,MAAO;AACrB,YAAM,eAAc;AACpB,eAAS,QAAQ,MAAM,UAAU,MAAM,QAAQ,CAAC,EAAE,UAAU,MAAM;AAClE,YAAM,SAAS,SAAS,QAAQ,OAAO;AAEvC,UAAI,SAAS,GAAG;AACd,gBAAQ,MAAM,MAAM,MAAM,GAAG,MAAM;AAAA,MACpC;AAAA,IACH;AACA,aAAS,UAAU;AACjB,UAAI,CAAC,SAAS,MAAO;AAErB,eAAS,QAAQ;AAEjB,YAAM,SAAS,SAAS,QAAQ,OAAO;AACvC,YAAM,YAAY,OAAO,cAAc;AAEvC,UAAI,SAAS,WAAW;AAEtB,gBAAQ,MAAM,MAAM,MAAM;AAAA,MAC9B,OAAS;AAEL,cAAM,QAAQ;AAAA,MAEf;AAAA,IACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -16,7 +16,6 @@ const _sfc_main = {
|
|
16
16
|
text_cta: String
|
17
17
|
},
|
18
18
|
setup(__props) {
|
19
|
-
const { user, cta, target } = __props;
|
20
19
|
const calculateCompletion = (profileObject) => {
|
21
20
|
let totalProperties = 0;
|
22
21
|
let filledProperties = 0;
|
@@ -38,7 +37,7 @@ const _sfc_main = {
|
|
38
37
|
return totalProperties === 0 ? 0 : Math.round(filledProperties / totalProperties * 100);
|
39
38
|
};
|
40
39
|
const completionPercentage = vue.computed(() => {
|
41
|
-
return target ? calculateCompletion(target) : 0;
|
40
|
+
return __props.target ? calculateCompletion(__props.target) : 0;
|
42
41
|
});
|
43
42
|
return (_ctx, _cache) => {
|
44
43
|
const _component_router_link = vue.resolveComponent("router-link");
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Completion.vue.cjs","sources":["../../../../../src/components/Completion/Completion.vue"],"sourcesContent":["<template>\n <section class=\"w-100 radius-big pd-medium bg-second t-black\">\n <div class=\"mn-b-thin flex-v-center flex-nowrap flex\">\n <h3>\n {{ text }}\n </h3>\n\n <h4 class=\"mn-l-thin uppercase radius-big t-semi t-medium t-white bg-black w-max pd-thin\">\n {{ percentage || completionPercentage }}%\n </h4>\n\n <router-link\n v-if=\"cta\"\n :to=\"{\n name: 'User Edit Profile',\n params: { _id: user }\n }\"\n class=\"mn-l-auto uppercase radius-big t-semi t-medium t-white bg-black w-max pd-thin\"\n >\n {{ text_cta }}\n </router-link>\n </div> \n\n \n\n <div class=\"w-100 h-2r pos-relative pd-nano bg-black radius-big\">\n <div :style=\"`width: ${completionPercentage}%`\" class=\"h-100 bg-second mn-b-thin radius-big\">\n </div>\n </div>\n </section>\n</template>\n\n<script setup>\nimport { computed } from 'vue';\n\nconst { user, cta, target } = defineProps({\n user: Object,\n target: Object,\n cta: Boolean,\n percentage: Number,\n text: String,\n text_cta: String,\n});\n\nconst calculateCompletion = (profileObject) => {\n let totalProperties = 0;\n let filledProperties = 0;\n\n function recurse(obj) {\n for (let key in obj) {\n if (obj.hasOwnProperty(key)) {\n if (obj[key] && typeof obj[key] === 'object' && !Array.isArray(obj[key])) {\n recurse(obj[key]); // Recurse into nested objects\n } else {\n totalProperties++;\n if (obj[key] != null && obj[key] !== '') {\n filledProperties++;\n }\n }\n }\n }\n }\n\n recurse(profileObject);\n\n return (totalProperties === 0 ? 0 : Math.round((filledProperties / totalProperties) * 100));\n};\n\nconst completionPercentage = computed(() => {\n return target ? calculateCompletion(target) : 0;\n});\n</script>\n"],"names":["computed"],"mappings":";;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"Completion.vue.cjs","sources":["../../../../../src/components/Completion/Completion.vue"],"sourcesContent":["<template>\n <section class=\"w-100 radius-big pd-medium bg-second t-black\">\n <div class=\"mn-b-thin flex-v-center flex-nowrap flex\">\n <h3>\n {{ text }}\n </h3>\n\n <h4 class=\"mn-l-thin uppercase radius-big t-semi t-medium t-white bg-black w-max pd-thin\">\n {{ percentage || completionPercentage }}%\n </h4>\n\n <router-link\n v-if=\"cta\"\n :to=\"{\n name: 'User Edit Profile',\n params: { _id: user }\n }\"\n class=\"mn-l-auto uppercase radius-big t-semi t-medium t-white bg-black w-max pd-thin\"\n >\n {{ text_cta }}\n </router-link>\n </div> \n\n \n\n <div class=\"w-100 h-2r pos-relative pd-nano bg-black radius-big\">\n <div :style=\"`width: ${completionPercentage}%`\" class=\"h-100 bg-second mn-b-thin radius-big\">\n </div>\n </div>\n </section>\n</template>\n\n<script setup>\nimport { computed } from 'vue';\n\nconst { user, cta, target } = defineProps({\n user: Object,\n target: Object,\n cta: Boolean,\n percentage: Number,\n text: String,\n text_cta: String,\n});\n\nconst calculateCompletion = (profileObject) => {\n let totalProperties = 0;\n let filledProperties = 0;\n\n function recurse(obj) {\n for (let key in obj) {\n if (obj.hasOwnProperty(key)) {\n if (obj[key] && typeof obj[key] === 'object' && !Array.isArray(obj[key])) {\n recurse(obj[key]); // Recurse into nested objects\n } else {\n totalProperties++;\n if (obj[key] != null && obj[key] !== '') {\n filledProperties++;\n }\n }\n }\n }\n }\n\n recurse(profileObject);\n\n return (totalProperties === 0 ? 0 : Math.round((filledProperties / totalProperties) * 100));\n};\n\nconst completionPercentage = computed(() => {\n return target ? calculateCompletion(target) : 0;\n});\n</script>\n"],"names":["computed"],"mappings":";;;;;;;;;;;;;;;;;;AA4CA,UAAM,sBAAsB,CAAC,kBAAkB;AAC7C,UAAI,kBAAkB;AACtB,UAAI,mBAAmB;AAEvB,eAAS,QAAQ,KAAK;AACpB,iBAAS,OAAO,KAAK;AACnB,cAAI,IAAI,eAAe,GAAG,GAAG;AAC3B,gBAAI,IAAI,GAAG,KAAK,OAAO,IAAI,GAAG,MAAM,YAAY,CAAC,MAAM,QAAQ,IAAI,GAAG,CAAC,GAAG;AACxE,sBAAQ,IAAI,GAAG,CAAC;AAAA,YAC1B,OAAe;AACL;AACA,kBAAI,IAAI,GAAG,KAAK,QAAQ,IAAI,GAAG,MAAM,IAAI;AACvC;AAAA,cACD;AAAA,YACF;AAAA,UACF;AAAA,QACF;AAAA,MACF;AAED,cAAQ,aAAa;AAErB,aAAQ,oBAAoB,IAAI,IAAI,KAAK,MAAO,mBAAmB,kBAAmB,GAAG;AAAA,IAC3F;AAEA,UAAM,uBAAuBA,IAAQ,SAAC,MAAM;AAC1C,aAAO,QAAM,SAAG,oBAAoB,QAAM,MAAA,IAAI;AAAA,IAChD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -14,7 +14,6 @@ const _sfc_main = {
|
|
14
14
|
text_cta: String
|
15
15
|
},
|
16
16
|
setup(__props) {
|
17
|
-
const { user, cta, target } = __props;
|
18
17
|
const calculateCompletion = (profileObject) => {
|
19
18
|
let totalProperties = 0;
|
20
19
|
let filledProperties = 0;
|
@@ -36,7 +35,7 @@ const _sfc_main = {
|
|
36
35
|
return totalProperties === 0 ? 0 : Math.round(filledProperties / totalProperties * 100);
|
37
36
|
};
|
38
37
|
const completionPercentage = computed(() => {
|
39
|
-
return target ? calculateCompletion(target) : 0;
|
38
|
+
return __props.target ? calculateCompletion(__props.target) : 0;
|
40
39
|
});
|
41
40
|
return (_ctx, _cache) => {
|
42
41
|
const _component_router_link = resolveComponent("router-link");
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Completion.vue.js","sources":["../../../../../src/components/Completion/Completion.vue"],"sourcesContent":["<template>\n <section class=\"w-100 radius-big pd-medium bg-second t-black\">\n <div class=\"mn-b-thin flex-v-center flex-nowrap flex\">\n <h3>\n {{ text }}\n </h3>\n\n <h4 class=\"mn-l-thin uppercase radius-big t-semi t-medium t-white bg-black w-max pd-thin\">\n {{ percentage || completionPercentage }}%\n </h4>\n\n <router-link\n v-if=\"cta\"\n :to=\"{\n name: 'User Edit Profile',\n params: { _id: user }\n }\"\n class=\"mn-l-auto uppercase radius-big t-semi t-medium t-white bg-black w-max pd-thin\"\n >\n {{ text_cta }}\n </router-link>\n </div> \n\n \n\n <div class=\"w-100 h-2r pos-relative pd-nano bg-black radius-big\">\n <div :style=\"`width: ${completionPercentage}%`\" class=\"h-100 bg-second mn-b-thin radius-big\">\n </div>\n </div>\n </section>\n</template>\n\n<script setup>\nimport { computed } from 'vue';\n\nconst { user, cta, target } = defineProps({\n user: Object,\n target: Object,\n cta: Boolean,\n percentage: Number,\n text: String,\n text_cta: String,\n});\n\nconst calculateCompletion = (profileObject) => {\n let totalProperties = 0;\n let filledProperties = 0;\n\n function recurse(obj) {\n for (let key in obj) {\n if (obj.hasOwnProperty(key)) {\n if (obj[key] && typeof obj[key] === 'object' && !Array.isArray(obj[key])) {\n recurse(obj[key]); // Recurse into nested objects\n } else {\n totalProperties++;\n if (obj[key] != null && obj[key] !== '') {\n filledProperties++;\n }\n }\n }\n }\n }\n\n recurse(profileObject);\n\n return (totalProperties === 0 ? 0 : Math.round((filledProperties / totalProperties) * 100));\n};\n\nconst completionPercentage = computed(() => {\n return target ? calculateCompletion(target) : 0;\n});\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"Completion.vue.js","sources":["../../../../../src/components/Completion/Completion.vue"],"sourcesContent":["<template>\n <section class=\"w-100 radius-big pd-medium bg-second t-black\">\n <div class=\"mn-b-thin flex-v-center flex-nowrap flex\">\n <h3>\n {{ text }}\n </h3>\n\n <h4 class=\"mn-l-thin uppercase radius-big t-semi t-medium t-white bg-black w-max pd-thin\">\n {{ percentage || completionPercentage }}%\n </h4>\n\n <router-link\n v-if=\"cta\"\n :to=\"{\n name: 'User Edit Profile',\n params: { _id: user }\n }\"\n class=\"mn-l-auto uppercase radius-big t-semi t-medium t-white bg-black w-max pd-thin\"\n >\n {{ text_cta }}\n </router-link>\n </div> \n\n \n\n <div class=\"w-100 h-2r pos-relative pd-nano bg-black radius-big\">\n <div :style=\"`width: ${completionPercentage}%`\" class=\"h-100 bg-second mn-b-thin radius-big\">\n </div>\n </div>\n </section>\n</template>\n\n<script setup>\nimport { computed } from 'vue';\n\nconst { user, cta, target } = defineProps({\n user: Object,\n target: Object,\n cta: Boolean,\n percentage: Number,\n text: String,\n text_cta: String,\n});\n\nconst calculateCompletion = (profileObject) => {\n let totalProperties = 0;\n let filledProperties = 0;\n\n function recurse(obj) {\n for (let key in obj) {\n if (obj.hasOwnProperty(key)) {\n if (obj[key] && typeof obj[key] === 'object' && !Array.isArray(obj[key])) {\n recurse(obj[key]); // Recurse into nested objects\n } else {\n totalProperties++;\n if (obj[key] != null && obj[key] !== '') {\n filledProperties++;\n }\n }\n }\n }\n }\n\n recurse(profileObject);\n\n return (totalProperties === 0 ? 0 : Math.round((filledProperties / totalProperties) * 100));\n};\n\nconst completionPercentage = computed(() => {\n return target ? calculateCompletion(target) : 0;\n});\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;AA4CA,UAAM,sBAAsB,CAAC,kBAAkB;AAC7C,UAAI,kBAAkB;AACtB,UAAI,mBAAmB;AAEvB,eAAS,QAAQ,KAAK;AACpB,iBAAS,OAAO,KAAK;AACnB,cAAI,IAAI,eAAe,GAAG,GAAG;AAC3B,gBAAI,IAAI,GAAG,KAAK,OAAO,IAAI,GAAG,MAAM,YAAY,CAAC,MAAM,QAAQ,IAAI,GAAG,CAAC,GAAG;AACxE,sBAAQ,IAAI,GAAG,CAAC;AAAA,YAC1B,OAAe;AACL;AACA,kBAAI,IAAI,GAAG,KAAK,QAAQ,IAAI,GAAG,MAAM,IAAI;AACvC;AAAA,cACD;AAAA,YACF;AAAA,UACF;AAAA,QACF;AAAA,MACF;AAED,cAAQ,aAAa;AAErB,aAAQ,oBAAoB,IAAI,IAAI,KAAK,MAAO,mBAAmB,kBAAmB,GAAG;AAAA,IAC3F;AAEA,UAAM,uBAAuB,SAAS,MAAM;AAC1C,aAAO,QAAM,SAAG,oBAAoB,QAAM,MAAA,IAAI;AAAA,IAChD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -6,34 +6,26 @@ const _hoisted_2 = {
|
|
6
6
|
key: 0,
|
7
7
|
class: "flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-medium bg-blur-small bg-white-transp-5 radius-small"
|
8
8
|
};
|
9
|
-
const _hoisted_3 =
|
10
|
-
const _hoisted_4 = [
|
11
|
-
_hoisted_3
|
12
|
-
];
|
13
|
-
const _hoisted_5 = {
|
9
|
+
const _hoisted_3 = {
|
14
10
|
key: 1,
|
15
11
|
class: "flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-nano bg-blur-small bg-white-transp-5 radius-small"
|
16
12
|
};
|
17
|
-
const
|
18
|
-
const
|
19
|
-
const _hoisted_8 = {
|
13
|
+
const _hoisted_4 = { class: "p-big" };
|
14
|
+
const _hoisted_5 = {
|
20
15
|
key: 2,
|
21
16
|
class: "flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-nano bg-blur-small bg-white-transp-5 radius-small"
|
22
17
|
};
|
23
|
-
const
|
24
|
-
const
|
25
|
-
const _hoisted_11 = {
|
18
|
+
const _hoisted_6 = { class: "p-big" };
|
19
|
+
const _hoisted_7 = {
|
26
20
|
key: 3,
|
27
21
|
class: "flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-nano bg-blur-small bg-white-transp-5 radius-small"
|
28
22
|
};
|
29
|
-
const
|
30
|
-
const
|
31
|
-
const _hoisted_14 = {
|
23
|
+
const _hoisted_8 = { class: "p-big" };
|
24
|
+
const _hoisted_9 = {
|
32
25
|
key: 4,
|
33
26
|
class: "flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-nano bg-blur-small bg-white-transp-5 radius-small"
|
34
27
|
};
|
35
|
-
const
|
36
|
-
const _hoisted_16 = /* @__PURE__ */ vue.createElementVNode("p", { class: "p-small t-transp" }, "seconds", -1);
|
28
|
+
const _hoisted_10 = { class: "p-big" };
|
37
29
|
const _sfc_main = {
|
38
30
|
__name: "Countdown",
|
39
31
|
props: [
|
@@ -77,22 +69,24 @@ const _sfc_main = {
|
|
77
69
|
});
|
78
70
|
return (_ctx, _cache) => {
|
79
71
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
80
|
-
isTimeOver.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2,
|
81
|
-
|
82
|
-
|
83
|
-
|
72
|
+
isTimeOver.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, _cache[0] || (_cache[0] = [
|
73
|
+
vue.createElementVNode("p", { class: "p-small t-transp" }, "Offer is over", -1)
|
74
|
+
]))) : vue.createCommentVNode("", true),
|
75
|
+
!isTimeOver.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3, [
|
76
|
+
vue.createElementVNode("p", _hoisted_4, vue.toDisplayString(days.value), 1),
|
77
|
+
_cache[1] || (_cache[1] = vue.createElementVNode("p", { class: "p-small t-transp" }, "Days", -1))
|
84
78
|
])) : vue.createCommentVNode("", true),
|
85
|
-
!isTimeOver.value ? (vue.openBlock(), vue.createElementBlock("div",
|
86
|
-
vue.createElementVNode("p",
|
87
|
-
|
79
|
+
!isTimeOver.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, [
|
80
|
+
vue.createElementVNode("p", _hoisted_6, vue.toDisplayString(hours.value), 1),
|
81
|
+
_cache[2] || (_cache[2] = vue.createElementVNode("p", { class: "p-small t-transp" }, "hours", -1))
|
88
82
|
])) : vue.createCommentVNode("", true),
|
89
|
-
!isTimeOver.value ? (vue.openBlock(), vue.createElementBlock("div",
|
90
|
-
vue.createElementVNode("p",
|
91
|
-
|
83
|
+
!isTimeOver.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, [
|
84
|
+
vue.createElementVNode("p", _hoisted_8, vue.toDisplayString(minutes.value), 1),
|
85
|
+
_cache[3] || (_cache[3] = vue.createElementVNode("p", { class: "p-small t-transp" }, "minutes", -1))
|
92
86
|
])) : vue.createCommentVNode("", true),
|
93
|
-
!isTimeOver.value ? (vue.openBlock(), vue.createElementBlock("div",
|
94
|
-
vue.createElementVNode("p",
|
95
|
-
|
87
|
+
!isTimeOver.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9, [
|
88
|
+
vue.createElementVNode("p", _hoisted_10, vue.toDisplayString(seconds.value), 1),
|
89
|
+
_cache[4] || (_cache[4] = vue.createElementVNode("p", { class: "p-small t-transp" }, "seconds", -1))
|
96
90
|
])) : vue.createCommentVNode("", true)
|
97
91
|
]);
|
98
92
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Countdown.vue.cjs","sources":["../../../../../src/components/Countdown/Countdown.vue"],"sourcesContent":["<template>\n <div class=\"gap-thin flex-nowrap flex flex-center\">\n <div v-if=\"isTimeOver\" class=\"flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-medium bg-blur-small bg-white-transp-5 radius-small\">\n <p class=\"p-small t-transp\">Offer is over</p>\n </div>\n\n <div v-if=\"!isTimeOver\" class=\"flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-nano bg-blur-small bg-white-transp-5 radius-small\">\n \t<p class=\"p-big\">{{ days }}</p>\n \t<p class=\"p-small t-transp\">Days</p>\n </div>\n <div v-if=\"!isTimeOver\" class=\"flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-nano bg-blur-small bg-white-transp-5 radius-small\">\n \t<p class=\"p-big\">{{ hours }}</p>\n \t<p class=\"p-small t-transp\">hours</p>\n </div>\n <div v-if=\"!isTimeOver\" class=\"flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-nano bg-blur-small bg-white-transp-5 radius-small\">\n \t<p class=\"p-big\">{{ minutes }}</p>\n \t<p class=\"p-small t-transp\">minutes</p>\n </div>\n <div v-if=\"!isTimeOver\" class=\"flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-nano bg-blur-small bg-white-transp-5 radius-small\">\n \t<p class=\"p-big\">{{ seconds }}</p>\n \t<p class=\"p-small t-transp\">seconds</p>\n </div>\n </div>\n</template>\n\n<script setup>\nimport { ref, onMounted, onBeforeUnmount } from 'vue';\n\nconst props = defineProps([\n 'date',\n])\n\nconst targetDate = new Date(props.date).getTime();\nconst currentDate = ref(new Date().getTime());\n\nlet interval;\n\nconst days = ref(0);\nconst hours = ref(0);\nconst minutes = ref(0);\nconst seconds = ref(0);\n\nconst isTimeOver = ref(false);\n\nconst calculateTime = () => {\n const timeDifference = targetDate - currentDate.value;\n\n if (timeDifference <= 0) {\n // Target date has passed, set all values to 0\n days.value = 0;\n hours.value = 0;\n minutes.value = 0;\n seconds.value = 0;\n isTimeOver.value = true\n clearInterval(interval);\n } else {\n days.value = Math.floor(timeDifference / (1000 * 60 * 60 * 24));\n hours.value = Math.floor((timeDifference % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));\n minutes.value = Math.floor((timeDifference % (1000 * 60 * 60)) / (1000 * 60));\n seconds.value = Math.floor((timeDifference % (1000 * 60)) / 1000);\n }\n};\n\ncalculateTime();\n\nonMounted(() => {\n interval = setInterval(() => {\n currentDate.value = new Date().getTime();\n calculateTime();\n }, 1000);\n});\n\nonBeforeUnmount(() => {\n clearInterval(interval);\n});\n</script>\n"],"names":["ref","onMounted","onBeforeUnmount"],"mappings":"
|
1
|
+
{"version":3,"file":"Countdown.vue.cjs","sources":["../../../../../src/components/Countdown/Countdown.vue"],"sourcesContent":["<template>\n <div class=\"gap-thin flex-nowrap flex flex-center\">\n <div v-if=\"isTimeOver\" class=\"flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-medium bg-blur-small bg-white-transp-5 radius-small\">\n <p class=\"p-small t-transp\">Offer is over</p>\n </div>\n\n <div v-if=\"!isTimeOver\" class=\"flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-nano bg-blur-small bg-white-transp-5 radius-small\">\n \t<p class=\"p-big\">{{ days }}</p>\n \t<p class=\"p-small t-transp\">Days</p>\n </div>\n <div v-if=\"!isTimeOver\" class=\"flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-nano bg-blur-small bg-white-transp-5 radius-small\">\n \t<p class=\"p-big\">{{ hours }}</p>\n \t<p class=\"p-small t-transp\">hours</p>\n </div>\n <div v-if=\"!isTimeOver\" class=\"flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-nano bg-blur-small bg-white-transp-5 radius-small\">\n \t<p class=\"p-big\">{{ minutes }}</p>\n \t<p class=\"p-small t-transp\">minutes</p>\n </div>\n <div v-if=\"!isTimeOver\" class=\"flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-nano bg-blur-small bg-white-transp-5 radius-small\">\n \t<p class=\"p-big\">{{ seconds }}</p>\n \t<p class=\"p-small t-transp\">seconds</p>\n </div>\n </div>\n</template>\n\n<script setup>\nimport { ref, onMounted, onBeforeUnmount } from 'vue';\n\nconst props = defineProps([\n 'date',\n])\n\nconst targetDate = new Date(props.date).getTime();\nconst currentDate = ref(new Date().getTime());\n\nlet interval;\n\nconst days = ref(0);\nconst hours = ref(0);\nconst minutes = ref(0);\nconst seconds = ref(0);\n\nconst isTimeOver = ref(false);\n\nconst calculateTime = () => {\n const timeDifference = targetDate - currentDate.value;\n\n if (timeDifference <= 0) {\n // Target date has passed, set all values to 0\n days.value = 0;\n hours.value = 0;\n minutes.value = 0;\n seconds.value = 0;\n isTimeOver.value = true\n clearInterval(interval);\n } else {\n days.value = Math.floor(timeDifference / (1000 * 60 * 60 * 24));\n hours.value = Math.floor((timeDifference % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));\n minutes.value = Math.floor((timeDifference % (1000 * 60 * 60)) / (1000 * 60));\n seconds.value = Math.floor((timeDifference % (1000 * 60)) / 1000);\n }\n};\n\ncalculateTime();\n\nonMounted(() => {\n interval = setInterval(() => {\n currentDate.value = new Date().getTime();\n calculateTime();\n }, 1000);\n});\n\nonBeforeUnmount(() => {\n clearInterval(interval);\n});\n</script>\n"],"names":["ref","onMounted","onBeforeUnmount"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BA,UAAM,QAAQ;AAId,UAAM,aAAa,IAAI,KAAK,MAAM,IAAI,EAAE,QAAO;AAC/C,UAAM,cAAcA,IAAAA,KAAI,oBAAI,KAAI,GAAG,QAAS,CAAA;AAE5C,QAAI;AAEJ,UAAM,OAAOA,IAAAA,IAAI,CAAC;AAClB,UAAM,QAAQA,IAAAA,IAAI,CAAC;AACnB,UAAM,UAAUA,IAAAA,IAAI,CAAC;AACrB,UAAM,UAAUA,IAAAA,IAAI,CAAC;AAErB,UAAM,aAAaA,IAAAA,IAAI,KAAK;AAE5B,UAAM,gBAAgB,MAAM;AAC1B,YAAM,iBAAiB,aAAa,YAAY;AAEhD,UAAI,kBAAkB,GAAG;AAEvB,aAAK,QAAQ;AACb,cAAM,QAAQ;AACd,gBAAQ,QAAQ;AAChB,gBAAQ,QAAQ;AAChB,mBAAW,QAAQ;AACnB,sBAAc,QAAQ;AAAA,MAC1B,OAAS;AACL,aAAK,QAAQ,KAAK,MAAM,kBAAkB,MAAO,KAAK,KAAK,GAAG;AAC9D,cAAM,QAAQ,KAAK,MAAO,kBAAkB,MAAO,KAAK,KAAK,OAAQ,MAAO,KAAK,GAAG;AACpF,gBAAQ,QAAQ,KAAK,MAAO,kBAAkB,MAAO,KAAK,OAAQ,MAAO,GAAG;AAC5E,gBAAQ,QAAQ,KAAK,MAAO,kBAAkB,MAAO,MAAO,GAAI;AAAA,MACjE;AAAA,IACH;AAEA;AAEAC,QAAAA,UAAU,MAAM;AACd,iBAAW,YAAY,MAAM;AAC3B,oBAAY,SAAQ,oBAAI,KAAM,GAAC,QAAO;AACtC;MACD,GAAE,GAAI;AAAA,IACT,CAAC;AAEDC,QAAAA,gBAAgB,MAAM;AACpB,oBAAc,QAAQ;AAAA,IACxB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,37 +1,29 @@
|
|
1
|
-
import { ref, onMounted, onBeforeUnmount, openBlock, createElementBlock,
|
1
|
+
import { ref, onMounted, onBeforeUnmount, openBlock, createElementBlock, createElementVNode, createCommentVNode, toDisplayString } from "vue";
|
2
2
|
const _hoisted_1 = { class: "gap-thin flex-nowrap flex flex-center" };
|
3
3
|
const _hoisted_2 = {
|
4
4
|
key: 0,
|
5
5
|
class: "flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-medium bg-blur-small bg-white-transp-5 radius-small"
|
6
6
|
};
|
7
|
-
const _hoisted_3 =
|
8
|
-
const _hoisted_4 = [
|
9
|
-
_hoisted_3
|
10
|
-
];
|
11
|
-
const _hoisted_5 = {
|
7
|
+
const _hoisted_3 = {
|
12
8
|
key: 1,
|
13
9
|
class: "flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-nano bg-blur-small bg-white-transp-5 radius-small"
|
14
10
|
};
|
15
|
-
const
|
16
|
-
const
|
17
|
-
const _hoisted_8 = {
|
11
|
+
const _hoisted_4 = { class: "p-big" };
|
12
|
+
const _hoisted_5 = {
|
18
13
|
key: 2,
|
19
14
|
class: "flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-nano bg-blur-small bg-white-transp-5 radius-small"
|
20
15
|
};
|
21
|
-
const
|
22
|
-
const
|
23
|
-
const _hoisted_11 = {
|
16
|
+
const _hoisted_6 = { class: "p-big" };
|
17
|
+
const _hoisted_7 = {
|
24
18
|
key: 3,
|
25
19
|
class: "flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-nano bg-blur-small bg-white-transp-5 radius-small"
|
26
20
|
};
|
27
|
-
const
|
28
|
-
const
|
29
|
-
const _hoisted_14 = {
|
21
|
+
const _hoisted_8 = { class: "p-big" };
|
22
|
+
const _hoisted_9 = {
|
30
23
|
key: 4,
|
31
24
|
class: "flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-nano bg-blur-small bg-white-transp-5 radius-small"
|
32
25
|
};
|
33
|
-
const
|
34
|
-
const _hoisted_16 = /* @__PURE__ */ createElementVNode("p", { class: "p-small t-transp" }, "seconds", -1);
|
26
|
+
const _hoisted_10 = { class: "p-big" };
|
35
27
|
const _sfc_main = {
|
36
28
|
__name: "Countdown",
|
37
29
|
props: [
|
@@ -75,22 +67,24 @@ const _sfc_main = {
|
|
75
67
|
});
|
76
68
|
return (_ctx, _cache) => {
|
77
69
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
78
|
-
isTimeOver.value ? (openBlock(), createElementBlock("div", _hoisted_2,
|
79
|
-
|
80
|
-
|
81
|
-
|
70
|
+
isTimeOver.value ? (openBlock(), createElementBlock("div", _hoisted_2, _cache[0] || (_cache[0] = [
|
71
|
+
createElementVNode("p", { class: "p-small t-transp" }, "Offer is over", -1)
|
72
|
+
]))) : createCommentVNode("", true),
|
73
|
+
!isTimeOver.value ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
74
|
+
createElementVNode("p", _hoisted_4, toDisplayString(days.value), 1),
|
75
|
+
_cache[1] || (_cache[1] = createElementVNode("p", { class: "p-small t-transp" }, "Days", -1))
|
82
76
|
])) : createCommentVNode("", true),
|
83
|
-
!isTimeOver.value ? (openBlock(), createElementBlock("div",
|
84
|
-
createElementVNode("p",
|
85
|
-
|
77
|
+
!isTimeOver.value ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
78
|
+
createElementVNode("p", _hoisted_6, toDisplayString(hours.value), 1),
|
79
|
+
_cache[2] || (_cache[2] = createElementVNode("p", { class: "p-small t-transp" }, "hours", -1))
|
86
80
|
])) : createCommentVNode("", true),
|
87
|
-
!isTimeOver.value ? (openBlock(), createElementBlock("div",
|
88
|
-
createElementVNode("p",
|
89
|
-
|
81
|
+
!isTimeOver.value ? (openBlock(), createElementBlock("div", _hoisted_7, [
|
82
|
+
createElementVNode("p", _hoisted_8, toDisplayString(minutes.value), 1),
|
83
|
+
_cache[3] || (_cache[3] = createElementVNode("p", { class: "p-small t-transp" }, "minutes", -1))
|
90
84
|
])) : createCommentVNode("", true),
|
91
|
-
!isTimeOver.value ? (openBlock(), createElementBlock("div",
|
92
|
-
createElementVNode("p",
|
93
|
-
|
85
|
+
!isTimeOver.value ? (openBlock(), createElementBlock("div", _hoisted_9, [
|
86
|
+
createElementVNode("p", _hoisted_10, toDisplayString(seconds.value), 1),
|
87
|
+
_cache[4] || (_cache[4] = createElementVNode("p", { class: "p-small t-transp" }, "seconds", -1))
|
94
88
|
])) : createCommentVNode("", true)
|
95
89
|
]);
|
96
90
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Countdown.vue.js","sources":["../../../../../src/components/Countdown/Countdown.vue"],"sourcesContent":["<template>\n <div class=\"gap-thin flex-nowrap flex flex-center\">\n <div v-if=\"isTimeOver\" class=\"flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-medium bg-blur-small bg-white-transp-5 radius-small\">\n <p class=\"p-small t-transp\">Offer is over</p>\n </div>\n\n <div v-if=\"!isTimeOver\" class=\"flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-nano bg-blur-small bg-white-transp-5 radius-small\">\n \t<p class=\"p-big\">{{ days }}</p>\n \t<p class=\"p-small t-transp\">Days</p>\n </div>\n <div v-if=\"!isTimeOver\" class=\"flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-nano bg-blur-small bg-white-transp-5 radius-small\">\n \t<p class=\"p-big\">{{ hours }}</p>\n \t<p class=\"p-small t-transp\">hours</p>\n </div>\n <div v-if=\"!isTimeOver\" class=\"flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-nano bg-blur-small bg-white-transp-5 radius-small\">\n \t<p class=\"p-big\">{{ minutes }}</p>\n \t<p class=\"p-small t-transp\">minutes</p>\n </div>\n <div v-if=\"!isTimeOver\" class=\"flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-nano bg-blur-small bg-white-transp-5 radius-small\">\n \t<p class=\"p-big\">{{ seconds }}</p>\n \t<p class=\"p-small t-transp\">seconds</p>\n </div>\n </div>\n</template>\n\n<script setup>\nimport { ref, onMounted, onBeforeUnmount } from 'vue';\n\nconst props = defineProps([\n 'date',\n])\n\nconst targetDate = new Date(props.date).getTime();\nconst currentDate = ref(new Date().getTime());\n\nlet interval;\n\nconst days = ref(0);\nconst hours = ref(0);\nconst minutes = ref(0);\nconst seconds = ref(0);\n\nconst isTimeOver = ref(false);\n\nconst calculateTime = () => {\n const timeDifference = targetDate - currentDate.value;\n\n if (timeDifference <= 0) {\n // Target date has passed, set all values to 0\n days.value = 0;\n hours.value = 0;\n minutes.value = 0;\n seconds.value = 0;\n isTimeOver.value = true\n clearInterval(interval);\n } else {\n days.value = Math.floor(timeDifference / (1000 * 60 * 60 * 24));\n hours.value = Math.floor((timeDifference % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));\n minutes.value = Math.floor((timeDifference % (1000 * 60 * 60)) / (1000 * 60));\n seconds.value = Math.floor((timeDifference % (1000 * 60)) / 1000);\n }\n};\n\ncalculateTime();\n\nonMounted(() => {\n interval = setInterval(() => {\n currentDate.value = new Date().getTime();\n calculateTime();\n }, 1000);\n});\n\nonBeforeUnmount(() => {\n clearInterval(interval);\n});\n</script>\n"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"Countdown.vue.js","sources":["../../../../../src/components/Countdown/Countdown.vue"],"sourcesContent":["<template>\n <div class=\"gap-thin flex-nowrap flex flex-center\">\n <div v-if=\"isTimeOver\" class=\"flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-medium bg-blur-small bg-white-transp-5 radius-small\">\n <p class=\"p-small t-transp\">Offer is over</p>\n </div>\n\n <div v-if=\"!isTimeOver\" class=\"flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-nano bg-blur-small bg-white-transp-5 radius-small\">\n \t<p class=\"p-big\">{{ days }}</p>\n \t<p class=\"p-small t-transp\">Days</p>\n </div>\n <div v-if=\"!isTimeOver\" class=\"flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-nano bg-blur-small bg-white-transp-5 radius-small\">\n \t<p class=\"p-big\">{{ hours }}</p>\n \t<p class=\"p-small t-transp\">hours</p>\n </div>\n <div v-if=\"!isTimeOver\" class=\"flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-nano bg-blur-small bg-white-transp-5 radius-small\">\n \t<p class=\"p-big\">{{ minutes }}</p>\n \t<p class=\"p-small t-transp\">minutes</p>\n </div>\n <div v-if=\"!isTimeOver\" class=\"flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto pd-nano bg-blur-small bg-white-transp-5 radius-small\">\n \t<p class=\"p-big\">{{ seconds }}</p>\n \t<p class=\"p-small t-transp\">seconds</p>\n </div>\n </div>\n</template>\n\n<script setup>\nimport { ref, onMounted, onBeforeUnmount } from 'vue';\n\nconst props = defineProps([\n 'date',\n])\n\nconst targetDate = new Date(props.date).getTime();\nconst currentDate = ref(new Date().getTime());\n\nlet interval;\n\nconst days = ref(0);\nconst hours = ref(0);\nconst minutes = ref(0);\nconst seconds = ref(0);\n\nconst isTimeOver = ref(false);\n\nconst calculateTime = () => {\n const timeDifference = targetDate - currentDate.value;\n\n if (timeDifference <= 0) {\n // Target date has passed, set all values to 0\n days.value = 0;\n hours.value = 0;\n minutes.value = 0;\n seconds.value = 0;\n isTimeOver.value = true\n clearInterval(interval);\n } else {\n days.value = Math.floor(timeDifference / (1000 * 60 * 60 * 24));\n hours.value = Math.floor((timeDifference % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));\n minutes.value = Math.floor((timeDifference % (1000 * 60 * 60)) / (1000 * 60));\n seconds.value = Math.floor((timeDifference % (1000 * 60)) / 1000);\n }\n};\n\ncalculateTime();\n\nonMounted(() => {\n interval = setInterval(() => {\n currentDate.value = new Date().getTime();\n calculateTime();\n }, 1000);\n});\n\nonBeforeUnmount(() => {\n clearInterval(interval);\n});\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BA,UAAM,QAAQ;AAId,UAAM,aAAa,IAAI,KAAK,MAAM,IAAI,EAAE,QAAO;AAC/C,UAAM,cAAc,KAAI,oBAAI,KAAI,GAAG,QAAS,CAAA;AAE5C,QAAI;AAEJ,UAAM,OAAO,IAAI,CAAC;AAClB,UAAM,QAAQ,IAAI,CAAC;AACnB,UAAM,UAAU,IAAI,CAAC;AACrB,UAAM,UAAU,IAAI,CAAC;AAErB,UAAM,aAAa,IAAI,KAAK;AAE5B,UAAM,gBAAgB,MAAM;AAC1B,YAAM,iBAAiB,aAAa,YAAY;AAEhD,UAAI,kBAAkB,GAAG;AAEvB,aAAK,QAAQ;AACb,cAAM,QAAQ;AACd,gBAAQ,QAAQ;AAChB,gBAAQ,QAAQ;AAChB,mBAAW,QAAQ;AACnB,sBAAc,QAAQ;AAAA,MAC1B,OAAS;AACL,aAAK,QAAQ,KAAK,MAAM,kBAAkB,MAAO,KAAK,KAAK,GAAG;AAC9D,cAAM,QAAQ,KAAK,MAAO,kBAAkB,MAAO,KAAK,KAAK,OAAQ,MAAO,KAAK,GAAG;AACpF,gBAAQ,QAAQ,KAAK,MAAO,kBAAkB,MAAO,KAAK,OAAQ,MAAO,GAAG;AAC5E,gBAAQ,QAAQ,KAAK,MAAO,kBAAkB,MAAO,MAAO,GAAI;AAAA,MACjE;AAAA,IACH;AAEA;AAEA,cAAU,MAAM;AACd,iBAAW,YAAY,MAAM;AAC3B,oBAAY,SAAQ,oBAAI,KAAM,GAAC,QAAO;AACtC;MACD,GAAE,GAAI;AAAA,IACT,CAAC;AAED,oBAAgB,MAAM;AACpB,oBAAc,QAAQ;AAAA,IACxB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -4,7 +4,7 @@ const vue = require("vue");
|
|
4
4
|
const SkeletonEvent = require("../../modules/icons/skeletons/SkeletonEvent.vue.cjs");
|
5
5
|
const Loader = require("../Loader/Loader.vue2.cjs");
|
6
6
|
const EmptyState = require("../EmptyState/EmptyState.vue.cjs");
|
7
|
-
const Dropdown = require("../Dropdown/Dropdown.
|
7
|
+
const Dropdown = require("../Dropdown/Dropdown.vue.cjs");
|
8
8
|
const Calendar = require("../DatePicker/Calendar.vue2.cjs");
|
9
9
|
const BottomSheet = require("../BottomSheet/BottomSheet.vue.cjs");
|
10
10
|
const BlockSearch = require("../../modules/globals/views/components/blocks/BlockSearch.vue.cjs");
|
@@ -2,7 +2,7 @@ import { mergeModels, useModel, shallowRef, ref, watch, onMounted, onUnmounted,
|
|
2
2
|
import SkeletonEvent from "../../modules/icons/skeletons/SkeletonEvent.vue.js";
|
3
3
|
import Loader from "../Loader/Loader.vue2.js";
|
4
4
|
import _sfc_main$a from "../EmptyState/EmptyState.vue.js";
|
5
|
-
import _sfc_main$5 from "../Dropdown/Dropdown.
|
5
|
+
import _sfc_main$5 from "../Dropdown/Dropdown.vue.js";
|
6
6
|
import _sfc_main$7 from "../DatePicker/Calendar.vue2.js";
|
7
7
|
import _sfc_main$3 from "../BottomSheet/BottomSheet.vue.js";
|
8
8
|
import _sfc_main$1 from "../../modules/globals/views/components/blocks/BlockSearch.vue.js";
|
@@ -3,9 +3,8 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
3
3
|
const vue = require("vue");
|
4
4
|
const FieldTags = require("./FieldTags.vue.cjs");
|
5
5
|
;/* empty css */
|
6
|
-
const _hoisted_1 =
|
7
|
-
const _hoisted_2 =
|
8
|
-
const _hoisted_3 = { key: 1 };
|
6
|
+
const _hoisted_1 = ["onClick"];
|
7
|
+
const _hoisted_2 = { key: 1 };
|
9
8
|
const _sfc_main = {
|
10
9
|
__name: "BlockTags",
|
11
10
|
props: {
|
@@ -71,13 +70,13 @@ const _sfc_main = {
|
|
71
70
|
onTagsChanged: handleTagsChanged,
|
72
71
|
class: "mn-b-thin bg-light radius-medium pd-small"
|
73
72
|
}, null, 8, ["modelValue", "tags", "autocomplete-items"]),
|
74
|
-
|
73
|
+
_cache[1] || (_cache[1] = vue.createElementVNode("p", { class: "p-small mn-b-thin" }, "Suggested:", -1)),
|
75
74
|
filteredSuggestedItems.value.length > 0 ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(filteredSuggestedItems.value, (tag2, index) => {
|
76
75
|
return vue.openBlock(), vue.createElementBlock("span", {
|
77
76
|
onClick: ($event) => addTag(tag2),
|
78
77
|
class: vue.normalizeClass(["cursor-pointer t-medium ti-tag-toDefactor", { "mn-r-micro": index !== filteredSuggestedItems.value.length - 1 }])
|
79
|
-
}, vue.toDisplayString(tag2.text), 11,
|
80
|
-
}), 256)) : (vue.openBlock(), vue.createElementBlock("span",
|
78
|
+
}, vue.toDisplayString(tag2.text), 11, _hoisted_1);
|
79
|
+
}), 256)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, "You added all suggested tags"))
|
81
80
|
]);
|
82
81
|
};
|
83
82
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"BlockTags.vue.cjs","sources":["../../../../../src/components/FieldTags/BlockTags.vue"],"sourcesContent":["<template>\n <div>\n <FieldTags\n v-model=\"tag\"\n :tags=\"selectedTags\"\n :autocomplete-items=\"filteredItems\"\n :add-on-key=\"[13, ':', ';', ',']\"\n :save-on-key=\"[13, ':', ';', ',']\"\n :separators=\"[';', ',']\"\n :max-tags=\"20\"\n :maxlength=\"20\"\n :placeholder=\"'Please add tags'\"\n :add-from-paste=\"true\"\n :allow-edit-tags=\"true\"\n @tags-changed=\"handleTagsChanged\"\n class=\"mn-b-thin bg-light radius-medium pd-small\"\n />\n\n <p class=\"p-small mn-b-thin\">Suggested:</p>\n\n <span \n v-if=\"filteredSuggestedItems.length > 0\" \n v-for=\"(tag,index) in filteredSuggestedItems\" \n @click=\"addTag(tag)\"\n class=\"cursor-pointer t-medium ti-tag-toDefactor\"\n :class=\"{'mn-r-micro':index !== filteredSuggestedItems.length - 1}\"\n >\n {{ tag.text }}\n </span>\n <span v-else>You added all suggested tags</span> \n </div>\n</template>\n\n<script setup>\nimport FieldTags from '@pf/src/components/FieldTags/FieldTags.vue'\nimport { ref, computed, onMounted } from 'vue';\n\nconst emits = defineEmits(['tags-changed']);\nconst props = defineProps({\n tags: {\n type: Array\n },\n tagsSuggested: {\n type: Array,\n default: [\n { text: 'story' },\n { text: 'news' },\n { text: 'guide' },\n { text: 'discussion' },\n { text: 'photos' },\n ]\n }\n});\n\nconst tag = ref('');\n\nconst selectedTags = ref([]);\n\nconst autocompleteItems = ref(props.tagsSuggested);\n\nif (props.tags) selectedTags.value = props.tags.map(tag => ({text: tag}))\n \n\nconst filteredItems = computed(() => {\n return autocompleteItems.value.filter(i => {\n return i.text.toLowerCase().includes(tag.value.toLowerCase());\n });\n});\n\nconst filteredSuggestedItems = computed(() => {\n return autocompleteItems.value.filter(item => {\n return !selectedTags.value.some(tag => tag.text === item.text);\n });\n })\n\nfunction addTag (tag) {\n selectedTags.value.push(tag)\n emits('tags-changed', selectedTags.value.map(tag => { return tag.text }));\n}\n\nfunction handleTagsChanged(newTags) {\n selectedTags.value = newTags;\n emits('tags-changed', selectedTags.value.map(tag => { return tag.text }));\n}\n\n\n\n</script>\n\n<style>\n .ti-tag-toDefactor {\n background-color: rgb(var(--main));\n color: rgb(var(--black));\n border-radius: 4rem;\n padding: 1px 8px 2px;\n margin: 2px;\n font-size: .85em;\n }\n</style>"],"names":["ref","tag","computed"],"mappings":"
|
1
|
+
{"version":3,"file":"BlockTags.vue.cjs","sources":["../../../../../src/components/FieldTags/BlockTags.vue"],"sourcesContent":["<template>\n <div>\n <FieldTags\n v-model=\"tag\"\n :tags=\"selectedTags\"\n :autocomplete-items=\"filteredItems\"\n :add-on-key=\"[13, ':', ';', ',']\"\n :save-on-key=\"[13, ':', ';', ',']\"\n :separators=\"[';', ',']\"\n :max-tags=\"20\"\n :maxlength=\"20\"\n :placeholder=\"'Please add tags'\"\n :add-from-paste=\"true\"\n :allow-edit-tags=\"true\"\n @tags-changed=\"handleTagsChanged\"\n class=\"mn-b-thin bg-light radius-medium pd-small\"\n />\n\n <p class=\"p-small mn-b-thin\">Suggested:</p>\n\n <span \n v-if=\"filteredSuggestedItems.length > 0\" \n v-for=\"(tag,index) in filteredSuggestedItems\" \n @click=\"addTag(tag)\"\n class=\"cursor-pointer t-medium ti-tag-toDefactor\"\n :class=\"{'mn-r-micro':index !== filteredSuggestedItems.length - 1}\"\n >\n {{ tag.text }}\n </span>\n <span v-else>You added all suggested tags</span> \n </div>\n</template>\n\n<script setup>\nimport FieldTags from '@pf/src/components/FieldTags/FieldTags.vue'\nimport { ref, computed, onMounted } from 'vue';\n\nconst emits = defineEmits(['tags-changed']);\nconst props = defineProps({\n tags: {\n type: Array\n },\n tagsSuggested: {\n type: Array,\n default: [\n { text: 'story' },\n { text: 'news' },\n { text: 'guide' },\n { text: 'discussion' },\n { text: 'photos' },\n ]\n }\n});\n\nconst tag = ref('');\n\nconst selectedTags = ref([]);\n\nconst autocompleteItems = ref(props.tagsSuggested);\n\nif (props.tags) selectedTags.value = props.tags.map(tag => ({text: tag}))\n \n\nconst filteredItems = computed(() => {\n return autocompleteItems.value.filter(i => {\n return i.text.toLowerCase().includes(tag.value.toLowerCase());\n });\n});\n\nconst filteredSuggestedItems = computed(() => {\n return autocompleteItems.value.filter(item => {\n return !selectedTags.value.some(tag => tag.text === item.text);\n });\n })\n\nfunction addTag (tag) {\n selectedTags.value.push(tag)\n emits('tags-changed', selectedTags.value.map(tag => { return tag.text }));\n}\n\nfunction handleTagsChanged(newTags) {\n selectedTags.value = newTags;\n emits('tags-changed', selectedTags.value.map(tag => { return tag.text }));\n}\n\n\n\n</script>\n\n<style>\n .ti-tag-toDefactor {\n background-color: rgb(var(--main));\n color: rgb(var(--black));\n border-radius: 4rem;\n padding: 1px 8px 2px;\n margin: 2px;\n font-size: .85em;\n }\n</style>"],"names":["ref","tag","computed"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAqCA,UAAM,QAAQ;AACd,UAAM,QAAQ;AAgBd,UAAM,MAAMA,IAAAA,IAAI,EAAE;AAElB,UAAM,eAAeA,IAAAA,IAAI,CAAA,CAAE;AAE3B,UAAM,oBAAoBA,IAAG,IAAC,MAAM,aAAa;AAEjD,QAAI,MAAM,KAAM,cAAa,QAAQ,MAAM,KAAK,IAAI,CAAAC,UAAQ,EAAC,MAAMA,KAAG,EAAE;AAGxE,UAAM,gBAAgBC,IAAQ,SAAC,MAAM;AACnC,aAAO,kBAAkB,MAAM,OAAO,OAAK;AACzC,eAAO,EAAE,KAAK,YAAa,EAAC,SAAS,IAAI,MAAM,YAAW,CAAE;AAAA,MAChE,CAAG;AAAA,IACH,CAAC;AAED,UAAM,yBAAyBA,IAAQ,SAAC,MAAM;AAC1C,aAAO,kBAAkB,MAAM,OAAO,UAAQ;AAC5C,eAAO,CAAC,aAAa,MAAM,KAAK,CAAAD,SAAOA,KAAI,SAAS,KAAK,IAAI;AAAA,MACnE,CAAK;AAAA,IACL,CAAG;AAEH,aAAS,OAAQA,MAAK;AACpB,mBAAa,MAAM,KAAKA,IAAG;AAC3B,YAAM,gBAAgB,aAAa,MAAM,IAAI,CAAAA,SAAO;AAAE,eAAOA,KAAI;AAAA,MAAM,CAAA,CAAC;AAAA,IAC1E;AAEA,aAAS,kBAAkB,SAAS;AAClC,mBAAa,QAAQ;AACrB,YAAM,gBAAgB,aAAa,MAAM,IAAI,CAAAA,SAAO;AAAE,eAAOA,KAAI;AAAA,MAAM,CAAA,CAAC;AAAA,IAC1E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,9 +1,8 @@
|
|
1
|
-
import { ref, computed, openBlock, createElementBlock, createVNode, Fragment, renderList, normalizeClass, toDisplayString
|
1
|
+
import { ref, computed, openBlock, createElementBlock, createVNode, createElementVNode, Fragment, renderList, normalizeClass, toDisplayString } from "vue";
|
2
2
|
import FieldTags from "./FieldTags.vue.js";
|
3
3
|
/* empty css */
|
4
|
-
const _hoisted_1 =
|
5
|
-
const _hoisted_2 =
|
6
|
-
const _hoisted_3 = { key: 1 };
|
4
|
+
const _hoisted_1 = ["onClick"];
|
5
|
+
const _hoisted_2 = { key: 1 };
|
7
6
|
const _sfc_main = {
|
8
7
|
__name: "BlockTags",
|
9
8
|
props: {
|
@@ -69,13 +68,13 @@ const _sfc_main = {
|
|
69
68
|
onTagsChanged: handleTagsChanged,
|
70
69
|
class: "mn-b-thin bg-light radius-medium pd-small"
|
71
70
|
}, null, 8, ["modelValue", "tags", "autocomplete-items"]),
|
72
|
-
|
71
|
+
_cache[1] || (_cache[1] = createElementVNode("p", { class: "p-small mn-b-thin" }, "Suggested:", -1)),
|
73
72
|
filteredSuggestedItems.value.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(filteredSuggestedItems.value, (tag2, index) => {
|
74
73
|
return openBlock(), createElementBlock("span", {
|
75
74
|
onClick: ($event) => addTag(tag2),
|
76
75
|
class: normalizeClass(["cursor-pointer t-medium ti-tag-toDefactor", { "mn-r-micro": index !== filteredSuggestedItems.value.length - 1 }])
|
77
|
-
}, toDisplayString(tag2.text), 11,
|
78
|
-
}), 256)) : (openBlock(), createElementBlock("span",
|
76
|
+
}, toDisplayString(tag2.text), 11, _hoisted_1);
|
77
|
+
}), 256)) : (openBlock(), createElementBlock("span", _hoisted_2, "You added all suggested tags"))
|
79
78
|
]);
|
80
79
|
};
|
81
80
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"BlockTags.vue.js","sources":["../../../../../src/components/FieldTags/BlockTags.vue"],"sourcesContent":["<template>\n <div>\n <FieldTags\n v-model=\"tag\"\n :tags=\"selectedTags\"\n :autocomplete-items=\"filteredItems\"\n :add-on-key=\"[13, ':', ';', ',']\"\n :save-on-key=\"[13, ':', ';', ',']\"\n :separators=\"[';', ',']\"\n :max-tags=\"20\"\n :maxlength=\"20\"\n :placeholder=\"'Please add tags'\"\n :add-from-paste=\"true\"\n :allow-edit-tags=\"true\"\n @tags-changed=\"handleTagsChanged\"\n class=\"mn-b-thin bg-light radius-medium pd-small\"\n />\n\n <p class=\"p-small mn-b-thin\">Suggested:</p>\n\n <span \n v-if=\"filteredSuggestedItems.length > 0\" \n v-for=\"(tag,index) in filteredSuggestedItems\" \n @click=\"addTag(tag)\"\n class=\"cursor-pointer t-medium ti-tag-toDefactor\"\n :class=\"{'mn-r-micro':index !== filteredSuggestedItems.length - 1}\"\n >\n {{ tag.text }}\n </span>\n <span v-else>You added all suggested tags</span> \n </div>\n</template>\n\n<script setup>\nimport FieldTags from '@pf/src/components/FieldTags/FieldTags.vue'\nimport { ref, computed, onMounted } from 'vue';\n\nconst emits = defineEmits(['tags-changed']);\nconst props = defineProps({\n tags: {\n type: Array\n },\n tagsSuggested: {\n type: Array,\n default: [\n { text: 'story' },\n { text: 'news' },\n { text: 'guide' },\n { text: 'discussion' },\n { text: 'photos' },\n ]\n }\n});\n\nconst tag = ref('');\n\nconst selectedTags = ref([]);\n\nconst autocompleteItems = ref(props.tagsSuggested);\n\nif (props.tags) selectedTags.value = props.tags.map(tag => ({text: tag}))\n \n\nconst filteredItems = computed(() => {\n return autocompleteItems.value.filter(i => {\n return i.text.toLowerCase().includes(tag.value.toLowerCase());\n });\n});\n\nconst filteredSuggestedItems = computed(() => {\n return autocompleteItems.value.filter(item => {\n return !selectedTags.value.some(tag => tag.text === item.text);\n });\n })\n\nfunction addTag (tag) {\n selectedTags.value.push(tag)\n emits('tags-changed', selectedTags.value.map(tag => { return tag.text }));\n}\n\nfunction handleTagsChanged(newTags) {\n selectedTags.value = newTags;\n emits('tags-changed', selectedTags.value.map(tag => { return tag.text }));\n}\n\n\n\n</script>\n\n<style>\n .ti-tag-toDefactor {\n background-color: rgb(var(--main));\n color: rgb(var(--black));\n border-radius: 4rem;\n padding: 1px 8px 2px;\n margin: 2px;\n font-size: .85em;\n }\n</style>"],"names":["tag"],"mappings":"
|
1
|
+
{"version":3,"file":"BlockTags.vue.js","sources":["../../../../../src/components/FieldTags/BlockTags.vue"],"sourcesContent":["<template>\n <div>\n <FieldTags\n v-model=\"tag\"\n :tags=\"selectedTags\"\n :autocomplete-items=\"filteredItems\"\n :add-on-key=\"[13, ':', ';', ',']\"\n :save-on-key=\"[13, ':', ';', ',']\"\n :separators=\"[';', ',']\"\n :max-tags=\"20\"\n :maxlength=\"20\"\n :placeholder=\"'Please add tags'\"\n :add-from-paste=\"true\"\n :allow-edit-tags=\"true\"\n @tags-changed=\"handleTagsChanged\"\n class=\"mn-b-thin bg-light radius-medium pd-small\"\n />\n\n <p class=\"p-small mn-b-thin\">Suggested:</p>\n\n <span \n v-if=\"filteredSuggestedItems.length > 0\" \n v-for=\"(tag,index) in filteredSuggestedItems\" \n @click=\"addTag(tag)\"\n class=\"cursor-pointer t-medium ti-tag-toDefactor\"\n :class=\"{'mn-r-micro':index !== filteredSuggestedItems.length - 1}\"\n >\n {{ tag.text }}\n </span>\n <span v-else>You added all suggested tags</span> \n </div>\n</template>\n\n<script setup>\nimport FieldTags from '@pf/src/components/FieldTags/FieldTags.vue'\nimport { ref, computed, onMounted } from 'vue';\n\nconst emits = defineEmits(['tags-changed']);\nconst props = defineProps({\n tags: {\n type: Array\n },\n tagsSuggested: {\n type: Array,\n default: [\n { text: 'story' },\n { text: 'news' },\n { text: 'guide' },\n { text: 'discussion' },\n { text: 'photos' },\n ]\n }\n});\n\nconst tag = ref('');\n\nconst selectedTags = ref([]);\n\nconst autocompleteItems = ref(props.tagsSuggested);\n\nif (props.tags) selectedTags.value = props.tags.map(tag => ({text: tag}))\n \n\nconst filteredItems = computed(() => {\n return autocompleteItems.value.filter(i => {\n return i.text.toLowerCase().includes(tag.value.toLowerCase());\n });\n});\n\nconst filteredSuggestedItems = computed(() => {\n return autocompleteItems.value.filter(item => {\n return !selectedTags.value.some(tag => tag.text === item.text);\n });\n })\n\nfunction addTag (tag) {\n selectedTags.value.push(tag)\n emits('tags-changed', selectedTags.value.map(tag => { return tag.text }));\n}\n\nfunction handleTagsChanged(newTags) {\n selectedTags.value = newTags;\n emits('tags-changed', selectedTags.value.map(tag => { return tag.text }));\n}\n\n\n\n</script>\n\n<style>\n .ti-tag-toDefactor {\n background-color: rgb(var(--main));\n color: rgb(var(--black));\n border-radius: 4rem;\n padding: 1px 8px 2px;\n margin: 2px;\n font-size: .85em;\n }\n</style>"],"names":["tag"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAqCA,UAAM,QAAQ;AACd,UAAM,QAAQ;AAgBd,UAAM,MAAM,IAAI,EAAE;AAElB,UAAM,eAAe,IAAI,CAAA,CAAE;AAE3B,UAAM,oBAAoB,IAAI,MAAM,aAAa;AAEjD,QAAI,MAAM,KAAM,cAAa,QAAQ,MAAM,KAAK,IAAI,CAAAA,UAAQ,EAAC,MAAMA,KAAG,EAAE;AAGxE,UAAM,gBAAgB,SAAS,MAAM;AACnC,aAAO,kBAAkB,MAAM,OAAO,OAAK;AACzC,eAAO,EAAE,KAAK,YAAa,EAAC,SAAS,IAAI,MAAM,YAAW,CAAE;AAAA,MAChE,CAAG;AAAA,IACH,CAAC;AAED,UAAM,yBAAyB,SAAS,MAAM;AAC1C,aAAO,kBAAkB,MAAM,OAAO,UAAQ;AAC5C,eAAO,CAAC,aAAa,MAAM,KAAK,CAAAA,SAAOA,KAAI,SAAS,KAAK,IAAI;AAAA,MACnE,CAAK;AAAA,IACL,CAAG;AAEH,aAAS,OAAQA,MAAK;AACpB,mBAAa,MAAM,KAAKA,IAAG;AAC3B,YAAM,gBAAgB,aAAa,MAAM,IAAI,CAAAA,SAAO;AAAE,eAAOA,KAAI;AAAA,MAAM,CAAA,CAAC;AAAA,IAC1E;AAEA,aAAS,kBAAkB,SAAS;AAClC,mBAAa,QAAQ;AACrB,YAAM,gBAAgB,aAAa,MAAM,IAAI,CAAAA,SAAO;AAAE,eAAOA,KAAI;AAAA,MAAM,CAAA,CAAC;AAAA,IAC1E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|