dtable-ui-component 6.0.49 → 6.0.50

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 (298) hide show
  1. package/lib/ActionSheet/index.js +94 -68
  2. package/lib/ActivityIndicator/index.js +36 -28
  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 +12 -8
  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 +7 -5
  12. package/lib/CheckboxEditor/pc-editor.js +7 -5
  13. package/lib/CheckboxFormatter/index.js +7 -5
  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 +50 -42
  17. package/lib/CollaboratorFormatter/index.js +8 -7
  18. package/lib/CollaboratorItem/index.js +21 -16
  19. package/lib/CollapsibleSettingLayout/index.js +17 -12
  20. package/lib/Comment/body/comment.js +78 -62
  21. package/lib/Comment/body/index.js +14 -11
  22. package/lib/Comment/footer/btns/index.js +68 -53
  23. package/lib/Comment/footer/index.js +29 -27
  24. package/lib/Comment/footer/input/index.js +44 -39
  25. package/lib/Comment/footer/input/participant/index.js +18 -13
  26. package/lib/Comment/footer/participants/index.js +31 -28
  27. package/lib/Comment/footer/participants/participant/index.js +18 -15
  28. package/lib/Comment/footer/participants/participant-select/index.js +66 -55
  29. package/lib/Comment/index.js +33 -28
  30. package/lib/CreatorFormatter/index.js +8 -7
  31. package/lib/DTableColorPicker/ColorPickerPortal/index.js +5 -3
  32. package/lib/DTableColorPicker/index.js +135 -99
  33. package/lib/DTableCommonAddTool/index.js +10 -7
  34. package/lib/DTableCustomFooter/index.js +5 -3
  35. package/lib/DTableCustomizeCollaboratorSelect/index.js +38 -32
  36. package/lib/DTableCustomizeSelect/index.js +51 -44
  37. package/lib/DTableEmptyTip/index.js +20 -16
  38. package/lib/DTableFiltersPopover/index.js +71 -61
  39. package/lib/DTableFiltersPopover/utils/filter-item-utils.js +74 -57
  40. package/lib/DTableFiltersPopover/widgets/collaborator-filter/index.js +64 -49
  41. package/lib/DTableFiltersPopover/widgets/department-select-filter/department-multiple-select-filter.js +49 -41
  42. package/lib/DTableFiltersPopover/widgets/department-select-filter/department-single-select-filter.js +57 -47
  43. package/lib/DTableFiltersPopover/widgets/filter-calendar.js +35 -31
  44. package/lib/DTableFiltersPopover/widgets/filter-group.js +38 -32
  45. package/lib/DTableFiltersPopover/widgets/filter-item.js +125 -106
  46. package/lib/DTableFiltersPopover/widgets/filter-list/index.js +18 -17
  47. package/lib/DTableFiltersPopover/widgets/rate-item.js +12 -9
  48. package/lib/DTableGroupSelect/index.js +52 -44
  49. package/lib/DTableGroupSelect/option.js +5 -3
  50. package/lib/DTableGroupSelect/select-option-group.js +31 -25
  51. package/lib/DTableModalHeader/index.js +13 -9
  52. package/lib/DTablePopover/index.js +9 -6
  53. package/lib/DTableRadio/index.js +20 -17
  54. package/lib/DTableRadioGroup/index.js +21 -18
  55. package/lib/DTableSearchInput/index.js +22 -18
  56. package/lib/DTableSelect/dtable-select-label.js +12 -7
  57. package/lib/DTableSelect/index.js +2 -1
  58. package/lib/DTableSelect/utils.js +34 -20
  59. package/lib/DTableSwitch/index.js +25 -17
  60. package/lib/DateEditor/index.js +25 -16
  61. package/lib/DateEditor/mb-editor/index.js +90 -68
  62. package/lib/DateEditor/pc-editor.js +38 -34
  63. package/lib/DateFormatter/index.js +5 -3
  64. package/lib/DeleteTip/index.js +29 -20
  65. package/lib/DepartmentMultipleSelectEditor/index.js +57 -49
  66. package/lib/DepartmentSelectFilter/index.js +8 -1
  67. package/lib/DepartmentSingleSelectEditor/index.js +22 -13
  68. package/lib/DepartmentSingleSelectEditor/mb-editor/index.js +75 -55
  69. package/lib/DepartmentSingleSelectEditor/pc-editor/department-single-select.js +78 -61
  70. package/lib/DepartmentSingleSelectEditor/pc-editor/index.js +14 -11
  71. package/lib/DepartmentSingleSelectFormatter/index.js +13 -9
  72. package/lib/DigitalSignEditor/index.js +22 -13
  73. package/lib/DigitalSignEditor/mb-editor/index.js +39 -24
  74. package/lib/DigitalSignEditor/pc-editor/index.js +44 -30
  75. package/lib/DigitalSignEditor/signature-board/index.js +19 -15
  76. package/lib/DigitalSignFormatter/index.js +23 -19
  77. package/lib/Drawer/index.js +4 -1
  78. package/lib/DurationEditor/index.js +2 -1
  79. package/lib/DurationFormatter/index.js +5 -3
  80. package/lib/EditEditorButton/index.js +5 -3
  81. package/lib/EmailEditor/index.js +2 -1
  82. package/lib/EmailFormatter/index.js +5 -3
  83. package/lib/FieldDisplaySetting/field-item.js +25 -19
  84. package/lib/FieldDisplaySetting/index.js +47 -38
  85. package/lib/FileEditor/files-previewer/index.js +22 -13
  86. package/lib/FileEditor/files-previewer/mb-previewer/file-previewer/index.js +43 -28
  87. package/lib/FileEditor/files-previewer/mb-previewer/index.js +24 -21
  88. package/lib/FileEditor/files-previewer/pc-previewer/file-previewer/dropdown-menu.js +30 -24
  89. package/lib/FileEditor/files-previewer/pc-previewer/file-previewer/file-name-editor/index.js +13 -11
  90. package/lib/FileEditor/files-previewer/pc-previewer/file-previewer/index.js +81 -63
  91. package/lib/FileEditor/files-previewer/pc-previewer/index.js +81 -65
  92. package/lib/FileEditor/index.js +22 -13
  93. package/lib/FileEditor/mb-editor/index.js +43 -31
  94. package/lib/FileEditor/pc-editor/addition-previewer/index.js +27 -20
  95. package/lib/FileEditor/pc-editor/addition-previewer/local-file-addition/index.js +107 -81
  96. package/lib/FileEditor/pc-editor/index.js +46 -36
  97. package/lib/FileFormatter/index.js +40 -36
  98. package/lib/FileItemFormatter/index.js +2 -1
  99. package/lib/FileUploader/index.js +22 -20
  100. package/lib/FormulaFormatter/index.js +21 -14
  101. package/lib/GeolocationEditor/index.js +28 -19
  102. package/lib/GeolocationEditor/mb-editor/country-editor.js +42 -27
  103. package/lib/GeolocationEditor/mb-editor/index.js +22 -14
  104. package/lib/GeolocationEditor/mb-editor/location-editor.js +54 -34
  105. package/lib/GeolocationEditor/mb-editor/map-editor/index.js +102 -74
  106. package/lib/GeolocationEditor/mb-editor/map-selection-editor/index.js +144 -110
  107. package/lib/GeolocationEditor/mb-editor/province-city-editor.js +42 -27
  108. package/lib/GeolocationEditor/mb-editor/province-editor.js +42 -27
  109. package/lib/GeolocationEditor/pc-editor/country-editor.js +37 -30
  110. package/lib/GeolocationEditor/pc-editor/index.js +26 -17
  111. package/lib/GeolocationEditor/pc-editor/location-editor.js +121 -95
  112. package/lib/GeolocationEditor/pc-editor/map-editor/index.js +99 -74
  113. package/lib/GeolocationEditor/pc-editor/map-editor/large-editor/index.js +99 -76
  114. package/lib/GeolocationEditor/pc-editor/map-selection-editor/index.js +119 -91
  115. package/lib/GeolocationEditor/pc-editor/map-selection-editor/large-editor/index.js +102 -82
  116. package/lib/GeolocationEditor/pc-editor/province-city-editor.js +89 -69
  117. package/lib/GeolocationEditor/pc-editor/province-editor.js +30 -25
  118. package/lib/GeolocationEditor/pc-editor/selector-header-item.js +9 -5
  119. package/lib/GeolocationEditor/pc-editor/selector-list.js +15 -13
  120. package/lib/GeolocationFormatter/index.js +5 -3
  121. package/lib/HtmlLongTextFormatter/index.js +2 -1
  122. package/lib/Icon/index.js +8 -5
  123. package/lib/IconButton/index.js +9 -6
  124. package/lib/ImageEditor/images-previewer/image-preview/index.js +52 -44
  125. package/lib/ImageEditor/images-previewer/index.js +35 -32
  126. package/lib/ImageEditor/index.js +22 -13
  127. package/lib/ImageEditor/mb-editor/index.js +43 -31
  128. package/lib/ImageEditor/pc-editor/addition-previewer/image-link/index.js +19 -15
  129. package/lib/ImageEditor/pc-editor/addition-previewer/index.js +32 -24
  130. package/lib/ImageEditor/pc-editor/addition-previewer/local-image-addition/index.js +101 -76
  131. package/lib/ImageEditor/pc-editor/images-previewer/index.js +33 -30
  132. package/lib/ImageEditor/pc-editor/index.js +44 -32
  133. package/lib/ImageFormatter/images-lazy-load.js +12 -10
  134. package/lib/ImageFormatter/index.js +40 -34
  135. package/lib/ImagePreviewerLightbox/index.js +12 -8
  136. package/lib/ImageThumbnail/index.js +46 -38
  137. package/lib/InputItem/custom-input.js +23 -18
  138. package/lib/InputItem/custom-keyboard.js +65 -44
  139. package/lib/InputItem/index.js +66 -56
  140. package/lib/InputItem/input.js +5 -3
  141. package/lib/LastModifierFormatter/index.js +8 -7
  142. package/lib/LinkEditor/index.js +38 -32
  143. package/lib/LinkEditor/link-editor-option.js +25 -20
  144. package/lib/LinkEditor/mb-popover/index.js +53 -41
  145. package/lib/LinkEditor/pc-popover/index.js +41 -33
  146. package/lib/LinkFormatter/index.js +13 -10
  147. package/lib/List/index.js +15 -9
  148. package/lib/List/list-item.js +32 -23
  149. package/lib/Loading/index.js +2 -1
  150. package/lib/LongTextFormatter/index.js +3 -2
  151. package/lib/MBEditorHeader/index.js +19 -14
  152. package/lib/MTimeFormatter/index.js +5 -3
  153. package/lib/MobileFullScreenPage/body/index.js +5 -3
  154. package/lib/MobileFullScreenPage/header/index.js +21 -16
  155. package/lib/MobileFullScreenPage/index.js +11 -8
  156. package/lib/MobileModal/index.js +6 -3
  157. package/lib/MobileOperationSheet/index.js +28 -18
  158. package/lib/MobileSelector/empty/index.js +5 -3
  159. package/lib/MobileSelector/index.js +18 -12
  160. package/lib/MobileSelector/option/index.js +17 -12
  161. package/lib/MobileSelector/options/index.js +5 -3
  162. package/lib/MobileSelector/search/index.js +10 -8
  163. package/lib/MobileUpload/index.js +87 -67
  164. package/lib/Modal/alert.js +8 -5
  165. package/lib/Modal/modal.js +19 -15
  166. package/lib/Modal/operation.js +2 -1
  167. package/lib/Modal/prompt.js +74 -54
  168. package/lib/MultipleSelectEditor/index.js +4 -2
  169. package/lib/MultipleSelectFormatter/index.js +8 -7
  170. package/lib/NotificationPopover/index.js +43 -32
  171. package/lib/NumberEditor/index.js +2 -1
  172. package/lib/NumberFormatter/index.js +5 -3
  173. package/lib/Picker/AbstractPicker.js +26 -22
  174. package/lib/Picker/index.js +2 -1
  175. package/lib/Popover/index.js +8 -5
  176. package/lib/Popover/item.js +22 -15
  177. package/lib/Progress/index.js +12 -10
  178. package/lib/Radio/Radio.js +11 -7
  179. package/lib/Radio/RadioItem.js +9 -3
  180. package/lib/RateFormatter/index.js +7 -6
  181. package/lib/RoleStatusEditor/index.js +36 -31
  182. package/lib/RowExpand/index.js +16 -9
  183. package/lib/RowExpandDialog/body/index.js +52 -41
  184. package/lib/RowExpandDialog/column-content/index.js +34 -25
  185. package/lib/RowExpandDialog/header/index.js +28 -21
  186. package/lib/RowExpandDialog/index.js +40 -27
  187. package/lib/RowExpandEditor/add-btn/index.js +16 -9
  188. package/lib/RowExpandEditor/add-btn/mb-add-btn/index.js +5 -3
  189. package/lib/RowExpandEditor/add-btn/pc-add-btn/index.js +8 -5
  190. package/lib/RowExpandEditor/checkbox-editor/index.js +16 -9
  191. package/lib/RowExpandEditor/checkbox-editor/mb-editor/index.js +10 -8
  192. package/lib/RowExpandEditor/checkbox-editor/pc-editor.js +2 -1
  193. package/lib/RowExpandEditor/collaborator-editor/index.js +16 -9
  194. package/lib/RowExpandEditor/collaborator-editor/mb-editor/index.js +19 -17
  195. package/lib/RowExpandEditor/collaborator-editor/pc-editor/index.js +52 -47
  196. package/lib/RowExpandEditor/date-editor/index.js +16 -9
  197. package/lib/RowExpandEditor/date-editor/mb-editor.js +20 -15
  198. package/lib/RowExpandEditor/date-editor/pc-editor.js +24 -21
  199. package/lib/RowExpandEditor/department-editor/index.js +16 -9
  200. package/lib/RowExpandEditor/department-editor/mb-editor.js +27 -22
  201. package/lib/RowExpandEditor/department-editor/pc-editor.js +35 -29
  202. package/lib/RowExpandEditor/digital-sign-editor/index.js +16 -9
  203. package/lib/RowExpandEditor/digital-sign-editor/mb-editor/index.js +19 -16
  204. package/lib/RowExpandEditor/digital-sign-editor/pc-editor/index.js +34 -32
  205. package/lib/RowExpandEditor/duration-editor/index.js +16 -9
  206. package/lib/RowExpandEditor/duration-editor/mb-editor.js +15 -12
  207. package/lib/RowExpandEditor/duration-editor/pc-editor.js +17 -13
  208. package/lib/RowExpandEditor/email-editor/index.js +16 -9
  209. package/lib/RowExpandEditor/email-editor/mb-editor/index.js +19 -17
  210. package/lib/RowExpandEditor/email-editor/pc-editor/index.js +20 -18
  211. package/lib/RowExpandEditor/file-editor/index.js +16 -9
  212. package/lib/RowExpandEditor/file-editor/mb-editor/index.js +21 -16
  213. package/lib/RowExpandEditor/file-editor/pc-editor/index.js +22 -20
  214. package/lib/RowExpandEditor/geolocation-editor/index.js +16 -9
  215. package/lib/RowExpandEditor/geolocation-editor/mb-editor/index.js +12 -9
  216. package/lib/RowExpandEditor/geolocation-editor/pc-editor/index.js +20 -17
  217. package/lib/RowExpandEditor/image-editor/index.js +16 -9
  218. package/lib/RowExpandEditor/image-editor/mb-editor/index.js +21 -16
  219. package/lib/RowExpandEditor/image-editor/pc-editor/index.js +29 -25
  220. package/lib/RowExpandEditor/index.js +4 -2
  221. package/lib/RowExpandEditor/long-text-editor/index.js +16 -9
  222. package/lib/RowExpandEditor/long-text-editor/mb-editor/editor/index.js +27 -16
  223. package/lib/RowExpandEditor/long-text-editor/mb-editor/index.js +19 -16
  224. package/lib/RowExpandEditor/long-text-editor/pc-editor/index.js +22 -18
  225. package/lib/RowExpandEditor/multiple-select-editor/index.js +16 -9
  226. package/lib/RowExpandEditor/multiple-select-editor/mb-editor/index.js +26 -23
  227. package/lib/RowExpandEditor/multiple-select-editor/pc-editor/index.js +81 -67
  228. package/lib/RowExpandEditor/number-editor/index.js +16 -9
  229. package/lib/RowExpandEditor/number-editor/mb-editor/index.js +10 -7
  230. package/lib/RowExpandEditor/number-editor/pc-editor.js +6 -4
  231. package/lib/RowExpandEditor/rate-editor/index.js +16 -9
  232. package/lib/RowExpandEditor/rate-editor/mb-editor.js +10 -8
  233. package/lib/RowExpandEditor/rate-editor/pc-editor.js +11 -9
  234. package/lib/RowExpandEditor/right-angle/index.js +8 -6
  235. package/lib/RowExpandEditor/single-select-editor/index.js +16 -9
  236. package/lib/RowExpandEditor/single-select-editor/mb-editor/index.js +30 -23
  237. package/lib/RowExpandEditor/single-select-editor/pc-editor/index.js +42 -34
  238. package/lib/RowExpandEditor/text-editor/index.js +16 -9
  239. package/lib/RowExpandEditor/text-editor/mb-editor/index.js +11 -9
  240. package/lib/RowExpandEditor/text-editor/pc-editor/index.js +16 -12
  241. package/lib/RowExpandEditor/url-editor/index.js +16 -9
  242. package/lib/RowExpandEditor/url-editor/mb-editor/index.js +19 -17
  243. package/lib/RowExpandEditor/url-editor/pc-editor/index.js +20 -18
  244. package/lib/RowExpandFormatter/department-formatter/index.js +14 -5
  245. package/lib/RowExpandFormatter/department-formatter/mb-formatter.js +2 -1
  246. package/lib/RowExpandFormatter/department-formatter/pc-formatter.js +15 -11
  247. package/lib/RowExpandFormatter/email-formatter/index.js +11 -8
  248. package/lib/RowExpandFormatter/file-formatter/index.js +15 -14
  249. package/lib/RowExpandFormatter/file-formatter/row-expand-file-item-formatter.js +43 -36
  250. package/lib/RowExpandFormatter/formula-formatter/index.js +37 -29
  251. package/lib/RowExpandFormatter/image-formatter/index.js +30 -27
  252. package/lib/RowExpandFormatter/image-formatter/row-expand-image-item-formatter.js +47 -39
  253. package/lib/RowExpandFormatter/index.js +131 -114
  254. package/lib/RowExpandFormatter/link-formatter/collaborator-item-formatter.js +2 -1
  255. package/lib/RowExpandFormatter/link-formatter/index.js +70 -67
  256. package/lib/RowExpandFormatter/rate-formatter/index.js +7 -6
  257. package/lib/RowExpandFormatter/url-formatter/index.js +11 -8
  258. package/lib/RowExpandView/body/index.js +38 -32
  259. package/lib/RowExpandView/column-content/index.js +10 -5
  260. package/lib/RowExpandView/index.js +27 -16
  261. package/lib/SelectItem/index.js +16 -12
  262. package/lib/SelectOptionGroup/index.js +39 -32
  263. package/lib/SelectOptionGroup/option.js +5 -3
  264. package/lib/SelectedDepartments/index.js +54 -44
  265. package/lib/SimpleLongTextFormatter/index.js +39 -30
  266. package/lib/SimpleLongTextFormatter/widgets/LongTextPreview.js +11 -8
  267. package/lib/SimpleLongTextFormatter/widgets/dtable-markdown-viewer.js +3 -2
  268. package/lib/SingleSelectEditor/index.js +4 -2
  269. package/lib/SingleSelectFormatter/index.js +6 -4
  270. package/lib/SvgIcon/index.js +4 -1
  271. package/lib/TabBar/Tab.js +27 -20
  272. package/lib/TabBar/index.js +25 -21
  273. package/lib/Tabs/index.js +8 -5
  274. package/lib/TextEditor/index.js +21 -18
  275. package/lib/TextFormatter/index.js +5 -3
  276. package/lib/TextareaItem/index.js +35 -26
  277. package/lib/Toast/index.js +16 -10
  278. package/lib/UploadProgress/index.js +2 -1
  279. package/lib/UrlEditor/index.js +2 -1
  280. package/lib/UrlFormatter/index.js +5 -3
  281. package/lib/formatterConfig/base-formatter-config.js +24 -23
  282. package/lib/formatterConfig/index.js +3 -2
  283. package/lib/index.js +7 -0
  284. package/lib/locales/de.json +5 -1
  285. package/lib/locales/en.json +5 -1
  286. package/lib/locales/es.json +6 -2
  287. package/lib/locales/fr.json +5 -1
  288. package/lib/locales/pt.json +5 -1
  289. package/lib/locales/ru.json +5 -1
  290. package/lib/locales/zh-CN.json +5 -1
  291. package/lib/select-editor/index.js +22 -13
  292. package/lib/select-editor/mb-editor/index.js +22 -16
  293. package/lib/select-editor/pc-editor/index.js +74 -60
  294. package/lib/toaster/alert.js +25 -16
  295. package/lib/toaster/toast.js +27 -23
  296. package/lib/toaster/toastManager.js +16 -13
  297. package/lib/toaster/toaster.js +2 -1
  298. package/package.json +2 -2
