systemrobotassistant 3.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of systemrobotassistant might be problematic. Click here for more details.
- package/.eslintignore +6 -0
- package/.eslintrc +45 -0
- package/.gitlab-ci.yml +52 -0
- package/.lecprc.ts +76 -0
- package/.yarnrc +1 -0
- package/CHANGELOG.md +114 -0
- package/README.md +14 -0
- package/custom-amd-plugin.ts +46 -0
- package/es/component/answer-itme/index.d.ts +20 -0
- package/es/component/answer-itme/index.d.ts.map +1 -0
- package/es/component/answer-itme/index.js +41 -0
- package/es/component/answer-itme/style.css +35 -0
- package/es/component/data-container/index.d.ts +19 -0
- package/es/component/data-container/index.d.ts.map +1 -0
- package/es/component/data-container/index.js +37 -0
- package/es/component/data-container/style.css +26 -0
- package/es/component/days-tab/index.d.ts +6 -0
- package/es/component/days-tab/index.d.ts.map +1 -0
- package/es/component/days-tab/index.js +119 -0
- package/es/component/days-tab/style.css +43 -0
- package/es/component/days-tab/utils.d.ts +32 -0
- package/es/component/days-tab/utils.d.ts.map +1 -0
- package/es/component/days-tab/utils.js +98 -0
- package/es/component/error-boundary/index.d.ts +2 -0
- package/es/component/error-boundary/index.d.ts.map +1 -0
- package/es/component/error-boundary/index.js +33 -0
- package/es/component/it-notice-modal/columns.d.ts +11 -0
- package/es/component/it-notice-modal/columns.d.ts.map +1 -0
- package/es/component/it-notice-modal/columns.js +108 -0
- package/es/component/it-notice-modal/double-tab.d.ts +6 -0
- package/es/component/it-notice-modal/double-tab.d.ts.map +1 -0
- package/es/component/it-notice-modal/double-tab.js +94 -0
- package/es/component/it-notice-modal/index.d.ts +6 -0
- package/es/component/it-notice-modal/index.d.ts.map +1 -0
- package/es/component/it-notice-modal/index.js +488 -0
- package/es/component/it-notice-modal/server.d.ts +8 -0
- package/es/component/it-notice-modal/server.d.ts.map +1 -0
- package/es/component/it-notice-modal/server.js +43 -0
- package/es/component/it-notice-modal/single-tab.d.ts +6 -0
- package/es/component/it-notice-modal/single-tab.d.ts.map +1 -0
- package/es/component/it-notice-modal/single-tab.js +82 -0
- package/es/component/it-notice-modal/style.css +301 -0
- package/es/component/it-notice-modal/utils.d.ts +2 -0
- package/es/component/it-notice-modal/utils.d.ts.map +1 -0
- package/es/component/it-notice-modal/utils.js +8 -0
- package/es/component/it-notice-tab/index.d.ts +6 -0
- package/es/component/it-notice-tab/index.d.ts.map +1 -0
- package/es/component/it-notice-tab/index.js +206 -0
- package/es/component/it-notice-tab/server.d.ts +3 -0
- package/es/component/it-notice-tab/server.d.ts.map +1 -0
- package/es/component/it-notice-tab/server.js +13 -0
- package/es/component/it-notice-tab/style.css +103 -0
- package/es/component/mail-list-modal/index.d.ts +2 -0
- package/es/component/mail-list-modal/index.d.ts.map +1 -0
- package/es/component/mail-list-modal/index.js +306 -0
- package/es/component/mail-list-modal/server.d.ts +7 -0
- package/es/component/mail-list-modal/server.d.ts.map +1 -0
- package/es/component/mail-list-modal/server.js +38 -0
- package/es/component/mail-list-modal/style.css +132 -0
- package/es/component/myself-chat-card/index.d.ts +15 -0
- package/es/component/myself-chat-card/index.d.ts.map +1 -0
- package/es/component/myself-chat-card/index.js +25 -0
- package/es/component/myself-chat-card/style.css +22 -0
- package/es/component/need-answer/index.d.ts +15 -0
- package/es/component/need-answer/index.d.ts.map +1 -0
- package/es/component/need-answer/index.js +60 -0
- package/es/component/need-answer/style.css +19 -0
- package/es/component/opppsition-chat-card/index.d.ts +11 -0
- package/es/component/opppsition-chat-card/index.d.ts.map +1 -0
- package/es/component/opppsition-chat-card/index.js +25 -0
- package/es/component/opppsition-chat-card/style.css +23 -0
- package/es/component/question-library/index.d.ts +10 -0
- package/es/component/question-library/index.d.ts.map +1 -0
- package/es/component/question-library/index.js +291 -0
- package/es/component/question-library/server.d.ts +4 -0
- package/es/component/question-library/server.d.ts.map +1 -0
- package/es/component/question-library/server.js +19 -0
- package/es/component/question-library/style.css +75 -0
- package/es/component/question-tag/index.d.ts +11 -0
- package/es/component/question-tag/index.d.ts.map +1 -0
- package/es/component/question-tag/index.js +23 -0
- package/es/component/question-tag/style.css +12 -0
- package/es/component/recommend-questions-card/index.d.ts +10 -0
- package/es/component/recommend-questions-card/index.d.ts.map +1 -0
- package/es/component/recommend-questions-card/index.js +104 -0
- package/es/component/recommend-questions-card/style.css +54 -0
- package/es/component/scroll-view/index.d.ts +3 -0
- package/es/component/scroll-view/index.d.ts.map +1 -0
- package/es/component/scroll-view/index.js +2 -0
- package/es/component/scroll-view/scroll-view.d.ts +18 -0
- package/es/component/scroll-view/scroll-view.d.ts.map +1 -0
- package/es/component/scroll-view/scroll-view.js +66 -0
- package/es/component/scroll-view/style.css +34 -0
- package/es/component/tab/index.d.ts +2 -0
- package/es/component/tab/index.d.ts.map +1 -0
- package/es/component/tab/index.js +18 -0
- package/es/component/tab/style.css +26 -0
- package/es/component/tips-answer/index.d.ts +15 -0
- package/es/component/tips-answer/index.d.ts.map +1 -0
- package/es/component/tips-answer/index.js +28 -0
- package/es/component/tips-answer/style.css +10 -0
- package/es/images/expire-robot.svg +16 -0
- package/es/images/pc-invalid.svg +11 -0
- package/es/images/screenshot-5.png +0 -0
- package/es/index.d.ts +92 -0
- package/es/index.d.ts.map +1 -0
- package/es/index.js +506 -0
- package/es/js/const.d.ts +41 -0
- package/es/js/const.d.ts.map +1 -0
- package/es/js/const.js +46 -0
- package/es/js/gen-render-promise.d.ts +9 -0
- package/es/js/gen-render-promise.d.ts.map +1 -0
- package/es/js/gen-render-promise.js +30 -0
- package/es/js/get-time.d.ts +15 -0
- package/es/js/get-time.d.ts.map +1 -0
- package/es/js/get-time.js +35 -0
- package/es/js/hfc-space.d.ts +16 -0
- package/es/js/hfc-space.d.ts.map +1 -0
- package/es/js/hfc-space.js +71 -0
- package/es/js/render-special.d.ts +16 -0
- package/es/js/render-special.d.ts.map +1 -0
- package/es/js/render-special.js +53 -0
- package/es/js/request/fetch.d.ts +10 -0
- package/es/js/request/fetch.d.ts.map +1 -0
- package/es/js/request/fetch.js +81 -0
- package/es/js/request/request.d.ts +3 -0
- package/es/js/request/request.d.ts.map +1 -0
- package/es/js/request/request.js +63 -0
- package/es/js/showMessage.d.ts +15 -0
- package/es/js/showMessage.d.ts.map +1 -0
- package/es/js/showMessage.js +75 -0
- package/es/js/state-immer.d.ts +3 -0
- package/es/js/state-immer.d.ts.map +1 -0
- package/es/js/state-immer.js +19 -0
- package/es/js/timer-executor.d.ts +3 -0
- package/es/js/timer-executor.d.ts.map +1 -0
- package/es/js/timer-executor.js +83 -0
- package/es/js/to-hfc.d.ts +2 -0
- package/es/js/to-hfc.d.ts.map +1 -0
- package/es/js/to-hfc.js +8 -0
- package/es/js/utils.d.ts +3 -0
- package/es/js/utils.d.ts.map +1 -0
- package/es/js/utils.js +11 -0
- package/es/jsx/chat-modal.d.ts +16 -0
- package/es/jsx/chat-modal.d.ts.map +1 -0
- package/es/jsx/chat-modal.js +268 -0
- package/es/server.d.ts +8 -0
- package/es/server.d.ts.map +1 -0
- package/es/server.js +44 -0
- package/es/style.css +174 -0
- package/lib/component/answer-itme/index.d.ts +20 -0
- package/lib/component/answer-itme/index.d.ts.map +1 -0
- package/lib/component/answer-itme/index.js +51 -0
- package/lib/component/answer-itme/style.css +35 -0
- package/lib/component/data-container/index.d.ts +19 -0
- package/lib/component/data-container/index.d.ts.map +1 -0
- package/lib/component/data-container/index.js +45 -0
- package/lib/component/data-container/style.css +26 -0
- package/lib/component/days-tab/index.d.ts +6 -0
- package/lib/component/days-tab/index.d.ts.map +1 -0
- package/lib/component/days-tab/index.js +129 -0
- package/lib/component/days-tab/style.css +43 -0
- package/lib/component/days-tab/utils.d.ts +32 -0
- package/lib/component/days-tab/utils.d.ts.map +1 -0
- package/lib/component/days-tab/utils.js +110 -0
- package/lib/component/error-boundary/index.d.ts +2 -0
- package/lib/component/error-boundary/index.d.ts.map +1 -0
- package/lib/component/error-boundary/index.js +40 -0
- package/lib/component/it-notice-modal/columns.d.ts +11 -0
- package/lib/component/it-notice-modal/columns.d.ts.map +1 -0
- package/lib/component/it-notice-modal/columns.js +116 -0
- package/lib/component/it-notice-modal/double-tab.d.ts +6 -0
- package/lib/component/it-notice-modal/double-tab.d.ts.map +1 -0
- package/lib/component/it-notice-modal/double-tab.js +104 -0
- package/lib/component/it-notice-modal/index.d.ts +6 -0
- package/lib/component/it-notice-modal/index.d.ts.map +1 -0
- package/lib/component/it-notice-modal/index.js +499 -0
- package/lib/component/it-notice-modal/server.d.ts +8 -0
- package/lib/component/it-notice-modal/server.d.ts.map +1 -0
- package/lib/component/it-notice-modal/server.js +55 -0
- package/lib/component/it-notice-modal/single-tab.d.ts +6 -0
- package/lib/component/it-notice-modal/single-tab.d.ts.map +1 -0
- package/lib/component/it-notice-modal/single-tab.js +92 -0
- package/lib/component/it-notice-modal/style.css +301 -0
- package/lib/component/it-notice-modal/utils.d.ts +2 -0
- package/lib/component/it-notice-modal/utils.d.ts.map +1 -0
- package/lib/component/it-notice-modal/utils.js +15 -0
- package/lib/component/it-notice-tab/index.d.ts +6 -0
- package/lib/component/it-notice-tab/index.d.ts.map +1 -0
- package/lib/component/it-notice-tab/index.js +216 -0
- package/lib/component/it-notice-tab/server.d.ts +3 -0
- package/lib/component/it-notice-tab/server.d.ts.map +1 -0
- package/lib/component/it-notice-tab/server.js +20 -0
- package/lib/component/it-notice-tab/style.css +103 -0
- package/lib/component/mail-list-modal/index.d.ts +2 -0
- package/lib/component/mail-list-modal/index.d.ts.map +1 -0
- package/lib/component/mail-list-modal/index.js +316 -0
- package/lib/component/mail-list-modal/server.d.ts +7 -0
- package/lib/component/mail-list-modal/server.d.ts.map +1 -0
- package/lib/component/mail-list-modal/server.js +50 -0
- package/lib/component/mail-list-modal/style.css +132 -0
- package/lib/component/myself-chat-card/index.d.ts +15 -0
- package/lib/component/myself-chat-card/index.d.ts.map +1 -0
- package/lib/component/myself-chat-card/index.js +35 -0
- package/lib/component/myself-chat-card/style.css +22 -0
- package/lib/component/need-answer/index.d.ts +15 -0
- package/lib/component/need-answer/index.d.ts.map +1 -0
- package/lib/component/need-answer/index.js +70 -0
- package/lib/component/need-answer/style.css +19 -0
- package/lib/component/opppsition-chat-card/index.d.ts +11 -0
- package/lib/component/opppsition-chat-card/index.d.ts.map +1 -0
- package/lib/component/opppsition-chat-card/index.js +35 -0
- package/lib/component/opppsition-chat-card/style.css +23 -0
- package/lib/component/question-library/index.d.ts +10 -0
- package/lib/component/question-library/index.d.ts.map +1 -0
- package/lib/component/question-library/index.js +301 -0
- package/lib/component/question-library/server.d.ts +4 -0
- package/lib/component/question-library/server.d.ts.map +1 -0
- package/lib/component/question-library/server.js +27 -0
- package/lib/component/question-library/style.css +75 -0
- package/lib/component/question-tag/index.d.ts +11 -0
- package/lib/component/question-tag/index.d.ts.map +1 -0
- package/lib/component/question-tag/index.js +33 -0
- package/lib/component/question-tag/style.css +12 -0
- package/lib/component/recommend-questions-card/index.d.ts +10 -0
- package/lib/component/recommend-questions-card/index.d.ts.map +1 -0
- package/lib/component/recommend-questions-card/index.js +114 -0
- package/lib/component/recommend-questions-card/style.css +54 -0
- package/lib/component/scroll-view/index.d.ts +3 -0
- package/lib/component/scroll-view/index.d.ts.map +1 -0
- package/lib/component/scroll-view/index.js +10 -0
- package/lib/component/scroll-view/scroll-view.d.ts +18 -0
- package/lib/component/scroll-view/scroll-view.d.ts.map +1 -0
- package/lib/component/scroll-view/scroll-view.js +76 -0
- package/lib/component/scroll-view/style.css +34 -0
- package/lib/component/tab/index.d.ts +2 -0
- package/lib/component/tab/index.d.ts.map +1 -0
- package/lib/component/tab/index.js +28 -0
- package/lib/component/tab/style.css +26 -0
- package/lib/component/tips-answer/index.d.ts +15 -0
- package/lib/component/tips-answer/index.d.ts.map +1 -0
- package/lib/component/tips-answer/index.js +38 -0
- package/lib/component/tips-answer/style.css +10 -0
- package/lib/images/expire-robot.svg +16 -0
- package/lib/images/pc-invalid.svg +11 -0
- package/lib/images/screenshot-5.png +0 -0
- package/lib/index.d.ts +92 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +516 -0
- package/lib/js/const.d.ts +41 -0
- package/lib/js/const.d.ts.map +1 -0
- package/lib/js/const.js +55 -0
- package/lib/js/gen-render-promise.d.ts +9 -0
- package/lib/js/gen-render-promise.d.ts.map +1 -0
- package/lib/js/gen-render-promise.js +37 -0
- package/lib/js/get-time.d.ts +15 -0
- package/lib/js/get-time.d.ts.map +1 -0
- package/lib/js/get-time.js +43 -0
- package/lib/js/hfc-space.d.ts +16 -0
- package/lib/js/hfc-space.d.ts.map +1 -0
- package/lib/js/hfc-space.js +91 -0
- package/lib/js/render-special.d.ts +16 -0
- package/lib/js/render-special.d.ts.map +1 -0
- package/lib/js/render-special.js +61 -0
- package/lib/js/request/fetch.d.ts +10 -0
- package/lib/js/request/fetch.d.ts.map +1 -0
- package/lib/js/request/fetch.js +88 -0
- package/lib/js/request/request.d.ts +3 -0
- package/lib/js/request/request.d.ts.map +1 -0
- package/lib/js/request/request.js +71 -0
- package/lib/js/showMessage.d.ts +15 -0
- package/lib/js/showMessage.d.ts.map +1 -0
- package/lib/js/showMessage.js +83 -0
- package/lib/js/state-immer.d.ts +3 -0
- package/lib/js/state-immer.d.ts.map +1 -0
- package/lib/js/state-immer.js +27 -0
- package/lib/js/timer-executor.d.ts +3 -0
- package/lib/js/timer-executor.d.ts.map +1 -0
- package/lib/js/timer-executor.js +91 -0
- package/lib/js/to-hfc.d.ts +2 -0
- package/lib/js/to-hfc.d.ts.map +1 -0
- package/lib/js/to-hfc.js +14 -0
- package/lib/js/utils.d.ts +3 -0
- package/lib/js/utils.d.ts.map +1 -0
- package/lib/js/utils.js +19 -0
- package/lib/jsx/chat-modal.d.ts +16 -0
- package/lib/jsx/chat-modal.d.ts.map +1 -0
- package/lib/jsx/chat-modal.js +278 -0
- package/lib/server.d.ts +8 -0
- package/lib/server.d.ts.map +1 -0
- package/lib/server.js +58 -0
- package/lib/style.css +174 -0
- package/package.json +57 -0
- package/rct.config.js +8 -0
- package/src/component/answer-itme/index.jsx +64 -0
- package/src/component/answer-itme/style.less +37 -0
- package/src/component/data-container/index.jsx +45 -0
- package/src/component/data-container/style.less +27 -0
- package/src/component/days-tab/index.jsx +114 -0
- package/src/component/days-tab/style.less +55 -0
- package/src/component/days-tab/utils.js +87 -0
- package/src/component/error-boundary/index.jsx +39 -0
- package/src/component/it-notice-modal/columns.js +102 -0
- package/src/component/it-notice-modal/double-tab.jsx +83 -0
- package/src/component/it-notice-modal/index.jsx +404 -0
- package/src/component/it-notice-modal/server.js +43 -0
- package/src/component/it-notice-modal/single-tab.jsx +70 -0
- package/src/component/it-notice-modal/style.less +367 -0
- package/src/component/it-notice-modal/utils.js +8 -0
- package/src/component/it-notice-tab/index.jsx +196 -0
- package/src/component/it-notice-tab/server.js +14 -0
- package/src/component/it-notice-tab/style.less +120 -0
- package/src/component/mail-list-modal/index.jsx +270 -0
- package/src/component/mail-list-modal/server.js +38 -0
- package/src/component/mail-list-modal/style.less +154 -0
- package/src/component/myself-chat-card/index.jsx +27 -0
- package/src/component/myself-chat-card/style.less +30 -0
- package/src/component/need-answer/index.jsx +56 -0
- package/src/component/need-answer/style.less +21 -0
- package/src/component/opppsition-chat-card/index.jsx +25 -0
- package/src/component/opppsition-chat-card/style.less +33 -0
- package/src/component/question-library/index.jsx +316 -0
- package/src/component/question-library/server.js +19 -0
- package/src/component/question-library/style.less +102 -0
- package/src/component/question-tag/index.jsx +27 -0
- package/src/component/question-tag/style.less +15 -0
- package/src/component/recommend-questions-card/index.jsx +111 -0
- package/src/component/recommend-questions-card/style.less +66 -0
- package/src/component/scroll-view/index.js +3 -0
- package/src/component/scroll-view/scroll-view.jsx +74 -0
- package/src/component/scroll-view/style.less +37 -0
- package/src/component/tab/index.jsx +17 -0
- package/src/component/tab/style.less +26 -0
- package/src/component/tips-answer/index.jsx +38 -0
- package/src/component/tips-answer/style.less +11 -0
- package/src/images/expire-robot.svg +16 -0
- package/src/images/pc-invalid.svg +11 -0
- package/src/images/screenshot-5.png +0 -0
- package/src/index.jsx +554 -0
- package/src/js/const.js +48 -0
- package/src/js/gen-render-promise.js +32 -0
- package/src/js/get-time.js +35 -0
- package/src/js/hfc-space.js +91 -0
- package/src/js/render-special.js +64 -0
- package/src/js/request/fetch.js +87 -0
- package/src/js/request/request.js +74 -0
- package/src/js/showMessage.js +81 -0
- package/src/js/state-immer.js +12 -0
- package/src/js/timer-executor.js +37 -0
- package/src/js/to-hfc.js +9 -0
- package/src/js/utils.js +13 -0
- package/src/jsx/chat-modal.jsx +254 -0
- package/src/main.js +1 -0
- package/src/server.js +45 -0
- package/src/style.less +229 -0
- package/test/cases/case-01.assert.js +6 -0
- package/test/cases/case-01.source.jsx +17 -0
- package/test/cases/case-02.assert.js +6 -0
- package/test/cases/case-02.source.jsx +25 -0
- package/test/cases/case-02.style.less +15 -0
- package/test/cases/case-03.source.jsx +69 -0
- package/test/cases/case-03.style.less +3 -0
- package/tsconfig.json +48 -0
- package/typings.d.ts +5 -0
- package/umd/b415d90208c277ba3703.png +0 -0
- package/umd/index.css +1753 -0
- package/umd/index.js +36258 -0
- package/umd/index.min.css +1 -0
- package/umd/index.min.js +657 -0
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
.shein-components_systemrobotassistant_itNoticeTabCon {
|
|
2
|
+
padding: 0;
|
|
3
|
+
display: flex;
|
|
4
|
+
flex: 1;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
background-color: #F7F9FC;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
word-break: break-all;
|
|
9
|
+
}
|
|
10
|
+
.shein-components_systemrobotassistant_itNoticeTabCon .shein-components_systemrobotassistant_mainNoticeCon {
|
|
11
|
+
margin-top: 12px;
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
flex: 1;
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
}
|
|
17
|
+
.shein-components_systemrobotassistant_itNoticeTabCon .shein-components_systemrobotassistant_cardBody {
|
|
18
|
+
flex: 1;
|
|
19
|
+
overflow-y: auto;
|
|
20
|
+
margin: 0 12px;
|
|
21
|
+
}
|
|
22
|
+
.shein-components_systemrobotassistant_itNoticeTabCon .shein-components_systemrobotassistant_cardBody .shein-components_systemrobotassistant_cardItem {
|
|
23
|
+
margin-bottom: 12px;
|
|
24
|
+
background-color: #FFFFFF;
|
|
25
|
+
border-radius: 8px;
|
|
26
|
+
box-shadow: 0px 1px 2px 0px rgba(25, 122, 250, 0.15);
|
|
27
|
+
}
|
|
28
|
+
.shein-components_systemrobotassistant_itNoticeTabCon .shein-components_systemrobotassistant_cardBody .shein-components_systemrobotassistant_cardItem:last-child {
|
|
29
|
+
margin-bottom: 0;
|
|
30
|
+
}
|
|
31
|
+
.shein-components_systemrobotassistant_itNoticeTabCon .shein-components_systemrobotassistant_cardBody .shein-components_systemrobotassistant_itemHeader {
|
|
32
|
+
padding: 8px 12px;
|
|
33
|
+
display: flex;
|
|
34
|
+
align-items: center;
|
|
35
|
+
flex-wrap: wrap;
|
|
36
|
+
justify-content: space-between;
|
|
37
|
+
box-shadow: inset 0px -1px 0px 0px #E6EAF0;
|
|
38
|
+
}
|
|
39
|
+
.shein-components_systemrobotassistant_itNoticeTabCon .shein-components_systemrobotassistant_cardBody .shein-components_systemrobotassistant_itemHeader .shein-components_systemrobotassistant_img {
|
|
40
|
+
margin-right: 8px;
|
|
41
|
+
}
|
|
42
|
+
.shein-components_systemrobotassistant_itNoticeTabCon .shein-components_systemrobotassistant_cardBody .shein-components_systemrobotassistant_itemHeader .shein-components_systemrobotassistant_total {
|
|
43
|
+
color: #7E848F;
|
|
44
|
+
}
|
|
45
|
+
.shein-components_systemrobotassistant_itNoticeTabCon .shein-components_systemrobotassistant_cardBody .shein-components_systemrobotassistant_itemHeader .shein-components_systemrobotassistant_headerRight {
|
|
46
|
+
margin-left: 8px;
|
|
47
|
+
color: #7E848F;
|
|
48
|
+
}
|
|
49
|
+
.shein-components_systemrobotassistant_itNoticeTabCon .shein-components_systemrobotassistant_cardBody .shein-components_systemrobotassistant_itemBody {
|
|
50
|
+
padding: 12px;
|
|
51
|
+
margin-bottom: 0;
|
|
52
|
+
border-radius: 0px 0px 8px 8px;
|
|
53
|
+
}
|
|
54
|
+
.shein-components_systemrobotassistant_itNoticeTabCon .shein-components_systemrobotassistant_cardBody .shein-components_systemrobotassistant_itemBody .shein-components_systemrobotassistant_listItem {
|
|
55
|
+
margin-top: 12px;
|
|
56
|
+
padding-bottom: 12px;
|
|
57
|
+
border-bottom: 1px solid #E6EAF0;
|
|
58
|
+
}
|
|
59
|
+
.shein-components_systemrobotassistant_itNoticeTabCon .shein-components_systemrobotassistant_cardBody .shein-components_systemrobotassistant_itemBody .shein-components_systemrobotassistant_listItem:first-child {
|
|
60
|
+
margin-top: 0;
|
|
61
|
+
}
|
|
62
|
+
.shein-components_systemrobotassistant_itNoticeTabCon .shein-components_systemrobotassistant_cardBody .shein-components_systemrobotassistant_itemBody .shein-components_systemrobotassistant_listItem:last-child {
|
|
63
|
+
padding-bottom: 0;
|
|
64
|
+
border: none;
|
|
65
|
+
}
|
|
66
|
+
.shein-components_systemrobotassistant_itNoticeTabCon .shein-components_systemrobotassistant_checkMore {
|
|
67
|
+
margin: 12px;
|
|
68
|
+
flex-shrink: 0;
|
|
69
|
+
text-align: center;
|
|
70
|
+
color: #A5ACB8;
|
|
71
|
+
cursor: pointer;
|
|
72
|
+
}
|
|
73
|
+
.shein-components_systemrobotassistant_itNoticeTabCon .shein-components_systemrobotassistant_clickText {
|
|
74
|
+
color: #1890FF;
|
|
75
|
+
color: var(--primary-color, #1890FF);
|
|
76
|
+
cursor: pointer;
|
|
77
|
+
}
|
|
78
|
+
.shein-components_systemrobotassistant_itNoticeTabCon .shein-components_systemrobotassistant_noticeMenus {
|
|
79
|
+
position: absolute;
|
|
80
|
+
left: -120px;
|
|
81
|
+
top: 104px;
|
|
82
|
+
width: 120px;
|
|
83
|
+
max-height: 240px;
|
|
84
|
+
padding: 12px 8px;
|
|
85
|
+
box-shadow: 0px 4px 8px 0px rgba(20, 23, 55, 0.05);
|
|
86
|
+
border-radius: 8px 0px 0px 8px;
|
|
87
|
+
border: 1px solid #F5F6FB;
|
|
88
|
+
background: #FFFFFF;
|
|
89
|
+
overflow-y: auto;
|
|
90
|
+
}
|
|
91
|
+
.shein-components_systemrobotassistant_itNoticeTabCon .shein-components_systemrobotassistant_noticeMenus .shein-components_systemrobotassistant_menuItem {
|
|
92
|
+
padding: 5px 8px;
|
|
93
|
+
border-radius: 4px;
|
|
94
|
+
cursor: pointer;
|
|
95
|
+
overflow: hidden;
|
|
96
|
+
text-overflow: ellipsis;
|
|
97
|
+
white-space: nowrap;
|
|
98
|
+
}
|
|
99
|
+
.shein-components_systemrobotassistant_itNoticeTabCon .shein-components_systemrobotassistant_noticeMenus .shein-components_systemrobotassistant_menuItem.shein-components_systemrobotassistant_active {
|
|
100
|
+
background-color: #E2F2FF;
|
|
101
|
+
color: #1890FF;
|
|
102
|
+
color: var(--primary-color, #1890FF);
|
|
103
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/component/mail-list-modal/index.jsx"],"names":[],"mappings":";AAUA,gEAiQE"}
|
|
@@ -0,0 +1,306 @@
|
|
|
1
|
+
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == typeof value && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel; context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method"); } return ContinueSentinel; } var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
|
|
2
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
3
|
+
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
4
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
5
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
6
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
7
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
8
|
+
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
9
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
10
|
+
import React, { memo, useCallback, useEffect, useRef } from 'react';
|
|
11
|
+
import classNames from 'classnames';
|
|
12
|
+
import Ellipsis from '@shein-components/Ellipsis';
|
|
13
|
+
import Icon from '@shein-components/Icon';
|
|
14
|
+
import { Tree, Input, Button } from 'shineout';
|
|
15
|
+
import useStateByImmer from "../../js/state-immer";
|
|
16
|
+
import HeaderImg from "../../images/screenshot-5.png";
|
|
17
|
+
import "./style.css";
|
|
18
|
+
var styles = {
|
|
19
|
+
"systemTipsWrapper": "shein-components_systemrobotassistant_systemTipsWrapper",
|
|
20
|
+
"onGuarantee": "shein-components_systemrobotassistant_onGuarantee",
|
|
21
|
+
"chatWarp": "shein-components_systemrobotassistant_chatWarp",
|
|
22
|
+
"listWrapper": "shein-components_systemrobotassistant_listWrapper",
|
|
23
|
+
"searchWarp": "shein-components_systemrobotassistant_searchWarp",
|
|
24
|
+
"listShow": "shein-components_systemrobotassistant_listShow",
|
|
25
|
+
"mailListModalItem": "shein-components_systemrobotassistant_mailListModalItem",
|
|
26
|
+
"img": "shein-components_systemrobotassistant_img",
|
|
27
|
+
"mailListModalItemLeft": "shein-components_systemrobotassistant_mailListModalItemLeft",
|
|
28
|
+
"userName": "shein-components_systemrobotassistant_userName",
|
|
29
|
+
"problem": "shein-components_systemrobotassistant_problem",
|
|
30
|
+
"findRight": "shein-components_systemrobotassistant_findRight",
|
|
31
|
+
"findHim": "shein-components_systemrobotassistant_findHim",
|
|
32
|
+
"personFindedHim": "shein-components_systemrobotassistant_personFindedHim",
|
|
33
|
+
"empty": "shein-components_systemrobotassistant_empty",
|
|
34
|
+
"modalWrapper": "shein-components_systemrobotassistant_modalWrapper",
|
|
35
|
+
"treeWarp": "shein-components_systemrobotassistant_treeWarp",
|
|
36
|
+
"treeStyle": "shein-components_systemrobotassistant_treeStyle",
|
|
37
|
+
"treeItem": "shein-components_systemrobotassistant_treeItem",
|
|
38
|
+
"selectedGroup": "shein-components_systemrobotassistant_selectedGroup"
|
|
39
|
+
};
|
|
40
|
+
import * as Server from "./server";
|
|
41
|
+
var MailListModal = /*#__PURE__*/memo(props => {
|
|
42
|
+
var _state$list, _state$list2, _state$list3;
|
|
43
|
+
var isHasGuarantee = props.isHasGuarantee,
|
|
44
|
+
checkBeforeCallWechat = props.checkBeforeCallWechat,
|
|
45
|
+
groupTree = props.groupTree,
|
|
46
|
+
defaultSelectedGroupId = props.defaultSelectedGroupId,
|
|
47
|
+
chatgptUse = props.chatgptUse,
|
|
48
|
+
allConfigUserGroupIdList = props.allConfigUserGroupIdList,
|
|
49
|
+
t = props.t;
|
|
50
|
+
var inputTimer = useRef(null);
|
|
51
|
+
var reqQueue = useRef([]);
|
|
52
|
+
var curReqTime = useRef(null);
|
|
53
|
+
var _useStateByImmer = useStateByImmer({
|
|
54
|
+
list: [],
|
|
55
|
+
userName: '',
|
|
56
|
+
selectedGroupId: defaultSelectedGroupId
|
|
57
|
+
}),
|
|
58
|
+
_useStateByImmer2 = _slicedToArray(_useStateByImmer, 2),
|
|
59
|
+
state = _useStateByImmer2[0],
|
|
60
|
+
setState = _useStateByImmer2[1];
|
|
61
|
+
var getList = useCallback( /*#__PURE__*/function () {
|
|
62
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
|
|
63
|
+
var _reqQueue$current, _reqQueue$current2;
|
|
64
|
+
var _ref2, id, userName, time, selectedId, res, hasLatestReq;
|
|
65
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
66
|
+
while (1) switch (_context.prev = _context.next) {
|
|
67
|
+
case 0:
|
|
68
|
+
_ref2 = params || {}, id = _ref2.id, userName = _ref2.userName;
|
|
69
|
+
time = new Date().getTime();
|
|
70
|
+
curReqTime.current = time;
|
|
71
|
+
reqQueue.current = [...((reqQueue === null || reqQueue === void 0 ? void 0 : reqQueue.current) || []), time];
|
|
72
|
+
selectedId = id || state.selectedGroupId;
|
|
73
|
+
_context.next = 7;
|
|
74
|
+
return Server.handlerList({
|
|
75
|
+
// eslint-disable-next-line no-nested-ternary
|
|
76
|
+
configUserGroupIdList: selectedId === '0' ? allConfigUserGroupIdList : selectedId ? [selectedId] : [],
|
|
77
|
+
userName: userName ? userName.replace(/\s+/g, '') : undefined
|
|
78
|
+
});
|
|
79
|
+
case 7:
|
|
80
|
+
res = _context.sent;
|
|
81
|
+
// 寻找当前请求队列中是否有最新请求
|
|
82
|
+
hasLatestReq = reqQueue === null || reqQueue === void 0 ? void 0 : (_reqQueue$current = reqQueue.current) === null || _reqQueue$current === void 0 ? void 0 : _reqQueue$current.find(item => item === curReqTime.current);
|
|
83
|
+
reqQueue.current = (reqQueue === null || reqQueue === void 0 ? void 0 : (_reqQueue$current2 = reqQueue.current) === null || _reqQueue$current2 === void 0 ? void 0 : _reqQueue$current2.filter(item => item !== time)) || [];
|
|
84
|
+
// 如果没有最新请求且当前返回的不是最新请求的响应,不替换响应数据
|
|
85
|
+
if (!(!hasLatestReq && curReqTime.current !== time)) {
|
|
86
|
+
_context.next = 12;
|
|
87
|
+
break;
|
|
88
|
+
}
|
|
89
|
+
return _context.abrupt("return");
|
|
90
|
+
case 12:
|
|
91
|
+
if (res) {
|
|
92
|
+
setState({
|
|
93
|
+
list: res.info || []
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
case 13:
|
|
97
|
+
case "end":
|
|
98
|
+
return _context.stop();
|
|
99
|
+
}
|
|
100
|
+
}, _callee);
|
|
101
|
+
}));
|
|
102
|
+
return function (_x) {
|
|
103
|
+
return _ref.apply(this, arguments);
|
|
104
|
+
};
|
|
105
|
+
}(), [state.selectedGroupId, allConfigUserGroupIdList]);
|
|
106
|
+
var collect = useCallback( /*#__PURE__*/function () {
|
|
107
|
+
var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(item, isCollect) {
|
|
108
|
+
var res;
|
|
109
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
110
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
111
|
+
case 0:
|
|
112
|
+
_context2.next = 2;
|
|
113
|
+
return Server.collect({
|
|
114
|
+
isCollect,
|
|
115
|
+
receiveEmployeeId: item.userNum
|
|
116
|
+
});
|
|
117
|
+
case 2:
|
|
118
|
+
res = _context2.sent;
|
|
119
|
+
if (res) {
|
|
120
|
+
getList({
|
|
121
|
+
userName: state.userName
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
case 4:
|
|
125
|
+
case "end":
|
|
126
|
+
return _context2.stop();
|
|
127
|
+
}
|
|
128
|
+
}, _callee2);
|
|
129
|
+
}));
|
|
130
|
+
return function (_x2, _x3) {
|
|
131
|
+
return _ref3.apply(this, arguments);
|
|
132
|
+
};
|
|
133
|
+
}(), [state.userName, getList]);
|
|
134
|
+
var callWeChat = useCallback(item => {
|
|
135
|
+
Server.weComContactStatistics({
|
|
136
|
+
receiveEmployeeId: item.userNum
|
|
137
|
+
}).then(() => {
|
|
138
|
+
getList({
|
|
139
|
+
userName: state.userName
|
|
140
|
+
});
|
|
141
|
+
});
|
|
142
|
+
if (item.userType === 2) {
|
|
143
|
+
window.open(item.linkUrl);
|
|
144
|
+
return;
|
|
145
|
+
}
|
|
146
|
+
Server.getWechatLaunchCode({
|
|
147
|
+
userNum: item.userNum
|
|
148
|
+
}).then(res => {
|
|
149
|
+
if (res) {
|
|
150
|
+
window.open(`wxwork://launch?launch_code=${res.info}`);
|
|
151
|
+
}
|
|
152
|
+
});
|
|
153
|
+
}, [state.userName, getList]);
|
|
154
|
+
useEffect(() => {
|
|
155
|
+
setState({
|
|
156
|
+
selectedGroupId: defaultSelectedGroupId
|
|
157
|
+
});
|
|
158
|
+
getList({
|
|
159
|
+
id: defaultSelectedGroupId
|
|
160
|
+
});
|
|
161
|
+
}, [defaultSelectedGroupId]);
|
|
162
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
163
|
+
className: styles.modalWrapper
|
|
164
|
+
}, groupTree.length !== 0 ? /*#__PURE__*/React.createElement("div", {
|
|
165
|
+
className: styles.treeWarp
|
|
166
|
+
}, /*#__PURE__*/React.createElement(Tree, {
|
|
167
|
+
className: styles.treeStyle,
|
|
168
|
+
data: groupTree,
|
|
169
|
+
keygen: "value",
|
|
170
|
+
renderItem: d => /*#__PURE__*/React.createElement(Ellipsis, {
|
|
171
|
+
className: classNames(styles.treeItem, state.selectedGroupId === d.value && styles.selectedGroup),
|
|
172
|
+
value: d.label
|
|
173
|
+
}),
|
|
174
|
+
line: false,
|
|
175
|
+
defaultExpandAll: true,
|
|
176
|
+
onClick: data => {
|
|
177
|
+
setState({
|
|
178
|
+
selectedGroupId: data.value
|
|
179
|
+
});
|
|
180
|
+
getList({
|
|
181
|
+
id: data.value,
|
|
182
|
+
userName: state.userName
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
})) : null, /*#__PURE__*/React.createElement("div", {
|
|
186
|
+
className: styles.chatWarp
|
|
187
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
188
|
+
className: styles.listWrapper
|
|
189
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
190
|
+
className: styles.searchWarp
|
|
191
|
+
}, /*#__PURE__*/React.createElement(Input.Group, {
|
|
192
|
+
style: {
|
|
193
|
+
width: 416,
|
|
194
|
+
margin: 12
|
|
195
|
+
}
|
|
196
|
+
}, /*#__PURE__*/React.createElement(Input, {
|
|
197
|
+
clearable: true,
|
|
198
|
+
placeholder: t('输入名字或关键字搜索对接人'),
|
|
199
|
+
maxLength: 20,
|
|
200
|
+
value: state.userName,
|
|
201
|
+
onChange: v => {
|
|
202
|
+
setState({
|
|
203
|
+
userName: v
|
|
204
|
+
});
|
|
205
|
+
inputTimer.current = new Date().getTime();
|
|
206
|
+
setTimeout(() => {
|
|
207
|
+
if (new Date().getTime() - inputTimer.current >= 100) {
|
|
208
|
+
getList({
|
|
209
|
+
userName: v
|
|
210
|
+
});
|
|
211
|
+
}
|
|
212
|
+
}, 100);
|
|
213
|
+
},
|
|
214
|
+
onEnterPress: () => {
|
|
215
|
+
getList({
|
|
216
|
+
userName: state.userName
|
|
217
|
+
});
|
|
218
|
+
}
|
|
219
|
+
}), /*#__PURE__*/React.createElement(Button, {
|
|
220
|
+
text: true,
|
|
221
|
+
onClick: () => {
|
|
222
|
+
getList({
|
|
223
|
+
userName: state.userName
|
|
224
|
+
});
|
|
225
|
+
}
|
|
226
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
227
|
+
name: "serach"
|
|
228
|
+
})))), ((_state$list = state.list) === null || _state$list === void 0 ? void 0 : _state$list.length) === 0 ? /*#__PURE__*/React.createElement("div", {
|
|
229
|
+
className: styles.empty
|
|
230
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
231
|
+
name: "dataemptying_icon",
|
|
232
|
+
fontSize: 200,
|
|
233
|
+
className: styles.color
|
|
234
|
+
}), /*#__PURE__*/React.createElement("div", null, t('暂无联系人数据,请联系管理员'))) : null, ((_state$list2 = state.list) === null || _state$list2 === void 0 ? void 0 : _state$list2.length) > 0 ? /*#__PURE__*/React.createElement("div", {
|
|
235
|
+
className: styles.listShow
|
|
236
|
+
}, (_state$list3 = state.list) === null || _state$list3 === void 0 ? void 0 : _state$list3.map(item => /*#__PURE__*/React.createElement("div", {
|
|
237
|
+
className: styles.mailListModalItem,
|
|
238
|
+
onClick: () => {
|
|
239
|
+
if (chatgptUse && item.userType === 2) {
|
|
240
|
+
callWeChat(item);
|
|
241
|
+
return;
|
|
242
|
+
}
|
|
243
|
+
if (typeof checkBeforeCallWechat === 'function') {
|
|
244
|
+
var bool = checkBeforeCallWechat();
|
|
245
|
+
if (bool) {
|
|
246
|
+
callWeChat(item);
|
|
247
|
+
}
|
|
248
|
+
} else {
|
|
249
|
+
callWeChat(item);
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
253
|
+
className: styles.mailListModalItemLeft
|
|
254
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
255
|
+
src: item.headImg || HeaderImg,
|
|
256
|
+
alt: "",
|
|
257
|
+
className: styles.img
|
|
258
|
+
}), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
|
259
|
+
className: styles.problem
|
|
260
|
+
}, item.remark), /*#__PURE__*/React.createElement("div", {
|
|
261
|
+
className: styles.userName
|
|
262
|
+
}, item.userName, item.cnName && `(${item.cnName})`))), /*#__PURE__*/React.createElement("div", {
|
|
263
|
+
className: styles.findRight
|
|
264
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
265
|
+
className: styles.findHim
|
|
266
|
+
}, t('企微找ta聊'), "\xA0", item.starUserStatus ? /*#__PURE__*/React.createElement(Icon, {
|
|
267
|
+
name: "odec-star-fill",
|
|
268
|
+
color: "#1890FF",
|
|
269
|
+
onClick: e => {
|
|
270
|
+
e.stopPropagation();
|
|
271
|
+
collect(item, 0);
|
|
272
|
+
}
|
|
273
|
+
}) : /*#__PURE__*/React.createElement(Icon, {
|
|
274
|
+
name: "odec-star",
|
|
275
|
+
color: "#1890FF",
|
|
276
|
+
onClick: e => {
|
|
277
|
+
e.stopPropagation();
|
|
278
|
+
collect(item, 1);
|
|
279
|
+
}
|
|
280
|
+
})), item.visitNum && item.visitNum !== 0 ? /*#__PURE__*/React.createElement("div", {
|
|
281
|
+
className: styles.personFindedHim
|
|
282
|
+
}, t('{0}个人找过他', item === null || item === void 0 ? void 0 : item.visitNum)) : null)))) : null), isHasGuarantee ? /*#__PURE__*/React.createElement("div", {
|
|
283
|
+
className: styles.systemTipsWrapper
|
|
284
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
285
|
+
className: styles.onGuarantee,
|
|
286
|
+
onClick: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
|
|
287
|
+
var res, _res$info;
|
|
288
|
+
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
289
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
290
|
+
case 0:
|
|
291
|
+
_context3.next = 2;
|
|
292
|
+
return Server.systemReporting();
|
|
293
|
+
case 2:
|
|
294
|
+
res = _context3.sent;
|
|
295
|
+
if (res) {
|
|
296
|
+
window.open((_res$info = res.info) === null || _res$info === void 0 ? void 0 : _res$info.url);
|
|
297
|
+
}
|
|
298
|
+
case 4:
|
|
299
|
+
case "end":
|
|
300
|
+
return _context3.stop();
|
|
301
|
+
}
|
|
302
|
+
}, _callee3);
|
|
303
|
+
}))
|
|
304
|
+
}, t('我要上报故障'))) : null));
|
|
305
|
+
});
|
|
306
|
+
export default MailListModal;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export function list(argument: any): any;
|
|
2
|
+
export function getWechatLaunchCode(argument: any): any;
|
|
3
|
+
export function systemReporting(argument: any): any;
|
|
4
|
+
export function collect(argument: any): any;
|
|
5
|
+
export function weComContactStatistics(argument: any): any;
|
|
6
|
+
export function handlerList(argument: any): any;
|
|
7
|
+
//# sourceMappingURL=server.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../../src/component/mail-list-modal/server.js"],"names":[],"mappings":"AAKA,yCAEC;AAID,wDAEC;AAID,oDAEC;AAID,4CAEC;AAID,2DAEC;AAID,gDAEC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// eslint-disable-next-line no-unused-vars
|
|
2
|
+
import postRequest from "../../js/request/request";
|
|
3
|
+
|
|
4
|
+
// 获取人工处理列表
|
|
5
|
+
// https://soapi.sheincorp.cn/application/3768/routes/114060
|
|
6
|
+
export function list(argument) {
|
|
7
|
+
return postRequest('/front/manual/list', argument);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
// 获取企微唤醒码
|
|
11
|
+
// https://soapi.sheincorp.cn/application/3768/routes/114316
|
|
12
|
+
export function getWechatLaunchCode(argument) {
|
|
13
|
+
return postRequest('/front/manual/getWechatLaunchCode', argument);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
// 系统报障
|
|
17
|
+
// https://soapi.sheincorp.cn/application/3768/routes/124862
|
|
18
|
+
export function systemReporting(argument) {
|
|
19
|
+
return postRequest('/front/mesAssistant/systemReporting', argument);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// 收藏
|
|
23
|
+
// https://soapi.sheincorp.cn/application/5161/routes/post_front_manual_collect/doc
|
|
24
|
+
export function collect(argument) {
|
|
25
|
+
return postRequest('/front/manual/collect', argument);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// 发起企业微信联系统计
|
|
29
|
+
// https://soapi.sheincorp.cn/application/5161/routes/post_front_manual_weComContactStatistics/doc
|
|
30
|
+
export function weComContactStatistics(argument) {
|
|
31
|
+
return postRequest('/front/manual/weComContactStatistics', argument);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// 根据分组获取处理人列表
|
|
35
|
+
// https://soapi.sheincorp.cn/application/5161/routes/post_front_manual_handlerList/doc
|
|
36
|
+
export function handlerList(argument) {
|
|
37
|
+
return postRequest('/front/manual/handlerList', argument);
|
|
38
|
+
}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
.shein-components_systemrobotassistant_systemTipsWrapper {
|
|
2
|
+
padding: 8px;
|
|
3
|
+
display: flex;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
align-items: center;
|
|
6
|
+
color: #FFFFFF;
|
|
7
|
+
font-size: 15px;
|
|
8
|
+
box-shadow: inset 0px 1px 0px 0px rgba(217, 217, 217, 0.5);
|
|
9
|
+
}
|
|
10
|
+
.shein-components_systemrobotassistant_systemTipsWrapper .shein-components_systemrobotassistant_onGuarantee {
|
|
11
|
+
width: 100%;
|
|
12
|
+
padding: 12px;
|
|
13
|
+
border-radius: 10px;
|
|
14
|
+
text-align: center;
|
|
15
|
+
background-color: #1890ff;
|
|
16
|
+
background-color: var(--primary-color, #1890ff);
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
}
|
|
19
|
+
.shein-components_systemrobotassistant_chatWarp {
|
|
20
|
+
flex: 1;
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
overflow: hidden;
|
|
24
|
+
}
|
|
25
|
+
.shein-components_systemrobotassistant_chatWarp .shein-components_systemrobotassistant_listWrapper {
|
|
26
|
+
flex: 1;
|
|
27
|
+
overflow: hidden;
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-direction: column;
|
|
30
|
+
position: relative;
|
|
31
|
+
padding-top: 56px;
|
|
32
|
+
}
|
|
33
|
+
.shein-components_systemrobotassistant_chatWarp .shein-components_systemrobotassistant_listWrapper .shein-components_systemrobotassistant_searchWarp {
|
|
34
|
+
position: absolute;
|
|
35
|
+
left: 0;
|
|
36
|
+
top: 0;
|
|
37
|
+
}
|
|
38
|
+
.shein-components_systemrobotassistant_chatWarp .shein-components_systemrobotassistant_listWrapper .shein-components_systemrobotassistant_listShow {
|
|
39
|
+
flex: 1;
|
|
40
|
+
overflow: auto;
|
|
41
|
+
display: flex;
|
|
42
|
+
flex-direction: column;
|
|
43
|
+
}
|
|
44
|
+
.shein-components_systemrobotassistant_chatWarp .shein-components_systemrobotassistant_listWrapper .shein-components_systemrobotassistant_listShow .shein-components_systemrobotassistant_mailListModalItem {
|
|
45
|
+
display: flex;
|
|
46
|
+
align-items: center;
|
|
47
|
+
justify-content: space-between;
|
|
48
|
+
padding: 10px 20px;
|
|
49
|
+
cursor: pointer;
|
|
50
|
+
border-bottom: 1px solid #F4F5F8;
|
|
51
|
+
}
|
|
52
|
+
.shein-components_systemrobotassistant_chatWarp .shein-components_systemrobotassistant_listWrapper .shein-components_systemrobotassistant_listShow .shein-components_systemrobotassistant_mailListModalItem:hover {
|
|
53
|
+
background: #E6F5FF;
|
|
54
|
+
}
|
|
55
|
+
.shein-components_systemrobotassistant_chatWarp .shein-components_systemrobotassistant_listWrapper .shein-components_systemrobotassistant_listShow .shein-components_systemrobotassistant_mailListModalItem .shein-components_systemrobotassistant_img {
|
|
56
|
+
width: 40px;
|
|
57
|
+
height: 40px;
|
|
58
|
+
border-radius: 4px;
|
|
59
|
+
margin-right: 12px;
|
|
60
|
+
}
|
|
61
|
+
.shein-components_systemrobotassistant_chatWarp .shein-components_systemrobotassistant_listWrapper .shein-components_systemrobotassistant_listShow .shein-components_systemrobotassistant_mailListModalItem .shein-components_systemrobotassistant_mailListModalItemLeft {
|
|
62
|
+
display: flex;
|
|
63
|
+
}
|
|
64
|
+
.shein-components_systemrobotassistant_chatWarp .shein-components_systemrobotassistant_listWrapper .shein-components_systemrobotassistant_listShow .shein-components_systemrobotassistant_mailListModalItem .shein-components_systemrobotassistant_mailListModalItemLeft .shein-components_systemrobotassistant_img {
|
|
65
|
+
flex-shrink: 0;
|
|
66
|
+
}
|
|
67
|
+
.shein-components_systemrobotassistant_chatWarp .shein-components_systemrobotassistant_listWrapper .shein-components_systemrobotassistant_listShow .shein-components_systemrobotassistant_mailListModalItem .shein-components_systemrobotassistant_mailListModalItemLeft .shein-components_systemrobotassistant_userName {
|
|
68
|
+
font-size: 12px;
|
|
69
|
+
font-weight: 400;
|
|
70
|
+
color: #7E848F;
|
|
71
|
+
margin-top: 4px;
|
|
72
|
+
line-height: 18px;
|
|
73
|
+
}
|
|
74
|
+
.shein-components_systemrobotassistant_chatWarp .shein-components_systemrobotassistant_listWrapper .shein-components_systemrobotassistant_listShow .shein-components_systemrobotassistant_mailListModalItem .shein-components_systemrobotassistant_mailListModalItemLeft .shein-components_systemrobotassistant_problem {
|
|
75
|
+
font-size: 14px;
|
|
76
|
+
font-weight: 400;
|
|
77
|
+
color: #35383D;
|
|
78
|
+
}
|
|
79
|
+
.shein-components_systemrobotassistant_chatWarp .shein-components_systemrobotassistant_listWrapper .shein-components_systemrobotassistant_listShow .shein-components_systemrobotassistant_mailListModalItem .shein-components_systemrobotassistant_findRight {
|
|
80
|
+
margin-left: 12px;
|
|
81
|
+
flex-shrink: 0;
|
|
82
|
+
}
|
|
83
|
+
.shein-components_systemrobotassistant_chatWarp .shein-components_systemrobotassistant_listWrapper .shein-components_systemrobotassistant_listShow .shein-components_systemrobotassistant_mailListModalItem .shein-components_systemrobotassistant_findHim {
|
|
84
|
+
font-size: 14px;
|
|
85
|
+
cursor: pointer;
|
|
86
|
+
font-weight: 400;
|
|
87
|
+
color: #197AFA;
|
|
88
|
+
color: var(--primary-color, #197AFA);
|
|
89
|
+
}
|
|
90
|
+
.shein-components_systemrobotassistant_chatWarp .shein-components_systemrobotassistant_listWrapper .shein-components_systemrobotassistant_listShow .shein-components_systemrobotassistant_mailListModalItem .shein-components_systemrobotassistant_personFindedHim {
|
|
91
|
+
font-size: 12px;
|
|
92
|
+
color: #7E848F;
|
|
93
|
+
}
|
|
94
|
+
.shein-components_systemrobotassistant_chatWarp .shein-components_systemrobotassistant_listWrapper .shein-components_systemrobotassistant_empty {
|
|
95
|
+
flex: 1;
|
|
96
|
+
display: flex;
|
|
97
|
+
align-items: center;
|
|
98
|
+
justify-content: center;
|
|
99
|
+
flex-direction: column;
|
|
100
|
+
color: #1890ff;
|
|
101
|
+
color: var(--primary-color, #1890ff);
|
|
102
|
+
}
|
|
103
|
+
.shein-components_systemrobotassistant_modalWrapper {
|
|
104
|
+
display: flex;
|
|
105
|
+
overflow: hidden;
|
|
106
|
+
flex: 1;
|
|
107
|
+
}
|
|
108
|
+
.shein-components_systemrobotassistant_modalWrapper .shein-components_systemrobotassistant_treeWarp {
|
|
109
|
+
max-width: 250px;
|
|
110
|
+
padding-right: 8px;
|
|
111
|
+
padding-top: 16px;
|
|
112
|
+
display: flex;
|
|
113
|
+
flex-shrink: 0;
|
|
114
|
+
box-shadow: inset -1px 1px 0px 0px rgba(217, 217, 217, 0.5);
|
|
115
|
+
border-radius: 5px 0px 0px 5px;
|
|
116
|
+
overflow: hidden;
|
|
117
|
+
}
|
|
118
|
+
.shein-components_systemrobotassistant_modalWrapper .shein-components_systemrobotassistant_treeWarp .shein-components_systemrobotassistant_treeStyle {
|
|
119
|
+
color: #333E59;
|
|
120
|
+
word-break: break-all;
|
|
121
|
+
overflow-y: auto;
|
|
122
|
+
}
|
|
123
|
+
.shein-components_systemrobotassistant_modalWrapper .shein-components_systemrobotassistant_treeWarp .shein-components_systemrobotassistant_treeStyle .so-tree-content .so-tree-text {
|
|
124
|
+
overflow: hidden;
|
|
125
|
+
}
|
|
126
|
+
.shein-components_systemrobotassistant_modalWrapper .shein-components_systemrobotassistant_treeWarp .shein-components_systemrobotassistant_treeItem {
|
|
127
|
+
cursor: pointer;
|
|
128
|
+
}
|
|
129
|
+
.shein-components_systemrobotassistant_modalWrapper .shein-components_systemrobotassistant_treeWarp .shein-components_systemrobotassistant_selectedGroup {
|
|
130
|
+
color: #197afa;
|
|
131
|
+
color: var(--primary-color, #197afa);
|
|
132
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
export interface MyselfChatCardItem {
|
|
4
|
+
problem?: string;
|
|
5
|
+
questionTime?: string;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export interface MyselfChatCardProps {
|
|
9
|
+
item?: MyselfChatCardItem;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
declare const MyselfChatCard: React.FC<MyselfChatCardProps>;
|
|
13
|
+
|
|
14
|
+
export default MyselfChatCard;
|
|
15
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/component/myself-chat-card/index.jsx"],"names":[],"mappings":";AAIA,iEAaE"}
|