1 |
- {"version":3,"sources":["../../../src/components/ContentItem/index.js"],"names":["dayjs","extend","relativeTime","LOCALES","CommentItem","props","state","showInput","showPreviewer","previewerIndex","popoverVisible","handleToggleInput","bind","renderTextWithReply","hidePreviewer","handleVisibleChange","index","setState","visible","text","content","newText","reply","user_name","commentId","replyId","action","showReply","onShowReply","app","user_id","locale","userAvaClick","showHoverCard","newContent","images","indexOf","IMAGE_SPLIT","split","pop","join","imageList","needClear","length","imgs","splice","type","IconColor","favor_count","user_avatar","avatar","backgroundImage","cursor","intl","get","marginLeft","created","format","fromNow","__html","map","item","i","reply_count","total","userId","sDeleteReply","id","sDeleteComment","sReplyFavor","favored","sCommentFavor","color","children","Component","propTypes","PropTypes","object","isRequired","oneOf","func","defaultProps"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;AACA;;;;AAEA;;;;AACA;;AAEA;;;;AACA;;;;AACA;;;;AACA;;;;AACA;;;;AACA;;;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;;;;AAVA;;;AAYA;AACAA,gBAAMC,MAAN,CAAaC,sBAAb;;AAEA,IAAMC,UAAU;AACd,WAAS;AADK,CAAhB;;IAIMC,W;;;AACJ,uBAAYC,KAAZ,EAAmB;AAAA;;AAAA,0HACXA,KADW;;AAEjB,UAAKC,KAAL,GAAa;AACXC,iBAAW,KADA;AAEXC,qBAAe,KAFJ;AAGXC,sBAAgB,CAHL;AAIXC,sBAAgB;AAJL,KAAb;AAMA,UAAKC,iBAAL,GAAyB,MAAKA,iBAAL,CAAuBC,IAAvB,OAAzB;AACA,UAAKC,mBAAL,GAA2B,MAAKA,mBAAL,CAAyBD,IAAzB,OAA3B;AACA,UAAKJ,aAAL,GAAqB,MAAKA,aAAL,CAAmBI,IAAnB,OAArB;AACA,UAAKE,aAAL,GAAqB,MAAKA,aAAL,CAAmBF,IAAnB,OAArB;AACA,UAAKG,mBAAL,GAA2B,MAAKA,mBAAL,CAAyBH,IAAzB,OAA3B;AA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ANjB;AAtLJ,OADF;AAkMD;;;;EAvSuB+D,gB;;AA0S1BtE,YAAYuE,SAAZ,GAAwB;AACtBvD,WAASwD,oBAAUC,MAAV,CAAiBC,UADJ;AAEtB;AACA;AACA;AACApD,UAAQkD,oBAAUG,KAAV,CAAgB,CAAC,SAAD,EAAY,OAAZ,EAAqB,cAArB,CAAhB,CALc;AAMtBnD,eAAagD,oBAAUI;AAND,CAAxB;;AASA5E,YAAY6E,YAAZ,GAA2B;AACzBvD,UAAQ,SADiB;AAEzBE,eAAa,uBAAM,CAAE;AAFI,CAA3B;;kBAKe,uBAAQxB,WAAR,C","file":"index.js","sourcesContent":["import React, { Component } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Icon, Tooltip, Popconfirm, Popover } from \"antd\";\nimport dayjs from \"dayjs\";\nimport \"dayjs/locale/zh-cn\";\n// import 'dayjs/locale/es';\nimport relativeTime from \"dayjs/plugin/relativeTime\";\nimport intl from \"react-intl-universal\";\nimport AvatarHoverCard from \"./AvatarHoverCard\";\nimport Comment from \"../../Comment\";\nimport CommentInput from \"../CommentInput\";\nimport avatar from \"../../avatar\";\nimport { renderContent } from \"../../helper\";\nimport { IMAGE_SPLIT } from \"../../constant\";\nimport \"./index.css\";\nimport ImagePreviewer from \"../ImagePreviewer/ImagePreviewer\";\n\n// dayjs.locale(\"zh-cn\");\ndayjs.extend(relativeTime);\n\nconst LOCALES = {\n \"zh-CN\": \"zh-cn\"\n};\n\nclass CommentItem extends Component {\n constructor(props) {\n super(props);\n this.state = {\n showInput: false,\n showPreviewer: false,\n previewerIndex: 0,\n popoverVisible: false\n };\n this.handleToggleInput = this.handleToggleInput.bind(this);\n this.renderTextWithReply = this.renderTextWithReply.bind(this);\n this.showPreviewer = this.showPreviewer.bind(this);\n this.hidePreviewer = this.hidePreviewer.bind(this);\n this.handleVisibleChange = this.handleVisibleChange.bind(this);\n }\n\n showPreviewer(index) {\n this.setState({\n showPreviewer: true,\n previewerIndex: index\n });\n }\n\n hidePreviewer() {\n this.setState({\n showPreviewer: false\n });\n }\n\n handleToggleInput() {\n this.setState({ showInput: !this.state.showInput });\n }\n\n handleVisibleChange(visible) {\n this.setState({\n popoverVisible: visible\n });\n }\n\n renderTextWithReply(text, content) {\n let newText = text;\n const { reply } = content;\n if (reply) {\n // newText = `${newText} //@<a href=\"/${reply.user_id}\">${\n // reply.user_name\n // }</a> ${reply.content}`;\n newText = `${newText} //@${reply.user_name} ${reply.content}`;\n // newText = (\n // <span>\n // {newText}\n // @<a href={`/${reply.user_id}`}>{reply.user_name}</a>{reply.content}\n // </span>\n // )\n if (reply.reply) {\n return this.renderTextWithReply(newText, reply);\n }\n }\n return newText;\n }\n\n render() {\n const {\n commentId,\n replyId,\n content,\n action,\n showReply,\n onShowReply,\n app,\n user_id\n } = this.props;\n\n const { locale, userAvaClick, showHoverCard } = this.props.app;\n const { showInput } = this.state;\n\n let newContent = content.content;\n let images = \"\";\n if (newContent.indexOf(IMAGE_SPLIT) !== -1) {\n newContent = newContent.split(IMAGE_SPLIT);\n images = newContent.pop();\n newContent = newContent.join(\"\");\n }\n\n const imageList = images.split(\",\");\n\n // 在3, 7前需要换行\n const needClear =\n imageList.length === 5 ||\n imageList.length === 6 ||\n imageList.length === 9;\n const imgs = [...imageList];\n if (needClear) {\n if (imgs.length > 6) {\n imgs.splice(3, 0, { type: \"divider\" });\n imgs.splice(7, 0, { type: \"divider\" });\n } else {\n imgs.splice(3, 0, { type: \"divider\" });\n }\n }\n const IconColor = content.favor_count > 0 ? \"#71C135\" : \"#4a90e2\";\n\n return (\n <div className=\"comment-item-box\">\n <div className=\"comment-item-left\">\n {showHoverCard ? (\n <Popover\n content={\n <AvatarHoverCard\n {...this.props.app}\n user_id={user_id}\n handleVisibleChange={this.handleVisibleChange}\n image={content.user_avatar || avatar}\n />\n }\n // placement={this.props.placement}\n // trigger=\"click\"\n visible={this.state.popoverVisible}\n onVisibleChange={this.handleVisibleChange}\n overlayClassName=\"avatar-hover-card-overlay\"\n >\n <div\n className=\"comment-item-avatar\"\n style={{\n backgroundImage: `url(${content.user_avatar || avatar})`\n }}\n onClick={() => userAvaClick(user_id)}\n />\n </Popover>\n ) : (\n <div\n className=\"comment-item-avatar\"\n style={{\n backgroundImage: `url(${content.user_avatar || avatar})`\n }}\n onClick={() => {\n userAvaClick(user_id);\n }}\n />\n )}\n </div>\n <div className=\"comment-item-right\">\n <div>\n {/* <a href={`/${content.user_id}`}>\n {content.user_name || \"暂无昵称\"}\n </a> */}\n <strong\n onClick={() => userAvaClick(user_id)}\n style={{ cursor: \"pointer\" }}\n >\n {content.user_name || intl.get(\"comment.tourist\")}\n </strong>\n <span style={{ marginLeft: 10 }}>\n <Tooltip\n placement=\"top\"\n title={dayjs(content.created * 1000).format(\n \"YYYY-MM-DD HH:mm:ss\"\n )}\n >\n {LOCALES[locale]\n ? dayjs(content.created * 1000)\n .locale(LOCALES[locale])\n .fromNow()\n : dayjs(content.created * 1000).fromNow()}\n </Tooltip>\n </span>\n </div>\n <div\n className=\"comment-item-content\"\n dangerouslySetInnerHTML={{\n __html: renderContent(\n this.renderTextWithReply(newContent, content)\n )\n }}\n />\n {// image为空时不渲染comment-item-image\n imageList.length > 0 && imageList[0] !== \"\" && (\n <div className=\"comment-item-image\">\n {!this.state.showPreviewer &&\n imgs.map((item, index) => {\n if (item.type === \"divider\") {\n return (\n <div className=\"comment-item-image-wrapper\" key={index}>\n <div className=\"comment-img-divider\" />\n {/* <img src={item} alt={item} className=\"comment-img\" /> */}\n </div>\n );\n }\n return (\n <div\n className=\"comment-item-image-wrapper\"\n key={index}\n onClick={() => {\n let i = index;\n if (needClear) {\n if (index > 3) {\n i -= 1;\n }\n if (index > 7) {\n i -= 1;\n }\n }\n this.showPreviewer(i);\n }}\n >\n <div\n style={{ backgroundImage: `url(${item})` }}\n className=\"comment-img-thumbnail\"\n />\n {/* <img src={item} alt={item} className=\"comment-img\" /> */}\n </div>\n );\n })}\n {this.state.showPreviewer && (\n <ImagePreviewer\n list={imageList}\n index={this.state.previewerIndex}\n onFold={this.hidePreviewer}\n />\n )}\n <div className=\"clearfix\" />\n </div>\n )}\n <div className=\"comment-item-bottom\">\n {content.reply_count ? (\n <div>\n <a className=\"comment-item-bottom-left\" onClick={onShowReply}>\n {/* {content.reply_count} 条回复 */}\n {intl.get(\"reply.totalReply\", { total: content.reply_count })}\n {showReply ? <Icon type=\"up\" /> : <Icon type=\"down\" />}\n </a>\n </div>\n ) : null}\n {app.userId === content.user_id && (\n <Popconfirm\n // title=\"确定要删除吗?\"\n title={intl.get(\"popConfirm.title\")}\n onConfirm={() => {\n if (replyId) {\n app.sDeleteReply(content.id, commentId);\n return;\n }\n app.sDeleteComment(content.id);\n }}\n okText={intl.get(\"popConfirm.ok\")}\n cancelText={intl.get(\"popConfirm.cancel\")}\n >\n <a className=\"comment-item-bottom-right\">\n {intl.get(\"popConfirm.delete\")}\n </a>\n </Popconfirm>\n )}\n <a\n onClick={this.handleToggleInput}\n className=\"comment-item-bottom-right\"\n >\n {intl.get(\"comment.reply\")}\n </a>\n <div\n className=\"comment-item-bottom-right\"\n onClick={() => {\n if (replyId) {\n // 如果有 replyId,则说明是评论的回复\n app.sReplyFavor(content.id, commentId, content.favored);\n return;\n }\n app.sCommentFavor(content.id, content.favored);\n }}\n style={{ color: `${IconColor}` }}\n >\n <Icon\n type=\"like-o\"\n className={\n content.favored\n ? \"comment-favor comment-favored\"\n : \"comment-favor\"\n }\n style={{ color: `${IconColor}` }}\n />\n {content.favor_count}\n </div>\n </div>\n </div>\n\n {showInput && (\n <CommentInput\n content={app.children}\n action={action}\n replyId={replyId}\n commentId={commentId}\n userId={content.user_id}\n callback={this.handleToggleInput}\n />\n )}\n </div>\n );\n }\n}\n\nCommentItem.propTypes = {\n content: PropTypes.object.isRequired,\n // comment 评论\n // reply 评论的回复\n // replyToReply 回复的回复\n action: PropTypes.oneOf([\"comment\", \"reply\", \"replyToReply\"]),\n onShowReply: PropTypes.func\n};\n\nCommentItem.defaultProps = {\n action: \"comment\",\n onShowReply: () => {}\n};\n\nexport default Comment(CommentItem);\n"]}
|