dtable-ui-component 6.0.49 → 6.0.51-alpha.1

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 +27 -18
  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
@@ -9,6 +9,7 @@ var _react = _interopRequireDefault(require("react"));
9
9
  var _reactstrap = require("reactstrap");
10
10
  var _IconButton = _interopRequireDefault(require("../IconButton"));
11
11
  require("./index.css");
12
+ var _jsxRuntime = require("react/jsx-runtime");
12
13
  class NotificationPopover extends _react.default.Component {
13
14
  constructor() {
14
15
  super(...arguments);
@@ -47,43 +48,53 @@ class NotificationPopover extends _react.default.Component {
47
48
  bodyText,
48
49
  footerText
49
50
  } = this.props;
50
- return /*#__PURE__*/_react.default.createElement(_reactstrap.Popover, {
51
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactstrap.Popover, {
51
52
  className: "notification-wrapper",
52
53
  target: "notification-popover",
53
54
  isOpen: true,
54
55
  fade: false,
55
56
  hideArrow: true,
56
- placement: "bottom"
57
- }, /*#__PURE__*/_react.default.createElement("div", {
58
- className: "notification-container",
59
- ref: ref => this.notificationContainerRef = ref
60
- }, /*#__PURE__*/_react.default.createElement("div", {
61
- className: "notification-header"
62
- }, headerText, /*#__PURE__*/_react.default.createElement(_IconButton.default, {
63
- icon: "x",
64
- onClick: this.props.onNotificationListToggle
65
- })), /*#__PURE__*/_react.default.createElement("div", {
66
- className: "notification-body"
67
- }, this.props.enableWeixin && /*#__PURE__*/_react.default.createElement("div", {
68
- className: "show-weixin-qrcode",
69
- onClick: this.onWeixinQRCodeDialogToggle
70
- }, /*#__PURE__*/_react.default.createElement("i", {
71
- className: "dtable-font dtable-icon-wechat weixin-icon"
72
- }), /*#__PURE__*/_react.default.createElement("span", {
73
- className: "ml-2"
74
- }, "\u5173\u6CE8\u516C\u4F17\u53F7\u83B7\u53D6\u5B9E\u65F6\u901A\u77E5")), /*#__PURE__*/_react.default.createElement("div", {
75
- className: "mark-notifications",
76
- onClick: this.props.onMarkAllNotifications
77
- }, bodyText), /*#__PURE__*/_react.default.createElement("div", {
78
- className: "notification-list-container",
79
- onScroll: this.onHandleScroll,
80
- ref: ref => this.notificationListRef = ref
81
- }, /*#__PURE__*/_react.default.createElement("div", {
82
- ref: ref => this.notificationsWrapperRef = ref
83
- }, this.props.children)), /*#__PURE__*/_react.default.createElement("div", {
84
- className: "notification-footer",
85
- onClick: this.onNotificationDialogToggle
86
- }, footerText))));
57
+ placement: "bottom",
58
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
59
+ className: "notification-container",
60
+ ref: ref => this.notificationContainerRef = ref,
61
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
62
+ className: "notification-header",
63
+ children: [headerText, /*#__PURE__*/(0, _jsxRuntime.jsx)(_IconButton.default, {
64
+ icon: "x",
65
+ onClick: this.props.onNotificationListToggle
66
+ })]
67
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
68
+ className: "notification-body",
69
+ children: [this.props.enableWeixin && /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
70
+ className: "show-weixin-qrcode",
71
+ onClick: this.onWeixinQRCodeDialogToggle,
72
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
73
+ className: "dtable-font dtable-icon-wechat weixin-icon"
74
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
75
+ className: "ml-2",
76
+ children: "\u5173\u6CE8\u516C\u4F17\u53F7\u83B7\u53D6\u5B9E\u65F6\u901A\u77E5"
77
+ })]
78
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
79
+ className: "mark-notifications",
80
+ onClick: this.props.onMarkAllNotifications,
81
+ children: bodyText
82
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
83
+ className: "notification-list-container",
84
+ onScroll: this.onHandleScroll,
85
+ ref: ref => this.notificationListRef = ref,
86
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
87
+ ref: ref => this.notificationsWrapperRef = ref,
88
+ children: this.props.children
89
+ })
90
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
91
+ className: "notification-footer",
92
+ onClick: this.onNotificationDialogToggle,
93
+ children: footerText
94
+ })]
95
+ })]
96
+ })
97
+ });
87
98
  }
