@ozdao/prometheus-framework 0.2.29 → 0.2.31

Sign up to get free protection for your applications and to get access to all the features.
Files changed (326) hide show
  1. package/dist/addMembersQuantity-3505b6f3.mjs +98 -0
  2. package/dist/addMembersQuantity-fb552ca0.js +97 -0
  3. package/dist/auth.server.js +6 -9
  4. package/dist/auth.server.mjs +6 -9
  5. package/dist/community.server.js +28 -21
  6. package/dist/community.server.mjs +28 -21
  7. package/dist/events.server.js +1 -1
  8. package/dist/events.server.mjs +1 -1
  9. package/dist/files.server.js +114 -111
  10. package/dist/files.server.mjs +114 -111
  11. package/dist/gallery.server.js +3 -3
  12. package/dist/gallery.server.mjs +3 -3
  13. package/dist/globals.server.js +1 -1
  14. package/dist/globals.server.mjs +1 -1
  15. package/dist/index-a8dffc0c.js +213 -0
  16. package/dist/index-d769324d.mjs +214 -0
  17. package/dist/mailing-37c2ba41.mjs +68 -0
  18. package/dist/mailing-fe16a26a.js +67 -0
  19. package/dist/main.css +1 -1
  20. package/dist/middlewares.server.js +1 -1
  21. package/dist/middlewares.server.mjs +1 -1
  22. package/dist/organizations.server.js +125 -25
  23. package/dist/organizations.server.mjs +125 -25
  24. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
  25. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +49 -2
  26. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
  27. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +2 -49
  28. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  29. package/dist/prometheus-framework/src/components/Select/Select.vue.js +78 -2
  30. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  31. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +2 -78
  32. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  33. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  34. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  35. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  36. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  37. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
  38. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +4 -1
  39. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +62 -2
  40. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -4
  41. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +2 -62
  42. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  43. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
  44. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
  45. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
  46. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  47. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +1 -1
  48. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  49. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +2 -2
  50. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  51. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
  52. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  53. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +1 -1
  54. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  55. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
  56. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  57. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
  58. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
  59. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +11 -2
  60. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
  61. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +2 -11
  62. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  63. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
  64. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  65. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +1 -1
  66. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  67. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +2 -2
  68. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  69. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +1 -1
  70. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  71. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +1 -1
  72. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  73. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  74. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  75. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
  76. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  77. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +1 -1
  78. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  79. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +2 -2
  80. package/dist/prometheus-framework.cjs.js +30 -29
  81. package/dist/prometheus-framework.es.js +2478 -2282
  82. package/dist/reports.server.js +1 -1
  83. package/dist/reports.server.mjs +1 -1
  84. package/dist/style.css +1 -1
  85. package/dist/users.server.js +1 -1
  86. package/dist/users.server.mjs +1 -1
  87. package/package.json +4 -2
  88. package/src/assets/images/logo.svg +7 -7
  89. package/src/components/Block/Block.vue +77 -0
  90. package/src/components/Breadcrumbs/Breadcrumbs.vue +2 -2
  91. package/src/components/Button/Button.vue +32 -227
  92. package/src/components/Checkbox/Checkbox.vue +1 -1
  93. package/src/components/Chips/Chips.vue +8 -8
  94. package/src/components/DatePicker/DatePicker.vue +3 -4
  95. package/src/components/EditImages/EditImages.vue +32 -14
  96. package/src/{modules/globals/components/sections → components/Feed}/Feed.vue +60 -45
  97. package/src/components/FieldBig/FieldBig.vue +16 -5
  98. package/src/components/FieldPhone/FieldPhone.vue +2 -1
  99. package/src/components/Footer/Footer.vue +36 -27
  100. package/src/components/Header/Header.vue +161 -166
  101. package/src/components/Loader/Loader.vue +9 -2
  102. package/src/components/LocationMarker/LocationMarker.vue +38 -12
  103. package/src/components/LocationSelection/LocationSelection.vue +67 -75
  104. package/src/components/Magnifier/Magnifier.vue +3 -3
  105. package/src/components/Navigation/Navigation.vue +16 -16
  106. package/src/components/Popup/Popup.vue +8 -6
  107. package/src/components/Select/Select.vue +35 -6
  108. package/src/components/SelectMulti/SelectMulti.vue +5 -13
  109. package/src/components/Shader/Shader.vue +128 -0
  110. package/src/components/Sidebar/Sidebar.vue +71 -35
  111. package/src/components/Spoiler/Spoiler.vue +1 -1
  112. package/src/components/Tab/Tab.vue +1 -1
  113. package/src/components/Tooltip/Tooltip.vue +1 -1
  114. package/src/components/UploadImage/UploadImage.vue +4 -4
  115. package/src/components/UploadImageMultiple/UploadImageMultiple.vue +54 -10
  116. package/src/modules/applications/controllers/applications.controller.js +0 -1
  117. package/src/modules/auth/components/pages/EnterCode.vue +1 -1
  118. package/src/modules/auth/components/pages/EnterPassword.vue +3 -3
  119. package/src/modules/auth/components/pages/ResetPassword.vue +1 -2
  120. package/src/modules/auth/components/pages/SignIn.vue +26 -10
  121. package/src/modules/auth/components/pages/SignUp.vue +1 -2
  122. package/src/modules/auth/controllers/twofa.controller.js +4 -4
  123. package/src/modules/auth/localization/EnterCode.json +2 -2
  124. package/src/modules/auth/localization/EnterPassword.json +2 -2
  125. package/src/modules/auth/localization/ResetPassword.json +2 -2
  126. package/src/modules/auth/localization/SignIn.json +3 -3
  127. package/src/modules/auth/localization/SignUp.json +3 -3
  128. package/src/modules/auth/utils/server/verifyAppleIdToken.js +0 -1
  129. package/src/modules/backoffice/components/layouts/Backoffice.vue +1 -1
  130. package/src/modules/backoffice/components/pages/Dashboard.vue +171 -120
  131. package/src/modules/backoffice/router/backoffice.js +119 -129
  132. package/src/modules/chats/components/blocks/ChatMessage.vue +25 -0
  133. package/src/modules/chats/components/pages/ChatPage.vue +50 -0
  134. package/src/modules/chats/components/sections/ChatWindow.vue +38 -0
  135. package/src/modules/chats/controllers/chats.controller.js +32 -0
  136. package/src/modules/chats/models/chat.model.js +26 -0
  137. package/src/modules/chats/routes/chats.routes.js +53 -0
  138. package/src/modules/chats/store/chat.store.js +61 -0
  139. package/src/modules/community/components/blocks/CardBlogpost.vue +19 -4
  140. package/src/modules/community/components/layouts/Community.vue +96 -39
  141. package/src/modules/community/components/pages/Blog.vue +4 -3
  142. package/src/modules/community/components/pages/BlogPost.vue +10 -1
  143. package/src/modules/community/components/pages/CreateBlogPost.vue +36 -17
  144. package/src/modules/community/components/sections/HotPosts.vue +3 -3
  145. package/src/modules/community/components/sections/JoinUs.vue +19 -13
  146. package/src/modules/community/controllers/blog.controller.js +3 -4
  147. package/src/modules/community/controllers/utils/queryProcessor.js +16 -17
  148. package/src/modules/community/models/blogpost.model.js +6 -3
  149. package/src/modules/community/store/blogposts.js +1 -0
  150. package/src/modules/constructor/components/elements/Embed.vue +12 -1
  151. package/src/modules/constructor/components/elements/ImageUpload.vue +2 -2
  152. package/src/modules/constructor/components/elements/Textarea.vue +6 -1
  153. package/src/modules/constructor/components/elements/Video.vue +79 -0
  154. package/src/modules/constructor/components/elements/VideoPlayer.vue +59 -0
  155. package/src/modules/constructor/components/elements/Youtube.vue +52 -0
  156. package/src/modules/constructor/components/sections/Constructor.vue +27 -3
  157. package/src/modules/events/components/layouts/layoutEvents.vue +7 -28
  158. package/src/modules/files/controllers/files.controller.js +9 -22
  159. package/src/modules/files/middlewares/server/index.js +2 -2
  160. package/src/modules/files/middlewares/server/middlewareBusboy.js +137 -0
  161. package/src/modules/files/routes/files.routes.js +9 -9
  162. package/src/modules/globals/localization/vue-i18n.js +8 -1
  163. package/src/modules/globals/mixins/mixins.js +23 -13
  164. package/src/modules/globals/router/routerGuards.js +2 -2
  165. package/src/modules/globals/store/globals.js +86 -9
  166. package/src/modules/globals/utils/mailing.js +24 -3
  167. package/src/modules/icons/entities/IconCommunity.vue +4 -4
  168. package/src/modules/icons/entities/IconEvents.vue +1 -1
  169. package/src/modules/icons/entities/IconGroups.vue +1 -1
  170. package/src/modules/icons/entities/IconPrice.vue +5 -0
  171. package/src/modules/icons/entities/IconProfile.vue +5 -0
  172. package/src/modules/icons/entities/IconShopcart.vue +5 -0
  173. package/src/modules/icons/entities/IconTime.vue +5 -0
  174. package/src/modules/icons/icons.client.js +4 -0
  175. package/src/modules/icons/labels/LabelAppStore.vue +24 -24
  176. package/src/modules/icons/labels/LabelGooglePlay.vue +9 -9
  177. package/src/modules/icons/logos/Logotype.vue +20 -0
  178. package/src/modules/icons/navigation/IconAdd.vue +17 -0
  179. package/src/modules/icons/navigation/IconChevronBottom.vue +18 -0
  180. package/src/modules/icons/navigation/IconChevronRight.vue +3 -3
  181. package/src/modules/icons/navigation/IconDelete.vue +19 -0
  182. package/src/modules/icons/navigation/IconMinus.vue +15 -0
  183. package/src/modules/icons/navigation/IconSearch.vue +17 -0
  184. package/src/modules/icons/navigation/IconUpload.vue +16 -0
  185. package/src/modules/icons/placeholders/PlaceholderImage.vue +5 -0
  186. package/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue +20 -0
  187. package/src/modules/icons/placeholders/PlaceholderUserpic.vue +4 -18
  188. package/src/modules/icons/socials/instagram.vue +1 -1
  189. package/src/modules/icons/socials/line.vue +1 -1
  190. package/src/modules/icons/socials/reddit.vue +1 -1
  191. package/src/modules/icons/socials/telegram.vue +1 -1
  192. package/src/modules/icons/socials/twitter.vue +1 -1
  193. package/src/modules/icons/socials/youtube.vue +1 -1
  194. package/src/modules/landing/components/sections/Guide.vue +92 -0
  195. package/src/modules/landing/components/sections/MobileApp.vue +23 -12
  196. package/src/modules/marketplace/components/layouts/Marketplace.vue +76 -188
  197. package/src/modules/marketplace/components/pages/Catalog.vue +65 -119
  198. package/src/modules/marketplace/components/sections/Filters.vue +195 -0
  199. package/src/modules/marketplace/store/marketplace.js +2 -2
  200. package/src/modules/middlewares/client/auth.validation.js +0 -6
  201. package/src/modules/middlewares/client/states.validation.js +2 -8
  202. package/src/modules/middlewares/server/authJwt.js +1 -1
  203. package/src/modules/mobile/components/Menu/MenuItem.vue +3 -6
  204. package/src/modules/openai/controllers/openai.controller.js +0 -1
  205. package/src/modules/orders/components/blocks/CardOrder.vue +166 -0
  206. package/src/modules/orders/components/blocks/CardOrderItem.vue +59 -66
  207. package/src/modules/orders/components/blocks/Positions.vue +4 -4
  208. package/src/modules/orders/components/pages/EditOrder.vue +78 -142
  209. package/src/modules/orders/components/pages/FormOrder.vue +192 -0
  210. package/src/modules/orders/components/pages/Order.vue +326 -120
  211. package/src/modules/orders/components/pages/Orders.vue +13 -9
  212. package/src/modules/orders/components/pages/{ViewOrder.vue → Orders_refact.vue} +13 -10
  213. package/src/modules/orders/components/partials/ShopCart.vue +22 -13
  214. package/src/modules/orders/components/sections/EmptyState.vue +1 -1
  215. package/src/modules/orders/components/sections/{Form.vue → FormOrderDetails.vue} +38 -106
  216. package/src/modules/orders/controllers/orders.controller.js +37 -28
  217. package/src/modules/orders/models/order.model.js +39 -9
  218. package/src/modules/orders/router/orders.router.js +23 -2
  219. package/src/modules/orders/routes/orders.routes.js +14 -17
  220. package/src/modules/orders/store/orders.js +24 -9
  221. package/src/modules/orders/store/shopcart.js +20 -19
  222. package/src/modules/organizations/components/blocks/CardDepartment.vue +1 -1
  223. package/src/modules/organizations/components/blocks/CardOrganization.vue +98 -46
  224. package/src/modules/organizations/components/blocks/Rating.vue +1 -1
  225. package/src/modules/organizations/components/blocks/Socials.vue +11 -3
  226. package/src/modules/organizations/components/elements/ButtonToggleMembership.vue +1 -1
  227. package/src/modules/organizations/components/pages/Department.vue +1 -1
  228. package/src/modules/organizations/components/pages/DepartmentEdit.vue +4 -4
  229. package/src/modules/organizations/components/pages/Members.vue +6 -4
  230. package/src/modules/organizations/components/pages/Organization.vue +120 -49
  231. package/src/modules/organizations/components/pages/OrganizationEdit.vue +8 -1
  232. package/src/modules/organizations/components/pages/Organizations.vue +27 -6
  233. package/src/modules/organizations/components/sections/DetailsTab.vue +11 -9
  234. package/src/modules/organizations/components/sections/Feed.vue +0 -3
  235. package/src/modules/organizations/components/sections/FeedDepartments.vue +2 -2
  236. package/src/modules/organizations/controllers/organizations.controller.js +126 -15
  237. package/src/modules/organizations/controllers/utils/addMembersQuantity.js +19 -9
  238. package/src/modules/organizations/models/organization.model.js +5 -2
  239. package/src/modules/organizations/router/members.router.js +1 -3
  240. package/src/modules/organizations/router/organizations.js +8 -6
  241. package/src/modules/organizations/router/products.router.js +36 -2
  242. package/src/modules/organizations/store/organizations.js +38 -84
  243. package/src/modules/pages/controllers/pages.controller.js +0 -4
  244. package/src/modules/payments/controller/payments.controller.js +1 -1
  245. package/src/modules/products/components/blocks/CardLeftover.vue +17 -22
  246. package/src/modules/products/components/blocks/CardPosition.vue +96 -49
  247. package/src/modules/products/components/blocks/CardProduct.vue +24 -53
  248. package/src/modules/products/components/blocks/Images360.vue +4 -4
  249. package/src/modules/products/components/blocks/ImagesThumbnails.vue +2 -7
  250. package/src/modules/products/components/blocks/ListPositions.vue +74 -0
  251. package/src/modules/products/components/elements/Price.vue +11 -5
  252. package/src/modules/products/components/elements/THC.vue +6 -6
  253. package/src/modules/products/components/pages/{LeftoverAdd.vue → EditLeftover.vue} +93 -79
  254. package/src/modules/products/components/pages/Leftovers.vue +74 -70
  255. package/src/modules/products/components/pages/Product.vue +4 -7
  256. package/src/modules/products/components/pages/ProductEdit.vue +230 -88
  257. package/src/modules/products/components/pages/ProductRecommmendation.vue +1 -1
  258. package/src/modules/products/components/pages/Products.vue +6 -3
  259. package/src/modules/products/components/pages/ProductsBackoffice.vue +3 -5
  260. package/src/modules/products/components/sections/EditModifications.vue +3 -3
  261. package/src/modules/products/components/sections/EditProductInfo.vue +40 -50
  262. package/src/modules/products/components/sections/FilterProducts.vue +57 -18
  263. package/src/modules/products/components/sections/HeroRecommendation.vue +233 -99
  264. package/src/modules/products/components/sections/MenuSection.vue +127 -0
  265. package/src/modules/products/components/sections/PopularProducts.vue +81 -37
  266. package/src/modules/products/components/sections/SectionProduct.vue +21 -23
  267. package/src/modules/products/controllers/leftovers.controller.js +11 -1
  268. package/src/modules/products/controllers/products.controller.js +100 -97
  269. package/src/modules/products/models/leftover.model.js +6 -4
  270. package/src/modules/products/models/product.model.js +13 -1
  271. package/src/modules/products/routes/products.routes.js +4 -4
  272. package/src/modules/products/store/leftovers.js +4 -24
  273. package/src/modules/products/store/products.js +44 -30
  274. package/src/modules/spots/components/blocks/CardSpot.vue +43 -72
  275. package/src/modules/spots/components/layouts/Spots.vue +9 -91
  276. package/src/modules/spots/components/pages/Map.vue +171 -62
  277. package/src/modules/spots/components/pages/Spot.vue +1 -1
  278. package/src/modules/spots/components/pages/SpotEdit.vue +131 -174
  279. package/src/modules/spots/controllers/spots.controller.js +1 -0
  280. package/src/modules/spots/models/spot.model.js +6 -3
  281. package/src/modules/spots/store/spots.js +42 -48
  282. package/src/modules/users/components/pages/Profile.vue +6 -28
  283. package/src/modules/users/components/pages/ProfileBlogposts.vue +1 -1
  284. package/src/modules/users/components/pages/ProfileEdit.vue +1 -1
  285. package/src/modules/users/components/pages/ProfileEvents.vue +1 -1
  286. package/src/modules/users/components/pages/ProfileOrganizations.vue +1 -1
  287. package/src/modules/users/router/users.js +1 -1
  288. package/src/modules/wallet/components/pages/Wallet.vue +105 -109
  289. package/src/modules/wallet/controllers/crypto.controller.js +129 -0
  290. package/src/modules/wallet/models/reward.model.js +53 -0
  291. package/src/modules/wallet/routes/crypto.routes.js +36 -0
  292. package/src/modules/wallet/store/wallet.js +52 -49
  293. package/src/styles/base/all.scss +144 -12
  294. package/src/styles/base/backgrounds.scss +2 -34
  295. package/src/styles/base/borders.scss +18 -23
  296. package/src/styles/base/scrolling.scss +97 -29
  297. package/src/styles/base/{shadows.scss → shadow_transitions_hover_refactor.scss} +55 -2
  298. package/src/styles/config.scss +69 -17
  299. package/src/styles/layout.scss +12 -182
  300. package/src/styles/reset.scss +20 -21
  301. package/src/styles/responsive.scss +4 -67
  302. package/src/styles/theme.scss +3 -4
  303. package/src/styles/typography.scss +15 -17
  304. package/src/assets/fonts/AvenirNext-Bold.woff2 +0 -0
  305. package/src/assets/fonts/AvenirNext-DemiBold.woff2 +0 -0
  306. package/src/assets/fonts/AvenirNext-Heavy.woff2 +0 -0
  307. package/src/assets/fonts/AvenirNext-Medium.woff2 +0 -0
  308. package/src/assets/fonts/AvenirNext-Regular.woff2 +0 -0
  309. package/src/assets/fonts/AvenirNext-UltraLight.woff2 +0 -0
  310. package/src/modules/files/middlewares/server/md.js +0 -152
  311. package/src/modules/files/middlewares/server/middlewareMulter.js +0 -121
  312. package/src/modules/organizations/controllers/organizations.new.controller.js +0 -372
  313. package/src/modules/products/components/blocks/EditCategories.vue +0 -68
  314. package/src/modules/products/components/sections/EditParameters.vue +0 -58
  315. package/src/modules/products/components/sections/EditProductImages.vue +0 -67
  316. package/src/modules/spots/components/sections/Feed.vue +0 -64
  317. package/src/styles/base/border-radius.scss +0 -47
  318. package/src/styles/base/cursors.scss +0 -23
  319. package/src/styles/base/height.scss +0 -60
  320. package/src/styles/base/hovers.scss +0 -110
  321. package/src/styles/base/positions.scss +0 -192
  322. package/src/styles/base/transitions.scss +0 -137
  323. package/src/styles/base/width.scss +0 -2
  324. package/src/styles/components/block.scss +0 -18
  325. package/src/styles/components/breadcrumbs.scss +0 -0
  326. package/src/styles/components/input.scss +0 -319
