bhd-components 0.9.1 → 0.9.3

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 (237) hide show
  1. package/README.md +1 -1
  2. package/dist/index.esm.es5.development.css +833 -363
  3. package/dist/index.esm.es5.development.js +4159 -6606
  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.css +119 -0
  7. package/dist/{100c4e1e.esm.es5.development.js → vendor.esm.es5.development.js} +16857 -8463
  8. package/dist/vendor.esm.es5.production.css +11 -0
  9. package/dist/vendor.esm.es5.production.js +485 -0
  10. package/es2017/bhdAppLayout/components/BhdTableSimple/index.js +1 -1
  11. package/es2017/bhdAppLayout/components/BhdTableSimple/index/347/232/204/345/211/257/346/234/254.js +2 -2
  12. package/es2017/bhdAppLayout/index.js +16 -16
  13. package/es2017/bhdDatePicker/index.d.ts +1 -2
  14. package/es2017/bhdDatePicker/index.js +253 -256
  15. package/es2017/bhdDatePicker/index.module.less +120 -8
  16. package/es2017/bhdSelect/index.js +4 -4
  17. package/es2017/bhdTipModal/index.js +6 -6
  18. package/es2017/customerService/contactsList.d.ts +2 -2
  19. package/es2017/customerService/contactsList.js +2 -2
  20. package/es2017/customerService/function.js +2 -1
  21. package/es2017/customerService/historyFun.d.ts +2 -2
  22. package/es2017/customerService/historyFun.js +2 -2
  23. package/es2017/customerService/index.d.ts +2 -2
  24. package/es2017/customerService/index.js +6 -6
  25. package/es2017/customerService/js-screen-shot/assets/less/screen-shot.less +478 -0
  26. package/es2017/customerService/js-screen-shot/lib/common-methods/CanvasPatch.d.ts +1 -0
  27. package/es2017/customerService/js-screen-shot/lib/common-methods/CanvasPatch.js +15 -0
  28. package/es2017/customerService/js-screen-shot/lib/common-methods/DeviceTypeVerif.d.ts +2 -0
  29. package/es2017/customerService/js-screen-shot/lib/common-methods/DeviceTypeVerif.js +32 -0
  30. package/es2017/customerService/js-screen-shot/lib/common-methods/FixedData.d.ts +11 -0
  31. package/es2017/customerService/js-screen-shot/lib/common-methods/FixedData.js +17 -0
  32. package/es2017/customerService/js-screen-shot/lib/common-methods/GetBrushSelectedName.d.ts +5 -0
  33. package/es2017/customerService/js-screen-shot/lib/common-methods/GetBrushSelectedName.js +18 -0
  34. package/es2017/customerService/js-screen-shot/lib/common-methods/GetCanvasImgData.d.ts +4 -0
  35. package/es2017/customerService/js-screen-shot/lib/common-methods/GetCanvasImgData.js +25 -0
  36. package/es2017/customerService/js-screen-shot/lib/common-methods/GetColor.d.ts +1 -0
  37. package/es2017/customerService/js-screen-shot/lib/common-methods/GetColor.js +41 -0
  38. package/es2017/customerService/js-screen-shot/lib/common-methods/GetSelectedCalssName.d.ts +1 -0
  39. package/es2017/customerService/js-screen-shot/lib/common-methods/GetSelectedCalssName.js +23 -0
  40. package/es2017/customerService/js-screen-shot/lib/common-methods/GetToolRelativePosition.d.ts +7 -0
  41. package/es2017/customerService/js-screen-shot/lib/common-methods/GetToolRelativePosition.js +9 -0
  42. package/es2017/customerService/js-screen-shot/lib/common-methods/ImgScaling.d.ts +11 -0
  43. package/es2017/customerService/js-screen-shot/lib/common-methods/ImgScaling.js +41 -0
  44. package/es2017/customerService/js-screen-shot/lib/common-methods/SaveBorderArrInfo.d.ts +8 -0
  45. package/es2017/customerService/js-screen-shot/lib/common-methods/SaveBorderArrInfo.js +125 -0
  46. package/es2017/customerService/js-screen-shot/lib/common-methods/SaveCanvasToBase64.d.ts +1 -0
  47. package/es2017/customerService/js-screen-shot/lib/common-methods/SaveCanvasToBase64.js +38 -0
  48. package/es2017/customerService/js-screen-shot/lib/common-methods/SaveCanvasToImage.d.ts +1 -0
  49. package/es2017/customerService/js-screen-shot/lib/common-methods/SaveCanvasToImage.js +27 -0
  50. package/es2017/customerService/js-screen-shot/lib/common-methods/SelectColor.d.ts +1 -0
  51. package/es2017/customerService/js-screen-shot/lib/common-methods/SelectColor.js +6 -0
  52. package/es2017/customerService/js-screen-shot/lib/common-methods/SelectTextSize.d.ts +5 -0
  53. package/es2017/customerService/js-screen-shot/lib/common-methods/SelectTextSize.js +26 -0
  54. package/es2017/customerService/js-screen-shot/lib/common-methods/SetBrushSize.d.ts +14 -0
  55. package/es2017/customerService/js-screen-shot/lib/common-methods/SetBrushSize.js +50 -0
  56. package/es2017/customerService/js-screen-shot/lib/common-methods/SetSelectedClassName.d.ts +7 -0
  57. package/es2017/customerService/js-screen-shot/lib/common-methods/SetSelectedClassName.js +28 -0
  58. package/es2017/customerService/js-screen-shot/lib/common-methods/TakeOutHistory.d.ts +1 -0
  59. package/es2017/customerService/js-screen-shot/lib/common-methods/TakeOutHistory.js +20 -0
  60. package/es2017/customerService/js-screen-shot/lib/common-methods/UpdateContainerMouseStyle.d.ts +1 -0
  61. package/es2017/customerService/js-screen-shot/lib/common-methods/UpdateContainerMouseStyle.js +10 -0
  62. package/es2017/customerService/js-screen-shot/lib/common-methods/ZoomCutOutBoxPosition.d.ts +17 -0
  63. package/es2017/customerService/js-screen-shot/lib/common-methods/ZoomCutOutBoxPosition.js +92 -0
  64. package/es2017/customerService/js-screen-shot/lib/config/Toolbar.d.ts +5 -0
  65. package/es2017/customerService/js-screen-shot/lib/config/Toolbar.js +46 -0
  66. package/es2017/customerService/js-screen-shot/lib/main-entrance/CreateDom.d.ts +24 -0
  67. package/es2017/customerService/js-screen-shot/lib/main-entrance/CreateDom.js +305 -0
  68. package/es2017/customerService/js-screen-shot/lib/main-entrance/InitData.d.ts +78 -0
  69. package/es2017/customerService/js-screen-shot/lib/main-entrance/InitData.js +538 -0
  70. package/es2017/customerService/js-screen-shot/lib/main-entrance/PlugInParameters.d.ts +46 -0
  71. package/es2017/customerService/js-screen-shot/lib/main-entrance/PlugInParameters.js +162 -0
  72. package/es2017/customerService/js-screen-shot/lib/split-methods/AddHistoryData.d.ts +1 -0
  73. package/es2017/customerService/js-screen-shot/lib/split-methods/AddHistoryData.js +23 -0
  74. package/es2017/customerService/js-screen-shot/lib/split-methods/BoundaryJudgment.d.ts +8 -0
  75. package/es2017/customerService/js-screen-shot/lib/split-methods/BoundaryJudgment.js +13 -0
  76. package/es2017/customerService/js-screen-shot/lib/split-methods/CalculateOptionIcoPosition.d.ts +5 -0
  77. package/es2017/customerService/js-screen-shot/lib/split-methods/CalculateOptionIcoPosition.js +21 -0
  78. package/es2017/customerService/js-screen-shot/lib/split-methods/CalculateToolLocation.d.ts +16 -0
  79. package/es2017/customerService/js-screen-shot/lib/split-methods/CalculateToolLocation.js +39 -0
  80. package/es2017/customerService/js-screen-shot/lib/split-methods/DrawArrow.d.ts +31 -0
  81. package/es2017/customerService/js-screen-shot/lib/split-methods/DrawArrow.js +131 -0
  82. package/es2017/customerService/js-screen-shot/lib/split-methods/DrawCircle.d.ts +11 -0
  83. package/es2017/customerService/js-screen-shot/lib/split-methods/DrawCircle.js +37 -0
  84. package/es2017/customerService/js-screen-shot/lib/split-methods/DrawCutOutBox.d.ts +19 -0
  85. package/es2017/customerService/js-screen-shot/lib/split-methods/DrawCutOutBox.js +119 -0
  86. package/es2017/customerService/js-screen-shot/lib/split-methods/DrawLineArrow.d.ts +13 -0
  87. package/es2017/customerService/js-screen-shot/lib/split-methods/DrawLineArrow.js +51 -0
  88. package/es2017/customerService/js-screen-shot/lib/split-methods/DrawMasking.d.ts +6 -0
  89. package/es2017/customerService/js-screen-shot/lib/split-methods/DrawMasking.js +41 -0
  90. package/es2017/customerService/js-screen-shot/lib/split-methods/DrawMosaic.d.ts +12 -0
  91. package/es2017/customerService/js-screen-shot/lib/split-methods/DrawMosaic.js +67 -0
  92. package/es2017/customerService/js-screen-shot/lib/split-methods/DrawPencil.d.ts +13 -0
  93. package/es2017/customerService/js-screen-shot/lib/split-methods/DrawPencil.js +27 -0
  94. package/es2017/customerService/js-screen-shot/lib/split-methods/DrawRectangle.d.ts +11 -0
  95. package/es2017/customerService/js-screen-shot/lib/split-methods/DrawRectangle.js +22 -0
  96. package/es2017/customerService/js-screen-shot/lib/split-methods/DrawText.d.ts +10 -0
  97. package/es2017/customerService/js-screen-shot/lib/split-methods/DrawText.js +24 -0
  98. package/es2017/customerService/js-screen-shot/lib/split-methods/KeyboardEventHandle.d.ts +10 -0
  99. package/es2017/customerService/js-screen-shot/lib/split-methods/KeyboardEventHandle.js +50 -0
  100. package/es2017/customerService/js-screen-shot/lib/split-methods/SetPlugInParameters.d.ts +2 -0
  101. package/es2017/customerService/js-screen-shot/lib/split-methods/SetPlugInParameters.js +62 -0
  102. package/es2017/customerService/js-screen-shot/lib/split-methods/ToolClickEvent.d.ts +1 -0
  103. package/es2017/customerService/js-screen-shot/lib/split-methods/ToolClickEvent.js +132 -0
  104. package/es2017/customerService/js-screen-shot/lib/split-methods/drawCrossImg.d.ts +1 -0
  105. package/es2017/customerService/js-screen-shot/lib/split-methods/drawCrossImg.js +33 -0
  106. package/es2017/customerService/js-screen-shot/lib/type/ComponentType.d.ts +133 -0
  107. package/es2017/customerService/js-screen-shot/lib/type/ComponentType.js +2 -0
  108. package/es2017/customerService/js-screen-shot/main.d.ts +110 -0
  109. package/es2017/customerService/js-screen-shot/main.js +1101 -0
  110. package/es2017/customerService/screenshotTool.d.ts +2 -2
  111. package/es2017/customerService/screenshotTool.js +2 -2
  112. package/es2017/customerService/teacherList.d.ts +2 -2
  113. package/es2017/customerService/teacherList.js +2 -2
  114. package/es2017/i18n/en_US.js +4 -1
  115. package/es2017/i18n/zh_CN.js +4 -1
  116. package/es2017/icons/index.js +2 -2
  117. package/es2017/index.js +14 -14
  118. package/es2017/provider/index.js +2 -2
  119. package/es2017/table/index.js +4 -4
  120. package/es2017/tableSelect/index.js +3 -3
  121. package/es2017/textTootip/index.js +1 -1
  122. package/es2017/titleBar/index.js +3 -3
  123. package/es2017/viewImage/index.js +13 -13
  124. package/esm/bhdAppLayout/index.js +15 -15
  125. package/esm/bhdDatePicker/index.d.ts +1 -2
  126. package/esm/bhdDatePicker/index.js +254 -257
  127. package/esm/bhdDatePicker/index.module.less +120 -8
  128. package/esm/bhdSelect/index.js +1 -1
  129. package/esm/bhdTipModal/index.js +1 -1
  130. package/esm/customerService/contactsList.d.ts +2 -2
  131. package/esm/customerService/contactsList.js +1 -1
  132. package/esm/customerService/function.js +2 -1
  133. package/esm/customerService/historyFun.d.ts +2 -2
  134. package/esm/customerService/historyFun.js +1 -1
  135. package/esm/customerService/index.d.ts +2 -2
  136. package/esm/customerService/index.js +2 -2
  137. package/esm/customerService/js-screen-shot/assets/less/screen-shot.less +478 -0
  138. package/esm/customerService/js-screen-shot/lib/common-methods/CanvasPatch.d.ts +1 -0
  139. package/esm/customerService/js-screen-shot/lib/common-methods/CanvasPatch.js +15 -0
  140. package/esm/customerService/js-screen-shot/lib/common-methods/DeviceTypeVerif.d.ts +2 -0
  141. package/esm/customerService/js-screen-shot/lib/common-methods/DeviceTypeVerif.js +32 -0
  142. package/esm/customerService/js-screen-shot/lib/common-methods/FixedData.d.ts +11 -0
  143. package/esm/customerService/js-screen-shot/lib/common-methods/FixedData.js +17 -0
  144. package/esm/customerService/js-screen-shot/lib/common-methods/GetBrushSelectedName.d.ts +5 -0
  145. package/esm/customerService/js-screen-shot/lib/common-methods/GetBrushSelectedName.js +18 -0
  146. package/esm/customerService/js-screen-shot/lib/common-methods/GetCanvasImgData.d.ts +4 -0
  147. package/esm/customerService/js-screen-shot/lib/common-methods/GetCanvasImgData.js +25 -0
  148. package/esm/customerService/js-screen-shot/lib/common-methods/GetColor.d.ts +1 -0
  149. package/esm/customerService/js-screen-shot/lib/common-methods/GetColor.js +41 -0
  150. package/esm/customerService/js-screen-shot/lib/common-methods/GetSelectedCalssName.d.ts +1 -0
  151. package/esm/customerService/js-screen-shot/lib/common-methods/GetSelectedCalssName.js +23 -0
  152. package/esm/customerService/js-screen-shot/lib/common-methods/GetToolRelativePosition.d.ts +7 -0
  153. package/esm/customerService/js-screen-shot/lib/common-methods/GetToolRelativePosition.js +10 -0
  154. package/esm/customerService/js-screen-shot/lib/common-methods/ImgScaling.d.ts +11 -0
  155. package/esm/customerService/js-screen-shot/lib/common-methods/ImgScaling.js +38 -0
  156. package/esm/customerService/js-screen-shot/lib/common-methods/SaveBorderArrInfo.d.ts +8 -0
  157. package/esm/customerService/js-screen-shot/lib/common-methods/SaveBorderArrInfo.js +125 -0
  158. package/esm/customerService/js-screen-shot/lib/common-methods/SaveCanvasToBase64.d.ts +1 -0
  159. package/esm/customerService/js-screen-shot/lib/common-methods/SaveCanvasToBase64.js +38 -0
  160. package/esm/customerService/js-screen-shot/lib/common-methods/SaveCanvasToImage.d.ts +1 -0
  161. package/esm/customerService/js-screen-shot/lib/common-methods/SaveCanvasToImage.js +27 -0
  162. package/esm/customerService/js-screen-shot/lib/common-methods/SelectColor.d.ts +1 -0
  163. package/esm/customerService/js-screen-shot/lib/common-methods/SelectColor.js +6 -0
  164. package/esm/customerService/js-screen-shot/lib/common-methods/SelectTextSize.d.ts +5 -0
  165. package/esm/customerService/js-screen-shot/lib/common-methods/SelectTextSize.js +26 -0
  166. package/esm/customerService/js-screen-shot/lib/common-methods/SetBrushSize.d.ts +14 -0
  167. package/esm/customerService/js-screen-shot/lib/common-methods/SetBrushSize.js +50 -0
  168. package/esm/customerService/js-screen-shot/lib/common-methods/SetSelectedClassName.d.ts +7 -0
  169. package/esm/customerService/js-screen-shot/lib/common-methods/SetSelectedClassName.js +28 -0
  170. package/esm/customerService/js-screen-shot/lib/common-methods/TakeOutHistory.d.ts +1 -0
  171. package/esm/customerService/js-screen-shot/lib/common-methods/TakeOutHistory.js +20 -0
  172. package/esm/customerService/js-screen-shot/lib/common-methods/UpdateContainerMouseStyle.d.ts +1 -0
  173. package/esm/customerService/js-screen-shot/lib/common-methods/UpdateContainerMouseStyle.js +10 -0
  174. package/esm/customerService/js-screen-shot/lib/common-methods/ZoomCutOutBoxPosition.d.ts +17 -0
  175. package/esm/customerService/js-screen-shot/lib/common-methods/ZoomCutOutBoxPosition.js +92 -0
  176. package/esm/customerService/js-screen-shot/lib/config/Toolbar.d.ts +5 -0
  177. package/esm/customerService/js-screen-shot/lib/config/Toolbar.js +46 -0
  178. package/esm/customerService/js-screen-shot/lib/main-entrance/CreateDom.d.ts +24 -0
  179. package/esm/customerService/js-screen-shot/lib/main-entrance/CreateDom.js +346 -0
  180. package/esm/customerService/js-screen-shot/lib/main-entrance/InitData.d.ts +78 -0
  181. package/esm/customerService/js-screen-shot/lib/main-entrance/InitData.js +758 -0
  182. package/esm/customerService/js-screen-shot/lib/main-entrance/PlugInParameters.d.ts +46 -0
  183. package/esm/customerService/js-screen-shot/lib/main-entrance/PlugInParameters.js +259 -0
  184. package/esm/customerService/js-screen-shot/lib/split-methods/AddHistoryData.d.ts +1 -0
  185. package/esm/customerService/js-screen-shot/lib/split-methods/AddHistoryData.js +23 -0
  186. package/esm/customerService/js-screen-shot/lib/split-methods/BoundaryJudgment.d.ts +8 -0
  187. package/esm/customerService/js-screen-shot/lib/split-methods/BoundaryJudgment.js +13 -0
  188. package/esm/customerService/js-screen-shot/lib/split-methods/CalculateOptionIcoPosition.d.ts +5 -0
  189. package/esm/customerService/js-screen-shot/lib/split-methods/CalculateOptionIcoPosition.js +21 -0
  190. package/esm/customerService/js-screen-shot/lib/split-methods/CalculateToolLocation.d.ts +16 -0
  191. package/esm/customerService/js-screen-shot/lib/split-methods/CalculateToolLocation.js +39 -0
  192. package/esm/customerService/js-screen-shot/lib/split-methods/DrawArrow.d.ts +31 -0
  193. package/esm/customerService/js-screen-shot/lib/split-methods/DrawArrow.js +159 -0
  194. package/esm/customerService/js-screen-shot/lib/split-methods/DrawCircle.d.ts +11 -0
  195. package/esm/customerService/js-screen-shot/lib/split-methods/DrawCircle.js +37 -0
  196. package/esm/customerService/js-screen-shot/lib/split-methods/DrawCutOutBox.d.ts +19 -0
  197. package/esm/customerService/js-screen-shot/lib/split-methods/DrawCutOutBox.js +120 -0
  198. package/esm/customerService/js-screen-shot/lib/split-methods/DrawLineArrow.d.ts +13 -0
  199. package/esm/customerService/js-screen-shot/lib/split-methods/DrawLineArrow.js +51 -0
  200. package/esm/customerService/js-screen-shot/lib/split-methods/DrawMasking.d.ts +6 -0
  201. package/esm/customerService/js-screen-shot/lib/split-methods/DrawMasking.js +41 -0
  202. package/esm/customerService/js-screen-shot/lib/split-methods/DrawMosaic.d.ts +12 -0
  203. package/esm/customerService/js-screen-shot/lib/split-methods/DrawMosaic.js +67 -0
  204. package/esm/customerService/js-screen-shot/lib/split-methods/DrawPencil.d.ts +13 -0
  205. package/esm/customerService/js-screen-shot/lib/split-methods/DrawPencil.js +27 -0
  206. package/esm/customerService/js-screen-shot/lib/split-methods/DrawRectangle.d.ts +11 -0
  207. package/esm/customerService/js-screen-shot/lib/split-methods/DrawRectangle.js +22 -0
  208. package/esm/customerService/js-screen-shot/lib/split-methods/DrawText.d.ts +10 -0
  209. package/esm/customerService/js-screen-shot/lib/split-methods/DrawText.js +24 -0
  210. package/esm/customerService/js-screen-shot/lib/split-methods/KeyboardEventHandle.d.ts +10 -0
  211. package/esm/customerService/js-screen-shot/lib/split-methods/KeyboardEventHandle.js +61 -0
  212. package/esm/customerService/js-screen-shot/lib/split-methods/SetPlugInParameters.d.ts +2 -0
  213. package/esm/customerService/js-screen-shot/lib/split-methods/SetPlugInParameters.js +63 -0
  214. package/esm/customerService/js-screen-shot/lib/split-methods/ToolClickEvent.d.ts +1 -0
  215. package/esm/customerService/js-screen-shot/lib/split-methods/ToolClickEvent.js +132 -0
  216. package/esm/customerService/js-screen-shot/lib/split-methods/drawCrossImg.d.ts +1 -0
  217. package/esm/customerService/js-screen-shot/lib/split-methods/drawCrossImg.js +33 -0
  218. package/esm/customerService/js-screen-shot/lib/type/ComponentType.d.ts +133 -0
  219. package/esm/customerService/js-screen-shot/lib/type/ComponentType.js +2 -0
  220. package/esm/customerService/js-screen-shot/main.d.ts +110 -0
  221. package/esm/customerService/js-screen-shot/main.js +1204 -0
  222. package/esm/customerService/screenshotTool.d.ts +2 -2
  223. package/esm/customerService/screenshotTool.js +1 -1
  224. package/esm/customerService/teacherList.d.ts +2 -2
  225. package/esm/customerService/teacherList.js +1 -1
  226. package/esm/i18n/en_US.js +4 -1
  227. package/esm/i18n/zh_CN.js +4 -1
  228. package/esm/icons/index.js +1 -1
  229. package/esm/index.js +14 -14
  230. package/esm/tableSelect/index.js +1 -1
  231. package/esm/viewImage/index.js +3 -3
  232. package/package.json +1 -1
  233. package/dist/a4d5ce04.esm.es5.production.js +0 -468
  234. package/dist/vendor.esm.es5.development.esm.es5.development.css +0 -119
  235. package/dist/vendor.esm.es5.production.esm.es5.production.css +0 -11
  236. package/es2017/customerService/screenShotPlugin.esm.js +0 -6515
  237. package/esm/customerService/screenShotPlugin.esm.js +0 -6516
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from "react";
2
2
  import "react-image-crop/dist/ReactCrop.css";
