@ozdao/prometheus-framework 0.2.203 → 0.2.205

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +24 -15
  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 +24 -15
  4. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js.map +1 -1
  5. package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +51 -1
  6. package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs.map +1 -0
  7. package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +37 -22
  8. package/dist/prometheus-framework/src/components/Tab/Tab.vue.js.map +1 -0
  9. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +8 -6
  10. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs.map +1 -1
  11. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +8 -6
  12. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js.map +1 -1
  13. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +6 -5
  14. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs.map +1 -1
  15. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +6 -5
  16. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js.map +1 -1
  17. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +6 -5
  18. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs.map +1 -1
  19. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +6 -5
  20. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js.map +1 -1
  21. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +4 -3
  22. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs.map +1 -1
  23. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +4 -3
  24. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js.map +1 -1
  25. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  26. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  27. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs +1 -1
  28. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js +1 -1
  29. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  30. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
  31. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  32. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  33. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  34. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +1 -1
  35. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  36. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
  37. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  38. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  39. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  40. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
  41. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  42. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +1 -1
  43. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  44. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
  45. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  46. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
  47. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +3 -3
  48. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
  49. package/dist/prometheus-framework/src/modules/globals/globals.client.cjs +4 -1
  50. package/dist/prometheus-framework/src/modules/globals/globals.client.cjs.map +1 -1
  51. package/dist/prometheus-framework/src/modules/globals/globals.client.js +4 -1
  52. package/dist/prometheus-framework/src/modules/globals/globals.client.js.map +1 -1
  53. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +29 -29
  54. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs.map +1 -1
  55. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +30 -30
  56. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js.map +1 -1
  57. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +109 -102
  58. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs.map +1 -1
  59. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +110 -103
  60. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js.map +1 -1
  61. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.cjs +85 -0
  62. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.cjs.map +1 -0
  63. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.js +85 -0
  64. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Sidebar.vue.js.map +1 -0
  65. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  66. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
  67. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  68. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
  69. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +2 -2
  70. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
  71. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.cjs +3 -3
  72. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.cjs.map +1 -1
  73. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.js +3 -3
  74. package/dist/prometheus-framework/src/modules/orders/components/partials/ShopCart.vue.js.map +1 -1
  75. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  76. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
  77. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
  78. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
  79. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
  80. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  81. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  82. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  83. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +2 -2
  84. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  85. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +2 -2
  86. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +2 -2
  87. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +4 -5
  88. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs.map +1 -1
  89. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +4 -5
  90. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js.map +1 -1
  91. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
  92. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
  93. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +2 -2
  94. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  95. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +90 -96
  96. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs.map +1 -1
  97. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +91 -97
  98. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js.map +1 -1
  99. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  100. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  101. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  102. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  103. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +3 -3
  104. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +3 -3
  105. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +1 -1
  106. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
  107. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  108. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  109. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  110. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  111. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  112. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
  113. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +2 -2
  114. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
  115. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  116. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
  117. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +72 -25
  118. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs.map +1 -1
  119. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +81 -34
  120. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js.map +1 -1
  121. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  122. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
  123. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  124. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs.map +1 -1
  125. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
  126. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js.map +1 -1
  127. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +7 -2
  128. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs.map +1 -1
  129. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +7 -2
  130. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js.map +1 -1
  131. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +2 -2
  132. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  133. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  134. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
  135. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
  136. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
  137. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +2 -2
  138. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +2 -2
  139. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  140. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +1 -1
  141. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
  142. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +1 -1
  143. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +3 -3
  144. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +3 -3
  145. package/dist/prometheus-framework.cjs.js +14 -14
  146. package/dist/prometheus-framework.es.js +2830 -2823
  147. package/dist/style.css +89 -21
  148. package/package.json +1 -1
  149. package/src/components/Feed/Feed.vue +23 -10
  150. package/src/components/Tab/Tab.vue +10 -7
  151. package/src/modules/auth/views/components/pages/ResetPassword.vue +5 -4
  152. package/src/modules/auth/views/components/pages/SignIn.vue +5 -3
  153. package/src/modules/auth/views/components/pages/SignUp.vue +3 -2
  154. package/src/modules/globals/globals.client.js +5 -2
  155. package/src/modules/globals/views/components/layouts/Client.vue +100 -21
  156. package/src/modules/globals/views/components/partials/Header.vue +18 -29
  157. package/src/modules/globals/views/components/partials/Sidebar.vue +0 -2
  158. package/src/modules/marketplace/components/layouts/Marketplace.vue +16 -9
  159. package/src/modules/orders/components/partials/ShopCart.vue +3 -3
  160. package/src/modules/organizations/components/pages/Organization.vue +9 -6
  161. package/src/modules/organizations/components/sections/DetailsTab.vue +132 -133
  162. package/src/modules/products/components/pages/Products.vue +89 -10
  163. package/src/modules/products/components/sections/FilterProducts.vue +1 -1
  164. package/src/modules/products/components/sections/SectionProduct.vue +4 -0
