@trionesdev/antd-mobile-base-react 0.0.2-beta.0

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 (404) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +23 -0
  3. package/dist/ActionSheet/ActionSheet.d.ts +25 -0
  4. package/dist/ActionSheet/ActionSheet.js +77 -0
  5. package/dist/ActionSheet/index.d.ts +3 -0
  6. package/dist/ActionSheet/index.js +2 -0
  7. package/dist/ActionSheet/style.scss +51 -0
  8. package/dist/Alert/alert.d.ts +32 -0
  9. package/dist/Alert/alert.js +49 -0
  10. package/dist/Alert/index.d.ts +3 -0
  11. package/dist/Alert/index.js +2 -0
  12. package/dist/Alert/style.scss +69 -0
  13. package/dist/Avatar/avatar.d.ts +14 -0
  14. package/dist/Avatar/avatar.js +40 -0
  15. package/dist/Avatar/index.d.ts +3 -0
  16. package/dist/Avatar/index.js +2 -0
  17. package/dist/Avatar/style.scss +16 -0
  18. package/dist/Badge/badge.d.ts +14 -0
  19. package/dist/Badge/badge.js +82 -0
  20. package/dist/Badge/index.d.ts +3 -0
  21. package/dist/Badge/index.js +2 -0
  22. package/dist/Badge/style.scss +100 -0
  23. package/dist/Card/card.d.ts +21 -0
  24. package/dist/Card/card.js +48 -0
  25. package/dist/Card/index.d.ts +4 -0
  26. package/dist/Card/index.js +3 -0
  27. package/dist/Card/native-props.d.ts +8 -0
  28. package/dist/Card/native-props.js +27 -0
  29. package/dist/Card/style.scss +35 -0
  30. package/dist/CascaderPicker/cascader-picker.d.ts +27 -0
  31. package/dist/CascaderPicker/cascader-picker.js +88 -0
  32. package/dist/CascaderPicker/index.d.ts +3 -0
  33. package/dist/CascaderPicker/index.js +2 -0
  34. package/dist/CascaderPicker/style.scss +42 -0
  35. package/dist/CascaderView/cascader-column-item.d.ts +8 -0
  36. package/dist/CascaderView/cascader-column-item.js +19 -0
  37. package/dist/CascaderView/cascader-column.d.ts +9 -0
  38. package/dist/CascaderView/cascader-column.js +26 -0
  39. package/dist/CascaderView/cascader-view.d.ts +18 -0
  40. package/dist/CascaderView/cascader-view.js +243 -0
  41. package/dist/CascaderView/index.d.ts +3 -0
  42. package/dist/CascaderView/index.js +2 -0
  43. package/dist/CascaderView/style.scss +22 -0
  44. package/dist/CascaderView/types.d.ts +11 -0
  45. package/dist/CascaderView/types.js +1 -0
  46. package/dist/Cell/CellGroup.d.ts +3 -0
  47. package/dist/Cell/CellGroup.js +41 -0
  48. package/dist/Cell/cell.d.ts +4 -0
  49. package/dist/Cell/cell.js +31 -0
  50. package/dist/Cell/index.d.ts +9 -0
  51. package/dist/Cell/index.js +5 -0
  52. package/dist/Cell/styles.scss +52 -0
  53. package/dist/Cell/types.d.ts +41 -0
  54. package/dist/Cell/types.js +1 -0
  55. package/dist/Checkbox/checkbox-button.d.ts +3 -0
  56. package/dist/Checkbox/checkbox-button.js +42 -0
  57. package/dist/Checkbox/checkbox-group.d.ts +3 -0
  58. package/dist/Checkbox/checkbox-group.js +32 -0
  59. package/dist/Checkbox/checkbox.d.ts +4 -0
  60. package/dist/Checkbox/checkbox.js +47 -0
  61. package/dist/Checkbox/group-context.d.ts +3 -0
  62. package/dist/Checkbox/group-context.js +2 -0
  63. package/dist/Checkbox/index.d.ts +11 -0
  64. package/dist/Checkbox/index.js +7 -0
  65. package/dist/Checkbox/index.scss +151 -0
  66. package/dist/Checkbox/types.d.ts +20 -0
  67. package/dist/Checkbox/types.js +1 -0
  68. package/dist/ConfigProvider/config-provider.d.ts +57 -0
  69. package/dist/ConfigProvider/config-provider.js +41 -0
  70. package/dist/ConfigProvider/index.d.ts +9 -0
  71. package/dist/ConfigProvider/index.js +6 -0
  72. package/dist/DemoBlock/index.d.ts +10 -0
  73. package/dist/DemoBlock/index.js +15 -0
  74. package/dist/DemoBlock/index.scss +20 -0
  75. package/dist/DemoDescription/index.d.ts +6 -0
  76. package/dist/DemoDescription/index.js +7 -0
  77. package/dist/DemoDescription/index.scss +3 -0
  78. package/dist/Descriptions/DescriptionItem.d.ts +5 -0
  79. package/dist/Descriptions/DescriptionItem.js +67 -0
  80. package/dist/Descriptions/Descriptions.d.ts +4 -0
  81. package/dist/Descriptions/Descriptions.js +229 -0
  82. package/dist/Descriptions/index.d.ts +9 -0
  83. package/dist/Descriptions/index.js +5 -0
  84. package/dist/Descriptions/style.scss +65 -0
  85. package/dist/Descriptions/types.d.ts +90 -0
  86. package/dist/Descriptions/types.js +1 -0
  87. package/dist/Divider/divider.d.ts +17 -0
  88. package/dist/Divider/divider.js +36 -0
  89. package/dist/Divider/index.d.ts +3 -0
  90. package/dist/Divider/index.js +2 -0
  91. package/dist/Divider/style.scss +62 -0
  92. package/dist/Ellipsis/ellipsis.d.ts +16 -0
  93. package/dist/Ellipsis/ellipsis.js +77 -0
  94. package/dist/Ellipsis/index.d.ts +3 -0
  95. package/dist/Ellipsis/index.js +2 -0
  96. package/dist/Ellipsis/style.scss +13 -0
  97. package/dist/Ellipsis/useMeasure.d.ts +2 -0
  98. package/dist/Ellipsis/useMeasure.js +123 -0
  99. package/dist/Empty/empty-icon.d.ts +3 -0
  100. package/dist/Empty/empty-icon.js +12 -0
  101. package/dist/Empty/empty.d.ts +12 -0
  102. package/dist/Empty/empty.js +48 -0
  103. package/dist/Empty/images/empty.png +0 -0
  104. package/dist/Empty/index.d.ts +3 -0
  105. package/dist/Empty/index.js +2 -0
  106. package/dist/Empty/style.scss +29 -0
  107. package/dist/ErrorBlock/create-error-block.d.ts +13 -0
  108. package/dist/ErrorBlock/create-error-block.js +44 -0
  109. package/dist/ErrorBlock/demo/base.d.ts +3 -0
  110. package/dist/ErrorBlock/demo/base.js +23 -0
  111. package/dist/ErrorBlock/error-block.d.ts +2 -0
  112. package/dist/ErrorBlock/error-block.js +9 -0
  113. package/dist/ErrorBlock/images/busy.d.ts +2 -0
  114. package/dist/ErrorBlock/images/busy.js +90 -0
  115. package/dist/ErrorBlock/images/busy.png +0 -0
  116. package/dist/ErrorBlock/images/default.d.ts +2 -0
  117. package/dist/ErrorBlock/images/default.js +166 -0
  118. package/dist/ErrorBlock/images/default.png +0 -0
  119. package/dist/ErrorBlock/images/disconnected.d.ts +2 -0
  120. package/dist/ErrorBlock/images/disconnected.js +123 -0
  121. package/dist/ErrorBlock/images/disconnected.png +0 -0
  122. package/dist/ErrorBlock/images/empty.d.ts +2 -0
  123. package/dist/ErrorBlock/images/empty.js +119 -0
  124. package/dist/ErrorBlock/images/empty.png +0 -0
  125. package/dist/ErrorBlock/images/index.d.ts +4 -0
  126. package/dist/ErrorBlock/images/index.js +4 -0
  127. package/dist/ErrorBlock/index.d.ts +7 -0
  128. package/dist/ErrorBlock/index.js +3 -0
  129. package/dist/ErrorBlock/style.scss +62 -0
  130. package/dist/Footer/footer.d.ts +20 -0
  131. package/dist/Footer/footer.js +66 -0
  132. package/dist/Footer/index.d.ts +3 -0
  133. package/dist/Footer/index.js +2 -0
  134. package/dist/Footer/style.scss +55 -0
  135. package/dist/Form/FormItem/form-item-input.d.ts +15 -0
  136. package/dist/Form/FormItem/form-item-input.js +39 -0
  137. package/dist/Form/FormItem/form-item-label.d.ts +13 -0
  138. package/dist/Form/FormItem/form-item-label.js +25 -0
  139. package/dist/Form/FormItem/form-item.d.ts +21 -0
  140. package/dist/Form/FormItem/form-item.js +70 -0
  141. package/dist/Form/FormItem/index.d.ts +5 -0
  142. package/dist/Form/FormItem/index.js +3 -0
  143. package/dist/Form/context.d.ts +12 -0
  144. package/dist/Form/context.js +6 -0
  145. package/dist/Form/form.d.ts +44 -0
  146. package/dist/Form/form.js +31 -0
  147. package/dist/Form/hooks/useForm.d.ts +2 -0
  148. package/dist/Form/hooks/useForm.js +24 -0
  149. package/dist/Form/hooks/useFormContext.d.ts +2 -0
  150. package/dist/Form/hooks/useFormContext.js +6 -0
  151. package/dist/Form/index.d.ts +12 -0
  152. package/dist/Form/index.js +8 -0
  153. package/dist/Form/interface.d.ts +3 -0
  154. package/dist/Form/interface.js +1 -0
  155. package/dist/Form/style.scss +45 -0
  156. package/dist/Grid/grid.d.ts +16 -0
  157. package/dist/Grid/grid.js +35 -0
  158. package/dist/Grid/index.d.ts +7 -0
  159. package/dist/Grid/index.js +4 -0
  160. package/dist/Grid/style.scss +17 -0
  161. package/dist/Icon/check-icon.d.ts +3 -0
  162. package/dist/Icon/check-icon.js +10 -0
  163. package/dist/Icon/demo/base.d.ts +6 -0
  164. package/dist/Icon/demo/base.js +41 -0
  165. package/dist/Input/base-input.d.ts +14 -0
  166. package/dist/Input/base-input.js +63 -0
  167. package/dist/Input/index.d.ts +12 -0
  168. package/dist/Input/index.js +9 -0
  169. package/dist/Input/index.scss +173 -0
  170. package/dist/Input/input-affix-wrapper.d.ts +8 -0
  171. package/dist/Input/input-affix-wrapper.js +50 -0
  172. package/dist/Input/input-opt.d.ts +16 -0
  173. package/dist/Input/input-opt.js +93 -0
  174. package/dist/Input/input-password.d.ts +7 -0
  175. package/dist/Input/input-password.js +47 -0
  176. package/dist/Input/input.d.ts +15 -0
  177. package/dist/Input/input.js +47 -0
  178. package/dist/Input/textarea.d.ts +13 -0
  179. package/dist/Input/textarea.js +45 -0
  180. package/dist/Input/types.d.ts +1 -0
  181. package/dist/Input/types.js +1 -0
  182. package/dist/InputNumber/index.d.ts +3 -0
  183. package/dist/InputNumber/index.js +2 -0
  184. package/dist/InputNumber/input-number.d.ts +13 -0
  185. package/dist/InputNumber/input-number.js +69 -0
  186. package/dist/InputNumber/style.scss +43 -0
  187. package/dist/Mask/index.d.ts +3 -0
  188. package/dist/Mask/index.js +2 -0
  189. package/dist/Mask/mask-modal.d.ts +45 -0
  190. package/dist/Mask/mask-modal.js +32 -0
  191. package/dist/Mask/mask.d.ts +5 -0
  192. package/dist/Mask/mask.js +19 -0
  193. package/dist/Mask/style.scss +20 -0
  194. package/dist/NavBar/index.d.ts +3 -0
  195. package/dist/NavBar/index.js +2 -0
  196. package/dist/NavBar/nav-bar.d.ts +31 -0
  197. package/dist/NavBar/nav-bar.js +36 -0
  198. package/dist/NavBar/style.scss +61 -0
  199. package/dist/NoticeBar/index.d.ts +3 -0
  200. package/dist/NoticeBar/index.js +2 -0
  201. package/dist/NoticeBar/notice-bar.d.ts +64 -0
  202. package/dist/NoticeBar/notice-bar.js +119 -0
  203. package/dist/NoticeBar/style.scss +130 -0
  204. package/dist/PageIndicator/index.d.ts +3 -0
  205. package/dist/PageIndicator/index.js +2 -0
  206. package/dist/PageIndicator/page-indicator.d.ts +10 -0
  207. package/dist/PageIndicator/page-indicator.js +27 -0
  208. package/dist/PageIndicator/style.scss +59 -0
  209. package/dist/Picker/index.d.ts +3 -0
  210. package/dist/Picker/index.js +2 -0
  211. package/dist/Picker/picker.d.ts +19 -0
  212. package/dist/Picker/picker.js +97 -0
  213. package/dist/Picker/style.scss +41 -0
  214. package/dist/PickerView/index.d.ts +4 -0
  215. package/dist/PickerView/index.js +2 -0
  216. package/dist/PickerView/picker-view-column-item.d.ts +7 -0
  217. package/dist/PickerView/picker-view-column-item.js +11 -0
  218. package/dist/PickerView/picker-view-column.d.ts +10 -0
  219. package/dist/PickerView/picker-view-column.js +117 -0
  220. package/dist/PickerView/picker-view.d.ts +12 -0
  221. package/dist/PickerView/picker-view.js +60 -0
  222. package/dist/PickerView/style.scss +72 -0
  223. package/dist/PickerView/types.d.ts +4 -0
  224. package/dist/PickerView/types.js +1 -0
  225. package/dist/Popup/index.d.ts +3 -0
  226. package/dist/Popup/index.js +2 -0
  227. package/dist/Popup/popup-modal.d.ts +52 -0
  228. package/dist/Popup/popup-modal.js +74 -0
  229. package/dist/Popup/popup.d.ts +4 -0
  230. package/dist/Popup/popup.js +56 -0
  231. package/dist/Popup/style.scss +53 -0
  232. package/dist/Radio/GroupContext.d.ts +10 -0
  233. package/dist/Radio/GroupContext.js +2 -0
  234. package/dist/Radio/RadioButton.d.ts +3 -0
  235. package/dist/Radio/RadioButton.js +60 -0
  236. package/dist/Radio/RadioGroup.d.ts +3 -0
  237. package/dist/Radio/RadioGroup.js +60 -0
  238. package/dist/Radio/index.d.ts +11 -0
  239. package/dist/Radio/index.js +14 -0
  240. package/dist/Radio/radio.d.ts +4 -0
  241. package/dist/Radio/radio.js +78 -0
  242. package/dist/Radio/style.scss +138 -0
  243. package/dist/Radio/types.d.ts +58 -0
  244. package/dist/Radio/types.js +1 -0
  245. package/dist/Rate/index.d.ts +3 -0
  246. package/dist/Rate/index.js +2 -0
  247. package/dist/Rate/rate.d.ts +50 -0
  248. package/dist/Rate/rate.js +100 -0
  249. package/dist/Rate/style.scss +37 -0
  250. package/dist/Result/demo/base.d.ts +3 -0
  251. package/dist/Result/demo/base.js +57 -0
  252. package/dist/Result/index.d.ts +3 -0
  253. package/dist/Result/index.js +2 -0
  254. package/dist/Result/result.d.ts +10 -0
  255. package/dist/Result/result.js +28 -0
  256. package/dist/Result/style.scss +73 -0
  257. package/dist/Result/use-result-icon.d.ts +2 -0
  258. package/dist/Result/use-result-icon.js +53 -0
  259. package/dist/SafeArea/index.d.ts +4 -0
  260. package/dist/SafeArea/index.js +3 -0
  261. package/dist/SafeArea/safe-area.d.ts +14 -0
  262. package/dist/SafeArea/safe-area.js +23 -0
  263. package/dist/SafeArea/style.scss +18 -0
  264. package/dist/Scaffold/index.d.ts +3 -0
  265. package/dist/Scaffold/index.js +2 -0
  266. package/dist/Scaffold/scaffold.d.ts +11 -0
  267. package/dist/Scaffold/scaffold.js +19 -0
  268. package/dist/Scaffold/style.scss +16 -0
  269. package/dist/ScrollView/index.d.ts +4 -0
  270. package/dist/ScrollView/index.js +2 -0
  271. package/dist/ScrollView/scroll-view.d.ts +4 -0
  272. package/dist/ScrollView/scroll-view.js +55 -0
  273. package/dist/ScrollView/style.scss +19 -0
  274. package/dist/ScrollView/types.d.ts +26 -0
  275. package/dist/ScrollView/types.js +1 -0
  276. package/dist/SideBar/SideBarContext.d.ts +18 -0
  277. package/dist/SideBar/SideBarContext.js +2 -0
  278. package/dist/SideBar/index.d.ts +3 -0
  279. package/dist/SideBar/index.js +2 -0
  280. package/dist/SideBar/side-bar.d.ts +25 -0
  281. package/dist/SideBar/side-bar.js +351 -0
  282. package/dist/SideBar/style.scss +85 -0
  283. package/dist/SideBar/types.d.ts +7 -0
  284. package/dist/SideBar/types.js +1 -0
  285. package/dist/Space/index.d.ts +3 -0
  286. package/dist/Space/index.js +2 -0
  287. package/dist/Space/space.d.ts +38 -0
  288. package/dist/Space/space.js +61 -0
  289. package/dist/Space/style.scss +77 -0
  290. package/dist/SpinLoading/demo/base.d.ts +3 -0
  291. package/dist/SpinLoading/demo/base.js +21 -0
  292. package/dist/SpinLoading/index.d.ts +3 -0
  293. package/dist/SpinLoading/index.js +2 -0
  294. package/dist/SpinLoading/spin-loading.d.ts +10 -0
  295. package/dist/SpinLoading/spin-loading.js +59 -0
  296. package/dist/SpinLoading/spin-loading.scss +40 -0
  297. package/dist/Steps/HorizontalSteps.d.ts +3 -0
  298. package/dist/Steps/HorizontalSteps.js +85 -0
  299. package/dist/Steps/Point.d.ts +6 -0
  300. package/dist/Steps/Point.js +13 -0
  301. package/dist/Steps/Steps.d.ts +4 -0
  302. package/dist/Steps/Steps.js +26 -0
  303. package/dist/Steps/VerticalSteps.d.ts +3 -0
  304. package/dist/Steps/VerticalSteps.js +92 -0
  305. package/dist/Steps/context.d.ts +8 -0
  306. package/dist/Steps/context.js +5 -0
  307. package/dist/Steps/index.d.ts +4 -0
  308. package/dist/Steps/index.js +2 -0
  309. package/dist/Steps/style.scss +146 -0
  310. package/dist/Steps/types.d.ts +23 -0
  311. package/dist/Steps/types.js +4 -0
  312. package/dist/Switch/index.d.ts +3 -0
  313. package/dist/Switch/index.js +2 -0
  314. package/dist/Switch/style.scss +128 -0
  315. package/dist/Switch/switch.d.ts +21 -0
  316. package/dist/Switch/switch.js +96 -0
  317. package/dist/TabBar/TabBarContext.d.ts +10 -0
  318. package/dist/TabBar/TabBarContext.js +2 -0
  319. package/dist/TabBar/demo/base.d.ts +6 -0
  320. package/dist/TabBar/demo/base.js +26 -0
  321. package/dist/TabBar/index.d.ts +7 -0
  322. package/dist/TabBar/index.js +3 -0
  323. package/dist/TabBar/index.scss +36 -0
  324. package/dist/TabBar/tab-bar.d.ts +61 -0
  325. package/dist/TabBar/tab-bar.js +86 -0
  326. package/dist/Tabs/context.d.ts +11 -0
  327. package/dist/Tabs/context.js +4 -0
  328. package/dist/Tabs/demo/base.d.ts +3 -0
  329. package/dist/Tabs/demo/base.js +59 -0
  330. package/dist/Tabs/index.d.ts +9 -0
  331. package/dist/Tabs/index.js +5 -0
  332. package/dist/Tabs/style.scss +108 -0
  333. package/dist/Tabs/tab-nav.d.ts +9 -0
  334. package/dist/Tabs/tab-nav.js +25 -0
  335. package/dist/Tabs/tab-pane.d.ts +7 -0
  336. package/dist/Tabs/tab-pane.js +17 -0
  337. package/dist/Tabs/tab.d.ts +7 -0
  338. package/dist/Tabs/tab.js +6 -0
  339. package/dist/Tabs/tabs.d.ts +25 -0
  340. package/dist/Tabs/tabs.js +156 -0
  341. package/dist/Tag/demo/base.d.ts +7 -0
  342. package/dist/Tag/demo/base.js +67 -0
  343. package/dist/Tag/demo/style.scss +8 -0
  344. package/dist/Tag/index.d.ts +3 -0
  345. package/dist/Tag/index.js +2 -0
  346. package/dist/Tag/style.scss +86 -0
  347. package/dist/Tag/tag.d.ts +30 -0
  348. package/dist/Tag/tag.js +44 -0
  349. package/dist/Toast/index.d.ts +5 -0
  350. package/dist/Toast/index.js +3 -0
  351. package/dist/Toast/style.scss +63 -0
  352. package/dist/Toast/toast-modal.d.ts +18 -0
  353. package/dist/Toast/toast-modal.js +112 -0
  354. package/dist/Toast/toast.d.ts +7 -0
  355. package/dist/Toast/toast.js +78 -0
  356. package/dist/VerificationCodeInput/demo/base.d.ts +3 -0
  357. package/dist/VerificationCodeInput/demo/base.js +11 -0
  358. package/dist/VerificationCodeInput/index.d.ts +3 -0
  359. package/dist/VerificationCodeInput/index.js +2 -0
  360. package/dist/VerificationCodeInput/style.scss +20 -0
  361. package/dist/VerificationCodeInput/verification-code-input.d.ts +24 -0
  362. package/dist/VerificationCodeInput/verification-code-input.js +99 -0
  363. package/dist/WaterMark/index.d.ts +3 -0
  364. package/dist/WaterMark/index.js +2 -0
  365. package/dist/WaterMark/style.scss +17 -0
  366. package/dist/WaterMark/water-mark.d.ts +22 -0
  367. package/dist/WaterMark/water-mark.js +108 -0
  368. package/dist/index.d.ts +90 -0
  369. package/dist/index.js +46 -0
  370. package/dist/locales/base.d.ts +139 -0
  371. package/dist/locales/base.js +139 -0
  372. package/dist/locales/en-US.d.ts +139 -0
  373. package/dist/locales/en-US.js +4 -0
  374. package/dist/locales/zh-CN.d.ts +3 -0
  375. package/dist/locales/zh-CN.js +140 -0
  376. package/dist/style/index.d.ts +1 -0
  377. package/dist/style/index.js +5 -0
  378. package/dist/style/style.scss +52 -0
  379. package/dist/style/theme-dark.scss +24 -0
  380. package/dist/style/theme-default.scss +54 -0
  381. package/dist/style/variable.scss +168 -0
  382. package/dist/types.d.ts +9 -0
  383. package/dist/types.js +1 -0
  384. package/dist/utils/datetime-utils.d.ts +3 -0
  385. package/dist/utils/datetime-utils.js +18 -0
  386. package/dist/utils/dev-log.d.ts +3 -0
  387. package/dist/utils/dev-log.js +36 -0
  388. package/dist/utils/is-dev.d.ts +1 -0
  389. package/dist/utils/is-dev.js +1 -0
  390. package/dist/utils/merge-locale.d.ts +1 -0
  391. package/dist/utils/merge-locale.js +16 -0
  392. package/dist/utils/native-props.d.ts +10 -0
  393. package/dist/utils/native-props.js +39 -0
  394. package/dist/utils/random-utils.d.ts +3 -0
  395. package/dist/utils/random-utils.js +13 -0
  396. package/dist/utils/to-css-length.d.ts +1 -0
  397. package/dist/utils/to-css-length.js +3 -0
  398. package/dist/utils/type.d.ts +65 -0
  399. package/dist/utils/type.js +48 -0
  400. package/dist/utils/with-default-props.d.ts +9 -0
  401. package/dist/utils/with-default-props.js +33 -0
  402. package/dist/utils/with-stop-propagation.d.ts +4 -0
  403. package/dist/utils/with-stop-propagation.js +38 -0
  404. package/package.json +55 -0
