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
@@ -13,6 +13,7 @@ var _SingleSelectEditor = _interopRequireDefault(require("../../../SingleSelectE
13
13
  var _lang = require("../../../lang");
14
14
  var _objectUtils = _interopRequireDefault(require("../../../utils/object-utils"));
15
15
  require("./index.css");
16
+ var _jsxRuntime = require("react/jsx-runtime");
16
17
  class RowExpandPCSingleSelectEditor extends _react.default.Component {
17
18
  constructor(_props) {
18
19
  super(_props);
@@ -106,7 +107,7 @@ class RowExpandPCSingleSelectEditor extends _react.default.Component {
106
107
  backgroundColor: _constants.DELETED_OPTION_BACKGROUND_COLOR
107
108
  };
108
109
  const optionName = option ? option.name : (0, _lang.getLocale)(_constants.DELETED_OPTION_TIPS);
109
- return /*#__PURE__*/_react.default.createElement("div", {
110
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
110
111
  tabIndex: 0,
111
112
  onFocus: this.onFocus,
112
113
  onClick: this.onToggleSelect,
@@ -114,23 +115,29 @@ class RowExpandPCSingleSelectEditor extends _react.default.Component {
114
115
  className: (0, _classnames.default)('dtable-ui dtable-ui-row-expand-select-editor custom-select', {
115
116
  'focus': isEditorFocus,
116
117
  ["".concat(classNamePrefix, "-select-editor")]: classNamePrefix
118
+ }),
119
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
120
+ className: (0, _classnames.default)('dtable-ui-row-expand-select-editor-inner', {
121
+ ["".concat(classNamePrefix, "-select-editor-inner")]: classNamePrefix
122
+ }),
123
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
124
+ className: (0, _classnames.default)('', {
125
+ ["".concat(classNamePrefix, "-select-editor-inner-container")]: classNamePrefix
126
+ }),
127
+ children: [value && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
128
+ className: "dtable-ui-select-option",
129
+ style: optionStyle,
130
+ title: optionName,
131
+ children: optionName
132
+ }), !value && placeholder && /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
133
+ children: placeholder
134
+ })]
135
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
136
+ "aria-hidden": "true",
137
+ className: "dtable-font dtable-icon-down3"
138
+ })]
117
139
  })
118
- }, /*#__PURE__*/_react.default.createElement("div", {
119
- className: (0, _classnames.default)('dtable-ui-row-expand-select-editor-inner', {
120
- ["".concat(classNamePrefix, "-select-editor-inner")]: classNamePrefix
121
- })
122
- }, /*#__PURE__*/_react.default.createElement("div", {
123
- className: (0, _classnames.default)('', {
124
- ["".concat(classNamePrefix, "-select-editor-inner-container")]: classNamePrefix
125
- })
126
- }, value && /*#__PURE__*/_react.default.createElement("div", {
127
- className: "dtable-ui-select-option",
128
- style: optionStyle,
129
- title: optionName
130
- }, optionName), !value && placeholder && /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, placeholder)), /*#__PURE__*/_react.default.createElement("i", {
131
- "aria-hidden": "true",
132
- className: "dtable-font dtable-icon-down3"
133
- })));
140
+ });
134
141
  };
135
142
  this.state = {
136
143
  value: _props.value,
@@ -183,24 +190,25 @@ class RowExpandPCSingleSelectEditor extends _react.default.Component {
183
190
  isShowEditor,
184
191
  value
185
192
  } = this.state;
186
- return /*#__PURE__*/_react.default.createElement("div", {
193
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
187
194
  className: "position-relative w-100",
188
- ref: ref => this.ref = ref
189
- }, this.renderOption(), /*#__PURE__*/_react.default.createElement("span", {
190
- ref: ref => this.targetRef = ref
191
- }), isShowEditor && /*#__PURE__*/_react.default.createElement(_SingleSelectEditor.default, {
192
- isInModal: true,
193
- options: this.options,
194
- column: column,
195
- value: value,
196
- valueKey: this.key,
197
- target: this.targetRef,
198
- classNamePrefix: classNamePrefix,
199
- onCommit: this.onChange,
200
- isSupportNewOption: isSupportNewOption,
201
- onAddNewOption: onAddNewOption,
202
- onClose: this.closeEditor
203
- }));
195
+ ref: ref => this.ref = ref,
196
+ children: [this.renderOption(), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
197
+ ref: ref => this.targetRef = ref
198
+ }), isShowEditor && /*#__PURE__*/(0, _jsxRuntime.jsx)(_SingleSelectEditor.default, {
199
+ isInModal: true,
200
+ options: this.options,
201
+ column: column,
202
+ value: value,
203
+ valueKey: this.key,
204
+ target: this.targetRef,
205
+ classNamePrefix: classNamePrefix,
206
+ onCommit: this.onChange,
207
+ isSupportNewOption: isSupportNewOption,
208
+ onAddNewOption: onAddNewOption,
209
+ onClose: this.closeEditor
210
+ })]
211
+ });
204
212
  }
