@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.
- package/dist/addMembersQuantity-3505b6f3.mjs +98 -0
- package/dist/addMembersQuantity-fb552ca0.js +97 -0
- package/dist/auth.server.js +6 -9
- package/dist/auth.server.mjs +6 -9
- package/dist/community.server.js +28 -21
- package/dist/community.server.mjs +28 -21
- package/dist/events.server.js +1 -1
- package/dist/events.server.mjs +1 -1
- package/dist/files.server.js +114 -111
- package/dist/files.server.mjs +114 -111
- package/dist/gallery.server.js +3 -3
- package/dist/gallery.server.mjs +3 -3
- package/dist/globals.server.js +1 -1
- package/dist/globals.server.mjs +1 -1
- package/dist/index-a8dffc0c.js +213 -0
- package/dist/index-d769324d.mjs +214 -0
- package/dist/mailing-37c2ba41.mjs +68 -0
- package/dist/mailing-fe16a26a.js +67 -0
- package/dist/main.css +1 -1
- package/dist/middlewares.server.js +1 -1
- package/dist/middlewares.server.mjs +1 -1
- package/dist/organizations.server.js +125 -25
- package/dist/organizations.server.mjs +125 -25
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +49 -2
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +2 -49
- package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.js +78 -2
- package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.js +2 -78
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +4 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +62 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -4
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +2 -62
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +11 -2
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +2 -11
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +2 -2
- package/dist/prometheus-framework.cjs.js +30 -29
- package/dist/prometheus-framework.es.js +2478 -2282
- package/dist/reports.server.js +1 -1
- package/dist/reports.server.mjs +1 -1
- package/dist/style.css +1 -1
- package/dist/users.server.js +1 -1
- package/dist/users.server.mjs +1 -1
- package/package.json +4 -2
- package/src/assets/images/logo.svg +7 -7
- package/src/components/Block/Block.vue +77 -0
- package/src/components/Breadcrumbs/Breadcrumbs.vue +2 -2
- package/src/components/Button/Button.vue +32 -227
- package/src/components/Checkbox/Checkbox.vue +1 -1
- package/src/components/Chips/Chips.vue +8 -8
- package/src/components/DatePicker/DatePicker.vue +3 -4
- package/src/components/EditImages/EditImages.vue +32 -14
- package/src/{modules/globals/components/sections → components/Feed}/Feed.vue +60 -45
- package/src/components/FieldBig/FieldBig.vue +16 -5
- package/src/components/FieldPhone/FieldPhone.vue +2 -1
- package/src/components/Footer/Footer.vue +36 -27
- package/src/components/Header/Header.vue +161 -166
- package/src/components/Loader/Loader.vue +9 -2
- package/src/components/LocationMarker/LocationMarker.vue +38 -12
- package/src/components/LocationSelection/LocationSelection.vue +67 -75
- package/src/components/Magnifier/Magnifier.vue +3 -3
- package/src/components/Navigation/Navigation.vue +16 -16
- package/src/components/Popup/Popup.vue +8 -6
- package/src/components/Select/Select.vue +35 -6
- package/src/components/SelectMulti/SelectMulti.vue +5 -13
- package/src/components/Shader/Shader.vue +128 -0
- package/src/components/Sidebar/Sidebar.vue +71 -35
- package/src/components/Spoiler/Spoiler.vue +1 -1
- package/src/components/Tab/Tab.vue +1 -1
- package/src/components/Tooltip/Tooltip.vue +1 -1
- package/src/components/UploadImage/UploadImage.vue +4 -4
- package/src/components/UploadImageMultiple/UploadImageMultiple.vue +54 -10
- package/src/modules/applications/controllers/applications.controller.js +0 -1
- package/src/modules/auth/components/pages/EnterCode.vue +1 -1
- package/src/modules/auth/components/pages/EnterPassword.vue +3 -3
- package/src/modules/auth/components/pages/ResetPassword.vue +1 -2
- package/src/modules/auth/components/pages/SignIn.vue +26 -10
- package/src/modules/auth/components/pages/SignUp.vue +1 -2
- package/src/modules/auth/controllers/twofa.controller.js +4 -4
- package/src/modules/auth/localization/EnterCode.json +2 -2
- package/src/modules/auth/localization/EnterPassword.json +2 -2
- package/src/modules/auth/localization/ResetPassword.json +2 -2
- package/src/modules/auth/localization/SignIn.json +3 -3
- package/src/modules/auth/localization/SignUp.json +3 -3
- package/src/modules/auth/utils/server/verifyAppleIdToken.js +0 -1
- package/src/modules/backoffice/components/layouts/Backoffice.vue +1 -1
- package/src/modules/backoffice/components/pages/Dashboard.vue +171 -120
- package/src/modules/backoffice/router/backoffice.js +119 -129
- package/src/modules/chats/components/blocks/ChatMessage.vue +25 -0
- package/src/modules/chats/components/pages/ChatPage.vue +50 -0
- package/src/modules/chats/components/sections/ChatWindow.vue +38 -0
- package/src/modules/chats/controllers/chats.controller.js +32 -0
- package/src/modules/chats/models/chat.model.js +26 -0
- package/src/modules/chats/routes/chats.routes.js +53 -0
- package/src/modules/chats/store/chat.store.js +61 -0
- package/src/modules/community/components/blocks/CardBlogpost.vue +19 -4
- package/src/modules/community/components/layouts/Community.vue +96 -39
- package/src/modules/community/components/pages/Blog.vue +4 -3
- package/src/modules/community/components/pages/BlogPost.vue +10 -1
- package/src/modules/community/components/pages/CreateBlogPost.vue +36 -17
- package/src/modules/community/components/sections/HotPosts.vue +3 -3
- package/src/modules/community/components/sections/JoinUs.vue +19 -13
- package/src/modules/community/controllers/blog.controller.js +3 -4
- package/src/modules/community/controllers/utils/queryProcessor.js +16 -17
- package/src/modules/community/models/blogpost.model.js +6 -3
- package/src/modules/community/store/blogposts.js +1 -0
- package/src/modules/constructor/components/elements/Embed.vue +12 -1
- package/src/modules/constructor/components/elements/ImageUpload.vue +2 -2
- package/src/modules/constructor/components/elements/Textarea.vue +6 -1
- package/src/modules/constructor/components/elements/Video.vue +79 -0
- package/src/modules/constructor/components/elements/VideoPlayer.vue +59 -0
- package/src/modules/constructor/components/elements/Youtube.vue +52 -0
- package/src/modules/constructor/components/sections/Constructor.vue +27 -3
- package/src/modules/events/components/layouts/layoutEvents.vue +7 -28
- package/src/modules/files/controllers/files.controller.js +9 -22
- package/src/modules/files/middlewares/server/index.js +2 -2
- package/src/modules/files/middlewares/server/middlewareBusboy.js +137 -0
- package/src/modules/files/routes/files.routes.js +9 -9
- package/src/modules/globals/localization/vue-i18n.js +8 -1
- package/src/modules/globals/mixins/mixins.js +23 -13
- package/src/modules/globals/router/routerGuards.js +2 -2
- package/src/modules/globals/store/globals.js +86 -9
- package/src/modules/globals/utils/mailing.js +24 -3
- package/src/modules/icons/entities/IconCommunity.vue +4 -4
- package/src/modules/icons/entities/IconEvents.vue +1 -1
- package/src/modules/icons/entities/IconGroups.vue +1 -1
- package/src/modules/icons/entities/IconPrice.vue +5 -0
- package/src/modules/icons/entities/IconProfile.vue +5 -0
- package/src/modules/icons/entities/IconShopcart.vue +5 -0
- package/src/modules/icons/entities/IconTime.vue +5 -0
- package/src/modules/icons/icons.client.js +4 -0
- package/src/modules/icons/labels/LabelAppStore.vue +24 -24
- package/src/modules/icons/labels/LabelGooglePlay.vue +9 -9
- package/src/modules/icons/logos/Logotype.vue +20 -0
- package/src/modules/icons/navigation/IconAdd.vue +17 -0
- package/src/modules/icons/navigation/IconChevronBottom.vue +18 -0
- package/src/modules/icons/navigation/IconChevronRight.vue +3 -3
- package/src/modules/icons/navigation/IconDelete.vue +19 -0
- package/src/modules/icons/navigation/IconMinus.vue +15 -0
- package/src/modules/icons/navigation/IconSearch.vue +17 -0
- package/src/modules/icons/navigation/IconUpload.vue +16 -0
- package/src/modules/icons/placeholders/PlaceholderImage.vue +5 -0
- package/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue +20 -0
- package/src/modules/icons/placeholders/PlaceholderUserpic.vue +4 -18
- package/src/modules/icons/socials/instagram.vue +1 -1
- package/src/modules/icons/socials/line.vue +1 -1
- package/src/modules/icons/socials/reddit.vue +1 -1
- package/src/modules/icons/socials/telegram.vue +1 -1
- package/src/modules/icons/socials/twitter.vue +1 -1
- package/src/modules/icons/socials/youtube.vue +1 -1
- package/src/modules/landing/components/sections/Guide.vue +92 -0
- package/src/modules/landing/components/sections/MobileApp.vue +23 -12
- package/src/modules/marketplace/components/layouts/Marketplace.vue +76 -188
- package/src/modules/marketplace/components/pages/Catalog.vue +65 -119
- package/src/modules/marketplace/components/sections/Filters.vue +195 -0
- package/src/modules/marketplace/store/marketplace.js +2 -2
- package/src/modules/middlewares/client/auth.validation.js +0 -6
- package/src/modules/middlewares/client/states.validation.js +2 -8
- package/src/modules/middlewares/server/authJwt.js +1 -1
- package/src/modules/mobile/components/Menu/MenuItem.vue +3 -6
- package/src/modules/openai/controllers/openai.controller.js +0 -1
- package/src/modules/orders/components/blocks/CardOrder.vue +166 -0
- package/src/modules/orders/components/blocks/CardOrderItem.vue +59 -66
- package/src/modules/orders/components/blocks/Positions.vue +4 -4
- package/src/modules/orders/components/pages/EditOrder.vue +78 -142
- package/src/modules/orders/components/pages/FormOrder.vue +192 -0
- package/src/modules/orders/components/pages/Order.vue +326 -120
- package/src/modules/orders/components/pages/Orders.vue +13 -9
- package/src/modules/orders/components/pages/{ViewOrder.vue → Orders_refact.vue} +13 -10
- package/src/modules/orders/components/partials/ShopCart.vue +22 -13
- package/src/modules/orders/components/sections/EmptyState.vue +1 -1
- package/src/modules/orders/components/sections/{Form.vue → FormOrderDetails.vue} +38 -106
- package/src/modules/orders/controllers/orders.controller.js +37 -28
- package/src/modules/orders/models/order.model.js +39 -9
- package/src/modules/orders/router/orders.router.js +23 -2
- package/src/modules/orders/routes/orders.routes.js +14 -17
- package/src/modules/orders/store/orders.js +24 -9
- package/src/modules/orders/store/shopcart.js +20 -19
- package/src/modules/organizations/components/blocks/CardDepartment.vue +1 -1
- package/src/modules/organizations/components/blocks/CardOrganization.vue +98 -46
- package/src/modules/organizations/components/blocks/Rating.vue +1 -1
- package/src/modules/organizations/components/blocks/Socials.vue +11 -3
- package/src/modules/organizations/components/elements/ButtonToggleMembership.vue +1 -1
- package/src/modules/organizations/components/pages/Department.vue +1 -1
- package/src/modules/organizations/components/pages/DepartmentEdit.vue +4 -4
- package/src/modules/organizations/components/pages/Members.vue +6 -4
- package/src/modules/organizations/components/pages/Organization.vue +120 -49
- package/src/modules/organizations/components/pages/OrganizationEdit.vue +8 -1
- package/src/modules/organizations/components/pages/Organizations.vue +27 -6
- package/src/modules/organizations/components/sections/DetailsTab.vue +11 -9
- package/src/modules/organizations/components/sections/Feed.vue +0 -3
- package/src/modules/organizations/components/sections/FeedDepartments.vue +2 -2
- package/src/modules/organizations/controllers/organizations.controller.js +126 -15
- package/src/modules/organizations/controllers/utils/addMembersQuantity.js +19 -9
- package/src/modules/organizations/models/organization.model.js +5 -2
- package/src/modules/organizations/router/members.router.js +1 -3
- package/src/modules/organizations/router/organizations.js +8 -6
- package/src/modules/organizations/router/products.router.js +36 -2
- package/src/modules/organizations/store/organizations.js +38 -84
- package/src/modules/pages/controllers/pages.controller.js +0 -4
- package/src/modules/payments/controller/payments.controller.js +1 -1
- package/src/modules/products/components/blocks/CardLeftover.vue +17 -22
- package/src/modules/products/components/blocks/CardPosition.vue +96 -49
- package/src/modules/products/components/blocks/CardProduct.vue +24 -53
- package/src/modules/products/components/blocks/Images360.vue +4 -4
- package/src/modules/products/components/blocks/ImagesThumbnails.vue +2 -7
- package/src/modules/products/components/blocks/ListPositions.vue +74 -0
- package/src/modules/products/components/elements/Price.vue +11 -5
- package/src/modules/products/components/elements/THC.vue +6 -6
- package/src/modules/products/components/pages/{LeftoverAdd.vue → EditLeftover.vue} +93 -79
- package/src/modules/products/components/pages/Leftovers.vue +74 -70
- package/src/modules/products/components/pages/Product.vue +4 -7
- package/src/modules/products/components/pages/ProductEdit.vue +230 -88
- package/src/modules/products/components/pages/ProductRecommmendation.vue +1 -1
- package/src/modules/products/components/pages/Products.vue +6 -3
- package/src/modules/products/components/pages/ProductsBackoffice.vue +3 -5
- package/src/modules/products/components/sections/EditModifications.vue +3 -3
- package/src/modules/products/components/sections/EditProductInfo.vue +40 -50
- package/src/modules/products/components/sections/FilterProducts.vue +57 -18
- package/src/modules/products/components/sections/HeroRecommendation.vue +233 -99
- package/src/modules/products/components/sections/MenuSection.vue +127 -0
- package/src/modules/products/components/sections/PopularProducts.vue +81 -37
- package/src/modules/products/components/sections/SectionProduct.vue +21 -23
- package/src/modules/products/controllers/leftovers.controller.js +11 -1
- package/src/modules/products/controllers/products.controller.js +100 -97
- package/src/modules/products/models/leftover.model.js +6 -4
- package/src/modules/products/models/product.model.js +13 -1
- package/src/modules/products/routes/products.routes.js +4 -4
- package/src/modules/products/store/leftovers.js +4 -24
- package/src/modules/products/store/products.js +44 -30
- package/src/modules/spots/components/blocks/CardSpot.vue +43 -72
- package/src/modules/spots/components/layouts/Spots.vue +9 -91
- package/src/modules/spots/components/pages/Map.vue +171 -62
- package/src/modules/spots/components/pages/Spot.vue +1 -1
- package/src/modules/spots/components/pages/SpotEdit.vue +131 -174
- package/src/modules/spots/controllers/spots.controller.js +1 -0
- package/src/modules/spots/models/spot.model.js +6 -3
- package/src/modules/spots/store/spots.js +42 -48
- package/src/modules/users/components/pages/Profile.vue +6 -28
- package/src/modules/users/components/pages/ProfileBlogposts.vue +1 -1
- package/src/modules/users/components/pages/ProfileEdit.vue +1 -1
- package/src/modules/users/components/pages/ProfileEvents.vue +1 -1
- package/src/modules/users/components/pages/ProfileOrganizations.vue +1 -1
- package/src/modules/users/router/users.js +1 -1
- package/src/modules/wallet/components/pages/Wallet.vue +105 -109
- package/src/modules/wallet/controllers/crypto.controller.js +129 -0
- package/src/modules/wallet/models/reward.model.js +53 -0
- package/src/modules/wallet/routes/crypto.routes.js +36 -0
- package/src/modules/wallet/store/wallet.js +52 -49
- package/src/styles/base/all.scss +144 -12
- package/src/styles/base/backgrounds.scss +2 -34
- package/src/styles/base/borders.scss +18 -23
- package/src/styles/base/scrolling.scss +97 -29
- package/src/styles/base/{shadows.scss → shadow_transitions_hover_refactor.scss} +55 -2
- package/src/styles/config.scss +69 -17
- package/src/styles/layout.scss +12 -182
- package/src/styles/reset.scss +20 -21
- package/src/styles/responsive.scss +4 -67
- package/src/styles/theme.scss +3 -4
- package/src/styles/typography.scss +15 -17
- package/src/assets/fonts/AvenirNext-Bold.woff2 +0 -0
- package/src/assets/fonts/AvenirNext-DemiBold.woff2 +0 -0
- package/src/assets/fonts/AvenirNext-Heavy.woff2 +0 -0
- package/src/assets/fonts/AvenirNext-Medium.woff2 +0 -0
- package/src/assets/fonts/AvenirNext-Regular.woff2 +0 -0
- package/src/assets/fonts/AvenirNext-UltraLight.woff2 +0 -0
- package/src/modules/files/middlewares/server/md.js +0 -152
- package/src/modules/files/middlewares/server/middlewareMulter.js +0 -121
- package/src/modules/organizations/controllers/organizations.new.controller.js +0 -372
- package/src/modules/products/components/blocks/EditCategories.vue +0 -68
- package/src/modules/products/components/sections/EditParameters.vue +0 -58
- package/src/modules/products/components/sections/EditProductImages.vue +0 -67
- package/src/modules/spots/components/sections/Feed.vue +0 -64
- package/src/styles/base/border-radius.scss +0 -47
- package/src/styles/base/cursors.scss +0 -23
- package/src/styles/base/height.scss +0 -60
- package/src/styles/base/hovers.scss +0 -110
- package/src/styles/base/positions.scss +0 -192
- package/src/styles/base/transitions.scss +0 -137
- package/src/styles/base/width.scss +0 -2
- package/src/styles/components/block.scss +0 -18
- package/src/styles/components/breadcrumbs.scss +0 -0
- package/src/styles/components/input.scss +0 -319
@@ -1,19 +1,66 @@
|
|
1
1
|
<template>
|
2
|
+
|
2
3
|
<div
|
3
|
-
|
4
|
+
id="sidebar" class="o-hidden" v-click-outside="clickedOutside"
|
4
5
|
>
|
5
6
|
<div
|
6
|
-
class="
|
7
|
+
class="pd-medium pos-sticky pos-t-0 h-100vh flex-column flex flex-justify-content"
|
7
8
|
>
|
8
|
-
<
|
9
|
+
<div>
|
10
|
+
<slot></slot>
|
11
|
+
</div>
|
12
|
+
|
13
|
+
<Checkbox
|
14
|
+
:label="'Darkmode'"
|
15
|
+
:radio="globals.state.theme.darkmode"
|
16
|
+
@update:radio="event => globals.actions.toggleTheme()"
|
17
|
+
name="prices"
|
18
|
+
class=" t-semi pd-small p-big mn-b-small br-2px br-solid radius-extra br-black-transp-5"
|
19
|
+
/>
|
20
|
+
|
21
|
+
<Menu
|
22
|
+
v-if="(auth.state.access.roles) && (auth.state.access.roles.includes('ROLE_MODERATOR') || auth.state.access.roles.includes('ROLE_ADMIN'))"
|
23
|
+
class="mn-b-regular bg-black t-white"
|
24
|
+
>
|
25
|
+
<MenuItem
|
26
|
+
@click="router.push({
|
27
|
+
name: 'Backoffice',
|
28
|
+
params: {
|
29
|
+
_id: route.params._id
|
30
|
+
}
|
31
|
+
})"
|
32
|
+
class="cursor-pointer"
|
33
|
+
theme="white"
|
34
|
+
>
|
35
|
+
<span>
|
36
|
+
Backoffice
|
37
|
+
</span>
|
38
|
+
</MenuItem>
|
39
|
+
</Menu>
|
40
|
+
|
41
|
+
|
9
42
|
</div>
|
10
43
|
</div>
|
44
|
+
|
11
45
|
</template>
|
12
46
|
|
13
47
|
<script setup>
|
14
|
-
import { ref } from 'vue';
|
48
|
+
import { ref, watch } from 'vue';
|
49
|
+
|
50
|
+
// Mobile Module
|
51
|
+
import Menu from '@pf/src/modules/mobile/components/Menu/Menu.vue'
|
52
|
+
import MenuItem from '@pf/src/modules/mobile/components/Menu/MenuItem.vue'
|
53
|
+
|
54
|
+
import clickOutside from '../FieldPhone/click-outside';
|
55
|
+
|
56
|
+
import { useRoute, useRouter} from 'vue-router'
|
57
|
+
|
58
|
+
import * as auth from '@pf/src/modules/auth/store/auth'
|
59
|
+
import * as globals from '@pf/src/modules/globals/store/globals'
|
60
|
+
|
61
|
+
|
62
|
+
import Checkbox from '@pf/src/components/Checkbox/Checkbox.vue'
|
15
63
|
|
16
|
-
import { useRoute, useRouter } from 'vue-router'
|
17
64
|
|
18
65
|
const router = useRouter()
|
19
66
|
const route = useRoute()
|
@@ -21,40 +68,29 @@ const route = useRoute()
|
|
21
68
|
const isOpen = ref(false);
|
22
69
|
|
23
70
|
const props = defineProps(['stateSidebar'])
|
24
|
-
|
71
|
+
const emits = defineEmits(['closeSidebar'])
|
25
72
|
|
26
|
-
|
27
|
-
.
|
28
|
-
|
29
|
-
top: 0;
|
30
|
-
left: -80%;
|
31
|
-
width: 80%;
|
32
|
-
height: 100%;
|
33
|
-
box-shadow: -10px 0px 100px -10px rgba(0, 0, 0, 0.1) inset;
|
34
|
-
transition: all 0.3s ease-in-out;
|
35
|
-
z-index: 1000;
|
36
|
-
}
|
73
|
+
watch(() => route.path, () => {
|
74
|
+
if (props.stateSidebar === true) emits('closeSidebar');
|
75
|
+
});
|
37
76
|
|
38
|
-
.sidebar.open {
|
39
|
-
left: 0;
|
40
|
-
}
|
41
77
|
|
42
|
-
.sidebar-header {
|
43
|
-
display: flex;
|
44
|
-
align-items: center;
|
45
|
-
justify-content: space-between;
|
46
|
-
padding: 1rem;
|
47
|
-
background-color: #f8f8f8;
|
48
|
-
}
|
49
78
|
|
50
|
-
|
51
|
-
border: none;
|
52
|
-
background-color: transparent;
|
53
|
-
font-size: 1.5rem;
|
54
|
-
cursor: pointer;
|
55
|
-
}
|
79
|
+
let vClickOutside = clickOutside
|
56
80
|
|
57
|
-
|
58
|
-
|
81
|
+
function clickedOutside () {
|
82
|
+
if (props.stateSidebar === true) emits('closeSidebar');
|
59
83
|
}
|
84
|
+
|
85
|
+
|
86
|
+
</script>
|
87
|
+
|
88
|
+
<style lang="scss" >
|
89
|
+
#sidebar {
|
90
|
+
ul {
|
91
|
+
li {
|
92
|
+
margin-bottom: 1rem;
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
60
96
|
</style>
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<template>
|
2
|
-
<div class="tooltip-container" @mouseover="showTooltip" @mouseleave="hideTooltip">
|
2
|
+
<div class="cursor-pointer tooltip-container" @mouseover="showTooltip" @mouseleave="hideTooltip">
|
3
3
|
<slot></slot>
|
4
4
|
<div class="tooltip-content" :style="tooltipStyle">
|
5
5
|
{{ text }}
|
@@ -13,7 +13,7 @@
|
|
13
13
|
|
14
14
|
<div v-else class="flex-v-center flex-h-center flex w-100 h-100 bg-second" >
|
15
15
|
<svg class="i-medium" width="104" height="104" viewBox="0 0 104 104" fill="none" xmlns="http://www.w3.org/2000/svg">
|
16
|
-
<path fill="white" d="M21.2784 37.2973C18.8466 34.6628 18.8466 30.6098 21.2784 27.9753L47.2179 2.03584C48.6364 0.81993 50.2577 0.211974 51.8789 0.211974C53.5001 0.211974 55.1213 0.81993 56.5399 2.03584L82.4793 27.9753C84.9111 30.6098 84.9111 34.6628 82.4793 37.2973C79.8448 39.7291 75.7918 39.7291 73.1573 37.2973L58.3637 22.301V71.5454C58.3637 75.1932 55.5266 78.0303 51.8789 78.0303C48.2311 78.0303 45.394 75.1932 45.394 71.5454V22.301L30.6004 37.2973C27.966 39.7291 23.9129 39.7291 21.2784 37.2973ZM97.2729 71.5454C100.921 71.5454 103.758 74.3825 103.758 78.0303V97.4849C103.758 101.133 100.921 103.97 97.2729 103.97H6.48486C2.83713 103.97 0 101.133 0 97.4849V78.0303C0 74.3825 2.83713 71.5454 6.48486 71.5454H38.9092C38.9092 78.6382 44.7861 84.5151 51.8789 84.5151C58.9717 84.5151 64.8486 78.6382 64.8486 71.5454H97.2729ZM87.5456 92.6212C90.1801 92.6212 92.4092 90.392 92.4092 87.7576C92.4092 85.1231 90.1801 82.8939 87.5456 82.8939C84.9111 82.8939 82.682 85.1231 82.682 87.7576C82.682 90.392 84.9111 92.6212 87.5456 92.6212Z"/>
|
16
|
+
<path fill="rgb(var(--white))" d="M21.2784 37.2973C18.8466 34.6628 18.8466 30.6098 21.2784 27.9753L47.2179 2.03584C48.6364 0.81993 50.2577 0.211974 51.8789 0.211974C53.5001 0.211974 55.1213 0.81993 56.5399 2.03584L82.4793 27.9753C84.9111 30.6098 84.9111 34.6628 82.4793 37.2973C79.8448 39.7291 75.7918 39.7291 73.1573 37.2973L58.3637 22.301V71.5454C58.3637 75.1932 55.5266 78.0303 51.8789 78.0303C48.2311 78.0303 45.394 75.1932 45.394 71.5454V22.301L30.6004 37.2973C27.966 39.7291 23.9129 39.7291 21.2784 37.2973ZM97.2729 71.5454C100.921 71.5454 103.758 74.3825 103.758 78.0303V97.4849C103.758 101.133 100.921 103.97 97.2729 103.97H6.48486C2.83713 103.97 0 101.133 0 97.4849V78.0303C0 74.3825 2.83713 71.5454 6.48486 71.5454H38.9092C38.9092 78.6382 44.7861 84.5151 51.8789 84.5151C58.9717 84.5151 64.8486 78.6382 64.8486 71.5454H97.2729ZM87.5456 92.6212C90.1801 92.6212 92.4092 90.392 92.4092 87.7576C92.4092 85.1231 90.1801 82.8939 87.5456 82.8939C84.9111 82.8939 82.682 85.1231 82.682 87.7576C82.682 90.392 84.9111 92.6212 87.5456 92.6212Z"/>
|
17
17
|
</svg>
|
18
18
|
</div>
|
19
19
|
|
@@ -50,14 +50,14 @@ async function onFileChange(e) {
|
|
50
50
|
formData.append("file", file);
|
51
51
|
|
52
52
|
try {
|
53
|
-
const $axios = axios.create({baseURL: process.env.API_URL, withCredentials: true})
|
53
|
+
const $axios = axios.create({ baseURL: process.env.API_URL, withCredentials: true });
|
54
54
|
|
55
|
-
let response = await $axios.post(`/api/upload/
|
55
|
+
let response = await $axios.post(`/api/upload/multiple?folderName=${encodeURIComponent(props.uploadPath)}`, formData, {
|
56
56
|
headers: {
|
57
57
|
"Content-Type": "multipart/form-data"
|
58
58
|
}
|
59
59
|
});
|
60
|
-
imageUrl.value = response.data.filepath;
|
60
|
+
imageUrl.value = response.data[0].filepath;
|
61
61
|
emit('update:photo', imageUrl.value);
|
62
62
|
} catch (error) {
|
63
63
|
console.error(error);
|
@@ -3,11 +3,28 @@
|
|
3
3
|
@click="onComponentClick"
|
4
4
|
@drop="onDrop"
|
5
5
|
@dragover.prevent
|
6
|
-
class="flex-v-center flex-h-center flex"
|
7
|
-
|
8
|
-
|
6
|
+
class="cursor-pointer t-black w-100 flex-v-center flex-h-center flex pos-relative"
|
7
|
+
>
|
8
|
+
<transition name="moveFromTop" mode="out-in">
|
9
|
+
<div v-if="!loading" class="t-center">
|
10
|
+
<IconUpload
|
11
|
+
style="max-height: 4rem;"
|
12
|
+
class="w-100 h-100"
|
13
|
+
fill="rgb(var(--main))"
|
14
|
+
/>
|
15
|
+
|
16
|
+
<span v-if="options.showText" class="mn-t-thin mn-b-thin d-block h3 t-black">{{ text.title }}</span>
|
17
|
+
<span v-if="options.showText" class="mn-b-thin t-transp d-block ">{{ text.subtitle }}</span>
|
18
|
+
<span v-if="options.showText"class="mn-b-thin uppercase p-small t-medium d-block">or</span>
|
19
|
+
|
20
|
+
<button v-if="options.showText" class="cursor-pointer mn-b-small br-2px br-main br-solid radius-extra pd-l-thin pd-r-thin t-main">Browse Files</button>
|
21
|
+
|
22
|
+
<span v-if="options.showText" class="uppercase p-small t-medium d-block ">Maximum size: 2MB</span>
|
9
23
|
</div>
|
10
|
-
<
|
24
|
+
<Loader v-else class="pos-absolute"/>
|
25
|
+
</transition>
|
26
|
+
|
27
|
+
<input type="file" ref="fileInput" @change="onFileChange" multiple style="display: none"/>
|
11
28
|
</div>
|
12
29
|
</template>
|
13
30
|
|
@@ -15,12 +32,35 @@
|
|
15
32
|
import { ref, watch } from 'vue';
|
16
33
|
import axios from 'axios';
|
17
34
|
|
35
|
+
import Loader from '@pf/src/components/Loader/Loader.vue';
|
36
|
+
import PlaceholderImage from '@pf/src/modules/icons/placeholders/PlaceholderImage.vue'
|
37
|
+
import IconUpload from '@pf/src/modules/icons/navigation/IconUpload.vue'
|
38
|
+
|
18
39
|
const images = ref([]);
|
40
|
+
const loading = ref(false);
|
19
41
|
const fileInput = ref(null);
|
20
42
|
|
21
|
-
const props = defineProps(
|
22
|
-
|
23
|
-
|
43
|
+
const props = defineProps({
|
44
|
+
uploadPath: {
|
45
|
+
type: Object,
|
46
|
+
required: true
|
47
|
+
},
|
48
|
+
options: {
|
49
|
+
type: Object,
|
50
|
+
default: () => ({
|
51
|
+
mimeType: ['jpg', 'png', 'gif'],
|
52
|
+
maxSize: 10 * 1024 * 1024,
|
53
|
+
showText: true
|
54
|
+
})
|
55
|
+
},
|
56
|
+
text: {
|
57
|
+
type: Object,
|
58
|
+
default: () => ({
|
59
|
+
title: 'Drag & Drop Your Images Here',
|
60
|
+
subtitle: 'Files supported: JPG, PNG, GIF'
|
61
|
+
})
|
62
|
+
}
|
63
|
+
});
|
24
64
|
|
25
65
|
const emit = defineEmits(['update:images']);
|
26
66
|
|
@@ -29,15 +69,17 @@ function onComponentClick() {
|
|
29
69
|
}
|
30
70
|
|
31
71
|
async function onFileChange(e) {
|
72
|
+
loading.value = true;
|
73
|
+
|
32
74
|
let files = e.target.files;
|
33
75
|
let formData = new FormData();
|
34
76
|
|
35
|
-
for(
|
36
|
-
formData.append("file",
|
77
|
+
for (const file of files) {
|
78
|
+
formData.append("file", file);
|
37
79
|
}
|
38
80
|
|
39
81
|
try {
|
40
|
-
const $axios = axios.create({baseURL: process.env.API_URL, withCredentials: true})
|
82
|
+
const $axios = axios.create({ baseURL: process.env.API_URL, withCredentials: true });
|
41
83
|
|
42
84
|
let response = await $axios.post(`/api/upload/multiple?folderName=${encodeURIComponent(props.uploadPath)}`, formData, {
|
43
85
|
headers: {
|
@@ -48,8 +90,10 @@ async function onFileChange(e) {
|
|
48
90
|
images.value.push(file.filepath); // push each file path to the images array
|
49
91
|
});
|
50
92
|
emit('update:images', images.value);
|
93
|
+
loading.value = false;
|
51
94
|
} catch (error) {
|
52
95
|
console.error(error);
|
96
|
+
loading.value = false;
|
53
97
|
}
|
54
98
|
}
|
55
99
|
|
@@ -3,7 +3,6 @@
|
|
3
3
|
// --------------------------------------------------
|
4
4
|
// DEPENENCY
|
5
5
|
// --------------------------------------------------
|
6
|
-
const fetch = require('node-fetch')
|
7
6
|
const axios = require('axios');
|
8
7
|
// --------------------------------------------------
|
9
8
|
// Used models
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<template>
|
2
2
|
<section class="t-center pd-medium">
|
3
|
-
<!-- <img src="@/assets/
|
3
|
+
<!-- <img src="@/assets/icons/message1.png" class="i-extra mn-b-small"> -->
|
4
4
|
|
5
5
|
<h3 class="mn-b-medium">
|
6
6
|
{{ t('verifyNumberTitle') }}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<template>
|
2
2
|
<section class="t-left pd-medium">
|
3
3
|
<!-- Header -->
|
4
|
-
<!-- <img src="@/assets/
|
4
|
+
<!-- <img src="@/assets/icons/password.png" class="i-extra mn-b-small"> -->
|
5
5
|
<h3 class="mn-b-small">{{ t('almostDone') }}</h3>
|
6
6
|
<p v-if="route.query.method === 'reset-password'" class="mn-b-semi t-transp">{{ t('newPasswordPrompt') }}</p>
|
7
7
|
<p v-else class="mn-b-semi t-transp">{{ t('registrationPasswordPrompt') }}</p>
|
@@ -26,10 +26,10 @@
|
|
26
26
|
v-if="route.query.method !== 'reset-password'"
|
27
27
|
class="p-medium t-semi mn-b-semi "
|
28
28
|
>
|
29
|
-
By registering, you agree to our <a class="t-second" href="
|
29
|
+
By registering, you agree to our <a class="t-second" href="/legal/eula" target="_blank" rel="noopener noreferrer">End User License Agreement (EULA)</a>
|
30
30
|
</div>
|
31
31
|
<!-- Button -->
|
32
|
-
<Button :submit="onSubmit" :callback="redirectTo" class="mn-b-big">
|
32
|
+
<Button :submit="onSubmit" :callback="redirectTo" class="w-100 bg-main mn-b-big">
|
33
33
|
<span v-if="route.query.method === 'reset-password'">{{ t('changePasswordBtn') }}</span>
|
34
34
|
<span v-else>{{ t('registerBtn') }}</span>
|
35
35
|
</Button>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<template>
|
2
2
|
<section class="t-left pd-medium">
|
3
|
-
<!-- <img src="@/assets/
|
3
|
+
<!-- <img src="@/assets/icons/password.png" class="i-extra mn-b-small"> -->
|
4
4
|
<!-- Header -->
|
5
5
|
<h3 class="mn-b-small">{{ t('forgotPasswordTitle') }}</h3>
|
6
6
|
<p class="mn-b-small t-transp">{{ t('instructions') }}</p>
|
@@ -108,7 +108,6 @@ async function onSubmit() {
|
|
108
108
|
}
|
109
109
|
|
110
110
|
function redirectTo () {
|
111
|
-
|
112
111
|
router.push({ name: 'Enter Code', query: {type: tabAuth.value, method: 'reset-password'} })
|
113
112
|
}
|
114
113
|
</script>
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<template>
|
2
2
|
<section class="">
|
3
3
|
<!-- Header -->
|
4
|
-
<img :src="'/logo/
|
4
|
+
<img :src="'/logo/logo.svg'" class="i-extra radius-small mn-b-small">
|
5
5
|
|
6
6
|
<h3 class="mn-b-medium">
|
7
7
|
{{ t('title') }}
|
@@ -82,7 +82,7 @@
|
|
82
82
|
<Button
|
83
83
|
:submit="onSubmit"
|
84
84
|
:callback="redirectTo"
|
85
|
-
class="mn-b-thin"
|
85
|
+
class="w-100 bg-main mn-b-thin"
|
86
86
|
>
|
87
87
|
{{ t('signin') }}
|
88
88
|
</Button>
|
@@ -113,6 +113,7 @@ import text from '@pf/src/modules/auth/localization/SignIn.json'
|
|
113
113
|
import * as auth from '@pf/src/modules/auth/store/auth'
|
114
114
|
// Import validation
|
115
115
|
import * as inputsValidation from '@pf/src/modules/middlewares/client/inputs.validation'
|
116
|
+
|
116
117
|
// Init validation
|
117
118
|
const phoneValidation = ref(null)
|
118
119
|
const passswordValidation = ref(null)
|
@@ -121,7 +122,11 @@ const emailValidation = ref(null)
|
|
121
122
|
const route = useRoute()
|
122
123
|
const router = useRouter()
|
123
124
|
// Localization
|
124
|
-
const { t } = useI18n(
|
125
|
+
const { t } = useI18n({
|
126
|
+
useScope: 'global',
|
127
|
+
...text
|
128
|
+
})
|
129
|
+
|
125
130
|
// Accessing state
|
126
131
|
const tabAuth = ref('phone')
|
127
132
|
|
@@ -190,13 +195,24 @@ async function onSubmitApple() {
|
|
190
195
|
|
191
196
|
|
192
197
|
function redirectTo () {
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
198
|
+
if (route.query.returnUrl) {
|
199
|
+
router.push({
|
200
|
+
path: route.query.returnUrl,
|
201
|
+
query: {
|
202
|
+
afterAuth: 'true'
|
203
|
+
}
|
204
|
+
})
|
205
|
+
} else {
|
206
|
+
router.push({
|
207
|
+
name: 'User Profile',
|
208
|
+
params: {
|
209
|
+
_id: auth.state.user._id
|
210
|
+
},
|
211
|
+
query: {
|
212
|
+
afterAuth: 'true'
|
213
|
+
}
|
214
|
+
})
|
215
|
+
}
|
200
216
|
}
|
201
217
|
</script>
|
202
218
|
|
@@ -3,7 +3,6 @@
|
|
3
3
|
<!-- Header -->
|
4
4
|
<!-- <img src="@/assets/images/logo.svg" class="i-extra mn-b-small"> -->
|
5
5
|
<h3 class="mn-b-small">{{t('title')}}</h3>
|
6
|
-
<p class="mn-b-small t-transp">{{t('description')}}</p>
|
7
6
|
|
8
7
|
<!-- Select -->
|
9
8
|
<div class="mn-b-small p-small uppercase t-semi bg-grey radius-big o-hidden">
|
@@ -51,7 +50,7 @@
|
|
51
50
|
</div>
|
52
51
|
|
53
52
|
<!-- Button -->
|
54
|
-
<Button :submit="onSubmit" :callback="redirectTo" class="mn-b-big">{{t('sendCode')}}</Button>
|
53
|
+
<Button :submit="onSubmit" :callback="redirectTo" class="w-100 bg-main mn-b-big">{{t('sendCode')}}</Button>
|
55
54
|
|
56
55
|
<!-- Links -->
|
57
56
|
<div class="w-100">
|
@@ -7,10 +7,9 @@ const controllerFactory = (db) => {
|
|
7
7
|
const type = req.body.type;
|
8
8
|
const method = req.body.method;
|
9
9
|
|
10
|
-
console.log(req.body)
|
11
|
-
|
12
10
|
if (type === 'email') {
|
13
|
-
const emailSent = await sendEmail(req.body.email,
|
11
|
+
const emailSent = await sendEmail(req.body.email, `${process.env.APP_NAME} Verification Code`, `Your ${process.env.APP_NAME} verification code is ${code}`);
|
12
|
+
|
14
13
|
if (emailSent) {
|
15
14
|
res.send({ code, type, method });
|
16
15
|
} else {
|
@@ -20,7 +19,8 @@ const controllerFactory = (db) => {
|
|
20
19
|
}
|
21
20
|
|
22
21
|
if (type === 'phone') {
|
23
|
-
const smsSent = await sendSms(req.body.phone, `Your code: ${code}`);
|
22
|
+
const smsSent = await sendSms(req.body.phone, `Your ${process.env.APP_NAME} verification code: ${code}`);
|
23
|
+
|
24
24
|
if (smsSent) {
|
25
25
|
res.send({ code, type, method });
|
26
26
|
} else {
|
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"messages": {
|
3
|
-
"en": {
|
3
|
+
"en-default": {
|
4
4
|
"verifyNumberTitle": "Verify Number",
|
5
5
|
"instructions": "We have sent a registration code to your phone number. Please enter it in the field below:",
|
6
6
|
"resendCode": "Send the code again",
|
7
7
|
"secondsResend": "seconds to the possibility of sending the code again."
|
8
8
|
},
|
9
|
-
"ru": {
|
9
|
+
"ru-default": {
|
10
10
|
"verifyNumberTitle": "Подтвердите номер",
|
11
11
|
"instructions": "Мы отправили код регистрации на ваш номер телефона. Введите его в поле ниже:",
|
12
12
|
"resendCode": "Отправить код еще раз",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"messages": {
|
3
|
-
"en": {
|
3
|
+
"en-default": {
|
4
4
|
"almostDone": "Almost there!",
|
5
5
|
"newPasswordPrompt": "Please, set a new password.",
|
6
6
|
"registrationPasswordPrompt": "Please, set your password to complete the registration.",
|
@@ -9,7 +9,7 @@
|
|
9
9
|
"changePasswordBtn": "Change Password",
|
10
10
|
"registerBtn": "Register"
|
11
11
|
},
|
12
|
-
"ru": {
|
12
|
+
"ru-default": {
|
13
13
|
"almostDone": "Почти все!",
|
14
14
|
"newPasswordPrompt": "Пожалуйста, укажите новый пароль.",
|
15
15
|
"registrationPasswordPrompt": "Пожалуйста, укажите пароль, на этом регистрация будет закончена.",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"messages": {
|
3
|
-
"en": {
|
3
|
+
"en-default": {
|
4
4
|
"forgotPasswordTitle": "Forgot Password?",
|
5
5
|
"instructions": "To reset your password, specify the phone or email used during registration.",
|
6
6
|
"smsInfo": "We will send you an SMS with a confirmation code to reset your password, which you will need to enter in the next step.",
|
@@ -11,7 +11,7 @@
|
|
11
11
|
"emailPlaceholder": "Enter your email",
|
12
12
|
"sendCode": "Send code"
|
13
13
|
},
|
14
|
-
"ru": {
|
14
|
+
"ru-default": {
|
15
15
|
"forgotPasswordTitle": "Забыли пароль?",
|
16
16
|
"instructions": "Чтобы сбросить пароль, укажите телефон или email, использованные при регистрации.",
|
17
17
|
"smsInfo": "Мы вышлем вам SMS с кодом подтверждения для сброса пароля, который вы должны будете ввести в следующем шаге.",
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"messages": {
|
3
|
-
"en": {
|
4
|
-
"title": "Welcome to
|
3
|
+
"en-default": {
|
4
|
+
"title": "Welcome to Weeder",
|
5
5
|
"subtitle": "Sign In to Continue",
|
6
6
|
"signup": "Don't have an account?",
|
7
7
|
"phone": "Phone",
|
@@ -15,7 +15,7 @@
|
|
15
15
|
"signin_apple": "Sign In with Apple",
|
16
16
|
"soon": "SOON"
|
17
17
|
},
|
18
|
-
"ru": {
|
18
|
+
"ru-default": {
|
19
19
|
"title": "Приветствуем вас,",
|
20
20
|
"subtitle": "Войдите для продолжения",
|
21
21
|
"signup": "Нет аккаунта?",
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"messages": {
|
3
|
-
"en": {
|
4
|
-
"title": "Sign Up to
|
3
|
+
"en-default": {
|
4
|
+
"title": "Sign Up to Weeder",
|
5
5
|
"description": "Choose a convenient way to register via phone or email:",
|
6
6
|
"phone": "Phone",
|
7
7
|
"email": "Email",
|
@@ -12,7 +12,7 @@
|
|
12
12
|
"sendCode": "Send Code",
|
13
13
|
"haveAccount": "Already have an account?"
|
14
14
|
},
|
15
|
-
"ru": {
|
15
|
+
"ru-default": {
|
16
16
|
"title": "Новая учетная запись",
|
17
17
|
"description": "Выберите удобный способ регистрации через телефон или email:",
|
18
18
|
"phone": "Телефон",
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<template>
|
2
|
-
<section id="account" class="cols-1
|
2
|
+
<section id="account" class="cols-1">
|
3
3
|
<!-- ---------------------------------------------------------------- -->
|
4
4
|
<!-- 02. Page Tabs -->
|
5
5
|
<!-- ---------------------------------------------------------------- -->
|