@ozdao/prometheus-framework 0.2.320 → 0.2.322
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/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/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/sections/HotPosts.vue.cjs +56 -55
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +57 -56
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js.map +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/globals/views/components/blocks/BlockFilter.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockFilter.vue.js +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.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/entities/IconEarn.vue.cjs +62 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconEarn.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconEarn.vue.js +62 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconEarn.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconInfo.vue.cjs +43 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconInfo.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconInfo.vue.js +43 -0
- package/dist/prometheus-framework/src/modules/icons/entities/IconInfo.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionEarn.vue.cjs +132 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionEarn.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionEarn.vue.js +132 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionEarn.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionGuide.vue.cjs +1 -1
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/landing/components/sections/SectionGuide.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/landing.client.cjs +2 -0
- package/dist/prometheus-framework/src/modules/landing/landing.client.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/landing/landing.client.js +12 -10
- package/dist/prometheus-framework/src/modules/landing/landing.client.js.map +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +492 -474
- package/dist/prometheus-framework/src/modules/pages/pages.client.js +492 -474
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.cjs +81 -35
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js +81 -35
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/localization/wallet.json.cjs +0 -6
- package/dist/prometheus-framework/src/modules/wallet/views/localization/wallet.json.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/localization/wallet.json.js +0 -6
- package/dist/prometheus-framework/src/modules/wallet/views/localization/wallet.json.js.map +1 -1
- package/package.json +1 -1
- package/src/modules/auth/views/components/sections/SliderFeatures.vue +1 -7
- package/src/modules/community/components/sections/HotPosts.vue +68 -65
- package/src/modules/events/components/sections/List.vue +0 -18
- package/src/modules/globals/views/components/layouts/Client.vue +28 -1
- package/src/modules/icons/entities/IconInfo.vue +15 -0
- package/src/modules/landing/components/sections/SectionEarn.vue +56 -54
- package/src/modules/landing/components/sections/SectionGuide.vue +4 -3
- package/src/modules/landing/landing.client.js +2 -0
- package/src/modules/products/components/sections/HeroRecommendation.vue +1 -1
- package/src/modules/wallet/views/components/elements/ConnectMetamask.vue +74 -44
- package/src/modules/wallet/views/localization/wallet.json +0 -6
- package/src/styles/base/all.scss +5 -4
- package/src/styles/typography.scss +5 -5
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.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -0,0 +1,62 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
+
const vue = require("vue");
|
4
|
+
const _hoisted_1 = {
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
6
|
+
width: "64",
|
7
|
+
height: "64",
|
8
|
+
viewBox: "0 0 64 64",
|
9
|
+
fill: "none"
|
10
|
+
};
|
11
|
+
const _hoisted_2 = ["fill"];
|
12
|
+
const _hoisted_3 = ["fill"];
|
13
|
+
const _hoisted_4 = ["fill"];
|
14
|
+
const _hoisted_5 = ["fill"];
|
15
|
+
const _hoisted_6 = ["fill"];
|
16
|
+
const _hoisted_7 = ["fill"];
|
17
|
+
const _hoisted_8 = ["fill"];
|
18
|
+
const _sfc_main = {
|
19
|
+
__name: "IconEarn",
|
20
|
+
props: {
|
21
|
+
fill: {
|
22
|
+
type: String,
|
23
|
+
default: "rgb(var(--black))"
|
24
|
+
}
|
25
|
+
},
|
26
|
+
setup(__props) {
|
27
|
+
return (_ctx, _cache) => {
|
28
|
+
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1, [
|
29
|
+
vue.createElementVNode("path", {
|
30
|
+
d: "M47.1874 25.0592C47.1874 16.6721 40.3871 9.8718 32 9.8718C23.6129 9.8718 16.8126 16.6721 16.8126 25.0592C16.8126 33.4463 23.6129 40.2466 32 40.2466C40.3871 40.2466 47.1874 33.4463 47.1874 25.0592ZM32 37.9798C24.8975 37.9798 19.0794 32.1618 19.0794 25.0592C19.0794 17.9566 24.8975 12.063 32 12.063C39.1026 12.063 44.9206 17.8811 44.9206 24.9836C44.9206 32.0862 39.1026 37.9798 32 37.9798Z",
|
31
|
+
fill: __props.fill
|
32
|
+
}, null, 8, _hoisted_2),
|
33
|
+
vue.createElementVNode("path", {
|
34
|
+
d: "M36.8934 18.8634C36.9528 18.4954 37.2704 18.2249 37.6431 18.2249H38.6709C39.1489 18.2249 39.5081 18.6613 39.416 19.1305L38.7213 22.6708H38.8343C39.2537 22.6708 39.5937 23.0108 39.5937 23.4302V23.4519C39.5937 23.8713 39.2537 24.2113 38.8343 24.2113H38.4041L38.1067 25.7712H38.8343C39.2537 25.7712 39.5937 26.1112 39.5937 26.5306V26.5718C39.5937 26.9912 39.2537 27.3312 38.8343 27.3312H37.7895L36.9789 31.419C36.9084 31.7745 36.5965 32.0306 36.234 32.0306H34.6637C34.3022 32.0306 33.9908 31.7758 33.9193 31.4214L33.0905 27.3117H30.8897L30.0609 31.4214C29.9894 31.7758 29.678 32.0306 29.3165 32.0306H27.7462C27.3837 32.0306 27.0718 31.7745 27.0013 31.419L26.1907 27.3312H25.1657C24.7463 27.3312 24.4063 26.9912 24.4063 26.5718V26.5306C24.4063 26.1112 24.7463 25.7712 25.1657 25.7712H25.8933L25.5761 24.2113H25.1657C24.7463 24.2113 24.4063 23.8713 24.4063 23.4519V23.4302C24.4063 23.0108 24.7463 22.6708 25.1657 22.6708H25.2787L24.584 19.1305C24.492 18.6613 24.8511 18.2249 25.3292 18.2249H26.4164C26.7891 18.2249 27.1067 18.4954 27.1661 18.8634L27.7769 22.6513H29.7397L30.4737 18.8406C30.5425 18.4832 30.8554 18.2249 31.2194 18.2249H32.8401C33.2041 18.2249 33.517 18.4832 33.5858 18.8406L34.3198 22.6513H36.2826L36.8934 18.8634ZM32.1388 22.6513L32 21.9298L31.8414 22.6513H32.1388ZM29.1053 25.9272L29.4622 24.0553H27.995L28.2924 25.9272H29.1053ZM31.5638 24.0553L31.1871 25.9272H32.7931L32.4164 24.0553H31.5638ZM35.7671 25.9272L36.0645 24.0553H34.5973L34.9542 25.9272H35.7671ZM28.5105 27.3117L28.6493 28.1892L28.8277 27.3117H28.5105ZM35.4102 28.1892L35.549 27.3117H35.2318L35.4102 28.1892Z",
|
35
|
+
fill: __props.fill
|
36
|
+
}, null, 8, _hoisted_3),
|
37
|
+
vue.createElementVNode("path", {
|
38
|
+
d: "M32 8.96056C32.6075 8.96056 33.1391 8.42901 33.1391 7.82151V1.13905C33.1391 0.531559 32.6075 0 32 0C31.3925 0 30.861 0.531559 30.861 1.13905V7.82151C30.861 8.42901 31.3925 8.96056 32 8.96056Z",
|
39
|
+
fill: __props.fill
|
40
|
+
}, null, 8, _hoisted_4),
|
41
|
+
vue.createElementVNode("path", {
|
42
|
+
d: "M27.0641 10.1756C27.6716 10.1756 28.2032 9.644 28.2032 9.0365V4.63216C28.2032 4.02466 27.6716 3.4931 27.0641 3.4931C26.4566 3.4931 25.925 4.02466 25.925 4.63216V9.0365C25.925 9.644 26.4566 10.1756 27.0641 10.1756Z",
|
43
|
+
fill: __props.fill
|
44
|
+
}, null, 8, _hoisted_5),
|
45
|
+
vue.createElementVNode("path", {
|
46
|
+
d: "M36.9359 10.1756C37.5434 10.1756 38.075 9.644 38.075 9.0365V4.63216C38.075 4.02466 37.5434 3.4931 36.9359 3.4931C36.3284 3.4931 35.7969 4.02466 35.7969 4.63216V9.0365C35.7969 9.644 36.3284 10.1756 36.9359 10.1756Z",
|
47
|
+
fill: __props.fill
|
48
|
+
}, null, 8, _hoisted_6),
|
49
|
+
vue.createElementVNode("path", {
|
50
|
+
d: "M56.864 26.8367C56.2094 26.1822 55.264 25.8186 54.3912 25.8186C54.3912 25.8186 54.3185 25.8186 54.2458 25.8186C52.864 25.8913 51.7004 26.8367 51.264 28.1458L48.064 37.673C47.4095 37.2366 46.6095 36.9457 45.8095 37.0185C44.7914 37.0912 43.9186 37.5275 43.2641 38.2548L36.646 45.8184C35.1914 47.4183 34.3915 49.4547 34.246 51.6365L33.5187 62.8364C33.5187 63.1273 33.5915 63.4182 33.8096 63.6364C34.0278 63.8545 34.3187 64 34.6096 64H45.2277C45.7368 64 46.1732 63.6364 46.3186 63.1273L47.1186 58.6182L53.3004 54.1819C54.9731 53.0183 56.064 51.0547 56.2821 48.9456L57.8094 29.4549C57.8821 28.5095 57.5185 27.564 56.864 26.8367ZM54.1003 48.8002C53.9549 50.2547 53.2276 51.5638 52.064 52.4365L45.5186 57.1637C45.3004 57.3092 45.155 57.6001 45.0823 57.8182L44.355 61.8909H35.7733L36.4278 51.8547C36.5005 50.182 37.2278 48.582 38.3187 47.3456L44.9368 39.7821C45.2277 39.4912 45.5913 39.273 46.0277 39.273C46.3913 39.273 46.6822 39.3457 46.9731 39.5639C47.1913 39.7093 47.4095 40.0002 47.4822 40.2912V40.3639C47.6277 40.873 47.555 41.382 47.1913 41.7457L41.8096 48.5092C41.4459 48.9456 41.5187 49.6729 41.955 50.0365C42.3914 50.4001 43.1186 50.3274 43.4823 49.891L48.864 43.1275C49.5186 42.2548 49.8095 41.1639 49.5913 40.1457L53.3004 28.9458C53.4458 28.5095 53.8822 28.1458 54.3912 28.1458C54.7549 28.1458 55.0458 28.2913 55.264 28.5095C55.4821 28.7276 55.6276 29.0913 55.6276 29.3822L54.1003 48.8002Z",
|
51
|
+
fill: __props.fill
|
52
|
+
}, null, 8, _hoisted_7),
|
53
|
+
vue.createElementVNode("path", {
|
54
|
+
d: "M7.13605 26.8367C7.79059 26.1822 8.73603 25.8186 9.60875 25.8186C9.60875 25.8186 9.68148 25.8186 9.7542 25.8186C11.136 25.8913 12.2996 26.8367 12.736 28.1458L15.936 37.673C16.5905 37.2366 17.3905 36.9457 18.1905 37.0185C19.2086 37.0912 20.0814 37.5275 20.7359 38.2548L27.354 45.8184C28.8086 47.4183 29.6085 49.4547 29.754 51.6365L30.4813 62.8364C30.4813 63.1273 30.4085 63.4182 30.1904 63.6364C29.9722 63.8545 29.6813 64 29.3904 64H18.7723C18.2632 64 17.8268 63.6364 17.6814 63.1273L16.8814 58.6182L10.6996 54.1819C9.02694 53.0183 7.93604 51.0547 7.71786 48.9456L6.1906 29.4549C6.11788 28.5095 6.48151 27.564 7.13605 26.8367ZM9.89966 48.8002C10.0451 50.2547 10.7724 51.5638 11.936 52.4365L18.4814 57.1637C18.6996 57.3092 18.845 57.6001 18.9177 57.8182L19.645 61.8909H28.2267L27.5722 51.8547C27.4995 50.182 26.7722 48.582 25.6813 47.3456L19.0632 39.7821C18.7723 39.4912 18.4087 39.273 17.9723 39.273C17.6087 39.273 17.3178 39.3457 17.0269 39.5639C16.8087 39.7093 16.5905 40.0002 16.5178 40.2912V40.3639C16.3723 40.873 16.445 41.382 16.8087 41.7457L22.1904 48.5092C22.5541 48.9456 22.4813 49.6729 22.045 50.0365C21.6086 50.4001 20.8814 50.3274 20.5177 49.891L15.136 43.1275C14.4814 42.2548 14.1905 41.1639 14.4087 40.1457L10.6996 28.9458C10.5542 28.5095 10.1178 28.1458 9.60875 28.1458C9.24512 28.1458 8.95421 28.2913 8.73603 28.5095C8.51785 28.7276 8.3724 29.0913 8.3724 29.3822L9.89966 48.8002Z",
|
55
|
+
fill: __props.fill
|
56
|
+
}, null, 8, _hoisted_8)
|
57
|
+
]);
|
58
|
+
};
|
59
|
+
}
|
60
|
+
};
|
61
|
+
exports.default = _sfc_main;
|
62
|
+
//# sourceMappingURL=IconEarn.vue.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"IconEarn.vue.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -0,0 +1,62 @@
|
|
1
|
+
import { openBlock, createElementBlock, createElementVNode } from "vue";
|
2
|
+
const _hoisted_1 = {
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
4
|
+
width: "64",
|
5
|
+
height: "64",
|
6
|
+
viewBox: "0 0 64 64",
|
7
|
+
fill: "none"
|
8
|
+
};
|
9
|
+
const _hoisted_2 = ["fill"];
|
10
|
+
const _hoisted_3 = ["fill"];
|
11
|
+
const _hoisted_4 = ["fill"];
|
12
|
+
const _hoisted_5 = ["fill"];
|
13
|
+
const _hoisted_6 = ["fill"];
|
14
|
+
const _hoisted_7 = ["fill"];
|
15
|
+
const _hoisted_8 = ["fill"];
|
16
|
+
const _sfc_main = {
|
17
|
+
__name: "IconEarn",
|
18
|
+
props: {
|
19
|
+
fill: {
|
20
|
+
type: String,
|
21
|
+
default: "rgb(var(--black))"
|
22
|
+
}
|
23
|
+
},
|
24
|
+
setup(__props) {
|
25
|
+
return (_ctx, _cache) => {
|
26
|
+
return openBlock(), createElementBlock("svg", _hoisted_1, [
|
27
|
+
createElementVNode("path", {
|
28
|
+
d: "M47.1874 25.0592C47.1874 16.6721 40.3871 9.8718 32 9.8718C23.6129 9.8718 16.8126 16.6721 16.8126 25.0592C16.8126 33.4463 23.6129 40.2466 32 40.2466C40.3871 40.2466 47.1874 33.4463 47.1874 25.0592ZM32 37.9798C24.8975 37.9798 19.0794 32.1618 19.0794 25.0592C19.0794 17.9566 24.8975 12.063 32 12.063C39.1026 12.063 44.9206 17.8811 44.9206 24.9836C44.9206 32.0862 39.1026 37.9798 32 37.9798Z",
|
29
|
+
fill: __props.fill
|
30
|
+
}, null, 8, _hoisted_2),
|
31
|
+
createElementVNode("path", {
|
32
|
+
d: "M36.8934 18.8634C36.9528 18.4954 37.2704 18.2249 37.6431 18.2249H38.6709C39.1489 18.2249 39.5081 18.6613 39.416 19.1305L38.7213 22.6708H38.8343C39.2537 22.6708 39.5937 23.0108 39.5937 23.4302V23.4519C39.5937 23.8713 39.2537 24.2113 38.8343 24.2113H38.4041L38.1067 25.7712H38.8343C39.2537 25.7712 39.5937 26.1112 39.5937 26.5306V26.5718C39.5937 26.9912 39.2537 27.3312 38.8343 27.3312H37.7895L36.9789 31.419C36.9084 31.7745 36.5965 32.0306 36.234 32.0306H34.6637C34.3022 32.0306 33.9908 31.7758 33.9193 31.4214L33.0905 27.3117H30.8897L30.0609 31.4214C29.9894 31.7758 29.678 32.0306 29.3165 32.0306H27.7462C27.3837 32.0306 27.0718 31.7745 27.0013 31.419L26.1907 27.3312H25.1657C24.7463 27.3312 24.4063 26.9912 24.4063 26.5718V26.5306C24.4063 26.1112 24.7463 25.7712 25.1657 25.7712H25.8933L25.5761 24.2113H25.1657C24.7463 24.2113 24.4063 23.8713 24.4063 23.4519V23.4302C24.4063 23.0108 24.7463 22.6708 25.1657 22.6708H25.2787L24.584 19.1305C24.492 18.6613 24.8511 18.2249 25.3292 18.2249H26.4164C26.7891 18.2249 27.1067 18.4954 27.1661 18.8634L27.7769 22.6513H29.7397L30.4737 18.8406C30.5425 18.4832 30.8554 18.2249 31.2194 18.2249H32.8401C33.2041 18.2249 33.517 18.4832 33.5858 18.8406L34.3198 22.6513H36.2826L36.8934 18.8634ZM32.1388 22.6513L32 21.9298L31.8414 22.6513H32.1388ZM29.1053 25.9272L29.4622 24.0553H27.995L28.2924 25.9272H29.1053ZM31.5638 24.0553L31.1871 25.9272H32.7931L32.4164 24.0553H31.5638ZM35.7671 25.9272L36.0645 24.0553H34.5973L34.9542 25.9272H35.7671ZM28.5105 27.3117L28.6493 28.1892L28.8277 27.3117H28.5105ZM35.4102 28.1892L35.549 27.3117H35.2318L35.4102 28.1892Z",
|
33
|
+
fill: __props.fill
|
34
|
+
}, null, 8, _hoisted_3),
|
35
|
+
createElementVNode("path", {
|
36
|
+
d: "M32 8.96056C32.6075 8.96056 33.1391 8.42901 33.1391 7.82151V1.13905C33.1391 0.531559 32.6075 0 32 0C31.3925 0 30.861 0.531559 30.861 1.13905V7.82151C30.861 8.42901 31.3925 8.96056 32 8.96056Z",
|
37
|
+
fill: __props.fill
|
38
|
+
}, null, 8, _hoisted_4),
|
39
|
+
createElementVNode("path", {
|
40
|
+
d: "M27.0641 10.1756C27.6716 10.1756 28.2032 9.644 28.2032 9.0365V4.63216C28.2032 4.02466 27.6716 3.4931 27.0641 3.4931C26.4566 3.4931 25.925 4.02466 25.925 4.63216V9.0365C25.925 9.644 26.4566 10.1756 27.0641 10.1756Z",
|
41
|
+
fill: __props.fill
|
42
|
+
}, null, 8, _hoisted_5),
|
43
|
+
createElementVNode("path", {
|
44
|
+
d: "M36.9359 10.1756C37.5434 10.1756 38.075 9.644 38.075 9.0365V4.63216C38.075 4.02466 37.5434 3.4931 36.9359 3.4931C36.3284 3.4931 35.7969 4.02466 35.7969 4.63216V9.0365C35.7969 9.644 36.3284 10.1756 36.9359 10.1756Z",
|
45
|
+
fill: __props.fill
|
46
|
+
}, null, 8, _hoisted_6),
|
47
|
+
createElementVNode("path", {
|
48
|
+
d: "M56.864 26.8367C56.2094 26.1822 55.264 25.8186 54.3912 25.8186C54.3912 25.8186 54.3185 25.8186 54.2458 25.8186C52.864 25.8913 51.7004 26.8367 51.264 28.1458L48.064 37.673C47.4095 37.2366 46.6095 36.9457 45.8095 37.0185C44.7914 37.0912 43.9186 37.5275 43.2641 38.2548L36.646 45.8184C35.1914 47.4183 34.3915 49.4547 34.246 51.6365L33.5187 62.8364C33.5187 63.1273 33.5915 63.4182 33.8096 63.6364C34.0278 63.8545 34.3187 64 34.6096 64H45.2277C45.7368 64 46.1732 63.6364 46.3186 63.1273L47.1186 58.6182L53.3004 54.1819C54.9731 53.0183 56.064 51.0547 56.2821 48.9456L57.8094 29.4549C57.8821 28.5095 57.5185 27.564 56.864 26.8367ZM54.1003 48.8002C53.9549 50.2547 53.2276 51.5638 52.064 52.4365L45.5186 57.1637C45.3004 57.3092 45.155 57.6001 45.0823 57.8182L44.355 61.8909H35.7733L36.4278 51.8547C36.5005 50.182 37.2278 48.582 38.3187 47.3456L44.9368 39.7821C45.2277 39.4912 45.5913 39.273 46.0277 39.273C46.3913 39.273 46.6822 39.3457 46.9731 39.5639C47.1913 39.7093 47.4095 40.0002 47.4822 40.2912V40.3639C47.6277 40.873 47.555 41.382 47.1913 41.7457L41.8096 48.5092C41.4459 48.9456 41.5187 49.6729 41.955 50.0365C42.3914 50.4001 43.1186 50.3274 43.4823 49.891L48.864 43.1275C49.5186 42.2548 49.8095 41.1639 49.5913 40.1457L53.3004 28.9458C53.4458 28.5095 53.8822 28.1458 54.3912 28.1458C54.7549 28.1458 55.0458 28.2913 55.264 28.5095C55.4821 28.7276 55.6276 29.0913 55.6276 29.3822L54.1003 48.8002Z",
|
49
|
+
fill: __props.fill
|
50
|
+
}, null, 8, _hoisted_7),
|
51
|
+
createElementVNode("path", {
|
52
|
+
d: "M7.13605 26.8367C7.79059 26.1822 8.73603 25.8186 9.60875 25.8186C9.60875 25.8186 9.68148 25.8186 9.7542 25.8186C11.136 25.8913 12.2996 26.8367 12.736 28.1458L15.936 37.673C16.5905 37.2366 17.3905 36.9457 18.1905 37.0185C19.2086 37.0912 20.0814 37.5275 20.7359 38.2548L27.354 45.8184C28.8086 47.4183 29.6085 49.4547 29.754 51.6365L30.4813 62.8364C30.4813 63.1273 30.4085 63.4182 30.1904 63.6364C29.9722 63.8545 29.6813 64 29.3904 64H18.7723C18.2632 64 17.8268 63.6364 17.6814 63.1273L16.8814 58.6182L10.6996 54.1819C9.02694 53.0183 7.93604 51.0547 7.71786 48.9456L6.1906 29.4549C6.11788 28.5095 6.48151 27.564 7.13605 26.8367ZM9.89966 48.8002C10.0451 50.2547 10.7724 51.5638 11.936 52.4365L18.4814 57.1637C18.6996 57.3092 18.845 57.6001 18.9177 57.8182L19.645 61.8909H28.2267L27.5722 51.8547C27.4995 50.182 26.7722 48.582 25.6813 47.3456L19.0632 39.7821C18.7723 39.4912 18.4087 39.273 17.9723 39.273C17.6087 39.273 17.3178 39.3457 17.0269 39.5639C16.8087 39.7093 16.5905 40.0002 16.5178 40.2912V40.3639C16.3723 40.873 16.445 41.382 16.8087 41.7457L22.1904 48.5092C22.5541 48.9456 22.4813 49.6729 22.045 50.0365C21.6086 50.4001 20.8814 50.3274 20.5177 49.891L15.136 43.1275C14.4814 42.2548 14.1905 41.1639 14.4087 40.1457L10.6996 28.9458C10.5542 28.5095 10.1178 28.1458 9.60875 28.1458C9.24512 28.1458 8.95421 28.2913 8.73603 28.5095C8.51785 28.7276 8.3724 29.0913 8.3724 29.3822L9.89966 48.8002Z",
|
53
|
+
fill: __props.fill
|
54
|
+
}, null, 8, _hoisted_8)
|
55
|
+
]);
|
56
|
+
};
|
57
|
+
}
|
58
|
+
};
|
59
|
+
export {
|
60
|
+
_sfc_main as default
|
61
|
+
};
|
62
|
+
//# sourceMappingURL=IconEarn.vue.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"IconEarn.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
+
const vue = require("vue");
|
4
|
+
const _hoisted_1 = {
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
6
|
+
class: "mn-b-small i-extra",
|
7
|
+
f: "",
|
8
|
+
width: "64",
|
9
|
+
height: "64",
|
10
|
+
viewBox: "0 0 64 64",
|
11
|
+
fill: "none"
|
12
|
+
};
|
13
|
+
const _hoisted_2 = ["stroke"];
|
14
|
+
const _hoisted_3 = ["stroke"];
|
15
|
+
const _sfc_main = {
|
16
|
+
__name: "IconInfo",
|
17
|
+
props: {
|
18
|
+
fill: {
|
19
|
+
type: String,
|
20
|
+
default: "rgb(var(--black))"
|
21
|
+
}
|
22
|
+
},
|
23
|
+
setup(__props) {
|
24
|
+
return (_ctx, _cache) => {
|
25
|
+
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1, [
|
26
|
+
vue.createElementVNode("circle", {
|
27
|
+
cx: "32",
|
28
|
+
cy: "32",
|
29
|
+
r: "22.875",
|
30
|
+
stroke: __props.fill,
|
31
|
+
"stroke-width": "2.25"
|
32
|
+
}, null, 8, _hoisted_2),
|
33
|
+
vue.createElementVNode("path", {
|
34
|
+
d: "M34.207 22.4192L33.436 21.6L34.207 22.4192C34.8678 21.7973 35.173 20.9832 35.173 20.088C35.173 19.1688 34.8535 18.3301 34.1341 17.7234C33.4511 17.123 32.5912 16.875 31.672 16.875C30.7602 16.875 29.912 17.1319 29.2341 17.7338C28.5388 18.3482 28.243 19.1854 28.243 20.088C28.243 20.9931 28.5391 21.8248 29.209 22.4552L29.2337 22.4785L29.2598 22.5002C29.9451 23.0714 30.8001 23.301 31.708 23.301C32.6422 23.301 33.5294 23.057 34.207 22.4192ZM33.012 26.631H28.8847C27.8742 26.631 27.055 27.4502 27.055 28.4607C27.055 29.3486 27.6924 30.1083 28.5668 30.2626L29.503 30.4279V42.2561L28.2191 42.643C27.4211 42.8835 26.875 43.6184 26.875 44.4518C26.875 45.4952 27.7208 46.341 28.7642 46.341H35.7727C36.8134 46.341 37.657 45.4974 37.657 44.4567C37.657 43.6154 37.0993 42.8761 36.2904 42.6449L35.137 42.3154V28.756C35.137 27.5824 34.1856 26.631 33.012 26.631Z",
|
35
|
+
stroke: __props.fill,
|
36
|
+
"stroke-width": "2.25"
|
37
|
+
}, null, 8, _hoisted_3)
|
38
|
+
]);
|
39
|
+
};
|
40
|
+
}
|
41
|
+
};
|
42
|
+
exports.default = _sfc_main;
|
43
|
+
//# sourceMappingURL=IconInfo.vue.cjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"IconInfo.vue.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
import { openBlock, createElementBlock, createElementVNode } from "vue";
|
2
|
+
const _hoisted_1 = {
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
4
|
+
class: "mn-b-small i-extra",
|
5
|
+
f: "",
|
6
|
+
width: "64",
|
7
|
+
height: "64",
|
8
|
+
viewBox: "0 0 64 64",
|
9
|
+
fill: "none"
|
10
|
+
};
|
11
|
+
const _hoisted_2 = ["stroke"];
|
12
|
+
const _hoisted_3 = ["stroke"];
|
13
|
+
const _sfc_main = {
|
14
|
+
__name: "IconInfo",
|
15
|
+
props: {
|
16
|
+
fill: {
|
17
|
+
type: String,
|
18
|
+
default: "rgb(var(--black))"
|
19
|
+
}
|
20
|
+
},
|
21
|
+
setup(__props) {
|
22
|
+
return (_ctx, _cache) => {
|
23
|
+
return openBlock(), createElementBlock("svg", _hoisted_1, [
|
24
|
+
createElementVNode("circle", {
|
25
|
+
cx: "32",
|
26
|
+
cy: "32",
|
27
|
+
r: "22.875",
|
28
|
+
stroke: __props.fill,
|
29
|
+
"stroke-width": "2.25"
|
30
|
+
}, null, 8, _hoisted_2),
|
31
|
+
createElementVNode("path", {
|
32
|
+
d: "M34.207 22.4192L33.436 21.6L34.207 22.4192C34.8678 21.7973 35.173 20.9832 35.173 20.088C35.173 19.1688 34.8535 18.3301 34.1341 17.7234C33.4511 17.123 32.5912 16.875 31.672 16.875C30.7602 16.875 29.912 17.1319 29.2341 17.7338C28.5388 18.3482 28.243 19.1854 28.243 20.088C28.243 20.9931 28.5391 21.8248 29.209 22.4552L29.2337 22.4785L29.2598 22.5002C29.9451 23.0714 30.8001 23.301 31.708 23.301C32.6422 23.301 33.5294 23.057 34.207 22.4192ZM33.012 26.631H28.8847C27.8742 26.631 27.055 27.4502 27.055 28.4607C27.055 29.3486 27.6924 30.1083 28.5668 30.2626L29.503 30.4279V42.2561L28.2191 42.643C27.4211 42.8835 26.875 43.6184 26.875 44.4518C26.875 45.4952 27.7208 46.341 28.7642 46.341H35.7727C36.8134 46.341 37.657 45.4974 37.657 44.4567C37.657 43.6154 37.0993 42.8761 36.2904 42.6449L35.137 42.3154V28.756C35.137 27.5824 34.1856 26.631 33.012 26.631Z",
|
33
|
+
stroke: __props.fill,
|
34
|
+
"stroke-width": "2.25"
|
35
|
+
}, null, 8, _hoisted_3)
|
36
|
+
]);
|
37
|
+
};
|
38
|
+
}
|
39
|
+
};
|
40
|
+
export {
|
41
|
+
_sfc_main as default
|
42
|
+
};
|
43
|
+
//# sourceMappingURL=IconInfo.vue.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"IconInfo.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -0,0 +1,132 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
3
|
+
const vue = require("vue");
|
4
|
+
const vueI18n = require("vue-i18n");
|
5
|
+
const IconInfo = require("../../../icons/entities/IconInfo.vue.cjs");
|
6
|
+
const IconEarn = require("../../../icons/entities/IconEarn.vue.cjs");
|
7
|
+
const ConnectMetamask = require("../../../wallet/views/components/elements/ConnectMetamask.vue.cjs");
|
8
|
+
;/* empty css */
|
9
|
+
const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");
|
10
|
+
const _hoisted_1 = { class: "pd-thin" };
|
11
|
+
const _hoisted_2 = { class: "cols-2 bg-black t-black radius-big pd-thin gap-thin" };
|
12
|
+
const _hoisted_3 = { class: "pos-relative flex flex-column flex-center h-100" };
|
13
|
+
const _hoisted_4 = { class: "mn-b-thin t-white pd-big radius-big" };
|
14
|
+
const _hoisted_5 = ["src"];
|
15
|
+
const _hoisted_6 = ["innerHTML"];
|
16
|
+
const _hoisted_7 = {
|
17
|
+
key: 2,
|
18
|
+
class: "mn-b-small p-big t-transp"
|
19
|
+
};
|
20
|
+
const _hoisted_8 = {
|
21
|
+
key: 3,
|
22
|
+
class: "mn-b-semi p-medium t-transp"
|
23
|
+
};
|
24
|
+
const _hoisted_9 = { class: "gap-thin cols-2" };
|
25
|
+
const _hoisted_10 = { class: "uppercase t-semi" };
|
26
|
+
const _hoisted_11 = { class: "uppercase t-semi" };
|
27
|
+
const _hoisted_12 = { class: "pos-relative pd-medium flex-column flex-center flex h-100 bg-main radius-big o-hidden" };
|
28
|
+
const _hoisted_13 = ["src"];
|
29
|
+
const _sfc_main = {
|
30
|
+
__name: "SectionEarn",
|
31
|
+
props: {
|
32
|
+
content: {
|
33
|
+
type: Object,
|
34
|
+
required: true
|
35
|
+
},
|
36
|
+
options: {
|
37
|
+
type: Object,
|
38
|
+
default: () => ({
|
39
|
+
tokenAddress: "0x64b4b0ade1f015d6a0c536e8cf041e181d872220",
|
40
|
+
tokenSymbol: "OZDT",
|
41
|
+
tokenDecimals: "8",
|
42
|
+
tokenImage: "https://ozdao.dev/logo-token.png",
|
43
|
+
targetChainId: "0x89",
|
44
|
+
metamaskIcon: "/icons/metamask.svg"
|
45
|
+
})
|
46
|
+
}
|
47
|
+
},
|
48
|
+
setup(__props) {
|
49
|
+
const props = __props;
|
50
|
+
const { t, te } = vueI18n.useI18n({
|
51
|
+
messages: props.content
|
52
|
+
});
|
53
|
+
return (_ctx, _cache) => {
|
54
|
+
const _component_router_link = vue.resolveComponent("router-link");
|
55
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
56
|
+
vue.createElementVNode("section", _hoisted_2, [
|
57
|
+
vue.createElementVNode("div", _hoisted_3, [
|
58
|
+
vue.createElementVNode("div", _hoisted_4, [
|
59
|
+
vue.unref(te)("logo") ? (vue.openBlock(), vue.createElementBlock("img", {
|
60
|
+
key: 0,
|
61
|
+
loading: "lazy",
|
62
|
+
class: "mn-b-semi h-5r",
|
63
|
+
src: vue.unref(t)("logo")
|
64
|
+
}, null, 8, _hoisted_5)) : vue.createCommentVNode("", true),
|
65
|
+
vue.unref(te)("title") ? (vue.openBlock(), vue.createElementBlock("h2", {
|
66
|
+
key: 1,
|
67
|
+
class: "mn-b-small",
|
68
|
+
innerHTML: vue.unref(t)("title")
|
69
|
+
}, null, 8, _hoisted_6)) : vue.createCommentVNode("", true),
|
70
|
+
vue.unref(te)("description") ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_7, vue.toDisplayString(vue.unref(t)("description")), 1)) : vue.createCommentVNode("", true),
|
71
|
+
vue.unref(te)("subdescription") ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_8, vue.toDisplayString(vue.unref(t)("subdescription")), 1)) : vue.createCommentVNode("", true),
|
72
|
+
vue.createElementVNode("div", _hoisted_9, [
|
73
|
+
vue.createVNode(_component_router_link, {
|
74
|
+
to: vue.unref(t)("action_link"),
|
75
|
+
class: "flex t-center bg-white flex-center flex-column t-black pd-big radius-big"
|
76
|
+
}, {
|
77
|
+
default: vue.withCtx(() => [
|
78
|
+
vue.createVNode(IconInfo.default, {
|
79
|
+
class: "mn-b-small i-extra",
|
80
|
+
fill: "rgb(var(--black)"
|
81
|
+
}),
|
82
|
+
vue.createElementVNode("p", _hoisted_10, vue.toDisplayString(vue.unref(t)("action")), 1)
|
83
|
+
]),
|
84
|
+
_: 1
|
85
|
+
}, 8, ["to"]),
|
86
|
+
vue.createVNode(_component_router_link, {
|
87
|
+
to: vue.unref(t)("action_sublink"),
|
88
|
+
class: "flex t-center flex-center flex-column bg-main t-black pd-big radius-big"
|
89
|
+
}, {
|
90
|
+
default: vue.withCtx(() => [
|
91
|
+
vue.createVNode(IconEarn.default, {
|
92
|
+
class: "mn-b-small i-extra",
|
93
|
+
fill: "rgb(var(--black)"
|
94
|
+
}),
|
95
|
+
vue.createElementVNode("p", _hoisted_11, vue.toDisplayString(vue.unref(t)("subaction")), 1)
|
96
|
+
]),
|
97
|
+
_: 1
|
98
|
+
}, 8, ["to"])
|
99
|
+
])
|
100
|
+
])
|
101
|
+
]),
|
102
|
+
vue.createElementVNode("div", _hoisted_12, [
|
103
|
+
vue.unref(te)("image") ? (vue.openBlock(), vue.createElementBlock("img", {
|
104
|
+
key: 0,
|
105
|
+
loading: "lazy",
|
106
|
+
src: vue.unref(t)("image"),
|
107
|
+
class: "mn-t-extra z-index-1 w-75 mn-b-auto"
|
108
|
+
}, null, 8, _hoisted_13)) : vue.createCommentVNode("", true),
|
109
|
+
vue.createVNode(ConnectMetamask.default, {
|
110
|
+
tokenAddress: __props.options.tokenAddress,
|
111
|
+
tokenSymbol: __props.options.tokenSymbol,
|
112
|
+
tokenDecimals: __props.options.tokenDecimals,
|
113
|
+
tokenImage: __props.options.tokenImage,
|
114
|
+
targetChainId: __props.options.targetChainId,
|
115
|
+
metamaskIcon: __props.options.metamaskIcon,
|
116
|
+
content: {
|
117
|
+
en: {
|
118
|
+
"connectMetaMask": vue.unref(t)("connectMetaMask"),
|
119
|
+
"switchToPolygon": vue.unref(t)("switchToPolygon"),
|
120
|
+
"addToken": vue.unref(t)("addToken")
|
121
|
+
}
|
122
|
+
}
|
123
|
+
}, null, 8, ["tokenAddress", "tokenSymbol", "tokenDecimals", "tokenImage", "targetChainId", "metamaskIcon", "content"])
|
124
|
+
])
|
125
|
+
])
|
126
|
+
]);
|
127
|
+
};
|
128
|
+
}
|
129
|
+
};
|
130
|
+
const SectionEarn = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-598c525f"]]);
|
131
|
+
exports.default = SectionEarn;
|
132
|
+
//# sourceMappingURL=SectionEarn.vue.cjs.map
|
package/dist/prometheus-framework/src/modules/landing/components/sections/SectionEarn.vue.cjs.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SectionEarn.vue.cjs","sources":["../../../../../../../src/modules/landing/components/sections/SectionEarn.vue"],"sourcesContent":["<template>\n <div class=\"pd-thin\">\n <section class=\"cols-2 bg-black t-black radius-big pd-thin gap-thin\">\n <div class=\"pos-relative flex flex-column flex-center h-100\">\n <div class=\"mn-b-thin t-white pd-big radius-big\">\n <img v-if=\"te('logo')\" loading=\"lazy\" class=\"mn-b-semi h-5r\" :src=\"t('logo')\">\n\n <h2 v-if=\"te('title')\" class=\"mn-b-small\" v-html=\"t('title')\"/>\n <p v-if=\"te('description')\" class=\"mn-b-small p-big t-transp\">{{ t('description') }}</p> \n <p v-if=\"te('subdescription')\" class=\"mn-b-semi p-medium t-transp\">{{ t('subdescription')}}</p>\n\n <div class=\"gap-thin cols-2\">\n <router-link :to=\"t('action_link')\" class=\"flex t-center bg-white flex-center flex-column t-black pd-big radius-big\">\n <IconInfo class=\"mn-b-small i-extra\" fill=\"rgb(var(--black)\"/>\n <p class=\"uppercase t-semi\">{{t('action')}}</p>\n </router-link>\n\n <router-link :to=\"t('action_sublink') \" class=\"flex t-center flex-center flex-column bg-main t-black pd-big radius-big\">\n <IconEarn class=\"mn-b-small i-extra\" fill=\"rgb(var(--black)\"/>\n <p class=\"uppercase t-semi\">{{t('subaction')}}</p>\n </router-link>\n \n </div>\n </div>\n\n </div>\n\n <div class=\"pos-relative pd-medium flex-column flex-center flex h-100 bg-main radius-big o-hidden\">\n <img v-if=\"te('image')\" loading=\"lazy\" :src=\"t('image')\" class=\"mn-t-extra z-index-1 w-75 mn-b-auto\">\n <ConnectMetamask\n :tokenAddress=\"options.tokenAddress\"\n :tokenSymbol=\"options.tokenSymbol\"\n :tokenDecimals=\"options.tokenDecimals\"\n :tokenImage=\"options.tokenImage\"\n :targetChainId=\"options.targetChainId\"\n :metamaskIcon=\"options.metamaskIcon\"\n :content=\"{\n en: {\n 'connectMetaMask': t('connectMetaMask'),\n 'switchToPolygon': t('switchToPolygon'),\n 'addToken': t('addToken')\n }\n }\"\n />\n </div>\n </section>\n </div>\n</template>\n\n<script setup>\nimport { computed,ref,onMounted, reactive } from 'vue'\nimport { useI18n } from 'vue-i18n';\n\nimport IconInfo from '@pf/src/modules/icons/entities/IconInfo.vue'\nimport IconEarn from '@pf/src/modules/icons/entities/IconEarn.vue'\n\nimport ConnectMetamask from '@pf/src/modules/wallet/views/components/elements/ConnectMetamask.vue'\n\nconst props = defineProps({\n content: {\n type: Object,\n required: true\n },\n options: {\n type: Object,\n default: () => ({\n tokenAddress: '0x64b4b0ade1f015d6a0c536e8cf041e181d872220',\n tokenSymbol: 'OZDT',\n tokenDecimals: '8',\n tokenImage: 'https://ozdao.dev/logo-token.png',\n targetChainId: '0x89',\n metamaskIcon: \"/icons/metamask.svg\"\n })\n }\n})\nconst { t, te } = useI18n({\n messages: props.content\n})\n</script>\n\n<style lang=\"scss\" scoped>\n .spiral {\n background-size: cover;\n width: 100rem;\n height: 100rem;\n position: absolute;\n opacity: 0.066;\n transform: translate(-50%, -50%) rotate(0deg);\n transform-origin: center center;\n animation: spin 5s linear infinite;\n }\n\n @keyframes spin {\n 0% {\n transform: translate(-50%, -50%) rotate(0deg);\n }\n 100% {\n transform: translate(-50%, -50%) rotate(360deg);\n }\n }\n</style>"],"names":["useI18n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0DA,UAAM,QAAQ;AAiBd,UAAM,EAAE,GAAG,GAAI,IAAGA,gBAAQ;AAAA,MACxB,UAAU,MAAM;AAAA,IAClB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|