dtable-ui-component 6.0.91 → 6.0.93

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (316) hide show
  1. package/lib/ActionSheet/index.js +96 -70
  2. package/lib/ActivityIndicator/index.js +41 -33
  3. package/lib/AsyncUserSelect/index.css +122 -0
  4. package/lib/AsyncUserSelect/index.js +260 -0
  5. package/lib/AsyncUserSelect/user-item.js +55 -0
  6. package/lib/AutoNumberFormatter/index.js +5 -3
  7. package/lib/Badge/index.js +22 -18
  8. package/lib/ButtonFormatter/index.js +15 -10
  9. package/lib/CTimeFormatter/index.js +5 -3
  10. package/lib/CheckboxEditor/index.js +22 -13
  11. package/lib/CheckboxEditor/mb-editor.js +8 -6
  12. package/lib/CheckboxEditor/pc-editor.js +8 -6
  13. package/lib/CheckboxFormatter/index.js +8 -6
  14. package/lib/CollaboratorEditor/index.js +24 -15
  15. package/lib/CollaboratorEditor/mb-editor/index.js +19 -13
  16. package/lib/CollaboratorEditor/pc-editor/index.js +51 -43
  17. package/lib/CollaboratorFormatter/index.js +8 -7
  18. package/lib/CollaboratorItem/index.js +21 -16
  19. package/lib/CollapsibleSettingLayout/index.css +0 -5
  20. package/lib/CollapsibleSettingLayout/index.js +17 -12
  21. package/lib/Comment/body/comment.js +79 -63
  22. package/lib/Comment/body/index.js +14 -11
  23. package/lib/Comment/footer/btns/index.js +68 -53
  24. package/lib/Comment/footer/index.js +30 -28
  25. package/lib/Comment/footer/input/index.js +49 -44
  26. package/lib/Comment/footer/input/participant/index.js +19 -14
  27. package/lib/Comment/footer/participants/index.js +31 -28
  28. package/lib/Comment/footer/participants/participant/index.js +18 -15
  29. package/lib/Comment/footer/participants/participant-select/index.js +68 -57
  30. package/lib/Comment/index.js +33 -28
  31. package/lib/Comment/utils/utilities.js +1 -1
  32. package/lib/CreatorFormatter/index.js +8 -7
  33. package/lib/DTableColorPicker/ColorPickerPortal/index.js +60 -35
  34. package/lib/DTableColorPicker/index.js +135 -99
  35. package/lib/DTableColorPicker/utils.js +1 -1
  36. package/lib/DTableCommonAddTool/index.js +11 -8
  37. package/lib/DTableCustomFooter/index.js +5 -3
  38. package/lib/DTableCustomizeCollaboratorSelect/index.css +1 -39
  39. package/lib/DTableCustomizeCollaboratorSelect/index.js +38 -32
  40. package/lib/DTableCustomizeSelect/index.js +51 -44
  41. package/lib/DTableEmptyTip/index.js +20 -16
  42. package/lib/DTableFiltersPopover/index.js +71 -61
  43. package/lib/DTableFiltersPopover/utils/filter-item-utils.js +74 -57
  44. package/lib/DTableFiltersPopover/utils/index.js +1 -1
  45. package/lib/DTableFiltersPopover/widgets/collaborator-filter/index.js +64 -49
  46. package/lib/DTableFiltersPopover/widgets/department-select-filter/department-multiple-select-filter.js +49 -41
  47. package/lib/DTableFiltersPopover/widgets/department-select-filter/department-single-select-filter.js +57 -47
  48. package/lib/DTableFiltersPopover/widgets/filter-calendar.js +35 -31
  49. package/lib/DTableFiltersPopover/widgets/filter-group.js +38 -32
  50. package/lib/DTableFiltersPopover/widgets/filter-item.js +125 -106
  51. package/lib/DTableFiltersPopover/widgets/filter-list/index.css +1 -5
  52. package/lib/DTableFiltersPopover/widgets/filter-list/index.js +18 -17
  53. package/lib/DTableFiltersPopover/widgets/rate-item.js +12 -9
  54. package/lib/DTableGroupSelect/index.js +52 -44
  55. package/lib/DTableGroupSelect/option.js +5 -3
  56. package/lib/DTableGroupSelect/select-option-group.css +0 -37
  57. package/lib/DTableGroupSelect/select-option-group.js +31 -25
  58. package/lib/DTableModalHeader/index.js +13 -9
  59. package/lib/DTablePopover/index.js +9 -6
  60. package/lib/DTableRadio/index.js +20 -17
  61. package/lib/DTableRadioGroup/index.js +22 -19
  62. package/lib/DTableSearchInput/index.js +23 -19
  63. package/lib/DTableSelect/dtable-select-label.js +12 -7
  64. package/lib/DTableSelect/index.js +2 -1
  65. package/lib/DTableSelect/utils.js +34 -20
  66. package/lib/DTableSwitch/index.css +1 -2
  67. package/lib/DTableSwitch/index.js +30 -18
  68. package/lib/DateEditor/index.js +25 -16
  69. package/lib/DateEditor/mb-editor/index.js +90 -68
  70. package/lib/DateEditor/pc-editor.js +39 -35
  71. package/lib/DateFormatter/index.js +5 -3
  72. package/lib/DatePicker/utils.js +4 -4
  73. package/lib/DeleteTip/index.js +29 -20
  74. package/lib/DepartmentMultipleSelectEditor/index.js +57 -49
  75. package/lib/DepartmentSelectFilter/index.js +8 -1
  76. package/lib/DepartmentSingleSelectEditor/index.js +22 -13
  77. package/lib/DepartmentSingleSelectEditor/mb-editor/index.js +75 -55
  78. package/lib/DepartmentSingleSelectEditor/pc-editor/department-single-select.js +78 -61
  79. package/lib/DepartmentSingleSelectEditor/pc-editor/index.js +14 -11
  80. package/lib/DepartmentSingleSelectFormatter/index.js +13 -10
  81. package/lib/DigitalSignEditor/index.js +22 -13
  82. package/lib/DigitalSignEditor/mb-editor/index.js +39 -24
  83. package/lib/DigitalSignEditor/pc-editor/index.js +44 -30
  84. package/lib/DigitalSignEditor/service.js +1 -1
  85. package/lib/DigitalSignEditor/signature-board/index.js +21 -17
  86. package/lib/DigitalSignFormatter/index.js +23 -19
  87. package/lib/DigitalSignFormatter/utils.js +1 -1
  88. package/lib/Drawer/index.js +4 -1
  89. package/lib/DurationEditor/index.js +2 -1
  90. package/lib/DurationFormatter/index.js +5 -3
  91. package/lib/EditEditorButton/index.js +5 -3
  92. package/lib/EmailEditor/index.js +2 -1
  93. package/lib/EmailFormatter/index.js +5 -3
  94. package/lib/FieldDisplaySetting/field-item.js +26 -20
  95. package/lib/FieldDisplaySetting/index.css +0 -6
  96. package/lib/FieldDisplaySetting/index.js +50 -41
  97. package/lib/FileEditor/files-previewer/index.js +22 -13
  98. package/lib/FileEditor/files-previewer/mb-previewer/file-previewer/index.js +43 -28
  99. package/lib/FileEditor/files-previewer/mb-previewer/index.js +24 -21
  100. package/lib/FileEditor/files-previewer/pc-previewer/file-previewer/dropdown-menu.js +30 -24
  101. package/lib/FileEditor/files-previewer/pc-previewer/file-previewer/file-name-editor/index.js +13 -11
  102. package/lib/FileEditor/files-previewer/pc-previewer/file-previewer/index.js +82 -64
  103. package/lib/FileEditor/files-previewer/pc-previewer/index.js +81 -65
  104. package/lib/FileEditor/index.js +22 -13
  105. package/lib/FileEditor/mb-editor/index.js +43 -31
  106. package/lib/FileEditor/pc-editor/addition-previewer/index.js +27 -20
  107. package/lib/FileEditor/pc-editor/addition-previewer/local-file-addition/index.js +108 -82
  108. package/lib/FileEditor/pc-editor/index.js +46 -36
  109. package/lib/FileFormatter/index.js +40 -36
  110. package/lib/FileItemFormatter/index.js +3 -2
  111. package/lib/FileUploader/index.js +23 -21
  112. package/lib/FormulaFormatter/index.js +24 -17
  113. package/lib/GeolocationEditor/index.js +31 -22
  114. package/lib/GeolocationEditor/map-editor-utils.js +2 -2
  115. package/lib/GeolocationEditor/mb-editor/country-editor.js +42 -27
  116. package/lib/GeolocationEditor/mb-editor/index.js +22 -14
  117. package/lib/GeolocationEditor/mb-editor/location-editor.js +54 -34
  118. package/lib/GeolocationEditor/mb-editor/map-editor/index.js +102 -74
  119. package/lib/GeolocationEditor/mb-editor/map-selection-editor/index.js +144 -110
  120. package/lib/GeolocationEditor/mb-editor/province-city-editor.js +42 -27
  121. package/lib/GeolocationEditor/mb-editor/province-editor.js +42 -27
  122. package/lib/GeolocationEditor/pc-editor/country-editor.js +38 -31
  123. package/lib/GeolocationEditor/pc-editor/index.js +26 -17
  124. package/lib/GeolocationEditor/pc-editor/location-editor.js +122 -96
  125. package/lib/GeolocationEditor/pc-editor/map-editor/index.js +99 -74
  126. package/lib/GeolocationEditor/pc-editor/map-editor/large-editor/index.js +99 -76
  127. package/lib/GeolocationEditor/pc-editor/map-selection-editor/index.js +139 -94
  128. package/lib/GeolocationEditor/pc-editor/map-selection-editor/large-editor/index.js +122 -85
  129. package/lib/GeolocationEditor/pc-editor/province-city-editor.js +89 -69
  130. package/lib/GeolocationEditor/pc-editor/province-editor.js +31 -26
  131. package/lib/GeolocationEditor/pc-editor/selector-header-item.js +9 -5
  132. package/lib/GeolocationEditor/pc-editor/selector-list.js +15 -13
  133. package/lib/GeolocationFormatter/index.js +5 -3
  134. package/lib/HtmlLongTextFormatter/index.js +3 -2
  135. package/lib/Icon/index.js +9 -6
  136. package/lib/Icon/load-sprite.js +13 -2
  137. package/lib/IconButton/index.js +9 -6
  138. package/lib/ImageEditor/images-previewer/image-preview/index.js +53 -45
  139. package/lib/ImageEditor/images-previewer/index.js +35 -32
  140. package/lib/ImageEditor/index.js +22 -13
  141. package/lib/ImageEditor/mb-editor/index.js +43 -31
  142. package/lib/ImageEditor/pc-editor/addition-previewer/image-link/index.js +19 -15
  143. package/lib/ImageEditor/pc-editor/addition-previewer/index.js +32 -24
  144. package/lib/ImageEditor/pc-editor/addition-previewer/local-image-addition/index.js +102 -77
  145. package/lib/ImageEditor/pc-editor/images-previewer/index.js +33 -30
  146. package/lib/ImageEditor/pc-editor/index.js +44 -32
  147. package/lib/ImageFormatter/images-lazy-load.js +12 -10
  148. package/lib/ImageFormatter/index.js +40 -34
  149. package/lib/ImagePreviewerLightbox/index.js +12 -8
  150. package/lib/ImageThumbnail/index.js +47 -39
  151. package/lib/InputItem/custom-input.js +32 -27
  152. package/lib/InputItem/custom-keyboard.js +68 -47
  153. package/lib/InputItem/index.js +81 -71
  154. package/lib/InputItem/input.js +5 -3
  155. package/lib/LastModifierFormatter/index.js +8 -7
  156. package/lib/LinkEditor/index.js +38 -32
  157. package/lib/LinkEditor/link-editor-option.js +25 -20
  158. package/lib/LinkEditor/mb-popover/index.js +53 -41
  159. package/lib/LinkEditor/pc-popover/index.js +41 -33
  160. package/lib/LinkFormatter/index.js +13 -10
  161. package/lib/List/index.js +15 -9
  162. package/lib/List/list-item.js +51 -42
  163. package/lib/Loading/index.js +2 -1
  164. package/lib/LongTextFormatter/index.js +3 -2
  165. package/lib/MBEditorHeader/index.js +19 -14
  166. package/lib/MTimeFormatter/index.js +5 -3
  167. package/lib/MobileFullScreenPage/body/index.js +6 -4
  168. package/lib/MobileFullScreenPage/header/index.js +22 -17
  169. package/lib/MobileFullScreenPage/index.js +11 -8
  170. package/lib/MobileModal/index.js +6 -3
  171. package/lib/MobileOperationSheet/index.js +28 -18
  172. package/lib/MobileSelector/empty/index.js +5 -3
  173. package/lib/MobileSelector/index.js +18 -12
  174. package/lib/MobileSelector/option/index.js +17 -12
  175. package/lib/MobileSelector/options/index.js +5 -3
  176. package/lib/MobileSelector/search/index.js +10 -8
  177. package/lib/MobileUpload/index.js +87 -67
  178. package/lib/Modal/alert.js +9 -6
  179. package/lib/Modal/modal.js +26 -22
  180. package/lib/Modal/operation.js +2 -1
  181. package/lib/Modal/prompt.js +76 -56
  182. package/lib/MultipleSelectEditor/index.js +4 -2
  183. package/lib/MultipleSelectFormatter/index.js +8 -7
  184. package/lib/NotificationPopover/index.js +43 -32
  185. package/lib/NumberEditor/index.js +2 -1
  186. package/lib/NumberFormatter/index.js +5 -3
  187. package/lib/Picker/AbstractPicker.js +26 -22
  188. package/lib/Picker/index.js +2 -1
  189. package/lib/Popover/index.js +8 -5
  190. package/lib/Popover/item.js +26 -19
  191. package/lib/Progress/index.js +17 -15
  192. package/lib/Radio/Radio.js +12 -8
  193. package/lib/Radio/RadioItem.js +11 -5
  194. package/lib/RateFormatter/index.js +8 -7
  195. package/lib/RoleStatusEditor/index.js +36 -31
  196. package/lib/RowExpand/index.js +16 -9
  197. package/lib/RowExpandDialog/body/index.js +53 -42
  198. package/lib/RowExpandDialog/column-content/index.js +34 -25
  199. package/lib/RowExpandDialog/header/index.js +29 -22
  200. package/lib/RowExpandDialog/index.js +43 -30
  201. package/lib/RowExpandEditor/add-btn/index.js +16 -9
  202. package/lib/RowExpandEditor/add-btn/mb-add-btn/index.js +5 -3
  203. package/lib/RowExpandEditor/add-btn/pc-add-btn/index.js +8 -5
  204. package/lib/RowExpandEditor/checkbox-editor/index.js +16 -9
  205. package/lib/RowExpandEditor/checkbox-editor/mb-editor/index.js +10 -8
  206. package/lib/RowExpandEditor/checkbox-editor/pc-editor.js +2 -1
  207. package/lib/RowExpandEditor/collaborator-editor/index.js +16 -9
  208. package/lib/RowExpandEditor/collaborator-editor/mb-editor/index.js +19 -17
  209. package/lib/RowExpandEditor/collaborator-editor/pc-editor/index.js +52 -47
  210. package/lib/RowExpandEditor/date-editor/index.js +16 -9
  211. package/lib/RowExpandEditor/date-editor/mb-editor.js +20 -15
  212. package/lib/RowExpandEditor/date-editor/pc-editor.js +24 -21
  213. package/lib/RowExpandEditor/department-editor/index.js +16 -9
  214. package/lib/RowExpandEditor/department-editor/mb-editor.js +27 -22
  215. package/lib/RowExpandEditor/department-editor/pc-editor.js +35 -29
  216. package/lib/RowExpandEditor/digital-sign-editor/index.js +16 -9
  217. package/lib/RowExpandEditor/digital-sign-editor/mb-editor/index.js +19 -16
  218. package/lib/RowExpandEditor/digital-sign-editor/pc-editor/index.js +34 -32
  219. package/lib/RowExpandEditor/duration-editor/index.js +16 -9
  220. package/lib/RowExpandEditor/duration-editor/mb-editor.js +15 -12
  221. package/lib/RowExpandEditor/duration-editor/pc-editor.js +17 -13
  222. package/lib/RowExpandEditor/email-editor/index.js +16 -9
  223. package/lib/RowExpandEditor/email-editor/mb-editor/index.js +20 -18
  224. package/lib/RowExpandEditor/email-editor/pc-editor/index.js +21 -19
  225. package/lib/RowExpandEditor/file-editor/index.js +16 -9
  226. package/lib/RowExpandEditor/file-editor/mb-editor/index.js +21 -16
  227. package/lib/RowExpandEditor/file-editor/pc-editor/index.js +22 -20
  228. package/lib/RowExpandEditor/geolocation-editor/index.js +16 -9
  229. package/lib/RowExpandEditor/geolocation-editor/mb-editor/index.js +12 -9
  230. package/lib/RowExpandEditor/geolocation-editor/pc-editor/index.js +20 -17
  231. package/lib/RowExpandEditor/image-editor/index.js +16 -9
  232. package/lib/RowExpandEditor/image-editor/mb-editor/index.js +21 -16
  233. package/lib/RowExpandEditor/image-editor/pc-editor/index.js +29 -25
  234. package/lib/RowExpandEditor/index.js +4 -2
  235. package/lib/RowExpandEditor/long-text-editor/index.js +16 -9
  236. package/lib/RowExpandEditor/long-text-editor/mb-editor/editor/index.js +27 -16
  237. package/lib/RowExpandEditor/long-text-editor/mb-editor/index.js +19 -16
  238. package/lib/RowExpandEditor/long-text-editor/pc-editor/index.js +22 -18
  239. package/lib/RowExpandEditor/multiple-select-editor/index.js +16 -9
  240. package/lib/RowExpandEditor/multiple-select-editor/mb-editor/index.js +26 -23
  241. package/lib/RowExpandEditor/multiple-select-editor/pc-editor/index.js +82 -68
  242. package/lib/RowExpandEditor/number-editor/index.js +16 -9
  243. package/lib/RowExpandEditor/number-editor/mb-editor/index.js +10 -7
  244. package/lib/RowExpandEditor/number-editor/pc-editor.js +6 -4
  245. package/lib/RowExpandEditor/rate-editor/index.js +16 -9
  246. package/lib/RowExpandEditor/rate-editor/mb-editor.js +10 -8
  247. package/lib/RowExpandEditor/rate-editor/pc-editor.js +12 -10
  248. package/lib/RowExpandEditor/right-angle/index.js +8 -6
  249. package/lib/RowExpandEditor/single-select-editor/index.js +16 -9
  250. package/lib/RowExpandEditor/single-select-editor/mb-editor/index.js +30 -23
  251. package/lib/RowExpandEditor/single-select-editor/pc-editor/index.js +43 -35
  252. package/lib/RowExpandEditor/text-editor/index.js +16 -9
  253. package/lib/RowExpandEditor/text-editor/mb-editor/index.js +11 -9
  254. package/lib/RowExpandEditor/text-editor/pc-editor/index.js +16 -12
  255. package/lib/RowExpandEditor/url-editor/index.js +16 -9
  256. package/lib/RowExpandEditor/url-editor/mb-editor/index.js +20 -18
  257. package/lib/RowExpandEditor/url-editor/pc-editor/index.js +21 -19
  258. package/lib/RowExpandFormatter/department-formatter/index.js +14 -5
  259. package/lib/RowExpandFormatter/department-formatter/mb-formatter.js +2 -1
  260. package/lib/RowExpandFormatter/department-formatter/pc-formatter.js +15 -11
  261. package/lib/RowExpandFormatter/email-formatter/index.js +12 -9
  262. package/lib/RowExpandFormatter/file-formatter/index.js +15 -14
  263. package/lib/RowExpandFormatter/file-formatter/row-expand-file-item-formatter.js +43 -36
  264. package/lib/RowExpandFormatter/formula-formatter/index.js +41 -33
  265. package/lib/RowExpandFormatter/image-formatter/index.js +30 -27
  266. package/lib/RowExpandFormatter/image-formatter/row-expand-image-item-formatter.js +47 -39
  267. package/lib/RowExpandFormatter/index.js +132 -115
  268. package/lib/RowExpandFormatter/link-formatter/collaborator-item-formatter.js +3 -2
  269. package/lib/RowExpandFormatter/link-formatter/index.js +70 -67
  270. package/lib/RowExpandFormatter/rate-formatter/index.js +8 -7
  271. package/lib/RowExpandFormatter/url-formatter/index.js +12 -9
  272. package/lib/RowExpandView/body/index.js +39 -33
  273. package/lib/RowExpandView/column-content/index.js +10 -5
  274. package/lib/RowExpandView/index.js +27 -16
  275. package/lib/SelectItem/index.js +16 -12
  276. package/lib/SelectOptionGroup/index.css +4 -2
  277. package/lib/SelectOptionGroup/index.js +39 -32
  278. package/lib/SelectOptionGroup/option.js +5 -3
  279. package/lib/SelectedDepartments/index.js +54 -44
  280. package/lib/SimpleLongTextFormatter/index.js +39 -30
  281. package/lib/SimpleLongTextFormatter/widgets/LongTextPreview.js +11 -8
  282. package/lib/SimpleLongTextFormatter/widgets/dtable-markdown-viewer.js +3 -2
  283. package/lib/SingleSelectEditor/index.js +4 -2
  284. package/lib/SingleSelectFormatter/index.js +6 -4
  285. package/lib/SvgIcon/index.js +5 -2
  286. package/lib/TabBar/Tab.js +28 -21
  287. package/lib/TabBar/index.js +28 -24
  288. package/lib/Tabs/index.js +8 -5
  289. package/lib/TextEditor/index.js +21 -18
  290. package/lib/TextFormatter/index.js +5 -3
  291. package/lib/TextareaItem/index.js +49 -40
  292. package/lib/Toast/index.js +20 -14
  293. package/lib/UploadProgress/index.js +2 -1
  294. package/lib/UrlEditor/index.js +2 -1
  295. package/lib/UrlFormatter/index.js +5 -3
  296. package/lib/formatterConfig/base-formatter-config.js +24 -23
  297. package/lib/formatterConfig/index.js +3 -2
  298. package/lib/index.js +7 -0
  299. package/lib/locales/de.json +5 -1
  300. package/lib/locales/en.json +5 -1
  301. package/lib/locales/es.json +6 -2
  302. package/lib/locales/fr.json +5 -1
  303. package/lib/locales/pt.json +5 -1
  304. package/lib/locales/ru.json +5 -1
  305. package/lib/locales/zh-CN.json +5 -1
  306. package/lib/select-editor/index.js +22 -13
  307. package/lib/select-editor/mb-editor/index.js +22 -16
  308. package/lib/select-editor/pc-editor/index.js +75 -61
  309. package/lib/toaster/alert.js +25 -16
  310. package/lib/toaster/toast.js +27 -23
  311. package/lib/toaster/toastManager.js +17 -14
  312. package/lib/toaster/toaster.js +4 -1
  313. package/lib/utils/class.js +3 -3
  314. package/lib/utils/object-utils.js +1 -1
  315. package/lib/utils/url.js +4 -4
  316. package/package.json +13 -29