@@ -0,0 +1,123 @@
1
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
2
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
3
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
4
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
5
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
6
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
7
+ import { useEvent } from 'rc-util';
8
+ import React from 'react';
9
+ import runes from 'runes2';
10
+ var ELLIPSIS_TEXT = '...';
11
+ var measureStyle = {
12
+ visibility: 'hidden',
13
+ whiteSpace: 'inherit',
14
+ lineHeight: 'inherit',
15
+ fontSize: 'inherit'
16
+ };
17
+ export default function useMeasure(containerRef, content, rows, direction, expanded, expandNode, collapseNode) {
18
+ var contentChars = React.useMemo(function () {
19
+ return runes(content);
20
+ }, [content]);
21
+ var _React$useState = React.useState(0),
22
+ _React$useState2 = _slicedToArray(_React$useState, 2),
23
+ maxHeight = _React$useState2[0],
24
+ setMaxHeight = _React$useState2[1];
25
+ var _React$useState3 = React.useState([0, 0]),
26
+ _React$useState4 = _slicedToArray(_React$useState3, 2),
27
+ walkingIndexes = _React$useState4[0],
28
+ setWalkingIndexes = _React$useState4[1];
29
+ var midIndex = Math.ceil((walkingIndexes[0] + walkingIndexes[1]) / 2);
30
+ var _React$useState5 = React.useState(100),
31
+ _React$useState6 = _slicedToArray(_React$useState5, 2),
32
+ status = _React$useState6[0],
33
+ setStatus = _React$useState6[1];
34
+
35
+ // ============================ Refs ============================
36
+ var singleRowMeasureRef = React.useRef(null);
37
+ var fullMeasureRef = React.useRef(null);
38
+ var midMeasureRef = React.useRef(null);
39
+ var startMeasure = useEvent(function () {
40
+ setStatus(1);
41
+ setWalkingIndexes([0, direction === 'middle' ? Math.ceil(contentChars.length / 2) : contentChars.length]);
42
+ });
43
+
44
+ // Initialize
45
+ React.useLayoutEffect(function () {
46
+ startMeasure();
47
+ }, [contentChars, rows]);
48
+
49
+ // Measure element height
50
+ React.useLayoutEffect(function () {
51
+ if (status === 1) {
52
+ var _fullMeasureRef$curre, _singleRowMeasureRef$;
53
+ var fullMeasureHeight = ((_fullMeasureRef$curre = fullMeasureRef.current) === null || _fullMeasureRef$curre === void 0 ? void 0 : _fullMeasureRef$curre.offsetHeight) || 0;
54
+ var singleRowMeasureHeight = ((_singleRowMeasureRef$ = singleRowMeasureRef.current) === null || _singleRowMeasureRef$ === void 0 ? void 0 : _singleRowMeasureRef$.offsetHeight) || 0;
55
+ var rowMeasureHeight = singleRowMeasureHeight * rows;
56
+ if (fullMeasureHeight <= rowMeasureHeight) {
57
+ setStatus(100);
58
+ } else {
59
+ setMaxHeight(rowMeasureHeight);
60
+ setStatus(2);
61
+ }
62
+ }
63
+ }, [status]);
64
+
65
+ // Walking measure
66
+ React.useLayoutEffect(function () {
67
+ if (status === 2) {
68
+ var _midMeasureRef$curren;
69
+ var diff = walkingIndexes[1] - walkingIndexes[0];
70
+ var midHeight = ((_midMeasureRef$curren = midMeasureRef.current) === null || _midMeasureRef$curren === void 0 ? void 0 : _midMeasureRef$curren.offsetHeight) || 0;
71
+ if (diff > 1) {
72
+ if (midHeight > maxHeight) {
73
+ setWalkingIndexes([walkingIndexes[0], midIndex]);
74
+ } else {
75
+ setWalkingIndexes([midIndex, walkingIndexes[1]]);
76
+ }
77
+ } else {
78
+ if (midHeight > maxHeight) {
79
+ setWalkingIndexes([walkingIndexes[0], walkingIndexes[0]]);
80
+ } else {
81
+ setWalkingIndexes([walkingIndexes[1], walkingIndexes[1]]);
82
+ }
83
+ setStatus(99);
84
+ }
85
+ }
86
+ }, [status, walkingIndexes]);
87
+
88
+ // =========================== Render ===========================
89
+ /** Render by cut index */
90
+ var renderContent = function renderContent(index) {
91
+ var prefixContent = contentChars.slice(0, index);
92
+ var suffixContent = contentChars.slice(contentChars.length - index);
93
+ return /*#__PURE__*/React.createElement(React.Fragment, null, direction === 'start' && /*#__PURE__*/React.createElement(React.Fragment, null, expandNode, ELLIPSIS_TEXT), direction !== 'start' && prefixContent.join(''), direction === 'middle' && /*#__PURE__*/React.createElement(React.Fragment, null, ELLIPSIS_TEXT, expandNode, ELLIPSIS_TEXT), direction !== 'end' && suffixContent.join(''), direction === 'end' && /*#__PURE__*/React.createElement(React.Fragment, null, ELLIPSIS_TEXT, expandNode));
94
+ };
95
+ var finalContent = React.useMemo(function () {
96
+ if (expanded || status === 100) {
97
+ return /*#__PURE__*/React.createElement(React.Fragment, {
98
+ key: "display"
99
+ }, content, status === 99 && collapseNode);
100
+ }
101
+ if (status === 99) {
102
+ return renderContent(midIndex);
103
+ }
104
+ return null;
105
+ }, [expanded, status, content, collapseNode, midIndex]);
106
+ var allNodes = /*#__PURE__*/React.createElement(React.Fragment, null, status === 1 && /*#__PURE__*/React.createElement("div", {
107
+ key: "full",
108
+ "aria-hidden": true,
109
+ ref: fullMeasureRef,
110
+ style: measureStyle
111
+ }, content, expandNode), status === 1 && /*#__PURE__*/React.createElement("div", {
112
+ key: "stable",
113
+ "aria-hidden": true,
114
+ ref: singleRowMeasureRef,
115
+ style: measureStyle
116
+ }, "\xA0"), status === 2 && /*#__PURE__*/React.createElement("div", {
117
+ key: "walking-mid",
118
+ "aria-hidden": true,
119
+ ref: midMeasureRef,
120
+ style: measureStyle
121
+ }, renderContent(midIndex)), finalContent);
122
+ return [allNodes, startMeasure];
123
+ }
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ declare const EmptyIcon: React.FC;
3
+ export default EmptyIcon;
@@ -0,0 +1,12 @@
1
+ import * as React from 'react';
2
+ var EmptyIcon = function EmptyIcon() {
3
+ var defaultImage = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAApCAYAAACFki9MAAAACXBIWXMAAA7DAAAOwwHHb6hkAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAABVNJREFUaIHtmk9sFFUcx7+/Nzu7s7PbTUst2IQ2bdk/DQnV0INeIFWJxkTg4EFDkGBAAc8m6EUiCRfUs2lsQD150lAOxIQbiRfFhJo0ndk/ICStf6hs9s/sn868nwdbsNplpzszLRo+p8nue9/5vu+8efPevCFmhl8sLCzopVLpdQB9vomu5vdEIvFVf3+/5Zcg+RXAzMxMTNO0bwHcJaI5X0T/ATOPAniiXq+/NDY2VvVD05cArl+/rnZ1dU0DuJNOp08A8K9brYZM05wEMFAulw+Mj48veRUUfpiKx+OTAOT8/Pw7CK7xAMDpdPoUgHoikbgIgLwKeg7ANM0zRLTLtu3XJiYmbK96LnB0XT8kpRwxTfOMVzFPARiGcQzAG6qqvrJz586KVzNu2b59e42IDhDRIcMwTnnR6ngMME3zZQAXmHkik8kYXkx0Si6X2yGlvMbMJzOZzHQnGh31gFwutxvAF1LKVzer8QCQTCbzAA4S0VQ2m32mE411BzA3NzckpZwmopOjo6PfdXJSP0mn098LIY4x8zf5fD653vrrCmB2dnaLEOIKEZ1PpVJfr/dkQZFMJi8T0YeO41zJ5XLrmoS5HgNmZ2fDoVDoChH9kEqlTnfkNGAMwzhPRM+Gw+EXh4aG6m7quO0BpKrqBQB3U6nU+51bDJZMJnMawK2lpaUv4bJtrgqZpvkJMw8IIY4AkB48Bg3btn2cmbeYpvmRmwptbwHDMM4S0Qkp5adEVGsnKIS4FwqFLg0PD//q0rQrbt68uc227YNSyp52ZZk5KoQ4xcyTmUzmg4eVDbk4915N07ZqmuZq1mXbds2yrHOFQmF8ZGTktps67SgUCoO2bf8Yj8f1UCgUdVOnXq+jVqvtbVfOTQCIRqPo7u52UxQAosViMVQsFs8COOq20sOQUp7r6elJdHd3q27rFItF1GptO6wvi6F/oeu6SkQTfukR0R5d1103fj0EEoCqqmDmfp/0FSllv6oG0v5gAiAiqKraMAzjkFetbDZ7RFXVBpHnle+auBoDOqGvr69rYWFhMp/Pvw2g3ImGlDIhhNjd19en+2zvPoEFEA6HMTAwoNfr9T2drjiJCJqmQYhAOiqAAAMAACEEdD2wi+cLwUX7H6FtAETky2RmM3Dj3U0PKPjgZbNo6/3xLbDZBjabxwFstoHNptU8QFiW9TQzvxCLxQ5vqCMficVih6vVapWIruq6fgNrvMxZ9UKk0WjskFK+xcxHAWwDgFKpBEVR1rMcfiQoFotwHAeJRGLlp1+I6HMhxGeRSOT+00EAQKPRSFuWddlxHJOZT2O58f8znmTm9xzHyVqWNd1oNFIAEKpUKs8LIS4BiK9Vi4jgOM6GOvUDx3HQYgUpAOyXUk5UKpWDQggxhRaNB/5a2zebzaB8Bkaz2UQ4HG75PzN3CSGmBNpsZ0ciEdi2Dcvy7aOMwLEsC47jPDSAZZjK5fJziqJcYuauVqWazSYWFxeh6zpCoUAXkJ5ZuVi9vb3tAigJIQ4QM6PRaCQdx/kYwH60mBs4joNarfbIjweKoiAajUJRlFZFJIBpRVHejUQi+VWPwXq9PiylPA7gTQD9wdvdUOYBXBRCTGmadmvlx1YbI1StVscA7COifQD2AIhtiE3/qAK4xsxXAVyNxWIzWGO8c7s5qixPkp5i5jEAu4holJkHAbjaqAiQGhH9zMwGgBki+kkIcSMSieQBtL1fPX8lVqlUtgohBoloEMAAM/cC6CGiLczcs3zcw8wqgDAe9CQND8KrAVjZza0CaBLREjPfA3CPiP742/EigDvMfFtKeTsej//mxf+fNBMadGdF07wAAAAASUVORK5CYII=";
4
+ return /*#__PURE__*/React.createElement("img", {
5
+ src: defaultImage,
6
+ style: {
7
+ width: 128,
8
+ height: 82
9
+ }
10
+ });
11
+ };
12
+ export default EmptyIcon;
@@ -0,0 +1,12 @@
1
+ import './style.scss';
2
+ import * as React from 'react';
3
+ export interface EmptyProps {
4
+ style?: React.CSSProperties;
5
+ imageStyle?: React.CSSProperties;
6
+ image?: React.ReactNode;
7
+ description?: React.ReactNode;
8
+ children?: React.ReactNode;
9
+ }
10
+ type CompoundedComponent = React.FC<EmptyProps>;
11
+ export declare const Empty: CompoundedComponent;
12
+ export {};
@@ -0,0 +1,48 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ var _excluded = ["image", "description", "children", "imageStyle", "style"];
3
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
7
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
8
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
9
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
11
+ import "./style.scss";
12
+ import * as React from 'react';
13
+ import DefaultEmptyImg from "./empty-icon";
14
+ var defaultEmptyImg = /*#__PURE__*/React.createElement(DefaultEmptyImg, null);
15
+ export var Empty = function Empty(_ref) {
16
+ var _ref$image = _ref.image,
17
+ image = _ref$image === void 0 ? defaultEmptyImg : _ref$image,
18
+ description = _ref.description,
19
+ children = _ref.children,
20
+ imageStyle = _ref.imageStyle,
21
+ style = _ref.style,
22
+ restProps = _objectWithoutProperties(_ref, _excluded);
23
+ var prefixCls = 'triones-antm-empty';
24
+ var des = typeof description !== 'undefined' ? description : '暂无数据';
25
+ var alt = typeof des === 'string' ? des : 'empty';
26
+ var imageNode = null;
27
+ if (typeof image === 'string') {
28
+ imageNode = /*#__PURE__*/React.createElement("img", {
29
+ alt: alt,
30
+ src: image
31
+ });
32
+ } else {
33
+ imageNode = image;
34
+ }
35
+ return /*#__PURE__*/React.createElement("div", {
36
+ className: "".concat(prefixCls, "-wrapper")
37
+ }, /*#__PURE__*/React.createElement("div", _extends({
38
+ className: prefixCls,
39
+ style: _objectSpread({}, style)
40
+ }, restProps), /*#__PURE__*/React.createElement("div", {
41
+ className: "".concat(prefixCls, "-image"),
42
+ style: imageStyle
43
+ }, imageNode), des && /*#__PURE__*/React.createElement("div", {
44
+ className: "".concat(prefixCls, "-description")
45
+ }, des), children && /*#__PURE__*/React.createElement("div", {
46
+ className: "".concat(prefixCls, "-footer")
47
+ }, children)));
48
+ };
Binary file
@@ -0,0 +1,3 @@
1
+ import { Empty, EmptyProps } from "./empty";
2
+ export type { EmptyProps };
3
+ export default Empty;
@@ -0,0 +1,2 @@
1
+ import { Empty } from "./empty";
2
+ export default Empty;
@@ -0,0 +1,29 @@
1
+ .triones-antm-empty {
2
+ text-align: center;
3
+
4
+ &-wrapper {
5
+ width: 100%;
6
+ height: 100%;
7
+ display: flex;
8
+ align-items: center;
9
+ justify-content: space-around;
10
+ }
11
+
12
+ &-image {
13
+ //margin-bottom: 8Px;
14
+ :global {
15
+ img,
16
+ image {
17
+ width: 100%;
18
+ height: 100%;
19
+ object-fit: cover;
20
+ }
21
+ }
22
+ }
23
+
24
+ &-description {
25
+ color: rgba(0, 0, 0, 45%);
26
+ font-size: 14Px;
27
+ padding: 8Px;
28
+ }
29
+ }
@@ -0,0 +1,13 @@
1
+ import type { FC, ReactNode } from 'react';
2
+ import type { ErrorBlockStatus, ImageRecord } from '.';
3
+ import './style.scss';
4
+ import { NativeProps } from '../utils/native-props';
5
+ export type ErrorBlockProps = {
6
+ status?: ErrorBlockStatus;
7
+ title?: ReactNode;
8
+ image?: string;
9
+ description?: ReactNode;
10
+ fullPage?: boolean;
11
+ children?: ReactNode;
12
+ } & NativeProps<'--image-height' | '--image-height-full-page' | '--image-width' | '--image-width-full-page'>;
13
+ export declare function createErrorBlock(imageRecord: ImageRecord): FC<ErrorBlockProps>;
@@ -0,0 +1,44 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
3
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
4
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
5
+ import React from 'react';
6
+ import classNames from 'classnames';
7
+ import "./style.scss";
8
+ import { withNativeProps } from "../utils/native-props";
9
+ import { mergeProps } from "../utils/with-default-props";
10
+ import ConfigProvider from "../ConfigProvider";
11
+ var classPrefix = "triones-antm-error-block";
12
+ var defaultProps = {
13
+ status: 'default'
14
+ };
15
+ export function createErrorBlock(imageRecord) {
16
+ var ErrorBlock = function ErrorBlock(p) {
17
+ var _props$image;
18
+ var props = mergeProps(defaultProps, p);
19
+ var _ConfigProvider$useCo = ConfigProvider.useConfig(),
20
+ locale = _ConfigProvider$useCo.locale;
21
+ var contentPack = locale.ErrorBlock[props.status];
22
+ var desc = 'description' in props ? props.description : contentPack.description;
23
+ var title = 'title' in props ? props.title : contentPack.title;
24
+ var image = (_props$image = props.image) !== null && _props$image !== void 0 ? _props$image : imageRecord[props.status];
25
+ var imageNode = typeof image === 'string' ? /*#__PURE__*/React.createElement("img", {
26
+ src: image,
27
+ alt: "error block image"
28
+ }) : image;
29
+ return withNativeProps(props, /*#__PURE__*/React.createElement("div", {
30
+ className: classNames(classPrefix, _defineProperty({}, "".concat(classPrefix, "-full-page"), props.fullPage))
31
+ }, /*#__PURE__*/React.createElement("div", {
32
+ className: "".concat(classPrefix, "-image")
33
+ }, imageNode), /*#__PURE__*/React.createElement("div", {
34
+ className: "".concat(classPrefix, "-description")
35
+ }, ![undefined, null].includes(title) && /*#__PURE__*/React.createElement("div", {
36
+ className: "".concat(classPrefix, "-description-title")
37
+ }, title), ![undefined, null].includes(desc) && /*#__PURE__*/React.createElement("div", {
38
+ className: "".concat(classPrefix, "-description-subtitle")
39
+ }, desc)), props.children && /*#__PURE__*/React.createElement("div", {
40
+ className: "".concat(classPrefix, "-content")
41
+ }, props.children)));
42
+ };
43
+ return ErrorBlock;
44
+ }
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const _default: () => React.JSX.Element;
3
+ export default _default;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * compact: true
3
+ */
4
+ import { DemoBlock } from "../../DemoBlock";
5
+ import React from 'react';
6
+ import Space from "../../Space";
7
+ import ErrorBlock from "../index";
8
+ export default (function () {
9
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(DemoBlock, {
10
+ title: "\u56DB\u79CD\u72B6\u6001"
11
+ }, /*#__PURE__*/React.createElement(Space, {
12
+ block: true,
13
+ direction: "vertical"
14
+ }, /*#__PURE__*/React.createElement(ErrorBlock, {
15
+ status: "default"
16
+ }), /*#__PURE__*/React.createElement(ErrorBlock, {
17
+ status: "disconnected"
18
+ }), /*#__PURE__*/React.createElement(ErrorBlock, {
19
+ status: "empty"
20
+ }), /*#__PURE__*/React.createElement(ErrorBlock, {
21
+ status: "busy"
22
+ }))));
23
+ });
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const ErrorBlock: import("react").FC<import("./create-error-block").ErrorBlockProps>;
@@ -0,0 +1,9 @@
1
+ import { createErrorBlock } from "./create-error-block";
2
+ import { busyImage, defaultImage, disconnectedImage, emptyImage } from "./images";
3
+ var imageRecord = {
4
+ 'default': defaultImage,
5
+ 'disconnected': disconnectedImage,
6
+ 'empty': emptyImage,
7
+ 'busy': busyImage
8
+ };
9
+ export var ErrorBlock = createErrorBlock(imageRecord);
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const busyImage: React.JSX.Element;
@@ -0,0 +1,90 @@
1
+ import React from 'react';
2
+ export var busyImage = /*#__PURE__*/React.createElement("svg", {
3
+ viewBox: "0 0 400 400",
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ xmlnsXlink: "http://www.w3.org/1999/xlink"
6
+ }, /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
7
+ x1: "50%",
8
+ y1: "-116.862%",
9
+ x2: "50%",
10
+ y2: "90.764%",
11
+ id: "error-block-image-busy-a"
12
+ }, /*#__PURE__*/React.createElement("stop", {
13
+ stopColor: "#72A7FD",
14
+ stopOpacity: 0.207,
15
+ offset: "0%"
16
+ }), /*#__PURE__*/React.createElement("stop", {
17
+ stopColor: "#72A7FD",
18
+ stopOpacity: 0.115,
19
+ offset: "80.072%"
20
+ }), /*#__PURE__*/React.createElement("stop", {
21
+ stopColor: "#72A7FD",
22
+ stopOpacity: 0,
23
+ offset: "100%"
24
+ })), /*#__PURE__*/React.createElement("circle", {
25
+ id: "error-block-image-busy-b",
26
+ cx: 34.857,
27
+ cy: 34.857,
28
+ r: 34.857
29
+ })), /*#__PURE__*/React.createElement("g", {
30
+ fill: "none",
31
+ fillRule: "evenodd"
32
+ }, /*#__PURE__*/React.createElement("path", {
33
+ d: "M157.964 243.667H0L3.806 99.134a4.572 4.572 0 0 1 4.353-4.446l.217-.005h45.588V67.205a4.572 4.572 0 0 1 4.356-4.566l.216-.005 65.498-.001 2.554-58.688a4.571 4.571 0 0 1 4.779-4.368l.214.015 87.79 8.222a4.572 4.572 0 0 1 4.126 4.133l.015.213 3.146 69.652 74.976-17.906a4.571 4.571 0 0 1 5.628 4.23l.005.216v43.955h56.162v130.265l-56.163-.001v.002h-82.383v-.004h-66.919v1.098Zm-68.461-84.631h-9.968v8.435h9.968v-8.435Zm0-14.508h-9.968v8.436h9.968v-8.436Zm197.985-5.149h-9.967v8.432h9.967v-8.432Zm-197.985-8.806h-9.968v8.436h9.968v-8.436Zm197.985-5.153h-9.967v8.432h9.967v-8.432Zm0-14.503h-9.967v8.432h9.967v-8.432Zm-84.643-.777h-30.8v8.436h30.8v-8.436Zm84.643-13.186h-9.967v8.435h9.967v-8.435Zm-84.643-3.29h-30.8v8.435h30.8v-8.435Zm0-15.912h-30.8v8.436h30.8v-8.436Z",
34
+ transform: "translate(18.286 51.286)",
35
+ fill: "url(#error-block-image-busy-a)"
36
+ }), /*#__PURE__*/React.createElement("path", {
37
+ d: "m250.934 176.555-101.963 1.038c-5.276.054-9.51 4.374-9.455 9.65.054 5.274 4.374 9.507 9.649 9.454l.958-.01c-.376 7.363 3.679 59.93 34.894 62.659 4.203.367 7.432.39 7.475 4.609.042 4.218-3.176 4.307-7.37 4.76-34.593 3.737-34.136 56.004-33.61 63.357l-.957.01c-5.276.053-9.51 4.373-9.455 9.649.053 5.275 4.374 9.508 9.649 9.454l101.963-1.039c5.275-.054 9.508-4.374 9.455-9.648-.055-5.276-4.374-9.51-9.65-9.455l-.958.01c.377-7.363-.729-59.672-34.894-62.66-4.202-.367-7.432-.39-7.474-4.608-.043-4.219 3.175-4.308 7.369-4.76 31.276-3.377 34.136-56.004 33.61-63.357l.958-.01c5.276-.053 9.508-4.373 9.455-9.649-.055-5.276-4.374-9.509-9.65-9.454Z",
38
+ fill: "#377EFF"
39
+ }), /*#__PURE__*/React.createElement("path", {
40
+ d: "M233.524 314.422c.108.684.772 1.148 1.483 1.035.711-.112 1.2-.758 1.091-1.443-.108-.684-.772-1.147-1.483-1.035-.711.113-1.2.759-1.091 1.443Zm-.894-5.644c.108.684.772 1.148 1.483 1.035.711-.112 1.2-.758 1.091-1.443-.108-.684-.772-1.147-1.483-1.035-.711.113-1.2.759-1.091 1.443Zm-.149 17.865c.108.684.773 1.147 1.483 1.035.711-.113 1.2-.759 1.091-1.443-.108-.684-.772-1.148-1.483-1.035-.71.112-1.2.758-1.09 1.443Zm-2.144-8.182c.109.684.773 1.148 1.484 1.035.71-.113 1.199-.759 1.09-1.443-.108-.684-.772-1.148-1.483-1.035-.71.113-1.2.759-1.09 1.443Zm-1.586-4.694c.108.684.772 1.148 1.483 1.035.711-.113 1.2-.759 1.091-1.443-.108-.684-.772-1.147-1.483-1.035-.711.113-1.2.759-1.091 1.443Zm-1.013-5.88c.109.685.773 1.148 1.484 1.036.71-.113 1.2-.759 1.09-1.443-.107-.684-.772-1.148-1.483-1.035-.71.113-1.199.759-1.09 1.443Zm.236 15.575c.108.685.772 1.148 1.483 1.035.71-.112 1.2-.758 1.09-1.442-.107-.685-.772-1.148-1.483-1.035-.71.112-1.199.758-1.09 1.442Zm-.4 4.494c.108.684.772 1.147 1.483 1.035.71-.113 1.2-.759 1.091-1.443-.108-.684-.773-1.148-1.483-1.035-.711.113-1.2.759-1.091 1.443Zm-3.88-8.601c.108.684.772 1.147 1.483 1.035.71-.113 1.199-.759 1.09-1.443-.108-.684-.772-1.148-1.483-1.035-.71.113-1.2.759-1.09 1.443Zm-.524-7.186c.065.41.463.688.89.62.426-.067.72-.454.654-.865-.065-.41-.463-.688-.89-.62-.426.067-.72.454-.654.865Zm-2.265-4.102c.109.684.773 1.148 1.484 1.035.71-.113 1.2-.759 1.09-1.443-.108-.684-.772-1.147-1.483-1.035-.71.113-1.199.759-1.09 1.443Zm-.545-6.518c.065.41.464.689.89.621.427-.067.72-.455.655-.865-.065-.41-.464-.689-.89-.621-.427.067-.72.455-.655.865Zm2.098 23.629c.109.684.773 1.147 1.484 1.035.71-.113 1.2-.759 1.09-1.443-.108-.684-.772-1.148-1.483-1.035-.71.112-1.199.758-1.09 1.443Zm-.756-9.65c.043.274.309.46.593.414a.512.512 0 0 0 .437-.577.512.512 0 0 0-.594-.414.512.512 0 0 0-.436.577Zm-.808 20.96c.109.684.773 1.147 1.484 1.034.71-.112 1.2-.758 1.09-1.442-.108-.685-.772-1.148-1.483-1.036-.71.113-1.199.759-1.09 1.443Zm-4.691-31.966c.065.41.463.689.89.621.426-.068.72-.455.654-.866-.065-.41-.463-.688-.89-.62-.426.067-.72.454-.654.865Zm2.098 23.628c.108.684.772 1.148 1.483 1.035.711-.112 1.2-.758 1.091-1.443-.108-.684-.772-1.147-1.483-1.035-.711.113-1.2.759-1.091 1.443Zm-1.967-12.416c.109.684.773 1.147 1.484 1.035.71-.113 1.199-.759 1.09-1.443-.108-.684-.772-1.148-1.483-1.035-.71.112-1.2.758-1.09 1.443Zm1.073 6.772c.108.685.772 1.148 1.483 1.035.711-.112 1.2-.758 1.091-1.442-.108-.685-.772-1.148-1.483-1.036-.711.113-1.2.759-1.091 1.443Zm-.009-3.131c.065.41.464.689.89.621.427-.068.72-.455.655-.866-.065-.41-.464-.688-.89-.62-.427.067-.72.454-.655.865Zm-1.43-9.03c.065.41.463.688.89.62.426-.067.72-.454.655-.865-.065-.41-.464-.689-.89-.62-.427.067-.72.454-.655.865ZM214.5 333.38c.108.685.772 1.148 1.483 1.036.711-.113 1.2-.759 1.091-1.443-.108-.684-.772-1.148-1.483-1.035-.711.112-1.2.758-1.091 1.442Zm-.156-7.178c.065.41.464.689.89.621.427-.067.72-.455.655-.865-.065-.41-.464-.689-.89-.621-.427.067-.72.455-.655.865Zm-1.871-4.72c.108.684.773 1.147 1.483 1.034.711-.112 1.2-.758 1.091-1.442-.108-.685-.772-1.148-1.483-1.035-.71.112-1.2.758-1.091 1.442Zm-1.614-6.857c.065.41.464.689.89.621.427-.068.72-.455.655-.866-.065-.41-.464-.688-.89-.62-.427.067-.72.454-.655.865Zm-.894-5.644c.065.41.464.689.89.621.427-.067.72-.455.655-.866-.065-.41-.463-.688-.89-.62-.427.067-.72.455-.655.865Zm-1.43-9.03c.065.41.464.688.89.62.427-.067.72-.454.655-.865-.065-.41-.464-.688-.89-.62-.427.067-.72.454-.655.865Zm-1.958 14.225c.065.41.463.689.89.62.426-.067.72-.454.654-.865-.065-.41-.463-.688-.89-.62-.426.067-.72.454-.654.865Zm-.703 12.81c.065.41.464.688.89.62.427-.067.72-.455.655-.865-.065-.41-.463-.689-.89-.621-.427.067-.72.455-.655.866Zm-4.543-22.536c.065.41.463.689.89.621.426-.067.72-.455.654-.865-.065-.41-.463-.689-.89-.621-.426.067-.72.455-.654.865Zm2.806 30.138c.065.41.463.689.89.621.426-.067.72-.455.654-.865-.065-.41-.463-.689-.89-.621-.426.067-.72.455-.654.865Zm-5.694-17.996c.065.41.463.688.89.62.426-.067.72-.455.654-.865-.065-.41-.463-.689-.89-.621-.426.067-.72.455-.654.866Zm-2.935-13.343c.066.41.464.688.89.62.427-.067.72-.454.655-.865-.065-.41-.463-.689-.89-.621-.426.068-.72.455-.655.866Z",
41
+ fill: "#003CFF",
42
+ fillRule: "nonzero"
43
+ }), /*#__PURE__*/React.createElement("path", {
44
+ d: "m250.934 176.555-101.963 1.038c-5.276.054-9.51 4.374-9.455 9.65.054 5.274 4.374 9.507 9.649 9.454l101.963-1.04c5.276-.052 9.508-4.372 9.455-9.648-.055-5.276-4.374-9.509-9.65-9.454ZM252.64 331.241l-101.964 1.038c-5.275.054-9.508 4.374-9.454 9.65.054 5.275 4.374 9.508 9.649 9.454l101.963-1.039c5.275-.053 9.507-4.373 9.454-9.649-.054-5.275-4.374-9.508-9.649-9.454Z",
45
+ fill: "#7EACFF"
46
+ }), /*#__PURE__*/React.createElement("path", {
47
+ stroke: "#003CFF",
48
+ strokeWidth: 0.75,
49
+ strokeLinecap: "round",
50
+ strokeLinejoin: "round",
51
+ d: "m196.824 197.298 52.216-.506M193.329 330.5h52.215"
52
+ }), /*#__PURE__*/React.createElement("path", {
53
+ d: "M167.367 228.041c-4.091-10.787-6.086-20.934-5.985-30.44",
54
+ stroke: "#FFF",
55
+ strokeWidth: 0.75,
56
+ strokeLinecap: "round",
57
+ strokeLinejoin: "round"
58
+ }), /*#__PURE__*/React.createElement("circle", {
59
+ cx: 14.857,
60
+ cy: 14.857,
61
+ r: 14.857,
62
+ transform: "translate(106.857 248.571)",
63
+ fill: "#FFCD6B",
64
+ fillRule: "nonzero"
65
+ }), /*#__PURE__*/React.createElement("g", {
66
+ transform: "translate(236.571 284.571)"
67
+ }, /*#__PURE__*/React.createElement("mask", {
68
+ id: "error-block-image-busy-c",
69
+ fill: "#fff"
70
+ }, /*#__PURE__*/React.createElement("use", {
71
+ xlinkHref: "#error-block-image-busy-b"
72
+ })), /*#__PURE__*/React.createElement("use", {
73
+ fill: "#FBBE47",
74
+ fillRule: "nonzero",
75
+ xlinkHref: "#error-block-image-busy-b"
76
+ }), /*#__PURE__*/React.createElement("circle", {
77
+ fill: "#FFCD6B",
78
+ fillRule: "nonzero",
79
+ mask: "url(#error-block-image-busy-c)",
80
+ cx: 25.714,
81
+ cy: 28,
82
+ r: 34.857
83
+ }), /*#__PURE__*/React.createElement("circle", {
84
+ fill: "#FFF",
85
+ fillRule: "nonzero",
86
+ mask: "url(#error-block-image-busy-c)",
87
+ cx: 22.286,
88
+ cy: 18.857,
89
+ r: 3.429
90
+ }))));
Binary file
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const defaultImage: React.JSX.Element;
@@ -0,0 +1,166 @@
1
+ import React from 'react';
2
+ export var defaultImage = /*#__PURE__*/React.createElement("svg", {
3
+ viewBox: "0 0 200 200",
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ xmlnsXlink: "http://www.w3.org/1999/xlink"
6
+ }, /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
7
+ x1: "50%",
8
+ y1: "-116.862%",
9
+ x2: "50%",
10
+ y2: "90.764%",
11
+ id: "error-block-image-default-a"
12
+ }, /*#__PURE__*/React.createElement("stop", {
13
+ stopColor: "#72A7FD",
14
+ stopOpacity: 0.207,
15
+ offset: "0%"
16
+ }), /*#__PURE__*/React.createElement("stop", {
17
+ stopColor: "#72A7FD",
18
+ stopOpacity: 0.115,
19
+ offset: "80.072%"
20
+ }), /*#__PURE__*/React.createElement("stop", {
21
+ stopColor: "#72A7FD",
22
+ stopOpacity: 0,
23
+ offset: "100%"
24
+ })), /*#__PURE__*/React.createElement("circle", {
25
+ id: "error-block-image-default-d",
26
+ cx: 18.823,
27
+ cy: 18.823,
28
+ r: 18.823
29
+ }), /*#__PURE__*/React.createElement("rect", {
30
+ id: "error-block-image-default-b",
31
+ x: 3.5,
32
+ y: 9,
33
+ width: 51.429,
34
+ height: 88,
35
+ rx: 4.571
36
+ })), /*#__PURE__*/React.createElement("g", {
37
+ fill: "none",
38
+ fillRule: "evenodd"
39
+ }, /*#__PURE__*/React.createElement("path", {
40
+ d: "M73.557.004c19.435-.311 38.696 17.016 51.523 35.287 8.708-10.822 17.127-16.233 25.255-16.233 13.333 0 28.35 14.274 45.053 42.822 1.769 3.024-3.582 7.435-16.054 13.231l-41.322 1.37c-7.343 5.872-31.225.626-69.152 1.234-27.79.445-45.759-1.234-53.908-5.037C3.2 71.143-1.625 68.686.48 65.308 27.371 22.12 51.73.353 73.557.003Zm93.098 49.53a1.125 1.125 0 0 0-.401.072l-.058.023-.07.03-.028.014-.02.01c-.03.015-.059.032-.088.049a2.543 2.543 0 0 0-.568.477l-.067.074c-1.686 1.931-2.904 7.062-2.904 8.985 0 2.283 1.719 4.153 3.898 4.314l.026.001v3.805c0 .39.25.705.56.705.31 0 .56-.316.56-.705l.001-3.88c1.92-.402 3.363-2.148 3.363-4.24 0-2.39-1.882-9.734-4.204-9.734Zm-100-5a1.125 1.125 0 0 0-.331.05l-.035.01-.035.012-.058.023-.07.03-.028.014-.02.01c-.03.015-.059.032-.088.049a2.543 2.543 0 0 0-.568.477l-.067.074c-1.686 1.931-2.904 7.062-2.904 8.985 0 2.212 1.613 4.036 3.695 4.294l.203.02.026.001v3.805c0 .39.25.705.56.705.282 0 .515-.26.555-.6l.006-.105v-3.88c1.92-.402 3.363-2.148 3.363-4.24 0-2.39-1.882-9.734-4.204-9.734ZM52.64 38.348l-.15.008-.149.023-.032.007-.032.008-.078.022-.045.015-.045.016-.06.023-.038.017-.038.017-.058.028-.022.011a2.201 2.201 0 0 0-.323.204l-.05.038-.05.04-.025.02-.025.021a3.742 3.742 0 0 0-.31.294l-.036.04c-.035.037-.07.076-.105.116-.01.012-.02.025-.031.036a3.275 3.275 0 0 0-.081.098l-.063.078c-2.031 2.583-3.48 8.692-3.48 11.027 0 2.636 1.846 4.832 4.292 5.323l.224.04-.064-.012.105.018.103.014v4.618c0 .47.299.85.667.85.337 0 .615-.32.659-.735l.006-.115v-4.618c.18-.023.355-.054.527-.094l.256-.067.196-.06c2.136-.706 3.68-2.75 3.68-5.162 0-2.996-2.383-12.207-5.325-12.207Z",
41
+ transform: "translate(2.286 22.286)",
42
+ fill: "url(#error-block-image-default-a)"
43
+ }), /*#__PURE__*/React.createElement("g", {
44
+ transform: "rotate(-90 102.429 55.357)"
45
+ }, /*#__PURE__*/React.createElement("path", {
46
+ d: "M6.857 0H52a6.857 6.857 0 0 1 6.857 6.857v92A6.857 6.857 0 0 1 52 105.714H6.857A6.857 6.857 0 0 1 0 98.857v-92A6.857 6.857 0 0 1 6.857 0Z",
47
+ fill: "#7EACFF"
48
+ }), /*#__PURE__*/React.createElement("mask", {
49
+ id: "error-block-image-default-c",
50
+ fill: "#fff"
51
+ }, /*#__PURE__*/React.createElement("use", {
52
+ xlinkHref: "#error-block-image-default-b"
53
+ })), /*#__PURE__*/React.createElement("use", {
54
+ fill: "#377EFF",
55
+ xlinkHref: "#error-block-image-default-b"
56
+ }), /*#__PURE__*/React.createElement("path", {
57
+ d: "M11.838 91.8a.64.64 0 0 1 .627.652.64.64 0 0 1-.627.652.64.64 0 0 1-.628-.652c0-.36.281-.651.628-.651Zm-2.858 0a.64.64 0 0 1 .628.652.64.64 0 0 1-.628.652.64.64 0 0 1-.627-.652c0-.36.281-.651.627-.651Zm2.16-2.305a.64.64 0 0 1 .628.652.64.64 0 0 1-.627.651.64.64 0 0 1-.627-.651c0-.36.28-.652.627-.652Zm-2.982-.04a.64.64 0 0 1 .627.651.64.64 0 0 1-.627.652.64.64 0 0 1-.627-.652c0-.36.28-.651.627-.651Zm5.268-.531a.64.64 0 0 1 .628.651.64.64 0 0 1-.628.652.64.64 0 0 1-.627-.652c0-.36.281-.651.627-.651Zm2.858-1.143a.64.64 0 0 1 .627.651.64.64 0 0 1-.627.652.64.64 0 0 1-.628-.652c0-.36.281-.651.628-.651Zm-6.37-.917c.209 0 .377.175.377.39a.384.384 0 0 1-.376.392.384.384 0 0 1-.376-.391c0-.216.168-.391.376-.391Zm3.512-.798.093.007a.644.644 0 0 1 .535.645.64.64 0 0 1-.628.652.64.64 0 0 1-.627-.652c0-.36.281-.652.627-.652Zm5.715 0a.64.64 0 0 1 .627.652.64.64 0 0 1-.627.652.64.64 0 0 1-.627-.652c0-.36.28-.652.627-.652Zm-11.429 0a.64.64 0 0 1 .627.652.64.64 0 0 1-.627.652.64.64 0 0 1-.627-.652c0-.36.28-.652.627-.652Zm-3.261.241c.208 0 .376.175.376.39a.384.384 0 0 1-.376.392.384.384 0 0 1-.377-.391c0-.216.169-.391.377-.391Zm11.833-.812a.64.64 0 0 1 .627.652.64.64 0 0 1-.627.651.64.64 0 0 1-.628-.651c0-.36.281-.652.628-.652Zm-4.851.399c.208 0 .376.175.376.39a.384.384 0 0 1-.376.392.384.384 0 0 1-.377-.391c0-.216.169-.391.377-.391Zm10.313-2.056a.64.64 0 0 1 .628.652.64.64 0 0 1-.628.651.64.64 0 0 1-.627-.651c0-.36.281-.652.627-.652Zm-2.354-.128a.64.64 0 0 1 .627.652.64.64 0 0 1-.627.652.64.64 0 0 1-.628-.652c0-.36.281-.652.628-.652Zm-13.798.311c.207 0 .376.175.376.391a.384.384 0 0 1-.376.391.384.384 0 0 1-.377-.39c0-.217.169-.392.377-.392Zm11.832-.812a.64.64 0 0 1 .628.652.64.64 0 0 1-.628.651.64.64 0 0 1-.627-.651c0-.36.281-.652.627-.652Zm-6.285 0a.64.64 0 0 1 .627.652.64.64 0 0 1-.627.651.64.64 0 0 1-.627-.651c0-.36.28-.652.627-.652Zm3.428 0a.64.64 0 0 1 .627.652.64.64 0 0 1-.627.651.64.64 0 0 1-.627-.651c0-.36.28-.652.627-.652Zm-6.118.24c.208 0 .376.176.376.392a.384.384 0 0 1-.376.39.384.384 0 0 1-.377-.39c0-.216.169-.391.377-.391Zm11.261-2.525a.64.64 0 0 1 .627.651.64.64 0 0 1-.627.652.64.64 0 0 1-.627-.652c0-.36.28-.651.627-.651Zm-3.557.484c.208 0 .376.175.376.391a.384.384 0 0 1-.376.391.384.384 0 0 1-.376-.391c0-.216.168-.391.376-.391Zm-2.478-.555a.64.64 0 0 1 .627.652.64.64 0 0 1-.627.652.64.64 0 0 1-.627-.652c0-.36.28-.652.627-.652Zm-3.512-.26c.208 0 .376.175.376.39a.384.384 0 0 1-.376.392.384.384 0 0 1-.376-.391c0-.216.168-.391.376-.391Zm-2.857 0c.208 0 .376.175.376.39a.384.384 0 0 1-.376.392.384.384 0 0 1-.376-.391c0-.216.168-.391.376-.391Zm-4.571 0c.207 0 .376.175.376.39a.384.384 0 0 1-.376.392.384.384 0 0 1-.377-.391c0-.216.169-.391.377-.391Zm14.898-1.835a.64.64 0 0 1 .628.652.64.64 0 0 1-.628.651.64.64 0 0 1-.627-.651c0-.36.281-.652.627-.652Zm-8.027-.245c.208 0 .377.175.377.39a.384.384 0 0 1-.377.392.384.384 0 0 1-.376-.391c0-.216.169-.391.376-.391Zm6.271-1.349c.208 0 .377.175.377.391a.384.384 0 0 1-.377.391.384.384 0 0 1-.376-.39c0-.217.169-.392.376-.392Zm-11.484-.481c.208 0 .376.175.376.39a.384.384 0 0 1-.376.392.384.384 0 0 1-.376-.391c0-.216.168-.391.376-.391Zm15.103-.972c.208 0 .376.175.376.391a.384.384 0 0 1-.376.391.384.384 0 0 1-.376-.39c0-.217.168-.392.376-.392Zm-9.333-1.404c.208 0 .376.175.376.39a.384.384 0 0 1-.376.392.384.384 0 0 1-.376-.391c0-.216.168-.391.376-.391Zm-6.819-.405c.208 0 .377.175.377.39a.384.384 0 0 1-.377.392.384.384 0 0 1-.376-.391c0-.216.168-.391.376-.391Z",
58
+ fill: "#003CFF",
59
+ fillRule: "nonzero",
60
+ mask: "url(#error-block-image-default-c)",
61
+ transform: "rotate(116 12.367 83.503)"
62
+ }), /*#__PURE__*/React.createElement("path", {
63
+ stroke: "#FFF",
64
+ strokeWidth: 0.75,
65
+ strokeLinecap: "round",
66
+ strokeLinejoin: "round",
67
+ d: "M36.774 5.474H21.523"
68
+ }), /*#__PURE__*/React.createElement("path", {
69
+ d: "m67.818 94.025-4.996 3.913m4.996 11.91-4.996-3.912m-1.142 9.145-1.143-6.288m10.71-6.768h-7.262",
70
+ stroke: "#4486FE",
71
+ strokeWidth: 0.75,
72
+ strokeLinecap: "round",
73
+ strokeLinejoin: "round"
74
+ })), /*#__PURE__*/React.createElement("circle", {
75
+ cx: 8.571,
76
+ cy: 8.571,
77
+ r: 8.571,
78
+ transform: "translate(22.857 142)",
79
+ fill: "#FFCD6B",
80
+ fillRule: "nonzero"
81
+ }), /*#__PURE__*/React.createElement("g", {
82
+ transform: "translate(132.857 124)"
83
+ }, /*#__PURE__*/React.createElement("mask", {
84
+ id: "error-block-image-default-e",
85
+ fill: "#fff"
86
+ }, /*#__PURE__*/React.createElement("use", {
87
+ xlinkHref: "#error-block-image-default-d"
88
+ })), /*#__PURE__*/React.createElement("use", {
89
+ fill: "#FBBE47",
90
+ fillRule: "nonzero",
91
+ xlinkHref: "#error-block-image-default-d"
92
+ }), /*#__PURE__*/React.createElement("circle", {
93
+ fill: "#FFCD6B",
94
+ fillRule: "nonzero",
95
+ mask: "url(#error-block-image-default-e)",
96
+ cx: 13.886,
97
+ cy: 15.12,
98
+ r: 18.823
99
+ }), /*#__PURE__*/React.createElement("circle", {
100
+ fill: "#FFB400",
101
+ fillRule: "nonzero",
102
+ mask: "url(#error-block-image-default-e)",
103
+ cx: 23.4,
104
+ cy: 29.057,
105
+ r: 1
106
+ }), /*#__PURE__*/React.createElement("circle", {
107
+ fill: "#FFB400",
108
+ fillRule: "nonzero",
109
+ mask: "url(#error-block-image-default-e)",
110
+ cx: 30.343,
111
+ cy: 29.829,
112
+ r: 1
113
+ }), /*#__PURE__*/React.createElement("circle", {
114
+ fill: "#FFB400",
115
+ fillRule: "nonzero",
116
+ mask: "url(#error-block-image-default-e)",
117
+ cx: 18.771,
118
+ cy: 32.657,
119
+ r: 1.286
120
+ }), /*#__PURE__*/React.createElement("circle", {
121
+ fill: "#FFB400",
122
+ fillRule: "nonzero",
123
+ mask: "url(#error-block-image-default-e)",
124
+ cx: 29.571,
125
+ cy: 25.971,
126
+ r: 1.286
127
+ }), /*#__PURE__*/React.createElement("circle", {
128
+ fill: "#FFB400",
129
+ fillRule: "nonzero",
130
+ mask: "url(#error-block-image-default-e)",
131
+ cx: 19.286,
132
+ cy: 7.971,
133
+ r: 1.286
134
+ }), /*#__PURE__*/React.createElement("circle", {
135
+ fill: "#FFB400",
136
+ fillRule: "nonzero",
137
+ mask: "url(#error-block-image-default-e)",
138
+ cx: 26.486,
139
+ cy: 5.914,
140
+ r: 1.286
141
+ }), /*#__PURE__*/React.createElement("circle", {
142
+ fill: "#FFB400",
143
+ fillRule: "nonzero",
144
+ mask: "url(#error-block-image-default-e)",
145
+ cx: 11.057,
146
+ cy: 6.943,
147
+ r: 1
148
+ }), /*#__PURE__*/React.createElement("circle", {
149
+ fill: "#FFB400",
150
+ fillRule: "nonzero",
151
+ mask: "url(#error-block-image-default-e)",
152
+ cx: 30.086,
153
+ cy: 15.686,
154
+ r: 1.286
155
+ }), /*#__PURE__*/React.createElement("circle", {
156
+ fill: "#FFB400",
157
+ fillRule: "nonzero",
158
+ mask: "url(#error-block-image-default-e)",
159
+ cx: 22.886,
160
+ cy: 14.657,
161
+ r: 1
162
+ })), /*#__PURE__*/React.createElement("path", {
163
+ d: "m87.429 135.123 6.591-9.378v-.08h-5.99v-2.559h10.038v1.787l-6.44 9.254v.082h6.56v2.557h-10.76v-1.663Zm12.185-5.889 4.948-7.047v-.056h-4.498v-1.917h7.536v1.34l-4.849 6.942v.059h4.923v1.92h-8.06v-1.24Zm10.345.702 3.708-5.274v-.045h-3.372v-1.437h5.648v1.003l-3.628 5.206v.045H116v1.438h-6.041v-.936Z",
164
+ fill: "#FFF",
165
+ fillRule: "nonzero"
166
+ })));
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const disconnectedImage: React.JSX.Element;