package/dist/style.css CHANGED
@@ -1068,6 +1068,27 @@ to {
1068
1068
  left: 0;
1069
1069
  right: 0;
1070
1070
  opacity: 0.9;
1071
+ }
1072
+ .pac-container {
1073
+ position: absolute;
1074
+ background-color: white;
1075
+ z-index: 1000;
1076
+ border-radius: 2rem;
1077
+ overflow: hidden;
1078
+ }
1079
+
1080
+ .my-location-button {
1081
+ position: absolute;
1082
+ right: 10px;
1083
+ top: 10px;
1084
+ z-index: 99;
1085
+ }
1086
+ .gm-style-cc { display:none;
1087
+ }
1088
+
1089
+
1090
+ .no-hover-color[data-v-71a26b8f]:hover {
1091
+ color: unset;
1071
1092
  }.header-arrow {
1072
1093
  position: absolute;
1073
1094
  left: 1.25rem;
@@ -1111,27 +1132,6 @@ to {
1111
1132
  .slideY-enter-from span,
1112
1133
  .slideY-leave-to span {
1113
1134
  position: absolute;
1114
- }
1115
- .pac-container {
1116
- position: absolute;
1117
- background-color: white;
1118
- z-index: 1000;
1119
- border-radius: 2rem;
1120
- overflow: hidden;
1121
- }
1122
-
1123
- .my-location-button {
1124
- position: absolute;
1125
- right: 10px;
1126
- top: 10px;
1127
- z-index: 99;
1128
- }
1129
- .gm-style-cc { display:none;
1130
- }
1131
-
1132
-
1133
- .no-hover-color[data-v-71a26b8f]:hover {
1134
- color: unset;
1135
1135
  }.shop-cart {
1136
1136
  display: block;
1137
1137
  position: fixed;
@@ -1228,6 +1228,72 @@ to {
1228
1228
  opacity: 0;
1229
1229
  left: 0;
1230
1230
  top: 0;
1231
+ }
1232
+ .scaleTransition-5px-enter-active,
1233
+ .scaleTransition-5px-leave-active {
1234
+ transform: translateY(0px);
1235
+ opacity: 1;
1236
+ z-index: 1;
1237
+ transition: all 0.2s ease;
1238
+ }
1239
+ .scaleTransition-5px-enter-from,
1240
+ .scaleTransition-5px-leave-to {
1241
+ opacity: 0;
1242
+ z-index: 0;
1243
+ position: absolute;
1244
+ transform: translateY(-30px);
1245
+ transition: all 0.2s ease;
1246
+ }
1247
+ .scaleTransition-enter-from,
1248
+ .scaleTransition-leave-to {
1249
+ opacity: 0;
1250
+ z-index: 0;
1251
+ position: absolute;
1252
+ width: inherit;
1253
+ height: inherit;
1254
+ display: block;
1255
+ transform: translateY(-30px);
1256
+ transition: all 0.5s ease;
1257
+ }
1258
+ .scaleTransition-enter-active,
1259
+ .scaleTransition-leave-active {
1260
+ transform: translateY(0px);
1261
+ opacity: 1;
1262
+ z-index: 1;
1263
+ transition: all 0.5s ease;
1264
+ }
1265
+ .scaleTransition-enter-from,
1266
+ .scaleTransition-leave-to {
1267
+ opacity: 0;
1268
+ z-index: 0;
1269
+ position: absolute;
1270
+ width: inherit;
1271
+ height: inherit;
1272
+ display: block;
1273
+ transform: translateY(-30px);
1274
+ transition: all 0.5s ease;
1275
+ }
1276
+ .scaleIn-enter-active,
1277
+ .scaleIn-leave-active {
1278
+ transition: all 0.5s ease;
1279
+ }
1280
+ .scaleIn-enter-active > section, .scaleIn-enter-active div,
1281
+ .scaleIn-leave-active > section,
1282
+ .scaleIn-leave-active div {
1283
+ transform-origin: 0 0;
1284
+ transform: translateZ(0px);
1285
+ transition: all 0.5s ease;
1286
+ }
1287
+ .scaleIn-enter-from,
1288
+ .scaleIn-leave-to {
1289
+ opacity: 0;
1290
+ transform: scale(0.95);
1291
+ }
1292
+ .scaleIn-enter-from > section, .scaleIn-enter-from div,
1293
+ .scaleIn-leave-to > section,
1294
+ .scaleIn-leave-to div {
1295
+ transform: translateZ(-30px);
1296
+ transition: all 0.5s ease;
1231
1297
  }.router-link-active[data-v-380d7b3b], .router-link-exact-active[data-v-380d7b3b] {
1232
1298
  color: rgb(var(--main)) !important;
1233
1299
  }
@@ -1312,6 +1378,8 @@ a[data-v-380d7b3b]:hover {
1312
1378
  opacity: 1;
1313
1379
  }.mobile-menu-section > div:last-of-type {
1314
1380
  border-bottom: none !important;
1381
+ }#sidebar ul li {
1382
+ margin-bottom: 1rem;
1315
1383
  }
1316
1384
  /* Add styles for the user card component here */
1317
1385
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ozdao/prometheus-framework",
3
- "version": "0.2.203",
3
+ "version": "0.2.205",
4
4
  "description": "Web3 Framework focused on user experience and ease of development.",
5
5
  "author": "OZ DAO <hello@ozdao.dev>",
6
6
  "license": "GPL-3.0-or-later",
@@ -117,17 +117,26 @@
117
117
  :items="itemsList"
118
118
  >
119
119
  </slot>
120
+ </TransitionGroup>
120
121
 
121
- <button
122
- v-if="showLoadMore && hasMoreItems && itemsList.length > 0"
123
- @click="loadMoreItems"
124
- class="col-w-100 w-100 bg-main button"
125
- >
126
- Load More
127
- </button>
122
+ <button
123
+ v-if="showLoadMore && hasMoreItems && itemsList.length > 0 && !isLoadingExtra"
124
+ @click="loadMoreItems"
125
+ class="col-w-100 mn-t-thin w-100 bg-main button"
126
+ >
127
+ Load More
128
+ </button>
128
129
 
129
- <div key="sentinel" ref="sentinel" class="sentinel"></div>
130
- </TransitionGroup>
130
+ <div v-else key="sentinel" ref="sentinel" class="sentinel"></div>
131
+
132
+ <div
133
+
134
+ v-if="isLoadingExtra"
135
+ class="col-w-100 w-100 pos-relative"
136
+ >
137
+ <Loader/>
138
+ </div>
139
+
131
140
 
132
141
  </template>
133
142
 
@@ -208,6 +217,7 @@ const itemsList = ref(items.value || []);
208
217
  const hasMoreItems = ref(false);
209
218
 
210
219
  let isLoading = ref(true);
220
+ let isLoadingExtra = ref(false);
211
221
  let sentinel = ref(null)
212
222
 
213
223
  let currentSkip = ref(props.options.skip ? props.options.skip : 0);
@@ -227,6 +237,7 @@ function updateSearch(search) {
227
237
  }
228
238
 
229
239
  const loadMoreItems = async () => {
240
+ isLoadingExtra.value = true
230
241
 
231
242
  if (hasMoreItems.value) {
232
243
  currentSkip.value += currentLimit.value;
@@ -254,6 +265,8 @@ const loadMoreItems = async () => {
254
265
 
255
266
  if (items.value) items.value = itemsList.value;
256
267
  }
268
+
269
+ isLoadingExtra.value = false
257
270
  };
258
271
 
259
272
  const fetchItems = async () => {
@@ -343,7 +356,7 @@ onMounted(async () => {
343
356
  }
344
357
  })
345
358
 
346
- observer.observe(sentinel.value)
359
+ if (sentinel.value) observer.observe(sentinel.value)
347
360
  }
348
361
  });