@@ -15,6 +15,7 @@ var _cell = require("../../../utils/cell");
15
15
  var _mapEditorUtils = require("../../map-editor-utils");
16
16
  var _largeEditor = _interopRequireDefault(require("./large-editor"));
17
17
  var _lang = require("../../../lang");
18
+ var _jsxRuntime = require("react/jsx-runtime");
18
19
  class MapSelectionEditor extends _react.Component {
19
20
  constructor(props) {
20
21
  super(props);
@@ -124,7 +125,7 @@ class MapSelectionEditor extends _react.Component {
124
125
  backgroundColor: '#ffffff',
125
126
  boxShadow: '1px 2px 1px rgba(0,0,0,.15)',
126
127
  padding: '3px 10px',
127
- transform: "translate(-50%, ".concat(translateY, ")"),
128
+ transform: `translate(-50%, ${translateY})`,
128
129
  borderRadius: '3px',
129
130
  fontWeight: '500',
130
131
  left: '7px'
@@ -166,9 +167,26 @@ class MapSelectionEditor extends _react.Component {
166
167
  } = value;
167
168
  const tagContent = Array.isArray(tag) && tag.length > 0 ? tag[0] : '';
168
169
  if (title) {
169
- return "\n <div class='dtable-ui-selection-label-content' id='dtable-ui-selection-label-content'>\n <i class='dtable-font dtable-icon-down3'></i>\n <span class='label-title text-truncate' title=".concat(title, ">").concat(title, "</span>\n ").concat(tagContent && "<span class='label-tag'>".concat(tagContent, "</span>"), "\n <span class='dtable-font dtable-icon-x' id='selection-label-close'></span>\n <span class='label-address-tip'>").concat((0, _lang.getLocale)('Address'), "</span>\n <span class='label-address text-truncate' title=").concat(address, ">").concat(address, "</span>\n <div class='label-submit btn btn-primary' id='selection-label-submit'>").concat((0, _lang.getLocale)('Fill_in'), "</div>\n </div>\n ");
170
+ return `
171
+ <div class='dtable-ui-selection-label-content' id='dtable-ui-selection-label-content'>
172
+ <i class='dtable-font dtable-icon-down3'></i>
173
+ <span class='label-title text-truncate' title=${title}>${title}</span>
174
+ ${tagContent && `<span class='label-tag'>${tagContent}</span>`}
175
+ <span class='dtable-font dtable-icon-x' id='selection-label-close'></span>
176
+ <span class='label-address-tip'>${(0, _lang.getLocale)('Address')}</span>
177
+ <span class='label-address text-truncate' title=${address}>${address}</span>
178
+ <div class='label-submit btn btn-primary' id='selection-label-submit'>${(0, _lang.getLocale)('Fill_in')}</div>
179
+ </div>
180
+ `;
170
181
  }
171
- return "\n <div class='dtable-ui-selection-label-content simple' id='dtable-ui-selection-label-content'>\n <i class='dtable-font dtable-icon-down3'></i>\n <span class='dtable-font dtable-icon-x' id='selection-label-close'></span>\n <span class='label-address text-truncate simple' title=".concat(address, ">").concat(address, "</span>\n <div class='label-submit btn btn-primary' id='selection-label-submit'>").concat((0, _lang.getLocale)('Fill_in'), "</div>\n </div>\n ");
182
+ return `
183
+ <div class='dtable-ui-selection-label-content simple' id='dtable-ui-selection-label-content'>
184
+ <i class='dtable-font dtable-icon-down3'></i>
185
+ <span class='dtable-font dtable-icon-x' id='selection-label-close'></span>
186
+ <span class='label-address text-truncate simple' title=${address}>${address}</span>
187
+ <div class='label-submit btn btn-primary' id='selection-label-submit'>${(0, _lang.getLocale)('Fill_in')}</div>
188
+ </div>
189
+ `;
172
190
  };
173
191
  this.getInitValue = () => {
174
192
  const {
@@ -322,19 +340,22 @@ class MapSelectionEditor extends _react.Component {
322
340
  searchResults
323
341
  } = this.state;
324
342
  if (searchResults.length === 0) return null;
325
- return /*#__PURE__*/_react.default.createElement("div", {
326
- className: "search-results-container"
327
- }, searchResults.map((result, index) => {
328
- return /*#__PURE__*/_react.default.createElement("div", {
329
- className: "search-result-item",
330
- key: index,
331
- onClick: this.onClickSelection.bind(this, result)
332
- }, /*#__PURE__*/_react.default.createElement("span", {
333
- className: "search-result-item-title"
334
- }, result.title || ''), /*#__PURE__*/_react.default.createElement("span", {
335
- className: "search-result-item-address"
336
- }, result.address || ''));
337
- }));
343
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
344
+ className: "search-results-container",
345
+ children: searchResults.map((result, index) => {
346
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
347
+ className: "search-result-item",
348
+ onClick: this.onClickSelection.bind(this, result),
349
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
350
+ className: "search-result-item-title",
351
+ children: result.title || ''
352
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
353
+ className: "search-result-item-address",
354
+ children: result.address || ''
355
+ })]
356
+ }, index);
357
+ })
358
+ });
338
359
  };