88
99
  }
89
100
  exports.default = NotificationPopover;
@@ -9,6 +9,7 @@ var _react = _interopRequireDefault(require("react"));
9
9
  var _dtableUtils = require("dtable-utils");
10
10
  var _constants = require("../constants");
11
11
  var _utils = require("../utils/utils");
12
+ var _jsxRuntime = require("react/jsx-runtime");
12
13
  class NumberEditor extends _react.default.Component {
13
14
  constructor(props) {
14
15
  super(props);
@@ -104,7 +105,7 @@ class NumberEditor extends _react.default.Component {
104
105
  } : {
105
106
  textAlign: 'right'
106
107
  };
107
- return /*#__PURE__*/_react.default.createElement("input", {
108
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("input", {
108
109
  ref: this.setInputRef,
109
110
  type: "text",
110
111
  className: "form-control",
@@ -9,6 +9,7 @@ var _react = _interopRequireDefault(require("react"));
9
9
  var _classnames = _interopRequireDefault(require("classnames"));
10
10
  var _dtableUtils = require("dtable-utils");
11
11
  require("./index.css");
12
+ var _jsxRuntime = require("react/jsx-runtime");
12
13
  class NumberFormatter extends _react.default.Component {
13
14
  render() {
14
15
  let {
@@ -20,10 +21,11 @@ class NumberFormatter extends _react.default.Component {
20
21
  if (number || number === 0) {
21
22
  number = (0, _dtableUtils.getNumberDisplayString)(number, data);
22
23
  }
23
- return /*#__PURE__*/_react.default.createElement("div", {
24
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
24
25
  title: number,
25
- className: classname
26
- }, number);
26
+ className: classname,
27
+ children: number
28
+ });
27
29
  }
28
30
  }
29
31
  NumberFormatter.defaultProps = {
@@ -14,6 +14,7 @@ var _Popup = _interopRequireDefault(require("rmc-cascader/lib/Popup"));
14
14
  var _MultiPicker = _interopRequireDefault(require("rmc-picker/lib/MultiPicker"));
15
15
  var _Picker = _interopRequireDefault(require("rmc-picker/lib/Picker"));
16
16
  var _getLocale = require("../utils/getLocale");
17
+ var _jsxRuntime = require("react/jsx-runtime");
17
18
  /* tslint:disable:jsx-no-multiline-js */
18
19
 
19
20
  function getDefaultProps() {
@@ -65,20 +66,20 @@ class AbstractPicker extends React.Component {
65
66
  indicatorStyle
66
67
  } = this.props;
67
68
  return data.map((col, index) => {
68
- return /*#__PURE__*/React.createElement(_Picker.default, {
69
- key: index,
69
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Picker.default, {
70
70
  prefixCls: pickerPrefixCls,
71
71
  style: {
72
72
  flex: 1
73
73
  },
74
74
  itemStyle: itemStyle,
75
- indicatorStyle: indicatorStyle
76
- }, col.map(item => {
77
- return /*#__PURE__*/React.createElement(_Picker.default.Item, {
78
- key: item.value,
79
- value: item.value
80
- }, item.label);
81
- }));
75
+ indicatorStyle: indicatorStyle,
76
+ children: col.map(item => {
77
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Picker.default.Item, {
78
+ value: item.value,
79
+ children: item.label
80
+ }, item.value);
81
+ })
82
+ }, index);
82
83
  });
83
84
  };
84
85
  this.onOk = v => {
@@ -148,7 +149,7 @@ class AbstractPicker extends React.Component {
148
149
  let cascader;
149
150
  let popupMoreProps = {};
150
151
  if (cascade) {
151
- cascader = /*#__PURE__*/React.createElement(_Cascader.default, {
152
+ cascader = /*#__PURE__*/(0, _jsxRuntime.jsx)(_Cascader.default, {
152
153
  prefixCls: prefixCls,
153
154
  pickerPrefixCls: pickerPrefixCls,
154
155
  data: data,
@@ -159,32 +160,35 @@ class AbstractPicker extends React.Component {
159
160
  indicatorStyle: indicatorStyle
160
161
  });
161
162
  } else {
162
- cascader = /*#__PURE__*/React.createElement(_MultiPicker.default, {
163
+ cascader = /*#__PURE__*/(0, _jsxRuntime.jsx)(_MultiPicker.default, {
163
164
  style: {
164
165
  flexDirection: 'row',
165
166
  alignItems: 'center'
166
167
  },
167
168
  prefixCls: prefixCls,
168
- onScrollChange: this.setScrollValue
169
- }, this.getPickerCol());
169
+ onScrollChange: this.setScrollValue,
170
+ children: this.getPickerCol()
171
+ });
170
172
  popupMoreProps = {
171
173
  pickerValueProp: 'selectedValue',
172
174
  pickerValueChangeProp: 'onValueChange'
173
175
  };
174
176
  }
175
- return /*#__PURE__*/React.createElement(_Popup.default, Object.assign({
176
- cascader: cascader
177
- }, this.popupProps, restProps, {
177
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Popup.default, {
178
+ cascader: cascader,
179
+ ...this.popupProps,
180
+ ...restProps,
178
181
  prefixCls: popupPrefixCls,
179
182
  value: value,
180
183
  dismissText: dismissText || _locale.dismissText,
181
- okText: okText || _locale.okText
182
- }, popupMoreProps, {
184
+ okText: okText || _locale.okText,
185
+ ...popupMoreProps,
183
186
  ref: this.fixOnOk,
184
- onVisibleChange: this.onVisibleChange
185
- }), children && typeof children !== 'string' && /*#__PURE__*/React.isValidElement(children) && /*#__PURE__*/React.cloneElement(children, {
186
- extra: this.getSel() || extra || _locale.extra
187
- }));
187
+ onVisibleChange: this.onVisibleChange,
188
+ children: children && typeof children !== 'string' && /*#__PURE__*/React.isValidElement(children) && /*#__PURE__*/React.cloneElement(children, {
189
+ extra: this.getSel() || extra || _locale.extra
190
+ })
191
+ });
188
192
  }
189
193
  }
190
194
  exports.default = AbstractPicker;
@@ -11,10 +11,11 @@ var _AbstractPicker = _interopRequireWildcard(require("./AbstractPicker"));
11
11
  var PropTypes = _interopRequireWildcard(require("prop-types"));
12
12
  var _popupProps = _interopRequireDefault(require("./popupProps"));
13
13
  require("./style/index.css");
14
+ var _jsxRuntime = require("react/jsx-runtime");
14
15
  // TODO:
15
16
  // fix error TS4026:Public static property 'defaultProps' of exported class has or is using name 'React.ReactElement'
16
17
  // fix error TS6133: 'React' is declared but its value is never read.
17
- const nonsense = exports.nonsense = /*#__PURE__*/React.createElement("div", null);
18
+ const nonsense = exports.nonsense = /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {});
18
19
  class Picker extends _AbstractPicker.default {
19
20
  constructor() {
20
21
  super(...arguments);
@@ -10,6 +10,7 @@ var React = _interopRequireWildcard(require("react"));
10
10
  var _rmcTooltip = _interopRequireDefault(require("rmc-tooltip"));
11
11
  var _item = _interopRequireDefault(require("./item"));
12
12
  require("./style/index.css");
13
+ var _jsxRuntime = require("react/jsx-runtime");
13
14
  function recursiveCloneChildren(children) {
14
15
  let cb = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : (ch, _) => ch;
15
16
  return React.Children.map(children, (child, index) => {
@@ -40,12 +41,14 @@ class Popover extends React.Component {
40
41
  }
41
42
  return child;
42
43
  });
43
- const wrapperNode = /*#__PURE__*/React.createElement("div", {
44
- className: "".concat(this.props.prefixCls, "-inner-wrapper")
45
- }, overlayNode);
46
- return /*#__PURE__*/React.createElement(_rmcTooltip.default, Object.assign({}, restProps, {
44
+ const wrapperNode = /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
45
+ className: "".concat(this.props.prefixCls, "-inner-wrapper"),
46
+ children: overlayNode
47
+ });
48
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_rmcTooltip.default, {
49
+ ...restProps,
47
50
  overlay: wrapperNode
48
- }));
51
+ });
49
52
  }
50
53
  }
51
54
  exports.default = Popover;
@@ -9,6 +9,7 @@ exports.default = void 0;
9
9
  var _classnames = _interopRequireDefault(require("classnames"));
10
10
  var React = _interopRequireWildcard(require("react"));
11
11
  var _rmcFeedback = _interopRequireDefault(require("rmc-feedback"));
12
+ var _jsxRuntime = require("react/jsx-runtime");
12
13
  class Item extends React.Component {
13
14
  render() {
14
15
  const {
@@ -28,23 +29,29 @@ class Item extends React.Component {
28
29
  if (firstItem) {
29
30
  activeClass += "".concat(prefixCls, "-item-fix-active-arrow");
30
31
  }
31
- return /*#__PURE__*/React.createElement(_rmcFeedback.default, {
32
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_rmcFeedback.default, {
32
33
  disabled: disabled,
33
34
  activeClassName: activeClass,
34
- activeStyle: activeStyle
35
- }, /*#__PURE__*/React.createElement("div", Object.assign({
36
- className: cls
37
- }, restProps), /*#__PURE__*/React.createElement("div", {
38
- className: "".concat(prefixCls, "-item-container")
39
- }, icon ?
40
- /*#__PURE__*/
41
- // tslint:disable-next-line:jsx-no-multiline-js
42
- React.createElement("span", {
43
- className: "".concat(prefixCls, "-item-icon"),
44
- "aria-hidden": "true"
45
- }, icon) : null, /*#__PURE__*/React.createElement("span", {
46
- className: "".concat(prefixCls, "-item-content")
47
- }, children))));
35
+ activeStyle: activeStyle,
36
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
37
+ className: cls,
38
+ ...restProps,
39
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
40
+ className: "".concat(prefixCls, "-item-container"),
41
+ children: [icon ?
42
+ /*#__PURE__*/
43
+ // tslint:disable-next-line:jsx-no-multiline-js
44
+ (0, _jsxRuntime.jsx)("span", {
45
+ className: "".concat(prefixCls, "-item-icon"),
46
+ "aria-hidden": "true",
47
+ children: icon
48
+ }) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
49
+ className: "".concat(prefixCls, "-item-content"),
50
+ children: children
51
+ })]
52
+ })
53
+ })
54
+ });
48
55
  }