205
213
  }
206
214
  var _default = exports.default = RowExpandPCSingleSelectEditor;
@@ -10,15 +10,22 @@ var _react = _interopRequireWildcard(require("react"));
10
10
  var _reactResponsive = _interopRequireDefault(require("react-responsive"));
11
11
  var _pcEditor = _interopRequireDefault(require("./pc-editor"));
12
12
  var _mbEditor = _interopRequireDefault(require("./mb-editor"));
13
+ var _jsxRuntime = require("react/jsx-runtime");
13
14
  const RowExpandTextEditor = /*#__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(_pcEditor.default, Object.assign({}, props, {
17
- ref: ref
18
- }))), /*#__PURE__*/_react.default.createElement(_reactResponsive.default, {
19
- query: "(max-width: 768px)"
20
- }, /*#__PURE__*/_react.default.createElement(_mbEditor.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)(_pcEditor.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)(_mbEditor.default, {
25
+ ...props,
26
+ ref: ref
27
+ })
28
+ })]
29
+ });
23
30
  });
24
31
  var _default = exports.default = RowExpandTextEditor;
@@ -8,6 +8,7 @@ exports.default = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
  var _TextEditor = _interopRequireDefault(require("../../../TextEditor"));
10
10
  require("./index.css");
11
+ var _jsxRuntime = require("react/jsx-runtime");
11
12
  class RowExpandMBTextEditor extends _react.default.Component {
12
13
  constructor(props) {
13
14
  super(props);
@@ -23,15 +24,16 @@ class RowExpandMBTextEditor extends _react.default.Component {
23
24
  column,
24
25
  value
25
26
  } = this.props;
26
- return /*#__PURE__*/_react.default.createElement("div", {
27
- className: "dtable-ui-mobile-row-expand-input-editor-container"
28
- }, /*#__PURE__*/_react.default.createElement(_TextEditor.default, {
29
- ref: ref => this.editor = ref,
30
- readOnly: readOnly,
31
- column: column,
32
- value: value,
33
- onCommit: this.onCommit
34
- }));
27
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
28
+ className: "dtable-ui-mobile-row-expand-input-editor-container",
29
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_TextEditor.default, {
30
+ ref: ref => this.editor = ref,
31
+ readOnly: readOnly,
32
+ column: column,
33
+ value: value,
34
+ onCommit: this.onCommit
35
+ })
36
+ });
35
37
  }
36
38
  }
37
39
  var _default = exports.default = RowExpandMBTextEditor;
@@ -13,6 +13,7 @@ var _cell = require("../../../utils/cell");
13
13
  var _constants = require("../../../constants");
14
14
  var _lang = require("../../../lang");
15
15
  require("./index.css");
16
+ var _jsxRuntime = require("react/jsx-runtime");
16
17
  class RowExpandPCTextEditor extends _react.default.Component {
17
18
  constructor(props) {
18
19
  super(props);
@@ -118,19 +119,22 @@ class RowExpandPCTextEditor extends _react.default.Component {
118
119
  const {
119
120
  inconformityFormat
120
121
  } = this.state;
121
- return /*#__PURE__*/_react.default.createElement("div", {
122
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
122
123
  className: "dtable-ui-row-expand-simple-text-editor-container",
123
- ref: this.setEditorRef
124
- }, /*#__PURE__*/_react.default.createElement(_TextEditor.default, {
125
- ref: ref => this.editor = ref,
126
- className: inconformityFormat ? 'is-invalid' : '',
127
- readOnly: readOnly,
128
- column: column,
129
- value: value,
130
- onKeyDown: this.onKeyDown,
131
- onInputClick: this.onInputClick,
132
- onCommit: this.onCommit
133
- }), inconformityFormat && /*#__PURE__*/_react.default.createElement(_reactstrap.FormFeedback, null, _lang.getLocale.get('Input_does_not_meet_specifications')));
124
+ ref: this.setEditorRef,
125
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_TextEditor.default, {
126
+ ref: ref => this.editor = ref,
127
+ className: inconformityFormat ? 'is-invalid' : '',
128
+ readOnly: readOnly,
129
+ column: column,
130
+ value: value,
131
+ onKeyDown: this.onKeyDown,
132
+ onInputClick: this.onInputClick,
133
+ onCommit: this.onCommit
134
+ }), inconformityFormat && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactstrap.FormFeedback, {
135
+ children: _lang.getLocale.get('Input_does_not_meet_specifications')
136
+ })]
137
+ });
134
138
  }