339
360
  const _value = this.getInitValue();
340
361
  this.readOnly = props.readOnly;
@@ -377,88 +398,112 @@ class MapSelectionEditor extends _react.Component {
377
398
  isShowLargeEditor
378
399
  } = this.state;
379
400
  if (isShowLargeEditor) {
380
- return /*#__PURE__*/_react.default.createElement(_largeEditor.default, Object.assign({}, this.props, {
401
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_largeEditor.default, {
402
+ ...this.props,
381
403
  toggleFullScreen: this.toggleFullScreen
382
- }));
404
+ });
383
405
  }
384
406
  if (this.mapType === _mapEditorUtils.MAP_TYPES.G_MAP || this.mapType === _mapEditorUtils.MAP_TYPES.M_MAP) {
385
- return /*#__PURE__*/_react.default.createElement(_react.Fragment, null, /*#__PURE__*/_react.default.createElement("div", {
386
- className: "dtable-ui-geolocation-map-editor-header"
387
- }, /*#__PURE__*/_react.default.createElement("div", {
388
- className: "dtable-ui-geolocation-map-editor-logo"
389
- }, /*#__PURE__*/_react.default.createElement("span", {
390
- className: "dtable-font dtable-icon-location"
391
- }), /*#__PURE__*/_react.default.createElement("span", {
392
- className: "ml-2 dtable-ui-geolocation-map-editor-title"
393
- }, (0, _lang.getLocale)('Address')))), /*#__PURE__*/_react.default.createElement("div", {
394
- className: "dtable-ui-geolocation-map-editor no-support-tip"
395
- }, (0, _lang.getLocale)('This_map_type_currently_does_not_support_map_point_selection')));
407
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_react.Fragment, {
408
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
409
+ className: "dtable-ui-geolocation-map-editor-header",
410
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
411
+ className: "dtable-ui-geolocation-map-editor-logo",
412
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
413
+ className: "dtable-font dtable-icon-location"
414
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
415
+ className: "ml-2 dtable-ui-geolocation-map-editor-title",
416
+ children: (0, _lang.getLocale)('Address')
417
+ })]
418
+ })
419
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
420
+ className: "dtable-ui-geolocation-map-editor no-support-tip",
421
+ children: (0, _lang.getLocale)('This_map_type_currently_does_not_support_map_point_selection')
422
+ })]
423
+ });
396
424
  }