@@ -10,12 +10,12 @@ var _classnames = _interopRequireDefault(require("classnames"));
10
10
  var React = _interopRequireWildcard(require("react"));
11
11
  var _rmcFeedback = _interopRequireDefault(require("rmc-feedback"));
12
12
  var _exenv = require("../utils/exenv");
13
+ var _jsxRuntime = require("react/jsx-runtime");
13
14
  /**
14
15
  * determines whether an array includes a certain value among its entries, returning true or false as appropriate.
15
16
  * @param {array} arr The array to search in
16
17
  * @param {any} item The value to search for
17
- */
18
- function includes(arr, item) {
18
+ */function includes(arr, item) {
19
19
  if (!arr || !arr.length || !item) {
20
20
  return false;
21
21
  }
@@ -51,20 +51,24 @@ class KeyboardItem extends React.Component {
51
51
  ["".concat(prefixCls, "-item-disabled")]: disabled
52
52
  };
53
53
  const wrapCls = (0, _classnames.default)("".concat(prefixCls, "-item"), className, extraCls);
54
- return /*#__PURE__*/React.createElement(_rmcFeedback.default, {
54
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_rmcFeedback.default, {
55
55
  disabled: disabled,
56
- activeClassName: "".concat(prefixCls, "-item-active")
57
- }, /*#__PURE__*/React.createElement("td", Object.assign({
58
- ref: tdRef
59
- // tslint:disable-next-line:jsx-no-multiline-js
60
- ,
61
- onTouchEnd: e => {
62
- onClick(e, value);
63
- },
64
- className: wrapCls
65
- }, restProps), children, iconOnly && /*#__PURE__*/React.createElement("i", {
66
- className: "sr-only"
67
- }, label)));
56
+ activeClassName: "".concat(prefixCls, "-item-active"),
57
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("td", {
58
+ ref: tdRef
59
+ // tslint:disable-next-line:jsx-no-multiline-js
60
+ ,
61
+ onTouchEnd: e => {
62
+ onClick(e, value);
63
+ },
64
+ className: wrapCls,
65
+ ...restProps,
66
+ children: [children, iconOnly && /*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
67
+ className: "sr-only",
68
+ children: label
69
+ })]
70
+ })
71
+ });
68
72
  }
69
73
  }
70
74
  exports.KeyboardItem = KeyboardItem;
@@ -97,11 +101,11 @@ class CustomKeyboard extends React.Component {
97
101
  if (this.props.disabledKeys && includes(this.props.disabledKeys, item)) {
98
102
  disabled = true;
99
103
  }
100
- return /*#__PURE__*/React.createElement(KeyboardItem, {
104
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(KeyboardItem, {
101
105
  onClick: this.onKeyboardClick,
102
- key: "item-".concat(item, "-").concat(index),
103
- disabled: disabled
104
- }, item);
106
+ disabled: disabled,
107
+ children: item
108
+ }, "item-".concat(item, "-").concat(index));
105
109
  };
106
110
  }
107
111
  render() {
@@ -114,32 +118,49 @@ class CustomKeyboard extends React.Component {
114
118
  header
115
119
  } = this.props;
116
120
  const wrapperCls = (0, _classnames.default)("".concat(prefixCls, "-wrapper"), "".concat(prefixCls, "-wrapper-hide"));
117
- return /*#__PURE__*/React.createElement("div", Object.assign({
121
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
118
122
  className: wrapperCls,
119
- ref: el => this.antmKeyboard = el
120
- }, wrapProps), header && /*#__PURE__*/React.cloneElement(header, {
121
- onClick: this.onKeyboardClick
122
- }), /*#__PURE__*/React.createElement("table", null, /*#__PURE__*/React.createElement("tbody", null, /*#__PURE__*/React.createElement("tr", null, ['1', '2', '3'].map((item, index) =>
123
- // tslint:disable-next-line:jsx-no-multiline-js
124
- this.renderKeyboardItem(item, index)), /*#__PURE__*/React.createElement(KeyboardItem, Object.assign({
125
- className: "keyboard-delete",
126
- rowSpan: 2,
127
- onClick: this.onKeyboardClick
128
- }, this.getAriaAttr(backspaceLabel)))), /*#__PURE__*/React.createElement("tr", null, ['4', '5', '6'].map((item, index) =>
129
- // tslint:disable-next-line:jsx-no-multiline-js
130
- this.renderKeyboardItem(item, index))), /*#__PURE__*/React.createElement("tr", null, ['7', '8', '9'].map((item, index) =>
131
- // tslint:disable-next-line:jsx-no-multiline-js
132
- this.renderKeyboardItem(item, index)), /*#__PURE__*/React.createElement(KeyboardItem, {
133
- className: "keyboard-confirm",
134
- rowSpan: 2,
135
- onClick: this.onKeyboardClick,
136
- tdRef: el => this.confirmKeyboardItem = el
137
- }, confirmLabel)), /*#__PURE__*/React.createElement("tr", null, ['.', '0'].map((item, index) =>
138
- // tslint:disable-next-line:jsx-no-multiline-js
139
- this.renderKeyboardItem(item, index)), /*#__PURE__*/React.createElement(KeyboardItem, Object.assign({
140
- className: "keyboard-hide",
141
- onClick: this.onKeyboardClick
142
- }, this.getAriaAttr(cancelKeyboardLabel)))))));
123
+ ref: el => this.antmKeyboard = el,
124
+ ...wrapProps,
125
+ children: [header && /*#__PURE__*/React.cloneElement(header, {
126
+ onClick: this.onKeyboardClick
127
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("table", {
128
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("tbody", {
129
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("tr", {
130
+ children: [['1', '2', '3'].map((item, index) =>
131
+ // tslint:disable-next-line:jsx-no-multiline-js
132
+ this.renderKeyboardItem(item, index)), /*#__PURE__*/(0, _jsxRuntime.jsx)(KeyboardItem, {
133
+ className: "keyboard-delete",
134
+ rowSpan: 2,
135
+ onClick: this.onKeyboardClick,
136
+ ...this.getAriaAttr(backspaceLabel)
137
+ })]
138
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("tr", {
139
+ children: ['4', '5', '6'].map((item, index) =>
140
+ // tslint:disable-next-line:jsx-no-multiline-js
141
+ this.renderKeyboardItem(item, index))
142
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("tr", {
143
+ children: [['7', '8', '9'].map((item, index) =>
144
+ // tslint:disable-next-line:jsx-no-multiline-js
145
+ this.renderKeyboardItem(item, index)), /*#__PURE__*/(0, _jsxRuntime.jsx)(KeyboardItem, {
146
+ className: "keyboard-confirm",
147
+ rowSpan: 2,
148
+ onClick: this.onKeyboardClick,
149
+ tdRef: el => this.confirmKeyboardItem = el,
150
+ children: confirmLabel
151
+ })]
152
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("tr", {
153
+ children: [['.', '0'].map((item, index) =>
154
+ // tslint:disable-next-line:jsx-no-multiline-js
155
+ this.renderKeyboardItem(item, index)), /*#__PURE__*/(0, _jsxRuntime.jsx)(KeyboardItem, {
156
+ className: "keyboard-hide",
157
+ onClick: this.onKeyboardClick,
158
+ ...this.getAriaAttr(cancelKeyboardLabel)
159
+ })]
160
+ })]
161
+ })
162
+ })]
163
+ });
143
164
  }
144
165
  getAriaAttr(label) {
145
166
  if (_exenv.IS_IOS) {
@@ -14,6 +14,7 @@ var _getLocale = require("../utils/getLocale");
14
14
  var _customInput = _interopRequireDefault(require("./custom-input"));
15
15
  var _input = _interopRequireDefault(require("./input"));
16
16
  require("./style/index.css");
17
+ var _jsxRuntime = require("react/jsx-runtime");
17
18
  /* tslint:disable:jsx-no-multiline-js */
18
19
 
19
20
  function noop() {}
@@ -302,62 +303,71 @@ class InputItem extends React.Component {
302
303
  className: 'h5numInput' // the name is bad! todos rename.
303
304
  };
304
305
  }
305
- return /*#__PURE__*/React.createElement("div", {
306
- className: wrapCls
307
- }, /*#__PURE__*/React.createElement("div", {
308
- className: "".concat(prefixListCls, "-line")
309
- }, children ? /*#__PURE__*/React.createElement("div", {
310
- className: labelCls
311
- }, children) : null, /*#__PURE__*/React.createElement("div", {
312
- className: controlCls
313
- }, type === 'money' ? /*#__PURE__*/React.createElement(_customInput.default, {
314
- value: normalizeValue(value),
315
- type: type,
316
- ref: el => this.inputRef = el,
317
- maxLength: maxLength,
318
- placeholder: placeholder,
319
- onChange: this.onInputChange,
320
- onFocus: this.onInputFocus,
321
- onBlur: this.onInputBlur,
322
- onVirtualKeyboardConfirm: onVirtualKeyboardConfirm,
323
- disabled: disabled,
324
- editable: editable,
325
- prefixCls: prefixCls,
326
- style: style,
327
- confirmLabel: confirmLabel,
328
- backspaceLabel: backspaceLabel,
329
- cancelKeyboardLabel: cancelKeyboardLabel,
330
- moneyKeyboardAlign: moneyKeyboardAlign,
331
- moneyKeyboardWrapProps: moneyKeyboardWrapProps,
332
- moneyKeyboardHeader: moneyKeyboardHeader,
333
- autoAdjustHeight: autoAdjustHeight,
334
- disabledKeys: disabledKeys
335
- }) : /*#__PURE__*/React.createElement(_input.default, Object.assign({}, patternProps, restProps, classNameProps, {
336
- value: normalizeValue(value),
337
- defaultValue: undefined,
338
- ref: el => this.inputRef = el,
339
- style: style,
340
- type: inputType,
341
- maxLength: maxLength,
342
- name: name,
343
- placeholder: placeholder,
344
- onChange: this.onInputChange,
345
- onFocus: this.onInputFocus,
346
- onBlur: this.onInputBlur,
347
- readOnly: !editable,
348
- disabled: disabled
349
- }))), clear && editable && !disabled && value && "".concat(value).length > 0 ? /*#__PURE__*/React.createElement(_rmcFeedback.default, {
350
- activeClassName: "".concat(prefixCls, "-clear-active")
351
- }, /*#__PURE__*/React.createElement("div", {
352
- className: "".concat(prefixCls, "-clear"),
353
- onClick: this.clearInput
354
- })) : null, error ? /*#__PURE__*/React.createElement("div", {
355
- className: "".concat(prefixCls, "-error-extra"),
356
- onClick: onErrorClick
357
- }) : null, extra !== '' ? /*#__PURE__*/React.createElement("div", {
358
- className: "".concat(prefixCls, "-extra"),
359
- onClick: onExtraClick
360
- }, extra) : null));
306
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
307
+ className: wrapCls,
308
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
309
+ className: "".concat(prefixListCls, "-line"),
310
+ children: [children ? /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
311
+ className: labelCls,
312
+ children: children
313
+ }) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
314
+ className: controlCls,
315
+ children: type === 'money' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_customInput.default, {
316
+ value: normalizeValue(value),
317
+ type: type,
318
+ ref: el => this.inputRef = el,
319
+ maxLength: maxLength,
320
+ placeholder: placeholder,
321
+ onChange: this.onInputChange,
322
+ onFocus: this.onInputFocus,
323
+ onBlur: this.onInputBlur,
324
+ onVirtualKeyboardConfirm: onVirtualKeyboardConfirm,
325
+ disabled: disabled,
326
+ editable: editable,
327
+ prefixCls: prefixCls,
328
+ style: style,
329
+ confirmLabel: confirmLabel,
330
+ backspaceLabel: backspaceLabel,
331
+ cancelKeyboardLabel: cancelKeyboardLabel,
332
+ moneyKeyboardAlign: moneyKeyboardAlign,
333
+ moneyKeyboardWrapProps: moneyKeyboardWrapProps,
334
+ moneyKeyboardHeader: moneyKeyboardHeader,
335
+ autoAdjustHeight: autoAdjustHeight,
336
+ disabledKeys: disabledKeys
337
+ }) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_input.default, {
338
+ ...patternProps,
339
+ ...restProps,
340
+ ...classNameProps,
341
+ value: normalizeValue(value),
342
+ defaultValue: undefined,
343
+ ref: el => this.inputRef = el,
344
+ style: style,
345
+ type: inputType,
346
+ maxLength: maxLength,
347
+ name: name,
348
+ placeholder: placeholder,
349
+ onChange: this.onInputChange,
350
+ onFocus: this.onInputFocus,
351
+ onBlur: this.onInputBlur,
352
+ readOnly: !editable,
353
+ disabled: disabled
354
+ })
355
+ }), clear && editable && !disabled && value && "".concat(value).length > 0 ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_rmcFeedback.default, {
356
+ activeClassName: "".concat(prefixCls, "-clear-active"),
357
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
358
+ className: "".concat(prefixCls, "-clear"),
359
+ onClick: this.clearInput
360
+ })
361
+ }) : null, error ? /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
362
+ className: "".concat(prefixCls, "-error-extra"),
363
+ onClick: onErrorClick
364
+ }) : null, extra !== '' ? /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
365
+ className: "".concat(prefixCls, "-extra"),
366
+ onClick: onExtraClick,
367
+ children: extra
368
+ }) : null]
369
+ })
370
+ });
361
371
  }
362
372
  }
363
373
  InputItem.defaultProps = {
@@ -7,6 +7,7 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.default = void 0;
8
8
  var React = _interopRequireWildcard(require("react"));
9
9
  require("./style/index.css");
10
+ var _jsxRuntime = require("react/jsx-runtime");
10
11
  class Input extends React.Component {
11
12
  constructor() {
12
13
  super(...arguments);
@@ -35,11 +36,12 @@ class Input extends React.Component {
35
36
  onFocus,
36
37
  ...restProps
37
38
  } = this.props;
38
- return /*#__PURE__*/React.createElement("input", Object.assign({
39
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("input", {
39
40
  ref: el => this.inputRef = el,
40
41
  onBlur: this.onInputBlur,
41
- onFocus: this.onInputFocus
42
- }, restProps));
42
+ onFocus: this.onInputFocus,
43
+ ...restProps
44
+ });
43
45
  }
44
46
  }
45
47
  var _default = exports.default = Input;
@@ -10,6 +10,7 @@ var _classnames = _interopRequireDefault(require("classnames"));
10
10
  var _CollaboratorItem = _interopRequireDefault(require("../CollaboratorItem"));
11
11
  var _default_avatar = _interopRequireDefault(require("../assets/images/avatar/default_avatar.png"));
12
12
  require("./index.css");
13
+ var _jsxRuntime = require("react/jsx-runtime");
13
14
  // there will be there conditions
14
15
  // 1 value is not exist, typeof value is array, but it's length is 0
15
16
  // 2 value is exist, but can't find in collaborators
@@ -35,10 +36,9 @@ class LastModifierFormatter extends _react.default.PureComponent {
35
36
  avatar_url: _default_avatar.default
36
37
  };
37
38
  }
