@ozdao/prometheus-framework 0.2.212 → 0.2.214

Sign up to get free protection for your applications and to get access to all the features.
Files changed (209) hide show
  1. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +2 -2
  2. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs.map +1 -1
  3. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +2 -2
  4. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js.map +1 -1
  5. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
  6. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +1 -1
  7. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs +41 -0
  8. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs.map +1 -0
  9. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +41 -0
  10. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js.map +1 -0
  11. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs +3 -3
  12. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +3 -3
  13. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.cjs +1 -1
  14. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.js +1 -1
  15. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +3 -3
  16. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +3 -3
  17. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +3 -3
  18. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +3 -3
  19. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +3 -3
  20. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +3 -3
  21. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +3 -3
  22. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +3 -3
  23. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +3 -3
  24. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +3 -3
  25. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  26. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs.map +1 -1
  27. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
  28. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js.map +1 -1
  29. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  30. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  31. package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.cjs +1 -2
  32. package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.cjs.map +1 -1
  33. package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.js +1 -2
  34. package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.js.map +1 -1
  35. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +2 -2
  36. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +2 -2
  37. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +3 -3
  38. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +3 -3
  39. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +2 -2
  40. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +2 -2
  41. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
  42. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -1
  43. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  44. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  45. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +2 -2
  46. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +2 -2
  47. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  48. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  49. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +3 -3
  50. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +3 -3
  51. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +3 -3
  52. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +3 -3
  53. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  54. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
  55. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +5 -5
  56. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +5 -5
  57. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.cjs +1 -1
  58. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.js +1 -1
  59. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +2 -2
  60. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +2 -2
  61. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs +5 -0
  62. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs.map +1 -1
  63. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js +7 -2
  64. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js.map +1 -1
  65. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +22 -16
  66. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs.map +1 -1
  67. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +23 -17
  68. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js.map +1 -1
  69. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +2 -2
  70. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +2 -2
  71. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +1 -1
  72. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js +1 -1
  73. package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.cjs +1 -1
  74. package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.js +1 -1
  75. package/dist/prometheus-framework/src/modules/globals/views/store/globals.cjs +56 -4
  76. package/dist/prometheus-framework/src/modules/globals/views/store/globals.cjs.map +1 -1
  77. package/dist/prometheus-framework/src/modules/globals/views/store/globals.js +56 -4
  78. package/dist/prometheus-framework/src/modules/globals/views/store/globals.js.map +1 -1
  79. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.cjs +1 -1
  80. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.cjs.map +1 -1
  81. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.js +1 -1
  82. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonBlogpost.vue.js.map +1 -1
  83. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.cjs +2 -2
  84. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.cjs.map +1 -1
  85. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.js +2 -2
  86. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEvent.vue.js.map +1 -1
  87. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs +1 -1
  88. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.cjs.map +1 -1
  89. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.js +1 -1
  90. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonEventShort.vue.js.map +1 -1
  91. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.cjs +1 -1
  92. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.cjs.map +1 -1
  93. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.js +1 -1
  94. package/dist/prometheus-framework/src/modules/icons/skeletons/SkeletonOrganization.vue.js.map +1 -1
  95. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +2 -2
  96. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +2 -2
  97. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +2 -2
  98. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +2 -2
  99. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +5 -5
  100. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +5 -5
  101. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  102. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +1 -1
  103. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +3 -3
  104. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +3 -3
  105. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +2 -2
  106. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +2 -2
  107. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  108. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +1 -1
  109. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
  110. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  111. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  112. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  113. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  114. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  115. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +5 -5
  116. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +5 -5
  117. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +2 -2
  118. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +2 -2
  119. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  120. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
  121. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +5 -5
  122. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +5 -5
  123. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  124. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
  125. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +2 -2
  126. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTabSection.vue.js +2 -2
  127. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +3 -3
  128. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +3 -3
  129. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +3 -3
  130. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +3 -3
  131. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +3 -3
  132. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +3 -3
  133. package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +627 -627
  134. package/dist/prometheus-framework/src/modules/pages/pages.client.js +627 -627
  135. package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.cjs +2 -2
  136. package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.js +2 -2
  137. package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.cjs +2 -2
  138. package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.js +2 -2
  139. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +2 -2
  140. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +2 -2
  141. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +2 -2
  142. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +2 -2
  143. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  144. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  145. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
  146. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
  147. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
  148. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +1 -1
  149. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  150. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +1 -1
  151. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +3 -3
  152. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +3 -3
  153. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +3 -3
  154. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +3 -3
  155. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  156. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
  157. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +4 -4
  158. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +4 -4
  159. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +2 -2
  160. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +2 -2
  161. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -1
  162. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +1 -1
  163. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +3 -3
  164. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
  165. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  166. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
  167. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +3 -3
  168. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +3 -3
  169. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  170. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
  171. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +2 -2
  172. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +2 -2
  173. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +2 -2
  174. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +2 -2
  175. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs +1 -1
  176. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js +1 -1
  177. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +5 -5
  178. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +5 -5
  179. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +3 -3
  180. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +3 -3
  181. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  182. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
  183. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +16 -6
  184. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs.map +1 -1
  185. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +20 -10
  186. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js.map +1 -1
  187. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
  188. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
  189. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs +1 -1
  190. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +1 -1
  191. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +2 -2
  192. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +2 -2
  193. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +5 -5
  194. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +5 -5
  195. package/dist/prometheus-framework.cjs.js +1 -1
  196. package/dist/prometheus-framework.es.js +3 -3
  197. package/package.json +1 -1
  198. package/src/components/Feed/Feed.vue +1 -1
  199. package/src/modules/community/components/blocks/CardBlogpost.vue +0 -22
  200. package/src/modules/community/components/pages/Blog.vue +1 -1
  201. package/src/modules/globals/views/components/layouts/App.vue +10 -2
  202. package/src/modules/globals/views/components/layouts/Client.vue +58 -49
  203. package/src/modules/globals/views/store/globals.js +69 -6
  204. package/src/modules/icons/logos/Logotype.vue +0 -4
  205. package/src/modules/icons/skeletons/SkeletonBlogpost.vue +1 -1
  206. package/src/modules/icons/skeletons/SkeletonEvent.vue +3 -3
  207. package/src/modules/icons/skeletons/SkeletonEventShort.vue +1 -1
  208. package/src/modules/icons/skeletons/SkeletonOrganization.vue +1 -1
  209. package/src/modules/users/components/pages/ProfileEdit.vue +11 -0
