![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /opt/mattermost/client/ |
Upload File : |
{"version":3,"file":"4986.37116dca35b45474c0ad.js","mappings":"+NAsCA,SAASA,EAAuBC,GAC5B,OACIC,IAAAA,cAAA,OACIC,GAAI,kBAAoBF,EAAMG,KAC9BC,UAAWC,IAAW,8BAA+B,CACjD,uCAAwCL,EAAMM,MAC/CN,EAAMO,YACTC,QAASR,EAAMQ,SAEfP,IAAAA,cAACQ,EAAAA,EAAe,CAACL,UAAU,sBAC1BJ,EAAMU,QAGnB,CAACX,EAAAY,UAAA,CApCGH,QAAOI,IAAAA,KAAAC,WAKPP,KAAIM,IAAAA,KAKJL,WAAUK,IAAAA,OAKVF,QAAOE,IAAAA,KAKPT,KAAIS,IAAAA,QAkBRb,EAAuBe,aAAe,CAClCR,MAAM,EACNC,WAAY,GACZG,QAAS,IAGb,MCtDA,EDsDA,C","sources":["webpack://mattermost-webapp/./src/components/sidebar/unread_channel_indicator/unread_channel_indicator.tsx","webpack://mattermost-webapp/./src/components/sidebar/unread_channel_indicator/index.ts"],"sourcesContent":["// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.\n// See LICENSE.txt for license information.\n\nimport classNames from 'classnames';\nimport React from 'react';\n\nimport UnreadBelowIcon from 'components/widgets/icons/unread_below_icon';\n\nimport './unread_channel_indicator.scss';\n\ntype Props = {\n\n /**\n * Function to call when the indicator is clicked\n */\n onClick: (event: React.MouseEvent<HTMLDivElement>) => void;\n\n /**\n * Set whether to show the indicator or not\n */\n show?: boolean;\n\n /**\n * The additional CSS class for the indicator\n */\n extraClass?: string;\n\n /**\n * The content of the indicator\n */\n content?: React.ReactNode;\n\n /**\n * The name of the indicator\n */\n name?: string;\n}\n\nfunction UnreadChannelIndicator(props: Props) {\n return (\n <div\n id={'unreadIndicator' + props.name}\n className={classNames('nav-pills__unread-indicator', {\n 'nav-pills__unread-indicator--visible': props.show,\n }, props.extraClass)}\n onClick={props.onClick}\n >\n <UnreadBelowIcon className='icon icon__unread'/>\n {props.content}\n </div>\n );\n}\n\nUnreadChannelIndicator.defaultProps = {\n show: false,\n extraClass: '',\n content: '',\n};\n\nexport default UnreadChannelIndicator;\n","// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.\n// See LICENSE.txt for license information.\n\nimport UnreadChannelIndicator from './unread_channel_indicator';\n\nexport default UnreadChannelIndicator;\n"],"names":["UnreadChannelIndicator","props","React","id","name","className","classNames","show","extraClass","onClick","UnreadBelowIcon","content","propTypes","_pt","isRequired","defaultProps"],"sourceRoot":""}