397
- return /*#__PURE__*/_react.default.createElement(_react.Fragment, null, /*#__PURE__*/_react.default.createElement("div", {
398
- className: "dtable-ui-geolocation-map-editor-header"
399
- }, /*#__PURE__*/_react.default.createElement("div", {
400
- className: "dtable-ui-geolocation-map-editor-logo"
401
- }, /*#__PURE__*/_react.default.createElement("span", {
402
- className: "dtable-font dtable-icon-location"
403
- }), /*#__PURE__*/_react.default.createElement("span", {
404
- className: "ml-2 dtable-ui-geolocation-map-editor-title"
405
- }, (0, _lang.getLocale)('Address'))), /*#__PURE__*/_react.default.createElement("span", {
406
- className: "dtable-ui-geolocation-map-editor-screen dtable-font dtable-icon-full-screen",
407
- onClick: this.toggleFullScreen
408
- })), /*#__PURE__*/_react.default.createElement("div", {
409
- className: "dtable-ui-geolocation-map-editor selection-editor"
410
- }, !this.readOnly && /*#__PURE__*/_react.default.createElement("div", {
411
- className: "map-editor-header"
412
- }, /*#__PURE__*/_react.default.createElement("div", {
413
- className: "search-tables-container d-flex"
414
- }, /*#__PURE__*/_react.default.createElement("input", {
415
- type: "text",
416
- value: inputValue,
417
- onKeyDown: this.onKeyDown,
418
- onChange: this.onChange,
419
- className: "form-control selection-input",
420
- placeholder: (0, _lang.getLocale)('Please_enter_the_address'),
421
- autoFocus: true
422
- }), inputValue && /*#__PURE__*/_react.default.createElement("span", {
423
- className: "clear-search-numerical dtable-font dtable-icon-x-",
424
- onClick: this.clearSearchNumerical
425
- }), /*#__PURE__*/_react.default.createElement("span", {
426
- className: "dtable-ui-geolocation-search-selection-editor",
427
- onClick: this.onSearch
428
- }, /*#__PURE__*/_react.default.createElement("i", {
429
- className: "dtable-font dtable-icon-search"
430
- })))), /*#__PURE__*/_react.default.createElement("div", {
431
- className: this.readOnly ? 'geolocation-map-selection-read-only-container' : 'geolocation-map-selection-container'
432
- }, this.mapType && isLoading && /*#__PURE__*/_react.default.createElement(_Loading.default, null), !this.mapType && /*#__PURE__*/_react.default.createElement("div", {
433
- className: "dtable-ui-geolocation-map-editor-error-message d-flex justify-content-center mt-9"
434
- }, /*#__PURE__*/_react.default.createElement("span", {
435
- className: "alert-danger"
436
- }, (0, _lang.getLocale)('The_map_plugin_is_not_properly_configured_contact_the_administrator'))), !isLoading && this.mapType && /*#__PURE__*/_react.default.createElement("div", {
437
- className: "w-100 h-100",
438
- ref: ref => this.ref = ref,
439
- id: "geolocation-map-selection-container"
440
- })), /*#__PURE__*/_react.default.createElement("div", {
441
- className: "geolocation-map-controller"
442
- }, /*#__PURE__*/_react.default.createElement("div", {
443
- className: "dtable-ui-geolocation-locate-control",
444
- onClick: this.onLocateCurrentPosition
445
- }, /*#__PURE__*/_react.default.createElement("i", {
446
- className: "dtable-font dtable-icon-current-location"
447
- })), /*#__PURE__*/_react.default.createElement("div", {
448
- className: "dtable-ui-geolocation-zoom-control"
449
- }, /*#__PURE__*/_react.default.createElement("div", {
450
- className: "dtable-ui-geolocation-zoom-control-btn",
451
- onClick: this.onZoomIn
452
- }, /*#__PURE__*/_react.default.createElement("i", {
453
- "aria-hidden": "true",
454
- className: "dtable-font dtable-icon-enlarge"
455
- })), /*#__PURE__*/_react.default.createElement("div", {
456
- className: "dtable-ui-geolocation-zoom-control-btn",
457
- onClick: this.onZoomOut
458
- }, /*#__PURE__*/_react.default.createElement("i", {
459
- "aria-hidden": "true",
460
- className: "dtable-font dtable-icon-narrow"
461
- })))), this.renderSearchResults()));
425
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_react.Fragment, {
426
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
427
+ className: "dtable-ui-geolocation-map-editor-header",
428
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
429
+ className: "dtable-ui-geolocation-map-editor-logo",
430
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
431
+ className: "dtable-font dtable-icon-location"
432
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
433
+ className: "ml-2 dtable-ui-geolocation-map-editor-title",
434
+ children: (0, _lang.getLocale)('Address')
435
+ })]
436
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
437
+ className: "dtable-ui-geolocation-map-editor-screen dtable-font dtable-icon-full-screen",
438
+ onClick: this.toggleFullScreen
439
+ })]
440
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
441
+ className: "dtable-ui-geolocation-map-editor selection-editor",
442
+ children: [!this.readOnly && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
443
+ className: "map-editor-header",
444
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
445
+ className: "search-tables-container d-flex",
446
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("input", {
447
+ type: "text",
448
+ value: inputValue,
449
+ onKeyDown: this.onKeyDown,
450
+ onChange: this.onChange,
451
+ className: "form-control selection-input",
452
+ placeholder: (0, _lang.getLocale)('Please_enter_the_address'),
453
+ autoFocus: true
454
+ }), inputValue && /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
455
+ className: "clear-search-numerical dtable-font dtable-icon-x-",
456
+ onClick: this.clearSearchNumerical
457
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
458
+ className: "dtable-ui-geolocation-search-selection-editor",
459
+ onClick: this.onSearch,
460
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
461
+ className: "dtable-font dtable-icon-search"
462
+ })
463
+ })]
464
+ })
465
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
466
+ className: this.readOnly ? 'geolocation-map-selection-read-only-container' : 'geolocation-map-selection-container',
467
+ children: [this.mapType && isLoading && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Loading.default, {}), !this.mapType && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
468
+ className: "dtable-ui-geolocation-map-editor-error-message d-flex justify-content-center mt-9",
469
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
470
+ className: "alert-danger",
471
+ children: (0, _lang.getLocale)('The_map_plugin_is_not_properly_configured_contact_the_administrator')
472
+ })
473
+ }), !isLoading && this.mapType && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
474
+ className: "w-100 h-100",
475
+ ref: ref => this.ref = ref,
476
+ id: "geolocation-map-selection-container"
477
+ })]
478
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
479
+ className: "geolocation-map-controller",
480
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
481
+ className: "dtable-ui-geolocation-locate-control",
482
+ onClick: this.onLocateCurrentPosition,
483
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
484
+ className: "dtable-font dtable-icon-current-location"
485
+ })
486
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
487
+ className: "dtable-ui-geolocation-zoom-control",
488
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
489
+ className: "dtable-ui-geolocation-zoom-control-btn",
490
+ onClick: this.onZoomIn,
491
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
492
+ "aria-hidden": "true",
493
+ className: "dtable-font dtable-icon-enlarge"
494
+ })
495
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
496
+ className: "dtable-ui-geolocation-zoom-control-btn",
497
+ onClick: this.onZoomOut,
498
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
499
+ "aria-hidden": "true",
500
+ className: "dtable-font dtable-icon-narrow"
501
+ })
502
+ })]
503
+ })]
504
+ }), this.renderSearchResults()]
505
+ })]
506
+ });
462
507
  }