135
139
  }
136
140
  var _default = exports.default = RowExpandPCTextEditor;
@@ -10,15 +10,22 @@ var _react = _interopRequireWildcard(require("react"));
10
10
  var _reactResponsive = _interopRequireDefault(require("react-responsive"));
11
11
  var _pcEditor = _interopRequireDefault(require("./pc-editor"));
12
12
  var _mbEditor = _interopRequireDefault(require("./mb-editor"));
13
+ var _jsxRuntime = require("react/jsx-runtime");
13
14
  const RowExpandUrlEditor = /*#__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(_pcEditor.default, Object.assign({}, props, {
17
- ref: ref
18
- }))), /*#__PURE__*/_react.default.createElement(_reactResponsive.default, {
19
- query: "(max-width: 768px)"
20
- }, /*#__PURE__*/_react.default.createElement(_mbEditor.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)(_pcEditor.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)(_mbEditor.default, {
25
+ ...props,
26
+ ref: ref
27
+ })
28
+ })]
29
+ });
23
30
  });
24
31
  var _default = exports.default = RowExpandUrlEditor;
@@ -10,6 +10,7 @@ var _toaster = _interopRequireDefault(require("../../../toaster"));
10
10
  var _utils = require("../../../utils/utils");
11
11
  var _lang = require("../../../lang");
12
12
  require("./index.css");
13
+ var _jsxRuntime = require("react/jsx-runtime");
13
14
  class RowExpandMBUrlEditor extends _react.default.Component {
14
15
  constructor(props) {
15
16
  super(props);
@@ -65,23 +66,24 @@ class RowExpandMBUrlEditor extends _react.default.Component {
65
66
  const {
66
67
  value
67
68
  } = this.state;
68
- return /*#__PURE__*/_react.default.createElement("div", {
69
- className: "dtable-ui-mobile-row-expand-input-editor-container position-relative dtable-ui-mobile-row-expand-url-editor-container"
70
- }, /*#__PURE__*/_react.default.createElement("input", {
71
- type: "text",
72
- onFocus: this.onFocus,
73
- onBlur: this.onBlur,
74
- onCut: this.onCut,
75
- onPaste: this.onPaste,
76
- onChange: this.onChange,
77
- className: "form-control dtable-ui-mobile-row-expand-url-input",
78
- value: value || '',
79
- onKeyDown: this.onKeyDown
80
- }), value && value.trim() && /*#__PURE__*/_react.default.createElement("span", {
81
- "aria-hidden": "true",
82
- className: "dtable-font dtable-icon-url dtable-ui-mobile-row-expand-jump-link",
83
- onClick: this.onOpenUrlLink
84
- }));
69
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
70
+ className: "dtable-ui-mobile-row-expand-input-editor-container position-relative dtable-ui-mobile-row-expand-url-editor-container",
71
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("input", {
72
+ type: "text",
73
+ onFocus: this.onFocus,
74
+ onBlur: this.onBlur,
75
+ onCut: this.onCut,
76
+ onPaste: this.onPaste,
77
+ onChange: this.onChange,
78
+ className: "form-control dtable-ui-mobile-row-expand-url-input",
79
+ value: value || '',
80
+ onKeyDown: this.onKeyDown
81
+ }), value && value.trim() && /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
82
+ "aria-hidden": "true",
83
+ className: "dtable-font dtable-icon-url dtable-ui-mobile-row-expand-jump-link",
84
+ onClick: this.onOpenUrlLink
85
+ })]
86
+ });
85
87
  }
86
88
  }
87
89
  var _default = exports.default = RowExpandMBUrlEditor;
@@ -11,6 +11,7 @@ var _utils = require("../../../utils/utils");
11
11
  var _constants = require("../../../constants");
12
12
  var _lang = require("../../../lang");
13
13
  require("./index.css");