38
- return /*#__PURE__*/_react.default.createElement(_CollaboratorItem.default, {
39
- key: index,
39
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_CollaboratorItem.default, {
40
40
  collaborator: collaborator
41
- });
41
+ }, index);
42
42
  });
43
43
  };
44
44
  }
@@ -49,14 +49,15 @@ class LastModifierFormatter extends _react.default.PureComponent {
49
49
  } = this.props;
50
50
  const classname = (0, _classnames.default)('dtable-ui cell-formatter-container last-modified-formatter', containerClassName);
51
51
  if (!value || Array.isArray(value) && value.length === 0) {
52
- return /*#__PURE__*/_react.default.createElement("div", {
52
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
53
53
  className: classname
54
54
  });
55
55
  }
56
56
  const collaborators = this.getCollaborators();
57
- return /*#__PURE__*/_react.default.createElement("div", {
58
- className: classname
59
- }, collaborators);
57
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
58
+ className: classname,
59
+ children: collaborators
60
+ });
60
61
  }
61
62
  }
62
63
  LastModifierFormatter.defaultProps = {
@@ -15,6 +15,7 @@ var _linkEditorOption = _interopRequireDefault(require("./link-editor-option"));
15
15
  var _pcPopover = _interopRequireDefault(require("./pc-popover"));
16
16
  var _mbPopover = _interopRequireDefault(require("./mb-popover"));
17
17
  require("./index.css");
18
+ var _jsxRuntime = require("react/jsx-runtime");
18
19
  class LinkEditor extends _react.default.Component {
19
20
  constructor(props) {
20
21
  super(props);
@@ -220,39 +221,44 @@ class LinkEditor extends _react.default.Component {
220
221
  let options = this.getAvailableLinkedOptions();
221
222
  let selectedOptions = this.formatLinkedValuesToOptions();
222
223
  let isShowRemoveIcon = !isReadOnly;
223
- return /*#__PURE__*/_react.default.createElement("div", {
224
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
224
225
  ref: this.setEditorContainerRef,
225
- className: "dtable-ui-link-editor"
226
- }, /*#__PURE__*/_react.default.createElement("div", {
227
- ref: this.setEditorRef,
228
- className: "dtable-ui-link-editor-container",
229
- onClick: this.onAddOptionToggle
230
- }, selectedOptions.length === 0 && /*#__PURE__*/_react.default.createElement(_EditEditorButton.default, {
231
- text: (0, _lang.getLocale)('Add_an_option')
232
- }), selectedOptions.length !== 0 && selectedOptions.map(option => {
233
- return /*#__PURE__*/_react.default.createElement(_linkEditorOption.default, {
234
- key: option.id,
235
- option: option,
236
- isShowRemoveIcon: isShowRemoveIcon,
237
- onDeleteLinkOption: this.onDeleteOption
238
- });
239
- })), isPopoverShow && /*#__PURE__*/_react.default.createElement(_react.Fragment, null, /*#__PURE__*/_react.default.createElement(_reactResponsive.default, {
240
- query: "(min-width: 768px)"
241
- }, /*#__PURE__*/_react.default.createElement(_pcPopover.default, {
242
- popoverPosition: popoverPosition,
243
- options: options,
244
- selectedOptions: selectedOptions,
245
- onOptionItemToggle: this.onOptionItemToggle
246
- })), /*#__PURE__*/_react.default.createElement(_reactResponsive.default, {
247
- query: "(max-width: 768px)"
248
- }, /*#__PURE__*/_react.default.createElement(_mbPopover.default, {
249
- isReadOnly: this.props.isReadOnly,
250
- value: this.state.newValue,
251
- column: this.props.column,
252
- options: options,
253
- onOptionItemToggle: this.onOptionItemToggle,
254
- onClosePopover: this.onClosePopover
255
- }))));
226
+ className: "dtable-ui-link-editor",
227
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
228
+ ref: this.setEditorRef,
229
+ className: "dtable-ui-link-editor-container",
230
+ onClick: this.onAddOptionToggle,
231
+ children: [selectedOptions.length === 0 && /*#__PURE__*/(0, _jsxRuntime.jsx)(_EditEditorButton.default, {
232
+ text: (0, _lang.getLocale)('Add_an_option')
233
+ }), selectedOptions.length !== 0 && selectedOptions.map(option => {
234
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_linkEditorOption.default, {
235
+ option: option,
236
+ isShowRemoveIcon: isShowRemoveIcon,
237
+ onDeleteLinkOption: this.onDeleteOption
238
+ }, option.id);
239
+ })]
240
+ }), isPopoverShow && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_react.Fragment, {
241
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactResponsive.default, {
242
+ query: "(min-width: 768px)",
243
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_pcPopover.default, {
244
+ popoverPosition: popoverPosition,
245
+ options: options,
246
+ selectedOptions: selectedOptions,
247
+ onOptionItemToggle: this.onOptionItemToggle
248
+ })
249
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactResponsive.default, {
250
+ query: "(max-width: 768px)",
251
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_mbPopover.default, {
252
+ isReadOnly: this.props.isReadOnly,
253
+ value: this.state.newValue,
254
+ column: this.props.column,
255
+ options: options,
256
+ onOptionItemToggle: this.onOptionItemToggle,
257
+ onClosePopover: this.onClosePopover
258
+ })
259
+ })]
260
+ })]
261
+ });
256
262
  }
