All Downloads are FREE. Search and download functionalities are using the official Maven repository.

theme.keycloak.v2.account.resources.PageHeaderTool.js.map Maven / Gradle / Ivy

There is a newer version: 26.0.5
Show newest version
{"version":3,"file":"PageHeaderTool.js","names":["React","PageHeaderTools","ReferrerLink","LogoutButton","PageHeaderTool","Component","constructor","args","_defineProperty","referrerName","render","username","loggedInUserName","createElement","hasReferrer","className","style","marginLeft","id"],"sources":["../src/app/PageHeaderTool.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport {PageHeaderTools} from '@patternfly/react-core';\nimport {ReferrerLink} from './widgets/ReferrerLink';\nimport {LogoutButton} from './widgets/Logout';\n\ndeclare const referrerName: string;\ndeclare function loggedInUserName(): string;\n\nexport class PageHeaderTool extends React.Component {\n    private hasReferrer: boolean = typeof referrerName !== 'undefined';\n\n    public render(): React.ReactNode {\n        const username = loggedInUserName();\n    \n        return (\n            \n                {this.hasReferrer &&\n                    
\n \n
\n }\n\n
\n \n
\n\n {username}\n
\n );\n }\n}\n"],"mappings":";;;AAAA,OAAO,KAAKA,KAAK;AAEjB,SAAQC,eAAe;AACvB,SAAQC,YAAY;AACpB,SAAQC,YAAY;AAKpB,OAAO,MAAMC,cAAc,SAASJ,KAAK,CAACK,SAAS,CAAC;EAAAC,YAAA,GAAAC,IAAA;IAAA,SAAAA,IAAA;IAAAC,eAAA,sBACjB,OAAOC,YAAY,KAAK,WAAW;EAAA;EAE3DC,MAAMA,CAAA,EAAoB;IAC7B,MAAMC,QAAQ,GAAGC,gBAAgB,CAAC,CAAC;IAEnC,oBACIZ,KAAA,CAAAa,aAAA,CAACZ,eAAe,QACX,IAAI,CAACa,WAAW,iBACbd,KAAA,CAAAa,aAAA;MAAKE,SAAS,EAAC;IAA+B,gBAC1Cf,KAAA,CAAAa,aAAA,CAACX,YAAY,MAAC,CACb,CAAC,eAGVF,KAAA,CAAAa,aAAA;MAAKE,SAAS,EAAC;IAA+B,gBAC1Cf,KAAA,CAAAa,aAAA,CAACV,YAAY,MAAC,CACb,CAAC,eAENH,KAAA,CAAAa,aAAA;MAAMG,KAAK,EAAE;QAACC,UAAU,EAAE;MAAM,CAAE;MAACC,EAAE,EAAC;IAAc,GAAEP,QAAe,CACxD,CAAC;EAE1B;AACJ"}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy