dtable-ui-component 6.0.91 → 6.0.93

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 (316) hide show
  1. package/lib/ActionSheet/index.js +96 -70
  2. package/lib/ActivityIndicator/index.js +41 -33
  3. package/lib/AsyncUserSelect/index.css +122 -0
  4. package/lib/AsyncUserSelect/index.js +260 -0
  5. package/lib/AsyncUserSelect/user-item.js +55 -0
  6. package/lib/AutoNumberFormatter/index.js +5 -3
  7. package/lib/Badge/index.js +22 -18
  8. package/lib/ButtonFormatter/index.js +15 -10
  9. package/lib/CTimeFormatter/index.js +5 -3
  10. package/lib/CheckboxEditor/index.js +22 -13
  11. package/lib/CheckboxEditor/mb-editor.js +8 -6
  12. package/lib/CheckboxEditor/pc-editor.js +8 -6
  13. package/lib/CheckboxFormatter/index.js +8 -6
  14. package/lib/CollaboratorEditor/index.js +24 -15
  15. package/lib/CollaboratorEditor/mb-editor/index.js +19 -13
  16. package/lib/CollaboratorEditor/pc-editor/index.js +51 -43
  17. package/lib/CollaboratorFormatter/index.js +8 -7
  18. package/lib/CollaboratorItem/index.js +21 -16
  19. package/lib/CollapsibleSettingLayout/index.css +0 -5
  20. package/lib/CollapsibleSettingLayout/index.js +17 -12
  21. package/lib/Comment/body/comment.js +79 -63
  22. package/lib/Comment/body/index.js +14 -11
  23. package/lib/Comment/footer/btns/index.js +68 -53
  24. package/lib/Comment/footer/index.js +30 -28
  25. package/lib/Comment/footer/input/index.js +49 -44
  26. package/lib/Comment/footer/input/participant/index.js +19 -14
  27. package/lib/Comment/footer/participants/index.js +31 -28
  28. package/lib/Comment/footer/participants/participant/index.js +18 -15
  29. package/lib/Comment/footer/participants/participant-select/index.js +68 -57
  30. package/lib/Comment/index.js +33 -28
  31. package/lib/Comment/utils/utilities.js +1 -1
  32. package/lib/CreatorFormatter/index.js +8 -7
  33. package/lib/DTableColorPicker/ColorPickerPortal/index.js +60 -35
  34. package/lib/DTableColorPicker/index.js +135 -99
  35. package/lib/DTableColorPicker/utils.js +1 -1
  36. package/lib/DTableCommonAddTool/index.js +11 -8
  37. package/lib/DTableCustomFooter/index.js +5 -3
  38. package/lib/DTableCustomizeCollaboratorSelect/index.css +1 -39
  39. package/lib/DTableCustomizeCollaboratorSelect/index.js +38 -32
  40. package/lib/DTableCustomizeSelect/index.js +51 -44
  41. package/lib/DTableEmptyTip/index.js +20 -16
  42. package/lib/DTableFiltersPopover/index.js +71 -61
  43. package/lib/DTableFiltersPopover/utils/filter-item-utils.js +74 -57
  44. package/lib/DTableFiltersPopover/utils/index.js +1 -1
  45. package/lib/DTableFiltersPopover/widgets/collaborator-filter/index.js +64 -49
  46. package/lib/DTableFiltersPopover/widgets/department-select-filter/department-multiple-select-filter.js +49 -41
  47. package/lib/DTableFiltersPopover/widgets/department-select-filter/department-single-select-filter.js +57 -47
  48. package/lib/DTableFiltersPopover/widgets/filter-calendar.js +35 -31
  49. package/lib/DTableFiltersPopover/widgets/filter-group.js +38 -32
  50. package/lib/DTableFiltersPopover/widgets/filter-item.js +125 -106
  51. package/lib/DTableFiltersPopover/widgets/filter-list/index.css +1 -5
  52. package/lib/DTableFiltersPopover/widgets/filter-list/index.js +18 -17
  53. package/lib/DTableFiltersPopover/widgets/rate-item.js +12 -9
  54. package/lib/DTableGroupSelect/index.js +52 -44
  55. package/lib/DTableGroupSelect/option.js +5 -3
  56. package/lib/DTableGroupSelect/select-option-group.css +0 -37
  57. package/lib/DTableGroupSelect/select-option-group.js +31 -25
  58. package/lib/DTableModalHeader/index.js +13 -9
  59. package/lib/DTablePopover/index.js +9 -6
  60. package/lib/DTableRadio/index.js +20 -17
  61. package/lib/DTableRadioGroup/index.js +22 -19
  62. package/lib/DTableSearchInput/index.js +23 -19
  63. package/lib/DTableSelect/dtable-select-label.js +12 -7
  64. package/lib/DTableSelect/index.js +2 -1
  65. package/lib/DTableSelect/utils.js +34 -20
  66. package/lib/DTableSwitch/index.css +1 -2
  67. package/lib/DTableSwitch/index.js +30 -18
  68. package/lib/DateEditor/index.js +25 -16
  69. package/lib/DateEditor/mb-editor/index.js +90 -68
  70. package/lib/DateEditor/pc-editor.js +39 -35
  71. package/lib/DateFormatter/index.js +5 -3
  72. package/lib/DatePicker/utils.js +4 -4
  73. package/lib/DeleteTip/index.js +29 -20
  74. package/lib/DepartmentMultipleSelectEditor/index.js +57 -49
  75. package/lib/DepartmentSelectFilter/index.js +8 -1
  76. package/lib/DepartmentSingleSelectEditor/index.js +22 -13
  77. package/lib/DepartmentSingleSelectEditor/mb-editor/index.js +75 -55
  78. package/lib/DepartmentSingleSelectEditor/pc-editor/department-single-select.js +78 -61
  79. package/lib/DepartmentSingleSelectEditor/pc-editor/index.js +14 -11
  80. package/lib/DepartmentSingleSelectFormatter/index.js +13 -10
  81. package/lib/DigitalSignEditor/index.js +22 -13
  82. package/lib/DigitalSignEditor/mb-editor/index.js +39 -24
  83. package/lib/DigitalSignEditor/pc-editor/index.js +44 -30
  84. package/lib/DigitalSignEditor/service.js +1 -1
  85. package/lib/DigitalSignEditor/signature-board/index.js +21 -17
  86. package/lib/DigitalSignFormatter/index.js +23 -19
  87. package/lib/DigitalSignFormatter/utils.js +1 -1
  88. package/lib/Drawer/index.js +4 -1
  89. package/lib/DurationEditor/index.js +2 -1
  90. package/lib/DurationFormatter/index.js +5 -3
  91. package/lib/EditEditorButton/index.js +5 -3
  92. package/lib/EmailEditor/index.js +2 -1
  93. package/lib/EmailFormatter/index.js +5 -3
  94. package/lib/FieldDisplaySetting/field-item.js +26 -20
  95. package/lib/FieldDisplaySetting/index.css +0 -6
  96. package/lib/FieldDisplaySetting/index.js +50 -41
  97. package/lib/FileEditor/files-previewer/index.js +22 -13
  98. package/lib/FileEditor/files-previewer/mb-previewer/file-previewer/index.js +43 -28
  99. package/lib/FileEditor/files-previewer/mb-previewer/index.js +24 -21
  100. package/lib/FileEditor/files-previewer/pc-previewer/file-previewer/dropdown-menu.js +30 -24
  101. package/lib/FileEditor/files-previewer/pc-previewer/file-previewer/file-name-editor/index.js +13 -11
  102. package/lib/FileEditor/files-previewer/pc-previewer/file-previewer/index.js +82 -64
  103. package/lib/FileEditor/files-previewer/pc-previewer/index.js +81 -65
  104. package/lib/FileEditor/index.js +22 -13
  105. package/lib/FileEditor/mb-editor/index.js +43 -31
  106. package/lib/FileEditor/pc-editor/addition-previewer/index.js +27 -20
  107. package/lib/FileEditor/pc-editor/addition-previewer/local-file-addition/index.js +108 -82
  108. package/lib/FileEditor/pc-editor/index.js +46 -36
  109. package/lib/FileFormatter/index.js +40 -36
  110. package/lib/FileItemFormatter/index.js +3 -2
  111. package/lib/FileUploader/index.js +23 -21
  112. package/lib/FormulaFormatter/index.js +24 -17
  113. package/lib/GeolocationEditor/index.js +31 -22
  114. package/lib/GeolocationEditor/map-editor-utils.js +2 -2
  115. package/lib/GeolocationEditor/mb-editor/country-editor.js +42 -27
  116. package/lib/GeolocationEditor/mb-editor/index.js +22 -14
  117. package/lib/GeolocationEditor/mb-editor/location-editor.js +54 -34
  118. package/lib/GeolocationEditor/mb-editor/map-editor/index.js +102 -74
  119. package/lib/GeolocationEditor/mb-editor/map-selection-editor/index.js +144 -110
  120. package/lib/GeolocationEditor/mb-editor/province-city-editor.js +42 -27
  121. package/lib/GeolocationEditor/mb-editor/province-editor.js +42 -27
  122. package/lib/GeolocationEditor/pc-editor/country-editor.js +38 -31
  123. package/lib/GeolocationEditor/pc-editor/index.js +26 -17
  124. package/lib/GeolocationEditor/pc-editor/location-editor.js +122 -96
  125. package/lib/GeolocationEditor/pc-editor/map-editor/index.js +99 -74
  126. package/lib/GeolocationEditor/pc-editor/map-editor/large-editor/index.js +99 -76
  127. package/lib/GeolocationEditor/pc-editor/map-selection-editor/index.js +139 -94
  128. package/lib/GeolocationEditor/pc-editor/map-selection-editor/large-editor/index.js +122 -85
  129. package/lib/GeolocationEditor/pc-editor/province-city-editor.js +89 -69
  130. package/lib/GeolocationEditor/pc-editor/province-editor.js +31 -26
  131. package/lib/GeolocationEditor/pc-editor/selector-header-item.js +9 -5
  132. package/lib/GeolocationEditor/pc-editor/selector-list.js +15 -13
  133. package/lib/GeolocationFormatter/index.js +5 -3
  134. package/lib/HtmlLongTextFormatter/index.js +3 -2
  135. package/lib/Icon/index.js +9 -6
  136. package/lib/Icon/load-sprite.js +13 -2
  137. package/lib/IconButton/index.js +9 -6
  138. package/lib/ImageEditor/images-previewer/image-preview/index.js +53 -45
  139. package/lib/ImageEditor/images-previewer/index.js +35 -32
  140. package/lib/ImageEditor/index.js +22 -13
  141. package/lib/ImageEditor/mb-editor/index.js +43 -31
  142. package/lib/ImageEditor/pc-editor/addition-previewer/image-link/index.js +19 -15
  143. package/lib/ImageEditor/pc-editor/addition-previewer/index.js +32 -24
  144. package/lib/ImageEditor/pc-editor/addition-previewer/local-image-addition/index.js +102 -77
  145. package/lib/ImageEditor/pc-editor/images-previewer/index.js +33 -30
  146. package/lib/ImageEditor/pc-editor/index.js +44 -32
  147. package/lib/ImageFormatter/images-lazy-load.js +12 -10
  148. package/lib/ImageFormatter/index.js +40 -34
  149. package/lib/ImagePreviewerLightbox/index.js +12 -8
  150. package/lib/ImageThumbnail/index.js +47 -39
  151. package/lib/InputItem/custom-input.js +32 -27
  152. package/lib/InputItem/custom-keyboard.js +68 -47
  153. package/lib/InputItem/index.js +81 -71
  154. package/lib/InputItem/input.js +5 -3
  155. package/lib/LastModifierFormatter/index.js +8 -7
  156. package/lib/LinkEditor/index.js +38 -32
  157. package/lib/LinkEditor/link-editor-option.js +25 -20
  158. package/lib/LinkEditor/mb-popover/index.js +53 -41
  159. package/lib/LinkEditor/pc-popover/index.js +41 -33
  160. package/lib/LinkFormatter/index.js +13 -10
  161. package/lib/List/index.js +15 -9
  162. package/lib/List/list-item.js +51 -42
  163. package/lib/Loading/index.js +2 -1
  164. package/lib/LongTextFormatter/index.js +3 -2
  165. package/lib/MBEditorHeader/index.js +19 -14
  166. package/lib/MTimeFormatter/index.js +5 -3
  167. package/lib/MobileFullScreenPage/body/index.js +6 -4
  168. package/lib/MobileFullScreenPage/header/index.js +22 -17
  169. package/lib/MobileFullScreenPage/index.js +11 -8
  170. package/lib/MobileModal/index.js +6 -3
  171. package/lib/MobileOperationSheet/index.js +28 -18
  172. package/lib/MobileSelector/empty/index.js +5 -3
  173. package/lib/MobileSelector/index.js +18 -12
  174. package/lib/MobileSelector/option/index.js +17 -12
  175. package/lib/MobileSelector/options/index.js +5 -3
  176. package/lib/MobileSelector/search/index.js +10 -8
  177. package/lib/MobileUpload/index.js +87 -67
  178. package/lib/Modal/alert.js +9 -6
  179. package/lib/Modal/modal.js +26 -22
  180. package/lib/Modal/operation.js +2 -1
  181. package/lib/Modal/prompt.js +76 -56
  182. package/lib/MultipleSelectEditor/index.js +4 -2
  183. package/lib/MultipleSelectFormatter/index.js +8 -7
  184. package/lib/NotificationPopover/index.js +43 -32
  185. package/lib/NumberEditor/index.js +2 -1
  186. package/lib/NumberFormatter/index.js +5 -3
  187. package/lib/Picker/AbstractPicker.js +26 -22
  188. package/lib/Picker/index.js +2 -1
  189. package/lib/Popover/index.js +8 -5
  190. package/lib/Popover/item.js +26 -19
  191. package/lib/Progress/index.js +17 -15
  192. package/lib/Radio/Radio.js +12 -8
  193. package/lib/Radio/RadioItem.js +11 -5
  194. package/lib/RateFormatter/index.js +8 -7
  195. package/lib/RoleStatusEditor/index.js +36 -31
  196. package/lib/RowExpand/index.js +16 -9
  197. package/lib/RowExpandDialog/body/index.js +53 -42
  198. package/lib/RowExpandDialog/column-content/index.js +34 -25
  199. package/lib/RowExpandDialog/header/index.js +29 -22
  200. package/lib/RowExpandDialog/index.js +43 -30
  201. package/lib/RowExpandEditor/add-btn/index.js +16 -9
  202. package/lib/RowExpandEditor/add-btn/mb-add-btn/index.js +5 -3
  203. package/lib/RowExpandEditor/add-btn/pc-add-btn/index.js +8 -5
  204. package/lib/RowExpandEditor/checkbox-editor/index.js +16 -9
  205. package/lib/RowExpandEditor/checkbox-editor/mb-editor/index.js +10 -8
  206. package/lib/RowExpandEditor/checkbox-editor/pc-editor.js +2 -1
  207. package/lib/RowExpandEditor/collaborator-editor/index.js +16 -9
  208. package/lib/RowExpandEditor/collaborator-editor/mb-editor/index.js +19 -17
  209. package/lib/RowExpandEditor/collaborator-editor/pc-editor/index.js +52 -47
  210. package/lib/RowExpandEditor/date-editor/index.js +16 -9
  211. package/lib/RowExpandEditor/date-editor/mb-editor.js +20 -15
  212. package/lib/RowExpandEditor/date-editor/pc-editor.js +24 -21
  213. package/lib/RowExpandEditor/department-editor/index.js +16 -9
  214. package/lib/RowExpandEditor/department-editor/mb-editor.js +27 -22
  215. package/lib/RowExpandEditor/department-editor/pc-editor.js +35 -29
  216. package/lib/RowExpandEditor/digital-sign-editor/index.js +16 -9
  217. package/lib/RowExpandEditor/digital-sign-editor/mb-editor/index.js +19 -16
  218. package/lib/RowExpandEditor/digital-sign-editor/pc-editor/index.js +34 -32
  219. package/lib/RowExpandEditor/duration-editor/index.js +16 -9
  220. package/lib/RowExpandEditor/duration-editor/mb-editor.js +15 -12
  221. package/lib/RowExpandEditor/duration-editor/pc-editor.js +17 -13
  222. package/lib/RowExpandEditor/email-editor/index.js +16 -9
  223. package/lib/RowExpandEditor/email-editor/mb-editor/index.js +20 -18
  224. package/lib/RowExpandEditor/email-editor/pc-editor/index.js +21 -19
  225. package/lib/RowExpandEditor/file-editor/index.js +16 -9
  226. package/lib/RowExpandEditor/file-editor/mb-editor/index.js +21 -16
  227. package/lib/RowExpandEditor/file-editor/pc-editor/index.js +22 -20
  228. package/lib/RowExpandEditor/geolocation-editor/index.js +16 -9
  229. package/lib/RowExpandEditor/geolocation-editor/mb-editor/index.js +12 -9
  230. package/lib/RowExpandEditor/geolocation-editor/pc-editor/index.js +20 -17
  231. package/lib/RowExpandEditor/image-editor/index.js +16 -9
  232. package/lib/RowExpandEditor/image-editor/mb-editor/index.js +21 -16
  233. package/lib/RowExpandEditor/image-editor/pc-editor/index.js +29 -25
  234. package/lib/RowExpandEditor/index.js +4 -2
  235. package/lib/RowExpandEditor/long-text-editor/index.js +16 -9
  236. package/lib/RowExpandEditor/long-text-editor/mb-editor/editor/index.js +27 -16
  237. package/lib/RowExpandEditor/long-text-editor/mb-editor/index.js +19 -16
  238. package/lib/RowExpandEditor/long-text-editor/pc-editor/index.js +22 -18
  239. package/lib/RowExpandEditor/multiple-select-editor/index.js +16 -9
  240. package/lib/RowExpandEditor/multiple-select-editor/mb-editor/index.js +26 -23
  241. package/lib/RowExpandEditor/multiple-select-editor/pc-editor/index.js +82 -68
  242. package/lib/RowExpandEditor/number-editor/index.js +16 -9
  243. package/lib/RowExpandEditor/number-editor/mb-editor/index.js +10 -7
  244. package/lib/RowExpandEditor/number-editor/pc-editor.js +6 -4
  245. package/lib/RowExpandEditor/rate-editor/index.js +16 -9
  246. package/lib/RowExpandEditor/rate-editor/mb-editor.js +10 -8
  247. package/lib/RowExpandEditor/rate-editor/pc-editor.js +12 -10
  248. package/lib/RowExpandEditor/right-angle/index.js +8 -6
  249. package/lib/RowExpandEditor/single-select-editor/index.js +16 -9
  250. package/lib/RowExpandEditor/single-select-editor/mb-editor/index.js +30 -23
  251. package/lib/RowExpandEditor/single-select-editor/pc-editor/index.js +43 -35
  252. package/lib/RowExpandEditor/text-editor/index.js +16 -9
  253. package/lib/RowExpandEditor/text-editor/mb-editor/index.js +11 -9
  254. package/lib/RowExpandEditor/text-editor/pc-editor/index.js +16 -12
  255. package/lib/RowExpandEditor/url-editor/index.js +16 -9
  256. package/lib/RowExpandEditor/url-editor/mb-editor/index.js +20 -18
  257. package/lib/RowExpandEditor/url-editor/pc-editor/index.js +21 -19
  258. package/lib/RowExpandFormatter/department-formatter/index.js +14 -5
  259. package/lib/RowExpandFormatter/department-formatter/mb-formatter.js +2 -1
  260. package/lib/RowExpandFormatter/department-formatter/pc-formatter.js +15 -11
  261. package/lib/RowExpandFormatter/email-formatter/index.js +12 -9
  262. package/lib/RowExpandFormatter/file-formatter/index.js +15 -14
  263. package/lib/RowExpandFormatter/file-formatter/row-expand-file-item-formatter.js +43 -36
  264. package/lib/RowExpandFormatter/formula-formatter/index.js +41 -33
  265. package/lib/RowExpandFormatter/image-formatter/index.js +30 -27
  266. package/lib/RowExpandFormatter/image-formatter/row-expand-image-item-formatter.js +47 -39
  267. package/lib/RowExpandFormatter/index.js +132 -115
  268. package/lib/RowExpandFormatter/link-formatter/collaborator-item-formatter.js +3 -2
  269. package/lib/RowExpandFormatter/link-formatter/index.js +70 -67
  270. package/lib/RowExpandFormatter/rate-formatter/index.js +8 -7
  271. package/lib/RowExpandFormatter/url-formatter/index.js +12 -9
  272. package/lib/RowExpandView/body/index.js +39 -33
  273. package/lib/RowExpandView/column-content/index.js +10 -5
  274. package/lib/RowExpandView/index.js +27 -16
  275. package/lib/SelectItem/index.js +16 -12
  276. package/lib/SelectOptionGroup/index.css +4 -2
  277. package/lib/SelectOptionGroup/index.js +39 -32
  278. package/lib/SelectOptionGroup/option.js +5 -3
  279. package/lib/SelectedDepartments/index.js +54 -44
  280. package/lib/SimpleLongTextFormatter/index.js +39 -30
  281. package/lib/SimpleLongTextFormatter/widgets/LongTextPreview.js +11 -8
  282. package/lib/SimpleLongTextFormatter/widgets/dtable-markdown-viewer.js +3 -2
  283. package/lib/SingleSelectEditor/index.js +4 -2
  284. package/lib/SingleSelectFormatter/index.js +6 -4
  285. package/lib/SvgIcon/index.js +5 -2
  286. package/lib/TabBar/Tab.js +28 -21
  287. package/lib/TabBar/index.js +28 -24
  288. package/lib/Tabs/index.js +8 -5
  289. package/lib/TextEditor/index.js +21 -18
  290. package/lib/TextFormatter/index.js +5 -3
  291. package/lib/TextareaItem/index.js +49 -40
  292. package/lib/Toast/index.js +20 -14
  293. package/lib/UploadProgress/index.js +2 -1
  294. package/lib/UrlEditor/index.js +2 -1
  295. package/lib/UrlFormatter/index.js +5 -3
  296. package/lib/formatterConfig/base-formatter-config.js +24 -23
  297. package/lib/formatterConfig/index.js +3 -2
  298. package/lib/index.js +7 -0
  299. package/lib/locales/de.json +5 -1
  300. package/lib/locales/en.json +5 -1
  301. package/lib/locales/es.json +6 -2
  302. package/lib/locales/fr.json +5 -1
  303. package/lib/locales/pt.json +5 -1
  304. package/lib/locales/ru.json +5 -1
  305. package/lib/locales/zh-CN.json +5 -1
  306. package/lib/select-editor/index.js +22 -13
  307. package/lib/select-editor/mb-editor/index.js +22 -16
  308. package/lib/select-editor/pc-editor/index.js +75 -61
  309. package/lib/toaster/alert.js +25 -16
  310. package/lib/toaster/toast.js +27 -23
  311. package/lib/toaster/toastManager.js +17 -14
  312. package/lib/toaster/toaster.js +4 -1
  313. package/lib/utils/class.js +3 -3
  314. package/lib/utils/object-utils.js +1 -1
  315. package/lib/utils/url.js +4 -4
  316. package/package.json +13 -29
@@ -13,6 +13,7 @@ var _DTablePopover = _interopRequireDefault(require("../../../DTablePopover"));
13
13
  var _Loading = _interopRequireDefault(require("../../../Loading"));
14
14
  var _lang = require("../../../lang");
15
15
  require("./index.css");
16
+ var _jsxRuntime = require("react/jsx-runtime");
16
17
  class Btns extends _react.default.Component {
17
18
  constructor(props) {
18
19
  super(props);
@@ -42,25 +43,29 @@ class Btns extends _react.default.Component {
42
43
  const {
43
44
  collaborators
44
45
  } = this.props;
45
- return /*#__PURE__*/_react.default.createElement("div", {
46
- className: "comment-popover-list"
47
- }, collaborators.map(participant => {
48
- return /*#__PURE__*/_react.default.createElement("div", {
49
- key: participant.email,
50
- className: "comment-participant-item",
51
- onClick: this.onChangeInputValue.bind(this, participant)
52
- }, /*#__PURE__*/_react.default.createElement("div", {
53
- className: "comment-participant-container"
54
- }, /*#__PURE__*/_react.default.createElement("div", {
55
- className: "comment-participant text-truncate"
56
- }, /*#__PURE__*/_react.default.createElement("img", {
57
- className: "comment-dtable-ui-participant-avatar ml-2",
58
- alt: participant.name,
59
- src: participant.avatar_url
60
- }), /*#__PURE__*/_react.default.createElement("span", {
61
- className: "comment-participant-name text-truncate"
62
- }, participant.name))));
63
- }));
46
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
47
+ className: "comment-popover-list",
48
+ children: collaborators.map(participant => {
49
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
50
+ className: "comment-participant-item",
51
+ onClick: this.onChangeInputValue.bind(this, participant),
52
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
53
+ className: "comment-participant-container",
54
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
55
+ className: "comment-participant text-truncate",
56
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
57
+ className: "comment-dtable-ui-participant-avatar ml-2",
58
+ alt: participant.name,
59
+ src: participant.avatar_url
60
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
61
+ className: "comment-participant-name text-truncate",
62
+ children: participant.name
63
+ })]
64
+ })
65
+ })
66
+ }, participant.email);
67
+ })
68
+ });
64
69
  };
65
70
  this.state = {
66
71
  isShowPopover: false
@@ -74,40 +79,50 @@ class Btns extends _react.default.Component {
74
79
  isAdding,
75
80
  canUpdateParticipants
76
81
  } = this.props;
77
- return /*#__PURE__*/_react.default.createElement(_react.Fragment, null, /*#__PURE__*/_react.default.createElement("div", {
78
- className: "dtable-ui-comment-input-btns"
79
- }, /*#__PURE__*/_react.default.createElement("div", {
80
- className: "d-flex justify-content-between dtable-ui-comment-input-btns-container"
81
- }, /*#__PURE__*/_react.default.createElement("div", {
82
- className: "dtable-ui-comment-input-btns-content",
83
- ref: ref => this.toolRef = ref
84
- }, /*#__PURE__*/_react.default.createElement(_FileUploader.default, {
85
- uploadType: "image",
86
- className: "dtable-ui-comment-image-upload",
87
- onFileUploadSuccess: this.onFileUploadSuccess,
88
- uploadFile: this.props.uploadFile
89
- }, /*#__PURE__*/_react.default.createElement("span", {
90
- "aria-hidden": "true",
91
- className: "dtable-font dtable-icon-picture-linear"
92
- })), canUpdateParticipants && /*#__PURE__*/_react.default.createElement("span", {
93
- className: "dtable-ui-comment-collaborator-tip",
94
- onClick: this.onHandleCollaboratorTip
95
- }, "@")), isAdding ? /*#__PURE__*/_react.default.createElement(_reactstrap.Button, {
96
- className: "dtable-ui-comment-submit",
97
- color: "primary",
98
- size: "sm",
99
- disabled: true
100
- }, /*#__PURE__*/_react.default.createElement(_Loading.default, null)) : /*#__PURE__*/_react.default.createElement(_reactstrap.Button, {
101
- className: "dtable-ui-comment-submit",
102
- color: "primary",
103
- size: "sm",
104
- onClick: this.onSubmit,
105
- tabIndex: -1
106
- }, (0, _lang.getLocale)('Submit')))), this.state.isShowPopover && /*#__PURE__*/_react.default.createElement(_DTablePopover.default, {
107
- target: this.toolRef,
108
- hideDTablePopover: this.onHideCollaboratorTip,
109
- hideDTablePopoverWithEsc: this.onHideCollaboratorTip
110
- }, this.getCollaboratorContent()));
82
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_react.Fragment, {
83
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
84
+ className: "dtable-ui-comment-input-btns",
85
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
86
+ className: "d-flex justify-content-between dtable-ui-comment-input-btns-container",
87
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
88
+ className: "dtable-ui-comment-input-btns-content",
89
+ ref: ref => this.toolRef = ref,
90
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_FileUploader.default, {
91
+ uploadType: "image",
92
+ className: "dtable-ui-comment-image-upload",
93
+ onFileUploadSuccess: this.onFileUploadSuccess,
94
+ uploadFile: this.props.uploadFile,
95
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
96
+ "aria-hidden": "true",
97
+ className: "dtable-font dtable-icon-picture-linear"
98
+ })
99
+ }), canUpdateParticipants && /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
100
+ className: "dtable-ui-comment-collaborator-tip",
101
+ onClick: this.onHandleCollaboratorTip,
102
+ children: "@"
103
+ })]
104
+ }), isAdding ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactstrap.Button, {
105
+ className: "dtable-ui-comment-submit",
106
+ color: "primary",
107
+ size: "sm",
108
+ disabled: true,
109
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Loading.default, {})
110
+ }) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactstrap.Button, {
111
+ className: "dtable-ui-comment-submit",
112
+ color: "primary",
113
+ size: "sm",
114
+ onClick: this.onSubmit,
115
+ tabIndex: -1,
116
+ children: (0, _lang.getLocale)('Submit')
117
+ })]
118
+ })
119
+ }), this.state.isShowPopover && /*#__PURE__*/(0, _jsxRuntime.jsx)(_DTablePopover.default, {
120
+ target: this.toolRef,
121
+ hideDTablePopover: this.onHideCollaboratorTip,
122
+ hideDTablePopoverWithEsc: this.onHideCollaboratorTip,
123
+ children: this.getCollaboratorContent()
124
+ })]
125
+ });
111
126
  }