257
263
  }
258
264
  LinkEditor.defaultProps = {
@@ -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 LinkEditorOption extends _react.default.Component {
10
11
  constructor() {
11
12
  super(...arguments);
@@ -61,27 +62,31 @@ class LinkEditorOption extends _react.default.Component {
61
62
  let optionStyle = this.getOptionStyle();
62
63
  let optionNameStyle = this.getOptionNameStyle();
63
64
  let operationStyle = this.getOperationStyle();
64
- return /*#__PURE__*/_react.default.createElement("div", {
65
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
65
66
  className: "dtable-ui link-option-item",
66
- style: containerStyle
67
- }, /*#__PURE__*/_react.default.createElement("div", {
68
- className: "option-info",
69
- style: optionStyle
70
- }, /*#__PURE__*/_react.default.createElement("div", {
71
- className: "option-name",
72
- style: optionNameStyle,
73
- title: option.name
74
- }, option.name)), isShowRemoveIcon && /*#__PURE__*/_react.default.createElement("div", {
75
- className: "option-remove",
76
- style: operationStyle,
77
- onClick: this.onDeleteOption
78
- }, /*#__PURE__*/_react.default.createElement("i", {
79
- className: "dtable-font dtable-icon-fork-number",
80
- style: {
81
- fontSize: '12px',
82
- lineHeight: '20px'
83
- }
84
- })));
67
+ style: containerStyle,
68
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
69
+ className: "option-info",
70
+ style: optionStyle,
71
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
72
+ className: "option-name",
73
+ style: optionNameStyle,
74
+ title: option.name,
75
+ children: option.name
76
+ })
77
+ }), isShowRemoveIcon && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
78
+ className: "option-remove",
79
+ style: operationStyle,
80
+ onClick: this.onDeleteOption,
81
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
82
+ className: "dtable-font dtable-icon-fork-number",
83
+ style: {
84
+ fontSize: '12px',
85
+ lineHeight: '20px'
86
+ }
87
+ })
88
+ })]
89
+ });
85
90
  }