349
362
 
@@ -1,15 +1,17 @@
1
1
  <template>
2
- <div class="flex-nowrap flex-v-center flex pos-relative">
2
+ <div class="flex-nowrap flex-v-center gap-micro pd-micro flex pos-relative">
3
+
3
4
  <div
4
5
  v-for="(tab,index) in tabs"
5
6
  :key="index"
6
7
  @click="selectTab(index,tab)"
7
- :class="{
8
- 't-transp': index !== selectedTab,
9
- 'br-solid br-b-3px br-main': index === selectedTab,
10
- }"
11
- class="z-index-1 t-center pd-small w-max ">
12
- <label>{{tab.name}}</label>
8
+ class="z-index-1 t-center"
9
+ :class="[
10
+ index !== selectedTab ? 'bg-white' : 'bg-main',
11
+ tabClass ? tabClass : 'pd-small pd-r-medium pd-l-medium w-max pd-small radius-small'
12
+ ]"
13
+ >
14
+ <label class="">{{tab.name}}</label>
13
15
  </div>
14
16
  </div>
15
17
  </template>
@@ -22,6 +24,7 @@
22
24
 
23
25
  const props = defineProps({
24
26
  tabs: Array,
27
+ tabClass: String,
25
28
  selected: String,
26
29
  callback: Function
27
30
  })