112
127
  }
113
128
  var _default = exports.default = Btns;
@@ -12,6 +12,7 @@ var _participants = _interopRequireDefault(require("./participants"));
12
12
  var _input = _interopRequireDefault(require("./input"));
13
13
  var _btns = _interopRequireDefault(require("./btns"));
14
14
  require("./index.css");
15
+ var _jsxRuntime = require("react/jsx-runtime");
15
16
  class Footer extends _react.default.Component {
16
17
  constructor(_props) {
17
18
  super(_props);
@@ -63,7 +64,7 @@ class Footer extends _react.default.Component {
63
64
  let start = 0;
64
65
  let newValue = '';
65
66
  while ((match = regex.exec(value)) !== null) {
66
- let notificationName = "".concat(match[1]);
67
+ let notificationName = `${match[1]}`;
67
68
  let substr = value.substring(start, match.index);
68
69
  start = regex.lastIndex;
69
70
  newValue += substr + notificationName;
@@ -137,33 +138,34 @@ class Footer extends _react.default.Component {
137
138
  collaborators
138
139
  } = this.props;
139
140
  const canUpdateParticipants = Boolean(this.props.onChangeParticipants);
140
- return /*#__PURE__*/_react.default.createElement("div", {
141
- className: "dtable-ui-comments-footer"
142
- }, /*#__PURE__*/_react.default.createElement(_participants.default, {
143
- canUpdate: canUpdateParticipants,
144
- participants: participants,
145
- collaborators: collaborators,
146
- showIconTip: true,
147
- onChange: this.updateParticipants
148
- }), /*#__PURE__*/_react.default.createElement(_input.default, {
149
- ref: ref => this.commentInputRef = ref,
150
- collaborators: collaborators,
151
- onSubmit: this.onSubmit,
152
- uploadFile: this.props.uploadFile,
153
- addParticipant: this.addParticipant,
154
- onInputFocus: this.props.onInputFocus,
155
- onInputBlur: this.props.onInputBlur,
156
- autoFocusInput: this.props.autoFocusInput,
157
- canUpdateParticipants: canUpdateParticipants
158
- }), /*#__PURE__*/_react.default.createElement(_btns.default, {
159
- isAdding: isAdding,
160
- canUpdateParticipants: canUpdateParticipants,
161
- collaborators: collaborators,
162
- uploadFile: this.props.uploadFile,
163
- onInsertElement: this.onInsertElement,
164
- onSubmit: this.onSubmit,
165
- addParticipant: this.addParticipant
166
- }));
141
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
142
+ className: "dtable-ui-comments-footer",
143
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_participants.default, {
144
+ canUpdate: canUpdateParticipants,
145
+ participants: participants,
146
+ collaborators: collaborators,
147
+ showIconTip: true,
148
+ onChange: this.updateParticipants
149
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_input.default, {
150
+ ref: ref => this.commentInputRef = ref,
151
+ collaborators: collaborators,
152
+ onSubmit: this.onSubmit,
153
+ uploadFile: this.props.uploadFile,
154
+ addParticipant: this.addParticipant,
155
+ onInputFocus: this.props.onInputFocus,
156
+ onInputBlur: this.props.onInputBlur,
157
+ autoFocusInput: this.props.autoFocusInput,
158
+ canUpdateParticipants: canUpdateParticipants
159
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_btns.default, {
160
+ isAdding: isAdding,
161
+ canUpdateParticipants: canUpdateParticipants,
162
+ collaborators: collaborators,
163
+ uploadFile: this.props.uploadFile,
164
+ onInsertElement: this.onInsertElement,
165
+ onSubmit: this.onSubmit,
166
+ addParticipant: this.addParticipant
167
+ })]
168
+ });
167
169
  }
168
170
  }
169
171
  var _default = exports.default = Footer;
@@ -18,6 +18,7 @@ var _hotkey = require("../../../utils/hotkey");
18
18
  var _participant = _interopRequireDefault(require("./participant"));
19
19
  var _lang = require("../../../lang");
20
20
  require("./index.css");
21
+ var _jsxRuntime = require("react/jsx-runtime");
21
22
  const FONT_SIZE_WIDTH = 15;
22
23
  const PADDING_WIDTH = 9;
23
24
  const LINE_HEIGHT = 22;
@@ -48,12 +49,12 @@ class Input extends _react.default.Component {
48
49
  right,
49
50
  left
50
51
  } = this.commentRef.getBoundingClientRect();
51
- this.commentPopoverRef.style.left = "".concat(caretPosition.x + FONT_SIZE_WIDTH, "px");
52
- this.commentPopoverRef.style.top = "".concat(caretPosition.y - this.commentPopoverRef.offsetHeight, "px");
52
+ this.commentPopoverRef.style.left = `${caretPosition.x + FONT_SIZE_WIDTH}px`;
53
+ this.commentPopoverRef.style.top = `${caretPosition.y - this.commentPopoverRef.offsetHeight}px`;
53
54
  if (caretPosition.x + FONT_SIZE_WIDTH > right - PADDING_WIDTH) {
54
55
  // is last code
55
- this.commentPopoverRef.style.left = "".concat(left + PADDING_WIDTH + FONT_SIZE_WIDTH, "px");
56
- this.commentPopoverRef.style.top = "".concat(caretPosition.y - this.commentPopoverRef.offsetHeight + LINE_HEIGHT, "px");
56
+ this.commentPopoverRef.style.left = `${left + PADDING_WIDTH + FONT_SIZE_WIDTH}px`;
57
+ this.commentPopoverRef.style.top = `${caretPosition.y - this.commentPopoverRef.offsetHeight + LINE_HEIGHT}px`;
57
58
  }
58
59
  if (caretPosition.x + FONT_SIZE_WIDTH + this.commentPopoverRef.offsetWidth > document.body.clientWidth) {
59
60
  this.commentPopoverRef.style.right = 0;
@@ -165,7 +166,7 @@ class Input extends _react.default.Component {
165
166
  spanNode2 = document.createElement('span');
166
167
  spanNode1.className = 'at-text';
167
168
  spanNode1.contentEditable = 'false';
168
- spanNode1.innerHTML = "@".concat(content.name);
169
+ spanNode1.innerHTML = `@${content.name}`;
169
170
  spanNode2.innerHTML = ' ';
170
171
  }
171
172
  let frag = document.createDocumentFragment();
@@ -404,45 +405,49 @@ class Input extends _react.default.Component {
404
405
  filteredCollaborators,
405
406
  activeCollaboratorIndex
406
407
  } = this.state;
407
- return /*#__PURE__*/_react.default.createElement(_react.Fragment, null, /*#__PURE__*/_react.default.createElement("div", {
408
- className: (0, _classnames.default)('dtable-ui-comment-input', {
409
- 'dtable-ui-comment-input-archive': !(api !== null && api !== void 0 && api.add)
410
- }),
411
- ref: ref => this.commentRef = ref,
412
- onKeyDown: this.onKeyDown,
413
- onFocus: this.onFocus,
414
- onBlur: this.onBlur,
415
- onKeyUp: this.onKeyUp,
416
- onMouseUp: this.onMouseUp,
417
- onPaste: this.onPaste,
418
- placeholder: (0, _lang.getLocale)('Add_comment'),
419
- onClick: this.handleImageZoom,
420
- tabIndex: -1,
421
- contentEditable: true
422
- }), filteredCollaborators.length > 0 && /*#__PURE__*/_react.default.createElement(_ModalPortal.default, null, /*#__PURE__*/_react.default.createElement("div", {
423
- className: "dtable-ui-comment-caret-list",
424
- ref: ref => this.commentPopoverRef = ref
425
- }, filteredCollaborators.map((participant, i) => {
426
- return /*#__PURE__*/_react.default.createElement(_participant.default, {
427
- key: participant.email,
428
- index: i,
429
- activeIndex: activeCollaboratorIndex,
430
- participant: participant,
431
- setScrollTop: this.setScrollTop,
432
- onSelect: this.onSelectCollaborator.bind(this, participant)
433
- });
434
- }))), largeImageIndex > -1 && /*#__PURE__*/_react.default.createElement(_ImagePreviewerLightbox.default, {
435
- imageItems: imageUrlList,
436
- imageIndex: this.state.largeImageIndex,
437
- closeImagePopup: this.hideLargeImage,
438
- moveToPrevImage: this.movePrev,
439
- moveToNextImage: this.moveNext
440
- }), /*#__PURE__*/_react.default.createElement(_FileUploader.default, {
441
- className: "dtable-ui-comment-paste-uploader",
442
- ref: ref => this.uploaderFileRef = ref,
443
- onFileUploadSuccess: this.onFileUploadSuccess,
444
- uploadFile: this.props.uploadFile
445
- }));
408
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_react.Fragment, {
409
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
410
+ className: (0, _classnames.default)('dtable-ui-comment-input', {
411
+ 'dtable-ui-comment-input-archive': !(api !== null && api !== void 0 && api.add)
412
+ }),
413
+ ref: ref => this.commentRef = ref,
414
+ onKeyDown: this.onKeyDown,
415
+ onFocus: this.onFocus,
416
+ onBlur: this.onBlur,
417
+ onKeyUp: this.onKeyUp,
418
+ onMouseUp: this.onMouseUp,
419
+ onPaste: this.onPaste,
420
+ placeholder: (0, _lang.getLocale)('Add_comment'),
421
+ onClick: this.handleImageZoom,
422
+ tabIndex: -1,
423
+ contentEditable: true
424
+ }), filteredCollaborators.length > 0 && /*#__PURE__*/(0, _jsxRuntime.jsx)(_ModalPortal.default, {
425
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
426
+ className: "dtable-ui-comment-caret-list",
427
+ ref: ref => this.commentPopoverRef = ref,
428
+ children: filteredCollaborators.map((participant, i) => {
429
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_participant.default, {
430
+ index: i,
431
+ activeIndex: activeCollaboratorIndex,
432
+ participant: participant,
433
+ setScrollTop: this.setScrollTop,
434
+ onSelect: this.onSelectCollaborator.bind(this, participant)
435
+ }, participant.email);
436
+ })
437
+ })
438
+ }), largeImageIndex > -1 && /*#__PURE__*/(0, _jsxRuntime.jsx)(_ImagePreviewerLightbox.default, {
439
+ imageItems: imageUrlList,
440
+ imageIndex: this.state.largeImageIndex,
441
+ closeImagePopup: this.hideLargeImage,
442
+ moveToPrevImage: this.movePrev,
443
+ moveToNextImage: this.moveNext
444
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_FileUploader.default, {
445
+ className: "dtable-ui-comment-paste-uploader",
446
+ ref: ref => this.uploaderFileRef = ref,
447
+ onFileUploadSuccess: this.onFileUploadSuccess,
448
+ uploadFile: this.props.uploadFile
449
+ })]
450
+ });
446
451
  }
