├── .eslintrc.json ├── .github └── workflows │ ├── build.yml │ └── codeql-analysis.yml ├── .gitignore ├── .prettierignore ├── .prettierrc.json ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── angular.json ├── browserslist ├── capacitor.config.json ├── capacitor.config.ts ├── e2e ├── protractor.conf.js ├── src │ ├── app.e2e-spec.ts │ └── app.po.ts └── tsconfig.json ├── ionic.config.json ├── karma.conf.js ├── package-lock.json ├── package.json ├── src ├── app │ ├── app-routing.module.ts │ ├── app.component.html │ ├── app.component.scss │ ├── app.component.spec.ts │ ├── app.component.ts │ ├── app.config.ts │ ├── app.module.ts │ ├── components │ │ ├── camera-side-menu │ │ │ ├── camera-side-menu.component.html │ │ │ ├── camera-side-menu.component.scss │ │ │ ├── camera-side-menu.component.ts │ │ │ ├── camera-side-menu.model.ts │ │ │ └── camera-side-menu.module.ts │ │ ├── profile-menu │ │ │ ├── profile-menu.component.html │ │ │ ├── profile-menu.component.scss │ │ │ ├── profile-menu.component.ts │ │ │ ├── profile-menu.model.ts │ │ │ └── profile-menu.module.ts │ │ ├── users-posts │ │ │ ├── users-posts.component.html │ │ │ ├── users-posts.component.scss │ │ │ ├── users-posts.component.ts │ │ │ ├── users-posts.model.ts │ │ │ └── users-posts.module.ts │ │ └── users-stories │ │ │ ├── users-stories.component.html │ │ │ ├── users-stories.component.scss │ │ │ ├── users-stories.component.ts │ │ │ ├── users-stories.model.ts │ │ │ └── users-stories.module.ts │ ├── core │ │ ├── auth-guard │ │ │ ├── auth-guard.actions.ts │ │ │ ├── auth-guard.handler.ts │ │ │ ├── auth-guard.models.ts │ │ │ ├── auth-guard.selectors.ts │ │ │ ├── auth-guard.service.ts │ │ │ └── auth-guard.state.ts │ │ ├── core.module.ts │ │ ├── error-handler │ │ │ └── app-error-handler.service.ts │ │ ├── router │ │ │ └── custom-router-serializer.ts │ │ ├── store │ │ │ ├── index.ts │ │ │ ├── store.model.ts │ │ │ └── store.ts │ │ └── urils │ │ │ └── common-functions.ts │ ├── pages │ │ ├── auth │ │ │ ├── auth-pin │ │ │ │ ├── auth-pin-routing.module.ts │ │ │ │ ├── auth-pin.animation.ts │ │ │ │ ├── auth-pin.module.ts │ │ │ │ ├── auth-pin.page.html │ │ │ │ ├── auth-pin.page.scss │ │ │ │ ├── auth-pin.page.spec.ts │ │ │ │ └── auth-pin.page.ts │ │ │ ├── auth-routing.module.ts │ │ │ ├── auth.module.ts │ │ │ ├── auth.page.html │ │ │ ├── auth.page.scss │ │ │ ├── auth.page.spec.ts │ │ │ ├── auth.page.ts │ │ │ ├── forgot │ │ │ │ ├── forgot-routing.module.ts │ │ │ │ ├── forgot.module.ts │ │ │ │ ├── forgot.page.html │ │ │ │ ├── forgot.page.scss │ │ │ │ ├── forgot.page.spec.ts │ │ │ │ └── forgot.page.ts │ │ │ ├── login │ │ │ │ ├── login-routing.module.ts │ │ │ │ ├── login.module.ts │ │ │ │ ├── login.page.html │ │ │ │ ├── login.page.scss │ │ │ │ ├── login.page.spec.ts │ │ │ │ └── login.page.ts │ │ │ ├── register │ │ │ │ ├── register-routing.module.ts │ │ │ │ ├── register.module.ts │ │ │ │ ├── register.page.html │ │ │ │ ├── register.page.scss │ │ │ │ ├── register.page.spec.ts │ │ │ │ └── register.page.ts │ │ │ └── reset │ │ │ │ ├── reset-routing.module.ts │ │ │ │ ├── reset.module.ts │ │ │ │ ├── reset.page.html │ │ │ │ ├── reset.page.scss │ │ │ │ ├── reset.page.spec.ts │ │ │ │ └── reset.page.ts │ │ ├── message-detail │ │ │ ├── components │ │ │ │ ├── footer │ │ │ │ │ ├── footer.component.html │ │ │ │ │ ├── footer.component.scss │ │ │ │ │ └── footer.component.ts │ │ │ │ ├── message-divider │ │ │ │ │ ├── message-divider.component.html │ │ │ │ │ ├── message-divider.component.scss │ │ │ │ │ └── message-divider.component.ts │ │ │ │ ├── my-message │ │ │ │ │ ├── my-message.component.html │ │ │ │ │ ├── my-message.component.scss │ │ │ │ │ └── my-message.component.ts │ │ │ │ └── user-message │ │ │ │ │ ├── user-message.component.html │ │ │ │ │ ├── user-message.component.scss │ │ │ │ │ └── user-message.component.ts │ │ │ ├── message-detail-routing.module.ts │ │ │ ├── message-detail.actions.ts │ │ │ ├── message-detail.constant.ts │ │ │ ├── message-detail.model.ts │ │ │ ├── message-detail.module.ts │ │ │ ├── message-detail.page.html │ │ │ ├── message-detail.page.scss │ │ │ ├── message-detail.page.ts │ │ │ ├── message-detail.selectors.ts │ │ │ └── message-detail.state.ts │ │ └── settings │ │ │ ├── about │ │ │ ├── about-routing.module.ts │ │ │ ├── about.module.ts │ │ │ ├── about.page.html │ │ │ ├── about.page.scss │ │ │ ├── about.page.spec.ts │ │ │ └── about.page.ts │ │ │ ├── account │ │ │ ├── account-routing.module.ts │ │ │ ├── account.module.ts │ │ │ ├── account.page.html │ │ │ ├── account.page.scss │ │ │ ├── account.page.spec.ts │ │ │ └── account.page.ts │ │ │ ├── appearance │ │ │ ├── appearance-routing.module.ts │ │ │ ├── appearance.model.ts │ │ │ ├── appearance.module.ts │ │ │ ├── appearance.page.html │ │ │ ├── appearance.page.scss │ │ │ ├── appearance.page.spec.ts │ │ │ └── appearance.page.ts │ │ │ ├── balance │ │ │ ├── balance-routing.module.ts │ │ │ ├── balance.module.ts │ │ │ ├── balance.page.html │ │ │ ├── balance.page.scss │ │ │ ├── balance.page.spec.ts │ │ │ └── balance.page.ts │ │ │ ├── blocked │ │ │ ├── blocked-routing.module.ts │ │ │ ├── blocked.module.ts │ │ │ ├── blocked.page.html │ │ │ ├── blocked.page.scss │ │ │ ├── blocked.page.spec.ts │ │ │ └── blocked.page.ts │ │ │ ├── general │ │ │ ├── general-routing.module.ts │ │ │ ├── general.module.ts │ │ │ ├── general.page.html │ │ │ ├── general.page.scss │ │ │ ├── general.page.spec.ts │ │ │ └── general.page.ts │ │ │ ├── notifications │ │ │ ├── events │ │ │ │ ├── birthdays │ │ │ │ │ ├── birthdays.component.html │ │ │ │ │ ├── birthdays.component.scss │ │ │ │ │ ├── birthdays.component.spec.ts │ │ │ │ │ └── birthdays.component.ts │ │ │ │ ├── community-invitations │ │ │ │ │ ├── community-invitations.component.html │ │ │ │ │ ├── community-invitations.component.scss │ │ │ │ │ ├── community-invitations.component.spec.ts │ │ │ │ │ └── community-invitations.component.ts │ │ │ │ ├── friend-requests │ │ │ │ │ ├── friend-requests.component.html │ │ │ │ │ ├── friend-requests.component.scss │ │ │ │ │ ├── friend-requests.component.spec.ts │ │ │ │ │ └── friend-requests.component.ts │ │ │ │ ├── interesting-posts │ │ │ │ │ ├── interesting-posts.component.html │ │ │ │ │ ├── interesting-posts.component.scss │ │ │ │ │ ├── interesting-posts.component.spec.ts │ │ │ │ │ └── interesting-posts.component.ts │ │ │ │ ├── people-you-may-know │ │ │ │ │ ├── people-you-may-know.component.html │ │ │ │ │ ├── people-you-may-know.component.scss │ │ │ │ │ ├── people-you-may-know.component.spec.ts │ │ │ │ │ └── people-you-may-know.component.ts │ │ │ │ ├── photo-tags │ │ │ │ │ ├── photo-tags.component.html │ │ │ │ │ ├── photo-tags.component.scss │ │ │ │ │ ├── photo-tags.component.spec.ts │ │ │ │ │ └── photo-tags.component.ts │ │ │ │ └── upcoming-events │ │ │ │ │ ├── upcoming-events.component.html │ │ │ │ │ ├── upcoming-events.component.scss │ │ │ │ │ ├── upcoming-events.component.spec.ts │ │ │ │ │ └── upcoming-events.component.ts │ │ │ ├── feedback │ │ │ │ ├── also-commented │ │ │ │ │ ├── also-commented.component.html │ │ │ │ │ ├── also-commented.component.scss │ │ │ │ │ ├── also-commented.component.spec.ts │ │ │ │ │ └── also-commented.component.ts │ │ │ │ ├── comments │ │ │ │ │ ├── comments.component.html │ │ │ │ │ ├── comments.component.scss │ │ │ │ │ ├── comments.component.spec.ts │ │ │ │ │ └── comments.component.ts │ │ │ │ ├── likes │ │ │ │ │ ├── likes.component.html │ │ │ │ │ ├── likes.component.scss │ │ │ │ │ ├── likes.component.spec.ts │ │ │ │ │ └── likes.component.ts │ │ │ │ ├── mentions-messages │ │ │ │ │ ├── mentions-messages.component.html │ │ │ │ │ ├── mentions-messages.component.scss │ │ │ │ │ ├── mentions-messages.component.spec.ts │ │ │ │ │ └── mentions-messages.component.ts │ │ │ │ ├── mentions │ │ │ │ │ ├── mentions.component.html │ │ │ │ │ ├── mentions.component.scss │ │ │ │ │ ├── mentions.component.spec.ts │ │ │ │ │ └── mentions.component.ts │ │ │ │ ├── participation-polls │ │ │ │ │ ├── participation-polls.component.html │ │ │ │ │ ├── participation-polls.component.scss │ │ │ │ │ ├── participation-polls.component.spec.ts │ │ │ │ │ └── participation-polls.component.ts │ │ │ │ ├── posts │ │ │ │ │ ├── posts.component.html │ │ │ │ │ ├── posts.component.scss │ │ │ │ │ ├── posts.component.spec.ts │ │ │ │ │ └── posts.component.ts │ │ │ │ ├── related-you │ │ │ │ │ ├── related-you.component.html │ │ │ │ │ ├── related-you.component.scss │ │ │ │ │ ├── related-you.component.spec.ts │ │ │ │ │ └── related-you.component.ts │ │ │ │ ├── shared │ │ │ │ │ ├── shared.component.html │ │ │ │ │ ├── shared.component.scss │ │ │ │ │ ├── shared.component.spec.ts │ │ │ │ │ └── shared.component.ts │ │ │ │ ├── story-feedback │ │ │ │ │ ├── story-feedback.component.html │ │ │ │ │ ├── story-feedback.component.scss │ │ │ │ │ ├── story-feedback.component.spec.ts │ │ │ │ │ └── story-feedback.component.ts │ │ │ │ └── story-replies │ │ │ │ │ ├── story-replies.component.html │ │ │ │ │ ├── story-replies.component.scss │ │ │ │ │ ├── story-replies.component.spec.ts │ │ │ │ │ └── story-replies.component.ts │ │ │ ├── messages │ │ │ │ ├── community-messages │ │ │ │ │ ├── community-messages.component.html │ │ │ │ │ ├── community-messages.component.scss │ │ │ │ │ ├── community-messages.component.spec.ts │ │ │ │ │ └── community-messages.component.ts │ │ │ │ ├── group-chats │ │ │ │ │ ├── group-chats.component.html │ │ │ │ │ ├── group-chats.component.scss │ │ │ │ │ ├── group-chats.component.spec.ts │ │ │ │ │ └── group-chats.component.ts │ │ │ │ └── private-messages │ │ │ │ │ ├── private-messages.component.html │ │ │ │ │ ├── private-messages.component.scss │ │ │ │ │ ├── private-messages.component.spec.ts │ │ │ │ │ └── private-messages.component.ts │ │ │ ├── notifications-routing.module.ts │ │ │ ├── notifications.module.ts │ │ │ ├── notifications.page.html │ │ │ ├── notifications.page.scss │ │ │ ├── notifications.page.spec.ts │ │ │ ├── notifications.page.ts │ │ │ ├── other │ │ │ │ ├── achievements │ │ │ │ │ ├── achievements.component.html │ │ │ │ │ ├── achievements.component.scss │ │ │ │ │ ├── achievements.component.spec.ts │ │ │ │ │ └── achievements.component.ts │ │ │ │ ├── aplications │ │ │ │ │ ├── aplications.component.html │ │ │ │ │ ├── aplications.component.scss │ │ │ │ │ ├── aplications.component.spec.ts │ │ │ │ │ └── aplications.component.ts │ │ │ │ ├── bookmarks │ │ │ │ │ ├── bookmarks.component.html │ │ │ │ │ ├── bookmarks.component.scss │ │ │ │ │ ├── bookmarks.component.spec.ts │ │ │ │ │ └── bookmarks.component.ts │ │ │ │ ├── closed-community-posts │ │ │ │ │ ├── closed-community-posts.component.html │ │ │ │ │ ├── closed-community-posts.component.scss │ │ │ │ │ ├── closed-community-posts.component.spec.ts │ │ │ │ │ └── closed-community-posts.component.ts │ │ │ │ ├── gifts │ │ │ │ │ ├── gifts.component.html │ │ │ │ │ ├── gifts.component.scss │ │ │ │ │ ├── gifts.component.spec.ts │ │ │ │ │ └── gifts.component.ts │ │ │ │ ├── live-streams │ │ │ │ │ ├── live-streams.component.html │ │ │ │ │ ├── live-streams.component.scss │ │ │ │ │ ├── live-streams.component.spec.ts │ │ │ │ │ └── live-streams.component.ts │ │ │ │ ├── new-post │ │ │ │ │ ├── new-post.component.html │ │ │ │ │ ├── new-post.component.scss │ │ │ │ │ ├── new-post.component.spec.ts │ │ │ │ │ └── new-post.component.ts │ │ │ │ ├── podcasts │ │ │ │ │ ├── podcasts.component.html │ │ │ │ │ ├── podcasts.component.scss │ │ │ │ │ ├── podcasts.component.spec.ts │ │ │ │ │ └── podcasts.component.ts │ │ │ │ ├── services │ │ │ │ │ ├── services.component.html │ │ │ │ │ ├── services.component.scss │ │ │ │ │ ├── services.component.spec.ts │ │ │ │ │ └── services.component.ts │ │ │ │ └── store │ │ │ │ │ ├── store.component.html │ │ │ │ │ ├── store.component.scss │ │ │ │ │ ├── store.component.spec.ts │ │ │ │ │ └── store.component.ts │ │ │ └── sources │ │ │ │ └── communities-notifications │ │ │ │ ├── communities-notifications.component.html │ │ │ │ ├── communities-notifications.component.scss │ │ │ │ ├── communities-notifications.component.spec.ts │ │ │ │ └── communities-notifications.component.ts │ │ │ ├── privacy │ │ │ ├── can-contact │ │ │ │ ├── apps-invite │ │ │ │ │ ├── apps-invite.component.html │ │ │ │ │ ├── apps-invite.component.scss │ │ │ │ │ ├── apps-invite.component.spec.ts │ │ │ │ │ └── apps-invite.component.ts │ │ │ │ ├── appscall │ │ │ │ │ ├── appscall.component.html │ │ │ │ │ ├── appscall.component.scss │ │ │ │ │ ├── appscall.component.spec.ts │ │ │ │ │ └── appscall.component.ts │ │ │ │ ├── calls │ │ │ │ │ ├── calls.component.html │ │ │ │ │ ├── calls.component.scss │ │ │ │ │ ├── calls.component.spec.ts │ │ │ │ │ └── calls.component.ts │ │ │ │ ├── chat-invite-user │ │ │ │ │ ├── chat-invite-user.component.html │ │ │ │ │ ├── chat-invite-user.component.scss │ │ │ │ │ ├── chat-invite-user.component.spec.ts │ │ │ │ │ └── chat-invite-user.component.ts │ │ │ │ ├── friends-requests │ │ │ │ │ ├── friends-requests.component.html │ │ │ │ │ ├── friends-requests.component.scss │ │ │ │ │ ├── friends-requests.component.spec.ts │ │ │ │ │ └── friends-requests.component.ts │ │ │ │ ├── groups-invite │ │ │ │ │ ├── groups-invite.component.html │ │ │ │ │ ├── groups-invite.component.scss │ │ │ │ │ ├── groups-invite.component.spec.ts │ │ │ │ │ └── groups-invite.component.ts │ │ │ │ ├── mail-send │ │ │ │ │ ├── mail-send.component.html │ │ │ │ │ ├── mail-send.component.scss │ │ │ │ │ ├── mail-send.component.spec.ts │ │ │ │ │ └── mail-send.component.ts │ │ │ │ └── search-by-reg-phone │ │ │ │ │ ├── search-by-reg-phone.component.html │ │ │ │ │ ├── search-by-reg-phone.component.scss │ │ │ │ │ ├── search-by-reg-phone.component.spec.ts │ │ │ │ │ └── search-by-reg-phone.component.ts │ │ │ ├── my-posts │ │ │ │ ├── photos-tagme │ │ │ │ │ ├── photos-tagme.component.html │ │ │ │ │ ├── photos-tagme.component.scss │ │ │ │ │ ├── photos-tagme.component.spec.ts │ │ │ │ │ └── photos-tagme.component.ts │ │ │ │ ├── replies-view │ │ │ │ │ ├── replies-view.component.html │ │ │ │ │ ├── replies-view.component.scss │ │ │ │ │ ├── replies-view.component.spec.ts │ │ │ │ │ └── replies-view.component.ts │ │ │ │ ├── status-replies │ │ │ │ │ ├── status-replies.component.html │ │ │ │ │ ├── status-replies.component.scss │ │ │ │ │ ├── status-replies.component.spec.ts │ │ │ │ │ └── status-replies.component.ts │ │ │ │ ├── wall-send │ │ │ │ │ ├── wall-send.component.html │ │ │ │ │ ├── wall-send.component.scss │ │ │ │ │ ├── wall-send.component.spec.ts │ │ │ │ │ └── wall-send.component.ts │ │ │ │ └── wall │ │ │ │ │ ├── wall.component.html │ │ │ │ │ ├── wall.component.scss │ │ │ │ │ ├── wall.component.spec.ts │ │ │ │ │ └── wall.component.ts │ │ │ ├── my-profile │ │ │ │ ├── audios │ │ │ │ │ ├── audios.component.html │ │ │ │ │ ├── audios.component.scss │ │ │ │ │ ├── audios.component.spec.ts │ │ │ │ │ └── audios.component.ts │ │ │ │ ├── friends │ │ │ │ │ ├── friends.component.html │ │ │ │ │ ├── friends.component.scss │ │ │ │ │ ├── friends.component.spec.ts │ │ │ │ │ └── friends.component.ts │ │ │ │ ├── gifts │ │ │ │ │ ├── gifts.component.html │ │ │ │ │ ├── gifts.component.scss │ │ │ │ │ ├── gifts.component.spec.ts │ │ │ │ │ └── gifts.component.ts │ │ │ │ ├── groups │ │ │ │ │ ├── groups.component.html │ │ │ │ │ ├── groups.component.scss │ │ │ │ │ ├── groups.component.spec.ts │ │ │ │ │ └── groups.component.ts │ │ │ │ ├── hidden-friends │ │ │ │ │ ├── hidden-friends.component.html │ │ │ │ │ ├── hidden-friends.component.scss │ │ │ │ │ ├── hidden-friends.component.spec.ts │ │ │ │ │ └── hidden-friends.component.ts │ │ │ │ ├── photos-saved │ │ │ │ │ ├── photos-saved.component.html │ │ │ │ │ ├── photos-saved.component.scss │ │ │ │ │ ├── photos-saved.component.spec.ts │ │ │ │ │ └── photos-saved.component.ts │ │ │ │ ├── photos-with │ │ │ │ │ ├── photos-with.component.html │ │ │ │ │ ├── photos-with.component.scss │ │ │ │ │ ├── photos-with.component.spec.ts │ │ │ │ │ └── photos-with.component.ts │ │ │ │ ├── places │ │ │ │ │ ├── places.component.html │ │ │ │ │ ├── places.component.scss │ │ │ │ │ ├── places.component.spec.ts │ │ │ │ │ └── places.component.ts │ │ │ │ └── profile │ │ │ │ │ ├── profile.component.html │ │ │ │ │ ├── profile.component.scss │ │ │ │ │ ├── profile.component.spec.ts │ │ │ │ │ └── profile.component.ts │ │ │ ├── other │ │ │ │ ├── company-messages │ │ │ │ │ ├── company-messages.component.html │ │ │ │ │ ├── company-messages.component.scss │ │ │ │ │ ├── company-messages.component.spec.ts │ │ │ │ │ └── company-messages.component.ts │ │ │ │ ├── search │ │ │ │ │ ├── search.component.html │ │ │ │ │ ├── search.component.scss │ │ │ │ │ ├── search.component.spec.ts │ │ │ │ │ └── search.component.ts │ │ │ │ └── updates │ │ │ │ │ ├── updates.component.html │ │ │ │ │ ├── updates.component.scss │ │ │ │ │ ├── updates.component.spec.ts │ │ │ │ │ └── updates.component.ts │ │ │ ├── privacy-routing.module.ts │ │ │ ├── privacy.module.ts │ │ │ ├── privacy.page.html │ │ │ ├── privacy.page.scss │ │ │ ├── privacy.page.spec.ts │ │ │ ├── privacy.page.ts │ │ │ └── stories │ │ │ │ ├── stories-questions │ │ │ │ ├── stories-questions.component.html │ │ │ │ ├── stories-questions.component.scss │ │ │ │ ├── stories-questions.component.spec.ts │ │ │ │ └── stories-questions.component.ts │ │ │ │ ├── stories-replies │ │ │ │ ├── stories-replies.component.html │ │ │ │ ├── stories-replies.component.scss │ │ │ │ ├── stories-replies.component.spec.ts │ │ │ │ └── stories-replies.component.ts │ │ │ │ └── stories │ │ │ │ ├── stories.component.html │ │ │ │ ├── stories.component.scss │ │ │ │ ├── stories.component.spec.ts │ │ │ │ └── stories.component.ts │ │ │ ├── security │ │ │ ├── security-routing.module.ts │ │ │ ├── security.module.ts │ │ │ ├── security.page.html │ │ │ ├── security.page.scss │ │ │ ├── security.page.spec.ts │ │ │ └── security.page.ts │ │ │ ├── settings-routing.module.ts │ │ │ ├── settings.actions.ts │ │ │ ├── settings.constant.ts │ │ │ ├── settings.model.ts │ │ │ ├── settings.module.ts │ │ │ ├── settings.page.html │ │ │ ├── settings.page.scss │ │ │ ├── settings.page.spec.ts │ │ │ ├── settings.page.ts │ │ │ ├── settings.selectors.ts │ │ │ ├── settings.state.ts │ │ │ └── subscriptions │ │ │ ├── subscriptions-routing.module.ts │ │ │ ├── subscriptions.module.ts │ │ │ ├── subscriptions.page.html │ │ │ ├── subscriptions.page.scss │ │ │ ├── subscriptions.page.spec.ts │ │ │ └── subscriptions.page.ts │ ├── services │ │ ├── alert │ │ │ └── alert.service.ts │ │ ├── api │ │ │ ├── api.model.ts │ │ │ └── api.service.ts │ │ ├── loading │ │ │ └── loading.service.ts │ │ └── toast │ │ │ └── toast.service.ts │ ├── shared │ │ └── shared.module.ts │ └── tabs │ │ ├── main │ │ ├── main-routing.module.ts │ │ ├── main.actions.ts │ │ ├── main.constant.ts │ │ ├── main.model.ts │ │ ├── main.module.ts │ │ ├── main.page.html │ │ ├── main.page.scss │ │ ├── main.page.ts │ │ ├── main.selectors.ts │ │ └── main.state.ts │ │ ├── messages │ │ ├── messages-routing.module.ts │ │ ├── messages.actions.ts │ │ ├── messages.constant.ts │ │ ├── messages.model.ts │ │ ├── messages.module.ts │ │ ├── messages.page.html │ │ ├── messages.page.scss │ │ ├── messages.page.ts │ │ ├── messages.selectors.ts │ │ └── messages.state.ts │ │ ├── profile │ │ ├── profile-routing.module.ts │ │ ├── profile.actions.ts │ │ ├── profile.constant.ts │ │ ├── profile.model.ts │ │ ├── profile.module.ts │ │ ├── profile.page.html │ │ ├── profile.page.scss │ │ ├── profile.page.spec.ts │ │ ├── profile.page.ts │ │ ├── profile.selectors.ts │ │ └── profile.state.ts │ │ ├── services │ │ ├── services-routing.module.ts │ │ ├── services.actions.ts │ │ ├── services.constant.ts │ │ ├── services.model.ts │ │ ├── services.module.ts │ │ ├── services.page.html │ │ ├── services.page.scss │ │ ├── services.page.ts │ │ ├── services.selectors.ts │ │ └── services.state.ts │ │ ├── tabs-routing.module.ts │ │ ├── tabs.model.ts │ │ ├── tabs.module.ts │ │ ├── tabs.page.html │ │ ├── tabs.page.scss │ │ ├── tabs.page.spec.ts │ │ ├── tabs.page.ts │ │ ├── tabs.selectors.ts │ │ └── tabs.state.ts ├── assets │ ├── i18n │ │ ├── en.json │ │ └── ru.json │ ├── icon │ │ └── favicon.png │ └── logo │ │ ├── TK_DARK_LOGO.png │ │ ├── TK_DEFAULT_LOGO.png │ │ ├── TK_MONOCHROME_DARK_LOGO.png │ │ └── TK_MONOCHROME_DEFAULT_LOGO.png ├── environments │ ├── environment.prod.ts │ ├── environment.test.ts │ └── environment.ts ├── global.scss ├── index.html ├── main.ts ├── polyfills.ts ├── scss │ ├── auth.scss │ └── horizontal-scroll.scss ├── test.ts ├── theme │ └── variables.scss └── zone-flags.ts ├── tsconfig.app.json ├── tsconfig.json └── tsconfig.spec.json /.gitignore: -------------------------------------------------------------------------------- 1 | # Specifies intentionally untracked files to ignore when using Git 2 | # http://git-scm.com/docs/gitignore 3 | 4 | *~ 5 | *.sw[mnpcod] 6 | .tmp 7 | *.tmp 8 | *.tmp.* 9 | *.sublime-project 10 | *.sublime-workspace 11 | .DS_Store 12 | Thumbs.db 13 | UserInterfaceState.xcuserstate 14 | $RECYCLE.BIN/ 15 | 16 | *.log 17 | log.txt 18 | npm-debug.log* 19 | config.xml 20 | 21 | /.idea 22 | /.ionic 23 | /.sass-cache 24 | /.sourcemaps 25 | /.versions 26 | /.vscode 27 | /coverage 28 | /dist 29 | /node_modules 30 | /platforms 31 | /plugins 32 | /resources 33 | /www 34 | /android 35 | /ios 36 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | /android 2 | /ios 3 | 4 | /.idea 5 | /.ionic 6 | /.sass-cache 7 | /.sourcemaps 8 | /.versions 9 | /.vscode 10 | /coverage 11 | /dist 12 | /node_modules 13 | /platforms 14 | /plugins 15 | /www 16 | -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "printWidth": 120, 3 | "tabWidth": 2, 4 | "useTabs": false, 5 | "semi": true, 6 | "singleQuote": true, 7 | "trailingComma": "all" 8 | } 9 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/CHANGELOG.md -------------------------------------------------------------------------------- /browserslist: -------------------------------------------------------------------------------- 1 | # This file is used by the build system to adjust CSS and JS output to support the specified browsers below. 2 | # For additional information regarding the format and rule options, please see: 3 | # https://github.com/browserslist/browserslist#queries 4 | 5 | # You can see what browsers were selected by your queries by running: 6 | # npx browserslist 7 | 8 | > 0.5% 9 | last 2 versions 10 | Firefox ESR 11 | not dead 12 | not IE 9-11 # For IE 9-11 support, remove 'not'. 13 | -------------------------------------------------------------------------------- /capacitor.config.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /capacitor.config.ts: -------------------------------------------------------------------------------- 1 | /* eslint-disable @typescript-eslint/naming-convention */ 2 | import { CapacitorConfig } from '@capacitor/cli'; 3 | 4 | const config: CapacitorConfig = { 5 | appId: 'io.ionic.starter', 6 | appName: 'Social Network', 7 | bundledWebRuntime: false, 8 | webDir: 'www', 9 | plugins: { 10 | SplashScreen: { 11 | launchAutoHide: false, 12 | showSpinner: false, 13 | backgroundColor: '#fff', 14 | androidScaleType: 'CENTER_CROP', 15 | splashFullScreen: false, 16 | splashImmersive: false, 17 | }, 18 | }, 19 | }; 20 | 21 | export default config; 22 | -------------------------------------------------------------------------------- /e2e/src/app.e2e-spec.ts: -------------------------------------------------------------------------------- 1 | import { AppPage } from './app.po'; 2 | 3 | describe('new App', () => { 4 | let page: AppPage; 5 | 6 | beforeEach(() => { 7 | page = new AppPage(); 8 | }); 9 | 10 | it('should display welcome message', () => { 11 | page.navigateTo(); 12 | expect(page.getPageTitle()).toContain('Tab 1'); 13 | }); 14 | }); 15 | -------------------------------------------------------------------------------- /e2e/src/app.po.ts: -------------------------------------------------------------------------------- 1 | import { browser, by, element } from 'protractor'; 2 | 3 | export class AppPage { 4 | navigateTo() { 5 | return browser.get('/'); 6 | } 7 | 8 | getPageTitle() { 9 | return element(by.css('ion-title')).getText(); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /e2e/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "../out-tsc/app", 5 | "module": "commonjs", 6 | "target": "es5", 7 | "types": ["jasmine", "jasminewd2", "node"] 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /ionic.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ion-tk-social-network", 3 | "integrations": { 4 | "capacitor": {} 5 | }, 6 | "type": "angular" 7 | } 8 | -------------------------------------------------------------------------------- /src/app/app.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/app/app.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/app.component.scss -------------------------------------------------------------------------------- /src/app/app.config.ts: -------------------------------------------------------------------------------- 1 | export const appConfig = { 2 | /* App languages */ 3 | langs: { 4 | default: 'en', 5 | en: 'en', 6 | }, 7 | 8 | /* App routes */ 9 | routes: { 10 | tabs: { 11 | root: 'tabs', 12 | tab1: 'tab1', 13 | }, 14 | auth: { 15 | login: 'auth/login', 16 | register: 'auth/register', 17 | forgot: 'auth/forgot', 18 | reset: 'auth/reset', 19 | }, 20 | redirectOnError: 'tabs', 21 | redirectOnNotFound: 'tabs', 22 | }, 23 | }; 24 | -------------------------------------------------------------------------------- /src/app/components/camera-side-menu/camera-side-menu.model.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/components/camera-side-menu/camera-side-menu.model.ts -------------------------------------------------------------------------------- /src/app/components/camera-side-menu/camera-side-menu.module.ts: -------------------------------------------------------------------------------- 1 | import { CommonModule } from '@angular/common'; 2 | import { NgModule } from '@angular/core'; 3 | import { IonicModule } from '@ionic/angular'; 4 | import { SharedModule } from '../../shared/shared.module'; 5 | import { CameraSideMenuComponent } from './camera-side-menu.component'; 6 | 7 | @NgModule({ 8 | imports: [CommonModule, IonicModule, SharedModule], 9 | declarations: [CameraSideMenuComponent], 10 | exports: [CameraSideMenuComponent], 11 | }) 12 | export class CameraSideMenuComponentModule {} 13 | -------------------------------------------------------------------------------- /src/app/components/profile-menu/profile-menu.component.scss: -------------------------------------------------------------------------------- 1 | .profile-menu { 2 | --background: var(--ion-item-background); 3 | 4 | ion-title.ios { 5 | padding: 0px 60px; 6 | } 7 | 8 | ion-footer { 9 | ion-buttons { 10 | height: 45px; 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/app/components/profile-menu/profile-menu.model.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/components/profile-menu/profile-menu.model.ts -------------------------------------------------------------------------------- /src/app/components/profile-menu/profile-menu.module.ts: -------------------------------------------------------------------------------- 1 | import { CommonModule } from '@angular/common'; 2 | import { NgModule } from '@angular/core'; 3 | import { IonicModule } from '@ionic/angular'; 4 | import { SharedModule } from '../../shared/shared.module'; 5 | import { ProfileMenuComponent } from './profile-menu.component'; 6 | 7 | @NgModule({ 8 | imports: [CommonModule, IonicModule, SharedModule], 9 | declarations: [ProfileMenuComponent], 10 | exports: [ProfileMenuComponent], 11 | }) 12 | export class ProfileMenuComponentModule {} 13 | -------------------------------------------------------------------------------- /src/app/components/users-posts/users-posts.component.scss: -------------------------------------------------------------------------------- 1 | :host { 2 | &:last-child { 3 | margin-bottom: var(--ion-margin, 32px); 4 | } 5 | } 6 | 7 | // Post card list 8 | .post-list-card { 9 | margin-top: var(--ion-margin, 16px); 10 | margin-left: 0px; 11 | margin-right: 0px; 12 | margin-bottom: 0px; 13 | border-radius: 0px; 14 | 15 | ion-item { 16 | --inner-padding-end: 0px; 17 | --background: inherit; 18 | } 19 | 20 | .post-list-content { 21 | padding-top: 8px; 22 | padding-bottom: 8px; 23 | } 24 | 25 | .action-item { 26 | .action-button { 27 | margin-right: var(--ion-margin, 16px) !important; 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/app/components/users-posts/users-posts.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, Input, OnInit } from '@angular/core'; 2 | import { NewsModel } from '../../tabs/main/main.model'; 3 | 4 | @Component({ 5 | selector: 'app-users-posts', 6 | templateUrl: './users-posts.component.html', 7 | styleUrls: ['./users-posts.component.scss'], 8 | }) 9 | export class UsersPostsComponent implements OnInit { 10 | @Input() isLoading = true; 11 | @Input() posts: NewsModel[]; 12 | 13 | constructor() {} 14 | 15 | trackByPost(index) { 16 | return index; 17 | } 18 | 19 | ngOnInit() {} 20 | } 21 | -------------------------------------------------------------------------------- /src/app/components/users-posts/users-posts.model.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/components/users-posts/users-posts.model.ts -------------------------------------------------------------------------------- /src/app/components/users-posts/users-posts.module.ts: -------------------------------------------------------------------------------- 1 | import { CommonModule } from '@angular/common'; 2 | import { NgModule } from '@angular/core'; 3 | import { IonicModule } from '@ionic/angular'; 4 | import { SharedModule } from '../../shared/shared.module'; 5 | import { UsersPostsComponent } from './users-posts.component'; 6 | 7 | @NgModule({ 8 | imports: [CommonModule, IonicModule, SharedModule], 9 | declarations: [UsersPostsComponent], 10 | exports: [UsersPostsComponent], 11 | }) 12 | export class UsersPostsComponentModule {} 13 | -------------------------------------------------------------------------------- /src/app/components/users-stories/users-stories.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core'; 2 | import { UsersStoriesModel } from './users-stories.model'; 3 | 4 | @Component({ 5 | selector: 'app-users-stories', 6 | templateUrl: './users-stories.component.html', 7 | styleUrls: ['./users-stories.component.scss'], 8 | }) 9 | export class UsersStoriesComponent implements OnInit { 10 | @Input() isLoading = true; 11 | @Input() stories: UsersStoriesModel[]; 12 | 13 | @Output() onOpenStory = new EventEmitter(); 14 | constructor() {} 15 | 16 | openStory(event: Event, story: UsersStoriesModel) { 17 | this.onOpenStory.emit(story); 18 | } 19 | 20 | trackByStory(index) { 21 | return index; 22 | } 23 | 24 | ngOnInit() {} 25 | } 26 | -------------------------------------------------------------------------------- /src/app/components/users-stories/users-stories.model.ts: -------------------------------------------------------------------------------- 1 | export interface UsersStoriesModel { 2 | id: string; 3 | firstName: string; 4 | lastName: string; 5 | avatar: string; 6 | content: string; 7 | nickname: string; 8 | createdAt: string; 9 | } 10 | -------------------------------------------------------------------------------- /src/app/components/users-stories/users-stories.module.ts: -------------------------------------------------------------------------------- 1 | import { CommonModule } from '@angular/common'; 2 | import { NgModule } from '@angular/core'; 3 | import { IonicModule } from '@ionic/angular'; 4 | import { SharedModule } from '../../shared/shared.module'; 5 | import { UsersStoriesComponent } from './users-stories.component'; 6 | 7 | @NgModule({ 8 | imports: [CommonModule, IonicModule, SharedModule], 9 | declarations: [UsersStoriesComponent], 10 | exports: [UsersStoriesComponent], 11 | }) 12 | export class UsersStoriesComponentModule {} 13 | -------------------------------------------------------------------------------- /src/app/core/auth-guard/auth-guard.actions.ts: -------------------------------------------------------------------------------- 1 | // eslint-disable-next-line @typescript-eslint/no-namespace 2 | export namespace AuthAction { 3 | export class Login { 4 | static readonly type = '[Login] User login'; 5 | constructor(public userId: string, public isAuth: boolean = true) {} 6 | } 7 | 8 | export class Logout { 9 | static readonly type = '[Logout] User logout'; 10 | constructor(public isAuth: boolean = false) {} 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/app/core/auth-guard/auth-guard.handler.ts: -------------------------------------------------------------------------------- 1 | import { Injectable } from '@angular/core'; 2 | import { NavController } from '@ionic/angular'; 3 | import { Actions, ofActionDispatched } from '@ngxs/store'; 4 | import { appConfig } from '../../app.config'; 5 | import { AuthStateModel } from './auth-guard.models'; 6 | import { AuthAction } from './auth-guard.actions'; 7 | 8 | @Injectable({ providedIn: 'root' }) 9 | export class AuthHandler { 10 | constructor(private actions$: Actions, private navController: NavController) { 11 | this.actions$.pipe(ofActionDispatched(AuthAction.Login, AuthAction.Logout)).subscribe((auth: AuthStateModel) => { 12 | if (auth.isAuth) { 13 | this.navController.navigateRoot(appConfig.routes.tabs.root); 14 | return; 15 | } 16 | this.navController.navigateRoot(appConfig.routes.auth.login); 17 | }); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/app/core/auth-guard/auth-guard.models.ts: -------------------------------------------------------------------------------- 1 | export class AuthStateModel { 2 | isAuth: boolean; 3 | accessToken: string; 4 | refreshToken: string; 5 | } 6 | -------------------------------------------------------------------------------- /src/app/core/auth-guard/auth-guard.selectors.ts: -------------------------------------------------------------------------------- 1 | import { createSelector } from '@ngxs/store'; 2 | import { AuthStateModel } from './auth-guard.models'; 3 | import { AuthGuardState } from './auth-guard.state'; 4 | 5 | export const selectIsAuth = () => createSelector([AuthGuardState], (state: AuthStateModel) => state.isAuth); 6 | export const selectAuthToken = () => createSelector([AuthGuardState], (state: AuthStateModel) => state.accessToken); 7 | -------------------------------------------------------------------------------- /src/app/core/error-handler/app-error-handler.service.ts: -------------------------------------------------------------------------------- 1 | import { Injectable, ErrorHandler } from '@angular/core'; 2 | import { HttpErrorResponse } from '@angular/common/http'; 3 | 4 | import { environment } from '../../../environments/environment'; 5 | import { ToastService } from '../../services/toast/toast.service'; 6 | 7 | @Injectable() 8 | export class AppErrorHandler extends ErrorHandler { 9 | constructor(private toastService: ToastService) { 10 | super(); 11 | } 12 | 13 | handleError(error: Error | HttpErrorResponse) { 14 | let displayMessage = 'An error occurred.'; 15 | 16 | if (!environment.production) { 17 | displayMessage += ' See console for details.'; 18 | this.toastService.error(displayMessage); 19 | } 20 | 21 | super.handleError(error); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/app/core/router/custom-router-serializer.ts: -------------------------------------------------------------------------------- 1 | import { Params, RouterStateSnapshot } from '@angular/router'; 2 | import { RouterStateSerializer } from '@ngxs/router-plugin'; 3 | 4 | export interface RouterStateParams { 5 | root: { 6 | url: string; 7 | params: Params; 8 | queryParams: Params; 9 | data: any; 10 | }; 11 | } 12 | 13 | export class CustomRouterStateSerializer implements RouterStateSerializer { 14 | serialize(routerState: RouterStateSnapshot): RouterStateParams { 15 | const { 16 | url, 17 | root: { queryParams }, 18 | } = routerState; 19 | 20 | let { root: route } = routerState; 21 | while (route.firstChild) { 22 | route = route.firstChild; 23 | } 24 | 25 | const { params, data } = route; 26 | 27 | return { root: { url, params, queryParams, data } }; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/app/core/store/index.ts: -------------------------------------------------------------------------------- 1 | export { AppStoreModel } from './store.model'; 2 | export { ngxsImports } from './store'; 3 | -------------------------------------------------------------------------------- /src/app/core/urils/common-functions.ts: -------------------------------------------------------------------------------- 1 | export const getLimitItemsHeightPerPage = (itemHeight: number) => Math.round(+document.body.clientHeight / itemHeight); 2 | 3 | export const getSkeletonLimitHeightItems = (itemHeight: number) => 4 | Array.from({ length: getLimitItemsHeightPerPage(itemHeight) }, (_, i) => i + 1); 5 | -------------------------------------------------------------------------------- /src/app/pages/auth/auth-pin/auth-pin-routing.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { Routes, RouterModule } from '@angular/router'; 3 | 4 | import { AuthPinPage } from './auth-pin.page'; 5 | 6 | const routes: Routes = [ 7 | { 8 | path: '', 9 | component: AuthPinPage, 10 | }, 11 | ]; 12 | 13 | @NgModule({ 14 | imports: [RouterModule.forChild(routes)], 15 | exports: [RouterModule], 16 | }) 17 | export class AuthPinPageRoutingModule {} 18 | -------------------------------------------------------------------------------- /src/app/pages/auth/auth-pin/auth-pin.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { CommonModule } from '@angular/common'; 3 | 4 | import { SharedModule } from '../../../shared/shared.module'; 5 | import { AuthPinPageRoutingModule } from './auth-pin-routing.module'; 6 | 7 | import { AuthPinPage } from './auth-pin.page'; 8 | 9 | @NgModule({ 10 | imports: [CommonModule, AuthPinPageRoutingModule, SharedModule], 11 | declarations: [AuthPinPage], 12 | }) 13 | export class AuthPinPageModule {} 14 | -------------------------------------------------------------------------------- /src/app/pages/auth/auth-pin/auth-pin.page.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { AuthPinPage } from './auth-pin.page'; 5 | 6 | describe('AuthPinPage', () => { 7 | let component: AuthPinPage; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [AuthPinPage], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(AuthPinPage); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/auth/auth.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { CommonModule } from '@angular/common'; 3 | 4 | import { SharedModule } from '../../shared/shared.module'; 5 | import { AuthPageRoutingModule } from './auth-routing.module'; 6 | import { AuthPage } from './auth.page'; 7 | 8 | @NgModule({ 9 | imports: [CommonModule, AuthPageRoutingModule, SharedModule], 10 | declarations: [AuthPage], 11 | }) 12 | export class AuthPageModule {} 13 | -------------------------------------------------------------------------------- /src/app/pages/auth/auth.page.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/app/pages/auth/auth.page.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/auth/auth.page.scss -------------------------------------------------------------------------------- /src/app/pages/auth/auth.page.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { AuthPage } from './auth.page'; 5 | 6 | describe('AuthPage', () => { 7 | let component: AuthPage; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [AuthPage], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(AuthPage); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/auth/auth.page.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-auth', 5 | templateUrl: './auth.page.html', 6 | styleUrls: ['./auth.page.scss'], 7 | }) 8 | export class AuthPage implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit(): void {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/auth/forgot/forgot-routing.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { Routes, RouterModule } from '@angular/router'; 3 | import { ForgotPage } from './forgot.page'; 4 | 5 | const routes: Routes = [ 6 | { 7 | path: '', 8 | component: ForgotPage, 9 | }, 10 | ]; 11 | 12 | @NgModule({ 13 | imports: [RouterModule.forChild(routes)], 14 | exports: [RouterModule], 15 | }) 16 | export class ForgotPageRoutingModule {} 17 | -------------------------------------------------------------------------------- /src/app/pages/auth/forgot/forgot.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { CommonModule } from '@angular/common'; 3 | import { FormsModule } from '@angular/forms'; 4 | 5 | import { IonicModule } from '@ionic/angular'; 6 | import { SharedModule } from '../../../shared/shared.module'; 7 | import { ForgotPage } from './forgot.page'; 8 | import { ForgotPageRoutingModule } from './forgot-routing.module'; 9 | 10 | @NgModule({ 11 | imports: [CommonModule, FormsModule, IonicModule, ForgotPageRoutingModule, SharedModule], 12 | declarations: [ForgotPage], 13 | }) 14 | export class ForgotPageModule {} 15 | -------------------------------------------------------------------------------- /src/app/pages/auth/forgot/forgot.page.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | forgot 7 | 8 | Done 9 | 10 | 11 | 12 | 13 | 14 |