49
56
  }
50
57
  exports.default = Item;
@@ -9,6 +9,7 @@ exports.default = void 0;
9
9
  var _classnames = _interopRequireDefault(require("classnames"));
10
10
  var React = _interopRequireWildcard(require("react"));
11
11
  require("./index.css");
12
+ var _jsxRuntime = require("react/jsx-runtime");
12
13
  class Progress extends React.Component {
13
14
  componentWillReceiveProps() {
14
15
  this.noAppearTransition = true;
@@ -39,21 +40,22 @@ class Progress extends React.Component {
39
40
  ["".concat(prefixCls, "-fixed-outer")]: position === 'fixed',
40
41
  ["".concat(prefixCls, "-hide-outer")]: !unfilled
41
42
  });
42
- return /*#__PURE__*/React.createElement("div", {
43
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
43
44
  style: style,
44
45
  className: wrapCls,
45
46
  role: "progressbar",
46
47
  "aria-valuenow": this.props.percent,
47
48
  "aria-valuemin": 0,
48
- "aria-valuemax": 100
49
- }, /*#__PURE__*/React.createElement("div", {
50
- ref: el => this.barRef = el,
51
- className: "".concat(prefixCls, "-bar"),
52
- style: {
53
- ...barStyle,
54
- ...percentStyle
55
- }
56
- }));
49
+ "aria-valuemax": 100,
50
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
51
+ ref: el => this.barRef = el,
52
+ className: "".concat(prefixCls, "-bar"),
53
+ style: {
54
+ ...barStyle,
55
+ ...percentStyle
56
+ }
57
+ })
58
+ });
57
59
  }