@@ -13,6 +13,7 @@
13
13
  {name: t('phone'), value: 'phone'},
14
14
  {name: t('email'), value: 'email'}
15
15
  ]"
16
+ tabClass="pd-small pd-r-medium pd-l-medium w-100 pd-small radius-small"
16
17
  />
17
18
  </div>
18
19
 
@@ -20,7 +21,7 @@
20
21
  <div class="pos-relative">
21
22
  <!-- Phone -->
22
23
  <transition name="slide-fade">
23
- <div v-if="tabAuth === 'phone'" class="mn-b-semi radius-small o-hidden">
24
+ <div v-if="tabAuth === 'phone'" class="mn-b-semi radius-small">
24
25
  <p class="mn-b-small t-transp">{{ t('smsInfo') }}</p>
25
26
  <FieldPhone
26
27
  @change="(event) => auth.state.user.phone = event"
@@ -32,7 +33,7 @@
32
33
  :validation="phoneValidation"
33
34
  mode="national"
34
35
  :inputOptions="{placeholder: t('phonePlaceholder')}"
35
- class="bg-light pd-small radius-small mn-b-thin"
36
+ class="bg-light h-4r pd-small radius-small mn-b-thin"
36
37
  />
37
38
  </div>
38
39
  </transition>
@@ -44,13 +45,13 @@
44
45
  v-model:field="auth.state.user.email"
45
46
  :placeholder="t('emailPlaceholder')"
46
47
  :validation="emailValidation"
47
- class="bg-light pd-medium radius-small"
48
+ class="bg-light h-4r pd-medium radius-small"
48
49
  />
49
50
  </div>
50
51
  </transition>
51
52
  </div>
52
53
  <!-- Button -->
53
- <Button :submit="onSubmit" :callback="redirectTo" class="mn-b-big">{{ t('sendCode') }}</Button>
54
+ <Button :submit="onSubmit" :callback="redirectTo" class="w-100 bg-main">{{ t('sendCode') }}</Button>
54
55
  </section>
55
56
  </template>
56
57
 
@@ -14,13 +14,14 @@
14
14
  </p>
15
15
 
16
16
  <!-- Select -->
17
- <div class="mn-b-small p-small uppercase t-semi bg-light radius-big o-hidden">
17
+ <div class="mn-b-small p-small uppercase t-semi bg-light radius-small o-hidden">
18
18
  <Tab