86
91
  }
87
92
  LinkEditorOption.defaultProps = {
@@ -9,6 +9,7 @@ var _react = _interopRequireDefault(require("react"));
9
9
  var _lang = require("../../lang");
10
10
  var _MBEditorHeader = _interopRequireDefault(require("../../MBEditorHeader"));
11
11
  require("./index.css");
12
+ var _jsxRuntime = require("react/jsx-runtime");
12
13
  class MBLinkEditorPopover extends _react.default.Component {
13
14
  constructor(props) {
14
15
  super(props);
@@ -68,18 +69,20 @@ class MBLinkEditorPopover extends _react.default.Component {
68
69
  } = this.props;
69
70
  return options.map((option, index) => {
70
71
  let isSelect = value.some(item => item === option.id);
71
- return /*#__PURE__*/_react.default.createElement("div", {
72
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
72
73
  className: "mb-link-option-item",
73
- key: index,
74
- onMouseDown: this.onSelectOption.bind(this, option)
75
- }, /*#__PURE__*/_react.default.createElement("span", {
76
- className: "mb-option-info"
77
- }, /*#__PURE__*/_react.default.createElement("span", {
78
- className: "option-name",
79
- title: option.name
80
- }, option.name)), isSelect && /*#__PURE__*/_react.default.createElement("i", {
81
- className: "mb-option-checked dtable-font dtable-icon-check-mark"
82
- }));
74
+ onMouseDown: this.onSelectOption.bind(this, option),
75
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
76
+ className: "mb-option-info",
77
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
78
+ className: "option-name",
79
+ title: option.name,
80
+ children: option.name
81
+ })
82
+ }), isSelect && /*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
83
+ className: "mb-option-checked dtable-font dtable-icon-check-mark"
84
+ })]
85
+ }, index);
83
86
  });
84
87
  };
85
88
  this.setEditorPopover = editorPopover => {
@@ -104,38 +107,47 @@ class MBLinkEditorPopover extends _react.default.Component {
104
107
  searchVal
105
108
  } = this.state;
106
109
  let filterOptions = this.getFilterOptions();
107
- return /*#__PURE__*/_react.default.createElement("div", {
110
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
108
111
  ref: this.setEditorPopover,
109
112
  className: "dtable-ui-mb-editor-popover mb-link-editor-popover",
110
- onClick: this.onContainerClick
111
- }, /*#__PURE__*/_react.default.createElement(_MBEditorHeader.default, {
112
- title: column.name,
113
- leftContent: /*#__PURE__*/_react.default.createElement("i", {
114
- className: "dtable-font dtable-icon-return"
115
- }),
116
- rightContent: /*#__PURE__*/_react.default.createElement("span", null, (0, _lang.getLocale)('Done')),
117
- onLeftClick: this.props.onClosePopover,
118
- onRightClick: this.props.onClosePopover
119
- }), /*#__PURE__*/_react.default.createElement("div", {
120
- className: "dtable-ui-mb-editor-body dtable-ui-mb-link-editor-body"
121
- }, /*#__PURE__*/_react.default.createElement("div", {
122
- className: "mb-search-link-items"
123
- }, /*#__PURE__*/_react.default.createElement("input", {
124
- className: "form-control",
125
- type: "text",
126
- placeholder: (0, _lang.getLocale)('Search_option'),
127
- value: searchVal,
128
- onChange: this.onChangeSearch,
129
- onClick: this.onInputClick
130
- })), /*#__PURE__*/_react.default.createElement("div", {
131
- className: "mb-link-container"
132
- }, /*#__PURE__*/_react.default.createElement("div", {
133
- className: "title"
134
- }, (0, _lang.getLocale)('Choose_an_option')), /*#__PURE__*/_react.default.createElement("div", {
135
- className: "content"
136
- }, filterOptions.length === 0 && /*#__PURE__*/_react.default.createElement("div", {
137
- className: "search-result-none"
138
- }, (0, _lang.getLocale)('No_options_available')), filterOptions.length > 0 && this.renderFilteredOptions(filterOptions)))));
113
+ onClick: this.onContainerClick,
114
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_MBEditorHeader.default, {
115
+ title: column.name,
116
+ leftContent: /*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
117
+ className: "dtable-font dtable-icon-return"
118
+ }),
119
+ rightContent: /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
120
+ children: (0, _lang.getLocale)('Done')
121
+ }),
122
+ onLeftClick: this.props.onClosePopover,
123
+ onRightClick: this.props.onClosePopover
124
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
125
+ className: "dtable-ui-mb-editor-body dtable-ui-mb-link-editor-body",
126
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
127
+ className: "mb-search-link-items",
128
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("input", {
129
+ className: "form-control",
130
+ type: "text",
131
+ placeholder: (0, _lang.getLocale)('Search_option'),
132
+ value: searchVal,
133
+ onChange: this.onChangeSearch,
134
+ onClick: this.onInputClick
135
+ })
136
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
137
+ className: "mb-link-container",
138
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
139
+ className: "title",
140
+ children: (0, _lang.getLocale)('Choose_an_option')
141
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
142
+ className: "content",
143
+ children: [filterOptions.length === 0 && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
144
+ className: "search-result-none",
145
+ children: (0, _lang.getLocale)('No_options_available')
146
+ }), filterOptions.length > 0 && this.renderFilteredOptions(filterOptions)]
147
+ })]
148
+ })]
149
+ })]
150
+ });
139
151
  }
140
152
  }
141
153
  MBLinkEditorPopover.defaultProps = {