447
452
  }
448
453
  var _default = exports.default = Input;
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.default = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
+ var _jsxRuntime = require("react/jsx-runtime");
9
10
  class Participant extends _react.default.Component {
10
11
  constructor() {
11
12
  super(...arguments);
@@ -33,21 +34,25 @@ class Participant extends _react.default.Component {
33
34
  activeIndex
34
35
  } = this.props;
35
36
  const active = index === activeIndex;
36
- return /*#__PURE__*/_react.default.createElement("div", {
37
- className: "comment-participant-item ".concat(active ? 'active' : ''),
37
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
38
+ className: `comment-participant-item ${active ? 'active' : ''}`,
38
39
  ref: ref => this.participantItem = ref,
39
- onClick: this.onSelect
40
- }, /*#__PURE__*/_react.default.createElement("div", {
41
- className: "comment-participant-container"
42
- }, /*#__PURE__*/_react.default.createElement("div", {
43
- className: "comment-participant text-truncate"
44
- }, /*#__PURE__*/_react.default.createElement("img", {
45
- className: "comment-dtable-ui-participant-avatar ml-2",
46
- alt: participant.name,
47
- src: participant.avatar_url
48
- }), /*#__PURE__*/_react.default.createElement("span", {
49
- className: "comment-participant-name"
50
- }, participant.name))));
40
+ onClick: this.onSelect,
41
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
42
+ className: "comment-participant-container",
43
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
44
+ className: "comment-participant text-truncate",
45
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
46
+ className: "comment-dtable-ui-participant-avatar ml-2",
47
+ alt: participant.name,
48
+ src: participant.avatar_url
49
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
50
+ className: "comment-participant-name",
51
+ children: participant.name
52
+ })]
53
+ })
54
+ })
55
+ });
51
56
  }