19
19
  v-model:selected="tabAuth"
20
20
  :tabs="[
21
21
  {name: t('phone'), value: 'phone'},
22
22
  {name: t('email'), value: 'email'}
23
23
  ]"
24
+ tabClass="pd-small pd-r-medium pd-l-medium w-100 pd-small radius-small"
24
25
  />
25
26
  </div>
26
27
 
@@ -40,7 +41,7 @@
40
41
  :validation="phoneValidation"
41
42
  mode="national"
42
43
  :inputOptions="{placeholder: t('phonePlaceholder'), type: 'tel'}"
43
- class="bg-light pd-small radius-small mn-b-thin"
44
+ class="bg-light h-4r pd-small radius-small mn-b-thin"
44
45
  />
45
46
 
46
47
  </div>
@@ -51,7 +52,7 @@
51
52
  v-model:field="auth.state.user.email"
52
53
  :placeholder="t('emailPlaceholder')"
53
54
  :validation="emailValidation"
54
- class="bg-light pd-medium radius-small"
55
+ class="bg-light h-4r pd-medium radius-small"
55
56
  />
56
57
  </div>
57
58
  </transition>
@@ -68,6 +69,7 @@
68
69
  pd-medium
69
70
  radius-small
70
71
  mn-b-semi
72
+ h-4r
71
73
  "
72
74
  />
73
75
  <!-- Links -->
@@ -12,6 +12,7 @@
12
12
  {name: t('phone'), value: 'phone'},
13
13
  {name: t('email'), value: 'email'}
14
14
  ]"
15
+ tabClass="pd-small pd-r-medium pd-l-medium w-100 pd-small radius-small"
15
16
  />
16
17
  </div>
17
18
 
@@ -31,7 +32,7 @@
31
32
  :validation="phoneValidation"
32
33
  mode="national"
33
34
  :inputOptions="{placeholder: t('phonePlaceholder')}"
34
- class="bg-light pd-small radius-small mn-b-thin"
35
+ class="bg-light h-4r pd-small radius-small mn-b-thin"
35
36
  />
36
37
 
37
38
  </div>
@@ -43,7 +44,7 @@
43
44
  v-model:field="auth.state.user.email"
44
45
  :placeholder="t('emailPlaceholder')"
45
46
  :validation="emailValidation"
46
- class="bg-light pd-medium radius-small"
47
+ class="bg-light h-4r pd-medium radius-small"
47
48
  />
48
49
  </div>
49
50
  </transition>
@@ -7,6 +7,7 @@ import scrollBehavior from './views/router/scrollBehavior.js';
7
7
  import layoutApp from './views/components/layouts/App.vue'
8
8
  import layoutClient from './views/components/layouts/Client.vue'
9
9
  import Header from '@pf/src/modules/globals/views/components/partials/Header.vue'
10
+ import Sidebar from '@pf/src/modules/globals/views/components/partials/Sidebar.vue'
10
11
 
11
12
  import * as mixins from './views/mixins/mixins.js'
12
13
  import * as storeGlobals from './views/store/globals.js';
@@ -21,7 +22,8 @@ export {
21
22
  // Components
22
23
  layoutClient,
23
24
  layoutApp,
24
- Header
25
+ Header,
26
+ Sidebar
25
27
  };
26
28
 
27
29
  // Пример функции инициализации для модуля заказов
@@ -88,7 +90,8 @@ const ModuleGlobals = {
88
90
  // Pages
89
91
  layoutClient,
90
92
  layoutApp,
91
- Header
93
+ Header,
94
+ Sidebar
92
95
  }
93
96
  }
94
97
  }
@@ -4,22 +4,42 @@
4
4
  <Loader v-if="!page" class="pos-fixed"/>
5
5
  </transition>
6
6
 
7
- <transition name="moveFromTop" mode="out-in" appear>
8
- <component
9
- v-if="!MOBILE_APP"
10
- :is="route.meta.header"
11
- ref="header"
12
- class="transition-ease-in-out pos-relative br-b br-solid br-grey-transp-10 pos-t-0"
13
- :theme="headerTheme"
14
- :logotype="route.meta.logotype"
15
- >
16
- <component
17
- v-if="route.meta.navigation"
18
- :is="route.meta.navigation"
19
- class="mn-l-auto desktop-only"
20
- />
21
- </component>
22
- </transition>
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> -->
23
43
 