58
60
  }
59
61
  exports.default = Progress;
@@ -9,6 +9,7 @@ exports.default = void 0;
9
9
  var _classnames = _interopRequireDefault(require("classnames"));
10
10
  var _rcCheckbox = _interopRequireDefault(require("rc-checkbox"));
11
11
  var React = _interopRequireWildcard(require("react"));
12
+ var _jsxRuntime = require("react/jsx-runtime");
12
13
  class Radio extends React.Component {
13
14
  render() {
14
15
  const {
@@ -26,18 +27,21 @@ class Radio extends React.Component {
26
27
  /* tslint:disable:no-string-literal */
27
28
  delete restProps['class'];
28
29
  }
29
- const mark = /*#__PURE__*/React.createElement("label", {
30
+ const mark = /*#__PURE__*/(0, _jsxRuntime.jsxs)("label", {
30
31
  className: wrapCls,
31
- style: style
32
- }, /*#__PURE__*/React.createElement(_rcCheckbox.default, Object.assign({}, restProps, {
33
- type: "radio"
34
- })), children);
32
+ style: style,
33
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_rcCheckbox.default, {
34
+ ...restProps,
35
+ type: "radio"
36
+ }), children]
37
+ });
35
38
  if (this.props.wrapLabel) {
36
39
  return mark;
37
40
  }
38
- return /*#__PURE__*/React.createElement(_rcCheckbox.default, Object.assign({}, this.props, {
41
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_rcCheckbox.default, {
42
+ ...this.props,
39
43
  type: "radio"
40
- }));
44
+ });
41
45
  }