52
57
  }
53
58
  var _default = exports.default = Participant;
@@ -11,6 +11,7 @@ var _participant = _interopRequireDefault(require("./participant"));
11
11
  var _participantSelect = _interopRequireDefault(require("./participant-select"));
12
12
  var _lang = require("../../../lang");
13
13
  require("./index.css");
14
+ var _jsxRuntime = require("react/jsx-runtime");
14
15
  class Participants extends _react.default.Component {
15
16
  constructor(props) {
16
17
  super(props);
@@ -34,35 +35,37 @@ class Participants extends _react.default.Component {
34
35
  participants,
35
36
  collaborators
36
37
  } = this.props;
37
- return /*#__PURE__*/_react.default.createElement("div", {
38
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
38
39
  className: "dtable-ui-comments-participants mb-2 position-relative",
39
- ref: ref => this.ref = ref
40
- }, participants.map(participant => {
41
- return /*#__PURE__*/_react.default.createElement(_participant.default, {
42
- participant: participant,
43
- key: participant.email
44
- });
45
- }), canUpdate && /*#__PURE__*/_react.default.createElement("span", {
46
- className: "dtable-ui-participants-add",
47
- onClick: this.toggleParticipantSelect,
48
- ref: ref => this.addIcon = ref
49
- }, /*#__PURE__*/_react.default.createElement("i", {
50
- "aria-hidden": "true",
51
- className: "dtable-font dtable-icon-add"
52
- })), this.addIcon && /*#__PURE__*/_react.default.createElement(_reactstrap.UncontrolledTooltip, {
53
- delay: {
54
- show: 0,
55
- hide: 0
56
- },
57
- target: this.addIcon,
58
- placement: "bottom"
59
- }, (0, _lang.getLocale)('Add_participants')), this.ref && this.state.showParticipantSelect && /*#__PURE__*/_react.default.createElement(_participantSelect.default, {
60
- target: this.ref,
61
- participants: participants,
62
- collaborators: collaborators,
63
- onChange: this.props.onChange,
64
- onClose: this.closeParticipantSelect
65
- }));
40
+ ref: ref => this.ref = ref,
41
+ children: [participants.map(participant => {
42
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_participant.default, {
43
+ participant: participant
44
+ }, participant.email);
45
+ }), canUpdate && /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
46
+ className: "dtable-ui-participants-add",
47
+ onClick: this.toggleParticipantSelect,
48
+ ref: ref => this.addIcon = ref,
49
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
50
+ "aria-hidden": "true",
51
+ className: "dtable-font dtable-icon-add"
52
+ })
53
+ }), this.addIcon && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactstrap.UncontrolledTooltip, {
54
+ delay: {
55
+ show: 0,
56
+ hide: 0
57
+ },
58
+ target: this.addIcon,
59
+ placement: "bottom",
60
+ children: (0, _lang.getLocale)('Add_participants')
61
+ }), this.ref && this.state.showParticipantSelect && /*#__PURE__*/(0, _jsxRuntime.jsx)(_participantSelect.default, {
62
+ target: this.ref,
63
+ participants: participants,
64
+ collaborators: collaborators,
65
+ onChange: this.props.onChange,
66
+ onClose: this.closeParticipantSelect
67
+ })]
68
+ });
66
69
  }
67
70
  }
68
71
  var _default = exports.default = Participants;
@@ -8,25 +8,28 @@ exports.default = void 0;
8
8
  var _react = _interopRequireWildcard(require("react"));
9
9
  var _reactstrap = require("reactstrap");
10
10
  require("./index.css");
11
+ var _jsxRuntime = require("react/jsx-runtime");
11
12
  const Participant = _ref => {
12
13
  let {
13
14
  participant
14
15
  } = _ref;
15
16
  const ref = (0, _react.useRef)(null);
16
- return /*#__PURE__*/_react.default.createElement("span", {
17
- className: "dtable-ui-participant-avatar"
18
- }, /*#__PURE__*/_react.default.createElement("img", {
19
- src: participant.avatar_url,
20
- className: "avatar",
21
- ref: ref,
22
- alt: "avatar"
23
- }), ref.current && /*#__PURE__*/_react.default.createElement(_reactstrap.UncontrolledTooltip, {
24
- delay: {
25
- show: 0,
26
- hide: 0
27
- },
28
- target: ref,
29
- placement: "bottom"
30
- }, participant.name));
17
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("span", {
18
+ className: "dtable-ui-participant-avatar",
19
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
20
+ src: participant.avatar_url,
21
+ className: "avatar",
22
+ ref: ref,
23
+ alt: "avatar"
24
+ }), ref.current && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactstrap.UncontrolledTooltip, {
25
+ delay: {
26
+ show: 0,
27
+ hide: 0
28
+ },
29
+ target: ref,
30
+ placement: "bottom",
31
+ children: participant.name
32
+ })]
33
+ });
31
34
  };
32
35
  var _default = exports.default = Participant;