@@ -4,52 +4,49 @@
4
4
  <Loader v-if="!page" class="pos-fixed"/>
5
5
  </transition>
6
6
 
7
- <!-- <transition name="moveFromTop" mode="out-in" appear> -->
8
- <header
9
- id="header"
10
- v-if="route.meta.header.component"
11
- class="
12
- pd-thin
13
- gap-micro
14
- flex-justify-between
15
- flex-nowrap
16
- flex
17
- h-4r
18
- w-100
19
- z-index-2
20
- pos-relative pos-t-0
21
- "
22
- :class="{
23
- 't-black bg-white': headerTheme === 'light',
24
- 't-white bg-black': headerTheme === 'dark'
25
- }"
26
- >
27
- <component
28
- v-if="!MOBILE_APP"
29
- :is="route.meta.header.component"
30
- ref="header"
31
- :theme="headerTheme"
32
- :logotype="route.meta.header.logotype"
33
- :location="route.meta.header.location"
34
- >
35
- <component
36
- v-if="route.meta.navigation"
37
- :is="route.meta.navigation"
38
- class="mn-l-auto desktop-only"
39
- />
40
- </component>
41
- </header>
42
- <!-- </transition> -->
7
+ <header
8
+ v-if="!MOBILE_APP && route.meta.header.component"
9
+ id="header"
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
+ ref="header"
28
+ :is="route.meta.header.component"
29
+ :theme="headerTheme"
30
+ :logotype="route.meta.header.logotype"
31
+ :location="route.meta.header.location"
32
+ >
33
+ <component
34
+ v-if="route.meta.navigation"
35
+ :is="route.meta.navigation"
36
+ class="mn-l-auto desktop-only"
37
+ />
38
+ </component>
39
+ </header>
43
40
 