42
46
  }
43
47
  exports.default = Radio;
@@ -10,6 +10,7 @@ var _classnames = _interopRequireDefault(require("classnames"));
10
10
  var React = _interopRequireWildcard(require("react"));
11
11
  var _List = _interopRequireDefault(require("../List"));
12
12
  var _Radio = _interopRequireDefault(require("./Radio"));
13
+ var _jsxRuntime = require("react/jsx-runtime");
13
14
  const ListItem = _List.default.Item;
14
15
  function noop() {}
15
16
  class RadioItem extends React.Component {
@@ -42,11 +43,16 @@ class RadioItem extends React.Component {
42
43
  extraProps[i] = this.props[i];
43
44
  }
44
45
  });
45
- return /*#__PURE__*/React.createElement(ListItem, Object.assign({}, otherProps, {
46
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(ListItem, {
47
+ ...otherProps,
46
48
  prefixCls: listPrefixCls,
47
49
  className: wrapCls,
48
- extra: /*#__PURE__*/React.createElement(_Radio.default, Object.assign({}, radioProps, extraProps))
49
- }), children);
50
+ extra: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Radio.default, {
51
+ ...radioProps,
52
+ ...extraProps
53
+ }),
54
+ children: children
55
+ });
50
56
  }
51
57
  }
52
58
  exports.default = RadioItem;
@@ -8,6 +8,7 @@ exports.default = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
  var _classnames = _interopRequireDefault(require("classnames"));
10
10
  require("./index.css");