Please enter the email that you used to sign in

15 | 16 | 17 | 18 | 19 | 20 |
21 | -------------------------------------------------------------------------------- /src/app/pages/auth/forgot/forgot.page.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/auth/forgot/forgot.page.scss -------------------------------------------------------------------------------- /src/app/pages/auth/forgot/forgot.page.spec.ts: -------------------------------------------------------------------------------- 1 | import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | import { ForgotPage } from './forgot.page'; 4 | 5 | describe('ForgotPage', () => { 6 | let component: ForgotPage; 7 | let fixture: ComponentFixture; 8 | 9 | beforeEach( 10 | waitForAsync(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [ForgotPage], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(ForgotPage); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | }), 20 | ); 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy(); 24 | }); 25 | }); 26 | -------------------------------------------------------------------------------- /src/app/pages/auth/forgot/forgot.page.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | import { FormControl, Validators } from '@angular/forms'; 3 | 4 | @Component({ 5 | selector: 'app-forgot', 6 | templateUrl: './forgot.page.html', 7 | styleUrls: ['./forgot.page.scss'], 8 | }) 9 | export class ForgotPage implements OnInit { 10 | forgot: FormControl; 11 | 12 | constructor() {} 13 | 14 | done() { 15 | if (this.forgot.valid) { 16 | console.log(this.forgot.value); 17 | } 18 | } 19 | 20 | ngOnInit() { 21 | this.forgot = new FormControl('', [Validators.required, Validators.email]); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/app/pages/auth/login/login-routing.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { Routes, RouterModule } from '@angular/router'; 3 | import { LoginPage } from './login.page'; 4 | 5 | const routes: Routes = [ 6 | { 7 | path: '', 8 | component: LoginPage, 9 | }, 10 | ]; 11 | 12 | @NgModule({ 13 | imports: [RouterModule.forChild(routes)], 14 | exports: [RouterModule], 15 | }) 16 | export class LoginPageRoutingModule {} 17 | -------------------------------------------------------------------------------- /src/app/pages/auth/login/login.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { CommonModule } from '@angular/common'; 3 | import { FormsModule } from '@angular/forms'; 4 | 5 | import { IonicModule } from '@ionic/angular'; 6 | import { SharedModule } from '../../../shared/shared.module'; 7 | import { LoginPage } from './login.page'; 8 | import { LoginPageRoutingModule } from './login-routing.module'; 9 | 10 | @NgModule({ 11 | imports: [CommonModule, FormsModule, IonicModule, LoginPageRoutingModule, SharedModule], 12 | declarations: [LoginPage], 13 | }) 14 | export class LoginPageModule {} 15 | -------------------------------------------------------------------------------- /src/app/pages/auth/login/login.page.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/auth/login/login.page.scss -------------------------------------------------------------------------------- /src/app/pages/auth/login/login.page.spec.ts: -------------------------------------------------------------------------------- 1 | import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | import { LoginPage } from './login.page'; 4 | 5 | describe('LoginPage', () => { 6 | let component: LoginPage; 7 | let fixture: ComponentFixture; 8 | 9 | beforeEach( 10 | waitForAsync(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [LoginPage], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(LoginPage); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | }), 20 | ); 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy(); 24 | }); 25 | }); 26 | -------------------------------------------------------------------------------- /src/app/pages/auth/register/register-routing.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { Routes, RouterModule } from '@angular/router'; 3 | import { RegisterPage } from './register.page'; 4 | 5 | const routes: Routes = [ 6 | { 7 | path: '', 8 | component: RegisterPage, 9 | }, 10 | ]; 11 | 12 | @NgModule({ 13 | imports: [RouterModule.forChild(routes)], 14 | exports: [RouterModule], 15 | }) 16 | export class RegisterPageRoutingModule {} 17 | -------------------------------------------------------------------------------- /src/app/pages/auth/register/register.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { CommonModule } from '@angular/common'; 3 | import { FormsModule } from '@angular/forms'; 4 | 5 | import { IonicModule } from '@ionic/angular'; 6 | import { SharedModule } from '../../../shared/shared.module'; 7 | import { RegisterPage } from './register.page'; 8 | import { RegisterPageRoutingModule } from './register-routing.module'; 9 | 10 | @NgModule({ 11 | imports: [CommonModule, FormsModule, IonicModule, RegisterPageRoutingModule, SharedModule], 12 | declarations: [RegisterPage], 13 | }) 14 | export class RegisterPageModule {} 15 | -------------------------------------------------------------------------------- /src/app/pages/auth/register/register.page.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/auth/register/register.page.scss -------------------------------------------------------------------------------- /src/app/pages/auth/register/register.page.spec.ts: -------------------------------------------------------------------------------- 1 | import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | import { RegisterPage } from './register.page'; 4 | 5 | describe('RegisterPage', () => { 6 | let component: RegisterPage; 7 | let fixture: ComponentFixture; 8 | 9 | beforeEach( 10 | waitForAsync(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [RegisterPage], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(RegisterPage); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | }), 20 | ); 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy(); 24 | }); 25 | }); 26 | -------------------------------------------------------------------------------- /src/app/pages/auth/reset/reset-routing.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { Routes, RouterModule } from '@angular/router'; 3 | import { ResetPage } from './reset.page'; 4 | 5 | const routes: Routes = [ 6 | { 7 | path: '', 8 | component: ResetPage, 9 | }, 10 | ]; 11 | 12 | @NgModule({ 13 | imports: [RouterModule.forChild(routes)], 14 | exports: [RouterModule], 15 | }) 16 | export class ResetPageRoutingModule {} 17 | -------------------------------------------------------------------------------- /src/app/pages/auth/reset/reset.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { CommonModule } from '@angular/common'; 3 | import { FormsModule } from '@angular/forms'; 4 | 5 | import { IonicModule } from '@ionic/angular'; 6 | import { ResetPage } from './reset.page'; 7 | import { ResetPageRoutingModule } from './reset-routing.module'; 8 | 9 | @NgModule({ 10 | imports: [CommonModule, FormsModule, IonicModule, ResetPageRoutingModule], 11 | declarations: [ResetPage], 12 | }) 13 | export class ResetPageModule {} 14 | -------------------------------------------------------------------------------- /src/app/pages/auth/reset/reset.page.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | reset 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/app/pages/auth/reset/reset.page.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/auth/reset/reset.page.scss -------------------------------------------------------------------------------- /src/app/pages/auth/reset/reset.page.spec.ts: -------------------------------------------------------------------------------- 1 | import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | import { ResetPage } from './reset.page'; 4 | 5 | describe('ResetPage', () => { 6 | let component: ResetPage; 7 | let fixture: ComponentFixture; 8 | 9 | beforeEach( 10 | waitForAsync(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [ResetPage], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(ResetPage); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | }), 20 | ); 21 | 22 | it('should create', () => { 23 | expect(component).toBeTruthy(); 24 | }); 25 | }); 26 | -------------------------------------------------------------------------------- /src/app/pages/auth/reset/reset.page.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-reset', 5 | templateUrl: './reset.page.html', 6 | styleUrls: ['./reset.page.scss'], 7 | }) 8 | export class ResetPage implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/message-detail/components/footer/footer.component.scss: -------------------------------------------------------------------------------- 1 | .message-textarea { 2 | max-height: 100px; 3 | border-radius: 20px; 4 | margin-top: 4px; 5 | margin-bottom: 4px; 6 | --background: var(--ion-color-light); 7 | --padding-top: 10px; 8 | --padding-end: 10px; 9 | --padding-bottom: 10px; 10 | --padding-start: 10px; 11 | } 12 | -------------------------------------------------------------------------------- /src/app/pages/message-detail/components/message-divider/message-divider.component.html: -------------------------------------------------------------------------------- 1 | 2 | {{ createdAt | amFromUtc | amCalendar: amCalendarGroup }} 3 | 4 | -------------------------------------------------------------------------------- /src/app/pages/message-detail/components/message-divider/message-divider.component.scss: -------------------------------------------------------------------------------- 1 | .message-divider { 2 | position: relative; 3 | --background: transparent; 4 | z-index: 4; 5 | margin: auto; 6 | border-bottom: 0px; 7 | 8 | // remove paddings 9 | --padding-end: 0px; 10 | --padding-start: 0px; 11 | --inner-padding-end: 0px; 12 | --ion-safe-area-left: 0px; 13 | --ion-safe-area-right: 0px; 14 | 15 | // on scrolling set sticky divider 16 | &.scrolling { 17 | position: sticky; 18 | top: 10px; 19 | } 20 | 21 | // center divider text 22 | ion-label { 23 | font-size: 12px; 24 | font-weight: 500; 25 | text-align: center; 26 | margin: 8px auto 0px auto; 27 | padding: 8px 16px 8px 16px; 28 | border-radius: 20px; 29 | background: var(--ion-background-color, #fff); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/app/pages/message-detail/components/message-divider/message-divider.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, Input, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-message-divider', 5 | templateUrl: './message-divider.component.html', 6 | styleUrls: ['./message-divider.component.scss'], 7 | }) 8 | export class MessageDividerComponent implements OnInit { 9 | @Input() isPageScrolling = false; 10 | @Input() createdAt: string; 11 | 12 | amCalendarGroup = { 13 | sameDay: '[Today]', 14 | lastDay: '[Yesterday]', 15 | lastWeek: '[Last] dddd', 16 | sameElse: 'DD-MM-YYYY', 17 | }; 18 | constructor() {} 19 | 20 | ngOnInit() {} 21 | } 22 | -------------------------------------------------------------------------------- /src/app/pages/message-detail/components/my-message/my-message.component.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | {{ createdAt | amDateFormat: 'hh:mm' }} 5 |
6 |
7 | -------------------------------------------------------------------------------- /src/app/pages/message-detail/components/my-message/my-message.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, Input, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-my-message', 5 | templateUrl: './my-message.component.html', 6 | styleUrls: ['./my-message.component.scss'], 7 | }) 8 | export class MyMessageComponent implements OnInit { 9 | @Input() message: string; 10 | @Input() createdAt: string; 11 | 12 | constructor() {} 13 | 14 | ngOnInit() {} 15 | } 16 | -------------------------------------------------------------------------------- /src/app/pages/message-detail/components/user-message/user-message.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |
6 | 7 | {{ createdAt | amDateFormat: 'hh:mm' }} 8 |
9 |
10 | -------------------------------------------------------------------------------- /src/app/pages/message-detail/components/user-message/user-message.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, Input, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-user-message', 5 | templateUrl: './user-message.component.html', 6 | styleUrls: ['./user-message.component.scss'], 7 | }) 8 | export class UserMessageComponent implements OnInit { 9 | @Input() isLastMessage: boolean; 10 | @Input() isLastUserMessage: boolean; 11 | @Input() userAvatar: string; 12 | @Input() message: string; 13 | @Input() createdAt: string; 14 | 15 | constructor() {} 16 | 17 | ngOnInit() {} 18 | } 19 | -------------------------------------------------------------------------------- /src/app/pages/message-detail/message-detail-routing.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { RouterModule, Routes } from '@angular/router'; 3 | import { MessageDetailPage } from './message-detail.page'; 4 | 5 | const routes: Routes = [ 6 | { 7 | path: '', 8 | component: MessageDetailPage, 9 | }, 10 | ]; 11 | 12 | @NgModule({ 13 | imports: [RouterModule.forChild(routes)], 14 | exports: [RouterModule], 15 | }) 16 | export class MessageDetailPageRoutingModule {} 17 | -------------------------------------------------------------------------------- /src/app/pages/message-detail/message-detail.constant.ts: -------------------------------------------------------------------------------- 1 | import { environment } from '../../../environments/environment'; 2 | 3 | export const apiGetMessageDetail = (messageId: string) => 4 | `${environment.api}/${environment.apiVersion}/messages/${messageId}`; 5 | -------------------------------------------------------------------------------- /src/app/pages/message-detail/message-detail.model.ts: -------------------------------------------------------------------------------- 1 | import { AppStoreLoadingStatesModel } from '../../core/store/store.model'; 2 | import { MessageModel } from '../../tabs/messages/messages.model'; 3 | 4 | export interface MessageDetailPageStateModel extends AppStoreLoadingStatesModel { 5 | listData: { 6 | [propName: string]: MessageModel; 7 | }; 8 | } 9 | 10 | export interface MessagesGroupedItems { 11 | id: string; 12 | type: string; 13 | message: string; 14 | createdAt: string; 15 | } 16 | 17 | export interface MessagesGrouped { 18 | createdAt: string; 19 | data: MessagesGroupedItems[]; 20 | } 21 | -------------------------------------------------------------------------------- /src/app/pages/settings/about/about-routing.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { Routes, RouterModule } from '@angular/router'; 3 | 4 | import { AboutPage } from './about.page'; 5 | 6 | const routes: Routes = [ 7 | { 8 | path: '', 9 | component: AboutPage, 10 | }, 11 | ]; 12 | 13 | @NgModule({ 14 | imports: [RouterModule.forChild(routes)], 15 | exports: [RouterModule], 16 | }) 17 | export class AboutPageRoutingModule {} 18 | -------------------------------------------------------------------------------- /src/app/pages/settings/about/about.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { CommonModule } from '@angular/common'; 3 | 4 | import { SharedModule } from '../../../shared/shared.module'; 5 | import { AboutPageRoutingModule } from './about-routing.module'; 6 | 7 | import { AboutPage } from './about.page'; 8 | 9 | @NgModule({ 10 | imports: [CommonModule, AboutPageRoutingModule, SharedModule], 11 | declarations: [AboutPage], 12 | }) 13 | export class AboutPageModule {} 14 | -------------------------------------------------------------------------------- /src/app/pages/settings/about/about.page.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | {{'aboutTitle' | translate}} 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | Version 6.6 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /src/app/pages/settings/about/about.page.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/about/about.page.scss -------------------------------------------------------------------------------- /src/app/pages/settings/about/about.page.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { AboutPage } from './about.page'; 5 | 6 | describe('AboutPage', () => { 7 | let component: AboutPage; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [AboutPage], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(AboutPage); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/about/about.page.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-about', 5 | templateUrl: './about.page.html', 6 | styleUrls: ['./about.page.scss'], 7 | }) 8 | export class AboutPage implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/account/account-routing.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { Routes, RouterModule } from '@angular/router'; 3 | 4 | import { AccountPage } from './account.page'; 5 | 6 | const routes: Routes = [ 7 | { 8 | path: '', 9 | component: AccountPage, 10 | }, 11 | ]; 12 | 13 | @NgModule({ 14 | imports: [RouterModule.forChild(routes)], 15 | exports: [RouterModule], 16 | }) 17 | export class AccountPageRoutingModule {} 18 | -------------------------------------------------------------------------------- /src/app/pages/settings/account/account.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { CommonModule } from '@angular/common'; 3 | 4 | import { SharedModule } from '../../../shared/shared.module'; 5 | import { AccountPageRoutingModule } from './account-routing.module'; 6 | 7 | import { AccountPage } from './account.page'; 8 | 9 | @NgModule({ 10 | imports: [CommonModule, AccountPageRoutingModule, SharedModule], 11 | declarations: [AccountPage], 12 | }) 13 | export class AccountPageModule {} 14 | -------------------------------------------------------------------------------- /src/app/pages/settings/account/account.page.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/account/account.page.scss -------------------------------------------------------------------------------- /src/app/pages/settings/account/account.page.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { AccountPage } from './account.page'; 5 | 6 | describe('AccountPage', () => { 7 | let component: AccountPage; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [AccountPage], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(AccountPage); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/account/account.page.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-account', 5 | templateUrl: './account.page.html', 6 | styleUrls: ['./account.page.scss'], 7 | }) 8 | export class AccountPage implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/appearance/appearance-routing.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { Routes, RouterModule } from '@angular/router'; 3 | 4 | import { AppearancePage } from './appearance.page'; 5 | 6 | const routes: Routes = [ 7 | { 8 | path: '', 9 | component: AppearancePage, 10 | }, 11 | ]; 12 | 13 | @NgModule({ 14 | imports: [RouterModule.forChild(routes)], 15 | exports: [RouterModule], 16 | }) 17 | export class AppearancePageRoutingModule {} 18 | -------------------------------------------------------------------------------- /src/app/pages/settings/appearance/appearance.model.ts: -------------------------------------------------------------------------------- 1 | export interface AppearancePageModel { 2 | appearance: { 3 | isDarkMode: boolean; 4 | }; 5 | } 6 | -------------------------------------------------------------------------------- /src/app/pages/settings/appearance/appearance.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { CommonModule } from '@angular/common'; 3 | 4 | import { SharedModule } from '../../../shared/shared.module'; 5 | import { AppearancePageRoutingModule } from './appearance-routing.module'; 6 | 7 | import { AppearancePage } from './appearance.page'; 8 | 9 | @NgModule({ 10 | imports: [CommonModule, AppearancePageRoutingModule, SharedModule], 11 | declarations: [AppearancePage], 12 | }) 13 | export class AppearancePageModule {} 14 | -------------------------------------------------------------------------------- /src/app/pages/settings/appearance/appearance.page.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/appearance/appearance.page.scss -------------------------------------------------------------------------------- /src/app/pages/settings/appearance/appearance.page.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { AppearancePage } from './appearance.page'; 5 | 6 | describe('AppearancePage', () => { 7 | let component: AppearancePage; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [AppearancePage], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(AppearancePage); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/balance/balance-routing.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { Routes, RouterModule } from '@angular/router'; 3 | 4 | import { BalancePage } from './balance.page'; 5 | 6 | const routes: Routes = [ 7 | { 8 | path: '', 9 | component: BalancePage, 10 | }, 11 | ]; 12 | 13 | @NgModule({ 14 | imports: [RouterModule.forChild(routes)], 15 | exports: [RouterModule], 16 | }) 17 | export class BalancePageRoutingModule {} 18 | -------------------------------------------------------------------------------- /src/app/pages/settings/balance/balance.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { CommonModule } from '@angular/common'; 3 | 4 | import { SharedModule } from '../../../shared/shared.module'; 5 | import { BalancePageRoutingModule } from './balance-routing.module'; 6 | 7 | import { BalancePage } from './balance.page'; 8 | 9 | @NgModule({ 10 | imports: [CommonModule, BalancePageRoutingModule, SharedModule], 11 | declarations: [BalancePage], 12 | }) 13 | export class BalancePageModule {} 14 | -------------------------------------------------------------------------------- /src/app/pages/settings/balance/balance.page.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | {{'balanceTitle' | translate}} 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/app/pages/settings/balance/balance.page.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/balance/balance.page.scss -------------------------------------------------------------------------------- /src/app/pages/settings/balance/balance.page.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { BalancePage } from './balance.page'; 5 | 6 | describe('BalancePage', () => { 7 | let component: BalancePage; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [BalancePage], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(BalancePage); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/balance/balance.page.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-balance', 5 | templateUrl: './balance.page.html', 6 | styleUrls: ['./balance.page.scss'], 7 | }) 8 | export class BalancePage implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/blocked/blocked-routing.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { Routes, RouterModule } from '@angular/router'; 3 | 4 | import { BlockedPage } from './blocked.page'; 5 | 6 | const routes: Routes = [ 7 | { 8 | path: '', 9 | component: BlockedPage, 10 | }, 11 | ]; 12 | 13 | @NgModule({ 14 | imports: [RouterModule.forChild(routes)], 15 | exports: [RouterModule], 16 | }) 17 | export class BlockedPageRoutingModule {} 18 | -------------------------------------------------------------------------------- /src/app/pages/settings/blocked/blocked.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { CommonModule } from '@angular/common'; 3 | 4 | import { SharedModule } from '../../../shared/shared.module'; 5 | import { BlockedPageRoutingModule } from './blocked-routing.module'; 6 | 7 | import { BlockedPage } from './blocked.page'; 8 | 9 | @NgModule({ 10 | imports: [CommonModule, BlockedPageRoutingModule, SharedModule], 11 | declarations: [BlockedPage], 12 | }) 13 | export class BlockedPageModule {} 14 | -------------------------------------------------------------------------------- /src/app/pages/settings/blocked/blocked.page.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | {{'blockedTitle' | translate}} 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/app/pages/settings/blocked/blocked.page.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/blocked/blocked.page.scss -------------------------------------------------------------------------------- /src/app/pages/settings/blocked/blocked.page.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { BlockedPage } from './blocked.page'; 5 | 6 | describe('BlockedPage', () => { 7 | let component: BlockedPage; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [BlockedPage], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(BlockedPage); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/blocked/blocked.page.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-blocked', 5 | templateUrl: './blocked.page.html', 6 | styleUrls: ['./blocked.page.scss'], 7 | }) 8 | export class BlockedPage implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/general/general-routing.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { Routes, RouterModule } from '@angular/router'; 3 | 4 | import { GeneralPage } from './general.page'; 5 | 6 | const routes: Routes = [ 7 | { 8 | path: '', 9 | component: GeneralPage, 10 | }, 11 | ]; 12 | 13 | @NgModule({ 14 | imports: [RouterModule.forChild(routes)], 15 | exports: [RouterModule], 16 | }) 17 | export class GeneralPageRoutingModule {} 18 | -------------------------------------------------------------------------------- /src/app/pages/settings/general/general.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { CommonModule } from '@angular/common'; 3 | 4 | import { SharedModule } from '../../../shared/shared.module'; 5 | import { GeneralPageRoutingModule } from './general-routing.module'; 6 | 7 | import { GeneralPage } from './general.page'; 8 | 9 | @NgModule({ 10 | imports: [CommonModule, GeneralPageRoutingModule, SharedModule], 11 | declarations: [GeneralPage], 12 | }) 13 | export class GeneralPageModule {} 14 | -------------------------------------------------------------------------------- /src/app/pages/settings/general/general.page.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/general/general.page.scss -------------------------------------------------------------------------------- /src/app/pages/settings/general/general.page.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { GeneralPage } from './general.page'; 5 | 6 | describe('GeneralPage', () => { 7 | let component: GeneralPage; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [GeneralPage], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(GeneralPage); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/general/general.page.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-general', 5 | templateUrl: './general.page.html', 6 | styleUrls: ['./general.page.scss'], 7 | }) 8 | export class GeneralPage implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/events/birthdays/birthdays.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{ 'notifications.birthdays' | translate }} 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/events/birthdays/birthdays.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/notifications/events/birthdays/birthdays.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/events/birthdays/birthdays.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { BirthdaysComponent } from './birthdays.component'; 5 | 6 | describe('BirthdaysComponent', () => { 7 | let component: BirthdaysComponent; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [BirthdaysComponent], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(BirthdaysComponent); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/events/birthdays/birthdays.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-birthdays', 5 | templateUrl: './birthdays.component.html', 6 | styleUrls: ['./birthdays.component.scss'], 7 | }) 8 | export class BirthdaysComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/events/community-invitations/community-invitations.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{ 'notifications.community_invitations' | translate }} 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/events/community-invitations/community-invitations.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/notifications/events/community-invitations/community-invitations.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/events/community-invitations/community-invitations.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-community-invitations', 5 | templateUrl: './community-invitations.component.html', 6 | styleUrls: ['./community-invitations.component.scss'], 7 | }) 8 | export class CommunityInvitationsComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/events/friend-requests/friend-requests.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{ 'notifications.friend_requests' | translate }} 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/events/friend-requests/friend-requests.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/notifications/events/friend-requests/friend-requests.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/events/friend-requests/friend-requests.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-friend-requests', 5 | templateUrl: './friend-requests.component.html', 6 | styleUrls: ['./friend-requests.component.scss'], 7 | }) 8 | export class FriendRequestsComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/events/interesting-posts/interesting-posts.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{ 'notifications.interesting_posts' | translate }} 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/events/interesting-posts/interesting-posts.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/notifications/events/interesting-posts/interesting-posts.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/events/interesting-posts/interesting-posts.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-interesting-posts', 5 | templateUrl: './interesting-posts.component.html', 6 | styleUrls: ['./interesting-posts.component.scss'], 7 | }) 8 | export class InterestingPostsComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/events/people-you-may-know/people-you-may-know.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{ 'notifications.people_you_may_know' | translate }} 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/events/people-you-may-know/people-you-may-know.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/notifications/events/people-you-may-know/people-you-may-know.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/events/people-you-may-know/people-you-may-know.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-people-you-may-know', 5 | templateUrl: './people-you-may-know.component.html', 6 | styleUrls: ['./people-you-may-know.component.scss'], 7 | }) 8 | export class PeopleYouMayKnowComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/events/photo-tags/photo-tags.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{ 'notifications.photo_tags' | translate }} 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/events/photo-tags/photo-tags.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/notifications/events/photo-tags/photo-tags.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/events/photo-tags/photo-tags.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { PhotoTagsComponent } from './photo-tags.component'; 5 | 6 | describe('PhotoTagsComponent', () => { 7 | let component: PhotoTagsComponent; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [PhotoTagsComponent], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(PhotoTagsComponent); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/events/photo-tags/photo-tags.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-photo-tags', 5 | templateUrl: './photo-tags.component.html', 6 | styleUrls: ['./photo-tags.component.scss'], 7 | }) 8 | export class PhotoTagsComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/events/upcoming-events/upcoming-events.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{ 'notifications.upcoming_events' | translate }} 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/events/upcoming-events/upcoming-events.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/notifications/events/upcoming-events/upcoming-events.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/events/upcoming-events/upcoming-events.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-upcoming-events', 5 | templateUrl: './upcoming-events.component.html', 6 | styleUrls: ['./upcoming-events.component.scss'], 7 | }) 8 | export class UpcomingEventsComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/also-commented/also-commented.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{ 'notifications.also_commented' | translate }} 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/also-commented/also-commented.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/notifications/feedback/also-commented/also-commented.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/also-commented/also-commented.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-also-commented', 5 | templateUrl: './also-commented.component.html', 6 | styleUrls: ['./also-commented.component.scss'], 7 | }) 8 | export class AlsoCommentedComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/comments/comments.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{ 'notifications.comments' | translate }} 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/comments/comments.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/notifications/feedback/comments/comments.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/comments/comments.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { CommentsComponent } from './comments.component'; 5 | 6 | describe('CommentsComponent', () => { 7 | let component: CommentsComponent; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [CommentsComponent], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(CommentsComponent); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/comments/comments.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-comments', 5 | templateUrl: './comments.component.html', 6 | styleUrls: ['./comments.component.scss'], 7 | }) 8 | export class CommentsComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/likes/likes.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{ 'notifications.likes' | translate }} 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/likes/likes.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/notifications/feedback/likes/likes.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/likes/likes.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { LikesComponent } from './likes.component'; 5 | 6 | describe('LikesComponent', () => { 7 | let component: LikesComponent; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [LikesComponent], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(LikesComponent); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/likes/likes.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-likes', 5 | templateUrl: './likes.component.html', 6 | styleUrls: ['./likes.component.scss'], 7 | }) 8 | export class LikesComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/mentions-messages/mentions-messages.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{ 'notifications.mentions_messages' | translate }} 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/mentions-messages/mentions-messages.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/notifications/feedback/mentions-messages/mentions-messages.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/mentions-messages/mentions-messages.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-mentions-messages', 5 | templateUrl: './mentions-messages.component.html', 6 | styleUrls: ['./mentions-messages.component.scss'], 7 | }) 8 | export class MentionsMessagesComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/mentions/mentions.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{ 'notifications.mentions' | translate }} 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/mentions/mentions.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/notifications/feedback/mentions/mentions.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/mentions/mentions.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { MentionsComponent } from './mentions.component'; 5 | 6 | describe('MentionsComponent', () => { 7 | let component: MentionsComponent; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [MentionsComponent], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(MentionsComponent); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/mentions/mentions.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-mentions', 5 | templateUrl: './mentions.component.html', 6 | styleUrls: ['./mentions.component.scss'], 7 | }) 8 | export class MentionsComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/participation-polls/participation-polls.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{ 'notifications.participation_polls' | translate }} 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/participation-polls/participation-polls.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/notifications/feedback/participation-polls/participation-polls.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/participation-polls/participation-polls.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-participation-polls', 5 | templateUrl: './participation-polls.component.html', 6 | styleUrls: ['./participation-polls.component.scss'], 7 | }) 8 | export class ParticipationPollsComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/posts/posts.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{ 'notifications.posts' | translate }} 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/posts/posts.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/notifications/feedback/posts/posts.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/posts/posts.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { PostsComponent } from './posts.component'; 5 | 6 | describe('PostsComponent', () => { 7 | let component: PostsComponent; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [PostsComponent], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(PostsComponent); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/posts/posts.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-posts', 5 | templateUrl: './posts.component.html', 6 | styleUrls: ['./posts.component.scss'], 7 | }) 8 | export class PostsComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/related-you/related-you.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{ 'notifications.related_you' | translate }} 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/related-you/related-you.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/notifications/feedback/related-you/related-you.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/related-you/related-you.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { RelatedYouComponent } from './related-you.component'; 5 | 6 | describe('RelatedYouComponent', () => { 7 | let component: RelatedYouComponent; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [RelatedYouComponent], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(RelatedYouComponent); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/related-you/related-you.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-related-you', 5 | templateUrl: './related-you.component.html', 6 | styleUrls: ['./related-you.component.scss'], 7 | }) 8 | export class RelatedYouComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/shared/shared.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{ 'notifications.shared' | translate }} 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/shared/shared.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/notifications/feedback/shared/shared.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/shared/shared.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { SharedComponent } from './shared.component'; 5 | 6 | describe('SharedComponent', () => { 7 | let component: SharedComponent; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [SharedComponent], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(SharedComponent); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/shared/shared.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-shared', 5 | templateUrl: './shared.component.html', 6 | styleUrls: ['./shared.component.scss'], 7 | }) 8 | export class SharedComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/story-feedback/story-feedback.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{ 'notifications.story_feedback' | translate }} 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/story-feedback/story-feedback.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/notifications/feedback/story-feedback/story-feedback.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/story-feedback/story-feedback.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-story-feedback', 5 | templateUrl: './story-feedback.component.html', 6 | styleUrls: ['./story-feedback.component.scss'], 7 | }) 8 | export class StoryFeedbackComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/story-replies/story-replies.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{ 'notifications.story_replies' | translate }} 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/story-replies/story-replies.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/notifications/feedback/story-replies/story-replies.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/feedback/story-replies/story-replies.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-story-replies', 5 | templateUrl: './story-replies.component.html', 6 | styleUrls: ['./story-replies.component.scss'], 7 | }) 8 | export class StoryRepliesComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/messages/community-messages/community-messages.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{ 'notifications.community_messages' | translate }} 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/messages/community-messages/community-messages.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/notifications/messages/community-messages/community-messages.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/messages/community-messages/community-messages.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-community-messages', 5 | templateUrl: './community-messages.component.html', 6 | styleUrls: ['./community-messages.component.scss'], 7 | }) 8 | export class CommunityMessagesComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/messages/group-chats/group-chats.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{ 'notifications.group_chats' | translate }} 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/messages/group-chats/group-chats.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/notifications/messages/group-chats/group-chats.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/messages/group-chats/group-chats.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { GroupChatsComponent } from './group-chats.component'; 5 | 6 | describe('GroupChatsComponent', () => { 7 | let component: GroupChatsComponent; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [GroupChatsComponent], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(GroupChatsComponent); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/messages/group-chats/group-chats.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-group-chats', 5 | templateUrl: './group-chats.component.html', 6 | styleUrls: ['./group-chats.component.scss'], 7 | }) 8 | export class GroupChatsComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/messages/private-messages/private-messages.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{ 'notifications.private_messages' | translate }} 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/messages/private-messages/private-messages.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/notifications/messages/private-messages/private-messages.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/messages/private-messages/private-messages.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-private-messages', 5 | templateUrl: './private-messages.component.html', 6 | styleUrls: ['./private-messages.component.scss'], 7 | }) 8 | export class PrivateMessagesComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/notifications.page.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/notifications/notifications.page.scss -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/notifications.page.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { NotificationsPage } from './notifications.page'; 5 | 6 | describe('NotificationsPage', () => { 7 | let component: NotificationsPage; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [NotificationsPage], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(NotificationsPage); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/other/achievements/achievements.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{ 'notifications.achievements' | translate }} 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/other/achievements/achievements.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/notifications/other/achievements/achievements.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/other/achievements/achievements.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-achievements', 5 | templateUrl: './achievements.component.html', 6 | styleUrls: ['./achievements.component.scss'], 7 | }) 8 | export class AchievementsComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/other/aplications/aplications.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{ 'notifications.aplications' | translate }} 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/other/aplications/aplications.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/notifications/other/aplications/aplications.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/other/aplications/aplications.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-aplications', 5 | templateUrl: './aplications.component.html', 6 | styleUrls: ['./aplications.component.scss'], 7 | }) 8 | export class AplicationsComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/other/bookmarks/bookmarks.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{ 'notifications.bookmarks' | translate }} 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/other/bookmarks/bookmarks.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/notifications/other/bookmarks/bookmarks.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/other/bookmarks/bookmarks.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { BookmarksComponent } from './bookmarks.component'; 5 | 6 | describe('BookmarksComponent', () => { 7 | let component: BookmarksComponent; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [BookmarksComponent], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(BookmarksComponent); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/other/bookmarks/bookmarks.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-bookmarks', 5 | templateUrl: './bookmarks.component.html', 6 | styleUrls: ['./bookmarks.component.scss'], 7 | }) 8 | export class BookmarksComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/other/closed-community-posts/closed-community-posts.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{ 'notifications.closed_community_posts' | translate }} 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/other/closed-community-posts/closed-community-posts.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/notifications/other/closed-community-posts/closed-community-posts.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/other/closed-community-posts/closed-community-posts.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-closed-community-posts', 5 | templateUrl: './closed-community-posts.component.html', 6 | styleUrls: ['./closed-community-posts.component.scss'], 7 | }) 8 | export class ClosedCommunityPostsComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/other/gifts/gifts.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{ 'notifications.gifts' | translate }} 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/other/gifts/gifts.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/notifications/other/gifts/gifts.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/other/gifts/gifts.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { GiftsComponent } from './gifts.component'; 5 | 6 | describe('GiftsComponent', () => { 7 | let component: GiftsComponent; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [GiftsComponent], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(GiftsComponent); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/other/gifts/gifts.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-gifts', 5 | templateUrl: './gifts.component.html', 6 | styleUrls: ['./gifts.component.scss'], 7 | }) 8 | export class GiftsComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/other/live-streams/live-streams.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{ 'notifications.live_streams' | translate }} 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/other/live-streams/live-streams.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/notifications/other/live-streams/live-streams.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/other/live-streams/live-streams.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-live-streams', 5 | templateUrl: './live-streams.component.html', 6 | styleUrls: ['./live-streams.component.scss'], 7 | }) 8 | export class LiveStreamsComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/other/new-post/new-post.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{ 'notifications.new_post' | translate }} 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/other/new-post/new-post.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/notifications/other/new-post/new-post.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/other/new-post/new-post.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { NewPostComponent } from './new-post.component'; 5 | 6 | describe('NewPostComponent', () => { 7 | let component: NewPostComponent; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [NewPostComponent], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(NewPostComponent); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/other/new-post/new-post.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-new-post', 5 | templateUrl: './new-post.component.html', 6 | styleUrls: ['./new-post.component.scss'], 7 | }) 8 | export class NewPostComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/other/podcasts/podcasts.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{ 'notifications.podcasts' | translate }} 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/other/podcasts/podcasts.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/notifications/other/podcasts/podcasts.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/other/podcasts/podcasts.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { PodcastsComponent } from './podcasts.component'; 5 | 6 | describe('PodcastsComponent', () => { 7 | let component: PodcastsComponent; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [PodcastsComponent], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(PodcastsComponent); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/other/podcasts/podcasts.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-podcasts', 5 | templateUrl: './podcasts.component.html', 6 | styleUrls: ['./podcasts.component.scss'], 7 | }) 8 | export class PodcastsComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/other/services/services.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{ 'notifications.services' | translate }} 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/other/services/services.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/notifications/other/services/services.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/other/services/services.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { ServicesComponent } from './services.component'; 5 | 6 | describe('ServicesComponent', () => { 7 | let component: ServicesComponent; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [ServicesComponent], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(ServicesComponent); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/other/services/services.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-services', 5 | templateUrl: './services.component.html', 6 | styleUrls: ['./services.component.scss'], 7 | }) 8 | export class ServicesComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/other/store/store.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{ 'notifications.store' | translate }} 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/other/store/store.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/notifications/other/store/store.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/other/store/store.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { StoreComponent } from './store.component'; 5 | 6 | describe('StoreComponent', () => { 7 | let component: StoreComponent; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [StoreComponent], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(StoreComponent); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/other/store/store.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-store', 5 | templateUrl: './store.component.html', 6 | styleUrls: ['./store.component.scss'], 7 | }) 8 | export class StoreComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/sources/communities-notifications/communities-notifications.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | {{ 'notifications.communities_notifications' | translate }} 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/sources/communities-notifications/communities-notifications.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/notifications/sources/communities-notifications/communities-notifications.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/notifications/sources/communities-notifications/communities-notifications.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-communities-notifications', 5 | templateUrl: './communities-notifications.component.html', 6 | styleUrls: ['./communities-notifications.component.scss'], 7 | }) 8 | export class CommunitiesNotificationsComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/can-contact/apps-invite/apps-invite.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 11 | 12 | 13 |