44
41
  <transition name="moveFromTop" mode="out-in" appear>
45
42
  <NavigationBar
46
43
  v-if="MOBILE_APP"
47
- :logotype="route.meta.logotype"
48
- :style="MOBILE_APP === 'ios' ?'padding-top: 6rem;':''"
44
+ :logotype="route.meta.header.logotype"
49
45
  />
50
46
  </transition>
51
47
 
52
48
  <Popup
49
+ v-if="route.meta.header.location"
53
50
  @close-popup="closeLocationPopup"
54
51
  :isPopupOpen="globals.state.isOpenLocationPopup"
55
52
  class="bg-white pd-semi w-m-33r radius-big"
@@ -97,10 +94,29 @@
97
94
  <!-- <Footer /> -->
98
95
  </router-view>
99
96
  </Suspense>
97
+
98
+ <router-view
99
+ name="defaultBottom"
100
+ v-slot="{ Component, route }"
101
+ >
102
+ <component
103
+ :is="Component"
104
+ />
105
+ </router-view>
106
+
107
+ <component
108
+ v-if="route.meta.radio?.page"
109
+ :is="route.meta.radio.page"
110
+ />
100
111
 
101
112
  </section>
102
113
 
103
- <BottomNavigation
114
+ <component
115
+ v-if="route.meta.radio?.player"
116
+ :is="route.meta.radio.player"
117
+ />
118
+
119
+ <BottomNavigationBar
104
120
  v-if="MOBILE_APP && route.meta.title_hide"
105
121
  class="pd-small z-index-2"
106
122
  />
@@ -163,13 +179,14 @@
163
179
  return route.meta.header_theme || 'light'
164
180
  }
165
181
  })
182
+
166
183
  const handleScroll = () => {
167
184
  scrollOffset.value = event.target.scrollTop
168
185
 
169
186
  if (scrollOffset.value > 50 && !isScrolled) {
170
187
  isScrolled = true;
171
188
 
172
- header.value.$el.classList.add('scrolled');
189
+ // header.value.$el.classList.add('scrolled');
173
190
 
174
191
  const firstRect = header.value.$el.getBoundingClientRect();
175
192
  const invert = -firstRect.top;
@@ -183,7 +200,7 @@
183
200
  }, 0);
184
201
  } else if (scrollOffset.value <= 75 && isScrolled) {
185
202
  isScrolled = false;
186
- header.value.$el.classList.remove('scrolled');
203
+ // header.value.$el.classList.remove('scrolled');
187
204
 
188
205
  const firstRect = header.value.$el.getBoundingClientRect();
189
206
  const invert = firstRect.top;
@@ -195,14 +212,6 @@
195
212
  }, 0);
196
213
  }
197
214
  };
198
- /////////////////////////////
199
- // MOUNTED
200
- /////////////////////////////
201
- // if (typeof window === 'undefined') {
202
- // show.value = true
203
- // } else {
204
- // show.value = false
205
- // }
206
215
 
207
216
  onMounted(async () => {
208
217
 
@@ -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
- toggleTheme() {
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
- state.theme.darkmode = !state.theme.darkmode
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
- root.classList.toggle('dark-theme');
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
- invertColors(variableNames, state.theme.originalColors);
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="#fff" mask="url(#myMask)" opacity="0.3">
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="20rem" xmlns="http://www.w3.org/2000/svg">
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="#fff" mask="url(#myMask)" opacity="0.3">
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="#fff" opacity="0.3">
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="#fff" mask="url(#myMask)" opacity="0.3">
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)