@ozdao/prometheus-framework 0.2.212 → 0.2.213
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js.map +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +1 -1
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs +41 -0
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs.map +1 -0
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +41 -0
- package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js.map +1 -0
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js.map +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/Blog.vue.cjs +1 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.js +1 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +3 -3
- 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/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/elements/ButtonCheck.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +2 -2
- 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 +3 -3
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +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/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/blocks/BlockSearch.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs +5 -0
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js +7 -2
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +15 -7
- 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 +15 -7
- 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/globals/views/components/partials/Sidebar.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/store/globals.cjs +56 -4
- package/dist/prometheus-framework/src/modules/globals/views/store/globals.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/globals/views/store/globals.js +56 -4
- package/dist/prometheus-framework/src/modules/globals/views/store/globals.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.js.map +1 -1
- 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.js +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +5 -5
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/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/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/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/organizations/components/pages/DepartmentEdit.vue.cjs +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +3 -3
- 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 +1015 -1015
- package/dist/prometheus-framework/src/modules/pages/pages.client.js +1015 -1015
- 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 +2 -2
- package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +2 -2
- 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/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/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 +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 +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +4 -4
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +3 -3
- 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/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/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 +3 -3
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +3 -3
- 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/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/spots/components/pages/SpotEdit.vue.cjs +5 -5
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +16 -6
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +20 -10
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js.map +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +3 -3
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +3 -3
- package/dist/prometheus-framework.cjs.js +1 -1
- package/dist/prometheus-framework.es.js +3 -3
- package/package.json +1 -1
- package/src/components/Feed/Feed.vue +1 -1
- package/src/modules/community/components/blocks/CardBlogpost.vue +0 -22
- package/src/modules/community/components/pages/Blog.vue +1 -1
- package/src/modules/globals/views/components/layouts/App.vue +10 -2
- package/src/modules/globals/views/components/layouts/Client.vue +57 -46
- package/src/modules/globals/views/store/globals.js +69 -6
- package/src/modules/icons/logos/Logotype.vue +0 -4
- package/src/modules/icons/skeletons/SkeletonBlogpost.vue +1 -1
- package/src/modules/icons/skeletons/SkeletonEvent.vue +3 -3
- package/src/modules/icons/skeletons/SkeletonEventShort.vue +1 -1
- package/src/modules/icons/skeletons/SkeletonOrganization.vue +1 -1
- package/src/modules/users/components/pages/ProfileEdit.vue +11 -0
@@ -4,42 +4,40 @@
|
|
4
4
|
<Loader v-if="!page" class="pos-fixed"/>
|
5
5
|
</transition>
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
</header>
|
42
|
-
<!-- </transition> -->
|
7
|
+
<header
|
8
|
+
id="header"
|
9
|
+
v-if="route.meta.header.component"
|
10
|
+
class="
|
11
|
+
pd-thin
|
12
|
+
gap-micro
|
13
|
+
flex-justify-between
|
14
|
+
flex-nowrap
|
15
|
+
flex
|
16
|
+
h-4r
|
17
|
+
w-100
|
18
|
+
z-index-2
|
19
|
+
pos-relative pos-t-0
|
20
|
+
"
|
21
|
+
:class="{
|
22
|
+
't-black bg-white': headerTheme === 'light',
|
23
|
+
't-white bg-black': headerTheme === 'dark'
|
24
|
+
}"
|
25
|
+
>
|
26
|
+
<component
|
27
|
+
v-if="!MOBILE_APP"
|
28
|
+
:is="route.meta.header.component"
|
29
|
+
ref="header"
|
30
|
+
:theme="headerTheme"
|
31
|
+
:logotype="route.meta.header.logotype"
|
32
|
+
:location="route.meta.header.location"
|
33
|
+
>
|
34
|
+
<component
|
35
|
+
v-if="route.meta.navigation"
|
36
|
+
:is="route.meta.navigation"
|
37
|
+
class="mn-l-auto desktop-only"
|
38
|
+
/>
|
39
|
+
</component>
|
40
|
+
</header>
|
43
41
|
|
44
42
|
<transition name="moveFromTop" mode="out-in" appear>
|
45
43
|
<NavigationBar
|
@@ -50,6 +48,7 @@
|
|
50
48
|
</transition>
|
51
49
|
|
52
50
|
<Popup
|
51
|
+
v-if="route.meta.header.location"
|
53
52
|
@close-popup="closeLocationPopup"
|
54
53
|
:isPopupOpen="globals.state.isOpenLocationPopup"
|
55
54
|
class="bg-white pd-semi w-m-33r radius-big"
|
@@ -97,9 +96,28 @@
|
|
97
96
|
<!-- <Footer /> -->
|
98
97
|
</router-view>
|
99
98
|
</Suspense>
|
99
|
+
|
100
|
+
<router-view
|
101
|
+
name="defaultBottom"
|
102
|
+
v-slot="{ Component, route }"
|
103
|
+
>
|
104
|
+
<component
|
105
|
+
:is="Component"
|
106
|
+
/>
|
107
|
+
</router-view>
|
108
|
+
|
109
|
+
<component
|
110
|
+
v-if="route.meta.radio?.page"
|
111
|
+
:is="route.meta.radio.page"
|
112
|
+
/>
|
100
113
|
|
101
114
|
</section>
|
102
115
|
|
116
|
+
<component
|
117
|
+
v-if="route.meta.radio?.player"
|
118
|
+
:is="route.meta.radio.player"
|
119
|
+
/>
|
120
|
+
|
103
121
|
<BottomNavigation
|
104
122
|
v-if="MOBILE_APP && route.meta.title_hide"
|
105
123
|
class="pd-small z-index-2"
|
@@ -163,13 +181,14 @@
|
|
163
181
|
return route.meta.header_theme || 'light'
|
164
182
|
}
|
165
183
|
})
|
184
|
+
|
166
185
|
const handleScroll = () => {
|
167
186
|
scrollOffset.value = event.target.scrollTop
|
168
187
|
|
169
188
|
if (scrollOffset.value > 50 && !isScrolled) {
|
170
189
|
isScrolled = true;
|
171
190
|
|
172
|
-
header.value.$el.classList.add('scrolled');
|
191
|
+
// header.value.$el.classList.add('scrolled');
|
173
192
|
|
174
193
|
const firstRect = header.value.$el.getBoundingClientRect();
|
175
194
|
const invert = -firstRect.top;
|
@@ -183,7 +202,7 @@
|
|
183
202
|
}, 0);
|
184
203
|
} else if (scrollOffset.value <= 75 && isScrolled) {
|
185
204
|
isScrolled = false;
|
186
|
-
header.value.$el.classList.remove('scrolled');
|
205
|
+
// header.value.$el.classList.remove('scrolled');
|
187
206
|
|
188
207
|
const firstRect = header.value.$el.getBoundingClientRect();
|
189
208
|
const invert = firstRect.top;
|
@@ -195,14 +214,6 @@
|
|
195
214
|
}, 0);
|
196
215
|
}
|
197
216
|
};
|
198
|
-
/////////////////////////////
|
199
|
-
// MOUNTED
|
200
|
-
/////////////////////////////
|
201
|
-
// if (typeof window === 'undefined') {
|
202
|
-
// show.value = true
|
203
|
-
// } else {
|
204
|
-
// show.value = false
|
205
|
-
// }
|
206
217
|
|
207
218
|
onMounted(async () => {
|
208
219
|
|
@@ -1,5 +1,6 @@
|
|
1
1
|
// Vue modules
|
2
2
|
import { reactive, computed } from "vue";
|
3
|
+
import { Preferences } from '@capacitor/preferences';
|
3
4
|
|
4
5
|
// import i18n from "@/localization";
|
5
6
|
|
@@ -34,12 +35,63 @@ const actions = {
|
|
34
35
|
},
|
35
36
|
|
36
37
|
// Black/White Theme
|
37
|
-
|
38
|
+
async setTheme(isDarkMode) {
|
38
39
|
let root = document.querySelector(":root");
|
40
|
+
|
41
|
+
state.theme.darkmode = isDarkMode;
|
42
|
+
await Preferences.set({
|
43
|
+
key: 'darkmode',
|
44
|
+
value: JSON.stringify(state.theme.darkmode),
|
45
|
+
});
|
46
|
+
|
47
|
+
if (isDarkMode) {
|
48
|
+
root.classList.add('dark-theme');
|
49
|
+
} else {
|
50
|
+
root.classList.remove('dark-theme');
|
51
|
+
}
|
52
|
+
|
53
|
+
const variableNames = [
|
54
|
+
'--white',
|
55
|
+
'--light',
|
56
|
+
'--grey',
|
57
|
+
'--dark',
|
58
|
+
'--black'
|
59
|
+
];
|
60
|
+
|
61
|
+
// Проверяем, сохранены ли оригинальные цвета
|
62
|
+
if (!state.theme.originalColors) {
|
63
|
+
// Сохраняем оригинальные цвета
|
64
|
+
state.theme.originalColors = {};
|
65
|
+
variableNames.forEach(variableName => {
|
66
|
+
const currentColor = getComputedStyle(document.documentElement).getPropertyValue(variableName).trim();
|
67
|
+
state.theme.originalColors[variableName] = currentColor;
|
68
|
+
});
|
69
|
+
}
|
39
70
|
|
40
|
-
|
71
|
+
if (isDarkMode) {
|
72
|
+
invertColors(variableNames, state.theme.originalColors);
|
73
|
+
} else {
|
74
|
+
// Восстанавливаем оригинальные цвета
|
75
|
+
variableNames.forEach(variableName => {
|
76
|
+
document.documentElement.style.setProperty(variableName, state.theme.originalColors[variableName]);
|
77
|
+
});
|
78
|
+
}
|
79
|
+
},
|
41
80
|
|
42
|
-
|
81
|
+
setTheme(isDarkMode) {
|
82
|
+
let root = document.querySelector(":root");
|
83
|
+
state.theme.darkmode = isDarkMode;
|
84
|
+
|
85
|
+
Preferences.set({
|
86
|
+
key: 'darkmode',
|
87
|
+
value: JSON.stringify(state.theme.darkmode),
|
88
|
+
});
|
89
|
+
|
90
|
+
if (isDarkMode) {
|
91
|
+
root.classList.add('dark-theme');
|
92
|
+
} else {
|
93
|
+
root.classList.remove('dark-theme');
|
94
|
+
}
|
43
95
|
|
44
96
|
const variableNames = [
|
45
97
|
'--white',
|
@@ -53,14 +105,24 @@ const actions = {
|
|
53
105
|
if (!state.theme.originalColors) {
|
54
106
|
// Сохраняем оригинальные цвета
|
55
107
|
state.theme.originalColors = {};
|
56
|
-
|
57
108
|
variableNames.forEach(variableName => {
|
58
109
|
const currentColor = getComputedStyle(document.documentElement).getPropertyValue(variableName).trim();
|
59
110
|
state.theme.originalColors[variableName] = currentColor;
|
60
111
|
});
|
61
112
|
}
|
62
113
|
|
63
|
-
|
114
|
+
if (isDarkMode) {
|
115
|
+
invertColors(variableNames, state.theme.originalColors);
|
116
|
+
} else {
|
117
|
+
// Возвращаем оригинальные цвета
|
118
|
+
variableNames.forEach(variableName => {
|
119
|
+
document.documentElement.style.setProperty(variableName, state.theme.originalColors[variableName]);
|
120
|
+
});
|
121
|
+
}
|
122
|
+
},
|
123
|
+
|
124
|
+
toggleTheme() {
|
125
|
+
this.setTheme(!state.theme.darkmode);
|
64
126
|
},
|
65
127
|
|
66
128
|
add(array, item) {
|
@@ -72,6 +134,7 @@ const actions = {
|
|
72
134
|
array[existingItemIndex] = item
|
73
135
|
}
|
74
136
|
},
|
137
|
+
|
75
138
|
update(array, item) {
|
76
139
|
const existingItemIndex = array.findIndex(i => i._id === item._id);
|
77
140
|
if (existingItemIndex === -1) {
|
@@ -82,6 +145,7 @@ const actions = {
|
|
82
145
|
Object.assign(array[existingItemIndex], item);
|
83
146
|
}
|
84
147
|
},
|
148
|
+
|
85
149
|
delete(array, item) {
|
86
150
|
const existingItemIndex = array.findIndex(c => c._id === item._id);
|
87
151
|
|
@@ -90,7 +154,6 @@ const actions = {
|
|
90
154
|
}
|
91
155
|
},
|
92
156
|
|
93
|
-
|
94
157
|
increment(array, item) {
|
95
158
|
console.log(array)
|
96
159
|
console.log(item)
|
@@ -6,10 +6,6 @@
|
|
6
6
|
<path d="M963.646 122.589C960.717 122.589 958.013 122.082 955.534 121.068C953.056 120.016 950.878 118.57 949 116.73C947.16 114.852 945.714 112.674 944.663 110.196C943.649 107.68 943.142 104.976 943.142 102.084C943.142 99.1925 943.649 96.5074 944.663 94.0289C945.714 91.5128 947.16 89.3347 949 87.4945C950.878 85.6544 953.056 84.2273 955.534 83.2134C958.013 82.1619 960.717 81.6361 963.646 81.6361C966.538 81.6361 969.223 82.1619 971.701 83.2134C974.217 84.2273 976.395 85.6544 978.236 87.4945C980.076 89.3347 981.503 91.5128 982.517 94.0289C983.568 96.5074 984.094 99.1925 984.094 102.084C984.094 104.976 983.568 107.68 982.517 110.196C981.503 112.674 980.076 114.852 978.236 116.73C976.395 118.57 974.217 120.016 971.701 121.068C969.223 122.082 966.538 122.589 963.646 122.589ZM963.646 118.983C966.049 118.983 968.265 118.57 970.293 117.744C972.321 116.88 974.086 115.679 975.588 114.139C977.09 112.599 978.236 110.815 979.024 108.788C979.85 106.722 980.264 104.488 980.264 102.084C980.264 99.6807 979.85 97.465 979.024 95.4371C978.236 93.3717 977.09 91.5879 975.588 90.0857C974.086 88.546 972.321 87.3631 970.293 86.5369C968.265 85.6732 966.049 85.2413 963.646 85.2413C961.205 85.2413 958.971 85.6732 956.943 86.5369C954.915 87.3631 953.15 88.546 951.648 90.0857C950.145 91.5879 948.981 93.3717 948.155 95.4371C947.366 97.465 946.972 99.6807 946.972 102.084C946.972 104.488 947.366 106.722 948.155 108.788C948.981 110.815 950.145 112.599 951.648 114.139C953.15 115.679 954.915 116.88 956.943 117.744C958.971 118.57 961.205 118.983 963.646 118.983ZM957.844 114.308C955.403 114.308 954.182 113.05 954.182 110.534V94.4795C954.182 93.09 954.539 92.0198 955.253 91.2687C956.004 90.48 957.093 90.0857 958.52 90.0857H965.28C968.021 90.0857 970.143 90.7805 971.645 92.17C973.147 93.5595 973.898 95.2682 973.898 97.2961C973.898 99.4742 973.166 101.145 971.701 102.309C970.274 103.474 968.284 104.056 965.73 104.056L967.645 103.38C968.922 103.38 969.936 103.68 970.687 104.281C971.438 104.844 972.058 106.065 972.546 107.943L973.11 109.97C973.485 111.473 973.279 112.58 972.49 113.294C971.739 113.97 970.706 114.308 969.392 114.308C968.49 114.308 967.739 114.045 967.138 113.519C966.575 112.994 966.2 112.28 966.012 111.379L964.998 107.267C964.848 106.591 964.566 106.14 964.153 105.915C963.777 105.652 963.346 105.52 962.857 105.52H960.491L961.562 104.844V110.534C961.562 113.05 960.322 114.308 957.844 114.308ZM961.505 100.225H964.209C965.111 100.225 965.787 100.037 966.237 99.6619C966.688 99.2864 966.913 98.6668 966.913 97.803C966.913 96.9393 966.669 96.3197 966.181 95.9441C965.73 95.5686 965.073 95.3808 964.209 95.3808H961.505V100.225Z" :fill="theme === 'light' ? 'rgb(var(--black))' : 'rgb(var(--white))'"/>
|
7
7
|
</svg>
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
9
|
</template>
|
14
10
|
|
15
11
|
<script setup>
|
@@ -14,7 +14,7 @@
|
|
14
14
|
<rect x="15" y="130" rx="3" ry="3" width="70%" height="6" fill="rgba(var(--black),0.05)"></rect>
|
15
15
|
|
16
16
|
<!-- Блик с анимацией движения -->
|
17
|
-
<rect x="-25%" y="0" width="25%" height="100%" fill="
|
17
|
+
<rect x="-25%" y="0" width="25%" height="100%" fill="rgb(var(--white))" mask="url(#myMask)" opacity="0.3">
|
18
18
|
<animate attributeName="x" from="-25%" to="100%" dur="2s" repeatCount="indefinite"></animate>
|
19
19
|
</rect>
|
20
20
|
</svg>
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<template>
|
2
|
-
<svg width="100%" height="
|
2
|
+
<svg width="100%" height="16rem" xmlns="http://www.w3.org/2000/svg">
|
3
3
|
<!-- Фоновый прямоугольник для всей карточки -->
|
4
|
-
<rect x="0" y="0" rx="5" ry="5" width="100%" height="100%" fill="rgb(var(--light))"/>
|
4
|
+
<rect x="0" y="0" rx="5" ry="5" width="100%" height="100%" fill="rgb(var(--light))" />
|
5
5
|
|
6
6
|
<!-- Имитация шапки карточки -->
|
7
7
|
<rect x="15" y="15" rx="4" ry="4" width="40%" height="20" fill="rgba(var(--black),0.05)"></rect>
|
@@ -14,7 +14,7 @@
|
|
14
14
|
<rect x="15" y="130" rx="3" ry="3" width="70%" height="6" fill="rgba(var(--black),0.05)"></rect>
|
15
15
|
|
16
16
|
<!-- Блик с анимацией движения -->
|
17
|
-
<rect x="-25%" y="0" width="25%" height="100%" fill="
|
17
|
+
<rect x="-25%" y="0" width="25%" height="100%" fill="rgb(var(--white))" mask="url(#myMask)" opacity="0.3">
|
18
18
|
<animate attributeName="x" from="-25%" to="100%" dur="2s" repeatCount="indefinite"></animate>
|
19
19
|
</rect>
|
20
20
|
</svg>
|
@@ -14,7 +14,7 @@
|
|
14
14
|
<circle cx="280" cy="25" r="10" fill="rgba(var(--black),0.025)"></circle>
|
15
15
|
|
16
16
|
<!-- Блик с анимацией движения -->
|
17
|
-
<rect x="-25%" y="0" width="25%" height="100%" fill="
|
17
|
+
<rect x="-25%" y="0" width="25%" height="100%" fill="rgb(var(--white))" opacity="0.3">
|
18
18
|
<animate attributeName="x" from="-25%" to="100%" dur="2s" repeatCount="indefinite"></animate>
|
19
19
|
</rect>
|
20
20
|
</svg>
|
@@ -14,7 +14,7 @@
|
|
14
14
|
<rect x="15" y="130" rx="3" ry="3" width="70%" height="6" fill="rgba(var(--black),0.05)"></rect>
|
15
15
|
|
16
16
|
<!-- Блик с анимацией движения -->
|
17
|
-
<rect x="-25%" y="0" width="25%" height="100%" fill="
|
17
|
+
<rect x="-25%" y="0" width="25%" height="100%" fill="rgb(var(--white))" mask="url(#myMask)" opacity="0.3">
|
18
18
|
<animate attributeName="x" from="-25%" to="100%" dur="2s" repeatCount="indefinite"></animate>
|
19
19
|
</rect>
|
20
20
|
</svg>
|
@@ -85,6 +85,14 @@
|
|
85
85
|
placeholder=""
|
86
86
|
class="mn-b-semi bg-light pd-medium radius-small"
|
87
87
|
/>
|
88
|
+
<h3 class="mn-b-small">Settings</h3>
|
89
|
+
<Checkbox
|
90
|
+
:label="'Darkmode'"
|
91
|
+
:radio="globals.state.theme.darkmode"
|
92
|
+
@update:radio="event => globals.actions.toggleTheme()"
|
93
|
+
class="mn-b-semi w-100 bg-light t-black pd-medium radius-small"
|
94
|
+
/>
|
95
|
+
|
88
96
|
<!-- -->
|
89
97
|
<h3 class="mn-b-small">Account</h3>
|
90
98
|
|
@@ -128,8 +136,10 @@
|
|
128
136
|
// Import components
|
129
137
|
import Tab from '@pf/src/components/Tab/Tab.vue'
|
130
138
|
import Field from '@pf/src/components/Field/Field.vue'
|
139
|
+
import Checkbox from '@pf/src/components/Checkbox/Checkbox.vue'
|
131
140
|
import Button from '@pf/src/components/Button/Button.vue'
|
132
141
|
import UploadImage from '@pf/src/components/UploadImage/UploadImage.vue';
|
142
|
+
|
133
143
|
import ProfileCompletion from '@pf/src/modules/users/components/sections/ProfileCompletion.vue'
|
134
144
|
// Import libs
|
135
145
|
import { computed, onMounted, ref, onBeforeMount } from 'vue'
|
@@ -137,6 +147,7 @@
|
|
137
147
|
// Import state
|
138
148
|
import * as auth from '@pf/src/modules/auth/views/store/auth'
|
139
149
|
import * as users from '@pf/src/modules/users/store/users'
|
150
|
+
import * as globals from '@pf/src/modules/globals/views/store/globals'
|
140
151
|
// Import validation
|
141
152
|
import * as inputsValidation from '@pf/src/modules/auth/views/validations/inputs.validation'
|
142
153
|
const passswordValidation = ref(null)
|