14 | {{ 'settings_privacy.apps_invite' | translate }} 15 |

16 |
17 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/can-contact/apps-invite/apps-invite.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/privacy/can-contact/apps-invite/apps-invite.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/can-contact/apps-invite/apps-invite.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-apps-invite', 5 | templateUrl: './apps-invite.component.html', 6 | styleUrls: ['./apps-invite.component.scss'], 7 | }) 8 | export class AppsInviteComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/can-contact/appscall/appscall.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 11 | 12 | 13 |

14 | {{ 'settings_privacy.appscall' | translate }} 15 |

16 |
17 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/can-contact/appscall/appscall.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/privacy/can-contact/appscall/appscall.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/can-contact/appscall/appscall.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { AppscallComponent } from './appscall.component'; 5 | 6 | describe('AppscallComponent', () => { 7 | let component: AppscallComponent; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [AppscallComponent], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(AppscallComponent); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/can-contact/appscall/appscall.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-appscall', 5 | templateUrl: './appscall.component.html', 6 | styleUrls: ['./appscall.component.scss'], 7 | }) 8 | export class AppscallComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/can-contact/calls/calls.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 11 | 12 | 13 |

14 | {{ 'settings_privacy.call' | translate }} 15 |

16 |
17 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/can-contact/calls/calls.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/privacy/can-contact/calls/calls.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/can-contact/calls/calls.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { CallsComponent } from './calls.component'; 5 | 6 | describe('CallsComponent', () => { 7 | let component: CallsComponent; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [CallsComponent], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(CallsComponent); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/can-contact/calls/calls.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-calls', 5 | templateUrl: './calls.component.html', 6 | styleUrls: ['./calls.component.scss'], 7 | }) 8 | export class CallsComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/can-contact/chat-invite-user/chat-invite-user.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 11 | 12 | 13 |

14 | {{ 'settings_privacy.chat_invite_user' | translate }} 15 |

16 |
17 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/can-contact/chat-invite-user/chat-invite-user.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/privacy/can-contact/chat-invite-user/chat-invite-user.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/can-contact/chat-invite-user/chat-invite-user.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-chat-invite-user', 5 | templateUrl: './chat-invite-user.component.html', 6 | styleUrls: ['./chat-invite-user.component.scss'], 7 | }) 8 | export class ChatInviteUserComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/can-contact/friends-requests/friends-requests.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 11 | 12 | 13 |

14 | {{ 'settings_privacy.friends_requests' | translate }} 15 |

16 |
17 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/can-contact/friends-requests/friends-requests.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/privacy/can-contact/friends-requests/friends-requests.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/can-contact/friends-requests/friends-requests.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-friends-requests', 5 | templateUrl: './friends-requests.component.html', 6 | styleUrls: ['./friends-requests.component.scss'], 7 | }) 8 | export class FriendsRequestsComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/can-contact/groups-invite/groups-invite.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 11 | 12 | 13 |

14 | {{ 'settings_privacy.groups_invite' | translate }} 15 |

16 |
17 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/can-contact/groups-invite/groups-invite.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/privacy/can-contact/groups-invite/groups-invite.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/can-contact/groups-invite/groups-invite.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-groups-invite', 5 | templateUrl: './groups-invite.component.html', 6 | styleUrls: ['./groups-invite.component.scss'], 7 | }) 8 | export class GroupsInviteComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/can-contact/mail-send/mail-send.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 11 | 12 | 13 |

14 | {{ 'settings_privacy.mail_send' | translate }} 15 |

16 |
17 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/can-contact/mail-send/mail-send.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/privacy/can-contact/mail-send/mail-send.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/can-contact/mail-send/mail-send.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { MailSendComponent } from './mail-send.component'; 5 | 6 | describe('MailSendComponent', () => { 7 | let component: MailSendComponent; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [MailSendComponent], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(MailSendComponent); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/can-contact/mail-send/mail-send.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-mail-send', 5 | templateUrl: './mail-send.component.html', 6 | styleUrls: ['./mail-send.component.scss'], 7 | }) 8 | export class MailSendComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/can-contact/search-by-reg-phone/search-by-reg-phone.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 11 | 12 | 13 |

14 | {{ 'settings_privacy.search_by_reg_phone' | translate }} 15 |

16 |
17 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/can-contact/search-by-reg-phone/search-by-reg-phone.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/privacy/can-contact/search-by-reg-phone/search-by-reg-phone.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/can-contact/search-by-reg-phone/search-by-reg-phone.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-search-by-reg-phone', 5 | templateUrl: './search-by-reg-phone.component.html', 6 | styleUrls: ['./search-by-reg-phone.component.scss'], 7 | }) 8 | export class SearchByRegPhoneComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-posts/photos-tagme/photos-tagme.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 11 | 12 | 13 |

{{ 'settings_privacy.photos_tagme' | translate }}

14 |
15 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-posts/photos-tagme/photos-tagme.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/privacy/my-posts/photos-tagme/photos-tagme.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-posts/photos-tagme/photos-tagme.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-photos-tagme', 5 | templateUrl: './photos-tagme.component.html', 6 | styleUrls: ['./photos-tagme.component.scss'], 7 | }) 8 | export class PhotosTagmeComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-posts/replies-view/replies-view.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 11 | 12 | 13 |

{{ 'settings_privacy.replies_view' | translate }}

14 |
15 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-posts/replies-view/replies-view.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/privacy/my-posts/replies-view/replies-view.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-posts/replies-view/replies-view.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-replies-view', 5 | templateUrl: './replies-view.component.html', 6 | styleUrls: ['./replies-view.component.scss'], 7 | }) 8 | export class RepliesViewComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-posts/status-replies/status-replies.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 11 | 12 | 13 |

14 | {{ 'settings_privacy.status_replies' | translate }} 15 |

16 |
17 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-posts/status-replies/status-replies.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/privacy/my-posts/status-replies/status-replies.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-posts/status-replies/status-replies.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-status-replies', 5 | templateUrl: './status-replies.component.html', 6 | styleUrls: ['./status-replies.component.scss'], 7 | }) 8 | export class StatusRepliesComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-posts/wall-send/wall-send.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 11 | 12 | 13 |

14 | {{ 'settings_privacy.wall_send' | translate }} 15 |

16 |
17 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-posts/wall-send/wall-send.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/privacy/my-posts/wall-send/wall-send.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-posts/wall-send/wall-send.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { WallSendComponent } from './wall-send.component'; 5 | 6 | describe('WallSendComponent', () => { 7 | let component: WallSendComponent; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [WallSendComponent], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(WallSendComponent); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-posts/wall-send/wall-send.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-wall-send', 5 | templateUrl: './wall-send.component.html', 6 | styleUrls: ['./wall-send.component.scss'], 7 | }) 8 | export class WallSendComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-posts/wall/wall.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 11 | 12 | 13 |

14 | {{ 'settings_privacy.wall' | translate }} 15 |

16 |
17 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-posts/wall/wall.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/privacy/my-posts/wall/wall.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-posts/wall/wall.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { WallComponent } from './wall.component'; 5 | 6 | describe('WallComponent', () => { 7 | let component: WallComponent; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [WallComponent], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(WallComponent); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-posts/wall/wall.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-wall', 5 | templateUrl: './wall.component.html', 6 | styleUrls: ['./wall.component.scss'], 7 | }) 8 | export class WallComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-profile/audios/audios.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 11 | 12 | 13 |

{{ 'settings_privacy.audios' | translate }}

14 |
15 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-profile/audios/audios.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/privacy/my-profile/audios/audios.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-profile/audios/audios.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { AudiosComponent } from './audios.component'; 5 | 6 | describe('AudiosComponent', () => { 7 | let component: AudiosComponent; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [AudiosComponent], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(AudiosComponent); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-profile/audios/audios.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-audios', 5 | templateUrl: './audios.component.html', 6 | styleUrls: ['./audios.component.scss'], 7 | }) 8 | export class AudiosComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-profile/friends/friends.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 11 | 12 | 13 |

{{ 'settings_privacy.friends' | translate }}

14 |
15 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-profile/friends/friends.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/privacy/my-profile/friends/friends.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-profile/friends/friends.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { FriendsComponent } from './friends.component'; 5 | 6 | describe('FriendsComponent', () => { 7 | let component: FriendsComponent; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [FriendsComponent], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(FriendsComponent); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-profile/friends/friends.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-friends', 5 | templateUrl: './friends.component.html', 6 | styleUrls: ['./friends.component.scss'], 7 | }) 8 | export class FriendsComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-profile/gifts/gifts.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 11 | 12 | 13 |

{{ 'settings_privacy.gifts' | translate }}

14 |
15 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-profile/gifts/gifts.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/privacy/my-profile/gifts/gifts.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-profile/gifts/gifts.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { GiftsComponent } from './gifts.component'; 5 | 6 | describe('GiftsComponent', () => { 7 | let component: GiftsComponent; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [GiftsComponent], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(GiftsComponent); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-profile/gifts/gifts.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-gifts', 5 | templateUrl: './gifts.component.html', 6 | styleUrls: ['./gifts.component.scss'], 7 | }) 8 | export class GiftsComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-profile/groups/groups.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 11 | 12 | 13 |

{{ 'settings_privacy.groups' | translate }}

14 |
15 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-profile/groups/groups.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/privacy/my-profile/groups/groups.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-profile/groups/groups.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { GroupsComponent } from './groups.component'; 5 | 6 | describe('GroupsComponent', () => { 7 | let component: GroupsComponent; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [GroupsComponent], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(GroupsComponent); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-profile/groups/groups.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-groups', 5 | templateUrl: './groups.component.html', 6 | styleUrls: ['./groups.component.scss'], 7 | }) 8 | export class GroupsComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-profile/hidden-friends/hidden-friends.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 11 | 12 | 13 |

14 | {{ 'settings_privacy.hidden_friends' | translate }} 15 |

16 |
17 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-profile/hidden-friends/hidden-friends.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/privacy/my-profile/hidden-friends/hidden-friends.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-profile/hidden-friends/hidden-friends.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-hidden-friends', 5 | templateUrl: './hidden-friends.component.html', 6 | styleUrls: ['./hidden-friends.component.scss'], 7 | }) 8 | export class HiddenFriendsComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-profile/photos-saved/photos-saved.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 11 | 12 | 13 |

{{ 'settings_privacy.photos_saved' | translate }}

14 |
15 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-profile/photos-saved/photos-saved.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/privacy/my-profile/photos-saved/photos-saved.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-profile/photos-saved/photos-saved.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-photos-saved', 5 | templateUrl: './photos-saved.component.html', 6 | styleUrls: ['./photos-saved.component.scss'], 7 | }) 8 | export class PhotosSavedComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-profile/photos-with/photos-with.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 11 | 12 | 13 |

{{ 'settings_privacy.photos_with' | translate }}

14 |
15 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-profile/photos-with/photos-with.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/privacy/my-profile/photos-with/photos-with.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-profile/photos-with/photos-with.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-photos-with', 5 | templateUrl: './photos-with.component.html', 6 | styleUrls: ['./photos-with.component.scss'], 7 | }) 8 | export class PhotosWithComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-profile/places/places.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 11 | 12 | 13 |

{{ 'settings_privacy.places' | translate }}

14 |
15 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-profile/places/places.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/privacy/my-profile/places/places.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-profile/places/places.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { PlacesComponent } from './places.component'; 5 | 6 | describe('PlacesComponent', () => { 7 | let component: PlacesComponent; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [PlacesComponent], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(PlacesComponent); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-profile/places/places.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-places', 5 | templateUrl: './places.component.html', 6 | styleUrls: ['./places.component.scss'], 7 | }) 8 | export class PlacesComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-profile/profile/profile.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 11 | 12 | 13 |

{{ 'settings_privacy.profile' | translate }}

14 |
15 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-profile/profile/profile.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/privacy/my-profile/profile/profile.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-profile/profile/profile.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { ProfileComponent } from './profile.component'; 5 | 6 | describe('ProfileComponent', () => { 7 | let component: ProfileComponent; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [ProfileComponent], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(ProfileComponent); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/my-profile/profile/profile.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-profile', 5 | templateUrl: './profile.component.html', 6 | styleUrls: ['./profile.component.scss'], 7 | }) 8 | export class ProfileComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/other/company-messages/company-messages.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 11 | 12 | 13 |

14 | {{ 'settings_privacy.company_messages' | translate }} 15 |

16 |
17 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/other/company-messages/company-messages.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/privacy/other/company-messages/company-messages.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/other/company-messages/company-messages.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-company-messages', 5 | templateUrl: './company-messages.component.html', 6 | styleUrls: ['./company-messages.component.scss'], 7 | }) 8 | export class CompanyMessagesComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/other/search/search.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 11 | 12 | 13 |

14 | {{ 'settings_privacy.search' | translate }} 15 |

16 |
17 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/other/search/search.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/privacy/other/search/search.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/other/search/search.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { SearchComponent } from './search.component'; 5 | 6 | describe('SearchComponent', () => { 7 | let component: SearchComponent; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [SearchComponent], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(SearchComponent); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/other/search/search.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-search', 5 | templateUrl: './search.component.html', 6 | styleUrls: ['./search.component.scss'], 7 | }) 8 | export class SearchComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/other/updates/updates.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 11 | 12 | 13 |

14 | {{ 'settings_privacy.updates' | translate }} 15 |

16 |
17 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/other/updates/updates.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/privacy/other/updates/updates.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/other/updates/updates.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { UpdatesComponent } from './updates.component'; 5 | 6 | describe('UpdatesComponent', () => { 7 | let component: UpdatesComponent; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [UpdatesComponent], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(UpdatesComponent); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/other/updates/updates.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-updates', 5 | templateUrl: './updates.component.html', 6 | styleUrls: ['./updates.component.scss'], 7 | }) 8 | export class UpdatesComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/privacy.page.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/privacy/privacy.page.scss -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/privacy.page.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { PrivacyPage } from './privacy.page'; 5 | 6 | describe('PrivacyPage', () => { 7 | let component: PrivacyPage; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [PrivacyPage], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(PrivacyPage); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/stories/stories-questions/stories-questions.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 11 | 12 | 13 |

14 | {{ 'settings_privacy.stories_questions' | translate }} 15 |

16 |
17 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/stories/stories-questions/stories-questions.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/privacy/stories/stories-questions/stories-questions.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/stories/stories-questions/stories-questions.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-stories-questions', 5 | templateUrl: './stories-questions.component.html', 6 | styleUrls: ['./stories-questions.component.scss'], 7 | }) 8 | export class StoriesQuestionsComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/stories/stories-replies/stories-replies.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 11 | 12 | 13 |

14 | {{ 'settings_privacy.stories_replies' | translate }} 15 |

16 |
17 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/stories/stories-replies/stories-replies.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/privacy/stories/stories-replies/stories-replies.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/stories/stories-replies/stories-replies.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-stories-replies', 5 | templateUrl: './stories-replies.component.html', 6 | styleUrls: ['./stories-replies.component.scss'], 7 | }) 8 | export class StoriesRepliesComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/stories/stories/stories.component.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 11 | 12 | 13 |

14 | {{ 'settings_privacy.stories' | translate }} 15 |

16 |
17 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/stories/stories/stories.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/privacy/stories/stories/stories.component.scss -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/stories/stories/stories.component.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { StoriesComponent } from './stories.component'; 5 | 6 | describe('StoriesComponent', () => { 7 | let component: StoriesComponent; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [StoriesComponent], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(StoriesComponent); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/privacy/stories/stories/stories.component.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-stories', 5 | templateUrl: './stories.component.html', 6 | styleUrls: ['./stories.component.scss'], 7 | }) 8 | export class StoriesComponent implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/security/security-routing.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { Routes, RouterModule } from '@angular/router'; 3 | 4 | import { SecurityPage } from './security.page'; 5 | 6 | const routes: Routes = [ 7 | { 8 | path: '', 9 | component: SecurityPage, 10 | }, 11 | ]; 12 | 13 | @NgModule({ 14 | imports: [RouterModule.forChild(routes)], 15 | exports: [RouterModule], 16 | }) 17 | export class SecurityPageRoutingModule {} 18 | -------------------------------------------------------------------------------- /src/app/pages/settings/security/security.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { CommonModule } from '@angular/common'; 3 | 4 | import { SharedModule } from '../../../shared/shared.module'; 5 | import { SecurityPageRoutingModule } from './security-routing.module'; 6 | 7 | import { SecurityPage } from './security.page'; 8 | 9 | @NgModule({ 10 | imports: [CommonModule, SecurityPageRoutingModule, SharedModule], 11 | declarations: [SecurityPage], 12 | }) 13 | export class SecurityPageModule {} 14 | -------------------------------------------------------------------------------- /src/app/pages/settings/security/security.page.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | {{'securityTitle' | translate}} 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/app/pages/settings/security/security.page.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/security/security.page.scss -------------------------------------------------------------------------------- /src/app/pages/settings/security/security.page.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { SecurityPage } from './security.page'; 5 | 6 | describe('SecurityPage', () => { 7 | let component: SecurityPage; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [SecurityPage], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(SecurityPage); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/security/security.page.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-security', 5 | templateUrl: './security.page.html', 6 | styleUrls: ['./security.page.scss'], 7 | }) 8 | export class SecurityPage implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/pages/settings/settings.actions.ts: -------------------------------------------------------------------------------- 1 | /* eslint-disable @typescript-eslint/no-namespace */ 2 | 3 | import { LanguagesModel } from './settings.model'; 4 | 5 | export class SettingsUpdateLanguageAction { 6 | static readonly type = '[Settings page] update language'; 7 | constructor(public language: LanguagesModel) {} 8 | } 9 | 10 | export class SettingsUpdateTheme { 11 | static readonly type = '[Settings page] update theme'; 12 | constructor(public isDarkMode: boolean) {} 13 | } 14 | -------------------------------------------------------------------------------- /src/app/pages/settings/settings.constant.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/settings.constant.ts -------------------------------------------------------------------------------- /src/app/pages/settings/settings.model.ts: -------------------------------------------------------------------------------- 1 | import { AppearancePageModel } from './appearance/appearance.model'; 2 | 3 | export type LanguagesType = 'ru' | 'en'; 4 | 5 | export interface LanguagesModel { 6 | language: { 7 | activeLanguage: LanguagesType; 8 | }; 9 | } 10 | 11 | export interface SettingsPageStateModel extends AppearancePageModel, LanguagesModel {} 12 | -------------------------------------------------------------------------------- /src/app/pages/settings/settings.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { CommonModule } from '@angular/common'; 3 | 4 | import { SharedModule } from '../../shared/shared.module'; 5 | import { SettingsPageRoutingModule } from './settings-routing.module'; 6 | 7 | import { SettingsPage } from './settings.page'; 8 | 9 | @NgModule({ 10 | imports: [CommonModule, SettingsPageRoutingModule, SharedModule], 11 | declarations: [SettingsPage], 12 | }) 13 | export class SettingsPageModule {} 14 | -------------------------------------------------------------------------------- /src/app/pages/settings/settings.page.scss: -------------------------------------------------------------------------------- 1 | ion-content, 2 | ion-item-divider { 3 | // background-color: var(--ion-item-background); 4 | --background: var(--ion-color-light); 5 | } 6 | -------------------------------------------------------------------------------- /src/app/pages/settings/settings.page.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { SettingsPage } from './settings.page'; 5 | 6 | describe('SettingsPage', () => { 7 | let component: SettingsPage; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [SettingsPage], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(SettingsPage); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/settings.selectors.ts: -------------------------------------------------------------------------------- 1 | import { createSelector } from '@ngxs/store'; 2 | import { SettingsPageStateModel } from './settings.model'; 3 | import { SettingsPageState } from './settings.state'; 4 | 5 | export const selectIsDarkMode = () => 6 | createSelector([SettingsPageState], (state: SettingsPageStateModel) => state.appearance.isDarkMode); 7 | -------------------------------------------------------------------------------- /src/app/pages/settings/subscriptions/subscriptions-routing.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { Routes, RouterModule } from '@angular/router'; 3 | 4 | import { SubscriptionsPage } from './subscriptions.page'; 5 | 6 | const routes: Routes = [ 7 | { 8 | path: '', 9 | component: SubscriptionsPage, 10 | }, 11 | ]; 12 | 13 | @NgModule({ 14 | imports: [RouterModule.forChild(routes)], 15 | exports: [RouterModule], 16 | }) 17 | export class SubscriptionsPageRoutingModule {} 18 | -------------------------------------------------------------------------------- /src/app/pages/settings/subscriptions/subscriptions.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { CommonModule } from '@angular/common'; 3 | 4 | import { SharedModule } from '../../../shared/shared.module'; 5 | import { SubscriptionsPageRoutingModule } from './subscriptions-routing.module'; 6 | 7 | import { SubscriptionsPage } from './subscriptions.page'; 8 | 9 | @NgModule({ 10 | imports: [CommonModule, SubscriptionsPageRoutingModule, SharedModule], 11 | declarations: [SubscriptionsPage], 12 | }) 13 | export class SubscriptionsPageModule {} 14 | -------------------------------------------------------------------------------- /src/app/pages/settings/subscriptions/subscriptions.page.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | {{'subscriptionsTitle' | translate}} 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/app/pages/settings/subscriptions/subscriptions.page.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/pages/settings/subscriptions/subscriptions.page.scss -------------------------------------------------------------------------------- /src/app/pages/settings/subscriptions/subscriptions.page.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | import { IonicModule } from '@ionic/angular'; 3 | 4 | import { SubscriptionsPage } from './subscriptions.page'; 5 | 6 | describe('SubscriptionsPage', () => { 7 | let component: SubscriptionsPage; 8 | let fixture: ComponentFixture; 9 | 10 | beforeEach(async(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [SubscriptionsPage], 13 | imports: [IonicModule.forRoot()], 14 | }).compileComponents(); 15 | 16 | fixture = TestBed.createComponent(SubscriptionsPage); 17 | component = fixture.componentInstance; 18 | fixture.detectChanges(); 19 | })); 20 | 21 | it('should create', () => { 22 | expect(component).toBeTruthy(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /src/app/pages/settings/subscriptions/subscriptions.page.ts: -------------------------------------------------------------------------------- 1 | import { Component, OnInit } from '@angular/core'; 2 | 3 | @Component({ 4 | selector: 'app-subscriptions', 5 | templateUrl: './subscriptions.page.html', 6 | styleUrls: ['./subscriptions.page.scss'], 7 | }) 8 | export class SubscriptionsPage implements OnInit { 9 | constructor() {} 10 | 11 | ngOnInit() {} 12 | } 13 | -------------------------------------------------------------------------------- /src/app/services/alert/alert.service.ts: -------------------------------------------------------------------------------- 1 | import { Injectable } from '@angular/core'; 2 | import { AlertController } from '@ionic/angular'; 3 | import { AlertOptions } from '@ionic/core'; 4 | 5 | @Injectable({ 6 | providedIn: 'root', 7 | }) 8 | export class AlertService { 9 | constructor(private alertController: AlertController) {} 10 | 11 | async presentAlert(opts?: AlertOptions): Promise { 12 | return await this.alertController.create(opts); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/app/services/api/api.model.ts: -------------------------------------------------------------------------------- 1 | export interface ApiOptionalHeadersModel { 2 | [name: string]: string | string[]; 3 | } 4 | -------------------------------------------------------------------------------- /src/app/services/loading/loading.service.ts: -------------------------------------------------------------------------------- 1 | import { Injectable } from '@angular/core'; 2 | import { LoadingController } from '@ionic/angular'; 3 | 4 | @Injectable({ 5 | providedIn: 'root', 6 | }) 7 | export class LoadingService { 8 | isLoading = false; 9 | 10 | constructor(private loadingController: LoadingController) {} 11 | 12 | public async showLoading() { 13 | if (this.isLoading) { 14 | return; 15 | } 16 | this.isLoading = true; 17 | const loading = await this.loadingController.create({ 18 | message: 'Please wait...', 19 | }); 20 | return await loading.present(); 21 | } 22 | 23 | public async hideLoading() { 24 | this.isLoading = false; 25 | const getTopLoading = await this.loadingController.getTop(); 26 | return getTopLoading.dismiss(); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /src/app/tabs/main/main-routing.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { RouterModule, Routes } from '@angular/router'; 3 | import { MainPage } from './main.page'; 4 | 5 | const routes: Routes = [ 6 | { 7 | path: '', 8 | component: MainPage, 9 | }, 10 | ]; 11 | 12 | @NgModule({ 13 | imports: [RouterModule.forChild(routes)], 14 | exports: [RouterModule], 15 | }) 16 | export class MainPageRoutingModule {} 17 | -------------------------------------------------------------------------------- /src/app/tabs/main/main.constant.ts: -------------------------------------------------------------------------------- 1 | import { environment } from '../../../environments/environment'; 2 | 3 | export const apiGetAllMainTabs = `${environment.api}/${environment.apiVersion}/tabs`; 4 | export const apiGetAllStories = `${environment.api}/${environment.apiVersion}/stories`; 5 | export const apiGetAllNews = (page = 1) => `${environment.api}/${environment.apiVersion}/news?page=${page}&limit=5`; 6 | -------------------------------------------------------------------------------- /src/app/tabs/main/main.module.ts: -------------------------------------------------------------------------------- 1 | import { CommonModule } from '@angular/common'; 2 | import { NgModule } from '@angular/core'; 3 | import { SharedModule } from '../../shared/shared.module'; 4 | import { UsersStoriesComponentModule } from '../../components/users-stories/users-stories.module'; 5 | import { UsersPostsComponentModule } from '../../components/users-posts/users-posts.module'; 6 | import { MainPage } from './main.page'; 7 | import { MainPageRoutingModule } from './main-routing.module'; 8 | 9 | @NgModule({ 10 | imports: [CommonModule, MainPageRoutingModule, UsersStoriesComponentModule, UsersPostsComponentModule, SharedModule], 11 | declarations: [MainPage], 12 | }) 13 | export class MainPageModule {} 14 | -------------------------------------------------------------------------------- /src/app/tabs/main/main.page.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/tabs/main/main.page.scss -------------------------------------------------------------------------------- /src/app/tabs/messages/messages-routing.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { RouterModule, Routes } from '@angular/router'; 3 | import { MessagesPage } from './messages.page'; 4 | 5 | const routes: Routes = [ 6 | { 7 | path: '', 8 | component: MessagesPage, 9 | }, 10 | ]; 11 | 12 | @NgModule({ 13 | imports: [RouterModule.forChild(routes)], 14 | exports: [RouterModule], 15 | }) 16 | export class MessagesPageRoutingModule {} 17 | -------------------------------------------------------------------------------- /src/app/tabs/messages/messages.constant.ts: -------------------------------------------------------------------------------- 1 | import { environment } from '../../../environments/environment'; 2 | 3 | export const apiGetAllMessages = (search = '', page = 1, limit = 10) => 4 | `${environment.api}/${environment.apiVersion}/messages?search=${search}&page=${page}&limit=${limit}`; 5 | -------------------------------------------------------------------------------- /src/app/tabs/messages/messages.module.ts: -------------------------------------------------------------------------------- 1 | import { CommonModule } from '@angular/common'; 2 | import { NgModule } from '@angular/core'; 3 | import { SharedModule } from '../../shared/shared.module'; 4 | import { UsersStoriesComponentModule } from '../../components/users-stories/users-stories.module'; 5 | import { UsersPostsComponentModule } from '../../components/users-posts/users-posts.module'; 6 | import { MessagesPage } from './messages.page'; 7 | import { MessagesPageRoutingModule } from './messages-routing.module'; 8 | 9 | @NgModule({ 10 | imports: [ 11 | CommonModule, 12 | MessagesPageRoutingModule, 13 | UsersStoriesComponentModule, 14 | UsersPostsComponentModule, 15 | SharedModule, 16 | ], 17 | declarations: [MessagesPage], 18 | }) 19 | export class MessagesPageModule {} 20 | -------------------------------------------------------------------------------- /src/app/tabs/messages/messages.page.scss: -------------------------------------------------------------------------------- 1 | .message-icon-middle { 2 | vertical-align: middle; 3 | } 4 | -------------------------------------------------------------------------------- /src/app/tabs/profile/profile-routing.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { RouterModule, Routes } from '@angular/router'; 3 | import { ProfilePage } from './profile.page'; 4 | 5 | const routes: Routes = [ 6 | { 7 | path: '', 8 | component: ProfilePage, 9 | }, 10 | ]; 11 | 12 | @NgModule({ 13 | imports: [RouterModule.forChild(routes)], 14 | exports: [RouterModule], 15 | }) 16 | export class ProfilePageRoutingModule {} 17 | -------------------------------------------------------------------------------- /src/app/tabs/profile/profile.actions.ts: -------------------------------------------------------------------------------- 1 | /* eslint-disable @typescript-eslint/no-namespace */ 2 | 3 | import { apiGetUser } from './profile.constant'; 4 | import { ProfileModel } from './profile.model'; 5 | 6 | export namespace ProfileActions { 7 | export class FetchUser { 8 | static readonly type = '[Profile Tab] Fetch user'; 9 | constructor(public userId: string, public api: string = '') { 10 | this.api = apiGetUser(this.userId); 11 | } 12 | } 13 | 14 | export class FetchUserSuccess { 15 | static readonly type = '[Profile Tab] Fetch user success'; 16 | constructor(public listData: ProfileModel) {} 17 | } 18 | 19 | export class FetchUserFail { 20 | static readonly type = '[Profile Tab] Fetch user fail'; 21 | constructor(public error: string) {} 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/app/tabs/profile/profile.constant.ts: -------------------------------------------------------------------------------- 1 | import { environment } from '../../../environments/environment'; 2 | 3 | export const apiGetUser = (userId: string) => `${environment.api}/${environment.apiVersion}/users/${userId}`; 4 | -------------------------------------------------------------------------------- /src/app/tabs/profile/profile.model.ts: -------------------------------------------------------------------------------- 1 | import { AppStoreLoadingStatesModel } from '../../core/store/store.model'; 2 | 3 | export interface ProfileModel { 4 | id: string; 5 | firstName: string; 6 | lastName: string; 7 | avatar: string; 8 | status: string; 9 | birthday: string; 10 | city: string; 11 | country: string; 12 | phone: string; 13 | username: string; 14 | lastOnline: string; 15 | isOnline: boolean; 16 | isMobileOnline: boolean; 17 | authToken: string; 18 | email: string; 19 | password: string; 20 | } 21 | 22 | export interface ProfileStateModel extends AppStoreLoadingStatesModel { 23 | listData: ProfileModel | null; 24 | } 25 | 26 | export interface ProfilePageStateModel { 27 | profile: ProfileStateModel; 28 | } 29 | -------------------------------------------------------------------------------- /src/app/tabs/profile/profile.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { CommonModule } from '@angular/common'; 3 | 4 | import { SharedModule } from '../../shared/shared.module'; 5 | import { ProfilePage } from './profile.page'; 6 | import { ProfilePageRoutingModule } from './profile-routing.module'; 7 | 8 | @NgModule({ 9 | imports: [CommonModule, ProfilePageRoutingModule, SharedModule], 10 | declarations: [ProfilePage], 11 | }) 12 | export class ProfilePageModule {} 13 | -------------------------------------------------------------------------------- /src/app/tabs/profile/profile.page.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/tabs/profile/profile.page.scss -------------------------------------------------------------------------------- /src/app/tabs/profile/profile.page.spec.ts: -------------------------------------------------------------------------------- 1 | import { async, ComponentFixture, TestBed } from '@angular/core/testing'; 2 | 3 | import { ProfilePage } from './profile.page'; 4 | 5 | describe('ProfilePage', () => { 6 | let component: ProfilePage; 7 | let fixture: ComponentFixture; 8 | 9 | beforeEach(async(() => { 10 | fixture = TestBed.createComponent(ProfilePage); 11 | component = fixture.componentInstance; 12 | fixture.detectChanges(); 13 | })); 14 | 15 | it('should create', () => { 16 | expect(component).toBeTruthy(); 17 | }); 18 | }); 19 | -------------------------------------------------------------------------------- /src/app/tabs/profile/profile.selectors.ts: -------------------------------------------------------------------------------- 1 | import { createSelector } from '@ngxs/store'; 2 | import { ProfilePageStateModel } from './profile.model'; 3 | import { ProfilePageState } from './profile.state'; 4 | 5 | export const selectUser = () => 6 | createSelector([ProfilePageState], (state: ProfilePageStateModel) => state.profile.listData); 7 | 8 | export const selectUserLoadingStates = () => 9 | createSelector([ProfilePageState], (state: ProfilePageStateModel) => ({ 10 | isLoading: state.profile.isLoading, 11 | isSuccess: state.profile.isSuccess, 12 | isFailed: state.profile.isFailed, 13 | })); 14 | -------------------------------------------------------------------------------- /src/app/tabs/services/services-routing.module.ts: -------------------------------------------------------------------------------- 1 | import { NgModule } from '@angular/core'; 2 | import { RouterModule, Routes } from '@angular/router'; 3 | import { ServicesPage } from './services.page'; 4 | 5 | const routes: Routes = [ 6 | { 7 | path: '', 8 | component: ServicesPage, 9 | }, 10 | ]; 11 | 12 | @NgModule({ 13 | imports: [RouterModule.forChild(routes)], 14 | exports: [RouterModule], 15 | }) 16 | export class ServicesPageRoutingModule {} 17 | -------------------------------------------------------------------------------- /src/app/tabs/services/services.actions.ts: -------------------------------------------------------------------------------- 1 | /* eslint-disable @typescript-eslint/no-namespace */ 2 | -------------------------------------------------------------------------------- /src/app/tabs/services/services.constant.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/tabs/services/services.constant.ts -------------------------------------------------------------------------------- /src/app/tabs/services/services.model.ts: -------------------------------------------------------------------------------- 1 | import { AppStoreLoadingStatesModel } from '../../core/store/store.model'; 2 | 3 | export interface ServicesStateModel extends AppStoreLoadingStatesModel { 4 | listData: any[]; 5 | } 6 | 7 | export interface ServicesPageStateModel { 8 | services: ServicesStateModel; 9 | } 10 | -------------------------------------------------------------------------------- /src/app/tabs/services/services.module.ts: -------------------------------------------------------------------------------- 1 | import { CommonModule } from '@angular/common'; 2 | import { NgModule } from '@angular/core'; 3 | import { SharedModule } from '../../shared/shared.module'; 4 | import { UsersStoriesComponentModule } from '../../components/users-stories/users-stories.module'; 5 | import { UsersPostsComponentModule } from '../../components/users-posts/users-posts.module'; 6 | import { ServicesPage } from './services.page'; 7 | import { ServicesPageRoutingModule } from './services-routing.module'; 8 | 9 | @NgModule({ 10 | imports: [ 11 | CommonModule, 12 | ServicesPageRoutingModule, 13 | UsersStoriesComponentModule, 14 | UsersPostsComponentModule, 15 | SharedModule, 16 | ], 17 | declarations: [ServicesPage], 18 | }) 19 | export class ServicesPageModule {} 20 | -------------------------------------------------------------------------------- /src/app/tabs/services/services.page.scss: -------------------------------------------------------------------------------- 1 | .explore { 2 | margin-top: 16px; 3 | } 4 | 5 | .explore-category { 6 | padding: 0; 7 | margin-bottom: 16px; 8 | text-align: center; 9 | } 10 | 11 | .explore-category-icon { 12 | font-size: 34px; 13 | } 14 | 15 | .explore-category-title { 16 | margin: 0; 17 | font-weight: 500; 18 | } 19 | 20 | .explore-item { 21 | --padding-end: 0px; 22 | --padding-start: 0px; 23 | --inner-padding-end: 0px; 24 | --ion-safe-area-left: 0px; 25 | --ion-safe-area-right: 0px; 26 | --background-activated-opacity: 0.05; 27 | } 28 | -------------------------------------------------------------------------------- /src/app/tabs/services/services.selectors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/tabs/services/services.selectors.ts -------------------------------------------------------------------------------- /src/app/tabs/services/services.state.ts: -------------------------------------------------------------------------------- 1 | import { Injectable } from '@angular/core'; 2 | import { State, StateToken } from '@ngxs/store'; 3 | import { ApiService } from '../../services/api/api.service'; 4 | import { ServicesPageStateModel } from './services.model'; 5 | 6 | export const initialState: ServicesPageStateModel = { 7 | services: { 8 | isLoading: false, 9 | isFailed: false, 10 | isSuccess: false, 11 | error: null, 12 | listData: [], 13 | }, 14 | }; 15 | 16 | export const STATE_TOKEN = new StateToken('services'); 17 | 18 | @State({ 19 | name: STATE_TOKEN, 20 | defaults: initialState, 21 | }) 22 | @Injectable() 23 | export class ServicesPageState { 24 | constructor(private apiService: ApiService) {} 25 | } 26 | -------------------------------------------------------------------------------- /src/app/tabs/tabs.model.ts: -------------------------------------------------------------------------------- 1 | import { AppStoreLoadingStatesModel } from '../core/store/store.model'; 2 | 3 | export type TabListModel = 'main' | 'services' | 'messages' | 'profile'; 4 | 5 | export interface TabModel { 6 | id: TabListModel; 7 | badge: number; 8 | icon: string; 9 | disabled: boolean; 10 | } 11 | 12 | export interface TabsStateModel extends AppStoreLoadingStatesModel { 13 | active: TabListModel; 14 | listData: TabModel[]; 15 | } 16 | -------------------------------------------------------------------------------- /src/app/tabs/tabs.module.ts: -------------------------------------------------------------------------------- 1 | import { CommonModule } from '@angular/common'; 2 | import { NgModule } from '@angular/core'; 3 | import { SharedModule } from '../shared/shared.module'; 4 | import { TabsPage } from './tabs.page'; 5 | import { TabsPageRoutingModule } from './tabs-routing.module'; 6 | 7 | @NgModule({ 8 | imports: [CommonModule, TabsPageRoutingModule, SharedModule], 9 | declarations: [TabsPage], 10 | }) 11 | export class TabsPageModule {} 12 | -------------------------------------------------------------------------------- /src/app/tabs/tabs.page.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | {{'bottomTabs.' + tab.id | translate}} 11 | {{tab.badge}} 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/app/tabs/tabs.page.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/app/tabs/tabs.page.scss -------------------------------------------------------------------------------- /src/app/tabs/tabs.page.spec.ts: -------------------------------------------------------------------------------- 1 | import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; 2 | import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; 3 | import { TabsPage } from './tabs.page'; 4 | 5 | describe('TabsPage', () => { 6 | let component: TabsPage; 7 | let fixture: ComponentFixture; 8 | 9 | beforeEach( 10 | waitForAsync(() => { 11 | TestBed.configureTestingModule({ 12 | declarations: [TabsPage], 13 | schemas: [CUSTOM_ELEMENTS_SCHEMA], 14 | }).compileComponents(); 15 | }), 16 | ); 17 | 18 | beforeEach(() => { 19 | fixture = TestBed.createComponent(TabsPage); 20 | component = fixture.componentInstance; 21 | fixture.detectChanges(); 22 | }); 23 | 24 | it('should create', () => { 25 | expect(component).toBeTruthy(); 26 | }); 27 | }); 28 | -------------------------------------------------------------------------------- /src/app/tabs/tabs.selectors.ts: -------------------------------------------------------------------------------- 1 | import { createSelector } from '@ngxs/store'; 2 | import { map } from 'lodash'; 3 | import { TabsStateModel } from './tabs.model'; 4 | import { TabsState } from './tabs.state'; 5 | 6 | export const selectTabsList = () => 7 | createSelector([TabsState], (tabState: TabsStateModel) => map(tabState.listData, (tab) => tab)); 8 | -------------------------------------------------------------------------------- /src/assets/i18n/ru.json: -------------------------------------------------------------------------------- 1 | { 2 | "bottomTabs": { 3 | "main": "Главная", 4 | "services": "Сервисы" 5 | }, 6 | "mainTabs": { 7 | "news": "Новости", 8 | "recommended": "Recommended", 9 | "music": "Music", 10 | "it": "IT", 11 | "football": "Football", 12 | "design": "Design", 13 | "beauty": "Beauty", 14 | "health": "Health" 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/assets/icon/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/assets/icon/favicon.png -------------------------------------------------------------------------------- /src/assets/logo/TK_DARK_LOGO.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/assets/logo/TK_DARK_LOGO.png -------------------------------------------------------------------------------- /src/assets/logo/TK_DEFAULT_LOGO.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/assets/logo/TK_DEFAULT_LOGO.png -------------------------------------------------------------------------------- /src/assets/logo/TK_MONOCHROME_DARK_LOGO.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/assets/logo/TK_MONOCHROME_DARK_LOGO.png -------------------------------------------------------------------------------- /src/assets/logo/TK_MONOCHROME_DEFAULT_LOGO.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thenaim/ionic-tk-social-network/5797c188c147426654c6e5434aadd54d0ddc350b/src/assets/logo/TK_MONOCHROME_DEFAULT_LOGO.png -------------------------------------------------------------------------------- /src/environments/environment.prod.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | appName: 'ionic-tk-social-network', 3 | envName: 'PROD', 4 | production: true, 5 | test: false, 6 | api: 'https://60bd3462b8ab3700175a03d3.mockapi.io/api', 7 | apiVersion: 'v1', 8 | }; 9 | -------------------------------------------------------------------------------- /src/environments/environment.test.ts: -------------------------------------------------------------------------------- 1 | export const environment = { 2 | appName: 'ionic-tk-social-network', 3 | envName: 'TEST', 4 | production: false, 5 | test: true, 6 | api: 'https://60bd3462b8ab3700175a03d3.mockapi.io/api', 7 | apiVersion: 'v1', 8 | }; 9 | -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- 1 | import { enableProdMode } from '@angular/core'; 2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; 3 | import { AppModule } from './app/app.module'; 4 | import { environment } from './environments/environment'; 5 | 6 | if (environment.production) { 7 | enableProdMode(); 8 | } 9 | 10 | platformBrowserDynamic() 11 | .bootstrapModule(AppModule) 12 | .catch((err) => console.log(err)); 13 | -------------------------------------------------------------------------------- /src/scss/auth.scss: -------------------------------------------------------------------------------- 1 | .auth-page { 2 | ion-grid, 3 | ion-row { 4 | margin-top: var(--ion-margin, 16px); 5 | justify-content: center; 6 | } 7 | 8 | .logo { 9 | margin-bottom: 32px; 10 | } 11 | 12 | .auth-card { 13 | ion-item:not(:last-child) { 14 | border-bottom: 1px solid var(--ion-color-medium); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/scss/horizontal-scroll.scss: -------------------------------------------------------------------------------- 1 | *[scrollX='true'] { 2 | display: flex; 3 | flex-wrap: nowrap; 4 | overflow-x: auto; 5 | -ms-overflow-style: none; 6 | 7 | &::-webkit-scrollbar { 8 | display: none; 9 | } 10 | 11 | &:nth-child(1) { 12 | flex: 0 0 auto; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/test.ts: -------------------------------------------------------------------------------- 1 | // This file is required by karma.conf.js and loads recursively all the .spec and framework files 2 | 3 | import 'zone.js/dist/zone-testing'; 4 | import { getTestBed } from '@angular/core/testing'; 5 | import { BrowserDynamicTestingModule, platformBrowserDynamicTesting } from '@angular/platform-browser-dynamic/testing'; 6 | 7 | declare const require: any; 8 | 9 | // First, initialize the Angular testing environment. 10 | getTestBed().initTestEnvironment(BrowserDynamicTestingModule, platformBrowserDynamicTesting()); 11 | // Then we find all the tests. 12 | const context = require.context('./', true, /\.spec\.ts$/); 13 | // And load the modules. 14 | context.keys().map(context); 15 | -------------------------------------------------------------------------------- /src/zone-flags.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Prevents Angular change detection from 3 | * running with certain Web Component callbacks 4 | */ 5 | /* eslint-disable no-underscore-dangle */ 6 | (window as any).__Zone_disable_customElements = true; 7 | -------------------------------------------------------------------------------- /tsconfig.app.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./out-tsc/app", 5 | "types": [] 6 | }, 7 | "files": ["src/main.ts", "src/polyfills.ts"], 8 | "include": [], 9 | "exclude": ["src/**/*.spec.ts"] 10 | } 11 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compileOnSave": false, 3 | "compilerOptions": { 4 | "baseUrl": "/", 5 | "outDir": "./dist/out-tsc", 6 | "sourceMap": true, 7 | "declaration": false, 8 | "downlevelIteration": true, 9 | "experimentalDecorators": true, 10 | "module": "esnext", 11 | "moduleResolution": "node", 12 | "importHelpers": true, 13 | "target": "es2015", 14 | "lib": ["es2018", "dom"] 15 | }, 16 | "angularCompilerOptions": { 17 | "fullTemplateTypeCheck": true, 18 | "strictTemplates": true, 19 | "strictInjectionParameters": true 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /tsconfig.spec.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "outDir": "./out-tsc/spec", 5 | "types": ["jasmine", "node"] 6 | }, 7 | "files": ["src/test.ts", "src/polyfills.ts"], 8 | "include": ["src/**/*.spec.ts", "src/**/*.d.ts"] 9 | } 10 | --------------------------------------------------------------------------------