463
508
  }
464
509
  var _default = exports.default = MapSelectionEditor;
@@ -15,6 +15,7 @@ var _cell = require("../../../../utils/cell");
15
15
  var _mapEditorUtils = require("../../../map-editor-utils");
16
16
  var _lang = require("../../../../lang");
17
17
  require("./index.css");
18
+ var _jsxRuntime = require("react/jsx-runtime");
18
19
  class LargeMapSelectionEditorDialog extends _react.default.Component {
19
20
  constructor(props) {
20
21
  super(props);
@@ -112,7 +113,7 @@ class LargeMapSelectionEditorDialog extends _react.default.Component {
112
113
  backgroundColor: '#ffffff',
113
114
  boxShadow: '1px 2px 1px rgba(0,0,0,.15)',
114
115
  padding: '3px 10px',
115
- transform: "translate(-50%, ".concat(translateY, ")"),
116
+ transform: `translate(-50%, ${translateY})`,
116
117
  borderRadius: '3px',
117
118
  fontWeight: '500',
118
119
  left: '7px'
@@ -154,9 +155,26 @@ class LargeMapSelectionEditorDialog extends _react.default.Component {
154
155
  } = value;
155
156
  const tagContent = Array.isArray(tag) && tag.length > 0 ? tag[0] : '';
156
157
  if (title) {
157
- return "\n <div class='dtable-ui-selection-label-content' id='dtable-ui-selection-label-content'>\n <i class='dtable-font dtable-icon-down3'></i>\n <span class='label-title text-truncate' title=".concat(title, ">").concat(title, "</span>\n ").concat(tagContent && "<span class='label-tag'>".concat(tagContent, "</span>"), "\n <span class='dtable-font dtable-icon-x' id='selection-label-close'></span>\n <span class='label-address-tip'>").concat((0, _lang.getLocale)('Address'), "</span>\n <span class='label-address text-truncate' title=").concat(address, ">").concat(address, "</span>\n <div class='label-submit btn btn-primary' id='selection-label-submit'>").concat((0, _lang.getLocale)('Fill_in'), "</div>\n </div>\n ");
158
+ return `
159
+ <div class='dtable-ui-selection-label-content' id='dtable-ui-selection-label-content'>
160
+ <i class='dtable-font dtable-icon-down3'></i>
161
+ <span class='label-title text-truncate' title=${title}>${title}</span>
162
+ ${tagContent && `<span class='label-tag'>${tagContent}</span>`}
163
+ <span class='dtable-font dtable-icon-x' id='selection-label-close'></span>
164
+ <span class='label-address-tip'>${(0, _lang.getLocale)('Address')}</span>
165
+ <span class='label-address text-truncate' title=${address}>${address}</span>
166
+ <div class='label-submit btn btn-primary' id='selection-label-submit'>${(0, _lang.getLocale)('Fill_in')}</div>
167
+ </div>
168
+ `;
158
169
  } else {
159
- return "\n <div class='dtable-ui-selection-label-content simple' id='dtable-ui-selection-label-content'>\n <i class='dtable-font dtable-icon-down3'></i>\n <span class='dtable-font dtable-icon-x' id='selection-label-close'></span>\n <span class='label-address text-truncate simple' title=".concat(address, ">").concat(address, "</span>\n <div class='label-submit btn btn-primary' id='selection-label-submit'>").concat((0, _lang.getLocale)('Fill_in'), "</div>\n </div>\n ");
170
+ return `
171
+ <div class='dtable-ui-selection-label-content simple' id='dtable-ui-selection-label-content'>
172
+ <i class='dtable-font dtable-icon-down3'></i>
173
+ <span class='dtable-font dtable-icon-x' id='selection-label-close'></span>
174
+ <span class='label-address text-truncate simple' title=${address}>${address}</span>
175
+ <div class='label-submit btn btn-primary' id='selection-label-submit'>${(0, _lang.getLocale)('Fill_in')}</div>
176
+ </div>
177
+ `;
160
178
  }
161
179
  };
162
180
  this.getInitValue = () => {
@@ -250,19 +268,22 @@ class LargeMapSelectionEditorDialog extends _react.default.Component {
250
268
  searchResults
251
269
  } = this.state;
252
270
  if (searchResults.length === 0) return null;
253
- return /*#__PURE__*/_react.default.createElement("div", {
254
- className: "search-results-container"
255
- }, searchResults.map((result, index) => {
256
- return /*#__PURE__*/_react.default.createElement("div", {
257
- className: "search-result-item",
258
- key: index,
259
- onClick: this.onClickSelection.bind(this, result)
260
- }, /*#__PURE__*/_react.default.createElement("span", {
261
- className: "search-result-item-title"
262
- }, result.title || ''), /*#__PURE__*/_react.default.createElement("span", {
263
- className: "search-result-item-address"
264
- }, result.address || ''));
265
- }));
271
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
272
+ className: "search-results-container",
273
+ children: searchResults.map((result, index) => {
274
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
275
+ className: "search-result-item",
276
+ onClick: this.onClickSelection.bind(this, result),
277
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
278
+ className: "search-result-item-title",
279
+ children: result.title || ''
280
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
281
+ className: "search-result-item-address",
282
+ children: result.address || ''
283
+ })]
284
+ }, index);
285
+ })
286
+ });
266
287
  };