24
44
  <transition name="moveFromTop" mode="out-in" appear>
25
45
  <NavigationBar
@@ -64,12 +84,14 @@
64
84
  />
65
85
 
66
86
 
67
- <transition @before-enter="scrollTop" name="scaleIn" mode="out-in" appear>
87
+ <transition @before-enter="scrollTop" name="scaleTransition" mode="out-in" appear>
68
88
  <component
69
89
  ref="page"
70
90
  :is="Component"
71
91
  :key="route.path"
72
92
  />
93
+ <!-- Key пока выключил непонятно какие проблемы это вызовет -->
94
+ <!-- -->
73
95
  </transition>
74
96
 
75
97
  <!-- <Footer /> -->
@@ -95,16 +117,13 @@
95
117
  import * as globals from '@pf/src/modules/globals/views/store/globals'
96
118
  // Partials
97
119
  import Status from '@pf/src/components/Status/Status.vue'
98
-
99
120
  import Popup from '@pf/src/components/Popup/Popup.vue'
100
121
  import Breadcrumbs from '@pf/src/components/Breadcrumbs/Breadcrumbs.vue'
101
122
  import Loader from '@pf/src/components/Loader/Loader.vue'
102
-
103
-
104
- import NavigationBar from '@pf/src/modules/globals/views/components/partials/NavigationBar.vue'
105
123
  import LocationSelection from '@pf/src/modules/globals/views/components/partials/LocationSelection.vue'
106
124
  import Footer from '@pf/src/modules/globals/views/components/partials/Footer.vue'
107
125
  import BottomNavigation from '@pf/src/modules/globals/views/components/partials/BottomNavigation.vue'
126
+ import NavigationBar from '@pf/src/modules/globals/views/components/partials/NavigationBar.vue'
108
127
 
109
128
  import ShopCart from '@pf/src/modules/orders/components/partials/ShopCart.vue'
110
129
  /////////////////////////////
@@ -283,4 +302,64 @@
283
302
  top: 0;
284
303
  }
285
304
 
305
+ .scaleTransition-5px-enter-active,
306
+ .scaleTransition-5px-leave-active {
307
+ transform: translateY(0px);
308
+ opacity: 1;
309
+ z-index: 1;
310
+ transition: all 0.2s ease;
311
+ }
312
+
313
+ .scaleTransition-5px-enter-from,
314
+ .scaleTransition-5px-leave-to {
315
+ opacity: 0;
316
+ z-index: 0;
317
+ position: absolute;
318
+ transform: translateY(-30px);
319
+ transition: all 0.2s ease;
320
+ }
321
+
322
+ .scaleTransition-enter-from,
323
+ .scaleTransition-leave-to {
324
+ opacity: 0;
325
+ z-index: 0;
326
+ position: absolute;
327
+ width: inherit;
328
+ height: inherit;
329
+ display: block;
330
+ transform: translateY(-30px);
331
+ transition: all 0.5s ease;
332
+ }
333
+
334
+ .scaleTransition-enter-active,
335
+ .scaleTransition-leave-active {
336
+ transform: translateY(0px);
337
+ opacity: 1;
338
+ z-index: 1;
339
+ transition: all 0.5s ease;
340
+ }
341
+ .scaleTransition-enter-from,
342
+ .scaleTransition-leave-to {
343
+ opacity: 0;
344
+ z-index: 0;
345
+ position: absolute;
346
+ width: inherit;
347
+ height: inherit;
348
+ display: block;
349
+ transform: translateY(-30px);
350
+ transition: all 0.5s ease;
351
+ }
352
+
353
+ .scaleIn-enter-active,
354
+ .scaleIn-leave-active {
355
+ // background: red;
356
+ transition: all 0.5s ease;
357
+ > section,div { transform-origin: 0 0; transform: translateZ(0px); transition: all 0.5s ease; }
358
+ }
359
+ .scaleIn-enter-from,
360
+ .scaleIn-leave-to {
361
+ opacity: 0;
362
+ > section,div { transform: translateZ(-30px); transition: all 0.5s ease; }
363
+ transform: scale(0.95);
364
+ }
286
365
  </style>