11
+ var _jsxRuntime = require("react/jsx-runtime");
11
12
  class RateFormatter extends _react.default.Component {
12
13
  constructor() {
13
14
  super(...arguments);
@@ -24,13 +25,12 @@ class RateFormatter extends _react.default.Component {
24
25
  const validValue = Math.min(rate_max_number, value);
25
26
  let rateList = [];
26
27
  for (let i = 0; i < validValue; i++) {
27
- rateList.push( /*#__PURE__*/_react.default.createElement("i", {
28
- key: "dtable-ui-component-rate-".concat(i),
28
+ rateList.push( /*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
29
29
  className: "dtable-font ".concat(rate_style_type),
30
30
  style: {
31
31
  color: rate_style_color || '#e5e5e5'
32
32
  }
33
- }));
33
+ }, "dtable-ui-component-rate-".concat(i)));
34
34
  }
35
35
  return rateList;
36
36
  };
@@ -43,10 +43,11 @@ class RateFormatter extends _react.default.Component {
43
43
  const className = (0, _classnames.default)('dtable-ui cell-formatter-container rate-formatter', containerClassName);
44
44
  if (!number) return null;
45
45
  const rateList = this.getRateList();
46
- return /*#__PURE__*/_react.default.createElement("div", {
46
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
47
47
  title: number,
48
- className: className
49
- }, rateList);
48
+ className: className,
49
+ children: rateList
50
+ });
50
51
  }
51
52
  }
52
53
  RateFormatter.defaultProps = {
@@ -10,6 +10,7 @@ var _react = _interopRequireWildcard(require("react"));
10
10
  var _reactstrap = require("reactstrap");
11
11
  var _classnames = _interopRequireDefault(require("classnames"));
12
12
  require("./index.css");
13
+ var _jsxRuntime = require("react/jsx-runtime");
13
14
  const RoleStatusEditor = _ref => {
14
15
  let {
15
16
  isShowDropdownIcon,
@@ -27,38 +28,42 @@ const RoleStatusEditor = _ref => {
27
28
  if (value === currentOption.value) return;
28
29
  onChangeOption(value);
29
30
  };
30
- return /*#__PURE__*/_react.default.createElement(_reactstrap.Dropdown, {
31
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactstrap.Dropdown, {
31
32
  isOpen: isOpen,
32
33
  className: "role-status-editor",
33
- toggle: () => setIsOpen(!isOpen)
34
- }, /*#__PURE__*/_react.default.createElement(_reactstrap.DropdownToggle, {
35
- className: "dropdown-toggle-button d-flex align-items-center",
36
- tag: "div"
37
- }, currentOption.label, /*#__PURE__*/_react.default.createElement("div", {
38
- className: "dropdown-icon-container ml-1"
39
- }, /*#__PURE__*/_react.default.createElement("span", {
40
- className: (0, _classnames.default)('dtable-font dtable-icon-down3', {
41
- 'hide': !isShowDropdownIcon
42
- })
43
- }))), /*#__PURE__*/_react.default.createElement(_reactstrap.DropdownMenu, {
44
- className: "position-fixed",
45
- modifiers: [{
46
- name: 'preventOverflow',
47
- options: {
48
- boundary: document.body
49
- }
50
- }]
51
- }, menuOptions.map(option => {
52
- const {
53
- value,
54
- label
55
- } = option;
56
- return /*#__PURE__*/_react.default.createElement(_reactstrap.DropdownItem, {
57
- key: "item-".concat(value),
58
- onClick: () => handleClickMenuOption(option)
59
- }, label, value === currentOption.value && /*#__PURE__*/_react.default.createElement("i", {
60
- className: "dtable-font dtable-icon-check-mark ml-2"
61
- }));
62
- })));
34
+ toggle: () => setIsOpen(!isOpen),
35
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactstrap.DropdownToggle, {
36
+ className: "dropdown-toggle-button d-flex align-items-center",
37
+ tag: "div",
38
+ children: [currentOption.label, /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
39
+ className: "dropdown-icon-container ml-1",
40
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
41
+ className: (0, _classnames.default)('dtable-font dtable-icon-down3', {
42
+ 'hide': !isShowDropdownIcon
43
+ })
44
+ })
45
+ })]
46
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactstrap.DropdownMenu, {
47
+ className: "position-fixed",
48
+ modifiers: [{
49
+ name: 'preventOverflow',
50
+ options: {
51
+ boundary: document.body
52
+ }
53
+ }],
54
+ children: menuOptions.map(option => {
55
+ const {
56
+ value,
57
+ label
58
+ } = option;
59
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactstrap.DropdownItem, {
60
+ onClick: () => handleClickMenuOption(option),
61
+ children: [label, value === currentOption.value && /*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
62
+ className: "dtable-font dtable-icon-check-mark ml-2"
63
+ })]
64
+ }, "item-".concat(value));
65
+ })
66
+ })]
67
+ });
63
68
  };
64
69
  var _default = exports.default = RoleStatusEditor;
@@ -10,15 +10,22 @@ var _react = _interopRequireWildcard(require("react"));
10
10
  var _reactResponsive = _interopRequireDefault(require("react-responsive"));
11
11
  var _RowExpandDialog = _interopRequireDefault(require("../RowExpandDialog"));
12
12
  var _RowExpandView = _interopRequireDefault(require("../RowExpandView"));
13
+ var _jsxRuntime = require("react/jsx-runtime");
13
14
  const RowExpand = /*#__PURE__*/(0, _react.forwardRef)((props, ref) => {
14
- return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_reactResponsive.default, {
15
- query: '(min-width: 768px)'
16
- }, /*#__PURE__*/_react.default.createElement(_RowExpandDialog.default, Object.assign({}, props, {
17
- ref: ref
18
- }))), /*#__PURE__*/_react.default.createElement(_reactResponsive.default, {
19
- query: '(max-width: 768px)'
20
- }, /*#__PURE__*/_react.default.createElement(_RowExpandView.default, Object.assign({}, props, {
21
- ref: ref
22
- }))));
15
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
16
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactResponsive.default, {
17
+ query: '(min-width: 768px)',
18
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_RowExpandDialog.default, {
19
+ ...props,
20
+ ref: ref
21
+ })
22
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactResponsive.default, {
23
+ query: '(max-width: 768px)',
24
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_RowExpandView.default, {
25
+ ...props,
26
+ ref: ref
27
+ })
28
+ })]
29
+ });
23
30
  });
24
31
  var _default = exports.default = RowExpand;