@@ -1,64 +0,0 @@
1
- <template>
2
- <transition name="slide-fade">
3
- <div>
4
- <EmptyState
5
- v-if="FirstLevelSpots.length < 1"
6
- title="You don't have any spots yet."
7
- description="Add spots to your hub."
8
- action="Add spot"
9
- :callback="() => $router.push(`/spots/${props.organization._id}/spots/create`)"
10
- />
11
-
12
- <div>
13
- <CardSpot
14
- v-for="(spot, index) in FirstLevelSpots"
15
- :key="index"
16
- :spot="spot"
17
- :organization="organization"
18
- class="radius-big bg-grey mn-b-thin"
19
- />
20
- <button
21
- v-if="FirstLevelSpots.length > 0 && auth.state.user._id === organization.owner"
22
- @click="$router.push(`/spots/${props.organization._id}/spots/create`)"
23
- class="mn-b-thin button w-100"
24
- >
25
- Add spot
26
- </button>
27
- </div>
28
- </div>
29
- </transition>
30
- </template>
31
-
32
- <script setup>
33
- import { ref, computed } from 'vue';
34
- import Tab from '@pf/src/components/Tab/Tab.vue';
35
- import EmptyState from '@pf/src/modules/organizations/components/blocks/EmptyState.vue';
36
- import CardSpot from '@pf/src/modules/spots/components/blocks/CardSpot.vue';
37
- import { state as spotState, actions as spotActions } from '@pf/src/modules/spots/store/spots';
38
- import * as auth from '@pf/src/modules/auth/store/auth'
39
-
40
- const props = defineProps({
41
- organization: Object,
42
- units: Array,
43
- memberships: Array
44
- });
45
-
46
- const tabStructure = ref('spots');
47
-
48
- await spotActions.read(props.organization._id);
49
-
50
- const FirstLevelSpots = computed(() => {
51
- const spots = spotState.spots;
52
-
53
- const subspotIds = spots.flatMap(spot =>
54
- spot.subspots.map(subspot => subspot._id)
55
- );
56
-
57
- return spots.filter(spot =>
58
- !subspotIds.includes(spot._id)
59
- );
60
- });
61
- </script>
62
-
63
- <style scoped>
64
- </style>
@@ -1,47 +0,0 @@
1
- body {
2
- // Margin Classes
3
- .radius-100p { border-radius: 100% }
4
- .radius-extra { border-radius: var(--extra) }
5
- .radius-big { border-radius: var(--big) }
6
- .radius-semi { border-radius: var(--semi) }
7
- .radius-medium { border-radius: var(--medium) }
8
- .radius-regular { border-radius: var(--regular) }
9
- .radius-small { border-radius: var(--small) }
10
- .radius-thin { border-radius: var(--thin) }
11
- // Corner
12
- /* Top-Left Radius */
13
- .radius-tl-extra { border-top-left-radius: var(--extra); }
14
- .radius-tl-big { border-top-left-radius: var(--big); }
15
- .radius-tl-semi { border-top-left-radius: var(--semi); }
16
- .radius-tl-medium { border-top-left-radius: var(--medium); }
17
- .radius-tl-regular { border-top-left-radius: var(--regular); }
18
- .radius-tl-small { border-top-left-radius: var(--small); }
19
- .radius-tl-thin { border-top-left-radius: var(--thin); }
20
-
21
- /* Top-Right Radius */
22
- .radius-tr-extra { border-top-right-radius: var(--extra); }
23
- .radius-tr-big { border-top-right-radius: var(--big); }
24
- .radius-tr-semi { border-top-right-radius: var(--semi); }
25
- .radius-tr-medium { border-top-right-radius: var(--medium); }
26
- .radius-tr-regular { border-top-right-radius: var(--regular); }
27
- .radius-tr-small { border-top-right-radius: var(--small); }
28
- .radius-tr-thin { border-top-right-radius: var(--thin); }
29
-
30
- /* Bottom-Right Radius */
31
- .radius-br-extra { border-bottom-right-radius: var(--extra); }
32
- .radius-br-big { border-bottom-right-radius: var(--big); }
33
- .radius-br-semi { border-bottom-right-radius: var(--semi); }
34
- .radius-br-medium { border-bottom-right-radius: var(--medium); }
35
- .radius-br-regular { border-bottom-right-radius: var(--regular); }
36
- .radius-br-small { border-bottom-right-radius: var(--small); }
37
- .radius-br-thin { border-bottom-right-radius: var(--thin); }
38
-
39
- /* Bottom-Left Radius */
40
- .radius-bl-extra { border-bottom-left-radius: var(--extra); }
41
- .radius-bl-big { border-bottom-left-radius: var(--big); }
42
- .radius-bl-semi { border-bottom-left-radius: var(--semi); }
43
- .radius-bl-medium { border-bottom-left-radius: var(--medium); }
44
- .radius-bl-regular { border-bottom-left-radius: var(--regular); }
45
- .radius-bl-small { border-bottom-left-radius: var(--small); }
46
- .radius-bl-thin { border-bottom-left-radius: var(--thin); }
47
- }
@@ -1,23 +0,0 @@
1
- body {
2
- .cursor-pointer {cursor: pointer; }
3
- .cursor-move {cursor: move; }
4
- .cursor-text {cursor: text; }
5
- .cursor-help {cursor: help; }
6
- .cursor-wait {cursor: wait; }
7
- .cursor-crosshair {cursor: crosshair; }
8
- .cursor-not-allowed {cursor: not-allowed; }
9
- .cursor-grab {cursor: grab; }
10
- .cursor-grabbing {cursor: grabbing; }
11
-
12
- .cursor-ns-resize {cursor: ns-resize; }
13
- .cursor-ew-resize {cursor: ew-resize; }
14
- .cursor-ne-resize {cursor: ne-resize; }
15
- .cursor-nw-resize {cursor: nw-resize; }
16
- .cursor-se-resize {cursor: se-resize; }
17
- .cursor-sw-resize{cursor: sw-resize; }
18
-
19
- .cursor-n-resize {cursor: n-resize; }
20
- .cursor-e-resize {cursor: e-resize; }
21
- .cursor-s-resize {cursor: s-resize; }
22
- .cursor-w-resize {cursor: w-resize; }
23
- }
@@ -1,60 +0,0 @@
1
- body {
2
- // Min height
3
- .min-h-100p { min-height: min(100%, 100%) !important; }
4
- .min-h-90p { min-height: min(100%, 90%) !important; }
5
- .min-h-80p { min-height: min(100%, 80%) !important; }
6
- .min-h-70p { min-height: min(100%, 70%) !important; }
7
- .min-h-60p { min-height: min(100%, 60%) !important; }
8
- .min-h-50p { min-height: min(100%, 50%) !important; }
9
- .min-h-40p { min-height: min(100%, 40%) !important; }
10
- .min-h-30p { min-height: min(100%, 30%) !important; }
11
- .min-h-20p { min-height: min(100%, 20%) !important; }
12
- .min-h-10p { min-height: min(100%, 10%) !important; }
13
- // Min height in vh
14
- .min-h-100vh{ min-height: min(100vh, 100%) !important; }
15
- .min-h-90vh { min-height: min(100vh, 90%) !important; }
16
- .min-h-80vh { min-height: min(100vh, 80%) !important; }
17
- .min-h-70vh { min-height: min(100vh, 70%) !important; }
18
- .min-h-60vh { min-height: min(100vh, 60%) !important; }
19
- .min-h-50vh { min-height: min(100vh, 50%) !important; }
20
- .min-h-40vh { min-height: min(100vh, 40%) !important; }
21
- .min-h-30vh { min-height: min(100vh, 30%) !important; }
22
- .min-h-20vh { min-height: min(100vh, 20%) !important; }
23
- .min-h-10vh { min-height: min(100vh, 10%) !important; }
24
- // Max height
25
- // %
26
- .h-m-100p{ height: min(100%, 100%) !important; }
27
- .h-m-90p { height: min(100%, 90%) !important; }
28
- .h-m-80p { height: min(100%, 80%) !important; }
29
- .h-m-70p { height: min(100%, 70%) !important; }
30
- .h-m-60p { height: min(100%, 60%) !important; }
31
- .h-m-50p { height: min(100%, 50%) !important; }
32
- .h-m-40p { height: min(100%, 40%) !important; }
33
- .h-m-30p { height: min(100%, 30%) !important; }
34
- .h-m-20p { height: min(100%, 20%) !important; }
35
- .h-m-10p { height: min(100%, 10%) !important; }
36
- // rem
37
- .h-m-66r { height: min(100%, 66rem) !important; }
38
- .h-m-60r { height: min(100%, 60rem) !important; }
39
- .h-m-50r { height: min(100%, 50rem) !important; }
40
- .h-m-40r { height: min(100%, 40rem) !important; }
41
- .h-m-33r { height: min(100%, 33rem) !important; }
42
- .h-m-25r { height: min(100%, 25rem) !important; }
43
- .h-m-20r { height: min(100%, 20rem) !important; }
44
- .h-m-15r { height: min(100%, 15rem) !important; }
45
- .h-m-10r { height: min(100%, 10rem) !important; }
46
- .h-m-5r { height: min(100%, 5rem) !important; }
47
- .h-m-3r { height: min(100%, 3rem) !important; }
48
- .h-m-2r { height: min(100%, 2rem) !important; }
49
- // Max Height
50
- .h-max-50r { max-height: 50rem; }
51
- .h-max-30r { max-height: 30rem; }
52
- .h-max-20r { max-height: 20rem; }
53
- .h-max-10r { max-height: 10rem; }
54
- .h-max-8r { max-height: 8rem; }
55
- .h-max-5r { max-height: 5rem; }
56
- .h-max-4r { max-height: 4rem; }
57
- .h-max-3r { max-height: 3rem; }
58
- .h-max-2r { max-height: 2rem; }
59
- .h-max-1r { max-height: 1rem; }
60
- }
@@ -1,110 +0,0 @@
1
- body {
2
- .hover_bg-main {
3
- &:hover {
4
- background: rgb(var(--main));;
5
- }
6
- }
7
-
8
- .hover_t-white {
9
- &:hover {
10
- background: rgba(var(--white), 1);;
11
- }
12
- }
13
-
14
- .hover-t-black {
15
- &:hover {
16
- background: rgba(var(--black), 1);;
17
- }
18
- }
19
-
20
- .hover_br-transp {
21
- &:hover {
22
- background: rgba(var(--white),0);
23
- }
24
- }
25
- .hover_br-l-dark {
26
- &:hover {
27
- border: 1px solid rgba(var(--dark), 0.2)
28
- }
29
- }
30
-
31
-
32
- /* Принцип 1. Сжатие и растяжение */
33
- /* Принцип 8. Дополнительное действие (выразительная деталь) */
34
- .hover-scale-0 {&:hover {transform: scale(1.015); } }
35
- .hover-scale-1 {&:hover {transform: scale(1.05); } }
36
- .hover-scale-2 {&:hover {transform: scale(1.1); } }
37
- .hover-scale-3 {&:hover {transform: scale(1.2); } }
38
-
39
-
40
- /* Принцип 2. Подготовка, или упреждение */
41
- .hover-translate-1 {
42
- &:hover {
43
- transform: translateY(-10px);
44
- }
45
- }
46
-
47
- /* Принцип 3. Сценичность */
48
- .hover-rotate-1 {
49
- &:hover {
50
- transform: rotate(-10deg);
51
- }
52
- }
53
-
54
- /* Принцип 4. Использование компоновок и прямого фазованного движения */
55
- .hover-translateX-1 {
56
- &:hover {
57
- transform: translateX(20px);
58
- }
59
- }
60
-
61
- /* Принцип 5. Сквозное движение (или доводка) и захлёст действия */
62
- .hover-combined-1 {
63
- &:hover {
64
- transform: translateY(-10px) rotate(-10deg);
65
- }
66
- }
67
-
68
- /* Принцип 6. Смягчение начала и завершения движения (спэйсинг) */
69
- .hover-easeInOut-1 {
70
- &:hover {
71
- transform: translateY(-10px) scale(1.1);
72
- }
73
- }
74
-
75
- /* Принцип 7. Дуги */
76
- .hover-arc-1 {
77
- &:hover {
78
- transform: translateX(20px) translateY(-10px) rotate(-10deg);
79
- }
80
- }
81
-
82
- /* Принцип 9. Расчёт времени (хронометраж) */
83
- .hover-timing-1 {
84
- &:hover {
85
- transition: transform 0.2s ease-in-out;
86
- transform: translateY(-10px);
87
- }
88
- }
89
-
90
- /* Принцип 10. Преувеличение, утрирование */
91
- .hover-exaggeration-1 {
92
- &:hover {
93
- transform: scale(1.5);
94
- }
95
- }
96
-
97
- /* Принцип 11. «Цельный» (профессиональный) рисунок */
98
- .hover-solid-drawing-1 {
99
- &:hover {
100
- transform: translateY(-10px) scale(1.1) rotate(-10deg);
101
- }
102
- }
103
-
104
- /* Принцип 12. Привлекательность */
105
- .hover-appeal-1 {
106
- &:hover {
107
- transform: translateY(-10px) scale(1.1) rotate(-5deg);
108
- }
109
- }
110
- }
@@ -1,192 +0,0 @@
1
- body {
2
- // Positions
3
- .pos-relative { position: relative; }
4
- .pos-absolute { position: absolute; }
5
- .pos-fixed { position: fixed; }
6
- .pos-sticky { position: sticky; }
7
- .pos-static { position: static; }
8
-
9
- .pos-t-auto { top: auto; }
10
- .pos-r-auto { right: auto; }
11
- .pos-b-auto { bottom: auto; }
12
- .pos-l-auto { left: auto; }
13
-
14
- // In REM
15
- .pos-t-extra { top: var(--extra); }
16
- .pos-r-extra { right: var(--extra); }
17
- .pos-b-extra { bottom: var(--extra); }
18
- .pos-l-extra { left: var(--extra); }
19
- .pos-t-extra-negative { top: calc(var(--extra) * -1); }
20
- .pos-r-extra-negative { right: calc(var(--extra) * -1); }
21
- .pos-b-extra-negative { bottom: calc(var(--extra) * -1); }
22
- .pos-l-extra-negative { left: calc(var(--extra) * -1); }
23
-
24
- .pos-t-big { top: var(--big); }
25
- .pos-r-big { right: var(--big); }
26
- .pos-b-big { bottom: var(--big); }
27
- .pos-l-big { left: var(--big); }
28
- .pos-t-big-negative { top: calc(var(--big) * -1); }
29
- .pos-r-big-negative { right: calc(var(--big) * -1); }
30
- .pos-b-big-negative { bottom: calc(var(--big) * -1); }
31
- .pos-l-big-negative { left: calc(var(--big) * -1); }
32
-
33
- .pos-t-semi { top: var(--semi); }
34
- .pos-r-semi { right: var(--semi); }
35
- .pos-b-semi { bottom: var(--semi); }
36
- .pos-l-semi { left: var(--semi); }
37
- .pos-t-semi-negative { top: calc(var(--semi) * -1); }
38
- .pos-r-semi-negative { right: calc(var(--semi) * -1); }
39
- .pos-b-semi-negative { bottom: calc(var(--semi) * -1); }
40
- .pos-l-semi-negative { left: calc(var(--semi) * -1); }
41
-
42
- .pos-t-medium { top: var(--medium); }
43
- .pos-r-medium { right: var(--medium); }
44
- .pos-b-medium { bottom: var(--medium); }
45
- .pos-l-medium { left: var(--medium); }
46
- .pos-t-medium-negative { top: calc(var(--medium) * -1); }
47
- .pos-r-medium-negative { right: calc(var(--medium) * -1); }
48
- .pos-b-medium-negative { bottom: calc(var(--medium) * -1); }
49
- .pos-l-medium-negative { left: calc(var(--medium) * -1); }
50
-
51
- .pos-t-regular { top: var(--regular); }
52
- .pos-r-regular { right: var(--regular); }
53
- .pos-b-regular { bottom: var(--regular); }
54
- .pos-l-regular { left: var(--regular); }
55
- .pos-t-regular-negative { top: calc(var(--regular) * -1); }
56
- .pos-r-regular-negative { right: calc(var(--regular) * -1); }
57
- .pos-b-regular-negative { bottom: calc(var(--regular) * -1); }
58
- .pos-l-regular-negative { left: calc(var(--regular) * -1); }
59
-
60
- .pos-t-small { top: var(--small); }
61
- .pos-r-small { right: var(--small); }
62
- .pos-b-small { bottom: var(--small); }
63
- .pos-l-small { left: var(--small); }
64
- .pos-t-small-negative { top: calc(var(--small) * -1); }
65
- .pos-r-small-negative { right: calc(var(--small) * -1); }
66
- .pos-b-small-negative { bottom: calc(var(--small) * -1); }
67
- .pos-l-small-negative { left: calc(var(--small) * -1); }
68
-
69
- .pos-t-thin { top: var(--thin); }
70
- .pos-r-thin { right: var(--thin); }
71
- .pos-b-thin { bottom: var(--thin); }
72
- .pos-l-thin { left: var(--thin); }
73
- .pos-t-thin-negative { top: calc(var(--thin) * -1); }
74
- .pos-r-thin-negative { right: calc(var(--thin) * -1); }
75
- .pos-b-thin-negative { bottom: calc(var(--thin) * -1); }
76
- .pos-l-thin-negative { left: calc(var(--thin) * -1); }
77
-
78
- .pos-t-micro { top: var(--micro); }
79
- .pos-r-micro { right: var(--micro); }
80
- .pos-b-micro { bottom: var(--micro); }
81
- .pos-l-micro { left: var(--micro); }
82
- .pos-t-micro-negative { top: calc(var(--micro) * -1); }
83
- .pos-r-micro-negative { right: calc(var(--micro) * -1); }
84
- .pos-b-micro-negative { bottom: calc(var(--micro) * -1); }
85
- .pos-l-micro-negative { left: calc(var(--micro) * -1); }
86
-
87
- // in %
88
- .pos-t-0 { top: 0; }
89
- .pos-r-0 { right: 0; }
90
- .pos-b-0 { bottom: 0; }
91
- .pos-l-0 { left: 0; }
92
-
93
- .pos-t-5 { top: 5%; }
94
- .pos-r-5 { right: 5%; }
95
- .pos-b-5 { bottom: 5%; }
96
- .pos-l-5 { left: 5%; }
97
- .pos-t-5-negative { top: -5%; }
98
- .pos-r-5-negative { right: -5%; }
99
- .pos-b-5-negative { bottom: -5%; }
100
- .pos-l-5-negative { left: -5%; }
101
-
102
- .pos-t-10 { top: 10%; }
103
- .pos-r-10 { right: 10%; }
104
- .pos-b-10 { bottom: 10%; }
105
- .pos-l-10 { left: 10%; }
106
- .pos-t-10-negative { top: -10%; }
107
- .pos-r-10-negative { right: -10%; }
108
- .pos-b-10-negative { bottom: -10%; }
109
- .pos-l-10-negative { left: -10%; }
110
-
111
- .pos-t-20 { top: 20%; }
112
- .pos-r-20 { right: 20%; }
113
- .pos-b-20 { bottom: 20%; }
114
- .pos-l-20 { left: 20%; }
115
- .pos-t-20-negative { top: -20%; }
116
- .pos-r-20-negative { right: -20%; }
117
- .pos-b-20-negative { bottom: -20%; }
118
- .pos-l-20-negative { left: -20%; }
119
-
120
- .pos-t-30 { top: 30%; }
121
- .pos-r-30 { right: 30%; }
122
- .pos-b-30 { bottom: 30%; }
123
- .pos-l-30 { left: 30%; }
124
- .pos-t-30-negative { top: -30%; }
125
- .pos-r-30-negative { right: -30%; }
126
- .pos-b-30-negative { bottom: -30%; }
127
- .pos-l-30-negative { left: -30%; }
128
-
129
-
130
- .pos-t-40 { top: 40%; }
131
- .pos-r-40 { right: 40%; }
132
- .pos-b-40 { bottom: 40%; }
133
- .pos-l-40 { left: 40%; }
134
- .pos-t-40-negative { top: -40%; }
135
- .pos-r-40-negative { right: -40%; }
136
- .pos-b-40-negative { bottom: -40%; }
137
- .pos-l-40-negative { left: -40%; }
138
-
139
- .pos-t-50 { top: 50%; }
140
- .pos-r-50 { right: 50%; }
141
- .pos-b-50 { bottom: 50%; }
142
- .pos-l-50 { left: 50%; }
143
- .pos-t-50-negative { top: -50%; }
144
- .pos-r-50-negative { right: -50%; }
145
- .pos-b-50-negative { bottom: -50%; }
146
- .pos-l-50-negative { left: -50%; }
147
-
148
- .pos-t-60 { top: 60%; }
149
- .pos-r-60 { right: 60%; }
150
- .pos-b-60 { bottom: 60%; }
151
- .pos-l-60 { left: 60%; }
152
- .pos-t-60-negative { top: -60%; }
153
- .pos-r-60-negative { right: -60%; }
154
- .pos-b-60-negative { bottom: -60%; }
155
- .pos-l-60-negative { left: -60%; }
156
-
157
- .pos-t-70 { top: 70%; }
158
- .pos-r-70 { right: 70%; }
159
- .pos-b-70 { bottom: 70%; }
160
- .pos-l-70 { left: 70%; }
161
- .pos-t-70-negative { top: -70%; }
162
- .pos-r-70-negative { right: -70%; }
163
- .pos-b-70-negative { bottom: -70%; }
164
- .pos-l-70-negative { left: -70%; }
165
-
166
- .pos-t-80 { top: 80%; }
167
- .pos-r-80 { right: 80%; }
168
- .pos-b-80 { bottom: 80%; }
169
- .pos-l-80 { left: 80%; }
170
- .pos-t-80-negative { top: -80%; }
171
- .pos-r-80-negative { right: -80%; }
172
- .pos-b-80-negative { bottom: -80%; }
173
- .pos-l-80-negative { left: -80%; }
174
-
175
- .pos-t-90 { top: 90%; }
176
- .pos-r-90 { right: 90%; }
177
- .pos-b-90 { bottom: 90%; }
178
- .pos-l-90 { left: 90%; }
179
- .pos-t-90-negative { top: -90%; }
180
- .pos-r-90-negative { right: -90%; }
181
- .pos-b-90-negative { bottom: -90%; }
182
- .pos-l-90-negative { left: -90%; }
183
-
184
- .pos-t-100 { top: 100%; }
185
- .pos-r-100 { right: 100%; }
186
- .pos-b-100 { bottom: 100%; }
187
- .pos-l-100 { left: 100%; }
188
- .pos-t-100-negative { top: -100%; }
189
- .pos-r-100-negative { right: -100%; }
190
- .pos-b-100-negative { bottom: -100%; }
191
- .pos-l-100-negative { left: -100%; }
192
- }
@@ -1,137 +0,0 @@
1
- body {
2
- .transition-linear {
3
- transition: all 0.33s linear;
4
- }
5
-
6
- /* .transition-ease-in */
7
- .transition-ease-in {
8
- transition: all 0.33s cubic-bezier(0.42, 0, 1, 1);
9
- }
10
-
11
- /* .transition-ease-out */
12
- .transition-ease-out {
13
- transition: all 0.33s cubic-bezier(0, 0, 0.58, 1);
14
- }
15
-
16
- /* .transition-ease-in-out */
17
- .transition-ease-in-out {
18
- transition: all 0.33s cubic-bezier(0.42, 0, 0.58, 1);
19
- }
20
-
21
- /* .transition-staggered */
22
- .transition-staggered {
23
- transition: all 0.33s cubic-bezier(0.25, 0.46, 0.45, 0.94);
24
- }
25
-
26
- /* .transition-bounce */
27
- .transition-bounce {
28
- transition: all 0.33s cubic-bezier(0.71, -0.46, 0.88, 0.6);
29
- }
30
-
31
- /* .transition-elastic */
32
- .transition-elastic {
33
- transition: all 0.33s cubic-bezier(0.17, 0.67, 0.33, 0.94);
34
- }
35
-
36
- /* .transition-spring */
37
- .transition-spring {
38
- transition: all 0.33s cubic-bezier(0.23, 1, 0.32, 1.01);
39
- }
40
-
41
- /* .transition-boomerang */
42
- .transition-boomerang {
43
- transition: all 0.66s cubic-bezier(0.42, 0, 0.58, 1);
44
- }
45
-
46
- /* .transition-slow-motion */
47
- .transition-slow-motion {
48
- transition: all 1.33s cubic-bezier(0.25, 0.46, 0.45, 0.94);
49
- }
50
-
51
- /* .transition-zoom */
52
- .transition-zoom {
53
- transition: all 0.33s cubic-bezier(0.71, -0.46, 0.88, 0.6);
54
- }
55
-
56
- /* .transition-fly-away */
57
- .transition-fly-away {
58
- transition: all 0.33s cubic-bezier(0.17, 0.67, 0.33, 0.94);
59
- }
60
-
61
- /* Принцип 1. Сжатие и растяжение */
62
- .transition-squeeze {
63
- transition: all 0.3s cubic-bezier(0.390, 0.575, 0.565, 1.000);
64
- transform-origin: center;
65
- }
66
-
67
- /* Принцип 2. Подготовка, или упреждение */
68
- .transition-anticipate {
69
- transition: all 0.5s cubic-bezier(0.175, 0.885, 0.320, 1.275);
70
- transform-origin: center;
71
- }
72
-
73
- /* Принцип 3. Сценичность */
74
- .transition-staging {
75
- transition: all 0.5s cubic-bezier(0.470, 0.000, 0.745, 0.715);
76
- transform-origin: center;
77
- }
78
-
79
- /* Принцип 4. Использование компоновок и прямого фазованного движения */
80
- .transition-overlapping {
81
- transition: all 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940);
82
- transform-origin: center;
83
- }
84
-
85
- /* Принцип 5. Сквозное движение и захлёст действия */
86
- .transition-through {
87
- transition: all 0.5s cubic-bezier(0.755, 0.050, 0.855, 0.060);
88
- transform-origin: center;
89
- }
90
-
91
- // Principle 6: Slow In and Slow Out
92
- .transition-slow-in {
93
- transition-timing-function: cubic-bezier(0.55, 0.085, 0.68, 0.53);
94
- }
95
- .transition-slow-out {
96
- transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
97
- }
98
-
99
- // Principle 7: Arcs
100
- .transition-arc {
101
- transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
102
- }
103
-
104
- // Principle 8: Secondary Action
105
- .transition-secondary {
106
- transition-timing-function: cubic-bezier(0.6, -0.28, 0.735, 0.045);
107
- }
108
-
109
- // Principle 9: Timing
110
- .transition-timing-1 {
111
- transition-duration: 0.15s;
112
- }
113
- .transition-timing-2 {
114
- transition-duration: 0.25s;
115
- }
116
- .transition-timing-3 {
117
- transition-duration: 0.35s;
118
- }
119
- .transition-timing-4 {
120
- transition-duration: 0.45s;
121
- }
122
-
123
- // Principle 10: Exaggeration
124
- .transition-exaggerated {
125
- transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1.0);
126
- }
127
-
128
- // Principle 11: Solid Drawing
129
- .transition-solid-drawing {
130
- transition-timing-function: cubic-bezier(0.4, 0.0, 1, 1);
131
- }
132
-
133
- // Principle 12: Appeal
134
- .transition-appeal {
135
- transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
136
- }
137
- }
@@ -1,2 +0,0 @@
1
- body {
2
- }
@@ -1,18 +0,0 @@
1
- // ////////////////////////////////////////
2
- // BLOCKS
3
- // ////////////////////////////////////////
4
- .display-block {
5
- display: block;
6
- }
7
-
8
- .block {
9
- display: flex;
10
- position: relative;
11
-
12
- padding: var(--medium);
13
-
14
- background: rgb(var(--grey));
15
- border-radius: var(--big);
16
-
17
- transition: 0.2s;
18
- }
File without changes