@@ -25,7 +25,11 @@
25
25
  },
26
26
  logotype: {
27
27
  type: Object
28
- }
28
+ },
29
+ location: {
30
+ type: Boolean,
31
+ default: true
32
+ },
29
33
  });
30
34
  // Accessing state
31
35
  const router = useRouter()
@@ -46,23 +50,8 @@
46
50
  </script>
47
51
 
48
52
  <template>
49
- <header
50
- id="header"
51
- class="
52
- pd-thin
53
- gap-micro
54
- flex-center
55
- flex-nowrap
56
- flex
57
- h-4r
58
- w-100
59
- z-index-2
60
- "
61
- :class="{
62
- 't-black bg-white': theme === 'light',
63
- 't-white bg-black': theme === 'dark'
64
- }"
65
- >
53
+
54
+ <div class="flex-nowrap flex-v-center flex-justify-start flex gap-micro w-min-20 w-max-20r">
66
55
  <!-- MENU -->
67
56
  <button
68
57
  aria-label="menu"
@@ -86,18 +75,15 @@
86
75
 
87
76
  <!-- LOGO -->
88
77
  <component
89
- v-if="props.logotype"
90
- :is="props.logotype"
78
+ v-if="logotype.component"
79
+ :is="logotype.component"
91
80
  @click="router.push({ path: '/' })"
92
81
  :theme="theme"
93
- class="
94
- h-2r
95
- w-auto
96
- cursor-pointer
97
- "
82
+ :class="logotype.class"
98
83
  />
99
84
 
100
85
  <button
86
+ v-if="location"
101
87
  aria-label="button_location"
102
88
  class="
103
89
  cursor-pointer
@@ -122,30 +108,33 @@
122
108
  </svg>
123
109
  {{globals.state.position?.country ? globals.state.position.country : 'World'}}
124
110
  </button>
111
+ </div>
125
112
 
113
+ <div class="flex-nowrap flex">
126
114
  <!-- NAGIVATION -->
127
115
  <slot></slot>
128
-
129
116
  <Checkbox
130
117
  name="darkmode"
131
118
  :label="'Darkmode'"
132
119
  :radio="globals.state.theme.darkmode"
133
120
  @update:radio="event => globals.actions.toggleTheme()"
134
- class="mn-l-thin mn-r-auto desktop-only t-semi pd-micro br-2px br-solid radius-extra"
121
+ class="mn-l-thin desktop-only t-semi pd-micro br-2px br-solid radius-extra"
135
122
  :theme="theme"
136
123
  :class="{
137
124
  'br-light t-black': theme === 'light',
138
125
  'br-dark t-white': theme === 'dark'
139
126
  }"
140
127
  />
128
+ </div>
141
129
 
130
+ <div class="flex-justify-end flex-v-center flex-nowrap flex gap-micro w-min-20 w-max-20r">
142
131
  <Button
143
132
  aria-label="shopcart"
144
133
  :submit="a => shopcart.actions.toggleShopcart()"
145
134
  :counter="shopcart.getters.cartTotalAmount"
146
135
  :showSucces="false"
147
136
  :showLoader="false"
148
- class="pd-zero mn-l-auto mn-r-micro"
137
+ class="pd-zero mn-r-micro"
149
138
  >
150
139
  <IconShopcart
151
140
  class="i-semi"
@@ -184,7 +173,7 @@
184
173
  'bg-dark t-white': theme === 'dark'
185
174
  }"
186
175
  />
187
- </header>
176
+ </div>
188
177
  </template>
189
178
 
190
179
  <style lang="scss">
@@ -72,8 +72,6 @@ watch(() => route.path, () => {
72
72
  if (props.stateSidebar === true) emits('closeSidebar');
73
73
  });
74
74
 
75
-
76
-
77
75
  let vClickOutside = clickOutside
78
76
 
79
77
  function clickedOutside(event) {