3
3
  interface data {
4
4
  imgBese64: string;
@@ -6,5 +6,5 @@ interface data {
6
6
  saveScreenshotBese64: (bese64: string) => void;
7
7
  cancelScreenshot: () => void;
8
8
  }
9
- declare const ScreenshotTool: import("react").ForwardRefExoticComponent<data & import("react").RefAttributes<unknown>>;
9
+ declare const ScreenshotTool: React.ForwardRefExoticComponent<data & React.RefAttributes<unknown>>;
10
10
  export default ScreenshotTool;
@@ -2,11 +2,11 @@ import { jsx as _jsx, jsxs as _jsxs } from "@ice/jsx-runtime/jsx-runtime";
2
2
  import React, { useState, forwardRef, useEffect } from "react";
3
3
  import ReactCrop, { centerCrop, makeAspectCrop } from "react-image-crop";
4
4
  import { CloseOutlined } from "@ant-design/icons";
5
- import { CustomDuihao } from "../icons/index";
5
+ import { CustomDuihao } from "../icons";
6
6
  import "react-image-crop/dist/ReactCrop.css";
7
7
  import styles from "./index.module.less";
8
8
  const ScreenshotTool = /*#__PURE__*/ forwardRef((props, ref)=>{
9
- let { imgBese64 , screenShotType , saveScreenshotBese64 , cancelScreenshot } = props;
9
+ let { imgBese64, screenShotType, saveScreenshotBese64, cancelScreenshot } = props;
10
10
  const [crop, setCrop] = useState();
11
11
  const [completedCrop, setCompletedCrop] = useState();
12
12
  const [aspect, setAspect] = useState(16 / 9);
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from "react";
2
2
  interface data {
3
3
  type: number;
4
4
  userData: any;
@@ -7,5 +7,5 @@ interface data {
7
7
  onClose: any;
8
8
  enterTeacherChat: any;
9
9
  }
10
- declare const TeacherList: (props: data) => JSX.Element;
10
+ declare const TeacherList: (props: data) => React.JSX.Element;
11
11
  export default TeacherList;
@@ -3,10 +3,10 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "@ice/jsx-runt
3
3
  import React, { useEffect, useState, useRef } from "react";
4
4
  import styles from "./index.module.less";
5
5
  import { Input } from "antd";
6
- import { CustomClose } from "../icons/index";
6
+ import { CustomClose } from "../icons";
7
7
  import { SearchOutlined } from "@ant-design/icons";
8
8
  const TeacherList = (props)=>{
9
- let { type , userData , http , urllocation , onClose , enterTeacherChat } = props;
9
+ let { type, userData, http, urllocation, onClose, enterTeacherChat } = props;
10
10
  const [keyWordProblem, setKeyWordProblem] = useState(""); //搜索内容
11
11
  const [showLoadingState, setShowLoadingState] = useState(2); //2、无数据 ,3、不显示图片
12
12
  // const [totalData, setTotalData] = useState([]); //总数据
@@ -3,6 +3,9 @@ const en_US = {
3
3
  清空条件: "Emptying condition",
4
4
  noData: "No Data",
5
5
  "系统繁忙,稍后重试!": "System busy, try again later!",
6
- Load: "Loading..."
6
+ Load: "Loading...",
7
+ 确定: 'OK',
8
+ 此刻: 'Now',
9
+ 今天: 'Today'
7
10
  };
8
11
  export default en_US;
@@ -3,6 +3,9 @@ const zh_CN = {
3
3
  清空条件: "清空条件",
4
4
  noData: "暂无数据",
5
5
  "系统繁忙,稍后重试!": "系统繁忙,稍后重试!",
6
- Load: "正在加载..."
6
+ Load: "正在加载...",
7
+ 确定: '确定',
8
+ 此刻: '此刻',
9
+ 今天: '今天'
7
10
  };
8
11
  export default zh_CN;
@@ -1,2 +1,2 @@
1
- export * from "@ant-design/icons";
2
- export * from "./components/index";
1
+ export * from '@ant-design/icons';
2
+ export * from './components';
package/es2017/index.js CHANGED
@@ -70,19 +70,19 @@ export { default as Watermark } from "antd/es/watermark";
70
70
  export { default as QRCode } from "antd/es/qrcode";
71
71
  export { default as version } from "antd/es/version";
72
72
  export { default as AntdMessage } from "antd/es/message";
73
- /* 自定义修改 */ export { default as Provider } from "./provider/index";
74
- export { default as TextTootip } from "./textTootip/index";
73
+ /* 自定义修改 */ export { default as Provider } from "./provider";
74
+ export { default as TextTootip } from "./textTootip";
75
75
  export { default as zh_CN } from "antd/locale/zh_CN";
76
76
  export { default as en_US } from "antd/locale/en_US";
77
- export { default as Table } from "./table/index"; //改写table逻辑
78
- export { default as BhdTableSimple } from "./bhdAppLayout/components/BhdTableSimple/index"; //改写table逻辑
79
- export { default as message } from "./message/index"; //封装message
80
- export { default as Pagination } from "./pagination/index"; //封装Pagination
81
- export { default as BhdTableSelect } from "./tableSelect/index"; //封装 Table Head Select
82
- export { default as TitleBar } from "./titleBar/index"; //标题栏
83
- export { default as ViewImage } from "./viewImage/index"; //查看大图
84
- export { default as BhdTipModal } from "./bhdTipModal/index"; //提示框
85
- export { default as BhdSelect } from "./bhdSelect/index"; //封装 bhdSelect
86
- export { default as BhdAppLayout } from "./bhdAppLayout/index"; //封装 BhdAppLayout
87
- export { default as CustomerService } from "./customerService/index"; //封装 智能客服
88
- export { default as BhdDatePicker } from "./bhdDatePicker/index"; //封装 日历组件
77
+ export { default as Table } from "./table"; //改写table逻辑
78
+ export { default as BhdTableSimple } from "./bhdAppLayout/components/BhdTableSimple"; //改写table逻辑
79
+ export { default as message } from "./message"; //封装message
80
+ export { default as Pagination } from "./pagination"; //封装Pagination
81
+ export { default as BhdTableSelect } from "./tableSelect"; //封装 Table Head Select
82
+ export { default as TitleBar } from "./titleBar"; //标题栏
83
+ export { default as ViewImage } from "./viewImage"; //查看大图
84
+ export { default as BhdTipModal } from "./bhdTipModal"; //提示框
85
+ export { default as BhdSelect } from "./bhdSelect"; //封装 bhdSelect
86
+ export { default as BhdAppLayout } from "./bhdAppLayout"; //封装 BhdAppLayout
87
+ export { default as CustomerService } from "./customerService"; //封装 智能客服
88
+ export { default as BhdDatePicker } from "./bhdDatePicker"; //封装 日历组件
@@ -11,7 +11,7 @@ import { StyleProvider, legacyLogicalPropertiesTransformer } from "@ant-design/c
11
11
  import BhdTipModal from "../bhdTipModal/modal";
12
12
  const Provider = (Component, customConfig = {})=>{
13
13
  let AppConfig = Object.assign(config, customConfig);
14
- const { message ={} , notification ={} } = AppConfig;
14
+ const { message = {}, notification = {} } = AppConfig;
15
15
  ConfigProvider.config(AppConfig);
16
16
  ConfigProvider.__proto__.lang = AppConfig.locale.locale;
17
17
  return (_param)=>{
@@ -38,7 +38,7 @@ Provider.Component = (props)=>{
38
38
  let AppConfig = Object.assign(config, props);
39
39
  ConfigProvider.__proto__.lang = AppConfig.locale.locale;
40
40
  ConfigProvider.config(AppConfig);
41
- const { message ={} , notification ={} } = AppConfig;
41
+ const { message = {}, notification = {} } = AppConfig;
42
42
  return /*#__PURE__*/ _jsx(ConfigProvider, _object_spread_props(_object_spread({}, AppConfig), {
43
43
  children: /*#__PURE__*/ _jsxs(StyleProvider, {
44
44
  hashPriority: "high",
@@ -53,14 +53,14 @@ const Table = (props)=>{
53
53
  const timerRef = useRef({
54
54
  timer: null
55
55
  });
56
- const { defaultWidthRang =[
56
+ const { defaultWidthRang = [
57
57
  180,
58
58
  240,
59
59
  320
60
- ] , isFixedLeft =true , isFixedRight =true , bordered =false , kind } = props;
60
+ ], isFixedLeft = true, isFixedRight = true, bordered = false, kind } = props;
61
61
  const [columns, setColumns] = useState(props.columns || []);
62
62
  const [scrollObject, setScrollObject] = useState(props.scroll || undefined);
63
- let { columnTootipClassName , columnTootipColor } = props;
63
+ let { columnTootipClassName, columnTootipColor } = props;
64
64
  const initColumns = ()=>{
65
65
  // let scrollBarDom = tableRef.current.getElementsByClassName(
66
66
  // "bhd-table-cell-scrollbar"
@@ -73,7 +73,7 @@ const Table = (props)=>{
73
73
  let selectWidth = kind === "simple" ? 40 : 72;
74
74
  tableWidth -= selectWidth;
75
75
  }
76
- let { columns: selfColumns } = initColumnsWidth(props.columns, tableWidth);
76
+ let { columns: selfColumns } = initColumnsWidth(props.columns, tableWidth);
77
77
  setColumns(selfColumns);
78
78
  let obj = scrollObject ? scrollObject : {};
79
79
  obj = _object_spread_props(_object_spread({}, obj), {
@@ -6,14 +6,14 @@ import { _ as _object_spread_props } from "@swc/helpers/_/_object_spread_props";
6
6
  import { jsx as _jsx } from "@ice/jsx-runtime/jsx-runtime";
7
7
  import * as React from "react";
8
8
  import { useRef } from "react";
9
- import { CaretDownOutlined } from "../icons/index";
10
- import { Select } from "antd";
9
+ import { CaretDownOutlined } from '../icons';
10
+ import { Select } from 'antd';
11
11
  //import type { SelectProps } from 'antd';
12
12
  import styles from "./index.module.less";
13
13
  const BhdTableSelect = (props)=>{
14
14
  const { // initOption=[],
15
15
  // initOptionType='default',
16
- className ='' , dropdownStyle ={} , suffixIcon =null , children } = props;
16
+ className = '', dropdownStyle = {}, suffixIcon = null, children } = props;
17
17
  const tableSelectRef = useRef(null);
18
18
  // const handleTypeSwitchOption=()=>{
19
19
  // switch(initOptionType){
@@ -18,7 +18,7 @@ const getTextSize = (str, fontSize = 14)=>{
18
18
  return result;
19
19
  };
20
20
  const TextTootip = (props)=>{
21
- let { children , title , width } = props;
21
+ let { children, title, width } = props;
22
22
  const [open, setOpen] = useState(false);
23
23
  const mouseEnter = (e)=>{
24
24
  let w = 0;
@@ -3,7 +3,7 @@ import * as React from "react";
3
3
  import { useState, useEffect, useLayoutEffect, useRef } from "react";
4
4
  import styles from "./index.module.less";
5
5
  const TitleBar = (props)=>{
6
- let { title , leftIcon , subTitle , rightContent , wrapClassName ="" , rightMaxWidth =45 , leftIconClassName ="" , leftTitleClassName ="" , leftSubTitleClassName ="" , rightClassName ="" , leftClassName ="" } = props;
6
+ let { title, leftIcon, subTitle, rightContent, wrapClassName = "", rightMaxWidth = 45, leftIconClassName = "", leftTitleClassName = "", leftSubTitleClassName = "", rightClassName = "", leftClassName = "" } = props;
7
7
  const titleBarRef = useRef(null);
8
8
  const rightContentRef = useRef(null);
9
9
  const [kind, setKind] = useState("screen"); //"screen" 全展示 minScreen:小屏展示
@@ -15,7 +15,7 @@ const TitleBar = (props)=>{
15
15
  // const onResize = useCallback(, [screenWidth]);
16
16
  const onResize = ()=>{
17
17
  if (rightContent) {
18
- const { width } = titleBarRef.current.getBoundingClientRect();
18
+ const { width } = titleBarRef.current.getBoundingClientRect();
19
19
  const maxWidth = width * rightMaxWidth / 100;
20
20
  if (screenWidth > maxWidth) {
21
21
  // kind minScreen
@@ -27,7 +27,7 @@ const TitleBar = (props)=>{
27
27
  };
28
28
  useLayoutEffect(()=>{
29
29
  if (rightContent) {
30
- const { width } = titleBarRef.current.getBoundingClientRect();
30
+ const { width } = titleBarRef.current.getBoundingClientRect();
31
31
  const maxWidth = width * rightMaxWidth / 100;
32
32
  const rightWidth = rightContentRef.current.getBoundingClientRect().width;
33
33
  setScreenWidth(rightWidth);
@@ -6,10 +6,10 @@ import * as React from "react";
6
6
  import { useRef, useImperativeHandle, forwardRef } from "react";
7
7
  import styles from "./index.module.less";
8
8
  import { Modal } from "antd";
9
- import { LeftOutlined, RightOutlined, MinusOutlined, PlusOutlined, CustomClose, CustomXuanZuan, CustomDownLoad } from "../icons/index";
9
+ import { LeftOutlined, RightOutlined, MinusOutlined, PlusOutlined, CustomClose, CustomXuanZuan, CustomDownLoad } from "../icons";
10
10
  import { getStyle } from "../utils/dom";
11
- import { Loading } from "../images/index";
12
- import BhdTipModal from "../bhdTipModal/index";
11
+ import { Loading } from "../images";
12
+ import BhdTipModal from "../bhdTipModal";
13
13
  class ViewImage extends React.Component {
14
14
  componentDidMount() {
15
15
  this.setState({
@@ -30,8 +30,8 @@ class ViewImage extends React.Component {
30
30
  document.oncontextmenu = null;
31
31
  }
32
32
  render() {
33
- let { scaleValue , imgSrc , imgLeft , imgTop , rotateValue , loading , multiSelect , imgError } = this.state;
34
- let { content , download } = this.props;
33
+ let { scaleValue, imgSrc, imgLeft, imgTop, rotateValue, loading, multiSelect, imgError } = this.state;
34
+ let { content, download } = this.props;
35
35
  return /*#__PURE__*/ _jsxs("div", {
36
36
  className: styles.viewImgBody,
37
37
  children: [
@@ -153,7 +153,7 @@ class ViewImage extends React.Component {
153
153
  imgError: false
154
154
  });
155
155
  _define_property(this, "scaleChange", (value)=>{
156
- let { maxScale , minScale } = this.state;
156
+ let { maxScale, minScale } = this.state;
157
157
  if (value >= maxScale) {
158
158
  value = maxScale;
159
159
  }
@@ -165,7 +165,7 @@ class ViewImage extends React.Component {
165
165
  });
166
166
  });
167
167
  _define_property(this, "moveImg", (ev)=>{
168
- let { imgLeft , imgTop } = this.state;
168
+ let { imgLeft, imgTop } = this.state;
169
169
  ev.preventDefault();
170
170
  let dom = document.getElementsByClassName(`${styles.viewImgBody_pic}`)[0];
171
171
  if (!dom) return;
@@ -191,7 +191,7 @@ class ViewImage extends React.Component {
191
191
  document.addEventListener("mouseup", mouseUp);
192
192
  });
193
193
  _define_property(this, "base64Down", (src)=>{
194
- let { filename } = this.props;
194
+ let { filename } = this.props;
195
195
  var base64 = src.toString(); // imgSrc 就是base64哈
196
196
  let type = "png";
197
197
  var byteCharacters = atob(base64.replace(/^data:image\/(png|jpeg|jpg);base64,/, (a, b)=>{
@@ -216,7 +216,7 @@ class ViewImage extends React.Component {
216
216
  URL.revokeObjectURL(blobUrl);
217
217
  });
218
218
  _define_property(this, "downloadUrl", ()=>{
219
- let { imgSrc } = this.state;
219
+ let { imgSrc } = this.state;
220
220
  if (/^data:/.test(imgSrc)) {
221
221
  try {
222
222
  this.base64Down(imgSrc);
@@ -251,7 +251,7 @@ class ViewImage extends React.Component {
251
251
  }
252
252
  });
253
253
  _define_property(this, "downloadFile", (url, headers, callback = ()=>{})=>{
254
- let { filename } = this.props;
254
+ let { filename } = this.props;
255
255
  let suffix = "png";
256
256
  var xhr = new XMLHttpRequest();
257
257
  if (url.indexOf("?") != -1) {
@@ -333,12 +333,12 @@ class ViewImage extends React.Component {
333
333
  });
334
334
  });
335
335
  _define_property(this, "preChange", async ()=>{
336
- let { curIndex } = this.state;
336
+ let { curIndex } = this.state;
337
337
  if (curIndex == 0) return;
338
338
  await this.getSrc(curIndex - 1);
339
339
  });
340
340
  _define_property(this, "nextChange", async ()=>{
341
- let { curIndex } = this.state;
341
+ let { curIndex } = this.state;
342
342
  if (curIndex == this.props.multiSelect.length - 1) return;
343
343
  await this.getSrc(curIndex + 1);
344
344
  });
@@ -355,7 +355,7 @@ class ViewImage extends React.Component {
355
355
  }
356
356
  }
357
357
  const AppViewImage = /*#__PURE__*/ forwardRef((props, ref)=>{
358
- let { visible , className } = props;
358
+ let { visible, className } = props;
359
359
  const viewRef = useRef(null);
360
360
  useImperativeHandle(ref, ()=>({
361
361
  updateSrc: ()=>{
@@ -6,20 +6,20 @@ import * as React from "react";
6
6
  import { useState, useLayoutEffect, useRef } from "react";
7
7
  import styles from "./index.module.less";
8
8
  import TitleBar from "../titleBar";
9
- import Pagination from "../pagination/index";
9
+ import Pagination from "../pagination";
10
10
  import i18Conversion from "../i18n";
11
- import BhdTableSimple from "./components/BhdTableSimple/index";
11
+ import BhdTableSimple from "./components/BhdTableSimple";
12
12
  function BhdAppLayout(props) {
13
- var _filterRef_current, _headRef_current, _otherHeadRef_current, _otherContentRef_current;
13
+ var _filterRef_current, _filterRef, _headRef_current, _headRef, _otherHeadRef_current, _otherHeadRef, _otherContentRef_current, _otherContentRef, _filterConfig, _filterConfig1, _footerConfig;
14
14
  var className = props.className, headerClassName = props.headerClassName, tableBoxClassName = props.tableBoxClassName, headConfig = props.headConfig, filterConfig = props.filterConfig, headContent = props.headContent, otherContent = props.otherContent, tableConfig = props.tableConfig, footerConfig = props.footerConfig;
15
15
  var _useState = _sliced_to_array(useState(""), 2), scrollY = _useState[0], setScrollY = _useState[1];
16
16
  var _useState1 = _sliced_to_array(useState(props.scrollConfig), 2), scrollConfig = _useState1[0], setScrollConfig = _useState1[1];
17
17
  var windowChange = function() {
18
- var _headRef_current, _headRef_current1, _filterRef_current, _filterRef_current1, _otherHeadRef_current, _otherHeadRef_current1, _otherContentRef_current, _otherContentRef_current1;
19
- var headRefHeight = isNaN(headRef === null || headRef === void 0 ? void 0 : (_headRef_current = headRef.current) === null || _headRef_current === void 0 ? void 0 : _headRef_current.offsetHeight) ? 0 : headRef === null || headRef === void 0 ? void 0 : (_headRef_current1 = headRef.current) === null || _headRef_current1 === void 0 ? void 0 : _headRef_current1.offsetHeight;
20
- var filterRefHeight = isNaN(filterRef === null || filterRef === void 0 ? void 0 : (_filterRef_current = filterRef.current) === null || _filterRef_current === void 0 ? void 0 : _filterRef_current.offsetHeight) ? 0 : filterRef === null || filterRef === void 0 ? void 0 : (_filterRef_current1 = filterRef.current) === null || _filterRef_current1 === void 0 ? void 0 : _filterRef_current1.offsetHeight;
21
- var otherHeadRefHeight = isNaN(otherHeadRef === null || otherHeadRef === void 0 ? void 0 : (_otherHeadRef_current = otherHeadRef.current) === null || _otherHeadRef_current === void 0 ? void 0 : _otherHeadRef_current.offsetHeight) ? 0 : otherHeadRef === null || otherHeadRef === void 0 ? void 0 : (_otherHeadRef_current1 = otherHeadRef.current) === null || _otherHeadRef_current1 === void 0 ? void 0 : _otherHeadRef_current1.offsetHeight;
22
- var otherContentRefHeight = isNaN(otherContentRef === null || otherContentRef === void 0 ? void 0 : (_otherContentRef_current = otherContentRef.current) === null || _otherContentRef_current === void 0 ? void 0 : _otherContentRef_current.offsetHeight) ? 0 : otherContentRef === null || otherContentRef === void 0 ? void 0 : (_otherContentRef_current1 = otherContentRef.current) === null || _otherContentRef_current1 === void 0 ? void 0 : _otherContentRef_current1.offsetHeight;
18
+ var _headRef_current, _headRef, _headRef_current1, _headRef1, _filterRef_current, _filterRef, _filterRef_current1, _filterRef1, _otherHeadRef_current, _otherHeadRef, _otherHeadRef_current1, _otherHeadRef1, _otherContentRef_current, _otherContentRef, _otherContentRef_current1, _otherContentRef1;
19
+ var headRefHeight = isNaN((_headRef = headRef) === null || _headRef === void 0 ? void 0 : (_headRef_current = _headRef.current) === null || _headRef_current === void 0 ? void 0 : _headRef_current.offsetHeight) ? 0 : (_headRef1 = headRef) === null || _headRef1 === void 0 ? void 0 : (_headRef_current1 = _headRef1.current) === null || _headRef_current1 === void 0 ? void 0 : _headRef_current1.offsetHeight;
20
+ var filterRefHeight = isNaN((_filterRef = filterRef) === null || _filterRef === void 0 ? void 0 : (_filterRef_current = _filterRef.current) === null || _filterRef_current === void 0 ? void 0 : _filterRef_current.offsetHeight) ? 0 : (_filterRef1 = filterRef) === null || _filterRef1 === void 0 ? void 0 : (_filterRef_current1 = _filterRef1.current) === null || _filterRef_current1 === void 0 ? void 0 : _filterRef_current1.offsetHeight;
21
+ var otherHeadRefHeight = isNaN((_otherHeadRef = otherHeadRef) === null || _otherHeadRef === void 0 ? void 0 : (_otherHeadRef_current = _otherHeadRef.current) === null || _otherHeadRef_current === void 0 ? void 0 : _otherHeadRef_current.offsetHeight) ? 0 : (_otherHeadRef1 = otherHeadRef) === null || _otherHeadRef1 === void 0 ? void 0 : (_otherHeadRef_current1 = _otherHeadRef1.current) === null || _otherHeadRef_current1 === void 0 ? void 0 : _otherHeadRef_current1.offsetHeight;
22
+ var otherContentRefHeight = isNaN((_otherContentRef = otherContentRef) === null || _otherContentRef === void 0 ? void 0 : (_otherContentRef_current = _otherContentRef.current) === null || _otherContentRef_current === void 0 ? void 0 : _otherContentRef_current.offsetHeight) ? 0 : (_otherContentRef1 = otherContentRef) === null || _otherContentRef1 === void 0 ? void 0 : (_otherContentRef_current1 = _otherContentRef1.current) === null || _otherContentRef_current1 === void 0 ? void 0 : _otherContentRef_current1.offsetHeight;
23
23
  var height = headRefHeight + filterRefHeight + otherHeadRefHeight + otherContentRefHeight + 56 + 16 + 60 + 50;
24
24
  var offsetHeight = "calc(100vh - ".concat(height, "px)");
25
25
  setScrollY(offsetHeight);
@@ -37,10 +37,10 @@ function BhdAppLayout(props) {
37
37
  useLayoutEffect(function() {
38
38
  windowChange();
39
39
  }, [
40
- filterRef === null || filterRef === void 0 ? void 0 : (_filterRef_current = filterRef.current) === null || _filterRef_current === void 0 ? void 0 : _filterRef_current.offsetHeight,
41
- headRef === null || headRef === void 0 ? void 0 : (_headRef_current = headRef.current) === null || _headRef_current === void 0 ? void 0 : _headRef_current.offsetHeight,
42
- otherHeadRef === null || otherHeadRef === void 0 ? void 0 : (_otherHeadRef_current = otherHeadRef.current) === null || _otherHeadRef_current === void 0 ? void 0 : _otherHeadRef_current.offsetHeight,
43
- otherContentRef === null || otherContentRef === void 0 ? void 0 : (_otherContentRef_current = otherContentRef.current) === null || _otherContentRef_current === void 0 ? void 0 : _otherContentRef_current.offsetHeight
40
+ (_filterRef = filterRef) === null || _filterRef === void 0 ? void 0 : (_filterRef_current = _filterRef.current) === null || _filterRef_current === void 0 ? void 0 : _filterRef_current.offsetHeight,
41
+ (_headRef = headRef) === null || _headRef === void 0 ? void 0 : (_headRef_current = _headRef.current) === null || _headRef_current === void 0 ? void 0 : _headRef_current.offsetHeight,
42
+ (_otherHeadRef = otherHeadRef) === null || _otherHeadRef === void 0 ? void 0 : (_otherHeadRef_current = _otherHeadRef.current) === null || _otherHeadRef_current === void 0 ? void 0 : _otherHeadRef_current.offsetHeight,
43
+ (_otherContentRef = otherContentRef) === null || _otherContentRef === void 0 ? void 0 : (_otherContentRef_current = _otherContentRef.current) === null || _otherContentRef_current === void 0 ? void 0 : _otherContentRef_current.offsetHeight
44
44
  ]);
45
45
  return /*#__PURE__*/ _jsxs("div", {
46
46
  className: "".concat(styles.bhd_app_layout, " ").concat(styles.className, " ").concat(className || ""),
@@ -57,7 +57,7 @@ function BhdAppLayout(props) {
57
57
  /*#__PURE__*/ _jsxs("main", {
58
58
  className: styles.bhd_app_layout_main,
59
59
  children: [
60
- (filterConfig === null || filterConfig === void 0 ? void 0 : filterConfig.filterArr) && filterConfig.filterArr.length ? /*#__PURE__*/ _jsxs("div", {
60
+ ((_filterConfig = filterConfig) === null || _filterConfig === void 0 ? void 0 : _filterConfig.filterArr) && filterConfig.filterArr.length ? /*#__PURE__*/ _jsxs("div", {
61
61
  ref: filterRef,
62
62
  className: styles.bhd_app_layout_main_filter,
63
63
  children: [
@@ -96,7 +96,7 @@ function BhdAppLayout(props) {
96
96
  })
97
97
  }),
98
98
  /*#__PURE__*/ _jsx("div", {
99
- onClick: filterConfig === null || filterConfig === void 0 ? void 0 : filterConfig.onClearAll,
99
+ onClick: (_filterConfig1 = filterConfig) === null || _filterConfig1 === void 0 ? void 0 : _filterConfig1.onClearAll,
100
100
  className: styles.bhd_app_layout_main_filter_clear,
101
101
  children: i18Conversion("清空条件")
102
102
  })
@@ -119,7 +119,7 @@ function BhdAppLayout(props) {
119
119
  className: styles.bhd_app_layout_footer,
120
120
  children: [
121
121
  /*#__PURE__*/ _jsx("div", {
122
- children: (footerConfig === null || footerConfig === void 0 ? void 0 : footerConfig.leftDom) && footerConfig.leftDom
122
+ children: ((_footerConfig = footerConfig) === null || _footerConfig === void 0 ? void 0 : _footerConfig.leftDom) && footerConfig.leftDom
123
123
  }),
124
124
  /*#__PURE__*/ _jsx(Pagination, _object_spread({}, footerConfig))
125
125
  ]
@@ -1,7 +1,6 @@
1
1
  import * as React from "react";
2
- import type { Dayjs } from "dayjs";
3
2
  export interface BhdDateExtraPicker {
4
- date: Dayjs;
3
+ date: any;
5
4
  text: string;
6
5
  status: "selectable" | "noselectable" | "selected";
7
6
  }