14
+ var _jsxRuntime = require("react/jsx-runtime");
14
15
  class RowExpandPCUrlEditor extends _react.default.Component {
15
16
  constructor(props) {
16
17
  super(props);
@@ -107,24 +108,25 @@ class RowExpandPCUrlEditor extends _react.default.Component {
107
108
  let {
108
109
  value
109
110
  } = this.state;
110
- return /*#__PURE__*/_react.default.createElement("div", {
111
- className: "dtable-ui-row-expand-url-editor"
112
- }, /*#__PURE__*/_react.default.createElement("input", {
113
- ref: ref => this.urlInputRef = ref,
114
- type: "text",
115
- onFocus: this.onFocus,
116
- onBlur: this.onBlur,
117
- onCut: this.onCut,
118
- onPaste: this.onPaste,
119
- onChange: this.onChange,
120
- className: "form-control dtable-ui-row-expand-url-input",
121
- value: value || '',
122
- onKeyDown: this.onKeyDown
123
- }), value && value.trim() && /*#__PURE__*/_react.default.createElement("span", {
124
- "aria-hidden": "true",
125
- className: "dtable-font dtable-icon-url dtable-ui-row-expand-jump-link",
126
- onClick: this.onOpenUrlLink
127
- }));
111
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
112
+ className: "dtable-ui-row-expand-url-editor",
113
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("input", {
114
+ ref: ref => this.urlInputRef = ref,
115
+ type: "text",
116
+ onFocus: this.onFocus,
117
+ onBlur: this.onBlur,
118
+ onCut: this.onCut,
119
+ onPaste: this.onPaste,
120
+ onChange: this.onChange,
121
+ className: "form-control dtable-ui-row-expand-url-input",
122
+ value: value || '',
123
+ onKeyDown: this.onKeyDown
124
+ }), value && value.trim() && /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
125
+ "aria-hidden": "true",
126
+ className: "dtable-font dtable-icon-url dtable-ui-row-expand-jump-link",
127
+ onClick: this.onOpenUrlLink
128
+ })]
129
+ });
128
130
  }
129
131
  }
130
132
  var _default = exports.default = RowExpandPCUrlEditor;
@@ -9,11 +9,20 @@ var _react = _interopRequireDefault(require("react"));
9
9
  var _reactResponsive = _interopRequireDefault(require("react-responsive"));
10
10
  var _pcFormatter = _interopRequireDefault(require("./pc-formatter"));
11
11
  var _mbFormatter = _interopRequireDefault(require("./mb-formatter"));
12
+ var _jsxRuntime = require("react/jsx-runtime");
12
13
  const RowExpandDepartmentFormatter = props => {
13
- return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_reactResponsive.default, {
14
- query: '(min-width: 768px)'
15
- }, /*#__PURE__*/_react.default.createElement(_pcFormatter.default, props)), /*#__PURE__*/_react.default.createElement(_reactResponsive.default, {
16
- query: '(max-width: 768px)'
17
- }, /*#__PURE__*/_react.default.createElement(_mbFormatter.default, props)));
14
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
15
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactResponsive.default, {
16
+ query: '(min-width: 768px)',
17
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_pcFormatter.default, {
18
+ ...props
19
+ })
20
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactResponsive.default, {
21
+ query: '(max-width: 768px)',
22
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_mbFormatter.default, {
23
+ ...props
24
+ })
25
+ })]
26
+ });
18
27
  };
19
28
  var _default = exports.default = RowExpandDepartmentFormatter;
@@ -7,12 +7,13 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.default = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
  var _DepartmentSingleSelectFormatter = _interopRequireDefault(require("../../DepartmentSingleSelectFormatter"));
