Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
theme.keycloak.v2.account.resources.content.linked-accounts-page.LinkedAccountsPage.js.map Maven / Gradle / Ivy
{"version":3,"file":"LinkedAccountsPage.js","names":["React","withRouter","Button","DataList","DataListAction","DataListItemCells","DataListCell","DataListItemRow","Label","PageSection","PageSectionVariants","Split","SplitItem","Stack","StackItem","Title","DataListItem","BitbucketIcon","CubeIcon","GitlabIcon","LinkIcon","OpenshiftIcon","PaypalIcon","UnlinkIcon","FacebookIcon","GoogleIcon","InstagramIcon","MicrosoftIcon","TwitterIcon","StackOverflowIcon","LinkedinIcon","GithubIcon","AccountServiceContext","Msg","ContentPage","createRedirect","LinkedAccountsPage","Component","constructor","props","context","_defineProperty","state","linkedAccounts","unLinkedAccounts","getLinkedAccounts","doGet","then","response","console","log","data","filter","account","connected","setState","unLinkAccount","url","providerName","doDelete","linkAccount","redirectUri","location","pathname","params","providerId","window","href","accountLinkUri","render","createElement","title","localize","introMessage","isFilled","variant","light","hasGutter","headingLevel","className","size","msgKey","id","makeRows","emptyRow","isLinked","isEmptyMessage","key","dataListCells","accounts","length","Fragment","map","providerAlias","findIcon","displayName","label","width","linkedUsername","onClick","social","color","socialIconId","toLowerCase","includes","LinkedAccountsPagewithRouter"],"sources":["../../../src/app/content/linked-accounts-page/LinkedAccountsPage.tsx"],"sourcesContent":["/*\n * Copyright 2019 Red Hat, Inc. and/or its affiliates.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport * as React from 'react';\nimport {withRouter, RouteComponentProps} from 'react-router-dom';\n\nimport {\n Button,\n DataList,\n DataListAction,\n DataListItemCells,\n DataListCell,\n DataListItemRow,\n Label,\n PageSection,\n PageSectionVariants,\n Split,\n SplitItem,\n Stack,\n StackItem,\n Title,\n DataListItem,\n} from '@patternfly/react-core';\n\nimport {\n BitbucketIcon,\n CubeIcon,\n GitlabIcon,\n LinkIcon,\n OpenshiftIcon,\n PaypalIcon,\n UnlinkIcon,\n FacebookIcon,\n GoogleIcon,\n InstagramIcon,\n MicrosoftIcon,\n TwitterIcon,\n StackOverflowIcon,\n LinkedinIcon,\n GithubIcon\n} from '@patternfly/react-icons';\n\nimport {HttpResponse} from '../../account-service/account.service';\nimport {AccountServiceContext} from '../../account-service/AccountServiceContext';\nimport {Msg} from '../../widgets/Msg';\nimport {ContentPage} from '../ContentPage';\nimport {createRedirect} from '../../util/RedirectUri';\n\ninterface LinkedAccount {\n connected: boolean;\n social: boolean;\n providerAlias: string;\n providerName: string;\n displayName: string;\n linkedUsername: string;\n}\n\ninterface LinkedAccountsPageProps extends RouteComponentProps {\n}\n\ninterface LinkedAccountsPageState {\n linkedAccounts: LinkedAccount[];\n unLinkedAccounts: LinkedAccount[];\n}\n\n/**\n * @author Stan Silvert\n */\nclass LinkedAccountsPage extends React.Component {\n static contextType = AccountServiceContext;\n context: React.ContextType;\n\n public constructor(props: LinkedAccountsPageProps, context: React.ContextType) {\n super(props);\n this.context = context;\n\n this.state = {\n linkedAccounts: [],\n unLinkedAccounts: []\n }\n\n this.getLinkedAccounts();\n }\n\n private getLinkedAccounts(): void {\n this.context!.doGet(\"/linked-accounts\")\n .then((response: HttpResponse) => {\n console.log({response});\n const linkedAccounts = response.data!.filter((account) => account.connected);\n const unLinkedAccounts = response.data!.filter((account) => !account.connected);\n this.setState({linkedAccounts: linkedAccounts, unLinkedAccounts: unLinkedAccounts});\n });\n }\n\n private unLinkAccount(account: LinkedAccount): void {\n const url = '/linked-accounts/' + account.providerName;\n\n this.context!.doDelete(url)\n .then((response: HttpResponse) => {\n console.log({response});\n this.getLinkedAccounts();\n });\n }\n\n private linkAccount(account: LinkedAccount): void {\n const url = '/linked-accounts/' + account.providerName;\n\n const redirectUri: string = createRedirect(this.props.location.pathname);\n\n this.context!.doGet<{accountLinkUri: string}>(url, { params: {providerId: account.providerName, redirectUri}})\n .then((response: HttpResponse<{accountLinkUri: string}>) => {\n console.log({response});\n window.location.href = response.data!.accountLinkUri;\n });\n }\n\n public render(): React.ReactNode {\n\n return (\n \n \n \n \n \n \n \n \n {this.makeRows(this.state.linkedAccounts, true)}\n \n \n \n \n \n \n \n {this.makeRows(this.state.unLinkedAccounts, false)}\n \n \n \n \n \n );\n }\n\n private emptyRow(isLinked: boolean): React.ReactNode {\n let isEmptyMessage = '';\n if (isLinked) {\n isEmptyMessage = Msg.localize('linkedEmpty');\n } else {\n isEmptyMessage = Msg.localize('unlinkedEmpty');\n }\n\n return (\n \n \n {isEmptyMessage}\n ]}/>\n \n \n )\n }\n\n private makeRows(accounts: LinkedAccount[], isLinked: boolean): React.ReactNode {\n if (accounts.length === 0) {\n return this.emptyRow(isLinked);\n }\n\n return (\n <> {\n\n accounts.map( (account: LinkedAccount) => (\n \n \n \n \n {this.findIcon(account)} \n {account.displayName} \n \n ,\n \n \n {this.label(account)} \n \n ,\n \n \n {account.linkedUsername} \n \n ,\n ]}/>\n \n {isLinked && this.unLinkAccount(account)}> }\n {!isLinked && this.linkAccount(account)}> }\n \n \n \n ))\n\n } >\n\n )\n }\n\n private label(account: LinkedAccount): React.ReactNode {\n if (account.social) {\n return ( );\n }\n\n return ( );\n }\n\n private findIcon(account: LinkedAccount): React.ReactNode {\n const socialIconId = `${account.providerAlias}-idp-icon-social`;\n console.log(account);\n switch (true) {\n case account.providerName.toLowerCase().includes('linkedin'):\n return ;\n case account.providerName.toLowerCase().includes('facebook'):\n return ;\n case account.providerName.toLowerCase().includes('google'):\n return ;\n case account.providerName.toLowerCase().includes('instagram'):\n return ;\n case account.providerName.toLowerCase().includes('microsoft'):\n return ;\n case account.providerName.toLowerCase().includes('bitbucket'):\n return ;\n case account.providerName.toLowerCase().includes('twitter'):\n return ;\n case account.providerName.toLowerCase().includes('openshift'):\n // return
;\n return ;\n case account.providerName.toLowerCase().includes('gitlab'):\n return ;\n case account.providerName.toLowerCase().includes('github'):\n return ;\n case account.providerName.toLowerCase().includes('paypal'):\n return ;\n case account.providerName.toLowerCase().includes('stackoverflow'):\n return ;\n case (account.providerName !== '' && account.social):\n return ;\n default:\n return
;\n }\n }\n\n};\n\nconst LinkedAccountsPagewithRouter = withRouter(LinkedAccountsPage);\nexport {LinkedAccountsPagewithRouter as LinkedAccountsPage};\n"],"mappings":";;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAO,KAAKA,KAAK;AACjB,SAAQC,UAAU;AAElB,SACIC,MAAM,EACNC,QAAQ,EACRC,cAAc,EACdC,iBAAiB,EACjBC,YAAY,EACZC,eAAe,EACfC,KAAK,EACLC,WAAW,EACXC,mBAAmB,EACnBC,KAAK,EACLC,SAAS,EACTC,KAAK,EACLC,SAAS,EACTC,KAAK,EACLC,YAAY;AAGhB,SACIC,aAAa,EACbC,QAAQ,EACRC,UAAU,EACVC,QAAQ,EACRC,aAAa,EACbC,UAAU,EACVC,UAAU,EACVC,YAAY,EACZC,UAAU,EACVC,aAAa,EACbC,aAAa,EACbC,WAAW,EACXC,iBAAiB,EACjBC,YAAY,EACZC,UAAU;AAId,SAAQC,qBAAqB;AAC7B,SAAQC,GAAG;AACX,SAAQC,WAAW;AACnB,SAAQC,cAAc;AAmBtB;AACA;AACA;AACA,MAAMC,kBAAkB,SAASpC,KAAK,CAACqC,SAAS,CAAmD;EAIxFC,WAAWA,CAACC,KAA8B,EAAEC,OAAwD,EAAE;IACzG,KAAK,CAACD,KAAK,CAAC;IAACE,eAAA;IACb,IAAI,CAACD,OAAO,GAAGA,OAAO;IAEtB,IAAI,CAACE,KAAK,GAAG;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