267
288
  this.handlerClick = e => {
268
289
  e.nativeEvent.stopImmediatePropagation();
@@ -370,78 +391,94 @@ class LargeMapSelectionEditorDialog extends _react.default.Component {
370
391
  isLoading,
371
392
  inputValue
372
393
  } = this.state;
373
- return /*#__PURE__*/_react.default.createElement(_reactstrap.Modal, {
394
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactstrap.Modal, {
374
395
  size: "lg",
375
396
  isOpen: true,
376
397
  toggle: this.toggle,
377
- className: "dtable-ui-large-map-editor-dialog"
378
- }, /*#__PURE__*/_react.default.createElement("div", {
379
- className: "dtable-ui-geolocation-map-editor-header",
380
- onClick: this.handlerClick
381
- }, /*#__PURE__*/_react.default.createElement("div", {
382
- className: "dtable-ui-geolocation-map-editor-logo"
383
- }, /*#__PURE__*/_react.default.createElement("span", {
384
- className: "dtable-font dtable-icon-location"
385
- }), /*#__PURE__*/_react.default.createElement("span", {
386
- className: "ml-2 dtable-ui-geolocation-map-editor-title"
387
- }, (0, _lang.getLocale)('Address'))), /*#__PURE__*/_react.default.createElement("span", {
388
- className: "dtable-ui-geolocation-map-editor-screen dtable-font dtable-icon-full-screen",
389
- onClick: this.toggle
390
- })), /*#__PURE__*/_react.default.createElement("div", {
391
- className: "dtable-ui-geolocation-map-editor-large selection-editor-large",
392
- onClick: this.handlerClick
393
- }, !this.readOnly && /*#__PURE__*/_react.default.createElement("div", {
394
- className: "map-editor-header"
395
- }, /*#__PURE__*/_react.default.createElement("div", {
396
- className: "search-tables-container d-flex"
397
- }, /*#__PURE__*/_react.default.createElement("input", {
398
- type: "text",
399
- value: inputValue,
400
- onChange: this.onChange,
401
- onKeyDown: this.onKeyDown,
402
- className: "form-control selection-input-large",
403
- placeholder: (0, _lang.getLocale)('Please_enter_the_address'),
404
- autoFocus: true
405
- }), inputValue && /*#__PURE__*/_react.default.createElement("span", {
406
- className: "clear-search-numerical dtable-font dtable-icon-x-",
407
- onClick: this.clearSearchNumerical
408
- }), /*#__PURE__*/_react.default.createElement("span", {
409
- className: "dtable-ui-geolocation-search-selection-editor",
410
- onClick: this.onSearch
411
- }, /*#__PURE__*/_react.default.createElement("i", {
412
- className: "dtable-font dtable-icon-search"
413
- })))), /*#__PURE__*/_react.default.createElement("div", {
414
- className: this.readOnly ? 'geolocation-map-read-only-container' : 'geolocation-map-container-large'
415
- }, this.mapType && isLoading && /*#__PURE__*/_react.default.createElement(_Loading.default, null), !this.mapType && /*#__PURE__*/_react.default.createElement("div", {
416
- className: "dtable-ui-geolocation-map-editor-error-message d-flex justify-content-center mt-9"
417
- }, /*#__PURE__*/_react.default.createElement("span", {
418
- className: "alert-danger"
419
- }, (0, _lang.getLocale)('The_map_plugin_is_not_properly_configured_contact_the_administrator'))), !isLoading && this.mapType && /*#__PURE__*/_react.default.createElement("div", {
420
- className: "w-100 h-100",
421
- ref: ref => this.ref = ref,
422
- id: "geolocation-map-selection-container-large"
423
- })), /*#__PURE__*/_react.default.createElement("div", {
424
- className: "geolocation-map-controller"
425
- }, /*#__PURE__*/_react.default.createElement("div", {
426
- className: "dtable-ui-geolocation-locate-control",
427
- onClick: this.onLocateCurrentPosition
428
- }, /*#__PURE__*/_react.default.createElement("i", {
429
- className: "dtable-font dtable-icon-current-location"
430
- })), /*#__PURE__*/_react.default.createElement("div", {
431
- className: "dtable-ui-geolocation-zoom-control"
432
- }, /*#__PURE__*/_react.default.createElement("div", {
433
- className: "dtable-ui-geolocation-zoom-control-btn",
434
- onClick: this.onZoomIn
435
- }, /*#__PURE__*/_react.default.createElement("i", {
436
- "aria-hidden": "true",
437
- className: "dtable-font dtable-icon-enlarge"
438
- })), /*#__PURE__*/_react.default.createElement("div", {
439
- className: "dtable-ui-geolocation-zoom-control-btn",
440
- onClick: this.onZoomOut
441
- }, /*#__PURE__*/_react.default.createElement("i", {
442
- "aria-hidden": "true",
443
- className: "dtable-font dtable-icon-narrow"
444
- })))), this.renderSearchResults()));
398
+ className: "dtable-ui-large-map-editor-dialog",
399
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
400
+ className: "dtable-ui-geolocation-map-editor-header",
401
+ onClick: this.handlerClick,
402
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
403
+ className: "dtable-ui-geolocation-map-editor-logo",
404
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
405
+ className: "dtable-font dtable-icon-location"
406
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
407
+ className: "ml-2 dtable-ui-geolocation-map-editor-title",
408
+ children: (0, _lang.getLocale)('Address')
409
+ })]
410
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
411
+ className: "dtable-ui-geolocation-map-editor-screen dtable-font dtable-icon-full-screen",
412
+ onClick: this.toggle
413
+ })]
414
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
415
+ className: "dtable-ui-geolocation-map-editor-large selection-editor-large",
416
+ onClick: this.handlerClick,
417
+ children: [!this.readOnly && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
418
+ className: "map-editor-header",
419
+ children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
420
+ className: "search-tables-container d-flex",
421
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("input", {
422
+ type: "text",
423
+ value: inputValue,
424
+ onChange: this.onChange,
425
+ onKeyDown: this.onKeyDown,
426
+ className: "form-control selection-input-large",
427
+ placeholder: (0, _lang.getLocale)('Please_enter_the_address'),
428
+ autoFocus: true
429
+ }), inputValue && /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
430
+ className: "clear-search-numerical dtable-font dtable-icon-x-",
431
+ onClick: this.clearSearchNumerical
432
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
433
+ className: "dtable-ui-geolocation-search-selection-editor",
434
+ onClick: this.onSearch,
435
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
436
+ className: "dtable-font dtable-icon-search"
437
+ })
438
+ })]
439
+ })
440
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
441
+ className: this.readOnly ? 'geolocation-map-read-only-container' : 'geolocation-map-container-large',
442
+ children: [this.mapType && isLoading && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Loading.default, {}), !this.mapType && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
443
+ className: "dtable-ui-geolocation-map-editor-error-message d-flex justify-content-center mt-9",
444
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
445
+ className: "alert-danger",
446
+ children: (0, _lang.getLocale)('The_map_plugin_is_not_properly_configured_contact_the_administrator')
447
+ })
448
+ }), !isLoading && this.mapType && /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
449
+ className: "w-100 h-100",
450
+ ref: ref => this.ref = ref,
451
+ id: "geolocation-map-selection-container-large"
452
+ })]
453
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
454
+ className: "geolocation-map-controller",
455
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
456
+ className: "dtable-ui-geolocation-locate-control",
457
+ onClick: this.onLocateCurrentPosition,
458
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
459
+ className: "dtable-font dtable-icon-current-location"
460
+ })
461
+ }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
462
+ className: "dtable-ui-geolocation-zoom-control",
463
+ children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
464
+ className: "dtable-ui-geolocation-zoom-control-btn",
465
+ onClick: this.onZoomIn,
466
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
467
+ "aria-hidden": "true",
468
+ className: "dtable-font dtable-icon-enlarge"
469
+ })
470
+ }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
471
+ className: "dtable-ui-geolocation-zoom-control-btn",
472
+ onClick: this.onZoomOut,
473
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)("i", {
474
+ "aria-hidden": "true",
475
+ className: "dtable-font dtable-icon-narrow"
476
+ })
477
+ })]
478
+ })]
479
+ }), this.renderSearchResults()]
480
+ })]
481
+ });
445
482
  }
446
483
  }
447
484
  var _default = exports.default = LargeMapSelectionEditorDialog;