bhd-components 0.10.32 → 0.10.34

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.
Files changed (382) hide show
  1. package/README.md +24 -24
  2. package/dist/index.esm.es5.development.css +1503 -1497
  3. package/dist/index.esm.es5.development.js +338 -324
  4. package/dist/index.esm.es5.production.css +1 -1
  5. package/dist/index.esm.es5.production.js +1 -1
  6. package/dist/vendor.esm.es5.development.js +617 -617
  7. package/dist/vendor.esm.es5.production.js +13 -13
  8. package/es2017/AIMessageList/components/content/index.d.ts +4 -4
  9. package/es2017/AIMessageList/components/content/index.module.less +7 -7
  10. package/es2017/AIMessageList/components/copyIcon/index.d.ts +7 -7
  11. package/es2017/AIMessageList/components/copyIcon/index.module.less +23 -23
  12. package/es2017/AIMessageList/components/errorCallback/index.d.ts +3 -3
  13. package/es2017/AIMessageList/components/fileList/fileIcon.d.ts +3 -3
  14. package/es2017/AIMessageList/components/fileList/index.d.ts +4 -4
  15. package/es2017/AIMessageList/components/fileList/index.module.less +95 -95
  16. package/es2017/AIMessageList/components/footer/index.d.ts +10 -10
  17. package/es2017/AIMessageList/components/footer/index.module.less +51 -51
  18. package/es2017/AIMessageList/components/header/index.d.ts +9 -9
  19. package/es2017/AIMessageList/components/header/index.module.less +31 -31
  20. package/es2017/AIMessageList/components/referencesIcon/index.d.ts +9 -9
  21. package/es2017/AIMessageList/components/referencesIcon/index.module.less +14 -14
  22. package/es2017/AIMessageList/components/refreshBtn/index.d.ts +4 -4
  23. package/es2017/AIMessageList/components/refreshBtn/index.module.less +12 -12
  24. package/es2017/AIMessageList/components/remarkBtn/index.d.ts +4 -4
  25. package/es2017/AIMessageList/components/remarkBtn/index.module.less +13 -13
  26. package/es2017/AIMessageList/components/renderReferrnce/index.d.ts +10 -10
  27. package/es2017/AIMessageList/components/renderReferrnce/index.module.less +63 -63
  28. package/es2017/AIMessageList/components/sendBtn/index.d.ts +4 -4
  29. package/es2017/AIMessageList/components/sendBtn/index.module.less +25 -25
  30. package/es2017/AIMessageList/components/uplodaFileBtn/index.d.ts +4 -4
  31. package/es2017/AIMessageList/components/uplodaFileBtn/index.module.less +4 -4
  32. package/es2017/AIMessageList/components/virtuosoList/index.d.ts +5 -5
  33. package/es2017/AIMessageList/components/virtuosoList/index.js +33 -33
  34. package/es2017/AIMessageList/components/virtuosoList/index.module.less +471 -471
  35. package/es2017/AIMessageList/index.d.ts +4 -4
  36. package/es2017/AIMessageList/index.module.less +20 -20
  37. package/es2017/AIMessageList/type.d.ts +310 -310
  38. package/es2017/bhdAppLayout/components/BhdTableSimple/index.js +9 -9
  39. package/es2017/bhdAppLayout/components/BhdTableSimple/index.less +58 -58
  40. package/es2017/bhdAppLayout/components/BhdTableSimple/index/347/232/204/345/211/257/346/234/254.js +9 -9
  41. package/es2017/bhdAppLayout/index.d.ts +28 -28
  42. package/es2017/bhdAppLayout/index.module.less +95 -95
  43. package/es2017/bhdDatePicker/index.d.ts +17 -17
  44. package/es2017/bhdDatePicker/index.js +1 -1
  45. package/es2017/bhdDatePicker/index.module.less +1007 -1007
  46. package/es2017/bhdEditor/index.d.ts +2 -2
  47. package/es2017/bhdEnterInput/index.d.ts +9 -9
  48. package/es2017/bhdModalCropper/index.d.ts +10 -10
  49. package/es2017/bhdModalCropper/index.module.less +362 -362
  50. package/es2017/bhdSelect/index.d.ts +33 -33
  51. package/es2017/bhdSelect/index.module.less +131 -131
  52. package/es2017/bhdTipModal/index.d.ts +29 -29
  53. package/es2017/bhdTipModal/index.module.less +280 -280
  54. package/es2017/bhdTipModal/modal.d.ts +6 -6
  55. package/es2017/customerService/common.module.less +1391 -1391
  56. package/es2017/customerService/contactsList.d.ts +14 -14
  57. package/es2017/customerService/function.d.ts +27 -24
  58. package/es2017/customerService/function.js +44 -1
  59. package/es2017/customerService/historyFun.d.ts +13 -13
  60. package/es2017/customerService/html2canvas.test.js +113 -113
  61. package/es2017/customerService/index.d.ts +20 -20
  62. package/es2017/customerService/index.js +120 -85
  63. package/es2017/customerService/index.module.less +2281 -2278
  64. package/es2017/customerService/index2.module.less +2219 -2216
  65. package/es2017/customerService/js-screen-shot/assets/less/screen-shot.less +478 -478
  66. package/es2017/customerService/js-screen-shot/lib/common-methods/CanvasPatch.d.ts +1 -1
  67. package/es2017/customerService/js-screen-shot/lib/common-methods/DeviceTypeVerif.d.ts +2 -2
  68. package/es2017/customerService/js-screen-shot/lib/common-methods/FixedData.d.ts +11 -11
  69. package/es2017/customerService/js-screen-shot/lib/common-methods/FixedData.js +7 -7
  70. package/es2017/customerService/js-screen-shot/lib/common-methods/GetBrushSelectedName.d.ts +5 -5
  71. package/es2017/customerService/js-screen-shot/lib/common-methods/GetBrushSelectedName.js +3 -3
  72. package/es2017/customerService/js-screen-shot/lib/common-methods/GetCanvasImgData.d.ts +4 -4
  73. package/es2017/customerService/js-screen-shot/lib/common-methods/GetCanvasImgData.js +2 -2
  74. package/es2017/customerService/js-screen-shot/lib/common-methods/GetColor.d.ts +1 -1
  75. package/es2017/customerService/js-screen-shot/lib/common-methods/GetSelectedCalssName.d.ts +1 -1
  76. package/es2017/customerService/js-screen-shot/lib/common-methods/GetToolRelativePosition.d.ts +7 -7
  77. package/es2017/customerService/js-screen-shot/lib/common-methods/GetToolRelativePosition.js +2 -2
  78. package/es2017/customerService/js-screen-shot/lib/common-methods/ImgScaling.d.ts +11 -11
  79. package/es2017/customerService/js-screen-shot/lib/common-methods/ImgScaling.js +6 -6
  80. package/es2017/customerService/js-screen-shot/lib/common-methods/SaveBorderArrInfo.d.ts +8 -8
  81. package/es2017/customerService/js-screen-shot/lib/common-methods/SaveBorderArrInfo.js +5 -5
  82. package/es2017/customerService/js-screen-shot/lib/common-methods/SaveCanvasToBase64.d.ts +1 -1
  83. package/es2017/customerService/js-screen-shot/lib/common-methods/SaveCanvasToBase64.js +2 -2
  84. package/es2017/customerService/js-screen-shot/lib/common-methods/SaveCanvasToImage.d.ts +1 -1
  85. package/es2017/customerService/js-screen-shot/lib/common-methods/SelectColor.d.ts +1 -1
  86. package/es2017/customerService/js-screen-shot/lib/common-methods/SelectTextSize.d.ts +5 -5
  87. package/es2017/customerService/js-screen-shot/lib/common-methods/SetBrushSize.d.ts +14 -14
  88. package/es2017/customerService/js-screen-shot/lib/common-methods/SetBrushSize.js +10 -10
  89. package/es2017/customerService/js-screen-shot/lib/common-methods/SetSelectedClassName.d.ts +7 -7
  90. package/es2017/customerService/js-screen-shot/lib/common-methods/SetSelectedClassName.js +5 -5
  91. package/es2017/customerService/js-screen-shot/lib/common-methods/TakeOutHistory.d.ts +1 -1
  92. package/es2017/customerService/js-screen-shot/lib/common-methods/TakeOutHistory.js +2 -2
  93. package/es2017/customerService/js-screen-shot/lib/common-methods/UpdateContainerMouseStyle.d.ts +1 -1
  94. package/es2017/customerService/js-screen-shot/lib/common-methods/ZoomCutOutBoxPosition.d.ts +17 -17
  95. package/es2017/customerService/js-screen-shot/lib/common-methods/ZoomCutOutBoxPosition.js +10 -10
  96. package/es2017/customerService/js-screen-shot/lib/config/Toolbar.d.ts +5 -5
  97. package/es2017/customerService/js-screen-shot/lib/main-entrance/CreateDom.d.ts +24 -24
  98. package/es2017/customerService/js-screen-shot/lib/main-entrance/InitData.d.ts +78 -78
  99. package/es2017/customerService/js-screen-shot/lib/main-entrance/PlugInParameters.d.ts +46 -46
  100. package/es2017/customerService/js-screen-shot/lib/split-methods/AddHistoryData.d.ts +1 -1
  101. package/es2017/customerService/js-screen-shot/lib/split-methods/BoundaryJudgment.d.ts +8 -8
  102. package/es2017/customerService/js-screen-shot/lib/split-methods/BoundaryJudgment.js +5 -5
  103. package/es2017/customerService/js-screen-shot/lib/split-methods/CalculateOptionIcoPosition.d.ts +5 -5
  104. package/es2017/customerService/js-screen-shot/lib/split-methods/CalculateOptionIcoPosition.js +3 -3
  105. package/es2017/customerService/js-screen-shot/lib/split-methods/CalculateToolLocation.d.ts +16 -16
  106. package/es2017/customerService/js-screen-shot/lib/split-methods/CalculateToolLocation.js +7 -7
  107. package/es2017/customerService/js-screen-shot/lib/split-methods/DrawArrow.d.ts +31 -31
  108. package/es2017/customerService/js-screen-shot/lib/split-methods/DrawArrow.js +14 -14
  109. package/es2017/customerService/js-screen-shot/lib/split-methods/DrawCircle.d.ts +11 -11
  110. package/es2017/customerService/js-screen-shot/lib/split-methods/DrawCircle.js +9 -9
  111. package/es2017/customerService/js-screen-shot/lib/split-methods/DrawCutOutBox.d.ts +19 -19
  112. package/es2017/customerService/js-screen-shot/lib/split-methods/DrawCutOutBox.js +12 -12
  113. package/es2017/customerService/js-screen-shot/lib/split-methods/DrawLineArrow.d.ts +13 -13
  114. package/es2017/customerService/js-screen-shot/lib/split-methods/DrawLineArrow.js +18 -18
  115. package/es2017/customerService/js-screen-shot/lib/split-methods/DrawMasking.d.ts +6 -6
  116. package/es2017/customerService/js-screen-shot/lib/split-methods/DrawMasking.js +4 -4
  117. package/es2017/customerService/js-screen-shot/lib/split-methods/DrawMosaic.d.ts +12 -12
  118. package/es2017/customerService/js-screen-shot/lib/split-methods/DrawMosaic.js +21 -21
  119. package/es2017/customerService/js-screen-shot/lib/split-methods/DrawPencil.d.ts +13 -13
  120. package/es2017/customerService/js-screen-shot/lib/split-methods/DrawPencil.js +9 -9
  121. package/es2017/customerService/js-screen-shot/lib/split-methods/DrawRectangle.d.ts +11 -11
  122. package/es2017/customerService/js-screen-shot/lib/split-methods/DrawRectangle.js +9 -9
  123. package/es2017/customerService/js-screen-shot/lib/split-methods/DrawText.d.ts +10 -10
  124. package/es2017/customerService/js-screen-shot/lib/split-methods/DrawText.js +8 -8
  125. package/es2017/customerService/js-screen-shot/lib/split-methods/KeyboardEventHandle.d.ts +10 -10
  126. package/es2017/customerService/js-screen-shot/lib/split-methods/KeyboardEventHandle.js +4 -4
  127. package/es2017/customerService/js-screen-shot/lib/split-methods/SetPlugInParameters.d.ts +2 -2
  128. package/es2017/customerService/js-screen-shot/lib/split-methods/ToolClickEvent.d.ts +1 -1
  129. package/es2017/customerService/js-screen-shot/lib/split-methods/ToolClickEvent.js +5 -5
  130. package/es2017/customerService/js-screen-shot/lib/split-methods/drawCrossImg.d.ts +1 -1
  131. package/es2017/customerService/js-screen-shot/lib/type/ComponentType.d.ts +133 -133
  132. package/es2017/customerService/js-screen-shot/main.d.ts +110 -110
  133. package/es2017/customerService/js-screen-shot/main.js +32 -32
  134. package/es2017/customerService/screenshotTool.d.ts +10 -10
  135. package/es2017/customerService/teacherList.d.ts +11 -11
  136. package/es2017/customerService/useMediaRecorder.d.ts +9 -9
  137. package/es2017/customerService/viewMemaid.d.ts +3 -3
  138. package/es2017/i18n/en_US.d.ts +2 -2
  139. package/es2017/i18n/index.d.ts +2 -2
  140. package/es2017/i18n/zh_CN.d.ts +2 -2
  141. package/es2017/icons/components/custom-ai_icon.d.ts +4 -4
  142. package/es2017/icons/components/custom-arrow.d.ts +4 -4
  143. package/es2017/icons/components/custom-close.d.ts +4 -4
  144. package/es2017/icons/components/custom-contacts.d.ts +4 -4
  145. package/es2017/icons/components/custom-copy.d.ts +4 -4
  146. package/es2017/icons/components/custom-dislike.d.ts +4 -4
  147. package/es2017/icons/components/custom-download.d.ts +4 -4
  148. package/es2017/icons/components/custom-duihao.d.ts +4 -4
  149. package/es2017/icons/components/custom-exit_full_screen.d.ts +4 -4
  150. package/es2017/icons/components/custom-expand.d.ts +4 -4
  151. package/es2017/icons/components/custom-full_screen.d.ts +4 -4
  152. package/es2017/icons/components/custom-knowledge_content.d.ts +4 -4
  153. package/es2017/icons/components/custom-like.d.ts +4 -4
  154. package/es2017/icons/components/custom-quote.d.ts +4 -4
  155. package/es2017/icons/components/custom-record.d.ts +4 -4
  156. package/es2017/icons/components/custom-reloading.d.ts +4 -4
  157. package/es2017/icons/components/custom-retract.d.ts +4 -4
  158. package/es2017/icons/components/custom-round_close.d.ts +4 -4
  159. package/es2017/icons/components/custom-screen-xuanzuan.d.ts +4 -4
  160. package/es2017/icons/components/custom-screenshot.d.ts +4 -4
  161. package/es2017/icons/components/custom-sending.d.ts +4 -4
  162. package/es2017/icons/components/custom-sound_recording.d.ts +4 -4
  163. package/es2017/icons/components/custom-video-abstraction.d.ts +4 -4
  164. package/es2017/icons/components/custom-wenhao_round.d.ts +4 -4
  165. package/es2017/icons/components/custom-xuanzuan.d.ts +4 -4
  166. package/es2017/icons/components/index.d.ts +25 -25
  167. package/es2017/icons/index.d.ts +2 -2
  168. package/es2017/images/index.d.ts +6 -6
  169. package/es2017/index.d.ts +86 -86
  170. package/es2017/index.js +3 -3
  171. package/es2017/index.module.css +3 -3
  172. package/es2017/message/index.d.ts +18 -18
  173. package/es2017/message/index.module.less +142 -142
  174. package/es2017/pagination/index.d.ts +4 -4
  175. package/es2017/pagination/index.module.less +51 -51
  176. package/es2017/provider/config.d.ts +9 -9
  177. package/es2017/provider/index.d.ts +7 -7
  178. package/es2017/table/index.d.ts +12 -12
  179. package/es2017/table/index.module.less +423 -423
  180. package/es2017/tableSelect/index.d.ts +3 -3
  181. package/es2017/tableSelect/index.js +3 -3
  182. package/es2017/tableSelect/index.module.less +20 -20
  183. package/es2017/textTootip/index.d.ts +9 -9
  184. package/es2017/theme/variable.less +652 -652
  185. package/es2017/titleBar/index.d.ts +16 -16
  186. package/es2017/titleBar/index.module.less +48 -48
  187. package/es2017/typings.d.ts +13 -13
  188. package/es2017/utils/Date.d.ts +10 -10
  189. package/es2017/utils/dom.d.ts +5 -5
  190. package/es2017/utils/number.d.ts +1 -1
  191. package/es2017/utils/object.d.ts +2 -2
  192. package/es2017/viewImage/index(/345/216/237).d.ts +31 -31
  193. package/es2017/viewImage/index.d.ts +33 -33
  194. package/es2017/viewImage/index.module(/345/216/237).less +173 -173
  195. package/es2017/viewImage/index.module.less +193 -193
  196. package/esm/AIMessageList/components/content/index.d.ts +4 -4
  197. package/esm/AIMessageList/components/content/index.module.less +7 -7
  198. package/esm/AIMessageList/components/copyIcon/index.d.ts +7 -7
  199. package/esm/AIMessageList/components/copyIcon/index.module.less +23 -23
  200. package/esm/AIMessageList/components/errorCallback/index.d.ts +3 -3
  201. package/esm/AIMessageList/components/fileList/fileIcon.d.ts +3 -3
  202. package/esm/AIMessageList/components/fileList/index.d.ts +4 -4
  203. package/esm/AIMessageList/components/fileList/index.module.less +95 -95
  204. package/esm/AIMessageList/components/footer/index.d.ts +10 -10
  205. package/esm/AIMessageList/components/footer/index.module.less +51 -51
  206. package/esm/AIMessageList/components/header/index.d.ts +9 -9
  207. package/esm/AIMessageList/components/header/index.module.less +31 -31
  208. package/esm/AIMessageList/components/referencesIcon/index.d.ts +9 -9
  209. package/esm/AIMessageList/components/referencesIcon/index.module.less +14 -14
  210. package/esm/AIMessageList/components/refreshBtn/index.d.ts +4 -4
  211. package/esm/AIMessageList/components/refreshBtn/index.module.less +12 -12
  212. package/esm/AIMessageList/components/remarkBtn/index.d.ts +4 -4
  213. package/esm/AIMessageList/components/remarkBtn/index.module.less +13 -13
  214. package/esm/AIMessageList/components/renderReferrnce/index.d.ts +10 -10
  215. package/esm/AIMessageList/components/renderReferrnce/index.module.less +63 -63
  216. package/esm/AIMessageList/components/sendBtn/index.d.ts +4 -4
  217. package/esm/AIMessageList/components/sendBtn/index.module.less +25 -25
  218. package/esm/AIMessageList/components/uplodaFileBtn/index.d.ts +4 -4
  219. package/esm/AIMessageList/components/uplodaFileBtn/index.module.less +4 -4
  220. package/esm/AIMessageList/components/virtuosoList/index.d.ts +5 -5
  221. package/esm/AIMessageList/components/virtuosoList/index.module.less +471 -471
  222. package/esm/AIMessageList/index.d.ts +4 -4
  223. package/esm/AIMessageList/index.module.less +20 -20
  224. package/esm/AIMessageList/type.d.ts +310 -310
  225. package/esm/bhdAppLayout/components/BhdTableSimple/index.js +9 -9
  226. package/esm/bhdAppLayout/components/BhdTableSimple/index.less +58 -58
  227. package/esm/bhdAppLayout/components/BhdTableSimple/index/347/232/204/345/211/257/346/234/254.js +9 -9
  228. package/esm/bhdAppLayout/index.d.ts +28 -28
  229. package/esm/bhdAppLayout/index.module.less +95 -95
  230. package/esm/bhdDatePicker/index.d.ts +17 -17
  231. package/esm/bhdDatePicker/index.module.less +1007 -1007
  232. package/esm/bhdEditor/index.d.ts +2 -2
  233. package/esm/bhdEnterInput/index.d.ts +9 -9
  234. package/esm/bhdModalCropper/index.d.ts +10 -10
  235. package/esm/bhdModalCropper/index.module.less +362 -362
  236. package/esm/bhdSelect/index.d.ts +33 -33
  237. package/esm/bhdSelect/index.module.less +131 -131
  238. package/esm/bhdTipModal/index.d.ts +29 -29
  239. package/esm/bhdTipModal/index.module.less +280 -280
  240. package/esm/bhdTipModal/modal.d.ts +6 -6
  241. package/esm/customerService/common.module.less +1391 -1391
  242. package/esm/customerService/contactsList.d.ts +14 -14
  243. package/esm/customerService/function.d.ts +27 -24
  244. package/esm/customerService/function.js +46 -1
  245. package/esm/customerService/historyFun.d.ts +13 -13
  246. package/esm/customerService/html2canvas.test.js +113 -113
  247. package/esm/customerService/index.d.ts +20 -20
  248. package/esm/customerService/index.js +90 -56
  249. package/esm/customerService/index.module.less +2281 -2278
  250. package/esm/customerService/index2.module.less +2219 -2216
  251. package/esm/customerService/js-screen-shot/assets/less/screen-shot.less +478 -478
  252. package/esm/customerService/js-screen-shot/lib/common-methods/CanvasPatch.d.ts +1 -1
  253. package/esm/customerService/js-screen-shot/lib/common-methods/DeviceTypeVerif.d.ts +2 -2
  254. package/esm/customerService/js-screen-shot/lib/common-methods/FixedData.d.ts +11 -11
  255. package/esm/customerService/js-screen-shot/lib/common-methods/FixedData.js +7 -7
  256. package/esm/customerService/js-screen-shot/lib/common-methods/GetBrushSelectedName.d.ts +5 -5
  257. package/esm/customerService/js-screen-shot/lib/common-methods/GetBrushSelectedName.js +3 -3
  258. package/esm/customerService/js-screen-shot/lib/common-methods/GetCanvasImgData.d.ts +4 -4
  259. package/esm/customerService/js-screen-shot/lib/common-methods/GetCanvasImgData.js +2 -2
  260. package/esm/customerService/js-screen-shot/lib/common-methods/GetColor.d.ts +1 -1
  261. package/esm/customerService/js-screen-shot/lib/common-methods/GetSelectedCalssName.d.ts +1 -1
  262. package/esm/customerService/js-screen-shot/lib/common-methods/GetToolRelativePosition.d.ts +7 -7
  263. package/esm/customerService/js-screen-shot/lib/common-methods/GetToolRelativePosition.js +2 -2
  264. package/esm/customerService/js-screen-shot/lib/common-methods/ImgScaling.d.ts +11 -11
  265. package/esm/customerService/js-screen-shot/lib/common-methods/ImgScaling.js +6 -6
  266. package/esm/customerService/js-screen-shot/lib/common-methods/SaveBorderArrInfo.d.ts +8 -8
  267. package/esm/customerService/js-screen-shot/lib/common-methods/SaveBorderArrInfo.js +5 -5
  268. package/esm/customerService/js-screen-shot/lib/common-methods/SaveCanvasToBase64.d.ts +1 -1
  269. package/esm/customerService/js-screen-shot/lib/common-methods/SaveCanvasToBase64.js +2 -2
  270. package/esm/customerService/js-screen-shot/lib/common-methods/SaveCanvasToImage.d.ts +1 -1
  271. package/esm/customerService/js-screen-shot/lib/common-methods/SelectColor.d.ts +1 -1
  272. package/esm/customerService/js-screen-shot/lib/common-methods/SelectTextSize.d.ts +5 -5
  273. package/esm/customerService/js-screen-shot/lib/common-methods/SetBrushSize.d.ts +14 -14
  274. package/esm/customerService/js-screen-shot/lib/common-methods/SetBrushSize.js +10 -10
  275. package/esm/customerService/js-screen-shot/lib/common-methods/SetSelectedClassName.d.ts +7 -7
  276. package/esm/customerService/js-screen-shot/lib/common-methods/SetSelectedClassName.js +5 -5
  277. package/esm/customerService/js-screen-shot/lib/common-methods/TakeOutHistory.d.ts +1 -1
  278. package/esm/customerService/js-screen-shot/lib/common-methods/TakeOutHistory.js +2 -2
  279. package/esm/customerService/js-screen-shot/lib/common-methods/UpdateContainerMouseStyle.d.ts +1 -1
  280. package/esm/customerService/js-screen-shot/lib/common-methods/ZoomCutOutBoxPosition.d.ts +17 -17
  281. package/esm/customerService/js-screen-shot/lib/common-methods/ZoomCutOutBoxPosition.js +10 -10
  282. package/esm/customerService/js-screen-shot/lib/config/Toolbar.d.ts +5 -5
  283. package/esm/customerService/js-screen-shot/lib/main-entrance/CreateDom.d.ts +24 -24
  284. package/esm/customerService/js-screen-shot/lib/main-entrance/InitData.d.ts +78 -78
  285. package/esm/customerService/js-screen-shot/lib/main-entrance/PlugInParameters.d.ts +46 -46
  286. package/esm/customerService/js-screen-shot/lib/split-methods/AddHistoryData.d.ts +1 -1
  287. package/esm/customerService/js-screen-shot/lib/split-methods/BoundaryJudgment.d.ts +8 -8
  288. package/esm/customerService/js-screen-shot/lib/split-methods/BoundaryJudgment.js +5 -5
  289. package/esm/customerService/js-screen-shot/lib/split-methods/CalculateOptionIcoPosition.d.ts +5 -5
  290. package/esm/customerService/js-screen-shot/lib/split-methods/CalculateOptionIcoPosition.js +3 -3
  291. package/esm/customerService/js-screen-shot/lib/split-methods/CalculateToolLocation.d.ts +16 -16
  292. package/esm/customerService/js-screen-shot/lib/split-methods/CalculateToolLocation.js +7 -7
  293. package/esm/customerService/js-screen-shot/lib/split-methods/DrawArrow.d.ts +31 -31
  294. package/esm/customerService/js-screen-shot/lib/split-methods/DrawArrow.js +14 -14
  295. package/esm/customerService/js-screen-shot/lib/split-methods/DrawCircle.d.ts +11 -11
  296. package/esm/customerService/js-screen-shot/lib/split-methods/DrawCircle.js +9 -9
  297. package/esm/customerService/js-screen-shot/lib/split-methods/DrawCutOutBox.d.ts +19 -19
  298. package/esm/customerService/js-screen-shot/lib/split-methods/DrawCutOutBox.js +12 -12
  299. package/esm/customerService/js-screen-shot/lib/split-methods/DrawLineArrow.d.ts +13 -13
  300. package/esm/customerService/js-screen-shot/lib/split-methods/DrawLineArrow.js +18 -18
  301. package/esm/customerService/js-screen-shot/lib/split-methods/DrawMasking.d.ts +6 -6
  302. package/esm/customerService/js-screen-shot/lib/split-methods/DrawMasking.js +4 -4
  303. package/esm/customerService/js-screen-shot/lib/split-methods/DrawMosaic.d.ts +12 -12
  304. package/esm/customerService/js-screen-shot/lib/split-methods/DrawMosaic.js +21 -21
  305. package/esm/customerService/js-screen-shot/lib/split-methods/DrawPencil.d.ts +13 -13
  306. package/esm/customerService/js-screen-shot/lib/split-methods/DrawPencil.js +9 -9
  307. package/esm/customerService/js-screen-shot/lib/split-methods/DrawRectangle.d.ts +11 -11
  308. package/esm/customerService/js-screen-shot/lib/split-methods/DrawRectangle.js +9 -9
  309. package/esm/customerService/js-screen-shot/lib/split-methods/DrawText.d.ts +10 -10
  310. package/esm/customerService/js-screen-shot/lib/split-methods/DrawText.js +8 -8
  311. package/esm/customerService/js-screen-shot/lib/split-methods/KeyboardEventHandle.d.ts +10 -10
  312. package/esm/customerService/js-screen-shot/lib/split-methods/KeyboardEventHandle.js +4 -4
  313. package/esm/customerService/js-screen-shot/lib/split-methods/SetPlugInParameters.d.ts +2 -2
  314. package/esm/customerService/js-screen-shot/lib/split-methods/ToolClickEvent.d.ts +1 -1
  315. package/esm/customerService/js-screen-shot/lib/split-methods/ToolClickEvent.js +5 -5
  316. package/esm/customerService/js-screen-shot/lib/split-methods/drawCrossImg.d.ts +1 -1
  317. package/esm/customerService/js-screen-shot/lib/type/ComponentType.d.ts +133 -133
  318. package/esm/customerService/js-screen-shot/main.d.ts +110 -110
  319. package/esm/customerService/js-screen-shot/main.js +32 -32
  320. package/esm/customerService/screenshotTool.d.ts +10 -10
  321. package/esm/customerService/teacherList.d.ts +11 -11
  322. package/esm/customerService/useMediaRecorder.d.ts +9 -9
  323. package/esm/customerService/viewMemaid.d.ts +3 -3
  324. package/esm/i18n/en_US.d.ts +2 -2
  325. package/esm/i18n/index.d.ts +2 -2
  326. package/esm/i18n/zh_CN.d.ts +2 -2
  327. package/esm/icons/components/custom-ai_icon.d.ts +4 -4
  328. package/esm/icons/components/custom-arrow.d.ts +4 -4
  329. package/esm/icons/components/custom-close.d.ts +4 -4
  330. package/esm/icons/components/custom-contacts.d.ts +4 -4
  331. package/esm/icons/components/custom-copy.d.ts +4 -4
  332. package/esm/icons/components/custom-dislike.d.ts +4 -4
  333. package/esm/icons/components/custom-download.d.ts +4 -4
  334. package/esm/icons/components/custom-duihao.d.ts +4 -4
  335. package/esm/icons/components/custom-exit_full_screen.d.ts +4 -4
  336. package/esm/icons/components/custom-expand.d.ts +4 -4
  337. package/esm/icons/components/custom-full_screen.d.ts +4 -4
  338. package/esm/icons/components/custom-knowledge_content.d.ts +4 -4
  339. package/esm/icons/components/custom-like.d.ts +4 -4
  340. package/esm/icons/components/custom-quote.d.ts +4 -4
  341. package/esm/icons/components/custom-record.d.ts +4 -4
  342. package/esm/icons/components/custom-reloading.d.ts +4 -4
  343. package/esm/icons/components/custom-retract.d.ts +4 -4
  344. package/esm/icons/components/custom-round_close.d.ts +4 -4
  345. package/esm/icons/components/custom-screen-xuanzuan.d.ts +4 -4
  346. package/esm/icons/components/custom-screenshot.d.ts +4 -4
  347. package/esm/icons/components/custom-sending.d.ts +4 -4
  348. package/esm/icons/components/custom-sound_recording.d.ts +4 -4
  349. package/esm/icons/components/custom-video-abstraction.d.ts +4 -4
  350. package/esm/icons/components/custom-wenhao_round.d.ts +4 -4
  351. package/esm/icons/components/custom-xuanzuan.d.ts +4 -4
  352. package/esm/icons/components/index.d.ts +25 -25
  353. package/esm/icons/index.d.ts +2 -2
  354. package/esm/images/index.d.ts +6 -6
  355. package/esm/index.d.ts +86 -86
  356. package/esm/index.js +3 -3
  357. package/esm/index.module.css +3 -3
  358. package/esm/message/index.d.ts +18 -18
  359. package/esm/message/index.module.less +142 -142
  360. package/esm/pagination/index.d.ts +4 -4
  361. package/esm/pagination/index.module.less +51 -51
  362. package/esm/provider/config.d.ts +9 -9
  363. package/esm/provider/index.d.ts +7 -7
  364. package/esm/table/index.d.ts +12 -12
  365. package/esm/table/index.module.less +423 -423
  366. package/esm/tableSelect/index.d.ts +3 -3
  367. package/esm/tableSelect/index.js +3 -3
  368. package/esm/tableSelect/index.module.less +20 -20
  369. package/esm/textTootip/index.d.ts +9 -9
  370. package/esm/theme/variable.less +652 -652
  371. package/esm/titleBar/index.d.ts +16 -16
  372. package/esm/titleBar/index.module.less +48 -48
  373. package/esm/typings.d.ts +13 -13
  374. package/esm/utils/Date.d.ts +10 -10
  375. package/esm/utils/dom.d.ts +5 -5
  376. package/esm/utils/number.d.ts +1 -1
  377. package/esm/utils/object.d.ts +2 -2
  378. package/esm/viewImage/index(/345/216/237).d.ts +31 -31
  379. package/esm/viewImage/index.d.ts +33 -33
  380. package/esm/viewImage/index.module(/345/216/237).less +173 -173
  381. package/esm/viewImage/index.module.less +193 -193
  382. package/package.json +2 -2