10
+ var _jsxRuntime = require("react/jsx-runtime");
10
11
  function RowExpandMBDepartmentFormatter(_ref) {
11
12
  let {
12
13
  value,
13
14
  departments
14
15
  } = _ref;
15
- return /*#__PURE__*/_react.default.createElement(_DepartmentSingleSelectFormatter.default, {
16
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_DepartmentSingleSelectFormatter.default, {
16
17
  value: value,
17
18
  departments: departments
18
19
  });
@@ -7,21 +7,25 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.default = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
  var _DepartmentSingleSelectFormatter = _interopRequireDefault(require("../../DepartmentSingleSelectFormatter"));
10
+ var _jsxRuntime = require("react/jsx-runtime");
10
11
  function RowExpandPCDepartmentFormatter(_ref) {
11
12
  let {
12
13
  value,
13
14
  departments
14
15
  } = _ref;
15
- return /*#__PURE__*/_react.default.createElement("div", {
16
- className: "position-relative w-100"
17
- }, /*#__PURE__*/_react.default.createElement("div", {
18
- tabIndex: 0,
19
- className: "dtable-ui-row-expand-select-formatter custom-select"
20
- }, /*#__PURE__*/_react.default.createElement("div", {
21
- className: "dtable-ui-row-expand-select-formatter-inner"
22
- }, /*#__PURE__*/_react.default.createElement(_DepartmentSingleSelectFormatter.default, {
23
- value: value,
24
- departments: departments
25
- }))));
16
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
17
+ className: "position-relative w-100",
18
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
19
+ tabIndex: 0,
20
+ className: "dtable-ui-row-expand-select-formatter custom-select",
21
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
22
+ className: "dtable-ui-row-expand-select-formatter-inner",
23
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_DepartmentSingleSelectFormatter.default, {
24
+ value: value,
25
+ departments: departments
26
+ })
27
+ })
28
+ })
29
+ });
26
30
  }
27
31
  var _default = exports.default = RowExpandPCDepartmentFormatter;
@@ -9,6 +9,7 @@ var _react = _interopRequireDefault(require("react"));
9
9
  var _classnames = _interopRequireDefault(require("classnames"));
10
10
  var _editorUtils = require("../../utils/editor-utils");
11
11
  require("./index.css");
12
+ var _jsxRuntime = require("react/jsx-runtime");
12
13
  class RowExpandEmailFormatter extends _react.default.Component {
13
14
  constructor() {
14
15
  super(...arguments);
@@ -26,14 +27,16 @@ class RowExpandEmailFormatter extends _react.default.Component {
26
27
  value
27
28
  } = this.props;
28
29
  let classname = (0, _classnames.default)('dtable-ui cell-formatter-container email-formatter', containerClassName);
29
- return /*#__PURE__*/_react.default.createElement("div", {
30
- className: classname
31
- }, /*#__PURE__*/_react.default.createElement("span", {
32
- className: "email-formatter-value text-truncate"
33
- }, value), (0, _editorUtils.getTrimmedString)(value) && /*#__PURE__*/_react.default.createElement("span", {
34
- className: "dtable-font dtable-icon-email row-expand-jump-link",
35
- onClick: this.onOpenEmailLink
36
- }));
30
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
31
+ className: classname,
32
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
33
+ className: "email-formatter-value text-truncate",
34
+ children: value
35
+ }), (0, _editorUtils.getTrimmedString)(value) && /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
36
+ className: "dtable-font dtable-icon-email row-expand-jump-link",
37
+ onClick: this.onOpenEmailLink
38
+ })]
39
+ });
37
40
  }
38
41
  }
39
42
  var _default = exports.default = RowExpandEmailFormatter;
@@ -9,6 +9,7 @@ var _react = _interopRequireDefault(require("react"));
9
9
  var _classnames = _interopRequireDefault(require("classnames"));
10
10
  var _rowExpandFileItemFormatter = _interopRequireDefault(require("./row-expand-file-item-formatter"));
11
11
  require("./index.css");
12
+ var _jsxRuntime = require("react/jsx-runtime");
12
13
  class RowExpandFileFormatter extends _react.default.PureComponent {
13
14
  render() {
14
15
  let {
@@ -23,20 +24,20 @@ class RowExpandFileFormatter extends _react.default.PureComponent {
23
24
  if (!Array.isArray(value) || value.length === 0) {
24
25
  return null;
25
26
  }
26
- return /*#__PURE__*/_react.default.createElement("div", {
27
- className: (0, _classnames.default)('dtable-ui cell-formatter-container row-expand-file-formatter', containerClassName)
28
- }, value.map((item, index) => {
29
- return /*#__PURE__*/_react.default.createElement(_rowExpandFileItemFormatter.default, {
30
- file: item,
31
- key: index,
32
- index: index,
33
- column: column,
34
- config: config,
35
- downloadFile: downloadFile,
36
- deleteFile: deleteFile,
37
- readOnly: readOnly
38
- });
39
- }));
27
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
28
+ className: (0, _classnames.default)('dtable-ui cell-formatter-container row-expand-file-formatter', containerClassName),
29
+ children: value.map((item, index) => {
30
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_rowExpandFileItemFormatter.default, {
31
+ file: item,
32
+ index: index,
33
+ column: column,
34
+ config: config,
35
+ downloadFile: downloadFile,
36
+ deleteFile: deleteFile,
37
+ readOnly: readOnly
38
+ }, index);
39
+ })
40
+ });
40
41
  }
