@ozdao/prometheus-framework 0.2.319 → 0.2.321
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/main.css +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Button/Button.vue2.js +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +1 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs +34 -5
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +35 -6
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.cjs +34 -5
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.js +35 -6
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.js.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +2 -2
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Profile.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ProfileEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +2 -2
- 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/auth/views/components/sections/SliderFeatures.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/sections/SliderFeatures.vue.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 +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/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 +3 -3
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +3 -3
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +2 -2
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +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 +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +0 -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 +0 -1
- package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.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 +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +2 -2
- 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/landing/components/sections/SectionGuide.vue.cjs +3 -49
- 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 +3 -49
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionGuide.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionOverview.vue.cjs +2 -2
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionOverview.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/marketplace/marketplace.client.cjs +29 -4
- package/dist/prometheus-framework/src/modules/marketplace/marketplace.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/marketplace/marketplace.client.js +35 -10
- package/dist/prometheus-framework/src/modules/marketplace/marketplace.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/marketplace/views/router/marketplace.router.cjs +46 -0
- package/dist/prometheus-framework/src/modules/marketplace/views/router/marketplace.router.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/marketplace/views/router/marketplace.router.js +46 -0
- package/dist/prometheus-framework/src/modules/marketplace/views/router/marketplace.router.js.map +1 -0
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +3 -3
- 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/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/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 +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js +2 -2
- 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 +761 -768
- package/dist/prometheus-framework/src/modules/pages/pages.client.js +761 -768
- 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/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/pages/Categories.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +4 -4
- 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/ProductEdit.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +2 -2
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +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 +2 -2
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +2 -2
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +3 -3
- 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 +4 -4
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +4 -4
- package/dist/prometheus-framework.cjs.js +6 -6
- package/dist/prometheus-framework.es.js +1894 -1873
- package/package.json +1 -1
- package/src/components/Spoiler/Spoiler.vue +49 -27
- package/src/modules/auth/views/components/sections/SliderFeatures.vue +1 -7
- package/src/modules/events/components/sections/List.vue +0 -18
- package/src/modules/globals/views/components/layouts/Client.vue +28 -1
- package/src/modules/landing/components/sections/SectionGuide.vue +3 -49
- package/src/modules/landing/components/sections/SectionOverview.vue +2 -2
- package/src/modules/marketplace/marketplace.client.js +1 -1
package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Client.vue.cjs","sources":["../../../../../../../../src/modules/globals/views/components/layouts/Client.vue"],"sourcesContent":["<template>\n\t<div \n\t\tid=\"app-wrapper\"\n\t\tclass=\"pos-relative o-hidden\"\n\t\t:class=\"{\n \t\t'pd-t-extra': MOBILE_APP === 'ios', \n\t\t\t'bg-light': headerTheme === 'light',\n\t\t\t'bg-dark': headerTheme === 'dark' \n \t}\"\n\t>\n\t\t<transition name=\"moveFromTop\" appear>\n\t\t\t<Loader v-if=\"!page\" class=\"pos-fixed\"/>\n\t\t</transition>\n\n\t\t\n <component\n\t\t\tv-if=\"!MOBILE_APP && route.meta.header.component\"\n ref=\"header\" \n :is=\"route.meta.header.component\"\n :theme=\"headerTheme\"\n :logotype=\"route.meta.header.logotype\"\n :location=\"route.meta.header.location\"\n />\n\n\t\t<transition name=\"moveFromTop\" mode=\"out-in\" appear>\n\t\t\t<component\n \tv-if=\"MOBILE_APP && !route.meta.hideNavigationBar\"\n :is=\"route.meta.navigationbar\"\n :logotype=\"route.meta.header.logotype\"\n />\n\t\t</transition>\n\n\t <!-- <Popup \n\t \tv-if=\"route.meta.header.location\"\n\t \t@close-popup=\"closeLocationPopup\" \n\t \t:isPopupOpen=\"globals.state.isOpenLocationPopup\"\n\t \tclass=\"bg-white pd-semi w-m-33r radius-big\"\n\t >\t\n\t \t<LocationSelection />\n\t </Popup> -->\n\n\t\t<section \n\t\t\tid=\"screen\" \n\t\t\tref=\"screen\"\n\t\t\t@scroll=\"handleScroll\"\n\t\t\tclass=\"transition-ease-in-out o-hidden w-100 pos-relative\"\n\t\t\t:class=\"{\n\t\t\t\t'': MOBILE_APP === 'ios',\n\t\t\t}\"\n\t\t>\n\t\t\t<ShopCart />\n\n\t\t\t<!-- <section v-if=\"!route.meta?.breadcrumbs?.hide\" class=\"pd-thin pd-b-zero\">\n\t\t\t\t<Breadcrumbs \n\t\t\t\t\tv-if=\"!MOBILE_APP\"\n\t\t\t\t\tclass=\"bg-light pd-small radius-big\"\n\t\t\t\t/>\n\t\t\t</section> -->\n\n\t\t\t<Suspense>\n\t\t\t\t<router-view \n\t\t\t\t\tv-slot=\"{ Component, route }\" \n\t\t\t\t\t:class=\"{\n\t\t\t\t\t\t'scroll-hide': MOBILE_APP,\n\t\t\t\t\t}\"\n\t\t\t\t\tclass=\"o-y-scroll o-x-hidden flex flex-column h-100\"\n\t\t\t\t>\n\t\t\t\t\t<Status \n\t\t\t\t\t\tv-if=\"globals.state.error.show\" \n\t\t\t\t\t\t:data=\"globals.state.error\"\n\t\t\t\t\t\t@close=\"globals.state.error.show = false\"\n\t\t\t\t\t\tclass=\"z-index-7\" \n\t\t\t\t\t/>\n\n\t\t\t\t\t<transition @before-enter=\"scrollTop\" name=\"scaleTransition\" mode=\"out-in\" appear>\n\t\t \t<component \n\t\t \t\tref=\"page\" \n\t\t \t\t:is=\"Component\" \n\t\t \t\t:key=\"route.path\"\n\t\t \t\tclass=\"h-min-100\"\n\t\t \t/>\n\t\t \t<!-- Key пока выключил непонятно какие проблемы это вызовет -->\n\t\t \t<!-- -->\n\t\t </transition>\n\n\t\t <!-- <Footer /> -->\n\t\t\t\t</router-view>\n\t\t\t</Suspense>\n \n\t\t</section>\n\n\t\t<router-view \n\t\t\tname=\"defaultBottom\"\n\t\t\tv-slot=\"{ Component, route }\" \n\t\t>\n\t\t\t<component \n \t\t:is=\"Component\" \n \t/>\n\t\t</router-view>\n\n <component \n v-if=\"MOBILE_APP && route.meta.title_hide\"\n class=\"z-index-2\"\n \t:is=\"route.meta.bottombar\"\n />\n\t</div>\n</template>\n\n\n\n<script setup>\n\timport { computed, ref, onMounted } from 'vue';\n\t// Router\n\timport { useRoute } from 'vue-router';\n\t// Store\n\timport * as globals from '@pf/src/modules/globals/views/store/globals';\n\t// Partials\n\timport Status from '@pf/src/components/Status/Status.vue';\n\timport Popup from '@pf/src/components/Popup/Popup.vue';\n\t// import Breadcrumbs from '@pf/src/components/Breadcrumbs/Breadcrumbs.vue'\n\timport Loader from '@pf/src/components/Loader/Loader.vue';\n\n\timport NavigationBar from '@pf/src/modules/globals/views/components/partials/NavigationBar.vue';\n\timport LocationSelection from '@pf/src/modules/globals/views/components/partials/LocationSelection.vue';\n\t// import Footer from '@pf/src/modules/globals/views/components/partials/Footer.vue'\n\n\timport ShopCart from '@pf/src/modules/orders/components/partials/ShopCart.vue';\n\t/////////////////////////////\n // LOADING\n /////////////////////////////\n // State\n let show = ref(false)\n // Preloader\n const page = ref(null)\n\t/////////////////////////////\n\t// CREATED\n\t/////////////////////////////\n\tconst route = useRoute()\n\t// const router = useRouter()\n\t// Ref Code\n\tconst referalCode = ref(route.query.referalCode);\n\t/////////////////////////////\n\t// Methods\n\t/////////////////////////////\n\tfunction closeLocationPopup() {\n\t globals.state.isOpenLocationPopup = false;\n\t}\n\tfunction scrollTop(){\n\t\tdocument.getElementById('app').scrollIntoView();\n\t}\n\t// Scrolling header\n\tconst scrollOffset = ref(0)\n\tlet isScrolled = false\n\tconst header = ref(null)\n\n\tconst headerTheme = computed(() => {\n\t\tif (scrollOffset.value > 50) {\n\t\t\treturn route.meta.header_theme || 'light'\n\t\t} else {\n\t\t\treturn route.meta.header_theme || 'light'\n\t\t}\n\t})\n\n\tconst handleScroll = () => {\n\t scrollOffset.value = event.target.scrollTop\n\t};\n\n\tonMounted(async () => {\n\t\t \n\t\tif ('serviceWorker' in navigator) {\n\t \twindow.addEventListener('load', () => {\n\t \tnavigator.serviceWorker.register('/service-worker.js').then(registration => {\n\t \tconsole.log('SW registered: ', registration);\n\t \t}).catch(registrationError => {\n\t \tconsole.log('SW registration failed: ', registrationError);\n\t \t});\n\t });\n\t \t}\n\t\t\n\t\tconst savedPosition = localStorage.getItem('position');\n\n\t if (savedPosition) {\n\t globals.state.position = JSON.parse(savedPosition);\n\t } else {\n \t\tglobals.state.isOpenLocationPopup = true;\n\t }\n\n\t\tif (referalCode.value) {\n\t\t localStorage.setItem('referalCode', referalCode.value);\n\t\t}\n\n\t\tif (page.value) show.value = true\n\t});\n</script>\n\n<style lang=\"scss\">;\t\n\t.moveFromTop-enter-active,\n\t.moveFromTop-leave-active {\n\t\ttransform: translateY(0);\n\t\topacity: 1;\n\t\ttransition: all 0.5s ease; \n\t\t\n\t}\n\t.moveFromTop-enter-from,\n\t.moveFromTop-leave-to {\n\t\ttransform: translateY(-1rem);\n\t\topacity: 0;\n\t\ttransition: all 0.5s ease;\n\t}\n\n\t.moveFromTopAbsolute-enter-active,\n\t.moveFromTopAbsolute-leave-active {\n\t\ttransform: translateY(0);\n\t\topacity: 1;\n\t\ttransition: all 0.5s ease; \n\t\t\n\t}\n\t.moveFromTopAbsolute-enter-from,\n\t.moveFromTopAbsolute-leave-to {\n\t\tposition: absolute;\n\t\ttransform: translateY(-1rem);\n\t\topacity: 0;\n\t\ttransition: all 0.5s ease;\n\t}\n\t.ScaleOut-enter-active,\n\t.ScaleOut-leave-active {\n\t\topacity: 1;\n\t\ttransform: scale(1);\n\t\ttransition: all 0.3s ease; \n\t\t\n\t}\n\t.ScaleOut-enter-from,\n\t.ScaleOut-leave-to {\n\t\topacity: 0;\n\t\ttransform: scale(0.9);\n\t\ttransition: all 0.3s ease;\n\t}\n\t.slide-fade-enter-active {\n\t\t// min-height: 100vh;\n\t transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n\t}\n\n\t.slide-fade-leave-active {\n\t\t// min-height: 100vh;\n\t transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n\t}\n\n\t.slide-fade-enter-from,\n\t.slide-fade-leave-to {\n\t\tmin-height: 0;\n\t transform: translateX(20px);\n\t opacity: 0;\n\t left: 0;\n\t top: 0;\n\t}\n\n\t.scaleTransition-5px-enter-active,\n .scaleTransition-5px-leave-active {\n transform: translateY(0px); \n opacity: 1;\n z-index: 1;\n transition: all 0.2s ease;\n }\n\n .scaleTransition-5px-enter-from,\n .scaleTransition-5px-leave-to {\n opacity: 0;\n z-index: 0;\n position: absolute;\n transform: translateY(-30px); \n transition: all 0.2s ease;\n }\n\n .scaleTransition-enter-from,\n .scaleTransition-leave-to {\n opacity: 0;\n z-index: 0;\n position: absolute;\n width: inherit;\n height: inherit;\n display: block;\n transform: translateY(30px); \n transition: all 0.5s ease;\n }\n\n .scaleTransition-enter-active,\n .scaleTransition-leave-active {\n transform: translateY(0px); \n opacity: 1;\n z-index: 1;\n transition: all 0.5s ease;\n }\n .scaleTransition-enter-from,\n .scaleTransition-leave-to {\n opacity: 0;\n z-index: 0;\n position: absolute;\n width: inherit;\n height: inherit;\n display: block;\n transform: translateY(30px); \n transition: all 0.5s ease;\n }\n\n .scaleIn-enter-active,\n .scaleIn-leave-active {\n // background: red;\n transition: all 0.5s ease;\n > section,div { transform-origin: 0 0; transform: translateZ(0px); transition: all 0.5s ease; }\n }\n .scaleIn-enter-from,\n .scaleIn-leave-to {\n opacity: 0;\n transform: scale(0.95);\n > section,div { transform: translateZ(-30px); transition: all 0.5s ease; }\n }\n</style>"],"names":["ref","useRoute","computed","onMounted","globals.state"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAmIE,QAAI,OAAOA,IAAG,IAAC,KAAK;AAEpB,UAAM,OAAOA,IAAG,IAAC,IAAI;AAItB,UAAM,QAAQC,UAAAA,SAAU;AAGxB,UAAM,cAAcD,IAAG,IAAC,MAAM,MAAM,WAAW;AAO/C,aAAS,YAAW;AACnB,eAAS,eAAe,KAAK,EAAE,eAAc;AAAA,IAC7C;AAED,UAAM,eAAeA,IAAG,IAAC,CAAC;AAE1B,UAAM,SAASA,IAAG,IAAC,IAAI;AAEvB,UAAM,cAAcE,IAAAA,SAAS,MAAM;AAClC,UAAI,aAAa,QAAQ,IAAI;AAC5B,eAAO,MAAM,KAAK,gBAAiB;AAAA,MACtC,OAAS;AACN,eAAO,MAAM,KAAK,gBAAgB;AAAA,MAClC;AAAA,IACH,CAAE;AAED,UAAM,eAAe,MAAM;AACzB,mBAAa,QAAQ,MAAM,OAAO;AAAA,IACrC;AAECC,QAAAA,UAAU,YAAY;AAErB,UAAI,mBAAmB,WAAW;AAC/B,eAAO,iBAAiB,QAAQ,MAAM;AACpC,oBAAU,cAAc,SAAS,oBAAoB,EAAE,KAAK,kBAAgB;AAC1E,oBAAQ,IAAI,mBAAmB,YAAY;AAAA,UACpD,CAAQ,EAAE,MAAM,uBAAqB;AAC5B,oBAAQ,IAAI,4BAA4B,iBAAiB;AAAA,UAClE,CAAQ;AAAA,QACR,CAAK;AAAA,MACD;AAEF,YAAM,gBAAgB,aAAa,QAAQ,UAAU;AAEpD,UAAI,eAAe;AACjBC,gBAAAA,MAAc,WAAW,KAAK,MAAM,aAAa;AAAA,MACtD,OAAU;AACNA,gBAAa,MAAC,sBAAsB;AAAA,MACpC;AAEF,UAAI,YAAY,OAAO;AACrB,qBAAa,QAAQ,eAAe,YAAY,KAAK;AAAA,MACtD;AAED,UAAI,KAAK,MAAO,MAAK,QAAQ;AAAA,IAC/B,CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
1
|
+
{"version":3,"file":"Client.vue.cjs","sources":["../../../../../../../../src/modules/globals/views/components/layouts/Client.vue"],"sourcesContent":["<template>\n\t<div \n\t\tid=\"app-wrapper\"\n\t\tclass=\"pos-relative o-hidden\"\n\t\t:class=\"{\n \t\t'pd-t-extra': MOBILE_APP === 'ios', \n\t\t\t'bg-light': headerTheme === 'light',\n\t\t\t'bg-dark': headerTheme === 'dark' \n \t}\"\n\t>\n\t\t<transition name=\"moveFromTop\" appear>\n\t\t\t<Loader v-if=\"!page\" class=\"pos-fixed\"/>\n\t\t</transition>\n\n\t\t\n <component\n\t\t\tv-if=\"!MOBILE_APP && route.meta.header.component\"\n ref=\"header\" \n :is=\"route.meta.header.component\"\n :theme=\"headerTheme\"\n :logotype=\"route.meta.header.logotype\"\n :location=\"route.meta.header.location\"\n />\n\n\t\t<transition name=\"moveFromTop\" mode=\"out-in\" appear>\n\t\t\t<component\n \tv-if=\"MOBILE_APP && !route.meta.hideNavigationBar\"\n :is=\"route.meta.navigationbar\"\n :logotype=\"route.meta.header.logotype\"\n />\n\t\t</transition>\n\n\t <!-- <Popup \n\t \tv-if=\"route.meta.header.location\"\n\t \t@close-popup=\"closeLocationPopup\" \n\t \t:isPopupOpen=\"globals.state.isOpenLocationPopup\"\n\t \tclass=\"bg-white pd-semi w-m-33r radius-big\"\n\t >\t\n\t \t<LocationSelection />\n\t </Popup> -->\n\n\t\t<section \n\t\t\tid=\"screen\" \n\t\t\tref=\"screen\"\n\t\t\t@scroll=\"handleScroll\"\n\t\t\tclass=\"transition-ease-in-out o-hidden w-100 pos-relative\"\n\t\t\t:class=\"{\n\t\t\t\t'': MOBILE_APP === 'ios',\n\t\t\t}\"\n\t\t>\n\t\t\t<ShopCart />\n\n\t\t\t<!-- <section v-if=\"!route.meta?.breadcrumbs?.hide\" class=\"pd-thin pd-b-zero\">\n\t\t\t\t<Breadcrumbs \n\t\t\t\t\tv-if=\"!MOBILE_APP\"\n\t\t\t\t\tclass=\"bg-light pd-small radius-big\"\n\t\t\t\t/>\n\t\t\t</section> -->\n\n\t\t\t<Suspense>\n\t\t\t\t<router-view \n\t\t\t\t\tv-slot=\"{ Component, route }\" \n\t\t\t\t\t:class=\"{\n\t\t\t\t\t\t'scroll-hide': MOBILE_APP,\n\t\t\t\t\t}\"\n\t\t\t\t\tclass=\"o-y-scroll o-x-hidden flex flex-column h-100\"\n\t\t\t\t>\n\t\t\t\t\t<Status \n\t\t\t\t\t\tv-if=\"globals.state.error.show\" \n\t\t\t\t\t\t:data=\"globals.state.error\"\n\t\t\t\t\t\t@close=\"globals.state.error.show = false\"\n\t\t\t\t\t\tclass=\"z-index-7\" \n\t\t\t\t\t/>\n\n\t\t\t\t\t<transition @before-enter=\"scrollTop\" name=\"scaleTransition\" mode=\"out-in\" appear>\n\t\t \t<component \n\t\t \t\tref=\"page\" \n\t\t \t\t:is=\"Component\" \n\t\t \t\t:key=\"route.path\"\n\t\t \t\tclass=\"h-min-100\"\n\t\t \t/>\n\t\t \t<!-- Key пока выключил непонятно какие проблемы это вызовет -->\n\t\t \t<!-- -->\n\t\t </transition>\n\n\t\t <!-- <Footer /> -->\n\t\t\t\t</router-view>\n\t\t\t</Suspense>\n \n\t\t</section>\n\n\t\t<router-view \n\t\t\tname=\"defaultBottom\"\n\t\t\tv-slot=\"{ Component, route }\" \n\t\t>\n\t\t\t<component \n \t\t:is=\"Component\" \n \t/>\n\t\t</router-view>\n\n <component \n v-if=\"MOBILE_APP && route.meta.title_hide\"\n class=\"z-index-2\"\n \t:is=\"route.meta.bottombar\"\n />\n\t</div>\n</template>\n\n\n\n<script setup>\n\timport { computed, ref, onMounted } from 'vue';\n\t// Router\n\timport { useRoute } from 'vue-router';\n\t// Store\n\timport * as globals from '@pf/src/modules/globals/views/store/globals';\n\t// Partials\n\timport Status from '@pf/src/components/Status/Status.vue';\n\timport Popup from '@pf/src/components/Popup/Popup.vue';\n\t// import Breadcrumbs from '@pf/src/components/Breadcrumbs/Breadcrumbs.vue'\n\timport Loader from '@pf/src/components/Loader/Loader.vue';\n\n\timport NavigationBar from '@pf/src/modules/globals/views/components/partials/NavigationBar.vue';\n\timport LocationSelection from '@pf/src/modules/globals/views/components/partials/LocationSelection.vue';\n\t// import Footer from '@pf/src/modules/globals/views/components/partials/Footer.vue'\n\n\timport ShopCart from '@pf/src/modules/orders/components/partials/ShopCart.vue';\n\t/////////////////////////////\n // LOADING\n /////////////////////////////\n // State\n let show = ref(false)\n // Preloader\n const page = ref(null)\n\t/////////////////////////////\n\t// CREATED\n\t/////////////////////////////\n\tconst route = useRoute()\n\t// const router = useRouter()\n\t// Ref Code\n\tconst referalCode = ref(route.query.referalCode);\n\t/////////////////////////////\n\t// Methods\n\t/////////////////////////////\n\tfunction closeLocationPopup() {\n\t globals.state.isOpenLocationPopup = false;\n\t}\n\tfunction scrollTop(){\n\t\tdocument.getElementById('app').scrollIntoView();\n\t}\n\t// Scrolling header\n\tconst scrollOffset = ref(0)\n\tlet isScrolled = false\n\tconst header = ref(null)\n\n\tconst headerTheme = computed(() => {\n\t\tif (scrollOffset.value > 50) {\n\t\t\treturn route.meta.header_theme || 'light'\n\t\t} else {\n\t\t\treturn route.meta.header_theme || 'light'\n\t\t}\n\t})\n\n\tconst handleScroll = () => {\n\t scrollOffset.value = event.target.scrollTop\n\t};\n\n\tonMounted(async () => {\n\t\t \n\t\tif ('serviceWorker' in navigator) {\n\t \twindow.addEventListener('load', () => {\n\t \tnavigator.serviceWorker.register('/service-worker.js').then(registration => {\n\t \tconsole.log('SW registered: ', registration);\n\t \t}).catch(registrationError => {\n\t \tconsole.log('SW registration failed: ', registrationError);\n\t \t});\n\t });\n\t \t}\n\t\t\n\t\tconst savedPosition = localStorage.getItem('position');\n\n\t if (savedPosition) {\n\t globals.state.position = JSON.parse(savedPosition);\n\t } else {\n \t\tglobals.state.isOpenLocationPopup = true;\n\t }\n\n\t\tif (referalCode.value) {\n\t\t localStorage.setItem('referalCode', referalCode.value);\n\t\t}\n\n\t\tif (page.value) show.value = true\n\t});\n</script>\n\n<style lang=\"scss\">\n\t.fade-enter-active, .fade-leave-active {\n\t transition: opacity .5s;\n\t}\n\t.fade-enter, .fade-leave-to /* .fade-leave-active в версии 2.1.8+ */ {\n\t opacity: 0;\n\t}\n\n\t\n .fade-move,\n .fade-enter-active,\n .fade-leave-active {\n transition: all 0.5s cubic-bezier(0.55, 0, 0.1, 1);\n }\n\n /* 2. declare enter from and leave to state */\n .fade-enter-from,\n .fade-leave-to {\n opacity: 0;\n transform: translate(30px, 0);\n }\n\n /* 3. ensure leaving items are taken out of layout flow so that moving\n animations can be calculated correctly. */\n .fade-leave-active {\n position: absolute;\n }\n\n\t.moveFromTop-enter-active,\n\t.moveFromTop-leave-active {\n\t\ttransform: translateY(0);\n\t\topacity: 1;\n\t\ttransition: all 0.5s ease; \n\t\t\n\t}\n\t.moveFromTop-enter-from,\n\t.moveFromTop-leave-to {\n\t\ttransform: translateY(-1rem);\n\t\topacity: 0;\n\t\ttransition: all 0.5s ease;\n\t}\n\n\t.moveFromTopAbsolute-enter-active,\n\t.moveFromTopAbsolute-leave-active {\n\t\ttransform: translateY(0);\n\t\topacity: 1;\n\t\ttransition: all 0.5s ease; \n\t\t\n\t}\n\t.moveFromTopAbsolute-enter-from,\n\t.moveFromTopAbsolute-leave-to {\n\t\tposition: absolute;\n\t\ttransform: translateY(-1rem);\n\t\topacity: 0;\n\t\ttransition: all 0.5s ease;\n\t}\n\t.ScaleOut-enter-active,\n\t.ScaleOut-leave-active {\n\t\topacity: 1;\n\t\ttransform: scale(1);\n\t\ttransition: all 0.3s ease; \n\t\t\n\t}\n\t.ScaleOut-enter-from,\n\t.ScaleOut-leave-to {\n\t\topacity: 0;\n\t\ttransform: scale(0.9);\n\t\ttransition: all 0.3s ease;\n\t}\n\t.slide-fade-enter-active {\n\t\t// min-height: 100vh;\n\t transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n\t}\n\n\t.slide-fade-leave-active {\n\t\t// min-height: 100vh;\n\t transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n\t}\n\n\t.slide-fade-enter-from,\n\t.slide-fade-leave-to {\n\t\tmin-height: 0;\n\t transform: translateX(20px);\n\t opacity: 0;\n\t left: 0;\n\t top: 0;\n\t}\n\n\t.scaleTransition-5px-enter-active,\n .scaleTransition-5px-leave-active {\n transform: translateY(0px); \n opacity: 1;\n z-index: 1;\n transition: all 0.2s ease;\n }\n\n .scaleTransition-5px-enter-from,\n .scaleTransition-5px-leave-to {\n opacity: 0;\n z-index: 0;\n position: absolute;\n transform: translateY(-30px); \n transition: all 0.2s ease;\n }\n\n .scaleTransition-enter-from,\n .scaleTransition-leave-to {\n opacity: 0;\n z-index: 0;\n position: absolute;\n width: inherit;\n height: inherit;\n display: block;\n transform: translateY(30px); \n transition: all 0.5s ease;\n }\n\n .scaleTransition-enter-active,\n .scaleTransition-leave-active {\n transform: translateY(0px); \n opacity: 1;\n z-index: 1;\n transition: all 0.5s ease;\n }\n .scaleTransition-enter-from,\n .scaleTransition-leave-to {\n opacity: 0;\n z-index: 0;\n position: absolute;\n width: inherit;\n height: inherit;\n display: block;\n transform: translateY(30px); \n transition: all 0.5s ease;\n }\n\n .scaleIn-enter-active,\n .scaleIn-leave-active {\n // background: red;\n transition: all 0.5s ease;\n > section,div { transform-origin: 0 0; transform: translateZ(0px); transition: all 0.5s ease; }\n }\n .scaleIn-enter-from,\n .scaleIn-leave-to {\n opacity: 0;\n transform: scale(0.95);\n > section,div { transform: translateZ(-30px); transition: all 0.5s ease; }\n }\n</style>"],"names":["ref","useRoute","computed","onMounted","globals.state"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAmIE,QAAI,OAAOA,IAAG,IAAC,KAAK;AAEpB,UAAM,OAAOA,IAAG,IAAC,IAAI;AAItB,UAAM,QAAQC,UAAAA,SAAU;AAGxB,UAAM,cAAcD,IAAG,IAAC,MAAM,MAAM,WAAW;AAO/C,aAAS,YAAW;AACnB,eAAS,eAAe,KAAK,EAAE,eAAc;AAAA,IAC7C;AAED,UAAM,eAAeA,IAAG,IAAC,CAAC;AAE1B,UAAM,SAASA,IAAG,IAAC,IAAI;AAEvB,UAAM,cAAcE,IAAAA,SAAS,MAAM;AAClC,UAAI,aAAa,QAAQ,IAAI;AAC5B,eAAO,MAAM,KAAK,gBAAiB;AAAA,MACtC,OAAS;AACN,eAAO,MAAM,KAAK,gBAAgB;AAAA,MAClC;AAAA,IACH,CAAE;AAED,UAAM,eAAe,MAAM;AACzB,mBAAa,QAAQ,MAAM,OAAO;AAAA,IACrC;AAECC,QAAAA,UAAU,YAAY;AAErB,UAAI,mBAAmB,WAAW;AAC/B,eAAO,iBAAiB,QAAQ,MAAM;AACpC,oBAAU,cAAc,SAAS,oBAAoB,EAAE,KAAK,kBAAgB;AAC1E,oBAAQ,IAAI,mBAAmB,YAAY;AAAA,UACpD,CAAQ,EAAE,MAAM,uBAAqB;AAC5B,oBAAQ,IAAI,4BAA4B,iBAAiB;AAAA,UAClE,CAAQ;AAAA,QACR,CAAK;AAAA,MACD;AAEF,YAAM,gBAAgB,aAAa,QAAQ,UAAU;AAEpD,UAAI,eAAe;AACjBC,gBAAAA,MAAc,WAAW,KAAK,MAAM,aAAa;AAAA,MACtD,OAAU;AACNA,gBAAa,MAAC,sBAAsB;AAAA,MACpC;AAEF,UAAI,YAAY,OAAO;AACrB,qBAAa,QAAQ,eAAe,YAAY,KAAK;AAAA,MACtD;AAED,UAAI,KAAK,MAAO,MAAK,QAAQ;AAAA,IAC/B,CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js
CHANGED
@@ -5,7 +5,7 @@ import _sfc_main$2 from "../../../../../components/Status/Status.vue.js";
|
|
5
5
|
import "vue-i18n";
|
6
6
|
/* empty css */
|
7
7
|
import Loader from "../../../../../components/Loader/Loader.vue2.js";
|
8
|
-
/* empty css
|
8
|
+
/* empty css */
|
9
9
|
import "../../../../orders/store/shopcart.js";
|
10
10
|
import "../../../../auth/views/store/auth.js";
|
11
11
|
/* empty css */
|
package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Client.vue.js","sources":["../../../../../../../../src/modules/globals/views/components/layouts/Client.vue"],"sourcesContent":["<template>\n\t<div \n\t\tid=\"app-wrapper\"\n\t\tclass=\"pos-relative o-hidden\"\n\t\t:class=\"{\n \t\t'pd-t-extra': MOBILE_APP === 'ios', \n\t\t\t'bg-light': headerTheme === 'light',\n\t\t\t'bg-dark': headerTheme === 'dark' \n \t}\"\n\t>\n\t\t<transition name=\"moveFromTop\" appear>\n\t\t\t<Loader v-if=\"!page\" class=\"pos-fixed\"/>\n\t\t</transition>\n\n\t\t\n <component\n\t\t\tv-if=\"!MOBILE_APP && route.meta.header.component\"\n ref=\"header\" \n :is=\"route.meta.header.component\"\n :theme=\"headerTheme\"\n :logotype=\"route.meta.header.logotype\"\n :location=\"route.meta.header.location\"\n />\n\n\t\t<transition name=\"moveFromTop\" mode=\"out-in\" appear>\n\t\t\t<component\n \tv-if=\"MOBILE_APP && !route.meta.hideNavigationBar\"\n :is=\"route.meta.navigationbar\"\n :logotype=\"route.meta.header.logotype\"\n />\n\t\t</transition>\n\n\t <!-- <Popup \n\t \tv-if=\"route.meta.header.location\"\n\t \t@close-popup=\"closeLocationPopup\" \n\t \t:isPopupOpen=\"globals.state.isOpenLocationPopup\"\n\t \tclass=\"bg-white pd-semi w-m-33r radius-big\"\n\t >\t\n\t \t<LocationSelection />\n\t </Popup> -->\n\n\t\t<section \n\t\t\tid=\"screen\" \n\t\t\tref=\"screen\"\n\t\t\t@scroll=\"handleScroll\"\n\t\t\tclass=\"transition-ease-in-out o-hidden w-100 pos-relative\"\n\t\t\t:class=\"{\n\t\t\t\t'': MOBILE_APP === 'ios',\n\t\t\t}\"\n\t\t>\n\t\t\t<ShopCart />\n\n\t\t\t<!-- <section v-if=\"!route.meta?.breadcrumbs?.hide\" class=\"pd-thin pd-b-zero\">\n\t\t\t\t<Breadcrumbs \n\t\t\t\t\tv-if=\"!MOBILE_APP\"\n\t\t\t\t\tclass=\"bg-light pd-small radius-big\"\n\t\t\t\t/>\n\t\t\t</section> -->\n\n\t\t\t<Suspense>\n\t\t\t\t<router-view \n\t\t\t\t\tv-slot=\"{ Component, route }\" \n\t\t\t\t\t:class=\"{\n\t\t\t\t\t\t'scroll-hide': MOBILE_APP,\n\t\t\t\t\t}\"\n\t\t\t\t\tclass=\"o-y-scroll o-x-hidden flex flex-column h-100\"\n\t\t\t\t>\n\t\t\t\t\t<Status \n\t\t\t\t\t\tv-if=\"globals.state.error.show\" \n\t\t\t\t\t\t:data=\"globals.state.error\"\n\t\t\t\t\t\t@close=\"globals.state.error.show = false\"\n\t\t\t\t\t\tclass=\"z-index-7\" \n\t\t\t\t\t/>\n\n\t\t\t\t\t<transition @before-enter=\"scrollTop\" name=\"scaleTransition\" mode=\"out-in\" appear>\n\t\t \t<component \n\t\t \t\tref=\"page\" \n\t\t \t\t:is=\"Component\" \n\t\t \t\t:key=\"route.path\"\n\t\t \t\tclass=\"h-min-100\"\n\t\t \t/>\n\t\t \t<!-- Key пока выключил непонятно какие проблемы это вызовет -->\n\t\t \t<!-- -->\n\t\t </transition>\n\n\t\t <!-- <Footer /> -->\n\t\t\t\t</router-view>\n\t\t\t</Suspense>\n \n\t\t</section>\n\n\t\t<router-view \n\t\t\tname=\"defaultBottom\"\n\t\t\tv-slot=\"{ Component, route }\" \n\t\t>\n\t\t\t<component \n \t\t:is=\"Component\" \n \t/>\n\t\t</router-view>\n\n <component \n v-if=\"MOBILE_APP && route.meta.title_hide\"\n class=\"z-index-2\"\n \t:is=\"route.meta.bottombar\"\n />\n\t</div>\n</template>\n\n\n\n<script setup>\n\timport { computed, ref, onMounted } from 'vue';\n\t// Router\n\timport { useRoute } from 'vue-router';\n\t// Store\n\timport * as globals from '@pf/src/modules/globals/views/store/globals';\n\t// Partials\n\timport Status from '@pf/src/components/Status/Status.vue';\n\timport Popup from '@pf/src/components/Popup/Popup.vue';\n\t// import Breadcrumbs from '@pf/src/components/Breadcrumbs/Breadcrumbs.vue'\n\timport Loader from '@pf/src/components/Loader/Loader.vue';\n\n\timport NavigationBar from '@pf/src/modules/globals/views/components/partials/NavigationBar.vue';\n\timport LocationSelection from '@pf/src/modules/globals/views/components/partials/LocationSelection.vue';\n\t// import Footer from '@pf/src/modules/globals/views/components/partials/Footer.vue'\n\n\timport ShopCart from '@pf/src/modules/orders/components/partials/ShopCart.vue';\n\t/////////////////////////////\n // LOADING\n /////////////////////////////\n // State\n let show = ref(false)\n // Preloader\n const page = ref(null)\n\t/////////////////////////////\n\t// CREATED\n\t/////////////////////////////\n\tconst route = useRoute()\n\t// const router = useRouter()\n\t// Ref Code\n\tconst referalCode = ref(route.query.referalCode);\n\t/////////////////////////////\n\t// Methods\n\t/////////////////////////////\n\tfunction closeLocationPopup() {\n\t globals.state.isOpenLocationPopup = false;\n\t}\n\tfunction scrollTop(){\n\t\tdocument.getElementById('app').scrollIntoView();\n\t}\n\t// Scrolling header\n\tconst scrollOffset = ref(0)\n\tlet isScrolled = false\n\tconst header = ref(null)\n\n\tconst headerTheme = computed(() => {\n\t\tif (scrollOffset.value > 50) {\n\t\t\treturn route.meta.header_theme || 'light'\n\t\t} else {\n\t\t\treturn route.meta.header_theme || 'light'\n\t\t}\n\t})\n\n\tconst handleScroll = () => {\n\t scrollOffset.value = event.target.scrollTop\n\t};\n\n\tonMounted(async () => {\n\t\t \n\t\tif ('serviceWorker' in navigator) {\n\t \twindow.addEventListener('load', () => {\n\t \tnavigator.serviceWorker.register('/service-worker.js').then(registration => {\n\t \tconsole.log('SW registered: ', registration);\n\t \t}).catch(registrationError => {\n\t \tconsole.log('SW registration failed: ', registrationError);\n\t \t});\n\t });\n\t \t}\n\t\t\n\t\tconst savedPosition = localStorage.getItem('position');\n\n\t if (savedPosition) {\n\t globals.state.position = JSON.parse(savedPosition);\n\t } else {\n \t\tglobals.state.isOpenLocationPopup = true;\n\t }\n\n\t\tif (referalCode.value) {\n\t\t localStorage.setItem('referalCode', referalCode.value);\n\t\t}\n\n\t\tif (page.value) show.value = true\n\t});\n</script>\n\n<style lang=\"scss\">;\t\n\t.moveFromTop-enter-active,\n\t.moveFromTop-leave-active {\n\t\ttransform: translateY(0);\n\t\topacity: 1;\n\t\ttransition: all 0.5s ease; \n\t\t\n\t}\n\t.moveFromTop-enter-from,\n\t.moveFromTop-leave-to {\n\t\ttransform: translateY(-1rem);\n\t\topacity: 0;\n\t\ttransition: all 0.5s ease;\n\t}\n\n\t.moveFromTopAbsolute-enter-active,\n\t.moveFromTopAbsolute-leave-active {\n\t\ttransform: translateY(0);\n\t\topacity: 1;\n\t\ttransition: all 0.5s ease; \n\t\t\n\t}\n\t.moveFromTopAbsolute-enter-from,\n\t.moveFromTopAbsolute-leave-to {\n\t\tposition: absolute;\n\t\ttransform: translateY(-1rem);\n\t\topacity: 0;\n\t\ttransition: all 0.5s ease;\n\t}\n\t.ScaleOut-enter-active,\n\t.ScaleOut-leave-active {\n\t\topacity: 1;\n\t\ttransform: scale(1);\n\t\ttransition: all 0.3s ease; \n\t\t\n\t}\n\t.ScaleOut-enter-from,\n\t.ScaleOut-leave-to {\n\t\topacity: 0;\n\t\ttransform: scale(0.9);\n\t\ttransition: all 0.3s ease;\n\t}\n\t.slide-fade-enter-active {\n\t\t// min-height: 100vh;\n\t transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n\t}\n\n\t.slide-fade-leave-active {\n\t\t// min-height: 100vh;\n\t transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n\t}\n\n\t.slide-fade-enter-from,\n\t.slide-fade-leave-to {\n\t\tmin-height: 0;\n\t transform: translateX(20px);\n\t opacity: 0;\n\t left: 0;\n\t top: 0;\n\t}\n\n\t.scaleTransition-5px-enter-active,\n .scaleTransition-5px-leave-active {\n transform: translateY(0px); \n opacity: 1;\n z-index: 1;\n transition: all 0.2s ease;\n }\n\n .scaleTransition-5px-enter-from,\n .scaleTransition-5px-leave-to {\n opacity: 0;\n z-index: 0;\n position: absolute;\n transform: translateY(-30px); \n transition: all 0.2s ease;\n }\n\n .scaleTransition-enter-from,\n .scaleTransition-leave-to {\n opacity: 0;\n z-index: 0;\n position: absolute;\n width: inherit;\n height: inherit;\n display: block;\n transform: translateY(30px); \n transition: all 0.5s ease;\n }\n\n .scaleTransition-enter-active,\n .scaleTransition-leave-active {\n transform: translateY(0px); \n opacity: 1;\n z-index: 1;\n transition: all 0.5s ease;\n }\n .scaleTransition-enter-from,\n .scaleTransition-leave-to {\n opacity: 0;\n z-index: 0;\n position: absolute;\n width: inherit;\n height: inherit;\n display: block;\n transform: translateY(30px); \n transition: all 0.5s ease;\n }\n\n .scaleIn-enter-active,\n .scaleIn-leave-active {\n // background: red;\n transition: all 0.5s ease;\n > section,div { transform-origin: 0 0; transform: translateZ(0px); transition: all 0.5s ease; }\n }\n .scaleIn-enter-from,\n .scaleIn-leave-to {\n opacity: 0;\n transform: scale(0.95);\n > section,div { transform: translateZ(-30px); transition: all 0.5s ease; }\n }\n</style>"],"names":["globals.state"],"mappings":";;;;;;;;;;;;;;;;;;;AAmIE,QAAI,OAAO,IAAI,KAAK;AAEpB,UAAM,OAAO,IAAI,IAAI;AAItB,UAAM,QAAQ,SAAU;AAGxB,UAAM,cAAc,IAAI,MAAM,MAAM,WAAW;AAO/C,aAAS,YAAW;AACnB,eAAS,eAAe,KAAK,EAAE,eAAc;AAAA,IAC7C;AAED,UAAM,eAAe,IAAI,CAAC;AAE1B,UAAM,SAAS,IAAI,IAAI;AAEvB,UAAM,cAAc,SAAS,MAAM;AAClC,UAAI,aAAa,QAAQ,IAAI;AAC5B,eAAO,MAAM,KAAK,gBAAiB;AAAA,MACtC,OAAS;AACN,eAAO,MAAM,KAAK,gBAAgB;AAAA,MAClC;AAAA,IACH,CAAE;AAED,UAAM,eAAe,MAAM;AACzB,mBAAa,QAAQ,MAAM,OAAO;AAAA,IACrC;AAEC,cAAU,YAAY;AAErB,UAAI,mBAAmB,WAAW;AAC/B,eAAO,iBAAiB,QAAQ,MAAM;AACpC,oBAAU,cAAc,SAAS,oBAAoB,EAAE,KAAK,kBAAgB;AAC1E,oBAAQ,IAAI,mBAAmB,YAAY;AAAA,UACpD,CAAQ,EAAE,MAAM,uBAAqB;AAC5B,oBAAQ,IAAI,4BAA4B,iBAAiB;AAAA,UAClE,CAAQ;AAAA,QACR,CAAK;AAAA,MACD;AAEF,YAAM,gBAAgB,aAAa,QAAQ,UAAU;AAEpD,UAAI,eAAe;AACjBA,cAAc,WAAW,KAAK,MAAM,aAAa;AAAA,MACtD,OAAU;AACNA,cAAc,sBAAsB;AAAA,MACpC;AAEF,UAAI,YAAY,OAAO;AACrB,qBAAa,QAAQ,eAAe,YAAY,KAAK;AAAA,MACtD;AAED,UAAI,KAAK,MAAO,MAAK,QAAQ;AAAA,IAC/B,CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
1
|
+
{"version":3,"file":"Client.vue.js","sources":["../../../../../../../../src/modules/globals/views/components/layouts/Client.vue"],"sourcesContent":["<template>\n\t<div \n\t\tid=\"app-wrapper\"\n\t\tclass=\"pos-relative o-hidden\"\n\t\t:class=\"{\n \t\t'pd-t-extra': MOBILE_APP === 'ios', \n\t\t\t'bg-light': headerTheme === 'light',\n\t\t\t'bg-dark': headerTheme === 'dark' \n \t}\"\n\t>\n\t\t<transition name=\"moveFromTop\" appear>\n\t\t\t<Loader v-if=\"!page\" class=\"pos-fixed\"/>\n\t\t</transition>\n\n\t\t\n <component\n\t\t\tv-if=\"!MOBILE_APP && route.meta.header.component\"\n ref=\"header\" \n :is=\"route.meta.header.component\"\n :theme=\"headerTheme\"\n :logotype=\"route.meta.header.logotype\"\n :location=\"route.meta.header.location\"\n />\n\n\t\t<transition name=\"moveFromTop\" mode=\"out-in\" appear>\n\t\t\t<component\n \tv-if=\"MOBILE_APP && !route.meta.hideNavigationBar\"\n :is=\"route.meta.navigationbar\"\n :logotype=\"route.meta.header.logotype\"\n />\n\t\t</transition>\n\n\t <!-- <Popup \n\t \tv-if=\"route.meta.header.location\"\n\t \t@close-popup=\"closeLocationPopup\" \n\t \t:isPopupOpen=\"globals.state.isOpenLocationPopup\"\n\t \tclass=\"bg-white pd-semi w-m-33r radius-big\"\n\t >\t\n\t \t<LocationSelection />\n\t </Popup> -->\n\n\t\t<section \n\t\t\tid=\"screen\" \n\t\t\tref=\"screen\"\n\t\t\t@scroll=\"handleScroll\"\n\t\t\tclass=\"transition-ease-in-out o-hidden w-100 pos-relative\"\n\t\t\t:class=\"{\n\t\t\t\t'': MOBILE_APP === 'ios',\n\t\t\t}\"\n\t\t>\n\t\t\t<ShopCart />\n\n\t\t\t<!-- <section v-if=\"!route.meta?.breadcrumbs?.hide\" class=\"pd-thin pd-b-zero\">\n\t\t\t\t<Breadcrumbs \n\t\t\t\t\tv-if=\"!MOBILE_APP\"\n\t\t\t\t\tclass=\"bg-light pd-small radius-big\"\n\t\t\t\t/>\n\t\t\t</section> -->\n\n\t\t\t<Suspense>\n\t\t\t\t<router-view \n\t\t\t\t\tv-slot=\"{ Component, route }\" \n\t\t\t\t\t:class=\"{\n\t\t\t\t\t\t'scroll-hide': MOBILE_APP,\n\t\t\t\t\t}\"\n\t\t\t\t\tclass=\"o-y-scroll o-x-hidden flex flex-column h-100\"\n\t\t\t\t>\n\t\t\t\t\t<Status \n\t\t\t\t\t\tv-if=\"globals.state.error.show\" \n\t\t\t\t\t\t:data=\"globals.state.error\"\n\t\t\t\t\t\t@close=\"globals.state.error.show = false\"\n\t\t\t\t\t\tclass=\"z-index-7\" \n\t\t\t\t\t/>\n\n\t\t\t\t\t<transition @before-enter=\"scrollTop\" name=\"scaleTransition\" mode=\"out-in\" appear>\n\t\t \t<component \n\t\t \t\tref=\"page\" \n\t\t \t\t:is=\"Component\" \n\t\t \t\t:key=\"route.path\"\n\t\t \t\tclass=\"h-min-100\"\n\t\t \t/>\n\t\t \t<!-- Key пока выключил непонятно какие проблемы это вызовет -->\n\t\t \t<!-- -->\n\t\t </transition>\n\n\t\t <!-- <Footer /> -->\n\t\t\t\t</router-view>\n\t\t\t</Suspense>\n \n\t\t</section>\n\n\t\t<router-view \n\t\t\tname=\"defaultBottom\"\n\t\t\tv-slot=\"{ Component, route }\" \n\t\t>\n\t\t\t<component \n \t\t:is=\"Component\" \n \t/>\n\t\t</router-view>\n\n <component \n v-if=\"MOBILE_APP && route.meta.title_hide\"\n class=\"z-index-2\"\n \t:is=\"route.meta.bottombar\"\n />\n\t</div>\n</template>\n\n\n\n<script setup>\n\timport { computed, ref, onMounted } from 'vue';\n\t// Router\n\timport { useRoute } from 'vue-router';\n\t// Store\n\timport * as globals from '@pf/src/modules/globals/views/store/globals';\n\t// Partials\n\timport Status from '@pf/src/components/Status/Status.vue';\n\timport Popup from '@pf/src/components/Popup/Popup.vue';\n\t// import Breadcrumbs from '@pf/src/components/Breadcrumbs/Breadcrumbs.vue'\n\timport Loader from '@pf/src/components/Loader/Loader.vue';\n\n\timport NavigationBar from '@pf/src/modules/globals/views/components/partials/NavigationBar.vue';\n\timport LocationSelection from '@pf/src/modules/globals/views/components/partials/LocationSelection.vue';\n\t// import Footer from '@pf/src/modules/globals/views/components/partials/Footer.vue'\n\n\timport ShopCart from '@pf/src/modules/orders/components/partials/ShopCart.vue';\n\t/////////////////////////////\n // LOADING\n /////////////////////////////\n // State\n let show = ref(false)\n // Preloader\n const page = ref(null)\n\t/////////////////////////////\n\t// CREATED\n\t/////////////////////////////\n\tconst route = useRoute()\n\t// const router = useRouter()\n\t// Ref Code\n\tconst referalCode = ref(route.query.referalCode);\n\t/////////////////////////////\n\t// Methods\n\t/////////////////////////////\n\tfunction closeLocationPopup() {\n\t globals.state.isOpenLocationPopup = false;\n\t}\n\tfunction scrollTop(){\n\t\tdocument.getElementById('app').scrollIntoView();\n\t}\n\t// Scrolling header\n\tconst scrollOffset = ref(0)\n\tlet isScrolled = false\n\tconst header = ref(null)\n\n\tconst headerTheme = computed(() => {\n\t\tif (scrollOffset.value > 50) {\n\t\t\treturn route.meta.header_theme || 'light'\n\t\t} else {\n\t\t\treturn route.meta.header_theme || 'light'\n\t\t}\n\t})\n\n\tconst handleScroll = () => {\n\t scrollOffset.value = event.target.scrollTop\n\t};\n\n\tonMounted(async () => {\n\t\t \n\t\tif ('serviceWorker' in navigator) {\n\t \twindow.addEventListener('load', () => {\n\t \tnavigator.serviceWorker.register('/service-worker.js').then(registration => {\n\t \tconsole.log('SW registered: ', registration);\n\t \t}).catch(registrationError => {\n\t \tconsole.log('SW registration failed: ', registrationError);\n\t \t});\n\t });\n\t \t}\n\t\t\n\t\tconst savedPosition = localStorage.getItem('position');\n\n\t if (savedPosition) {\n\t globals.state.position = JSON.parse(savedPosition);\n\t } else {\n \t\tglobals.state.isOpenLocationPopup = true;\n\t }\n\n\t\tif (referalCode.value) {\n\t\t localStorage.setItem('referalCode', referalCode.value);\n\t\t}\n\n\t\tif (page.value) show.value = true\n\t});\n</script>\n\n<style lang=\"scss\">\n\t.fade-enter-active, .fade-leave-active {\n\t transition: opacity .5s;\n\t}\n\t.fade-enter, .fade-leave-to /* .fade-leave-active в версии 2.1.8+ */ {\n\t opacity: 0;\n\t}\n\n\t\n .fade-move,\n .fade-enter-active,\n .fade-leave-active {\n transition: all 0.5s cubic-bezier(0.55, 0, 0.1, 1);\n }\n\n /* 2. declare enter from and leave to state */\n .fade-enter-from,\n .fade-leave-to {\n opacity: 0;\n transform: translate(30px, 0);\n }\n\n /* 3. ensure leaving items are taken out of layout flow so that moving\n animations can be calculated correctly. */\n .fade-leave-active {\n position: absolute;\n }\n\n\t.moveFromTop-enter-active,\n\t.moveFromTop-leave-active {\n\t\ttransform: translateY(0);\n\t\topacity: 1;\n\t\ttransition: all 0.5s ease; \n\t\t\n\t}\n\t.moveFromTop-enter-from,\n\t.moveFromTop-leave-to {\n\t\ttransform: translateY(-1rem);\n\t\topacity: 0;\n\t\ttransition: all 0.5s ease;\n\t}\n\n\t.moveFromTopAbsolute-enter-active,\n\t.moveFromTopAbsolute-leave-active {\n\t\ttransform: translateY(0);\n\t\topacity: 1;\n\t\ttransition: all 0.5s ease; \n\t\t\n\t}\n\t.moveFromTopAbsolute-enter-from,\n\t.moveFromTopAbsolute-leave-to {\n\t\tposition: absolute;\n\t\ttransform: translateY(-1rem);\n\t\topacity: 0;\n\t\ttransition: all 0.5s ease;\n\t}\n\t.ScaleOut-enter-active,\n\t.ScaleOut-leave-active {\n\t\topacity: 1;\n\t\ttransform: scale(1);\n\t\ttransition: all 0.3s ease; \n\t\t\n\t}\n\t.ScaleOut-enter-from,\n\t.ScaleOut-leave-to {\n\t\topacity: 0;\n\t\ttransform: scale(0.9);\n\t\ttransition: all 0.3s ease;\n\t}\n\t.slide-fade-enter-active {\n\t\t// min-height: 100vh;\n\t transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n\t}\n\n\t.slide-fade-leave-active {\n\t\t// min-height: 100vh;\n\t transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n\t}\n\n\t.slide-fade-enter-from,\n\t.slide-fade-leave-to {\n\t\tmin-height: 0;\n\t transform: translateX(20px);\n\t opacity: 0;\n\t left: 0;\n\t top: 0;\n\t}\n\n\t.scaleTransition-5px-enter-active,\n .scaleTransition-5px-leave-active {\n transform: translateY(0px); \n opacity: 1;\n z-index: 1;\n transition: all 0.2s ease;\n }\n\n .scaleTransition-5px-enter-from,\n .scaleTransition-5px-leave-to {\n opacity: 0;\n z-index: 0;\n position: absolute;\n transform: translateY(-30px); \n transition: all 0.2s ease;\n }\n\n .scaleTransition-enter-from,\n .scaleTransition-leave-to {\n opacity: 0;\n z-index: 0;\n position: absolute;\n width: inherit;\n height: inherit;\n display: block;\n transform: translateY(30px); \n transition: all 0.5s ease;\n }\n\n .scaleTransition-enter-active,\n .scaleTransition-leave-active {\n transform: translateY(0px); \n opacity: 1;\n z-index: 1;\n transition: all 0.5s ease;\n }\n .scaleTransition-enter-from,\n .scaleTransition-leave-to {\n opacity: 0;\n z-index: 0;\n position: absolute;\n width: inherit;\n height: inherit;\n display: block;\n transform: translateY(30px); \n transition: all 0.5s ease;\n }\n\n .scaleIn-enter-active,\n .scaleIn-leave-active {\n // background: red;\n transition: all 0.5s ease;\n > section,div { transform-origin: 0 0; transform: translateZ(0px); transition: all 0.5s ease; }\n }\n .scaleIn-enter-from,\n .scaleIn-leave-to {\n opacity: 0;\n transform: scale(0.95);\n > section,div { transform: translateZ(-30px); transition: all 0.5s ease; }\n }\n</style>"],"names":["globals.state"],"mappings":";;;;;;;;;;;;;;;;;;;AAmIE,QAAI,OAAO,IAAI,KAAK;AAEpB,UAAM,OAAO,IAAI,IAAI;AAItB,UAAM,QAAQ,SAAU;AAGxB,UAAM,cAAc,IAAI,MAAM,MAAM,WAAW;AAO/C,aAAS,YAAW;AACnB,eAAS,eAAe,KAAK,EAAE,eAAc;AAAA,IAC7C;AAED,UAAM,eAAe,IAAI,CAAC;AAE1B,UAAM,SAAS,IAAI,IAAI;AAEvB,UAAM,cAAc,SAAS,MAAM;AAClC,UAAI,aAAa,QAAQ,IAAI;AAC5B,eAAO,MAAM,KAAK,gBAAiB;AAAA,MACtC,OAAS;AACN,eAAO,MAAM,KAAK,gBAAgB;AAAA,MAClC;AAAA,IACH,CAAE;AAED,UAAM,eAAe,MAAM;AACzB,mBAAa,QAAQ,MAAM,OAAO;AAAA,IACrC;AAEC,cAAU,YAAY;AAErB,UAAI,mBAAmB,WAAW;AAC/B,eAAO,iBAAiB,QAAQ,MAAM;AACpC,oBAAU,cAAc,SAAS,oBAAoB,EAAE,KAAK,kBAAgB;AAC1E,oBAAQ,IAAI,mBAAmB,YAAY;AAAA,UACpD,CAAQ,EAAE,MAAM,uBAAqB;AAC5B,oBAAQ,IAAI,4BAA4B,iBAAiB;AAAA,UAClE,CAAQ;AAAA,QACR,CAAK;AAAA,MACD;AAEF,YAAM,gBAAgB,aAAa,QAAQ,UAAU;AAEpD,UAAI,eAAe;AACjBA,cAAc,WAAW,KAAK,MAAM,aAAa;AAAA,MACtD,OAAU;AACNA,cAAc,sBAAsB;AAAA,MACpC;AAEF,UAAI,YAAY,OAAO;AACrB,qBAAa,QAAQ,eAAe,YAAY,KAAK;AAAA,MACtD;AAED,UAAI,KAAK,MAAO,MAAK,QAAQ;AAAA,IAC/B,CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs
CHANGED
@@ -7,8 +7,8 @@ const globals = require("../../store/globals.cjs");
|
|
7
7
|
const shopcart = require("../../../../orders/store/shopcart.cjs");
|
8
8
|
const auth = require("../../../../auth/views/store/auth.cjs");
|
9
9
|
;/* empty css */
|
10
|
-
const Button = require("../../../../../components/Button/Button.
|
11
|
-
const Select = require("../../../../../components/Select/Select.
|
10
|
+
const Button = require("../../../../../components/Button/Button.vue2.cjs");
|
11
|
+
const Select = require("../../../../../components/Select/Select.vue2.cjs");
|
12
12
|
const Checkbox = require("../../../../../components/Checkbox/Checkbox.vue.cjs");
|
13
13
|
const IconShopcart = require("../../../../icons/entities/IconShopcart.vue.cjs");
|
14
14
|
const IconProfile = require("../../../../icons/entities/IconProfile.vue.cjs");
|
package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js
CHANGED
@@ -5,8 +5,8 @@ import { state, actions as actions$1 } from "../../store/globals.js";
|
|
5
5
|
import { actions, getters } from "../../../../orders/store/shopcart.js";
|
6
6
|
import { state as state$1 } from "../../../../auth/views/store/auth.js";
|
7
7
|
/* empty css */
|
8
|
-
import _sfc_main$2 from "../../../../../components/Button/Button.
|
9
|
-
import Select from "../../../../../components/Select/Select.
|
8
|
+
import _sfc_main$2 from "../../../../../components/Button/Button.vue2.js";
|
9
|
+
import Select from "../../../../../components/Select/Select.vue2.js";
|
10
10
|
import _sfc_main$1 from "../../../../../components/Checkbox/Checkbox.vue.js";
|
11
11
|
import _sfc_main$3 from "../../../../icons/entities/IconShopcart.vue.js";
|
12
12
|
import _sfc_main$4 from "../../../../icons/entities/IconProfile.vue.js";
|
@@ -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.vue2.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.vue2.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/landing/components/sections/SectionGuide.vue.cjs
CHANGED
@@ -19,61 +19,15 @@ const _hoisted_9 = ["innerHTML"];
|
|
19
19
|
const _sfc_main = {
|
20
20
|
__name: "SectionGuide",
|
21
21
|
props: {
|
22
|
-
|
22
|
+
content: {
|
23
23
|
type: Object,
|
24
|
-
|
25
|
-
en: {
|
26
|
-
title: "If you still wonder?",
|
27
|
-
subtitle: "Have questions about Weeder? Check out our FAQ section for comprehensive answers about our platform, products, and policies:",
|
28
|
-
FAQ: [{
|
29
|
-
title: "Do you have a marijuana dispensary store that I can visit?",
|
30
|
-
description: "Unfortunately, we do not currently have our own physical dispensary store that is open to the public. However, you can visit our licensed partner Fin.Kan House to purchase marijuana products. Alternatively, you can also order weed from us directly through our website or by phone for delivery to your location. 📱"
|
31
|
-
}, {
|
32
|
-
title: "What is the minimum age requirement to purchase cannabis products?",
|
33
|
-
description: "The minimum age requirement to purchase cannabis products is 21 years of age 🔞. Please be prepared to provide proof of age when you receive delivery."
|
34
|
-
}, {
|
35
|
-
title: "How will my order be delivered?",
|
36
|
-
description: "Orders will be delivered to the address provided at checkout 📬. Please ensure that someone is available to receive the delivery at the designated address."
|
37
|
-
}, {
|
38
|
-
title: "Is it safe to order cannabis online?",
|
39
|
-
description: "It is safe to order cannabis online from a licensed and reputable retailer 🏭. "
|
40
|
-
}, {
|
41
|
-
title: "Do you deliver weed to hotels in Thailand?",
|
42
|
-
description: "Hell yeah! If you order weed online, be sure to give us the hotel name and where you would like to meet your weed delivery driver."
|
43
|
-
}, {
|
44
|
-
title: "Are there any promotions or discounts available?",
|
45
|
-
description: "We frequently offer promotions and discounts on select products 🎉. Please check our website or social media pages for the latest deals."
|
46
|
-
}]
|
47
|
-
},
|
48
|
-
ru: {
|
49
|
-
title: "У вас еще есть вопросы?",
|
50
|
-
FAQ: [{
|
51
|
-
title: "У вас есть магазин марихуаны, который я могу посетить?",
|
52
|
-
description: "К сожалению, у нас нет собственного физического магазина марихуаны, который открыт для посетителей. Однако вы можете посетить нашего лицензированного партнера Fin.Kan House, чтобы приобрести марихуану. Также вы можете заказать марихуану у нас напрямую через наш сайт или по телефону для доставки в ваш адрес."
|
53
|
-
}, {
|
54
|
-
title: "Какой минимальный возраст для покупки каннабиса?",
|
55
|
-
description: "Минимальное возрастное требование для покупки каннабиса составляет 21 год 🔞. Будьте готовы предъявить документы, когда вы будете получать доставку."
|
56
|
-
}, {
|
57
|
-
title: "Как будет доставлен мой заказ?",
|
58
|
-
description: "Заказы будут доставлены по указанному при оформлении заказа адресу 📬. Пожалуйста, убедитесь, что кто-то будет дома, чтобы принять доставку."
|
59
|
-
}, {
|
60
|
-
title: "Безопасно ли заказывать каннабис онлайн?",
|
61
|
-
description: "Да, безопасно заказывать каннабис онлайн у лицензированного и хорошо известного ретейлера 🏭. "
|
62
|
-
}, {
|
63
|
-
title: "Вы доставляете травку в отели Таиланда?",
|
64
|
-
description: "Черт возьми, да! Если вы заказываете травку онлайн, обязательно сообщите нам название отеля и место, где вы хотели бы встретиться с водителем, доставляющим травку."
|
65
|
-
}, {
|
66
|
-
title: "Есть ли какие-то акции или скидки?",
|
67
|
-
description: "Мы часто предлагаем акции и скидки на определенные товары 🎉. Пожалуйста, посетите наш сайт или страницы в социальных сетях, чтобы узнать о последних предложениях."
|
68
|
-
}]
|
69
|
-
}
|
70
|
-
})
|
24
|
+
required: true
|
71
25
|
}
|
72
26
|
},
|
73
27
|
setup(__props) {
|
74
28
|
const props = __props;
|
75
29
|
const { t, tm } = vueI18n.useI18n({
|
76
|
-
messages: props.
|
30
|
+
messages: props.content
|
77
31
|
});
|
78
32
|
return (_ctx, _cache) => {
|
79
33
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
package/dist/prometheus-framework/src/modules/landing/components/sections/SectionGuide.vue.cjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SectionGuide.vue.cjs","sources":["../../../../../../../src/modules/landing/components/sections/SectionGuide.vue"],"sourcesContent":["<template>\n <div class=\"bg-black t-white radius-big pd-big\">\n <div class=\"mn-b-big t-center title\">\n <h2 class=\"mn-b-semi\">{{t('title')}}</h2>\n <p v-if=\"t('subtitle') !== 'subtitle'\" class=\"t-transp p-big w-m-60r mn-l-auto mn-r-auto\">{{t('subtitle')}}</p>\n </div>\n <div class=\"cols-1 \">\n\n <Spoiler v-for=\"item in tm('FAQ')\" class=\"t-white br-white-transp-10 br-solid br-1px radius-small o-hidden pd-big mn-b-thin\">\n <template #header=\"{ isOpen }\">\n <div class=\"cursor-pointer w-100 flex-v-center flex-nowrap flex\">\n <h3 class=\"w-100\" >{{item.title}}</h3>\n <IconChevronBottom :class=\"{ 'rotate-180': isOpen }\" fill=\"rgb(var(--white))\" class=\"i-semi\"/>\n </div>\n </template>\n <template #content>\n <ul class=\"mn-t-semi\">\n <p class=\"t-transp\" v-html=\"item.description\"></p>\n </ul>\n </template>\n </Spoiler>\n </div>\n </div>\n</template>\n\n\n<script setup>\n import Spoiler from '@pf/src/components/Spoiler/Spoiler.vue'\n\n import { useI18n } from 'vue-i18n'\n\n import IconChevronBottom from '@pf/src/modules/icons/navigation/IconChevronBottom.vue'\n\n const props = defineProps({\n
|
1
|
+
{"version":3,"file":"SectionGuide.vue.cjs","sources":["../../../../../../../src/modules/landing/components/sections/SectionGuide.vue"],"sourcesContent":["<template>\n <div class=\"bg-black t-white radius-big pd-big\">\n <div class=\"mn-b-big t-center title\">\n <h2 class=\"mn-b-semi\">{{t('title')}}</h2>\n <p v-if=\"t('subtitle') !== 'subtitle'\" class=\"t-transp p-big w-m-60r mn-l-auto mn-r-auto\">{{t('subtitle')}}</p>\n </div>\n <div class=\"cols-1 \">\n\n <Spoiler v-for=\"item in tm('FAQ')\" class=\"t-white br-white-transp-10 br-solid br-1px radius-small o-hidden pd-big mn-b-thin\">\n <template #header=\"{ isOpen }\">\n <div class=\"cursor-pointer w-100 flex-v-center flex-nowrap flex\">\n <h3 class=\"w-100\" >{{item.title}}</h3>\n <IconChevronBottom :class=\"{ 'rotate-180': isOpen }\" fill=\"rgb(var(--white))\" class=\"i-semi\"/>\n </div>\n </template>\n <template #content>\n <ul class=\"mn-t-semi\">\n <p class=\"t-transp\" v-html=\"item.description\"></p>\n </ul>\n </template>\n </Spoiler>\n </div>\n </div>\n</template>\n\n\n<script setup>\n import Spoiler from '@pf/src/components/Spoiler/Spoiler.vue'\n\n import { useI18n } from 'vue-i18n'\n\n import IconChevronBottom from '@pf/src/modules/icons/navigation/IconChevronBottom.vue'\n\n const props = defineProps({\n content: {\n type: Object,\n required: true\n }\n })\nconst { t, tm } = useI18n({\n messages: props.content\n})\n</script>\n\n<style lang=\"scss\">\n</style>\n"],"names":["useI18n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCE,UAAM,QAAQ;AAMhB,UAAM,EAAE,GAAG,GAAI,IAAGA,gBAAQ;AAAA,MACxB,UAAU,MAAM;AAAA,IAClB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/prometheus-framework/src/modules/landing/components/sections/SectionGuide.vue.js
CHANGED
@@ -17,61 +17,15 @@ const _hoisted_9 = ["innerHTML"];
|
|
17
17
|
const _sfc_main = {
|
18
18
|
__name: "SectionGuide",
|
19
19
|
props: {
|
20
|
-
|
20
|
+
content: {
|
21
21
|
type: Object,
|
22
|
-
|
23
|
-
en: {
|
24
|
-
title: "If you still wonder?",
|
25
|
-
subtitle: "Have questions about Weeder? Check out our FAQ section for comprehensive answers about our platform, products, and policies:",
|
26
|
-
FAQ: [{
|
27
|
-
title: "Do you have a marijuana dispensary store that I can visit?",
|
28
|
-
description: "Unfortunately, we do not currently have our own physical dispensary store that is open to the public. However, you can visit our licensed partner Fin.Kan House to purchase marijuana products. Alternatively, you can also order weed from us directly through our website or by phone for delivery to your location. 📱"
|
29
|
-
}, {
|
30
|
-
title: "What is the minimum age requirement to purchase cannabis products?",
|
31
|
-
description: "The minimum age requirement to purchase cannabis products is 21 years of age 🔞. Please be prepared to provide proof of age when you receive delivery."
|
32
|
-
}, {
|
33
|
-
title: "How will my order be delivered?",
|
34
|
-
description: "Orders will be delivered to the address provided at checkout 📬. Please ensure that someone is available to receive the delivery at the designated address."
|
35
|
-
}, {
|
36
|
-
title: "Is it safe to order cannabis online?",
|
37
|
-
description: "It is safe to order cannabis online from a licensed and reputable retailer 🏭. "
|
38
|
-
}, {
|
39
|
-
title: "Do you deliver weed to hotels in Thailand?",
|
40
|
-
description: "Hell yeah! If you order weed online, be sure to give us the hotel name and where you would like to meet your weed delivery driver."
|
41
|
-
}, {
|
42
|
-
title: "Are there any promotions or discounts available?",
|
43
|
-
description: "We frequently offer promotions and discounts on select products 🎉. Please check our website or social media pages for the latest deals."
|
44
|
-
}]
|
45
|
-
},
|
46
|
-
ru: {
|
47
|
-
title: "У вас еще есть вопросы?",
|
48
|
-
FAQ: [{
|
49
|
-
title: "У вас есть магазин марихуаны, который я могу посетить?",
|
50
|
-
description: "К сожалению, у нас нет собственного физического магазина марихуаны, который открыт для посетителей. Однако вы можете посетить нашего лицензированного партнера Fin.Kan House, чтобы приобрести марихуану. Также вы можете заказать марихуану у нас напрямую через наш сайт или по телефону для доставки в ваш адрес."
|
51
|
-
}, {
|
52
|
-
title: "Какой минимальный возраст для покупки каннабиса?",
|
53
|
-
description: "Минимальное возрастное требование для покупки каннабиса составляет 21 год 🔞. Будьте готовы предъявить документы, когда вы будете получать доставку."
|
54
|
-
}, {
|
55
|
-
title: "Как будет доставлен мой заказ?",
|
56
|
-
description: "Заказы будут доставлены по указанному при оформлении заказа адресу 📬. Пожалуйста, убедитесь, что кто-то будет дома, чтобы принять доставку."
|
57
|
-
}, {
|
58
|
-
title: "Безопасно ли заказывать каннабис онлайн?",
|
59
|
-
description: "Да, безопасно заказывать каннабис онлайн у лицензированного и хорошо известного ретейлера 🏭. "
|
60
|
-
}, {
|
61
|
-
title: "Вы доставляете травку в отели Таиланда?",
|
62
|
-
description: "Черт возьми, да! Если вы заказываете травку онлайн, обязательно сообщите нам название отеля и место, где вы хотели бы встретиться с водителем, доставляющим травку."
|
63
|
-
}, {
|
64
|
-
title: "Есть ли какие-то акции или скидки?",
|
65
|
-
description: "Мы часто предлагаем акции и скидки на определенные товары 🎉. Пожалуйста, посетите наш сайт или страницы в социальных сетях, чтобы узнать о последних предложениях."
|
66
|
-
}]
|
67
|
-
}
|
68
|
-
})
|
22
|
+
required: true
|
69
23
|
}
|
70
24
|
},
|
71
25
|
setup(__props) {
|
72
26
|
const props = __props;
|
73
27
|
const { t, tm } = useI18n({
|
74
|
-
messages: props.
|
28
|
+
messages: props.content
|
75
29
|
});
|
76
30
|
return (_ctx, _cache) => {
|
77
31
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
package/dist/prometheus-framework/src/modules/landing/components/sections/SectionGuide.vue.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SectionGuide.vue.js","sources":["../../../../../../../src/modules/landing/components/sections/SectionGuide.vue"],"sourcesContent":["<template>\n <div class=\"bg-black t-white radius-big pd-big\">\n <div class=\"mn-b-big t-center title\">\n <h2 class=\"mn-b-semi\">{{t('title')}}</h2>\n <p v-if=\"t('subtitle') !== 'subtitle'\" class=\"t-transp p-big w-m-60r mn-l-auto mn-r-auto\">{{t('subtitle')}}</p>\n </div>\n <div class=\"cols-1 \">\n\n <Spoiler v-for=\"item in tm('FAQ')\" class=\"t-white br-white-transp-10 br-solid br-1px radius-small o-hidden pd-big mn-b-thin\">\n <template #header=\"{ isOpen }\">\n <div class=\"cursor-pointer w-100 flex-v-center flex-nowrap flex\">\n <h3 class=\"w-100\" >{{item.title}}</h3>\n <IconChevronBottom :class=\"{ 'rotate-180': isOpen }\" fill=\"rgb(var(--white))\" class=\"i-semi\"/>\n </div>\n </template>\n <template #content>\n <ul class=\"mn-t-semi\">\n <p class=\"t-transp\" v-html=\"item.description\"></p>\n </ul>\n </template>\n </Spoiler>\n </div>\n </div>\n</template>\n\n\n<script setup>\n import Spoiler from '@pf/src/components/Spoiler/Spoiler.vue'\n\n import { useI18n } from 'vue-i18n'\n\n import IconChevronBottom from '@pf/src/modules/icons/navigation/IconChevronBottom.vue'\n\n const props = defineProps({\n
|
1
|
+
{"version":3,"file":"SectionGuide.vue.js","sources":["../../../../../../../src/modules/landing/components/sections/SectionGuide.vue"],"sourcesContent":["<template>\n <div class=\"bg-black t-white radius-big pd-big\">\n <div class=\"mn-b-big t-center title\">\n <h2 class=\"mn-b-semi\">{{t('title')}}</h2>\n <p v-if=\"t('subtitle') !== 'subtitle'\" class=\"t-transp p-big w-m-60r mn-l-auto mn-r-auto\">{{t('subtitle')}}</p>\n </div>\n <div class=\"cols-1 \">\n\n <Spoiler v-for=\"item in tm('FAQ')\" class=\"t-white br-white-transp-10 br-solid br-1px radius-small o-hidden pd-big mn-b-thin\">\n <template #header=\"{ isOpen }\">\n <div class=\"cursor-pointer w-100 flex-v-center flex-nowrap flex\">\n <h3 class=\"w-100\" >{{item.title}}</h3>\n <IconChevronBottom :class=\"{ 'rotate-180': isOpen }\" fill=\"rgb(var(--white))\" class=\"i-semi\"/>\n </div>\n </template>\n <template #content>\n <ul class=\"mn-t-semi\">\n <p class=\"t-transp\" v-html=\"item.description\"></p>\n </ul>\n </template>\n </Spoiler>\n </div>\n </div>\n</template>\n\n\n<script setup>\n import Spoiler from '@pf/src/components/Spoiler/Spoiler.vue'\n\n import { useI18n } from 'vue-i18n'\n\n import IconChevronBottom from '@pf/src/modules/icons/navigation/IconChevronBottom.vue'\n\n const props = defineProps({\n content: {\n type: Object,\n required: true\n }\n })\nconst { t, tm } = useI18n({\n messages: props.content\n})\n</script>\n\n<style lang=\"scss\">\n</style>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAiCE,UAAM,QAAQ;AAMhB,UAAM,EAAE,GAAG,GAAI,IAAG,QAAQ;AAAA,MACxB,UAAU,MAAM;AAAA,IAClB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/prometheus-framework/src/modules/landing/components/sections/SectionOverview.vue.cjs
CHANGED
@@ -14,7 +14,7 @@ const _hoisted_6 = { class: "t-transp" };
|
|
14
14
|
const _sfc_main = {
|
15
15
|
__name: "SectionOverview",
|
16
16
|
props: {
|
17
|
-
|
17
|
+
content: {
|
18
18
|
type: Object,
|
19
19
|
required: true
|
20
20
|
}
|
@@ -22,7 +22,7 @@ const _sfc_main = {
|
|
22
22
|
setup(__props) {
|
23
23
|
const props = __props;
|
24
24
|
const { t, tm } = vueI18n.useI18n({
|
25
|
-
messages: props.
|
25
|
+
messages: props.content
|
26
26
|
});
|
27
27
|
return (_ctx, _cache) => {
|
28
28
|
const _component_router_link = vue.resolveComponent("router-link");
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SectionOverview.vue.cjs","sources":["../../../../../../../src/modules/landing/components/sections/SectionOverview.vue"],"sourcesContent":["<template>\n <div id=\"sections\" class=\"pd-thin\">\n <h2 class=\"mn-auto pd-t-big pd-b-big t-center\">\n {{t('title')}}\n </h2>\n\n <div class=\"cols-4 gap-thin\">\n <router-link \n v-for=\"section in tm('sections')\" \n :key=\"section.route\"\n :to=\"section.route\" \n class=\"t-center cursor-pointer hover-scale-0 transition-ease-in pd-big bg-light t-black radius-big\"\n >\n <img \n loading=\"lazy\" \n :src=\"section.image\"\n alt=\"\" \n class=\"w-100 object-fit-cover\"\n >\n <h3 class=\"mn-b-medium\">{{ section.title }}</h3>\n <p class=\"t-transp\">{{ section.text }}</p>\n </router-link>\n </div>\n </div>\n</template>\n\n<script setup>\n import { useI18n } from 'vue-i18n'\n\n const props = defineProps({\n
|
1
|
+
{"version":3,"file":"SectionOverview.vue.cjs","sources":["../../../../../../../src/modules/landing/components/sections/SectionOverview.vue"],"sourcesContent":["<template>\n <div id=\"sections\" class=\"pd-thin\">\n <h2 class=\"mn-auto pd-t-big pd-b-big t-center\">\n {{t('title')}}\n </h2>\n\n <div class=\"cols-4 gap-thin\">\n <router-link \n v-for=\"section in tm('sections')\" \n :key=\"section.route\"\n :to=\"section.route\" \n class=\"t-center cursor-pointer hover-scale-0 transition-ease-in pd-big bg-light t-black radius-big\"\n >\n <img \n loading=\"lazy\" \n :src=\"section.image\"\n alt=\"\" \n class=\"w-100 object-fit-cover\"\n >\n <h3 class=\"mn-b-medium\">{{ section.title }}</h3>\n <p class=\"t-transp\">{{ section.text }}</p>\n </router-link>\n </div>\n </div>\n</template>\n\n<script setup>\n import { useI18n } from 'vue-i18n'\n\n const props = defineProps({\n content: {\n type: Object,\n required: true\n }\n })\n\n const { t, tm } = useI18n({\n messages: props.content\n })\n</script>"],"names":["useI18n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AA6BE,UAAM,QAAQ;AAOd,UAAM,EAAE,GAAG,GAAI,IAAGA,gBAAQ;AAAA,MACxB,UAAU,MAAM;AAAA,IACpB,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/prometheus-framework/src/modules/landing/components/sections/SectionOverview.vue.js
CHANGED
@@ -12,7 +12,7 @@ const _hoisted_6 = { class: "t-transp" };
|
|
12
12
|
const _sfc_main = {
|
13
13
|
__name: "SectionOverview",
|
14
14
|
props: {
|
15
|
-
|
15
|
+
content: {
|
16
16
|
type: Object,
|
17
17
|
required: true
|
18
18
|
}
|
@@ -20,7 +20,7 @@ const _sfc_main = {
|
|
20
20
|
setup(__props) {
|
21
21
|
const props = __props;
|
22
22
|
const { t, tm } = useI18n({
|
23
|
-
messages: props.
|
23
|
+
messages: props.content
|
24
24
|
});
|
25
25
|
return (_ctx, _cache) => {
|
26
26
|
const _component_router_link = resolveComponent("router-link");
|
package/dist/prometheus-framework/src/modules/landing/components/sections/SectionOverview.vue.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SectionOverview.vue.js","sources":["../../../../../../../src/modules/landing/components/sections/SectionOverview.vue"],"sourcesContent":["<template>\n <div id=\"sections\" class=\"pd-thin\">\n <h2 class=\"mn-auto pd-t-big pd-b-big t-center\">\n {{t('title')}}\n </h2>\n\n <div class=\"cols-4 gap-thin\">\n <router-link \n v-for=\"section in tm('sections')\" \n :key=\"section.route\"\n :to=\"section.route\" \n class=\"t-center cursor-pointer hover-scale-0 transition-ease-in pd-big bg-light t-black radius-big\"\n >\n <img \n loading=\"lazy\" \n :src=\"section.image\"\n alt=\"\" \n class=\"w-100 object-fit-cover\"\n >\n <h3 class=\"mn-b-medium\">{{ section.title }}</h3>\n <p class=\"t-transp\">{{ section.text }}</p>\n </router-link>\n </div>\n </div>\n</template>\n\n<script setup>\n import { useI18n } from 'vue-i18n'\n\n const props = defineProps({\n
|
1
|
+
{"version":3,"file":"SectionOverview.vue.js","sources":["../../../../../../../src/modules/landing/components/sections/SectionOverview.vue"],"sourcesContent":["<template>\n <div id=\"sections\" class=\"pd-thin\">\n <h2 class=\"mn-auto pd-t-big pd-b-big t-center\">\n {{t('title')}}\n </h2>\n\n <div class=\"cols-4 gap-thin\">\n <router-link \n v-for=\"section in tm('sections')\" \n :key=\"section.route\"\n :to=\"section.route\" \n class=\"t-center cursor-pointer hover-scale-0 transition-ease-in pd-big bg-light t-black radius-big\"\n >\n <img \n loading=\"lazy\" \n :src=\"section.image\"\n alt=\"\" \n class=\"w-100 object-fit-cover\"\n >\n <h3 class=\"mn-b-medium\">{{ section.title }}</h3>\n <p class=\"t-transp\">{{ section.text }}</p>\n </router-link>\n </div>\n </div>\n</template>\n\n<script setup>\n import { useI18n } from 'vue-i18n'\n\n const props = defineProps({\n content: {\n type: Object,\n required: true\n }\n })\n\n const { t, tm } = useI18n({\n messages: props.content\n })\n</script>"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AA6BE,UAAM,QAAQ;AAOd,UAAM,EAAE,GAAG,GAAI,IAAG,QAAQ;AAAA,MACxB,UAAU,MAAM;AAAA,IACpB,CAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,13 +1,38 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
-
require("
|
3
|
+
const marketplace_router = require("./views/router/marketplace.router.cjs");
|
4
|
+
const marketplace = require("./views/store/marketplace.cjs");
|
4
5
|
const Marketplace = require("./views/components/layouts/Marketplace.vue.cjs");
|
5
|
-
require("./views/store/marketplace.cjs");
|
6
6
|
const SectionMenu = require("./views/components/sections/SectionMenu.vue.cjs");
|
7
7
|
const Catalog = require("./views/components/pages/Catalog.vue.cjs");
|
8
|
-
|
8
|
+
function initializeProducts(app, store, router, options = {}) {
|
9
|
+
const route = options.route || "Home";
|
10
|
+
router.addRoute(route, marketplace_router.default);
|
11
|
+
store.addStore("marketplace", marketplace);
|
12
|
+
}
|
13
|
+
const ModuleMarketplace = {
|
14
|
+
initialize: initializeProducts,
|
15
|
+
views: {
|
16
|
+
store: {
|
17
|
+
storeMarketplace: marketplace
|
18
|
+
},
|
19
|
+
router: {
|
20
|
+
routerMarketplace: marketplace_router.default
|
21
|
+
},
|
22
|
+
components: {
|
23
|
+
// Elements
|
24
|
+
// Blocks
|
25
|
+
// Sections
|
26
|
+
SectionMenu: SectionMenu.default,
|
27
|
+
// Pages
|
28
|
+
Catalog: Catalog.default,
|
29
|
+
// Layouts
|
30
|
+
Marketplace: Marketplace.default
|
31
|
+
}
|
32
|
+
}
|
33
|
+
};
|
9
34
|
exports.Marketplace = Marketplace.default;
|
10
35
|
exports.SectionMenu = SectionMenu.default;
|
11
36
|
exports.Catalog = Catalog.default;
|
12
|
-
exports.default = ModuleMarketplace
|
37
|
+
exports.default = ModuleMarketplace;
|
13
38
|
//# sourceMappingURL=marketplace.client.cjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"marketplace.client.cjs","sources":["../../../../../src/modules/marketplace/marketplace.client.js"],"sourcesContent":["// Router\nimport routerMarketplace from './views/router/marketplace.router.js';\n\n//Store\nimport * as storeMarketplace from './views/store/marketplace.js';\n\n// Layouts \nimport Marketplace from './views/components/layouts/Marketplace.vue';\n\n// Sections\nimport SectionMenu from './views/components/sections/SectionMenu.vue';\n\n// Pages\nimport Catalog from './views/components/pages/Catalog.vue';\n\n// Пример функции инициализации для модуля продуктов\nfunction initializeProducts(app, store, router, options = {}) {\n const route = options.route || 'Home';\n\n router.addRoute(route, routerMarketplace);\n \n store.addStore('marketplace', storeMarketplace);\n}\n\nconst
|
1
|
+
{"version":3,"file":"marketplace.client.cjs","sources":["../../../../../src/modules/marketplace/marketplace.client.js"],"sourcesContent":["// Router\nimport routerMarketplace from './views/router/marketplace.router.js';\n\n//Store\nimport * as storeMarketplace from './views/store/marketplace.js';\n\n// Layouts \nimport Marketplace from './views/components/layouts/Marketplace.vue';\n\n// Sections\nimport SectionMenu from './views/components/sections/SectionMenu.vue';\n\n// Pages\nimport Catalog from './views/components/pages/Catalog.vue';\n\n// Пример функции инициализации для модуля продуктов\nfunction initializeProducts(app, store, router, options = {}) {\n const route = options.route || 'Home';\n\n router.addRoute(route, routerMarketplace);\n \n store.addStore('marketplace', storeMarketplace);\n}\n\nconst ModuleMarketplace = {\n initialize: initializeProducts,\n views: {\n store: {\n storeMarketplace,\n },\n router: {\n \n routerMarketplace\n },\n components: {\n // Elements\n // Blocks\n // Sections\n SectionMenu,\n // Pages\n Catalog,\n // Layouts\n Marketplace\n }\n }\n}\n\nexport {\n // Blocks\n // Sections\n SectionMenu,\n // Elements\n // Pages\n Catalog,\n // Layouts\n Marketplace\n};\n\nexport default ModuleMarketplace;"],"names":["routerMarketplace","storeMarketplace","SectionMenu","Catalog","Marketplace"],"mappings":";;;;;;;AAgBA,SAAS,mBAAmB,KAAK,OAAO,QAAQ,UAAU,CAAA,GAAI;AAC5D,QAAM,QAAQ,QAAQ,SAAS;AAE/B,SAAO,SAAS,OAAOA,mBAAAA,OAAiB;AAExC,QAAM,SAAS,eAAeC,WAAgB;AAChD;AAEK,MAAC,oBAAoB;AAAA,EACxB,YAAY;AAAA,EACZ,OAAO;AAAA,IACL,OAAO;AAAA,MACX,kBAAMA;AAAAA,IACD;AAAA,IACD,QAAQ;AAAA,MAEZ,mBAAMD,mBAAiB;AAAA,IAClB;AAAA,IACD,YAAY;AAAA;AAAA;AAAA;AAAA,MAIhB,aAAME,YAAW;AAAA;AAAA,MAEjB,SAAMC,QAAO;AAAA;AAAA,MAEb,aAAMC,YAAW;AAAA,IACZ;AAAA,EACF;AACH;;;;;"}
|
@@ -1,13 +1,38 @@
|
|
1
|
-
import "
|
2
|
-
import
|
3
|
-
import "./views/
|
4
|
-
import
|
5
|
-
import
|
6
|
-
|
1
|
+
import marketplace$1 from "./views/router/marketplace.router.js";
|
2
|
+
import * as marketplace from "./views/store/marketplace.js";
|
3
|
+
import _sfc_main$2 from "./views/components/layouts/Marketplace.vue.js";
|
4
|
+
import _sfc_main from "./views/components/sections/SectionMenu.vue.js";
|
5
|
+
import _sfc_main$1 from "./views/components/pages/Catalog.vue.js";
|
6
|
+
function initializeProducts(app, store, router, options = {}) {
|
7
|
+
const route = options.route || "Home";
|
8
|
+
router.addRoute(route, marketplace$1);
|
9
|
+
store.addStore("marketplace", marketplace);
|
10
|
+
}
|
11
|
+
const ModuleMarketplace = {
|
12
|
+
initialize: initializeProducts,
|
13
|
+
views: {
|
14
|
+
store: {
|
15
|
+
storeMarketplace: marketplace
|
16
|
+
},
|
17
|
+
router: {
|
18
|
+
routerMarketplace: marketplace$1
|
19
|
+
},
|
20
|
+
components: {
|
21
|
+
// Elements
|
22
|
+
// Blocks
|
23
|
+
// Sections
|
24
|
+
SectionMenu: _sfc_main,
|
25
|
+
// Pages
|
26
|
+
Catalog: _sfc_main$1,
|
27
|
+
// Layouts
|
28
|
+
Marketplace: _sfc_main$2
|
29
|
+
}
|
30
|
+
}
|
31
|
+
};
|
7
32
|
export {
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
ModuleMarketplace
|
33
|
+
_sfc_main$1 as Catalog,
|
34
|
+
_sfc_main$2 as Marketplace,
|
35
|
+
_sfc_main as SectionMenu,
|
36
|
+
ModuleMarketplace as default
|
12
37
|
};
|
13
38
|
//# sourceMappingURL=marketplace.client.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"marketplace.client.js","sources":["../../../../../src/modules/marketplace/marketplace.client.js"],"sourcesContent":["// Router\nimport routerMarketplace from './views/router/marketplace.router.js';\n\n//Store\nimport * as storeMarketplace from './views/store/marketplace.js';\n\n// Layouts \nimport Marketplace from './views/components/layouts/Marketplace.vue';\n\n// Sections\nimport SectionMenu from './views/components/sections/SectionMenu.vue';\n\n// Pages\nimport Catalog from './views/components/pages/Catalog.vue';\n\n// Пример функции инициализации для модуля продуктов\nfunction initializeProducts(app, store, router, options = {}) {\n const route = options.route || 'Home';\n\n router.addRoute(route, routerMarketplace);\n \n store.addStore('marketplace', storeMarketplace);\n}\n\nconst
|
1
|
+
{"version":3,"file":"marketplace.client.js","sources":["../../../../../src/modules/marketplace/marketplace.client.js"],"sourcesContent":["// Router\nimport routerMarketplace from './views/router/marketplace.router.js';\n\n//Store\nimport * as storeMarketplace from './views/store/marketplace.js';\n\n// Layouts \nimport Marketplace from './views/components/layouts/Marketplace.vue';\n\n// Sections\nimport SectionMenu from './views/components/sections/SectionMenu.vue';\n\n// Pages\nimport Catalog from './views/components/pages/Catalog.vue';\n\n// Пример функции инициализации для модуля продуктов\nfunction initializeProducts(app, store, router, options = {}) {\n const route = options.route || 'Home';\n\n router.addRoute(route, routerMarketplace);\n \n store.addStore('marketplace', storeMarketplace);\n}\n\nconst ModuleMarketplace = {\n initialize: initializeProducts,\n views: {\n store: {\n storeMarketplace,\n },\n router: {\n \n routerMarketplace\n },\n components: {\n // Elements\n // Blocks\n // Sections\n SectionMenu,\n // Pages\n Catalog,\n // Layouts\n Marketplace\n }\n }\n}\n\nexport {\n // Blocks\n // Sections\n SectionMenu,\n // Elements\n // Pages\n Catalog,\n // Layouts\n Marketplace\n};\n\nexport default ModuleMarketplace;"],"names":["routerMarketplace","storeMarketplace","SectionMenu","Catalog","Marketplace"],"mappings":";;;;;AAgBA,SAAS,mBAAmB,KAAK,OAAO,QAAQ,UAAU,CAAA,GAAI;AAC5D,QAAM,QAAQ,QAAQ,SAAS;AAE/B,SAAO,SAAS,OAAOA,aAAiB;AAExC,QAAM,SAAS,eAAeC,WAAgB;AAChD;AAEK,MAAC,oBAAoB;AAAA,EACxB,YAAY;AAAA,EACZ,OAAO;AAAA,IACL,OAAO;AAAA,MACX,kBAAMA;AAAAA,IACD;AAAA,IACD,QAAQ;AAAA,MAEZ,mBAAMD;AAAAA,IACD;AAAA,IACD,YAAY;AAAA;AAAA;AAAA;AAAA,MAIhB,aAAME;AAAAA;AAAAA,MAEN,SAAMC;AAAAA;AAAAA,MAEN,aAAMC;AAAAA,IACD;AAAA,EACF;AACH;"}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
+
require("vue");
|
4
|
+
const Marketplace = require("../components/layouts/Marketplace.vue.cjs");
|
5
|
+
const marketplace = {
|
6
|
+
path: "marketplace",
|
7
|
+
component: Marketplace.default,
|
8
|
+
name: "Marketplace",
|
9
|
+
meta: {
|
10
|
+
title: {
|
11
|
+
en: "Marketplace",
|
12
|
+
ru: "Маркетплейс"
|
13
|
+
}
|
14
|
+
},
|
15
|
+
children: [
|
16
|
+
{
|
17
|
+
path: ":country?",
|
18
|
+
component: () => Promise.resolve().then(() => require(
|
19
|
+
/* webpackChunkName: 'Deliveries' */
|
20
|
+
"../components/pages/Catalog.vue.cjs"
|
21
|
+
)),
|
22
|
+
children: [
|
23
|
+
{
|
24
|
+
path: ":state?",
|
25
|
+
name: "State",
|
26
|
+
component: () => Promise.resolve().then(() => require(
|
27
|
+
/* webpackChunkName: 'Deliveries' */
|
28
|
+
"../components/pages/Catalog.vue.cjs"
|
29
|
+
)),
|
30
|
+
children: [
|
31
|
+
{
|
32
|
+
path: ":city?",
|
33
|
+
name: "City",
|
34
|
+
component: () => Promise.resolve().then(() => require(
|
35
|
+
/* webpackChunkName: 'Deliveries' */
|
36
|
+
"../components/pages/Catalog.vue.cjs"
|
37
|
+
))
|
38
|
+
}
|
39
|
+
]
|
40
|
+
}
|
41
|
+
]
|
42
|
+
}
|
43
|
+
]
|
44
|
+
};
|
45
|
+
exports.default = marketplace;
|
46
|
+
//# sourceMappingURL=marketplace.router.cjs.map
|
package/dist/prometheus-framework/src/modules/marketplace/views/router/marketplace.router.cjs.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"marketplace.router.cjs","sources":["../../../../../../../src/modules/marketplace/views/router/marketplace.router.js"],"sourcesContent":["import layoutEmpty from '@pf/src/modules/globals/views/components/layouts/Empty.vue'\n\nimport layoutMarketplace from '../components/layouts/Marketplace.vue'\n\nconst marketplace = {\n path: 'marketplace',\n component: layoutMarketplace,\n name: 'Marketplace',\n meta: {\n title: {\n en: 'Marketplace',\n ru: 'Маркетплейс'\n }\n },\n children: [\n {\n path: ':country?',\n component: () => import(/* webpackChunkName: 'Deliveries' */ '../components/pages/Catalog.vue'),\n children: [\n {\n path: ':state?',\n name: 'State',\n component: () => import(/* webpackChunkName: 'Deliveries' */ '../components/pages/Catalog.vue'),\n children: [\n {\n path: ':city?',\n name: 'City',\n component: () => import(/* webpackChunkName: 'Deliveries' */ '../components/pages/Catalog.vue'),\n }\n ]\n }\n ]\n },\n ],\n}\n\nexport default marketplace;"],"names":["layoutMarketplace"],"mappings":";;;;AAIK,MAAC,cAAc;AAAA,EAClB,MAAM;AAAA,EACN,WAAWA,YAAiB;AAAA,EAC5B,MAAM;AAAA,EACN,MAAM;AAAA,IACJ,OAAO;AAAA,MACL,IAAI;AAAA,MACJ,IAAI;AAAA,IACL;AAAA,EACF;AAAA,EACD,UAAU;AAAA,IACR;AAAA,MACE,MAAM;AAAA,MACN,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,QAAqC;AAAA,MAAiC,CAAC;AAAA,MAC/F,UAAU;AAAA,QACR;AAAA,UACE,MAAM;AAAA,UACN,MAAM;AAAA,UACN,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,YAAqC;AAAA,UAAiC,CAAC;AAAA,UAC/F,UAAU;AAAA,YACR;AAAA,cACE,MAAM;AAAA,cACN,MAAM;AAAA,cACN,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,gBAAqC;AAAA,cAAiC,CAAC;AAAA,YAChG;AAAA,UACF;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,EACF;AACH;;"}
|