@ozdao/prometheus-framework 0.2.322 → 0.2.324
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Media-BjSScxrV.js +1 -0
- package/dist/Media-CCVndMgQ.mjs +111 -0
- package/dist/main-BBmjvE8i.js +92 -0
- package/dist/main-BCskq3d2.mjs +13068 -0
- package/dist/main.css +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +9 -11
- package/dist/prometheus-framework/src/components/Button/Button.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue.js +10 -12
- package/dist/prometheus-framework/src/components/Button/Button.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.cjs +37 -9
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.js +37 -9
- package/dist/prometheus-framework/src/components/DatePicker/Calendar.vue2.js.map +1 -1
- package/dist/prometheus-framework/src/components/DatePicker/DatePicker.vue.cjs +27 -18
- package/dist/prometheus-framework/src/components/DatePicker/DatePicker.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/DatePicker/DatePicker.vue.js +27 -18
- package/dist/prometheus-framework/src/components/DatePicker/DatePicker.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/EmptyState/EmptyState.vue.cjs +2 -2
- package/dist/prometheus-framework/src/components/EmptyState/EmptyState.vue.js +2 -2
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +6 -2
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +6 -2
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Media/Media.vue.cjs +154 -0
- package/dist/prometheus-framework/src/components/Media/Media.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/components/Media/Media.vue.js +154 -0
- package/dist/prometheus-framework/src/components/Media/Media.vue.js.map +1 -0
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -4
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +1 -4
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs +68 -37
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.js +69 -38
- package/dist/prometheus-framework/src/components/Slider/Slider.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.cjs +5 -4
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.js +5 -4
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileBlogposts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/backoffice/backoffice.client.cjs +0 -2
- package/dist/prometheus-framework/src/modules/backoffice/backoffice.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/backoffice.client.js +4 -6
- package/dist/prometheus-framework/src/modules/backoffice/backoffice.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +119 -4
- 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 +120 -5
- 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 +112 -163
- 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 +119 -170
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +0 -17
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +2 -19
- package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/community.client.cjs +0 -3
- package/dist/prometheus-framework/src/modules/community/community.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/community.client.js +6 -9
- package/dist/prometheus-framework/src/modules/community/community.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +18 -78
- 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 +23 -83
- 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 +2 -2
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Card.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Card.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +34 -25
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +35 -26
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +9 -4
- 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 +20 -15
- 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 +221 -50
- 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 +225 -54
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/EventsHot.vue.cjs +98 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/EventsHot.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/EventsHot.vue.js +98 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/EventsHot.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.cjs +9 -9
- 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 +9 -9
- package/dist/prometheus-framework/src/modules/events/components/sections/FeaturedEvents.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/events.client.cjs +1 -0
- package/dist/prometheus-framework/src/modules/events/events.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/events.client.js +1 -0
- package/dist/prometheus-framework/src/modules/events/events.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/router/events.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/router/events.js.map +1 -1
- package/dist/prometheus-framework/src/modules/events/store/events.cjs +2 -1
- package/dist/prometheus-framework/src/modules/events/store/events.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/events/store/events.js +2 -1
- package/dist/prometheus-framework/src/modules/events/store/events.js.map +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +20 -6
- 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 +20 -6
- 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/partials/CitySelection.vue.cjs +100 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/CitySelection.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/CitySelection.vue.js +100 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/CitySelection.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +7 -8
- 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 +7 -8
- 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/NavigationBar.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.cjs +2 -7
- 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 +2 -7
- 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/globals/views/mixins/mixins.cjs +30 -14
- package/dist/prometheus-framework/src/modules/globals/views/mixins/mixins.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/mixins/mixins.js +30 -14
- package/dist/prometheus-framework/src/modules/globals/views/mixins/mixins.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/actions/IconShopcartAdd.vue.cjs +33 -0
- package/dist/prometheus-framework/src/modules/icons/actions/IconShopcartAdd.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/icons/actions/IconShopcartAdd.vue.js +33 -0
- package/dist/prometheus-framework/src/modules/icons/actions/IconShopcartAdd.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.cjs +4 -17
- 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 +4 -17
- package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconPayments.vue.cjs +34 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconPayments.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconPayments.vue.js +34 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconPayments.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.cjs +27 -17
- 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 +28 -18
- package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/icons.client.cjs +2 -0
- package/dist/prometheus-framework/src/modules/icons/icons.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/icons.client.js +50 -48
- package/dist/prometheus-framework/src/modules/icons/icons.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionEarn.vue.cjs +83 -81
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionEarn.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionEarn.vue.js +83 -81
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionEarn.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionFeatures.vue.cjs +25 -62
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionFeatures.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionFeatures.vue.js +25 -62
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionFeatures.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionGuide.vue.cjs +6 -6
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionGuide.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionGuide.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionGuide.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionJoinUs.vue.cjs +89 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionJoinUs.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionJoinUs.vue.js +89 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionJoinUs.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionMobileApp.vue.cjs +97 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionMobileApp.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionMobileApp.vue.js +97 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionMobileApp.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionOverview.vue.cjs +3 -6
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionOverview.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionOverview.vue.js +3 -6
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionOverview.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +34 -37
- 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 +34 -37
- package/dist/prometheus-framework/src/modules/landing/components/sections/SubscribeNewsletter.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/landing.client.cjs +6 -4
- package/dist/prometheus-framework/src/modules/landing/landing.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/landing.client.js +18 -16
- package/dist/prometheus-framework/src/modules/landing/landing.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +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 +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +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/store/shopcart.cjs +67 -2
- package/dist/prometheus-framework/src/modules/orders/store/shopcart.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/orders/store/shopcart.js +67 -2
- package/dist/prometheus-framework/src/modules/orders/store/shopcart.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +7 -7
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +2 -2
- 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 -2
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +888 -860
- package/dist/prometheus-framework/src/modules/pages/pages.client.js +888 -860
- package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +4 -15
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +4 -15
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.cjs +24 -30
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.js +25 -31
- package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +3 -3
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +236 -13
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +239 -16
- package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +62 -16
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +67 -21
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/products/products.client.cjs +0 -3
- package/dist/prometheus-framework/src/modules/products/products.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/products.client.js +48 -51
- package/dist/prometheus-framework/src/modules/products/products.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +3 -3
- package/dist/prometheus-framework.cjs.js +1 -92
- package/dist/prometheus-framework.es.js +36 -13005
- package/package.json +1 -1
- package/src/components/Button/Button.vue +43 -40
- package/src/components/DatePicker/Calendar.vue +15 -7
- package/src/components/DatePicker/DatePicker.vue +50 -40
- package/src/components/EmptyState/EmptyState.vue +2 -2
- package/src/components/Feed/Feed.vue +6 -2
- package/src/components/FieldBig/FieldBig.vue +0 -2
- package/src/components/Media/Media.vue +211 -0
- package/src/components/Popup/Popup.vue +19 -21
- package/src/components/Slider/Slider.vue +57 -21
- package/src/components/index.js +1 -0
- package/src/main.js +3 -1
- package/src/modules/auth/views/components/pages/Profile.vue +2 -1
- package/src/modules/backoffice/backoffice.client.js +0 -2
- package/src/modules/backoffice/components/pages/Dashboard.vue +95 -2
- package/src/modules/backoffice/components/partials/Sidebar.vue +115 -132
- package/src/modules/backoffice/router/backoffice.js +0 -14
- package/src/modules/community/community.client.js +0 -3
- package/src/modules/community/components/layouts/Community.vue +1 -52
- package/src/modules/events/components/blocks/CardEvent.vue +28 -22
- package/src/modules/events/components/pages/Event.vue +2 -6
- package/src/modules/events/components/pages/Events.vue +241 -56
- package/src/modules/events/components/sections/EventsHot.vue +93 -0
- package/src/modules/events/components/sections/FeaturedEvents.vue +17 -15
- package/src/modules/events/components/sections/List.vue +1 -1
- package/src/modules/events/events.client.js +1 -0
- package/src/modules/events/router/events.js +0 -4
- package/src/modules/events/store/events.js +1 -0
- package/src/modules/globals/views/components/layouts/App.vue +4 -5
- package/src/modules/globals/views/components/layouts/Client.vue +17 -2
- package/src/modules/globals/views/components/partials/CitySelection.vue +88 -0
- package/src/modules/globals/views/components/partials/Header.vue +3 -3
- package/src/modules/globals/views/components/partials/Navigation.vue +75 -20
- package/src/modules/globals/views/components/partials/Sidebar.vue +2 -9
- package/src/modules/globals/views/mixins/mixins.js +56 -35
- package/src/modules/governance/DESCRIPTION.MD +238 -0
- package/src/modules/governance/controllers/factories/initiatives.controller.js +3 -1
- package/src/modules/governance/controllers/routes/initiatives.routes.js +1 -1
- package/src/modules/governance/controllers/routes/tasks.routes.js +1 -1
- package/src/modules/governance/controllers/routes/votes.routes.js +1 -1
- package/src/modules/governance/controllers/routes/votings.routes.js +1 -1
- package/src/modules/governance/governance.client.js +35 -35
- package/src/modules/governance/governance.server.js +8 -8
- package/src/modules/governance/models/milestone.model.js +98 -0
- package/src/modules/governance/models/task.model.js +39 -7
- package/src/modules/governance/views/components/pages/Initiative.vue +1 -1
- package/src/modules/governance/views/components/pages/InitiativeCreate.vue +2 -2
- package/src/modules/governance/views/components/pages/Initiatives.vue +3 -2
- package/src/modules/governance/views/components/pages/Task.vue +1 -1
- package/src/modules/governance/views/components/pages/TaskCreate.vue +2 -2
- package/src/modules/governance/views/components/pages/Tasks.vue +2 -2
- package/src/modules/governance/views/components/pages/Voting.vue +3 -3
- package/src/modules/governance/views/components/pages/VotingCreate.vue +2 -2
- package/src/modules/governance/views/components/pages/Votings.vue +2 -2
- package/src/modules/governance/views/components/sections/VoteForm.vue +1 -1
- package/src/modules/governance/views/router/goverance.router.js +263 -0
- package/src/modules/icons/actions/IconShopcartAdd.vue +15 -0
- package/src/modules/icons/entities/IconCommunity.vue +4 -6
- package/src/modules/icons/entities/IconPayments.vue +14 -0
- package/src/modules/icons/entities/IconPrice.vue +12 -3
- package/src/modules/icons/icons.client.js +5 -0
- package/src/modules/icons/logos/Logotype.vue +50 -17
- package/src/modules/landing/components/sections/SectionEarn.vue +42 -42
- package/src/modules/landing/components/sections/SectionFeatures.vue +25 -63
- package/src/modules/landing/components/sections/SectionGuide.vue +5 -5
- package/src/modules/landing/components/sections/SectionJoinUs.vue +95 -0
- package/src/modules/landing/components/sections/SectionMobileApp.vue +87 -0
- package/src/modules/landing/components/sections/SectionOverview.vue +3 -3
- package/src/modules/landing/components/sections/SubscribeNewsletter.vue +32 -31
- package/src/modules/landing/landing.client.js +5 -3
- package/src/modules/orders/components/blocks/CardOrderItem.vue +2 -0
- package/src/modules/orders/store/shopcart.js +100 -1
- package/src/modules/organizations/components/pages/Organizations.vue +1 -1
- package/src/modules/products/components/blocks/CardProduct.vue +5 -11
- package/src/modules/products/components/blocks/ImagesThumbnails.vue +4 -4
- package/src/modules/products/components/elements/Price.vue +33 -56
- package/src/modules/products/components/pages/Product.vue +235 -13
- package/src/modules/products/components/sections/SectionProduct.vue +50 -25
- package/src/modules/products/products.client.js +0 -4
- package/src/styles/base/all.scss +22 -21
- package/src/styles/config.scss +2 -2
- package/src/modules/backoffice/components/layouts/Backoffice.vue +0 -55
- package/src/modules/community/components/sections/JoinUs.vue +0 -75
- package/src/modules/events/components/sections/SectionLineup.vue +0 -42
- package/src/modules/events/components/sections/SectionMainGuest.vue +0 -95
- package/src/modules/events/components/sections/SectionPreviousEvents.vue +0 -117
- package/src/modules/events/components/sections/SectionSpecialGuests.vue +0 -46
- package/src/modules/governance/controllers/factories/projects.controller.js +0 -65
- package/src/modules/governance/controllers/routes/projects.routes.js +0 -34
- package/src/modules/governance/models/project.model.js +0 -26
- package/src/modules/landing/components/sections/FeatureSection.vue +0 -80
- package/src/modules/landing/components/sections/HeroSection.vue +0 -76
- package/src/modules/landing/components/sections/HowItWorksSection.vue +0 -88
- package/src/modules/landing/components/sections/MobileApp.vue +0 -133
- /package/src/modules/{landing → spots}/components/sections/MapSection.vue +0 -0
package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Header.vue.js","sources":["../../../../../../../../src/modules/globals/views/components/partials/Header.vue"],"sourcesContent":["<script setup=\"props\">\n\timport { computed, onMounted, toRefs, ref, inject } from 'vue'\n\n\timport { useRouter,useRoute } from 'vue-router'\n\timport { useI18n } from 'vue-i18n'\n\t\n\timport * as globals from '@pf/src/modules/globals/views/store/globals'\n\timport * as shopcart from '@pf/src/modules/orders/store/shopcart'\n\timport * as auth from '@pf/src/modules/auth/views/store/auth'\n\t\n\t// Globasls Component\n\timport Navigation from '@pf/src/modules/globals/views/components/partials/Navigation.vue'\n\t// Prometheus Component\n\timport Button from '@pf/src/components/Button/Button.vue'\n\timport Select from '@pf/src/components/Select/Select.vue'\n\timport Checkbox from '@pf/src/components/Checkbox/Checkbox.vue'\n\t// Icons module\n\timport IconShopcart from '@pf/src/modules/icons/entities/IconShopcart.vue'\n\timport IconProfile from '@pf/src/modules/icons/entities/IconProfile.vue'\n\t// Props\n\tconst props = defineProps({\n theme: {\n \ttype: String,\n\t default: \"light\"\n },\n logotype: {\n\t type: Object\n\t },\n\t location: {\n\t type: Boolean,\n\t\t default: true\n\t },\n });\n\t// Accessing state\n\tconst router = useRouter()\n\tconst route = useRoute()\n\t// Localization\n\tconst { t } = useI18n()\n\t// const search = computed(() => store.products.state.search)\n\n\tfunction openLocationPopup() {\n\t globals.state.isOpenLocationPopup = true;\n\t}\n\t/////////////////////////////\n\t// MOUNTED\n\t/////////////////////////////\n\tonMounted(() => {\n shopcart.actions.setShopcart()\n });\n</script>\n\n<template>\n\t<header \n\t\tid=\"header\" \n\t\tclass=\"\n\t\t\tpd-thin \n\t\t\tgap-micro\n\t\t\tflex-justify-between\n\t\t\tflex-nowrap\n\t\t\tflex\n\t\t\th-4r\n\t\t\tw-100\n\t\t\tz-index-2 \n\t\t\tpos-relative pos-t-0\n\t\t\"\n\t\t:class=\"{\n \t\t't-black': theme === 'light',\n \t\t't-white': theme === 'dark' \n \t}\"\n\t>\n\t<div class=\"flex-nowrap flex-v-center flex-justify-start flex gap-micro w-min-20 w-max-20r\">\n\t\t<!-- MENU -->\n\t\t<button \n\t\t\taria-label=\"menu\"\n\t\t\t@click=\"() => globals.state.isOpenSidebar = !globals.state.isOpenSidebar\" \n\t\t\tclass=\"
|
1
|
+
{"version":3,"file":"Header.vue.js","sources":["../../../../../../../../src/modules/globals/views/components/partials/Header.vue"],"sourcesContent":["<script setup=\"props\">\n\timport { computed, onMounted, toRefs, ref, inject } from 'vue'\n\n\timport { useRouter,useRoute } from 'vue-router'\n\timport { useI18n } from 'vue-i18n'\n\t\n\timport * as globals from '@pf/src/modules/globals/views/store/globals'\n\timport * as shopcart from '@pf/src/modules/orders/store/shopcart'\n\timport * as auth from '@pf/src/modules/auth/views/store/auth'\n\t\n\t// Globasls Component\n\timport Navigation from '@pf/src/modules/globals/views/components/partials/Navigation.vue'\n\t// Prometheus Component\n\timport Button from '@pf/src/components/Button/Button.vue'\n\timport Select from '@pf/src/components/Select/Select.vue'\n\timport Checkbox from '@pf/src/components/Checkbox/Checkbox.vue'\n\t// Icons module\n\timport IconShopcart from '@pf/src/modules/icons/entities/IconShopcart.vue'\n\timport IconProfile from '@pf/src/modules/icons/entities/IconProfile.vue'\n\t// Props\n\tconst props = defineProps({\n theme: {\n \ttype: String,\n\t default: \"light\"\n },\n logotype: {\n\t type: Object\n\t },\n\t location: {\n\t type: Boolean,\n\t\t default: true\n\t },\n });\n\t// Accessing state\n\tconst router = useRouter()\n\tconst route = useRoute()\n\t// Localization\n\tconst { t } = useI18n()\n\t// const search = computed(() => store.products.state.search)\n\n\tfunction openLocationPopup() {\n\t globals.state.isOpenLocationPopup = true;\n\t}\n\t/////////////////////////////\n\t// MOUNTED\n\t/////////////////////////////\n\tonMounted(() => {\n shopcart.actions.setShopcart()\n });\n</script>\n\n<template>\n\t<header \n\t\tid=\"header\" \n\t\tclass=\"\n\t\t\tpd-thin \n\t\t\tgap-micro\n\t\t\tflex-justify-between\n\t\t\tflex-nowrap\n\t\t\tflex\n\t\t\th-4r\n\t\t\tw-100\n\t\t\tz-index-2 \n\t\t\tpos-relative pos-t-0\n\t\t\"\n\t\t:class=\"{\n \t\t't-black': theme === 'light',\n \t\t't-white': theme === 'dark' \n \t}\"\n\t>\n\t<div class=\"flex-nowrap flex-v-center flex-justify-start flex gap-micro w-min-20 w-max-20r\">\n\t\t<!-- MENU -->\n\t\t<button \n\t\t\taria-label=\"menu\"\n\t\t\t@click=\"() => globals.state.isOpenSidebar = !globals.state.isOpenSidebar\" \n\t\t\tclass=\"cursor-pointer menu-btn\"\n\t\t\t:class=\"{\n\t\t\t\t'menu-btn_active': globals.state.isOpenSidebar\n\t\t\t}\"\n\t\t>\n\t <span\n\t \tclass=\"no-events\"\n\t\t :class=\"{\n\t\t 'bg-black': theme === 'light',\n\t\t 'bg-white': theme === 'dark'\n\t\t }\"\n\t\t >\n\t\t <span class=\"menu-btn__before\" :class=\"{ 'bg-black': theme === 'light', 'bg-white': theme === 'dark' }\"></span>\n\t\t <span class=\"menu-btn__after\" :class=\"{ 'bg-black': theme === 'light', 'bg-white': theme === 'dark' }\"></span>\n\t\t </span>\n\t </button>\n\n\t\t<!-- LOGO -->\n\t\t<component\n\t\t\tv-if=\"logotype\"\n\t\t :is=\"logotype\"\n\t\t @click=\"router.push({ path: '/' })\" \n\t\t :theme=\"theme\"\n\t\t class=\"cursor-pointer\"\n\t\t/>\n\n\t\t<button\n\t\t\tv-if=\"location\"\n\t\t\taria-label=\"button_location\"\n \tclass=\"\n \t\tcursor-pointer\n \t\tbg-transp \n \t\tpd-l-micro pd-r-micro\n \t\tradius-extra \n \t\tuppercase \n \t\tt-semi\n \t\tbr-solid \n \t\tbr-2px \n \t\ttransition-linear\n \t\n \t\"\n \t:class=\"{\n \t\t'fill-black br-black t-black hover-bg-black hover-t-white hover-fill-white': theme === 'light',\n \t\t'fill-white br-white t-white hover-bg-white hover-t-black hover-fill-black': theme === 'dark' \n \t}\"\n \t@click=\"openLocationPopup()\"\n >\n \t<svg class=\"i-small\" :fill=\"'inherit'\" xmlns=\"http://www.w3.org/2000/svg\" width=\"50\" height=\"67\" viewBox=\"0 0 50 67\" fill=\"none\">\n\t\t\t <path d=\"M25 0C11.207 0 0 11.207 0 25C0 38.793 20.832 66.668 25 66.668C29.168 66.668 50 38.793 50 25C50 11.207 38.793 0 25 0ZM25 33.332C20.418 33.332 16.668 29.582 16.668 25C16.668 20.418 20.418 16.668 25 16.668C29.582 16.668 33.332 20.418 33.332 25C33.332 29.582 29.582 33.332 25 33.332Z\" :fill=\"'inherit'\"/>\n\t\t\t</svg>\n \t {{globals.state.position?.country ? globals.state.position.country : 'World'}}\n </button>\n </div>\n\n <div class=\"flex-nowrap flex\">\t\n\t\t<!-- NAGIVATION -->\n\t\t<!-- <component\n v-if=\"route.meta.navigation\"\n :is=\"route.meta.navigation\"\n class=\"mn-l-auto desktop-only\"\n /> -->\n\t\t<Checkbox \n name=\"darkmode\"\n :label=\"'Darkmode'\"\n :radio=\"globals.state.theme.darkmode\"\n @update:radio=\"event => globals.actions.toggleTheme()\"\n class=\"mn-l-thin desktop-only t-semi pd-micro br-2px br-solid radius-extra\"\n :theme=\"theme\"\n :class=\"{\n \t\t'br-light t-black': theme === 'light',\n \t\t'br-dark t-white': theme === 'dark' \n \t}\"\n />\n </div>\n\n\t<div class=\"flex-justify-end flex-v-center flex-nowrap flex gap-micro w-min-20 w-max-20r\">\n\t\t<Button\n\t\t\taria-label=\"shopcart\"\n\t\t\t:submit=\"a => shopcart.actions.toggleShopcart()\" \n\t\t\t:counter=\"shopcart.getters.cartTotalAmount\" \n\t\t\t:showSucces=\"false\"\n\t\t\t:showLoader=\"false\"\n\t\t\tclass=\"pd-zero mn-r-micro\"\n\t\t\t> \n\t\t\t<IconShopcart \n\t\t\t\tclass=\"i-semi\"\n\t\t\t\t:fill=\"theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'\" \n\t\t\t/>\n\t\t\t<!-- <div class=\"w-max p-small pos-absolute pos-t-100 pos-r-0\">Product Added to Shopcart</div> -->\n\t\t</Button>\n\t\t\n\t\t<Button \n\t\t\taria-label=\"profile\"\n\t\t\tclass=\"pd-zero bg-transp\"\n\t\t\t:submit=\"\n\t\t\t\tauth.state.access.status === false \n\t\t\t\t? \n\t\t\t\ta => router.push({name: 'Sign In'}) \n\t\t\t\t: \n\t\t\t\ta => router.push({ name: 'User Profile', params: { _id: auth.state.user._id }})\n\t\t\t\"\n\t\t\t:showSucces=\"false\"\n\t\t\t:showLoader=\"false\"\n\t\t>\n\t\t\t<IconProfile \n\t\t\t\tclass=\"i-semi\"\n\t\t\t\t:fill=\"theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'\" \n\t\t\t/>\n\t\t</Button>\n\n\n\t\t<Select \n\t\t\tv-model:select=\"$i18n.locale\"\n\t\t :options=\"[{name: '🌎 En', value: 'en'}, {name: '🇷🇺 Ru', value: 'ru'}]\"\n\t\t :property=\"'value'\"\n class=\"pos-relative uppercase pd-micro t-semi radius-thin\"\n :class=\"{\n \t\t'bg-light t-black': theme === 'light',\n \t\t'bg-dark t-white': theme === 'dark' \n \t}\"\n />\n </div>\n</header>\n \n</template>\n\n<style lang=\"scss\">\n.location-button { \n\t&:hover {\n\t\tbox-shadow: inset 0 0 0 2px rgb(var(--main));\n\t}\n}\n\n.menu-btn {\n display: block;\n width: 2rem;\n height: 2rem;\n border-radius: 50%;\n position: relative;\n}\n.menu-btn span,\n.menu-btn__before,\n.menu-btn__after {\n position: absolute;\n top: 50%;\n margin-top: -1px;\n left: 50%;\n margin-left: -10px;\n width: 20px;\n height: 2px;\n}\n.menu-btn__before,\n.menu-btn__after {\n display: block;\n transition: 0.2s;\n}\n.menu-btn__before {\n transform: translateY(-5px);\n}\n.menu-btn__after {\n transform: translateY(5px);\n}\n.menu-btn_active .menu-btn__before {\n transform: rotate(-35deg);\n width: 10px;\n transform-origin: left bottom;\n}\n.menu-btn_active .menu-btn__after {\n transform: rotate(35deg);\n width: 10px;\n transform-origin: left top;\n}\n\n.menu-btn_active span:before {\n transform: rotate(-35deg);\n width: 10px;\n transform-origin: left bottom;\n}\n.menu-btn_active span:after {\n transform: rotate(35deg);\n width: 10px;\n transform-origin: left top;\n}\n\n.menu-block {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.menu-nav {\n background-color: #fff;\n height: 50px;\n \n}\n.menu-nav__link {\n display: inline-block;\n text-decoration: none;\n color: #fff;\n margin-right: 20px;\n}\n.menu-nav__link {\n transition: 0.5s;\n transform-origin: right center;\n transform: translateX(50%);\n opacity: 0;\n}\n.menu-nav__link_active {\n transform: translateX(0%);\n opacity: 1;\n}\n\n</style>"],"names":["globals.state","shopcart.actions"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCC,UAAM,SAAS,UAAW;AACZ,aAAU;AAEV,YAAS;AAGvB,aAAS,oBAAoB;AAC3BA,YAAc,sBAAsB;AAAA,IACrC;AAID,cAAU,MAAM;AACbC,cAAiB,YAAa;AAAA,IAClC,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -5,7 +5,7 @@ const vueRouter = require("vue-router");
|
|
5
5
|
const vueI18n = require("vue-i18n");
|
6
6
|
const IconShopcart = require("../../../../icons/entities/IconShopcart.vue.cjs");
|
7
7
|
const IconProfile = require("../../../../icons/entities/IconProfile.vue.cjs");
|
8
|
-
const Button = require("../../../../../components/Button/Button.
|
8
|
+
const Button = require("../../../../../components/Button/Button.vue.cjs");
|
9
9
|
const globals = require("../../store/globals.cjs");
|
10
10
|
const shopcart = require("../../../../orders/store/shopcart.cjs");
|
11
11
|
const auth = require("../../../../auth/views/store/auth.cjs");
|
package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js
CHANGED
@@ -3,7 +3,7 @@ import { useRouter, useRoute } from "vue-router";
|
|
3
3
|
import { useI18n } from "vue-i18n";
|
4
4
|
import _sfc_main$2 from "../../../../icons/entities/IconShopcart.vue.js";
|
5
5
|
import _sfc_main$3 from "../../../../icons/entities/IconProfile.vue.js";
|
6
|
-
import _sfc_main$1 from "../../../../../components/Button/Button.
|
6
|
+
import _sfc_main$1 from "../../../../../components/Button/Button.vue.js";
|
7
7
|
import { state } from "../../store/globals.js";
|
8
8
|
import { actions, getters } from "../../../../orders/store/shopcart.js";
|
9
9
|
import { state as state$1 } from "../../../../auth/views/store/auth.js";
|
package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.cjs
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
|
-
const Menu = require("../../../../../components/Menu/Menu.
|
4
|
+
const Menu = require("../../../../../components/Menu/Menu.vue2.cjs");
|
5
5
|
const MenuItem = require("../../../../../components/Menu/MenuItem.vue.cjs");
|
6
6
|
const clickOutside = require("../../../../../components/FieldPhone/click-outside.cjs");
|
7
7
|
const vueRouter = require("vue-router");
|
8
8
|
const auth = require("../../../../auth/views/store/auth.cjs");
|
9
9
|
const globals = require("../../store/globals.cjs");
|
10
10
|
const Checkbox = require("../../../../../components/Checkbox/Checkbox.vue.cjs");
|
11
|
-
;/* empty css */
|
12
11
|
const _hoisted_1 = {
|
13
12
|
id: "sidebar",
|
14
13
|
class: "o-hidden"
|
@@ -23,9 +22,7 @@ const _sfc_main = {
|
|
23
22
|
const route = vueRouter.useRoute();
|
24
23
|
vue.ref(false);
|
25
24
|
const props = __props;
|
26
|
-
const emits = __emit;
|
27
25
|
vue.watch(() => route.path, () => {
|
28
|
-
if (props.stateSidebar === true) emits("closeSidebar");
|
29
26
|
});
|
30
27
|
let vClickOutside = clickOutside.default;
|
31
28
|
function clickedOutside(event) {
|
@@ -33,9 +30,7 @@ const _sfc_main = {
|
|
33
30
|
console.log(event.target.classList.contains("menu-btn"));
|
34
31
|
if (isMenuButton) {
|
35
32
|
return null;
|
36
|
-
} else if (props.stateSidebar === true)
|
37
|
-
emits("closeSidebar");
|
38
|
-
}
|
33
|
+
} else if (props.stateSidebar === true) ;
|
39
34
|
}
|
40
35
|
return (_ctx, _cache) => {
|
41
36
|
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Sidebar.vue.cjs","sources":["../../../../../../../../src/modules/globals/views/components/partials/Sidebar.vue"],"sourcesContent":["<template>\n\n <div \n id=\"sidebar\" class=\"o-hidden\" v-click-outside=\"clickedOutside\"\n >\n <div \n class=\"pd-medium pos-sticky pos-t-0 h-100vh flex-column flex flex-justify-content\"\n >\n <div>\n <slot></slot>\n </div>\n\n <Checkbox \n :label=\"'Darkmode'\"\n :radio=\"globals.state.theme.darkmode\"\n @update:radio=\"event => globals.actions.toggleTheme()\"\n name=\"prices\"\n class=\" t-semi pd-small p-big mn-b-small br-2px br-solid radius-extra br-black-transp-5\"\n />\n\n <Menu \n v-if=\"(auth.state.access.roles) && (auth.state.access.roles.includes('ROLE_MODERATOR') || auth.state.access.roles.includes('ROLE_ADMIN'))\"\n class=\"mn-b-regular bg-black t-white\"\n >\n <MenuItem \n @click=\"router.push({\n name: 'Backoffice Admin', \n params: {\n _id: route.params._id\n }\n })\" \n class=\"cursor-pointer\"\n theme=\"white\"\n >\n <span>\n Backoffice\n </span>\n </MenuItem> \n </Menu>\n\n \n </div>\n </div>\n\n</template>\n\n<script setup>\nimport { ref, watch } from 'vue';\n\n// Mobile Module\nimport Menu from '@pf/src/components/Menu/Menu.vue'\nimport MenuItem from '@pf/src/components/Menu/MenuItem.vue'\n\nimport clickOutside from '@pf/src/components/FieldPhone/click-outside';\n\nimport { useRoute, useRouter} from 'vue-router'\n\nimport * as auth from '@pf/src/modules/auth/views/store/auth'\nimport * as globals from '@pf/src/modules/globals/views/store/globals'\n\nimport Checkbox from '@pf/src/components/Checkbox/Checkbox.vue'\n\nconst router = useRouter()\nconst route = useRoute()\n\nconst isOpen = ref(false);\n\nconst props = defineProps(['stateSidebar'])\nconst emits = defineEmits(['closeSidebar'])\n\nwatch(() => route.path, () => {\n if (props.stateSidebar === true) emits('closeSidebar');\n});\n\nlet vClickOutside = clickOutside\n\nfunction clickedOutside(event) {\n // Проверяем, не является ли элемент, по которому кликнули, кнопкой меню\n const isMenuButton = event.target.classList.contains('menu-btn');\n\n console.log(event.target.classList.contains('menu-btn'))\n \n if (isMenuButton) { \n return null;\n } else if (props.stateSidebar === true) {\n emits('closeSidebar')
|
1
|
+
{"version":3,"file":"Sidebar.vue.cjs","sources":["../../../../../../../../src/modules/globals/views/components/partials/Sidebar.vue"],"sourcesContent":["<template>\n\n <div \n id=\"sidebar\" class=\"o-hidden\" v-click-outside=\"clickedOutside\"\n >\n <div \n class=\"pd-medium pos-sticky pos-t-0 h-100vh flex-column flex flex-justify-content\"\n >\n <div>\n <slot></slot>\n </div>\n\n <Checkbox \n :label=\"'Darkmode'\"\n :radio=\"globals.state.theme.darkmode\"\n @update:radio=\"event => globals.actions.toggleTheme()\"\n name=\"prices\"\n class=\" t-semi pd-small p-big mn-b-small br-2px br-solid radius-extra br-black-transp-5\"\n />\n\n <Menu \n v-if=\"(auth.state.access.roles) && (auth.state.access.roles.includes('ROLE_MODERATOR') || auth.state.access.roles.includes('ROLE_ADMIN'))\"\n class=\"mn-b-regular bg-black t-white\"\n >\n <MenuItem \n @click=\"router.push({\n name: 'Backoffice Admin', \n params: {\n _id: route.params._id\n }\n })\" \n class=\"cursor-pointer\"\n theme=\"white\"\n >\n <span>\n Backoffice\n </span>\n </MenuItem> \n </Menu>\n\n \n </div>\n </div>\n\n</template>\n\n<script setup>\nimport { ref, watch } from 'vue';\n\n// Mobile Module\nimport Menu from '@pf/src/components/Menu/Menu.vue'\nimport MenuItem from '@pf/src/components/Menu/MenuItem.vue'\n\nimport clickOutside from '@pf/src/components/FieldPhone/click-outside';\n\nimport { useRoute, useRouter} from 'vue-router'\n\nimport * as auth from '@pf/src/modules/auth/views/store/auth'\nimport * as globals from '@pf/src/modules/globals/views/store/globals'\n\nimport Checkbox from '@pf/src/components/Checkbox/Checkbox.vue'\n\nconst router = useRouter()\nconst route = useRoute()\n\nconst isOpen = ref(false);\n\nconst props = defineProps(['stateSidebar'])\nconst emits = defineEmits(['closeSidebar'])\n\nwatch(() => route.path, () => {\n // if (props.stateSidebar === true) emits('closeSidebar');\n});\n\nlet vClickOutside = clickOutside\n\nfunction clickedOutside(event) {\n // Проверяем, не является ли элемент, по которому кликнули, кнопкой меню\n const isMenuButton = event.target.classList.contains('menu-btn');\n\n console.log(event.target.classList.contains('menu-btn'))\n \n if (isMenuButton) { \n return null;\n } else if (props.stateSidebar === true) {\n // emits('closeSidebar'); \n }\n}\n\n</script>\n\n<style lang=\"scss\" >\n</style>"],"names":["useRouter","useRoute","ref","watch","clickOutside"],"mappings":";;;;;;;;;;;;;;;;;;;;AA8DA,UAAM,SAAUA,UAAAA,UAAW;AAC3B,UAAM,QAAUC,UAAAA,SAAU;AAEXC,QAAG,IAAC,KAAK;AAExB,UAAM,QAAQ;AAGdC,QAAAA,MAAM,MAAM,MAAM,MAAM,MAAM;AAAA,IAE9B,CAAC;AAED,QAAI,gBAAgBC,aAAY;AAEhC,aAAS,eAAe,OAAO;AAE7B,YAAM,eAAe,MAAM,OAAO,UAAU,SAAS,UAAU;AAE/D,cAAQ,IAAI,MAAM,OAAO,UAAU,SAAS,UAAU,CAAC;AAEvD,UAAI,cAAc;AAChB,eAAO;AAAA,MACR,WAAW,MAAM,iBAAiB,KAAM;AAAA,IAG3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.js
CHANGED
@@ -1,12 +1,11 @@
|
|
1
1
|
import { ref, watch, withDirectives, openBlock, createElementBlock, createElementVNode, renderSlot, createVNode, createBlock, withCtx, unref, createCommentVNode } from "vue";
|
2
|
-
import _sfc_main$2 from "../../../../../components/Menu/Menu.
|
2
|
+
import _sfc_main$2 from "../../../../../components/Menu/Menu.vue2.js";
|
3
3
|
import _sfc_main$3 from "../../../../../components/Menu/MenuItem.vue.js";
|
4
4
|
import clickOutside from "../../../../../components/FieldPhone/click-outside.js";
|
5
5
|
import { useRouter, useRoute } from "vue-router";
|
6
6
|
import { state as state$1 } from "../../../../auth/views/store/auth.js";
|
7
7
|
import { state, actions } from "../../store/globals.js";
|
8
8
|
import _sfc_main$1 from "../../../../../components/Checkbox/Checkbox.vue.js";
|
9
|
-
/* empty css */
|
10
9
|
const _hoisted_1 = {
|
11
10
|
id: "sidebar",
|
12
11
|
class: "o-hidden"
|
@@ -21,9 +20,7 @@ const _sfc_main = {
|
|
21
20
|
const route = useRoute();
|
22
21
|
ref(false);
|
23
22
|
const props = __props;
|
24
|
-
const emits = __emit;
|
25
23
|
watch(() => route.path, () => {
|
26
|
-
if (props.stateSidebar === true) emits("closeSidebar");
|
27
24
|
});
|
28
25
|
let vClickOutside = clickOutside;
|
29
26
|
function clickedOutside(event) {
|
@@ -31,9 +28,7 @@ const _sfc_main = {
|
|
31
28
|
console.log(event.target.classList.contains("menu-btn"));
|
32
29
|
if (isMenuButton) {
|
33
30
|
return null;
|
34
|
-
} else if (props.stateSidebar === true)
|
35
|
-
emits("closeSidebar");
|
36
|
-
}
|
31
|
+
} else if (props.stateSidebar === true) ;
|
37
32
|
}
|
38
33
|
return (_ctx, _cache) => {
|
39
34
|
return withDirectives((openBlock(), createElementBlock("div", _hoisted_1, [
|
package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Sidebar.vue.js","sources":["../../../../../../../../src/modules/globals/views/components/partials/Sidebar.vue"],"sourcesContent":["<template>\n\n <div \n id=\"sidebar\" class=\"o-hidden\" v-click-outside=\"clickedOutside\"\n >\n <div \n class=\"pd-medium pos-sticky pos-t-0 h-100vh flex-column flex flex-justify-content\"\n >\n <div>\n <slot></slot>\n </div>\n\n <Checkbox \n :label=\"'Darkmode'\"\n :radio=\"globals.state.theme.darkmode\"\n @update:radio=\"event => globals.actions.toggleTheme()\"\n name=\"prices\"\n class=\" t-semi pd-small p-big mn-b-small br-2px br-solid radius-extra br-black-transp-5\"\n />\n\n <Menu \n v-if=\"(auth.state.access.roles) && (auth.state.access.roles.includes('ROLE_MODERATOR') || auth.state.access.roles.includes('ROLE_ADMIN'))\"\n class=\"mn-b-regular bg-black t-white\"\n >\n <MenuItem \n @click=\"router.push({\n name: 'Backoffice Admin', \n params: {\n _id: route.params._id\n }\n })\" \n class=\"cursor-pointer\"\n theme=\"white\"\n >\n <span>\n Backoffice\n </span>\n </MenuItem> \n </Menu>\n\n \n </div>\n </div>\n\n</template>\n\n<script setup>\nimport { ref, watch } from 'vue';\n\n// Mobile Module\nimport Menu from '@pf/src/components/Menu/Menu.vue'\nimport MenuItem from '@pf/src/components/Menu/MenuItem.vue'\n\nimport clickOutside from '@pf/src/components/FieldPhone/click-outside';\n\nimport { useRoute, useRouter} from 'vue-router'\n\nimport * as auth from '@pf/src/modules/auth/views/store/auth'\nimport * as globals from '@pf/src/modules/globals/views/store/globals'\n\nimport Checkbox from '@pf/src/components/Checkbox/Checkbox.vue'\n\nconst router = useRouter()\nconst route = useRoute()\n\nconst isOpen = ref(false);\n\nconst props = defineProps(['stateSidebar'])\nconst emits = defineEmits(['closeSidebar'])\n\nwatch(() => route.path, () => {\n if (props.stateSidebar === true) emits('closeSidebar');\n});\n\nlet vClickOutside = clickOutside\n\nfunction clickedOutside(event) {\n // Проверяем, не является ли элемент, по которому кликнули, кнопкой меню\n const isMenuButton = event.target.classList.contains('menu-btn');\n\n console.log(event.target.classList.contains('menu-btn'))\n \n if (isMenuButton) { \n return null;\n } else if (props.stateSidebar === true) {\n emits('closeSidebar')
|
1
|
+
{"version":3,"file":"Sidebar.vue.js","sources":["../../../../../../../../src/modules/globals/views/components/partials/Sidebar.vue"],"sourcesContent":["<template>\n\n <div \n id=\"sidebar\" class=\"o-hidden\" v-click-outside=\"clickedOutside\"\n >\n <div \n class=\"pd-medium pos-sticky pos-t-0 h-100vh flex-column flex flex-justify-content\"\n >\n <div>\n <slot></slot>\n </div>\n\n <Checkbox \n :label=\"'Darkmode'\"\n :radio=\"globals.state.theme.darkmode\"\n @update:radio=\"event => globals.actions.toggleTheme()\"\n name=\"prices\"\n class=\" t-semi pd-small p-big mn-b-small br-2px br-solid radius-extra br-black-transp-5\"\n />\n\n <Menu \n v-if=\"(auth.state.access.roles) && (auth.state.access.roles.includes('ROLE_MODERATOR') || auth.state.access.roles.includes('ROLE_ADMIN'))\"\n class=\"mn-b-regular bg-black t-white\"\n >\n <MenuItem \n @click=\"router.push({\n name: 'Backoffice Admin', \n params: {\n _id: route.params._id\n }\n })\" \n class=\"cursor-pointer\"\n theme=\"white\"\n >\n <span>\n Backoffice\n </span>\n </MenuItem> \n </Menu>\n\n \n </div>\n </div>\n\n</template>\n\n<script setup>\nimport { ref, watch } from 'vue';\n\n// Mobile Module\nimport Menu from '@pf/src/components/Menu/Menu.vue'\nimport MenuItem from '@pf/src/components/Menu/MenuItem.vue'\n\nimport clickOutside from '@pf/src/components/FieldPhone/click-outside';\n\nimport { useRoute, useRouter} from 'vue-router'\n\nimport * as auth from '@pf/src/modules/auth/views/store/auth'\nimport * as globals from '@pf/src/modules/globals/views/store/globals'\n\nimport Checkbox from '@pf/src/components/Checkbox/Checkbox.vue'\n\nconst router = useRouter()\nconst route = useRoute()\n\nconst isOpen = ref(false);\n\nconst props = defineProps(['stateSidebar'])\nconst emits = defineEmits(['closeSidebar'])\n\nwatch(() => route.path, () => {\n // if (props.stateSidebar === true) emits('closeSidebar');\n});\n\nlet vClickOutside = clickOutside\n\nfunction clickedOutside(event) {\n // Проверяем, не является ли элемент, по которому кликнули, кнопкой меню\n const isMenuButton = event.target.classList.contains('menu-btn');\n\n console.log(event.target.classList.contains('menu-btn'))\n \n if (isMenuButton) { \n return null;\n } else if (props.stateSidebar === true) {\n // emits('closeSidebar'); \n }\n}\n\n</script>\n\n<style lang=\"scss\" >\n</style>"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AA8DA,UAAM,SAAU,UAAW;AAC3B,UAAM,QAAU,SAAU;AAEX,QAAI,KAAK;AAExB,UAAM,QAAQ;AAGd,UAAM,MAAM,MAAM,MAAM,MAAM;AAAA,IAE9B,CAAC;AAED,QAAI,gBAAgB;AAEpB,aAAS,eAAe,OAAO;AAE7B,YAAM,eAAe,MAAM,OAAO,UAAU,SAAS,UAAU;AAE/D,cAAQ,IAAI,MAAM,OAAO,UAAU,SAAS,UAAU,CAAC;AAEvD,UAAI,cAAc;AAChB,eAAO;AAAA,MACR,WAAW,MAAM,iBAAiB,KAAM;AAAA,IAG3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
3
|
const vue = require("vue");
|
4
|
-
const Tab = require("../../../../../components/Tab/Tab.
|
4
|
+
const Tab = require("../../../../../components/Tab/Tab.vue.cjs");
|
5
5
|
const _hoisted_1 = { class: "pd-medium flex-v-center flex-nowrap flex" };
|
6
6
|
const _hoisted_2 = { class: "mn-r-auto" };
|
7
7
|
const _hoisted_3 = ["onClick"];
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, Fragment, renderList, createBlock, normalizeClass, withCtx, createTextVNode, createCommentVNode } from "vue";
|
2
|
-
import _sfc_main$1 from "../../../../../components/Tab/Tab.
|
2
|
+
import _sfc_main$1 from "../../../../../components/Tab/Tab.vue.js";
|
3
3
|
const _hoisted_1 = { class: "pd-medium flex-v-center flex-nowrap flex" };
|
4
4
|
const _hoisted_2 = { class: "mn-r-auto" };
|
5
5
|
const _hoisted_3 = ["onClick"];
|
@@ -38,11 +38,23 @@ function useGlobalMixins() {
|
|
38
38
|
};
|
39
39
|
const formatDate = (d, options = {}) => {
|
40
40
|
var fixedDate = new Date(d);
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
41
|
+
const formatOptions = {
|
42
|
+
year: "numeric",
|
43
|
+
month: "long",
|
44
|
+
// название месяца
|
45
|
+
day: "2-digit",
|
46
|
+
// день с ведущим нулем
|
47
|
+
hour: "2-digit",
|
48
|
+
// часы с ведущим нулем
|
49
|
+
minute: "2-digit",
|
50
|
+
// минуты с ведущим нулем
|
51
|
+
hour12: false,
|
52
|
+
// 24-часовой формат времени
|
53
|
+
...options
|
54
|
+
// дополнительные настройки
|
55
|
+
};
|
56
|
+
const locale = options.language || "ru";
|
57
|
+
const dateFormatter = new Intl.DateTimeFormat(locale, formatOptions);
|
46
58
|
var format = {
|
47
59
|
dateOnly: options.dateOnly || false,
|
48
60
|
timeOnly: options.timeOnly || false,
|
@@ -50,24 +62,28 @@ function useGlobalMixins() {
|
|
50
62
|
dayTime: options.dayTime || false,
|
51
63
|
monthYear: options.monthYear || false,
|
52
64
|
yearOnly: options.yearOnly || false,
|
53
|
-
custom: options.custom || ""
|
65
|
+
custom: options.custom || "",
|
66
|
+
monthName: options.monthName || false,
|
67
|
+
// Новый параметр для вывода названия месяца
|
68
|
+
language: options.language || "ru"
|
69
|
+
// Язык, по умолчанию русский
|
54
70
|
};
|
55
71
|
if (format.dateOnly) {
|
56
|
-
return
|
72
|
+
return dateFormatter.format(fixedDate).split(",")[0];
|
57
73
|
} else if (format.timeOnly) {
|
58
|
-
return (
|
74
|
+
return new Intl.DateTimeFormat(locale, { hour: "2-digit", minute: "2-digit", hour12: false }).format(fixedDate);
|
59
75
|
} else if (format.dayMonth) {
|
60
|
-
return (
|
76
|
+
return new Intl.DateTimeFormat(locale, { day: "2-digit", month: "short" }).format(fixedDate);
|
61
77
|
} else if (format.dayTime) {
|
62
|
-
return (
|
78
|
+
return new Intl.DateTimeFormat(locale, { day: "2-digit", month: "short", hour: "2-digit", minute: "2-digit", hour12: false }).format(fixedDate);
|
63
79
|
} else if (format.monthYear) {
|
64
|
-
return (
|
80
|
+
return new Intl.DateTimeFormat(locale, { month: "long", year: "numeric" }).format(fixedDate);
|
65
81
|
} else if (format.yearOnly) {
|
66
|
-
return
|
82
|
+
return new Intl.DateTimeFormat(locale, { year: "numeric" }).format(fixedDate);
|
67
83
|
} else if (format.custom) {
|
68
|
-
return format.custom.replace("yyyy",
|
84
|
+
return format.custom.replace("yyyy", fixedDate.getFullYear()).replace("mm", ("0" + (fixedDate.getMonth() + 1)).slice(-2)).replace("dd", ("0" + fixedDate.getDate()).slice(-2)).replace("hh", ("0" + fixedDate.getHours()).slice(-2)).replace("min", ("0" + fixedDate.getMinutes()).slice(-2));
|
69
85
|
}
|
70
|
-
return
|
86
|
+
return dateFormatter.format(fixedDate);
|
71
87
|
};
|
72
88
|
const normalizeUrlParam = (param) => {
|
73
89
|
if (!param) param = "";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"mixins.cjs","sources":["../../../../../../../src/modules/globals/views/mixins/mixins.js"],"sourcesContent":["// useGlobalMixins.js\nexport function useGlobalMixins() {\n const isAdmin = (roles) => {\n if (roles) {\n const isAdmin = roles.includes('ROLE_ADMIN') ? roles.includes('ROLE_ADMIN') : false;\n\n if (isAdmin !== true) {\n return false\n }\n\n return true\n } else {\n return false\n }\n }\n \n const hasAccess = (organizationId, rightCategory = null, rightType = null, accesses) => {\n const accessArray = accesses;\n \n // Проверяем существование записи для организации\n const organizationAccess = accessArray.find(access => access.organization === organizationId);\n \n // Если переданы только organizationId и accesses - проверяем только членство\n if (rightCategory === null && rightType === null) {\n return Boolean(organizationAccess); // если организация найдена - значит член\n }\n\n // Для проверки прав сначала проверяем существование организации\n if (!organizationAccess) {\n return false;\n }\n\n const categoryAccess = organizationAccess.rights[rightCategory];\n if (!categoryAccess) {\n return false;\n }\n return categoryAccess[rightType] === true;\n }\n\n const returnCurrency = () => {\n const currency = '฿'\n return currency\n }\n\n const formatPrice = (number) => {\n const currency = returnCurrency();\n let formattedNumber = number.toFixed(2).replace('.', ',').replace(/\\B(?=(\\d{3})+(?!\\d))/g, ' ');\n return `${formattedNumber} ${currency}`;\n }\n\
|
1
|
+
{"version":3,"file":"mixins.cjs","sources":["../../../../../../../src/modules/globals/views/mixins/mixins.js"],"sourcesContent":["// useGlobalMixins.js\nexport function useGlobalMixins() {\n const isAdmin = (roles) => {\n if (roles) {\n const isAdmin = roles.includes('ROLE_ADMIN') ? roles.includes('ROLE_ADMIN') : false;\n\n if (isAdmin !== true) {\n return false\n }\n\n return true\n } else {\n return false\n }\n }\n \n const hasAccess = (organizationId, rightCategory = null, rightType = null, accesses) => {\n const accessArray = accesses;\n \n // Проверяем существование записи для организации\n const organizationAccess = accessArray.find(access => access.organization === organizationId);\n \n // Если переданы только organizationId и accesses - проверяем только членство\n if (rightCategory === null && rightType === null) {\n return Boolean(organizationAccess); // если организация найдена - значит член\n }\n\n // Для проверки прав сначала проверяем существование организации\n if (!organizationAccess) {\n return false;\n }\n\n const categoryAccess = organizationAccess.rights[rightCategory];\n if (!categoryAccess) {\n return false;\n }\n return categoryAccess[rightType] === true;\n }\n\n const returnCurrency = () => {\n const currency = '฿'\n return currency\n }\n\n const formatPrice = (number) => {\n const currency = returnCurrency();\n let formattedNumber = number.toFixed(2).replace('.', ',').replace(/\\B(?=(\\d{3})+(?!\\d))/g, ' ');\n return `${formattedNumber} ${currency}`;\n }\n\nconst formatDate = (d, options = {}) => {\n var fixedDate = new Date(d);\n\n // Определяем параметры локализации\n const formatOptions = {\n year: 'numeric',\n month: 'long', // название месяца\n day: '2-digit', // день с ведущим нулем\n hour: '2-digit', // часы с ведущим нулем\n minute: '2-digit', // минуты с ведущим нулем\n hour12: false, // 24-часовой формат времени\n ...options // дополнительные настройки\n };\n\n // Язык, по умолчанию \"ru\" (русский)\n const locale = options.language || 'ru';\n\n // Используем Intl.DateTimeFormat для локализации\n const dateFormatter = new Intl.DateTimeFormat(locale, formatOptions);\n\n var format = {\n dateOnly: options.dateOnly || false,\n timeOnly: options.timeOnly || false,\n dayMonth: options.dayMonth || false,\n dayTime: options.dayTime || false,\n monthYear: options.monthYear || false,\n yearOnly: options.yearOnly || false,\n custom: options.custom || \"\",\n monthName: options.monthName || false, // Новый параметр для вывода названия месяца\n language: options.language || 'ru' // Язык, по умолчанию русский\n };\n\n if (format.dateOnly) {\n return dateFormatter.format(fixedDate).split(',')[0]; // Выводим только дату\n } else if (format.timeOnly) {\n return new Intl.DateTimeFormat(locale, { hour: '2-digit', minute: '2-digit', hour12: false }).format(fixedDate); // Выводим только время\n } else if (format.dayMonth) {\n return new Intl.DateTimeFormat(locale, { day: '2-digit', month: 'short' }).format(fixedDate); // день и месяц\n } else if (format.dayTime) {\n return new Intl.DateTimeFormat(locale, { day: '2-digit', month: 'short', hour: '2-digit', minute: '2-digit', hour12: false }).format(fixedDate); // день и время\n } else if (format.monthYear) {\n return new Intl.DateTimeFormat(locale, { month: 'long', year: 'numeric' }).format(fixedDate); // месяц и год\n } else if (format.yearOnly) {\n return new Intl.DateTimeFormat(locale, { year: 'numeric' }).format(fixedDate); // только год\n } else if (format.custom) {\n // Для пользовательского формата с подстановкой\n return format.custom.replace(\"yyyy\", fixedDate.getFullYear())\n .replace(\"mm\", (\"0\" + (fixedDate.getMonth() + 1)).slice(-2)) // добавление ведущего нуля\n .replace(\"dd\", (\"0\" + fixedDate.getDate()).slice(-2)) // добавление ведущего нуля\n .replace(\"hh\", (\"0\" + fixedDate.getHours()).slice(-2)) // добавление ведущего нуля\n .replace(\"min\", (\"0\" + fixedDate.getMinutes()).slice(-2)); // добавление ведущего нуля\n }\n\n // Вернуть полную дату в стандартном формате\n return dateFormatter.format(fixedDate);\n}\n\n\n const normalizeUrlParam = (param) => {\n if (!param) param = ''\n\n return param\n .toLowerCase()\n .replace(/ /g, '-')\n .replace(/[^a-z0-9-]/g, '');\n }\n\n const joinArrayToUrl = (arr) => {\n return arr.join('/')\n }\n\n const getMarketplaceLink = (categories, country, state, city) => {\n let country_normalized = country ? normalizeUrlParam(country) : '';\n let state_normalized = state ? normalizeUrlParam(state) : '';\n let city_normalized = city ? normalizeUrlParam(city) : '';\n\n let base = '/marketplace';\n base += country_normalized ? `/${country_normalized}` : '';\n base += country_normalized && state_normalized ? `/${state_normalized}` : '';\n base += country_normalized && state_normalized && city_normalized ? `/${city_normalized}` : '';\n\n if (categories && categories.length) {\n base += `?categories=${categories.join(\",\")}`;\n }\n\n return base;\n }\n\n const getSpotsLink = (country, state, city) => {\n let country_normalized = country ? normalizeUrlParam(country) : '';\n let state_normalized = state ? normalizeUrlParam(state) : '';\n let city_normalized = city ? normalizeUrlParam(city) : '';\n\n let base = '/spots';\n base += country_normalized ? `/${country_normalized}` : '';\n base += country_normalized && state_normalized ? `/${state_normalized}` : '';\n base += country_normalized && state_normalized && city_normalized ? `/${city_normalized}` : '';\n\n return base;\n }\n\n return {\n isAdmin,\n hasAccess,\n returnCurrency,\n formatPrice,\n formatDate,\n normalizeUrlParam,\n joinArrayToUrl,\n getMarketplaceLink,\n getSpotsLink\n }\n}\n\n// Экспорт для глобальной регистрации\nexport const globalMixins = {\n methods: useGlobalMixins()\n}"],"names":["isAdmin"],"mappings":"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"}
|
@@ -36,11 +36,23 @@ function useGlobalMixins() {
|
|
36
36
|
};
|
37
37
|
const formatDate = (d, options = {}) => {
|
38
38
|
var fixedDate = new Date(d);
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
39
|
+
const formatOptions = {
|
40
|
+
year: "numeric",
|
41
|
+
month: "long",
|
42
|
+
// название месяца
|
43
|
+
day: "2-digit",
|
44
|
+
// день с ведущим нулем
|
45
|
+
hour: "2-digit",
|
46
|
+
// часы с ведущим нулем
|
47
|
+
minute: "2-digit",
|
48
|
+
// минуты с ведущим нулем
|
49
|
+
hour12: false,
|
50
|
+
// 24-часовой формат времени
|
51
|
+
...options
|
52
|
+
// дополнительные настройки
|
53
|
+
};
|
54
|
+
const locale = options.language || "ru";
|
55
|
+
const dateFormatter = new Intl.DateTimeFormat(locale, formatOptions);
|
44
56
|
var format = {
|
45
57
|
dateOnly: options.dateOnly || false,
|
46
58
|
timeOnly: options.timeOnly || false,
|
@@ -48,24 +60,28 @@ function useGlobalMixins() {
|
|
48
60
|
dayTime: options.dayTime || false,
|
49
61
|
monthYear: options.monthYear || false,
|
50
62
|
yearOnly: options.yearOnly || false,
|
51
|
-
custom: options.custom || ""
|
63
|
+
custom: options.custom || "",
|
64
|
+
monthName: options.monthName || false,
|
65
|
+
// Новый параметр для вывода названия месяца
|
66
|
+
language: options.language || "ru"
|
67
|
+
// Язык, по умолчанию русский
|
52
68
|
};
|
53
69
|
if (format.dateOnly) {
|
54
|
-
return
|
70
|
+
return dateFormatter.format(fixedDate).split(",")[0];
|
55
71
|
} else if (format.timeOnly) {
|
56
|
-
return (
|
72
|
+
return new Intl.DateTimeFormat(locale, { hour: "2-digit", minute: "2-digit", hour12: false }).format(fixedDate);
|
57
73
|
} else if (format.dayMonth) {
|
58
|
-
return (
|
74
|
+
return new Intl.DateTimeFormat(locale, { day: "2-digit", month: "short" }).format(fixedDate);
|
59
75
|
} else if (format.dayTime) {
|
60
|
-
return (
|
76
|
+
return new Intl.DateTimeFormat(locale, { day: "2-digit", month: "short", hour: "2-digit", minute: "2-digit", hour12: false }).format(fixedDate);
|
61
77
|
} else if (format.monthYear) {
|
62
|
-
return (
|
78
|
+
return new Intl.DateTimeFormat(locale, { month: "long", year: "numeric" }).format(fixedDate);
|
63
79
|
} else if (format.yearOnly) {
|
64
|
-
return
|
80
|
+
return new Intl.DateTimeFormat(locale, { year: "numeric" }).format(fixedDate);
|
65
81
|
} else if (format.custom) {
|
66
|
-
return format.custom.replace("yyyy",
|
82
|
+
return format.custom.replace("yyyy", fixedDate.getFullYear()).replace("mm", ("0" + (fixedDate.getMonth() + 1)).slice(-2)).replace("dd", ("0" + fixedDate.getDate()).slice(-2)).replace("hh", ("0" + fixedDate.getHours()).slice(-2)).replace("min", ("0" + fixedDate.getMinutes()).slice(-2));
|
67
83
|
}
|
68
|
-
return
|
84
|
+
return dateFormatter.format(fixedDate);
|
69
85
|
};
|
70
86
|
const normalizeUrlParam = (param) => {
|
71
87
|
if (!param) param = "";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"mixins.js","sources":["../../../../../../../src/modules/globals/views/mixins/mixins.js"],"sourcesContent":["// useGlobalMixins.js\nexport function useGlobalMixins() {\n const isAdmin = (roles) => {\n if (roles) {\n const isAdmin = roles.includes('ROLE_ADMIN') ? roles.includes('ROLE_ADMIN') : false;\n\n if (isAdmin !== true) {\n return false\n }\n\n return true\n } else {\n return false\n }\n }\n \n const hasAccess = (organizationId, rightCategory = null, rightType = null, accesses) => {\n const accessArray = accesses;\n \n // Проверяем существование записи для организации\n const organizationAccess = accessArray.find(access => access.organization === organizationId);\n \n // Если переданы только organizationId и accesses - проверяем только членство\n if (rightCategory === null && rightType === null) {\n return Boolean(organizationAccess); // если организация найдена - значит член\n }\n\n // Для проверки прав сначала проверяем существование организации\n if (!organizationAccess) {\n return false;\n }\n\n const categoryAccess = organizationAccess.rights[rightCategory];\n if (!categoryAccess) {\n return false;\n }\n return categoryAccess[rightType] === true;\n }\n\n const returnCurrency = () => {\n const currency = '฿'\n return currency\n }\n\n const formatPrice = (number) => {\n const currency = returnCurrency();\n let formattedNumber = number.toFixed(2).replace('.', ',').replace(/\\B(?=(\\d{3})+(?!\\d))/g, ' ');\n return `${formattedNumber} ${currency}`;\n }\n\
|
1
|
+
{"version":3,"file":"mixins.js","sources":["../../../../../../../src/modules/globals/views/mixins/mixins.js"],"sourcesContent":["// useGlobalMixins.js\nexport function useGlobalMixins() {\n const isAdmin = (roles) => {\n if (roles) {\n const isAdmin = roles.includes('ROLE_ADMIN') ? roles.includes('ROLE_ADMIN') : false;\n\n if (isAdmin !== true) {\n return false\n }\n\n return true\n } else {\n return false\n }\n }\n \n const hasAccess = (organizationId, rightCategory = null, rightType = null, accesses) => {\n const accessArray = accesses;\n \n // Проверяем существование записи для организации\n const organizationAccess = accessArray.find(access => access.organization === organizationId);\n \n // Если переданы только organizationId и accesses - проверяем только членство\n if (rightCategory === null && rightType === null) {\n return Boolean(organizationAccess); // если организация найдена - значит член\n }\n\n // Для проверки прав сначала проверяем существование организации\n if (!organizationAccess) {\n return false;\n }\n\n const categoryAccess = organizationAccess.rights[rightCategory];\n if (!categoryAccess) {\n return false;\n }\n return categoryAccess[rightType] === true;\n }\n\n const returnCurrency = () => {\n const currency = '฿'\n return currency\n }\n\n const formatPrice = (number) => {\n const currency = returnCurrency();\n let formattedNumber = number.toFixed(2).replace('.', ',').replace(/\\B(?=(\\d{3})+(?!\\d))/g, ' ');\n return `${formattedNumber} ${currency}`;\n }\n\nconst formatDate = (d, options = {}) => {\n var fixedDate = new Date(d);\n\n // Определяем параметры локализации\n const formatOptions = {\n year: 'numeric',\n month: 'long', // название месяца\n day: '2-digit', // день с ведущим нулем\n hour: '2-digit', // часы с ведущим нулем\n minute: '2-digit', // минуты с ведущим нулем\n hour12: false, // 24-часовой формат времени\n ...options // дополнительные настройки\n };\n\n // Язык, по умолчанию \"ru\" (русский)\n const locale = options.language || 'ru';\n\n // Используем Intl.DateTimeFormat для локализации\n const dateFormatter = new Intl.DateTimeFormat(locale, formatOptions);\n\n var format = {\n dateOnly: options.dateOnly || false,\n timeOnly: options.timeOnly || false,\n dayMonth: options.dayMonth || false,\n dayTime: options.dayTime || false,\n monthYear: options.monthYear || false,\n yearOnly: options.yearOnly || false,\n custom: options.custom || \"\",\n monthName: options.monthName || false, // Новый параметр для вывода названия месяца\n language: options.language || 'ru' // Язык, по умолчанию русский\n };\n\n if (format.dateOnly) {\n return dateFormatter.format(fixedDate).split(',')[0]; // Выводим только дату\n } else if (format.timeOnly) {\n return new Intl.DateTimeFormat(locale, { hour: '2-digit', minute: '2-digit', hour12: false }).format(fixedDate); // Выводим только время\n } else if (format.dayMonth) {\n return new Intl.DateTimeFormat(locale, { day: '2-digit', month: 'short' }).format(fixedDate); // день и месяц\n } else if (format.dayTime) {\n return new Intl.DateTimeFormat(locale, { day: '2-digit', month: 'short', hour: '2-digit', minute: '2-digit', hour12: false }).format(fixedDate); // день и время\n } else if (format.monthYear) {\n return new Intl.DateTimeFormat(locale, { month: 'long', year: 'numeric' }).format(fixedDate); // месяц и год\n } else if (format.yearOnly) {\n return new Intl.DateTimeFormat(locale, { year: 'numeric' }).format(fixedDate); // только год\n } else if (format.custom) {\n // Для пользовательского формата с подстановкой\n return format.custom.replace(\"yyyy\", fixedDate.getFullYear())\n .replace(\"mm\", (\"0\" + (fixedDate.getMonth() + 1)).slice(-2)) // добавление ведущего нуля\n .replace(\"dd\", (\"0\" + fixedDate.getDate()).slice(-2)) // добавление ведущего нуля\n .replace(\"hh\", (\"0\" + fixedDate.getHours()).slice(-2)) // добавление ведущего нуля\n .replace(\"min\", (\"0\" + fixedDate.getMinutes()).slice(-2)); // добавление ведущего нуля\n }\n\n // Вернуть полную дату в стандартном формате\n return dateFormatter.format(fixedDate);\n}\n\n\n const normalizeUrlParam = (param) => {\n if (!param) param = ''\n\n return param\n .toLowerCase()\n .replace(/ /g, '-')\n .replace(/[^a-z0-9-]/g, '');\n }\n\n const joinArrayToUrl = (arr) => {\n return arr.join('/')\n }\n\n const getMarketplaceLink = (categories, country, state, city) => {\n let country_normalized = country ? normalizeUrlParam(country) : '';\n let state_normalized = state ? normalizeUrlParam(state) : '';\n let city_normalized = city ? normalizeUrlParam(city) : '';\n\n let base = '/marketplace';\n base += country_normalized ? `/${country_normalized}` : '';\n base += country_normalized && state_normalized ? `/${state_normalized}` : '';\n base += country_normalized && state_normalized && city_normalized ? `/${city_normalized}` : '';\n\n if (categories && categories.length) {\n base += `?categories=${categories.join(\",\")}`;\n }\n\n return base;\n }\n\n const getSpotsLink = (country, state, city) => {\n let country_normalized = country ? normalizeUrlParam(country) : '';\n let state_normalized = state ? normalizeUrlParam(state) : '';\n let city_normalized = city ? normalizeUrlParam(city) : '';\n\n let base = '/spots';\n base += country_normalized ? `/${country_normalized}` : '';\n base += country_normalized && state_normalized ? `/${state_normalized}` : '';\n base += country_normalized && state_normalized && city_normalized ? `/${city_normalized}` : '';\n\n return base;\n }\n\n return {\n isAdmin,\n hasAccess,\n returnCurrency,\n formatPrice,\n formatDate,\n normalizeUrlParam,\n joinArrayToUrl,\n getMarketplaceLink,\n getSpotsLink\n }\n}\n\n// Экспорт для глобальной регистрации\nexport const globalMixins = {\n methods: useGlobalMixins()\n}"],"names":["isAdmin"],"mappings":"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"}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
+
const vue = require("vue");
|
4
|
+
const _hoisted_1 = {
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
6
|
+
width: "25",
|
7
|
+
height: "21",
|
8
|
+
viewBox: "0 0 25 21",
|
9
|
+
fill: "none"
|
10
|
+
};
|
11
|
+
const _hoisted_2 = ["fill"];
|
12
|
+
const _sfc_main = {
|
13
|
+
__name: "IconShopcartAdd",
|
14
|
+
props: {
|
15
|
+
fill: {
|
16
|
+
type: String,
|
17
|
+
default: "rgb(var(--black))"
|
18
|
+
}
|
19
|
+
},
|
20
|
+
setup(__props) {
|
21
|
+
return (_ctx, _cache) => {
|
22
|
+
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1, [
|
23
|
+
vue.createElementVNode("path", {
|
24
|
+
d: "M7.69141 15.582C6.99414 15.582 6.45638 15.3861 6.07812 14.9941C5.69987 14.6022 5.45833 14.0622 5.35352 13.374L4.02734 4.30957H1.4502C1.18587 4.30957 0.958008 4.21387 0.766602 4.02246C0.575195 3.8265 0.479492 3.59408 0.479492 3.3252C0.479492 3.05632 0.575195 2.82617 0.766602 2.63477C0.958008 2.4388 1.18587 2.34082 1.4502 2.34082H4.41699C4.93197 2.34082 5.29655 2.44564 5.51074 2.65527C5.72493 2.86035 5.86393 3.16797 5.92773 3.57812L6.05078 4.42578H14.2471C14.2288 4.5625 14.2152 4.69922 14.2061 4.83594C14.1969 4.97266 14.1924 5.10938 14.1924 5.24609C14.1924 6.04362 14.3405 6.79102 14.6367 7.48828C14.9329 8.18555 15.3454 8.80306 15.874 9.34082C16.4072 9.87858 17.0247 10.3024 17.7266 10.6123C18.4284 10.9176 19.1826 11.0771 19.9893 11.0908L19.9209 11.248C19.7432 11.5671 19.5016 11.8132 19.1963 11.9863C18.891 12.1595 18.5127 12.2461 18.0615 12.2461H7.17188L7.30859 13.1963C7.34049 13.3831 7.40885 13.5335 7.51367 13.6475C7.61849 13.7614 7.75977 13.8184 7.9375 13.8184H17.959C18.196 13.8184 18.4056 13.8981 18.5879 14.0576C18.7702 14.2171 18.8613 14.429 18.8613 14.6934C18.8613 14.9622 18.7702 15.1787 18.5879 15.3428C18.4056 15.5023 18.196 15.582 17.959 15.582H7.69141ZM6.84375 18.4873C6.84375 18.1865 6.91667 17.9108 7.0625 17.6602C7.21289 17.4141 7.41113 17.2181 7.65723 17.0723C7.90788 16.9264 8.18359 16.8535 8.48438 16.8535C8.78516 16.8535 9.05859 16.9264 9.30469 17.0723C9.55534 17.2181 9.75358 17.4141 9.89941 17.6602C10.0452 17.9108 10.1182 18.1865 10.1182 18.4873C10.1182 18.7926 10.0452 19.0684 9.89941 19.3145C9.75358 19.5651 9.55534 19.7611 9.30469 19.9023C9.05859 20.0482 8.78516 20.1211 8.48438 20.1211C8.18359 20.1211 7.90788 20.0482 7.65723 19.9023C7.41113 19.7611 7.21289 19.5651 7.0625 19.3145C6.91667 19.0684 6.84375 18.7926 6.84375 18.4873ZM14.8555 18.4873C14.8555 18.1865 14.9284 17.9108 15.0742 17.6602C15.2246 17.4141 15.4229 17.2181 15.6689 17.0723C15.9196 16.9264 16.1953 16.8535 16.4961 16.8535C16.8014 16.8535 17.0771 16.9264 17.3232 17.0723C17.5693 17.2181 17.7653 17.4141 17.9111 17.6602C18.0615 17.9108 18.1367 18.1865 18.1367 18.4873C18.1367 18.7926 18.0615 19.0684 17.9111 19.3145C17.7653 19.5651 17.5693 19.7611 17.3232 19.9023C17.0771 20.0482 16.8014 20.1211 16.4961 20.1211C16.1953 20.1211 15.9196 20.0482 15.6689 19.9023C15.4229 19.7611 15.2246 19.5651 15.0742 19.3145C14.9284 19.0684 14.8555 18.7926 14.8555 18.4873ZM20.0439 9.82617C19.415 9.82617 18.8226 9.70768 18.2666 9.4707C17.7152 9.23372 17.2275 8.90332 16.8037 8.47949C16.3799 8.05566 16.0472 7.56803 15.8057 7.0166C15.5687 6.46061 15.4502 5.86816 15.4502 5.23926C15.4502 4.61035 15.5687 4.02018 15.8057 3.46875C16.0472 2.91732 16.3799 2.42969 16.8037 2.00586C17.2275 1.58203 17.7152 1.25163 18.2666 1.01465C18.8226 0.773112 19.415 0.652344 20.0439 0.652344C20.6729 0.652344 21.263 0.773112 21.8145 1.01465C22.3704 1.25163 22.8581 1.58203 23.2773 2.00586C23.7012 2.42513 24.0316 2.91276 24.2686 3.46875C24.5055 4.02018 24.624 4.61035 24.624 5.23926C24.624 5.86361 24.5033 6.45378 24.2617 7.00977C24.0247 7.5612 23.6943 8.04883 23.2705 8.47266C22.8467 8.89648 22.3568 9.22917 21.8008 9.4707C21.2493 9.70768 20.6637 9.82617 20.0439 9.82617ZM20.0439 8.19922C20.2445 8.19922 20.404 8.13997 20.5225 8.02148C20.641 7.89844 20.7002 7.73893 20.7002 7.54297V5.89551H22.3408C22.5368 5.89551 22.694 5.83626 22.8125 5.71777C22.9355 5.59928 22.9971 5.44206 22.9971 5.24609C22.9971 5.04557 22.9355 4.88607 22.8125 4.76758C22.694 4.64453 22.5368 4.58301 22.3408 4.58301H20.7002V2.95605C20.7002 2.75553 20.641 2.59603 20.5225 2.47754C20.404 2.35905 20.2445 2.2998 20.0439 2.2998C19.8434 2.2998 19.6839 2.36133 19.5654 2.48438C19.4469 2.60286 19.3877 2.76009 19.3877 2.95605V4.58301H17.7539C17.5534 4.58301 17.3916 4.64453 17.2686 4.76758C17.1501 4.88607 17.0908 5.04557 17.0908 5.24609C17.0908 5.44206 17.1523 5.59928 17.2754 5.71777C17.3984 5.83626 17.5579 5.89551 17.7539 5.89551H19.3877V7.54297C19.3877 7.73893 19.4469 7.89844 19.5654 8.02148C19.6839 8.13997 19.8434 8.19922 20.0439 8.19922Z",
|
25
|
+
fill: __props.fill,
|
26
|
+
class: vue.normalizeClass(_ctx.$attrs.class)
|
27
|
+
}, null, 10, _hoisted_2)
|
28
|
+
]);
|
29
|
+
};
|
30
|
+
}
|
31
|
+
};
|
32
|
+
exports.default = _sfc_main;
|
33
|
+
//# sourceMappingURL=IconShopcartAdd.vue.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"IconShopcartAdd.vue.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import { openBlock, createElementBlock, createElementVNode, normalizeClass } from "vue";
|
2
|
+
const _hoisted_1 = {
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
4
|
+
width: "25",
|
5
|
+
height: "21",
|
6
|
+
viewBox: "0 0 25 21",
|
7
|
+
fill: "none"
|
8
|
+
};
|
9
|
+
const _hoisted_2 = ["fill"];
|
10
|
+
const _sfc_main = {
|
11
|
+
__name: "IconShopcartAdd",
|
12
|
+
props: {
|
13
|
+
fill: {
|
14
|
+
type: String,
|
15
|
+
default: "rgb(var(--black))"
|
16
|
+
}
|
17
|
+
},
|
18
|
+
setup(__props) {
|
19
|
+
return (_ctx, _cache) => {
|
20
|
+
return openBlock(), createElementBlock("svg", _hoisted_1, [
|
21
|
+
createElementVNode("path", {
|
22
|
+
d: "M7.69141 15.582C6.99414 15.582 6.45638 15.3861 6.07812 14.9941C5.69987 14.6022 5.45833 14.0622 5.35352 13.374L4.02734 4.30957H1.4502C1.18587 4.30957 0.958008 4.21387 0.766602 4.02246C0.575195 3.8265 0.479492 3.59408 0.479492 3.3252C0.479492 3.05632 0.575195 2.82617 0.766602 2.63477C0.958008 2.4388 1.18587 2.34082 1.4502 2.34082H4.41699C4.93197 2.34082 5.29655 2.44564 5.51074 2.65527C5.72493 2.86035 5.86393 3.16797 5.92773 3.57812L6.05078 4.42578H14.2471C14.2288 4.5625 14.2152 4.69922 14.2061 4.83594C14.1969 4.97266 14.1924 5.10938 14.1924 5.24609C14.1924 6.04362 14.3405 6.79102 14.6367 7.48828C14.9329 8.18555 15.3454 8.80306 15.874 9.34082C16.4072 9.87858 17.0247 10.3024 17.7266 10.6123C18.4284 10.9176 19.1826 11.0771 19.9893 11.0908L19.9209 11.248C19.7432 11.5671 19.5016 11.8132 19.1963 11.9863C18.891 12.1595 18.5127 12.2461 18.0615 12.2461H7.17188L7.30859 13.1963C7.34049 13.3831 7.40885 13.5335 7.51367 13.6475C7.61849 13.7614 7.75977 13.8184 7.9375 13.8184H17.959C18.196 13.8184 18.4056 13.8981 18.5879 14.0576C18.7702 14.2171 18.8613 14.429 18.8613 14.6934C18.8613 14.9622 18.7702 15.1787 18.5879 15.3428C18.4056 15.5023 18.196 15.582 17.959 15.582H7.69141ZM6.84375 18.4873C6.84375 18.1865 6.91667 17.9108 7.0625 17.6602C7.21289 17.4141 7.41113 17.2181 7.65723 17.0723C7.90788 16.9264 8.18359 16.8535 8.48438 16.8535C8.78516 16.8535 9.05859 16.9264 9.30469 17.0723C9.55534 17.2181 9.75358 17.4141 9.89941 17.6602C10.0452 17.9108 10.1182 18.1865 10.1182 18.4873C10.1182 18.7926 10.0452 19.0684 9.89941 19.3145C9.75358 19.5651 9.55534 19.7611 9.30469 19.9023C9.05859 20.0482 8.78516 20.1211 8.48438 20.1211C8.18359 20.1211 7.90788 20.0482 7.65723 19.9023C7.41113 19.7611 7.21289 19.5651 7.0625 19.3145C6.91667 19.0684 6.84375 18.7926 6.84375 18.4873ZM14.8555 18.4873C14.8555 18.1865 14.9284 17.9108 15.0742 17.6602C15.2246 17.4141 15.4229 17.2181 15.6689 17.0723C15.9196 16.9264 16.1953 16.8535 16.4961 16.8535C16.8014 16.8535 17.0771 16.9264 17.3232 17.0723C17.5693 17.2181 17.7653 17.4141 17.9111 17.6602C18.0615 17.9108 18.1367 18.1865 18.1367 18.4873C18.1367 18.7926 18.0615 19.0684 17.9111 19.3145C17.7653 19.5651 17.5693 19.7611 17.3232 19.9023C17.0771 20.0482 16.8014 20.1211 16.4961 20.1211C16.1953 20.1211 15.9196 20.0482 15.6689 19.9023C15.4229 19.7611 15.2246 19.5651 15.0742 19.3145C14.9284 19.0684 14.8555 18.7926 14.8555 18.4873ZM20.0439 9.82617C19.415 9.82617 18.8226 9.70768 18.2666 9.4707C17.7152 9.23372 17.2275 8.90332 16.8037 8.47949C16.3799 8.05566 16.0472 7.56803 15.8057 7.0166C15.5687 6.46061 15.4502 5.86816 15.4502 5.23926C15.4502 4.61035 15.5687 4.02018 15.8057 3.46875C16.0472 2.91732 16.3799 2.42969 16.8037 2.00586C17.2275 1.58203 17.7152 1.25163 18.2666 1.01465C18.8226 0.773112 19.415 0.652344 20.0439 0.652344C20.6729 0.652344 21.263 0.773112 21.8145 1.01465C22.3704 1.25163 22.8581 1.58203 23.2773 2.00586C23.7012 2.42513 24.0316 2.91276 24.2686 3.46875C24.5055 4.02018 24.624 4.61035 24.624 5.23926C24.624 5.86361 24.5033 6.45378 24.2617 7.00977C24.0247 7.5612 23.6943 8.04883 23.2705 8.47266C22.8467 8.89648 22.3568 9.22917 21.8008 9.4707C21.2493 9.70768 20.6637 9.82617 20.0439 9.82617ZM20.0439 8.19922C20.2445 8.19922 20.404 8.13997 20.5225 8.02148C20.641 7.89844 20.7002 7.73893 20.7002 7.54297V5.89551H22.3408C22.5368 5.89551 22.694 5.83626 22.8125 5.71777C22.9355 5.59928 22.9971 5.44206 22.9971 5.24609C22.9971 5.04557 22.9355 4.88607 22.8125 4.76758C22.694 4.64453 22.5368 4.58301 22.3408 4.58301H20.7002V2.95605C20.7002 2.75553 20.641 2.59603 20.5225 2.47754C20.404 2.35905 20.2445 2.2998 20.0439 2.2998C19.8434 2.2998 19.6839 2.36133 19.5654 2.48438C19.4469 2.60286 19.3877 2.76009 19.3877 2.95605V4.58301H17.7539C17.5534 4.58301 17.3916 4.64453 17.2686 4.76758C17.1501 4.88607 17.0908 5.04557 17.0908 5.24609C17.0908 5.44206 17.1523 5.59928 17.2754 5.71777C17.3984 5.83626 17.5579 5.89551 17.7539 5.89551H19.3877V7.54297C19.3877 7.73893 19.4469 7.89844 19.5654 8.02148C19.6839 8.13997 19.8434 8.19922 20.0439 8.19922Z",
|
23
|
+
fill: __props.fill,
|
24
|
+
class: normalizeClass(_ctx.$attrs.class)
|
25
|
+
}, null, 10, _hoisted_2)
|
26
|
+
]);
|
27
|
+
};
|
28
|
+
}
|
29
|
+
};
|
30
|
+
export {
|
31
|
+
_sfc_main as default
|
32
|
+
};
|
33
|
+
//# sourceMappingURL=IconShopcartAdd.vue.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"IconShopcartAdd.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|