41
42
  }
42
43
  exports.default = RowExpandFileFormatter;
@@ -11,6 +11,7 @@ var _reactstrap = require("reactstrap");
11
11
  var _lang = require("../../lang");
12
12
  var _url = require("../../utils/url");
13
13
  var _DeleteTip = _interopRequireDefault(require("../../DeleteTip"));
14
+ var _jsxRuntime = require("react/jsx-runtime");
14
15
  class RowExpandFileItemFormatter extends _react.Component {
15
16
  constructor(props) {
16
17
  super(props);
@@ -58,42 +59,48 @@ class RowExpandFileItemFormatter extends _react.Component {
58
59
  const {
59
60
  fileIconUrl
60
61
  } = (0, _url.getFileThumbnailInfo)(file, config);
61
- return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("div", {
62
- key: "file-".concat(index),
63
- className: "row-expand-item-file",
64
- id: id
65
- }, /*#__PURE__*/_react.default.createElement("img", {
66
- src: fileIconUrl,
67
- id: "item-file-".concat(index),
68
- alt: file.name
69
- }), /*#__PURE__*/_react.default.createElement("div", {
70
- className: "dtable-ui-file-icons-choice"
71
- }, downloadFile && /*#__PURE__*/_react.default.createElement("span", {
72
- className: "file-icon",
73
- onClick: e => this.props.downloadFile(file, e)
74
- }, /*#__PURE__*/_react.default.createElement("i", {
75
- className: "dtable-font dtable-icon-download"
76
- })), !readOnly && deleteFile && /*#__PURE__*/_react.default.createElement("span", {
77
- className: "file-icon",
78
- onClick: this.onClickDelete
79
- }, /*#__PURE__*/_react.default.createElement("i", {
80
- className: "dtable-font dtable-icon-fork-number"
81
- })))), this.state.isDeleteTipOpen && /*#__PURE__*/_react.default.createElement(_DeleteTip.default, {
82
- position: this.position,
83
- toggle: this.closeDeleteTip,
84
- handleDelete: this.onDelete,
85
- deleteTip: (0, _lang.getLocale)('Are_you_sure_you_want_to_delete_this_file')
86
- }), /*#__PURE__*/_react.default.createElement(_reactstrap.Tooltip, {
87
- placement: "bottom",
88
- isOpen: this.state.isTooltipOpen,
89
- toggle: this.toggleTooltip,
90
- target: id,
91
- delay: {
92
- show: 0,
93
- hide: 0
94
- },
95
- fade: false
96
- }, file.name));
62
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
63
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
64
+ className: "row-expand-item-file",
65
+ id: id,
66
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("img", {
67
+ src: fileIconUrl,
68
+ id: "item-file-".concat(index),
69
+ alt: file.name
70
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
71
+ className: "dtable-ui-file-icons-choice",
72
+ children: [downloadFile && /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
73
+ className: "file-icon",
74
+ onClick: e => this.props.downloadFile(file, e),
75
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
76
+ className: "dtable-font dtable-icon-download"
77
+ })
78
+ }), !readOnly && deleteFile && /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
79
+ className: "file-icon",
80
+ onClick: this.onClickDelete,
81
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
82
+ className: "dtable-font dtable-icon-fork-number"
83
+ })
84
+ })]
85
+ })]
86
+ }, "file-".concat(index)), this.state.isDeleteTipOpen && /*#__PURE__*/(0, _jsxRuntime.jsx)(_DeleteTip.default, {
87
+ position: this.position,
88
+ toggle: this.closeDeleteTip,
89
+ handleDelete: this.onDelete,
90
+ deleteTip: (0, _lang.getLocale)('Are_you_sure_you_want_to_delete_this_file')
91
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactstrap.Tooltip, {
92
+ placement: "bottom",
93
+ isOpen: this.state.isTooltipOpen,
94
+ toggle: this.toggleTooltip,
95
+ target: id,
96
+ delay: {
97
+ show: 0,
98
+ hide: 0
99
+ },
100
+ fade: false,
101
+ children: file.name
102
+ })]
103
+ });
97
104
  }
98
105
  }
99
106
  exports.default = RowExpandFileItemFormatter;