@@ -1,1007 +1,1007 @@
1
- @import "../theme/variable.less";
2
- // 包裹组件样式
3
- .bhdDatePicker {
4
- width: 100%;
5
-
6
- :global {
7
- .bhd-picker {
8
- // table 模式下显示样式
9
- &.table-date-picker {
10
- * {
11
- background: transparent;
12
- border: none;
13
- }
14
- position: relative;
15
- top: 0;
16
- left: 0;
17
- border: none;
18
- box-shadow: none;
19
- background: transparent;
20
- padding: 0;
21
- // margin-left: -78px;
22
- cursor: pointer;
23
- .bhd-picker-input {
24
- &:nth-child(1) {
25
- width: 78px;
26
- opacity: 0;
27
- & > input {
28
- cursor: pointer;
29
- &::placeholder {
30
- display: none !important;
31
- opacity: 0;
32
- }
33
- }
34
- }
35
- &:nth-child(3) {
36
- display: none;
37
- }
38
- }
39
- .bhd-picker-range-separator {
40
- display: none;
41
- }
42
- .bhd-picker-active-bar {
43
- display: none;
44
- }
45
- .bhd-picker-suffix {
46
- color: @color-text-Tr;
47
- }
48
- .bhd-picker-clear {
49
- display: none;
50
- }
51
- }
52
- }
53
- }
54
- }
55
- // 弹出日历样式
56
- .bhdDatePickerPopup {
57
- // 单选、范围、日程安排
58
- &.singlePicker,
59
- &.rangePicker,
60
- &.extraPicker {
61
- :global {
62
- // 时间
63
- .bhd-picker-time-panel {
64
- .bhd-picker-time-panel-column {
65
- margin: 0;
66
-
67
- & > li.bhd-picker-time-panel-cell {
68
- margin: 0;
69
- .bhd-picker-time-panel-cell-inner {
70
- width: 56px;
71
- height: 32px;
72
- line-height: 32px;
73
- padding: 0;
74
- text-align: center;
75
- border-radius: 0;
76
- }
77
- }
78
- &:hover {
79
- &::-webkit-scrollbar {
80
- width: 0;
81
- }
82
- }
83
- &:not(:first-child) {
84
- border: none;
85
- }
86
- }
87
- }
88
-
89
- // 时间与天相邻
90
- .bhd-picker-date-panel + .bhd-picker-time-panel {
91
- padding: 0;
92
- gap: 0;
93
- .bhd-picker-header {
94
- height: 48px;
95
- .bhd-picker-header-view {
96
- line-height: 48px !important;
97
- }
98
- }
99
- }
100
-
101
- // 天、周
102
- .bhd-picker-date-panel,
103
- .bhd-picker-week-panel {
104
- width: 272px;
105
- & .bhd-picker-content {
106
- width: 224px;
107
- margin: 0 auto;
108
- & th {
109
- width: 32px;
110
- height: 32px;
111
- }
112
- }
113
-
114
- & .bhd-picker-cell {
115
- padding: 0;
116
- padding-top: 8px;
117
-
118
- &::before {
119
- top: calc(50% + 4px);
120
- height: 32px;
121
- }
122
-
123
- & .bhd-picker-cell-inner {
124
- width: 32px;
125
- height: 32px;
126
- line-height: 32px;
127
- }
128
- }
129
-
130
- & .bhd-picker-body {
131
- position: relative;
132
-
133
- // 设置标题背景色
134
- &::before {
135
- content: "";
136
- width: 100%;
137
- height: 32px;
138
- border-radius: 4px;
139
- position: absolute;
140
- top: 0;
141
- left: 0;
142
- background-color: @color-background-filltertiary-Tr;
143
- }
144
- }
145
- }
146
-
147
- //周
148
- .bhd-picker-week-panel {
149
- .bhd-picker-week-panel-row:hover {
150
- color: @color-background-primary-base !important;
151
- & td {
152
- &:before {
153
- background-color: @color-background-primary-weak !important;
154
- }
155
-
156
- .bhd-picker-cell-inner {
157
- color: @color-background-primary-base !important;
158
- }
159
- }
160
- }
161
- }
162
-
163
- // 月
164
- .bhd-picker-month-panel {
165
- width: 272px;
166
- & .bhd-picker-body {
167
- width: 240px;
168
- }
169
- & .bhd-picker-content {
170
- height: 200px;
171
- width: 240px;
172
-
173
- & tbody {
174
- display: flex;
175
- flex-wrap: wrap;
176
- gap: 24px;
177
-
178
- & tr {
179
- display: flex;
180
- gap: 24px;
181
- }
182
- }
183
- }
184
-
185
- & .bhd-picker-cell {
186
- padding: 0;
187
- &::before {
188
- height: 32px;
189
- width: 64px;
190
- }
191
-
192
- & .bhd-picker-cell-inner {
193
- width: 64px;
194
- height: 32px;
195
- line-height: 32px;
196
- padding: 0;
197
- }
198
- }
199
- }
200
-
201
- //季度
202
- .bhd-picker-quarter-panel {
203
- & .bhd-picker-content {
204
- height: 32px;
205
- }
206
- & .bhd-picker-cell {
207
- padding: 0;
208
- &::before {
209
- height: 32px;
210
- }
211
-
212
- & .bhd-picker-cell-inner {
213
- height: 32px;
214
- line-height: 32px;
215
- padding: 0;
216
- }
217
- }
218
- }
219
-
220
- // 年
221
- .bhd-picker-year-panel {
222
- width: 272px;
223
- & .bhd-picker-body {
224
- width: 240px;
225
- }
226
- & .bhd-picker-content {
227
- height: 200px;
228
- width: 240px;
229
-
230
- & tbody {
231
- display: flex;
232
- flex-wrap: wrap;
233
- gap: 24px;
234
-
235
- & tr {
236
- display: flex;
237
- gap: 24px;
238
- }
239
- }
240
- }
241
-
242
- & .bhd-picker-cell {
243
- padding: 0;
244
- &::before {
245
- height: 32px;
246
- width: 64px;
247
- }
248
-
249
- & .bhd-picker-cell-inner {
250
- width: 64px;
251
- height: 32px;
252
- line-height: 32px;
253
- padding: 0;
254
- }
255
- }
256
- }
257
-
258
-
259
- // 多面板
260
- .bhd-picker-panels {
261
- & .bhd-picker-panel {
262
- border: none;
263
- }
264
- }
265
-
266
- // 设置底部区域
267
- .bhd-picker-footer {
268
- padding: 12px 16px;
269
- align-items: flex-start;
270
- display: flex;
271
- flex-direction: row;
272
- justify-content: flex-end;
273
- gap: 10px;
274
- align-self: stretch;
275
- border-top: 1px solid @color-background-fillsecondary-Tr !important;
276
- line-height: 30px !important;
277
- align-items: center;
278
-
279
- & .bhd-picker-footer-extra {
280
- padding: 0;
281
- line-height: 30px;
282
- width: 100%;
283
- display: flex;
284
- flex-direction: column-reverse;
285
- gap: 8px;
286
-
287
- &:not(:last-child) {
288
- border-bottom: none;
289
- }
290
- }
291
-
292
- & .bhd-picker-ranges {
293
- padding: 0;
294
- line-height: 30px;
295
- height: 30px;
296
- gap: 10px;
297
- align-items: center;
298
- justify-content: flex-end;
299
- width: 100%;
300
- & > li {
301
- line-height: 30px;
302
- height: 30px;
303
- margin: 0;
304
- &.bhd-picker-ok {
305
- font-size: 0;
306
- }
307
- }
308
-
309
- & .bhd-picker-now {
310
- color: @color-background-primary-base;
311
- .bhd-picker-now-btn {
312
- color: @color-background-primary-base;
313
- }
314
- }
315
- // & +.bhddatepicker-picker-footer-extra-extend{
316
-
317
- // }
318
- }
319
-
320
- .bhd-picker-ranges + .bhddatepicker-picker-footer-extra-extend{
321
- padding-bottom: 8px;
322
- &::after {
323
- content: "";
324
- width: calc(100% + 100px);
325
- height: 0px;
326
- border-bottom: 1px solid @color-background-fillsecondary-Tr;
327
- position: absolute;
328
- left: -50px;
329
- bottom: 0;
330
- }
331
- }
332
-
333
- // 自己扩展
334
- & .bhddatepicker-picker-footer-extra-extend {
335
- position: relative;
336
-
337
- }
338
-
339
- // 今天按钮
340
- .bhd-picker-today-btn {
341
- font-size: 14px;
342
- font-style: normal;
343
- font-weight: 400;
344
- line-height: 14px;
345
- color: @color-background-primary-base !important;
346
- }
347
-
348
- .bhd-picker-now-btn {
349
- color: @color-background-primary-base;
350
- }
351
-
352
- .bhd-picker-presets {
353
- min-width: unset;
354
- font-size: 14px;
355
- font-style: normal;
356
- font-weight: 400;
357
- line-height: 14px;
358
- color: @color-background-primary-base;
359
- display: flex;
360
- gap: 10px;
361
- flex-direction: row-reverse;
362
- justify-content: flex-start;
363
- align-items: center;
364
-
365
- .bhd-picker-preset-btn {
366
- color: @color-background-primary-base;
367
- height: 16px;
368
- line-height: 16px;
369
- }
370
- }
371
-
372
- .bhd-picker-ok {
373
- & .bhd-btn-primary {
374
- height: 30px;
375
- padding: 0 16px;
376
- line-height: 30px;
377
- border: none;
378
- box-shadow: none;
379
-
380
- &:disabled,
381
- &.disabled {
382
- background: @color-background-fillsecondary-Tr;
383
- color: @color-text-tertiary-Tr;
384
- cursor: no-drop;
385
- border: none;
386
- box-shadow: none;
387
- }
388
- }
389
- }
390
-
391
- // 隐藏默认的当前
392
- // & > a {
393
- // // display: none;
394
- // }
395
- // & > .bhd-picker-ranges {
396
- // display: none;
397
- // }
398
-
399
- & > a.bhd-picker-today-btn {
400
- position: absolute;
401
- right: 91px;
402
- bottom: 20px;
403
- }
404
- }
405
-
406
- // 默认颜色
407
- .bhd-picker-cell-in-view {
408
- color: @color-text-Secondary-Tr;
409
- }
410
-
411
- //禁用后的今天
412
- .bhd-picker-cell-disabled.bhd-picker-cell-today
413
- .bhd-picker-cell-inner::before {
414
- border-color: @color-background-primary-base !important;
415
- }
416
- // 禁用
417
- .bhd-picker-cell-disabled {
418
- color: @color-text-quaternary-Tr !important;
419
- }
420
- }
421
-
422
- // 显示时间选择面板时
423
- &.showTime {
424
- :global {
425
- .bhd-picker-footer {
426
- justify-content: flex-end;
427
- .bhd-picker-footer-extra {
428
- width: auto;
429
- }
430
- .bhd-picker-ranges {
431
- width: auto;
432
- }
433
- }
434
- }
435
- &.showExtraFooter {
436
- :global {
437
- .bhd-picker-footer {
438
- justify-content: flex-start;
439
- flex-direction: column;
440
- .bhd-picker-footer-extra {
441
- width: 100% !important;
442
- }
443
- .bhd-picker-ranges {
444
- width: 100% !important;
445
- &.showPresets {
446
- position: absolute;
447
- width: auto !important;
448
- bottom: 12px;
449
- right: 100px;
450
- &.showNow {
451
- right: 128px;
452
- }
453
- }
454
- }
455
- }
456
- }
457
- }
458
- }
459
- //不显示确认按钮时,今天按钮的位置
460
- &.noNeedConfirm {
461
- :global {
462
- .bhd-picker-footer {
463
- & > a.bhd-picker-today-btn {
464
- right: 17px;
465
- }
466
- }
467
- }
468
- }
469
- }
470
-
471
- // 单选
472
- &.singlePicker {
473
- :global {
474
- .bhd-picker-date-panel,
475
- .bhd-picker-week-panel {
476
- width: 272px;
477
- & .bhd-picker-content {
478
- width: 224px;
479
- margin: 0 auto;
480
- & th {
481
- width: 32px;
482
- height: 32px;
483
- }
484
- }
485
-
486
- & .bhd-picker-cell {
487
- padding: 0;
488
- padding-top: 8px;
489
-
490
- &::before {
491
- top: calc(50% + 4px);
492
- height: 32px;
493
- }
494
-
495
- & .bhd-picker-cell-inner {
496
- width: 32px;
497
- height: 32px;
498
- line-height: 32px;
499
- }
500
- }
501
-
502
- .bhd-picker-header-super-prev-btn,
503
- .bhd-picker-header-super-next-btn {
504
- display: none !important;
505
- }
506
- }
507
-
508
- .bhd-picker-week-panel {
509
- width: 304px;
510
- }
511
-
512
- .bhd-picker-month-panel {
513
- width: 272px;
514
- & .bhd-picker-body {
515
- width: 240px;
516
- }
517
- & .bhd-picker-content {
518
- height: 200px;
519
- width: 240px;
520
- }
521
-
522
- & .bhd-picker-cell {
523
- padding: 0;
524
- &::before {
525
- height: 32px;
526
- width: 64px;
527
- }
528
-
529
- & .bhd-picker-cell-inner {
530
- width: 64px;
531
- height: 32px;
532
- line-height: 32px;
533
- padding: 0;
534
- }
535
- }
536
- }
537
-
538
- .bhd-picker-year-panel {
539
- width: 272px;
540
- & .bhd-picker-body {
541
- width: 240px;
542
- }
543
- & .bhd-picker-content {
544
- height: 200px;
545
- width: 240px;
546
- }
547
-
548
- & .bhd-picker-cell {
549
- padding: 0;
550
- &::before {
551
- height: 32px;
552
- width: 64px;
553
- }
554
-
555
- & .bhd-picker-cell-inner {
556
- width: 64px;
557
- height: 32px;
558
- line-height: 32px;
559
- padding: 0;
560
- }
561
- }
562
- }
563
-
564
- // // 设置 当天的位置
565
- // .bhd-picker-date-panel + .bhd-picker-footer {
566
- // justify-content: center !important;
567
- // }
568
- }
569
- }
570
-
571
- //范围选择
572
- &.rangePicker {
573
- :global {
574
- .bhd-picker-date-panel {
575
- .bhd-picker-header-super-prev-btn,
576
- .bhd-picker-header-super-next-btn {
577
- display: none !important;
578
- }
579
- .bhd-picker-header-prev-btn,
580
- .bhd-picker-header-next-btn {
581
- visibility: visible !important;
582
- }
583
- }
584
- //范围选择公共
585
- .bhd-picker-cell-in-view.bhd-picker-cell-in-range.bhd-picker-cell-range-hover-end
586
- .bhd-picker-cell-inner::after {
587
- left: 0;
588
- }
589
- .bhd-picker-cell-in-view.bhd-picker-cell-in-range.bhd-picker-cell-range-hover-start
590
- .bhd-picker-cell-inner::after {
591
- right: 0;
592
- }
593
- .bhd-picker-cell.bhd-picker-cell-in-view.bhd-picker-cell-in-range {
594
- .bhd-picker-cell-inner::after {
595
- right: 0 !important;
596
- }
597
- }
598
-
599
- .bhd-picker-cell-in-view.bhd-picker-cell-range-start::before {
600
- left: 0;
601
- }
602
-
603
- .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-start:not(
604
- .bhd-picker-cell-in-range
605
- ):not(.bhd-picker-cell-range-start):not(
606
- .bhd-picker-cell-range-end
607
- )::after,
608
- .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-end:not(
609
- .bhd-picker-cell-in-range
610
- ):not(.bhd-picker-cell-range-start):not(
611
- .bhd-picker-cell-range-end
612
- )::after,
613
- .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-start.bhd-picker-cell-range-start-single::after,
614
- .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-start.bhd-picker-cell-range-start.bhd-picker-cell-range-end.bhd-picker-cell-range-end-near-hover::after,
615
- .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-end.bhd-picker-cell-range-start.bhd-picker-cell-range-end.bhd-picker-cell-range-start-near-hover::after,
616
- .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-end.bhd-picker-cell-range-end-single::after,
617
- .bhd-picker-cell-in-view.bhd-picker-cell-range-hover:not(
618
- .bhd-picker-cell-in-range
619
- )::after {
620
- height: 32px;
621
- border: none;
622
- background: @color-background-primary-weak;
623
- }
624
- .bhd-picker-year-panel .bhd-picker-cell::before,
625
- .bhd-picker-year-panel .bhd-picker-cell::before {
626
- left: 0;
627
- border-radius: 4px;
628
- }
629
-
630
- // 日期
631
- .bhd-picker-date-panel {
632
- .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-start:not(
633
- .bhd-picker-cell-in-range
634
- ):not(.bhd-picker-cell-range-start):not(
635
- .bhd-picker-cell-range-end
636
- )::after,
637
- .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-end:not(
638
- .bhd-picker-cell-in-range
639
- ):not(.bhd-picker-cell-range-start):not(
640
- .bhd-picker-cell-range-end
641
- )::after,
642
- .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-start.bhd-picker-cell-range-start-single::after,
643
- .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-start.bhd-picker-cell-range-start.bhd-picker-cell-range-end.bhd-picker-cell-range-end-near-hover::after,
644
- .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-end.bhd-picker-cell-range-start.bhd-picker-cell-range-end.bhd-picker-cell-range-start-near-hover::after,
645
- .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-end.bhd-picker-cell-range-end-single::after,
646
- .bhd-picker-cell-in-view.bhd-picker-cell-range-hover:not(
647
- .bhd-picker-cell-in-range
648
- )::after {
649
- top: calc(50% + 4px);
650
- width: 32px;
651
- }
652
- }
653
-
654
- .bhd-picker-cell-in-view.bhd-picker-cell-range-hover:last-child::after,
655
- tr
656
- > .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-start:last-child::after,
657
- .bhd-picker-cell-in-view.bhd-picker-cell-end.bhd-picker-cell-range-hover-edge-end.bhd-picker-cell-range-hover-edge-end-near-range::after,
658
- .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-edge-end:not(
659
- .bhd-picker-cell-range-hover-edge-end-near-range
660
- )::after,
661
- .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-end::after {
662
- right: 0;
663
- border: none;
664
- }
665
-
666
- .bhd-picker-cell-range-hover-start::after,
667
- .bhd-picker-cell-range-hover-end::after,
668
- .bhd-picker-cell-range-hover::after {
669
- left: 0;
670
- }
671
-
672
- .bhd-picker-cell:hover:not(.bhd-picker-cell-in-view)
673
- .bhd-picker-cell-inner,
674
- .bhd-picker-cell:hover:not(.bhd-picker-cell-selected):not(
675
- .bhd-picker-cell-range-start
676
- ):not(.bhd-picker-cell-range-end):not(
677
- .bhd-picker-cell-range-hover-start
678
- ):not(.bhd-picker-cell-range-hover-end)
679
- .bhd-picker-cell-inner {
680
- background: @color-background-primary-weak !important;
681
- color: @color-background-primary-base;
682
- }
683
- }
684
- }
685
-
686
- // 日程安排
687
- &.extraPicker {
688
- :global {
689
- .extraText {
690
- color: @color-background-elevated;
691
- font-size: 12px;
692
- font-style: normal;
693
- font-weight: 400;
694
- line-height: 12px;
695
-
696
- &.selectable {
697
- color: #5991ef;
698
- }
699
- &.noselectable {
700
- color: @color-text-error;
701
- }
702
- &.selected {
703
- color: #23d9c3;
704
- }
705
- }
706
- .bhd-picker-date-panel {
707
- width: 416px;
708
- padding: 16px 24px 16px 24px;
709
- & .bhd-picker-content {
710
- width: 336px;
711
- margin: 0 auto;
712
- & th {
713
- width: 48px;
714
- height: 48px;
715
- }
716
- }
717
-
718
- & .bhd-picker-cell {
719
- padding: 0;
720
- padding-top: 8px;
721
-
722
- &::before {
723
- top: calc(50% + 4px);
724
- height: 48px;
725
- }
726
-
727
- & .bhd-picker-cell-inner {
728
- width: 48px;
729
- height: 48px;
730
- line-height: 24px;
731
- display: flex;
732
- flex-direction: column;
733
- justify-content: center;
734
- align-items: center;
735
- }
736
- }
737
-
738
- .bhd-picker-header-super-prev-btn,
739
- .bhd-picker-header-super-next-btn {
740
- display: none !important;
741
- }
742
- }
743
-
744
- .bhd-picker-cell-selected {
745
- color: @color-background-elevated !important;
746
- .extraText {
747
- &.selectable {
748
- color: @color-background-elevated !important;
749
- }
750
- &.noselectable {
751
- color: @color-background-elevated !important;
752
- }
753
- &.selected {
754
- color: @color-background-elevated !important;
755
- }
756
- }
757
-
758
- & .bhd-picker-cell-inner {
759
- background-color: @color-background-primary-base;
760
- }
761
- }
762
- .bhd-picker-cell-today {
763
- color: @color-background-primary-base !important;
764
- .extraText {
765
- &.selectable {
766
- color: @color-background-primary-base;
767
- }
768
- &.noselectable {
769
- color: @color-background-primary-base;
770
- }
771
- &.selected {
772
- color: @color-background-primary-base;
773
- }
774
- }
775
- }
776
- .bhd-picker-cell-disabled::before {
777
- background: transparent;
778
- color: @color-text-quaternary-Tr;
779
- }
780
- .bhd-picker-date-panel {
781
- // 设置标题背景色高度
782
- .bhd-picker-body {
783
- &::before {
784
- height: 48px !important;
785
- }
786
- }
787
- }
788
- }
789
-
790
- // 查看
791
- &.readonly {
792
- :global {
793
- // 隐藏头部点击按钮
794
- .bhd-picker-header-view > button {
795
- // pointer-events: none;
796
- }
797
- // 隐藏底部
798
- .bhd-picker-footer {
799
- display: none !important;
800
- .bhd-picker-ranges {
801
- display: none !important;
802
- }
803
- .bhddatepicker-picker-footer-extra-extend {
804
- padding-bottom: 0;
805
- &::after {
806
- display: none;
807
- }
808
- }
809
- }
810
-
811
- // 头部位置变更
812
- .bhd-picker-header {
813
- position: relative;
814
- .bhd-picker-header-prev-btn,
815
- .bhd-picker-header-super-prev-btn {
816
- position: absolute;
817
- right: 40px;
818
- border: none !important;
819
- }
820
- .bhd-picker-header-view {
821
- position: absolute;
822
- left: 0;
823
- }
824
- .bhd-picker-header-next-btn,
825
- .bhd-picker-header-super-next-btn {
826
- position: absolute;
827
- right: 0;
828
- border: none !important;
829
- }
830
- }
831
-
832
- .bhd-picker-date-panel{
833
- .bhd-picker-cell-in-view {
834
- pointer-events: none;
835
- }
836
- }
837
- .bhd-picker-cell-in-view {
838
- // pointer-events: none;
839
- color: @color-text-Secondary-Tr;
840
- }
841
- }
842
-
843
- &.showExtraFooter {
844
- :global {
845
- .bhd-picker-footer {
846
- display: flex !important;
847
- }
848
- }
849
- }
850
- }
851
- }
852
-
853
- // 公共的
854
- :global {
855
- // 重置样式
856
- * {
857
- padding: 0;
858
- margin: 0;
859
- box-sizing: border-box;
860
- }
861
-
862
- // 重置table样式
863
- table {
864
- display: table !important;
865
- width: 100%;
866
- table-layout: fixed;
867
- margin-bottom: 0 !important;
868
- border-collapse: separate;
869
- thead {
870
- background-color: transparent !important;
871
- tr {
872
- background-color: transparent !important;
873
- border: none !important;
874
-
875
- th {
876
- border: none !important;
877
- }
878
- }
879
- }
880
-
881
- th {
882
- background-color: transparent !important;
883
- }
884
- tbody {
885
- tr {
886
- background-color: transparent;
887
- border: none !important;
888
- td {
889
- border: none !important;
890
- }
891
- }
892
- }
893
- }
894
-
895
- // 面板样式
896
- .bhd-picker-panel-container {
897
- box-shadow: none !important;
898
- border: 1px solid @color-border-Tr;
899
- }
900
-
901
- // 年的面板:禁止点击十年的按钮
902
- .bhd-picker-year-panel {
903
- & .bhd-picker-decade-btn {
904
- cursor: not-allowed !important;
905
- pointer-events: none;
906
- }
907
- }
908
-
909
- // 内容面板
910
- .bhd-picker-decade-panel,
911
- .bhd-picker-year-panel,
912
- .bhd-picker-quarter-panel,
913
- .bhd-picker-month-panel,
914
- .bhd-picker-week-panel,
915
- .bhd-picker-date-panel,
916
- .bhd-picker-time-panel {
917
- padding: 16px;
918
- gap: 16px;
919
- & .bhd-picker-body {
920
- padding: 0 !important;
921
- }
922
-
923
- // 设置头部圆角
924
- & .bhd-picker-content th {
925
- &:first-child {
926
- border-top-left-radius: 4px;
927
- border-bottom-left-radius: 4px;
928
- }
929
-
930
- &:last-child {
931
- border-top-right-radius: 4px;
932
- border-bottom-right-radius: 4px;
933
- }
934
- }
935
- }
936
-
937
- // 头部
938
- .bhd-picker-header {
939
- padding: 0 !important;
940
- border-bottom: none !important;
941
- height: 32px;
942
- line-height: 32px;
943
-
944
- & button {
945
- line-height: 32px !important;
946
- color: @color-text-Secondary-Tr !important;
947
- }
948
- }
949
- // 头部文字
950
- .bhd-picker-header-view {
951
- text-align: center;
952
- color: @color-text-Tr;
953
- font-size: 16px;
954
- font-weight: 500 !important;
955
- line-height: 32px !important;
956
- & button {
957
- line-height: 32px !important;
958
- color: @color-text-Tr !important;
959
- &:hover {
960
- color: @color-background-primary-base !important;
961
- }
962
- }
963
- }
964
-
965
- // >>按钮图标
966
- .bhd-picker-header-super-prev-btn,
967
- .bhd-picker-header-super-next-btn,
968
- .bhd-picker-header-prev-btn,
969
- .bhd-picker-header-next-btn {
970
- border: 1px solid @color-border-Tr !important;
971
- color: @color-text-Secondary-Tr !important;
972
- border-radius: 4px;
973
- padding: 7px !important;
974
- height: 32px;
975
- width: 32px;
976
- display: flex;
977
- align-items: center;
978
- justify-content: center;
979
- }
980
-
981
- //当天
982
- .bhd-picker-cell-today {
983
- color: @color-background-primary-base !important;
984
- &:hover {
985
- .bhd-picker-cell-inner {
986
- background-color: @color-background-primary-weak !important;
987
- }
988
- }
989
- }
990
- //悬浮
991
- .bhd-picker-cell-inner {
992
- &:hover {
993
- background-color: @color-background-primary-weak !important;
994
- color: @color-background-primary-base !important;
995
- }
996
- }
997
- //选中
998
- .bhd-picker-cell-selected {
999
- &:hover {
1000
- .bhd-picker-cell-inner {
1001
- background-color: @color-background-primary-hover !important;
1002
- color: @color-background-elevated !important;
1003
- }
1004
- }
1005
- }
1006
- }
1007
- }
1
+ @import "../theme/variable.less";
2
+ // 包裹组件样式
3
+ .bhdDatePicker {
4
+ width: 100%;
5
+
6
+ :global {
7
+ .bhd-picker {
8
+ // table 模式下显示样式
9
+ &.table-date-picker {
10
+ * {
11
+ background: transparent;
12
+ border: none;
13
+ }
14
+ position: relative;
15
+ top: 0;
16
+ left: 0;
17
+ border: none;
18
+ box-shadow: none;
19
+ background: transparent;
20
+ padding: 0;
21
+ // margin-left: -78px;
22
+ cursor: pointer;
23
+ .bhd-picker-input {
24
+ &:nth-child(1) {
25
+ width: 78px;
26
+ opacity: 0;
27
+ & > input {
28
+ cursor: pointer;
29
+ &::placeholder {
30
+ display: none !important;
31
+ opacity: 0;
32
+ }
33
+ }
34
+ }
35
+ &:nth-child(3) {
36
+ display: none;
37
+ }
38
+ }
39
+ .bhd-picker-range-separator {
40
+ display: none;
41
+ }
42
+ .bhd-picker-active-bar {
43
+ display: none;
44
+ }
45
+ .bhd-picker-suffix {
46
+ color: @color-text-Tr;
47
+ }
48
+ .bhd-picker-clear {
49
+ display: none;
50
+ }
51
+ }
52
+ }
53
+ }
54
+ }
55
+ // 弹出日历样式
56
+ .bhdDatePickerPopup {
57
+ // 单选、范围、日程安排
58
+ &.singlePicker,
59
+ &.rangePicker,
60
+ &.extraPicker {
61
+ :global {
62
+ // 时间
63
+ .bhd-picker-time-panel {
64
+ .bhd-picker-time-panel-column {
65
+ margin: 0;
66
+
67
+ & > li.bhd-picker-time-panel-cell {
68
+ margin: 0;
69
+ .bhd-picker-time-panel-cell-inner {
70
+ width: 56px;
71
+ height: 32px;
72
+ line-height: 32px;
73
+ padding: 0;
74
+ text-align: center;
75
+ border-radius: 0;
76
+ }
77
+ }
78
+ &:hover {
79
+ &::-webkit-scrollbar {
80
+ width: 0;
81
+ }
82
+ }
83
+ &:not(:first-child) {
84
+ border: none;
85
+ }
86
+ }
87
+ }
88
+
89
+ // 时间与天相邻
90
+ .bhd-picker-date-panel + .bhd-picker-time-panel {
91
+ padding: 0;
92
+ gap: 0;
93
+ .bhd-picker-header {
94
+ height: 48px;
95
+ .bhd-picker-header-view {
96
+ line-height: 48px !important;
97
+ }
98
+ }
99
+ }
100
+
101
+ // 天、周
102
+ .bhd-picker-date-panel,
103
+ .bhd-picker-week-panel {
104
+ width: 272px;
105
+ & .bhd-picker-content {
106
+ width: 224px;
107
+ margin: 0 auto;
108
+ & th {
109
+ width: 32px;
110
+ height: 32px;
111
+ }
112
+ }
113
+
114
+ & .bhd-picker-cell {
115
+ padding: 0;
116
+ padding-top: 8px;
117
+
118
+ &::before {
119
+ top: calc(50% + 4px);
120
+ height: 32px;
121
+ }
122
+
123
+ & .bhd-picker-cell-inner {
124
+ width: 32px;
125
+ height: 32px;
126
+ line-height: 32px;
127
+ }
128
+ }
129
+
130
+ & .bhd-picker-body {
131
+ position: relative;
132
+
133
+ // 设置标题背景色
134
+ &::before {
135
+ content: "";
136
+ width: 100%;
137
+ height: 32px;
138
+ border-radius: 4px;
139
+ position: absolute;
140
+ top: 0;
141
+ left: 0;
142
+ background-color: @color-background-filltertiary-Tr;
143
+ }
144
+ }
145
+ }
146
+
147
+ //周
148
+ .bhd-picker-week-panel {
149
+ .bhd-picker-week-panel-row:hover {
150
+ color: @color-background-primary-base !important;
151
+ & td {
152
+ &:before {
153
+ background-color: @color-background-primary-weak !important;
154
+ }
155
+
156
+ .bhd-picker-cell-inner {
157
+ color: @color-background-primary-base !important;
158
+ }
159
+ }
160
+ }
161
+ }
162
+
163
+ // 月
164
+ .bhd-picker-month-panel {
165
+ width: 272px;
166
+ & .bhd-picker-body {
167
+ width: 240px;
168
+ }
169
+ & .bhd-picker-content {
170
+ height: 200px;
171
+ width: 240px;
172
+
173
+ & tbody {
174
+ display: flex;
175
+ flex-wrap: wrap;
176
+ gap: 24px;
177
+
178
+ & tr {
179
+ display: flex;
180
+ gap: 24px;
181
+ }
182
+ }
183
+ }
184
+
185
+ & .bhd-picker-cell {
186
+ padding: 0;
187
+ &::before {
188
+ height: 32px;
189
+ width: 64px;
190
+ }
191
+
192
+ & .bhd-picker-cell-inner {
193
+ width: 64px;
194
+ height: 32px;
195
+ line-height: 32px;
196
+ padding: 0;
197
+ }
198
+ }
199
+ }
200
+
201
+ //季度
202
+ .bhd-picker-quarter-panel {
203
+ & .bhd-picker-content {
204
+ height: 32px;
205
+ }
206
+ & .bhd-picker-cell {
207
+ padding: 0;
208
+ &::before {
209
+ height: 32px;
210
+ }
211
+
212
+ & .bhd-picker-cell-inner {
213
+ height: 32px;
214
+ line-height: 32px;
215
+ padding: 0;
216
+ }
217
+ }
218
+ }
219
+
220
+ // 年
221
+ .bhd-picker-year-panel {
222
+ width: 272px;
223
+ & .bhd-picker-body {
224
+ width: 240px;
225
+ }
226
+ & .bhd-picker-content {
227
+ height: 200px;
228
+ width: 240px;
229
+
230
+ & tbody {
231
+ display: flex;
232
+ flex-wrap: wrap;
233
+ gap: 24px;
234
+
235
+ & tr {
236
+ display: flex;
237
+ gap: 24px;
238
+ }
239
+ }
240
+ }
241
+
242
+ & .bhd-picker-cell {
243
+ padding: 0;
244
+ &::before {
245
+ height: 32px;
246
+ width: 64px;
247
+ }
248
+
249
+ & .bhd-picker-cell-inner {
250
+ width: 64px;
251
+ height: 32px;
252
+ line-height: 32px;
253
+ padding: 0;
254
+ }
255
+ }
256
+ }
257
+
258
+
259
+ // 多面板
260
+ .bhd-picker-panels {
261
+ & .bhd-picker-panel {
262
+ border: none;
263
+ }
264
+ }
265
+
266
+ // 设置底部区域
267
+ .bhd-picker-footer {
268
+ padding: 12px 16px;
269
+ align-items: flex-start;
270
+ display: flex;
271
+ flex-direction: row;
272
+ justify-content: flex-end;
273
+ gap: 10px;
274
+ align-self: stretch;
275
+ border-top: 1px solid @color-background-fillsecondary-Tr !important;
276
+ line-height: 30px !important;
277
+ align-items: center;
278
+
279
+ & .bhd-picker-footer-extra {
280
+ padding: 0;
281
+ line-height: 30px;
282
+ width: 100%;
283
+ display: flex;
284
+ flex-direction: column-reverse;
285
+ gap: 8px;
286
+
287
+ &:not(:last-child) {
288
+ border-bottom: none;
289
+ }
290
+ }
291
+
292
+ & .bhd-picker-ranges {
293
+ padding: 0;
294
+ line-height: 30px;
295
+ height: 30px;
296
+ gap: 10px;
297
+ align-items: center;
298
+ justify-content: flex-end;
299
+ width: 100%;
300
+ & > li {
301
+ line-height: 30px;
302
+ height: 30px;
303
+ margin: 0;
304
+ &.bhd-picker-ok {
305
+ font-size: 0;
306
+ }
307
+ }
308
+
309
+ & .bhd-picker-now {
310
+ color: @color-background-primary-base;
311
+ .bhd-picker-now-btn {
312
+ color: @color-background-primary-base;
313
+ }
314
+ }
315
+ // & +.bhddatepicker-picker-footer-extra-extend{
316
+
317
+ // }
318
+ }
319
+
320
+ .bhd-picker-ranges + .bhddatepicker-picker-footer-extra-extend{
321
+ padding-bottom: 8px;
322
+ &::after {
323
+ content: "";
324
+ width: calc(100% + 100px);
325
+ height: 0px;
326
+ border-bottom: 1px solid @color-background-fillsecondary-Tr;
327
+ position: absolute;
328
+ left: -50px;
329
+ bottom: 0;
330
+ }
331
+ }
332
+
333
+ // 自己扩展
334
+ & .bhddatepicker-picker-footer-extra-extend {
335
+ position: relative;
336
+
337
+ }
338
+
339
+ // 今天按钮
340
+ .bhd-picker-today-btn {
341
+ font-size: 14px;
342
+ font-style: normal;
343
+ font-weight: 400;
344
+ line-height: 14px;
345
+ color: @color-background-primary-base !important;
346
+ }
347
+
348
+ .bhd-picker-now-btn {
349
+ color: @color-background-primary-base;
350
+ }
351
+
352
+ .bhd-picker-presets {
353
+ min-width: unset;
354
+ font-size: 14px;
355
+ font-style: normal;
356
+ font-weight: 400;
357
+ line-height: 14px;
358
+ color: @color-background-primary-base;
359
+ display: flex;
360
+ gap: 10px;
361
+ flex-direction: row-reverse;
362
+ justify-content: flex-start;
363
+ align-items: center;
364
+
365
+ .bhd-picker-preset-btn {
366
+ color: @color-background-primary-base;
367
+ height: 16px;
368
+ line-height: 16px;
369
+ }
370
+ }
371
+
372
+ .bhd-picker-ok {
373
+ & .bhd-btn-primary {
374
+ height: 30px;
375
+ padding: 0 16px;
376
+ line-height: 30px;
377
+ border: none;
378
+ box-shadow: none;
379
+
380
+ &:disabled,
381
+ &.disabled {
382
+ background: @color-background-fillsecondary-Tr;
383
+ color: @color-text-tertiary-Tr;
384
+ cursor: no-drop;
385
+ border: none;
386
+ box-shadow: none;
387
+ }
388
+ }
389
+ }
390
+
391
+ // 隐藏默认的当前
392
+ // & > a {
393
+ // // display: none;
394
+ // }
395
+ // & > .bhd-picker-ranges {
396
+ // display: none;
397
+ // }
398
+
399
+ & > a.bhd-picker-today-btn {
400
+ position: absolute;
401
+ right: 91px;
402
+ bottom: 20px;
403
+ }
404
+ }
405
+
406
+ // 默认颜色
407
+ .bhd-picker-cell-in-view {
408
+ color: @color-text-Secondary-Tr;
409
+ }
410
+
411
+ //禁用后的今天
412
+ .bhd-picker-cell-disabled.bhd-picker-cell-today
413
+ .bhd-picker-cell-inner::before {
414
+ border-color: @color-background-primary-base !important;
415
+ }
416
+ // 禁用
417
+ .bhd-picker-cell-disabled {
418
+ color: @color-text-quaternary-Tr !important;
419
+ }
420
+ }
421
+
422
+ // 显示时间选择面板时
423
+ &.showTime {
424
+ :global {
425
+ .bhd-picker-footer {
426
+ justify-content: flex-end;
427
+ .bhd-picker-footer-extra {
428
+ width: auto;
429
+ }
430
+ .bhd-picker-ranges {
431
+ width: auto;
432
+ }
433
+ }
434
+ }
435
+ &.showExtraFooter {
436
+ :global {
437
+ .bhd-picker-footer {
438
+ justify-content: flex-start;
439
+ flex-direction: column;
440
+ .bhd-picker-footer-extra {
441
+ width: 100% !important;
442
+ }
443
+ .bhd-picker-ranges {
444
+ width: 100% !important;
445
+ &.showPresets {
446
+ position: absolute;
447
+ width: auto !important;
448
+ bottom: 12px;
449
+ right: 100px;
450
+ &.showNow {
451
+ right: 128px;
452
+ }
453
+ }
454
+ }
455
+ }
456
+ }
457
+ }
458
+ }
459
+ //不显示确认按钮时,今天按钮的位置
460
+ &.noNeedConfirm {
461
+ :global {
462
+ .bhd-picker-footer {
463
+ & > a.bhd-picker-today-btn {
464
+ right: 17px;
465
+ }
466
+ }
467
+ }
468
+ }
469
+ }
470
+
471
+ // 单选
472
+ &.singlePicker {
473
+ :global {
474
+ .bhd-picker-date-panel,
475
+ .bhd-picker-week-panel {
476
+ width: 272px;
477
+ & .bhd-picker-content {
478
+ width: 224px;
479
+ margin: 0 auto;
480
+ & th {
481
+ width: 32px;
482
+ height: 32px;
483
+ }
484
+ }
485
+
486
+ & .bhd-picker-cell {
487
+ padding: 0;
488
+ padding-top: 8px;
489
+
490
+ &::before {
491
+ top: calc(50% + 4px);
492
+ height: 32px;
493
+ }
494
+
495
+ & .bhd-picker-cell-inner {
496
+ width: 32px;
497
+ height: 32px;
498
+ line-height: 32px;
499
+ }
500
+ }
501
+
502
+ .bhd-picker-header-super-prev-btn,
503
+ .bhd-picker-header-super-next-btn {
504
+ display: none !important;
505
+ }
506
+ }
507
+
508
+ .bhd-picker-week-panel {
509
+ width: 304px;
510
+ }
511
+
512
+ .bhd-picker-month-panel {
513
+ width: 272px;
514
+ & .bhd-picker-body {
515
+ width: 240px;
516
+ }
517
+ & .bhd-picker-content {
518
+ height: 200px;
519
+ width: 240px;
520
+ }
521
+
522
+ & .bhd-picker-cell {
523
+ padding: 0;
524
+ &::before {
525
+ height: 32px;
526
+ width: 64px;
527
+ }
528
+
529
+ & .bhd-picker-cell-inner {
530
+ width: 64px;
531
+ height: 32px;
532
+ line-height: 32px;
533
+ padding: 0;
534
+ }
535
+ }
536
+ }
537
+
538
+ .bhd-picker-year-panel {
539
+ width: 272px;
540
+ & .bhd-picker-body {
541
+ width: 240px;
542
+ }
543
+ & .bhd-picker-content {
544
+ height: 200px;
545
+ width: 240px;
546
+ }
547
+
548
+ & .bhd-picker-cell {
549
+ padding: 0;
550
+ &::before {
551
+ height: 32px;
552
+ width: 64px;
553
+ }
554
+
555
+ & .bhd-picker-cell-inner {
556
+ width: 64px;
557
+ height: 32px;
558
+ line-height: 32px;
559
+ padding: 0;
560
+ }
561
+ }
562
+ }
563
+
564
+ // // 设置 当天的位置
565
+ // .bhd-picker-date-panel + .bhd-picker-footer {
566
+ // justify-content: center !important;
567
+ // }
568
+ }
569
+ }
570
+
571
+ //范围选择
572
+ &.rangePicker {
573
+ :global {
574
+ .bhd-picker-date-panel {
575
+ .bhd-picker-header-super-prev-btn,
576
+ .bhd-picker-header-super-next-btn {
577
+ display: none !important;
578
+ }
579
+ .bhd-picker-header-prev-btn,
580
+ .bhd-picker-header-next-btn {
581
+ visibility: visible !important;
582
+ }
583
+ }
584
+ //范围选择公共
585
+ .bhd-picker-cell-in-view.bhd-picker-cell-in-range.bhd-picker-cell-range-hover-end
586
+ .bhd-picker-cell-inner::after {
587
+ left: 0;
588
+ }
589
+ .bhd-picker-cell-in-view.bhd-picker-cell-in-range.bhd-picker-cell-range-hover-start
590
+ .bhd-picker-cell-inner::after {
591
+ right: 0;
592
+ }
593
+ .bhd-picker-cell.bhd-picker-cell-in-view.bhd-picker-cell-in-range {
594
+ .bhd-picker-cell-inner::after {
595
+ right: 0 !important;
596
+ }
597
+ }
598
+
599
+ .bhd-picker-cell-in-view.bhd-picker-cell-range-start::before {
600
+ left: 0;
601
+ }
602
+
603
+ .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-start:not(
604
+ .bhd-picker-cell-in-range
605
+ ):not(.bhd-picker-cell-range-start):not(
606
+ .bhd-picker-cell-range-end
607
+ )::after,
608
+ .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-end:not(
609
+ .bhd-picker-cell-in-range
610
+ ):not(.bhd-picker-cell-range-start):not(
611
+ .bhd-picker-cell-range-end
612
+ )::after,
613
+ .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-start.bhd-picker-cell-range-start-single::after,
614
+ .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-start.bhd-picker-cell-range-start.bhd-picker-cell-range-end.bhd-picker-cell-range-end-near-hover::after,
615
+ .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-end.bhd-picker-cell-range-start.bhd-picker-cell-range-end.bhd-picker-cell-range-start-near-hover::after,
616
+ .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-end.bhd-picker-cell-range-end-single::after,
617
+ .bhd-picker-cell-in-view.bhd-picker-cell-range-hover:not(
618
+ .bhd-picker-cell-in-range
619
+ )::after {
620
+ height: 32px;
621
+ border: none;
622
+ background: @color-background-primary-weak;
623
+ }
624
+ .bhd-picker-year-panel .bhd-picker-cell::before,
625
+ .bhd-picker-year-panel .bhd-picker-cell::before {
626
+ left: 0;
627
+ border-radius: 4px;
628
+ }
629
+
630
+ // 日期
631
+ .bhd-picker-date-panel {
632
+ .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-start:not(
633
+ .bhd-picker-cell-in-range
634
+ ):not(.bhd-picker-cell-range-start):not(
635
+ .bhd-picker-cell-range-end
636
+ )::after,
637
+ .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-end:not(
638
+ .bhd-picker-cell-in-range
639
+ ):not(.bhd-picker-cell-range-start):not(
640
+ .bhd-picker-cell-range-end
641
+ )::after,
642
+ .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-start.bhd-picker-cell-range-start-single::after,
643
+ .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-start.bhd-picker-cell-range-start.bhd-picker-cell-range-end.bhd-picker-cell-range-end-near-hover::after,
644
+ .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-end.bhd-picker-cell-range-start.bhd-picker-cell-range-end.bhd-picker-cell-range-start-near-hover::after,
645
+ .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-end.bhd-picker-cell-range-end-single::after,
646
+ .bhd-picker-cell-in-view.bhd-picker-cell-range-hover:not(
647
+ .bhd-picker-cell-in-range
648
+ )::after {
649
+ top: calc(50% + 4px);
650
+ width: 32px;
651
+ }
652
+ }
653
+
654
+ .bhd-picker-cell-in-view.bhd-picker-cell-range-hover:last-child::after,
655
+ tr
656
+ > .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-start:last-child::after,
657
+ .bhd-picker-cell-in-view.bhd-picker-cell-end.bhd-picker-cell-range-hover-edge-end.bhd-picker-cell-range-hover-edge-end-near-range::after,
658
+ .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-edge-end:not(
659
+ .bhd-picker-cell-range-hover-edge-end-near-range
660
+ )::after,
661
+ .bhd-picker-cell-in-view.bhd-picker-cell-range-hover-end::after {
662
+ right: 0;
663
+ border: none;
664
+ }
665
+
666
+ .bhd-picker-cell-range-hover-start::after,
667
+ .bhd-picker-cell-range-hover-end::after,
668
+ .bhd-picker-cell-range-hover::after {
669
+ left: 0;
670
+ }
671
+
672
+ .bhd-picker-cell:hover:not(.bhd-picker-cell-in-view)
673
+ .bhd-picker-cell-inner,
674
+ .bhd-picker-cell:hover:not(.bhd-picker-cell-selected):not(
675
+ .bhd-picker-cell-range-start
676
+ ):not(.bhd-picker-cell-range-end):not(
677
+ .bhd-picker-cell-range-hover-start
678
+ ):not(.bhd-picker-cell-range-hover-end)
679
+ .bhd-picker-cell-inner {
680
+ background: @color-background-primary-weak !important;
681
+ color: @color-background-primary-base;
682
+ }
683
+ }
684
+ }
685
+
686
+ // 日程安排
687
+ &.extraPicker {
688
+ :global {
689
+ .extraText {
690
+ color: @color-background-elevated;
691
+ font-size: 12px;
692
+ font-style: normal;
693
+ font-weight: 400;
694
+ line-height: 12px;
695
+
696
+ &.selectable {
697
+ color: #5991ef;
698
+ }
699
+ &.noselectable {
700
+ color: @color-text-error;
701
+ }
702
+ &.selected {
703
+ color: #23d9c3;
704
+ }
705
+ }
706
+ .bhd-picker-date-panel {
707
+ width: 416px;
708
+ padding: 16px 24px 16px 24px;
709
+ & .bhd-picker-content {
710
+ width: 336px;
711
+ margin: 0 auto;
712
+ & th {
713
+ width: 48px;
714
+ height: 48px;
715
+ }
716
+ }
717
+
718
+ & .bhd-picker-cell {
719
+ padding: 0;
720
+ padding-top: 8px;
721
+
722
+ &::before {
723
+ top: calc(50% + 4px);
724
+ height: 48px;
725
+ }
726
+
727
+ & .bhd-picker-cell-inner {
728
+ width: 48px;
729
+ height: 48px;
730
+ line-height: 24px;
731
+ display: flex;
732
+ flex-direction: column;
733
+ justify-content: center;
734
+ align-items: center;
735
+ }
736
+ }
737
+
738
+ .bhd-picker-header-super-prev-btn,
739
+ .bhd-picker-header-super-next-btn {
740
+ display: none !important;
741
+ }
742
+ }
743
+
744
+ .bhd-picker-cell-selected {
745
+ color: @color-background-elevated !important;
746
+ .extraText {
747
+ &.selectable {
748
+ color: @color-background-elevated !important;
749
+ }
750
+ &.noselectable {
751
+ color: @color-background-elevated !important;
752
+ }
753
+ &.selected {
754
+ color: @color-background-elevated !important;
755
+ }
756
+ }
757
+
758
+ & .bhd-picker-cell-inner {
759
+ background-color: @color-background-primary-base;
760
+ }
761
+ }
762
+ .bhd-picker-cell-today {
763
+ color: @color-background-primary-base !important;
764
+ .extraText {
765
+ &.selectable {
766
+ color: @color-background-primary-base;
767
+ }
768
+ &.noselectable {
769
+ color: @color-background-primary-base;
770
+ }
771
+ &.selected {
772
+ color: @color-background-primary-base;
773
+ }
774
+ }
775
+ }
776
+ .bhd-picker-cell-disabled::before {
777
+ background: transparent;
778
+ color: @color-text-quaternary-Tr;
779
+ }
780
+ .bhd-picker-date-panel {
781
+ // 设置标题背景色高度
782
+ .bhd-picker-body {
783
+ &::before {
784
+ height: 48px !important;
785
+ }
786
+ }
787
+ }
788
+ }
789
+
790
+ // 查看
791
+ &.readonly {
792
+ :global {
793
+ // 隐藏头部点击按钮
794
+ .bhd-picker-header-view > button {
795
+ // pointer-events: none;
796
+ }
797
+ // 隐藏底部
798
+ .bhd-picker-footer {
799
+ display: none !important;
800
+ .bhd-picker-ranges {
801
+ display: none !important;
802
+ }
803
+ .bhddatepicker-picker-footer-extra-extend {
804
+ padding-bottom: 0;
805
+ &::after {
806
+ display: none;
807
+ }
808
+ }
809
+ }
810
+
811
+ // 头部位置变更
812
+ .bhd-picker-header {
813
+ position: relative;
814
+ .bhd-picker-header-prev-btn,
815
+ .bhd-picker-header-super-prev-btn {
816
+ position: absolute;
817
+ right: 40px;
818
+ border: none !important;
819
+ }
820
+ .bhd-picker-header-view {
821
+ position: absolute;
822
+ left: 0;
823
+ }
824
+ .bhd-picker-header-next-btn,
825
+ .bhd-picker-header-super-next-btn {
826
+ position: absolute;
827
+ right: 0;
828
+ border: none !important;
829
+ }
830
+ }
831
+
832
+ .bhd-picker-date-panel{
833
+ .bhd-picker-cell-in-view {
834
+ pointer-events: none;
835
+ }
836
+ }
837
+ .bhd-picker-cell-in-view {
838
+ // pointer-events: none;
839
+ color: @color-text-Secondary-Tr;
840
+ }
841
+ }
842
+
843
+ &.showExtraFooter {
844
+ :global {
845
+ .bhd-picker-footer {
846
+ display: flex !important;
847
+ }
848
+ }
849
+ }
850
+ }
851
+ }
852
+
853
+ // 公共的
854
+ :global {
855
+ // 重置样式
856
+ * {
857
+ padding: 0;
858
+ margin: 0;
859
+ box-sizing: border-box;
860
+ }
861
+
862
+ // 重置table样式
863
+ table {
864
+ display: table !important;
865
+ width: 100%;
866
+ table-layout: fixed;
867
+ margin-bottom: 0 !important;
868
+ border-collapse: separate;
869
+ thead {
870
+ background-color: transparent !important;
871
+ tr {
872
+ background-color: transparent !important;
873
+ border: none !important;
874
+
875
+ th {
876
+ border: none !important;
877
+ }
878
+ }
879
+ }
880
+
881
+ th {
882
+ background-color: transparent !important;
883
+ }
884
+ tbody {
885
+ tr {
886
+ background-color: transparent;
887
+ border: none !important;
888
+ td {
889
+ border: none !important;
890
+ }
891
+ }
892
+ }
893
+ }
894
+
895
+ // 面板样式
896
+ .bhd-picker-panel-container {
897
+ box-shadow: none !important;
898
+ border: 1px solid @color-border-Tr;
899
+ }
900
+
901
+ // 年的面板:禁止点击十年的按钮
902
+ .bhd-picker-year-panel {
903
+ & .bhd-picker-decade-btn {
904
+ cursor: not-allowed !important;
905
+ pointer-events: none;
906
+ }
907
+ }
908
+
909
+ // 内容面板
910
+ .bhd-picker-decade-panel,
911
+ .bhd-picker-year-panel,
912
+ .bhd-picker-quarter-panel,
913
+ .bhd-picker-month-panel,
914
+ .bhd-picker-week-panel,
915
+ .bhd-picker-date-panel,
916
+ .bhd-picker-time-panel {
917
+ padding: 16px;
918
+ gap: 16px;
919
+ & .bhd-picker-body {
920
+ padding: 0 !important;
921
+ }
922
+
923
+ // 设置头部圆角
924
+ & .bhd-picker-content th {
925
+ &:first-child {
926
+ border-top-left-radius: 4px;
927
+ border-bottom-left-radius: 4px;
928
+ }
929
+
930
+ &:last-child {
931
+ border-top-right-radius: 4px;
932
+ border-bottom-right-radius: 4px;
933
+ }
934
+ }
935
+ }
936
+
937
+ // 头部
938
+ .bhd-picker-header {
939
+ padding: 0 !important;
940
+ border-bottom: none !important;
941
+ height: 32px;
942
+ line-height: 32px;
943
+
944
+ & button {
945
+ line-height: 32px !important;
946
+ color: @color-text-Secondary-Tr !important;
947
+ }
948
+ }
949
+ // 头部文字
950
+ .bhd-picker-header-view {
951
+ text-align: center;
952
+ color: @color-text-Tr;
953
+ font-size: 16px;
954
+ font-weight: 500 !important;
955
+ line-height: 32px !important;
956
+ & button {
957
+ line-height: 32px !important;
958
+ color: @color-text-Tr !important;
959
+ &:hover {
960
+ color: @color-background-primary-base !important;
961
+ }
962
+ }
963
+ }
964
+
965
+ // >>按钮图标
966
+ .bhd-picker-header-super-prev-btn,
967
+ .bhd-picker-header-super-next-btn,
968
+ .bhd-picker-header-prev-btn,
969
+ .bhd-picker-header-next-btn {
970
+ border: 1px solid @color-border-Tr !important;
971
+ color: @color-text-Secondary-Tr !important;
972
+ border-radius: 4px;
973
+ padding: 7px !important;
974
+ height: 32px;
975
+ width: 32px;
976
+ display: flex;
977
+ align-items: center;
978
+ justify-content: center;
979
+ }
980
+
981
+ //当天
982
+ .bhd-picker-cell-today {
983
+ color: @color-background-primary-base !important;
984
+ &:hover {
985
+ .bhd-picker-cell-inner {
986
+ background-color: @color-background-primary-weak !important;
987
+ }
988
+ }
989
+ }
990
+ //悬浮
991
+ .bhd-picker-cell-inner {
992
+ &:hover {
993
+ background-color: @color-background-primary-weak !important;
994
+ color: @color-background-primary-base !important;
995
+ }
996
+ }
997
+ //选中
998
+ .bhd-picker-cell-selected {
999
+ &:hover {
1000
+ .bhd-picker-cell-inner {
1001
+ background-color: @color-background-primary-hover !important;
1002
+ color: @color-background-elevated !important;
1003
+ }
1004
+ }
1005
+ }
1006
+ }
1007
+ }