dtable-ui-component 7.0.13 → 7.0.15

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 (308) hide show
  1. package/lib/ActionSheet/index.js +58 -49
  2. package/lib/ActivityIndicator/index.js +17 -16
  3. package/lib/AsyncUserSelect/index.js +20 -46
  4. package/lib/AsyncUserSelect/user-item.js +6 -5
  5. package/lib/AutoNumberFormatter/index.js +4 -3
  6. package/lib/Badge/index.js +27 -29
  7. package/lib/ButtonFormatter/index.js +8 -6
  8. package/lib/CTimeFormatter/index.js +4 -3
  9. package/lib/CheckboxEditor/index.js +16 -13
  10. package/lib/CheckboxEditor/mb-editor.js +20 -9
  11. package/lib/CheckboxEditor/pc-editor.js +24 -12
  12. package/lib/CheckboxFormatter/index.js +5 -4
  13. package/lib/CollaboratorEditor/index.js +17 -14
  14. package/lib/CollaboratorEditor/mb-editor/index.js +19 -11
  15. package/lib/CollaboratorEditor/pc-editor/index.js +35 -26
  16. package/lib/CollaboratorFormatter/index.js +10 -8
  17. package/lib/CollaboratorItem/index.js +5 -4
  18. package/lib/CollapsibleSettingLayout/index.js +8 -10
  19. package/lib/Comment/body/comment.js +19 -11
  20. package/lib/Comment/body/index.js +8 -8
  21. package/lib/Comment/footer/btns/index.js +7 -4
  22. package/lib/Comment/footer/index.js +21 -10
  23. package/lib/Comment/footer/input/index.js +55 -34
  24. package/lib/Comment/footer/input/participant/index.js +6 -5
  25. package/lib/Comment/footer/participants/index.js +5 -4
  26. package/lib/Comment/footer/participants/participant/index.js +3 -1
  27. package/lib/Comment/footer/participants/participant-select/index.js +26 -10
  28. package/lib/Comment/index.js +57 -39
  29. package/lib/Comment/utils/utilities.js +22 -16
  30. package/lib/CreatorFormatter/index.js +8 -6
  31. package/lib/DTableColorPicker/ColorPickerPortal/index.js +26 -28
  32. package/lib/DTableColorPicker/index.js +53 -67
  33. package/lib/DTableColorPicker/utils.js +7 -5
  34. package/lib/DTableColumnIcon/index.js +7 -6
  35. package/lib/DTableCommonAddTool/index.js +10 -8
  36. package/lib/DTableCustomFooter/index.js +3 -1
  37. package/lib/DTableCustomizeSearchInput/index.js +41 -26
  38. package/lib/DTableCustomizeSelect/index.js +24 -19
  39. package/lib/DTableDropdownItem/index.js +28 -24
  40. package/lib/DTableDropdownMenu/index.js +17 -14
  41. package/lib/DTableEmptyTip/index.js +5 -4
  42. package/lib/DTableFiltersPopover/index.js +42 -27
  43. package/lib/DTableFiltersPopover/utils/filter-item-utils.js +3 -1
  44. package/lib/DTableFiltersPopover/utils/index.js +114 -64
  45. package/lib/DTableFiltersPopover/widgets/collaborator-filter/index.js +9 -8
  46. package/lib/DTableFiltersPopover/widgets/department-select-filter/department-multiple-select-filter.js +13 -16
  47. package/lib/DTableFiltersPopover/widgets/department-select-filter/department-single-select-filter.js +15 -18
  48. package/lib/DTableFiltersPopover/widgets/filter-calendar.js +14 -8
  49. package/lib/DTableFiltersPopover/widgets/filter-group.js +57 -36
  50. package/lib/DTableFiltersPopover/widgets/filter-item.js +165 -106
  51. package/lib/DTableFiltersPopover/widgets/filter-list/index.js +162 -137
  52. package/lib/DTableFiltersPopover/widgets/rate-item.js +25 -20
  53. package/lib/DTableIcon/index.js +11 -10
  54. package/lib/DTableIcon/svg-icon.js +11 -9
  55. package/lib/DTableModalHeader/index.js +7 -7
  56. package/lib/DTablePopover/index.js +16 -12
  57. package/lib/DTableRadio/index.js +9 -10
  58. package/lib/DTableRadioGroup/index.js +20 -11
  59. package/lib/DTableSearchInput/index.js +29 -19
  60. package/lib/DTableSelect/dtable-select-label.js +6 -7
  61. package/lib/DTableSelect/index.js +26 -25
  62. package/lib/DTableSelect/select-dropdown-indicator/index.js +3 -1
  63. package/lib/DTableSelect/utils.js +83 -47
  64. package/lib/DTableSubDropdownMenu/index.js +16 -12
  65. package/lib/DTableSubDropdownToggle/index.js +16 -17
  66. package/lib/DTableSwitch/index.js +11 -12
  67. package/lib/DTableToolTip/index.js +12 -11
  68. package/lib/DateEditor/index.js +28 -30
  69. package/lib/DateEditor/mb-editor/index.js +31 -18
  70. package/lib/DateEditor/pc-editor.js +46 -27
  71. package/lib/DateFormatter/index.js +5 -4
  72. package/lib/DatePicker/index.js +15 -9
  73. package/lib/DatePicker/utils.js +7 -5
  74. package/lib/DeleteTip/index.js +6 -5
  75. package/lib/DepartmentMultipleSelectEditor/index.js +26 -28
  76. package/lib/DepartmentSelectFilter/index.js +13 -8
  77. package/lib/DepartmentSingleSelectEditor/index.js +16 -13
  78. package/lib/DepartmentSingleSelectEditor/mb-editor/index.js +49 -50
  79. package/lib/DepartmentSingleSelectEditor/pc-editor/department-single-select.js +64 -42
  80. package/lib/DepartmentSingleSelectEditor/pc-editor/index.js +19 -13
  81. package/lib/DepartmentSingleSelectFormatter/index.js +6 -4
  82. package/lib/DigitalSignEditor/index.js +16 -13
  83. package/lib/DigitalSignEditor/mb-editor/index.js +24 -16
  84. package/lib/DigitalSignEditor/pc-editor/index.js +31 -23
  85. package/lib/DigitalSignEditor/service.js +5 -3
  86. package/lib/DigitalSignEditor/signature-board/index.js +10 -7
  87. package/lib/DigitalSignEditor/utils.js +4 -2
  88. package/lib/DigitalSignFormatter/index.js +15 -12
  89. package/lib/DigitalSignFormatter/utils.js +6 -5
  90. package/lib/Drawer/index.js +3 -2
  91. package/lib/DurationEditor/index.js +31 -21
  92. package/lib/DurationFormatter/index.js +5 -4
  93. package/lib/EditEditorButton/index.js +3 -1
  94. package/lib/EmailFormatter/index.js +4 -3
  95. package/lib/FieldDisplaySetting/field-item.js +13 -13
  96. package/lib/FieldDisplaySetting/index.js +20 -20
  97. package/lib/FileEditor/files-previewer/index.js +16 -13
  98. package/lib/FileEditor/files-previewer/mb-previewer/file-previewer/index.js +20 -12
  99. package/lib/FileEditor/files-previewer/mb-previewer/index.js +8 -7
  100. package/lib/FileEditor/files-previewer/pc-previewer/file-previewer/dropdown-menu.js +4 -3
  101. package/lib/FileEditor/files-previewer/pc-previewer/file-previewer/file-name-editor/index.js +6 -5
  102. package/lib/FileEditor/files-previewer/pc-previewer/file-previewer/index.js +24 -17
  103. package/lib/FileEditor/files-previewer/pc-previewer/index.js +57 -29
  104. package/lib/FileEditor/index.js +16 -13
  105. package/lib/FileEditor/mb-editor/index.js +20 -28
  106. package/lib/FileEditor/pc-editor/addition-previewer/index.js +4 -2
  107. package/lib/FileEditor/pc-editor/addition-previewer/local-file-addition/index.js +31 -17
  108. package/lib/FileEditor/pc-editor/index.js +30 -22
  109. package/lib/FileFormatter/index.js +20 -27
  110. package/lib/FileItemFormatter/index.js +10 -7
  111. package/lib/FileUploader/index.js +46 -29
  112. package/lib/FormulaFormatter/index.js +44 -24
  113. package/lib/GeolocationEditor/index.js +32 -27
  114. package/lib/GeolocationEditor/map-editor-utils.js +23 -21
  115. package/lib/GeolocationEditor/mb-editor/country-editor.js +14 -17
  116. package/lib/GeolocationEditor/mb-editor/index.js +28 -22
  117. package/lib/GeolocationEditor/mb-editor/location-editor.js +15 -18
  118. package/lib/GeolocationEditor/mb-editor/map-editor/index.js +77 -47
  119. package/lib/GeolocationEditor/mb-editor/map-selection-editor/index.js +89 -50
  120. package/lib/GeolocationEditor/mb-editor/province-city-editor.js +14 -17
  121. package/lib/GeolocationEditor/mb-editor/province-editor.js +14 -17
  122. package/lib/GeolocationEditor/pc-editor/country-editor.js +25 -12
  123. package/lib/GeolocationEditor/pc-editor/index.js +41 -27
  124. package/lib/GeolocationEditor/pc-editor/location-editor.js +33 -28
  125. package/lib/GeolocationEditor/pc-editor/map-editor/index.js +67 -43
  126. package/lib/GeolocationEditor/pc-editor/map-editor/large-editor/index.js +69 -42
  127. package/lib/GeolocationEditor/pc-editor/map-selection-editor/index.js +86 -42
  128. package/lib/GeolocationEditor/pc-editor/map-selection-editor/large-editor/index.js +85 -39
  129. package/lib/GeolocationEditor/pc-editor/province-city-editor.js +26 -20
  130. package/lib/GeolocationEditor/pc-editor/province-editor.js +15 -8
  131. package/lib/GeolocationEditor/pc-editor/selector-header-item.js +6 -5
  132. package/lib/GeolocationEditor/pc-editor/selector-list.js +8 -7
  133. package/lib/GeolocationFormatter/index.js +5 -4
  134. package/lib/HtmlLongTextFormatter/index.js +13 -5
  135. package/lib/Icon/index.js +13 -15
  136. package/lib/Icon/load-sprite.js +13 -2
  137. package/lib/IconButton/index.js +12 -13
  138. package/lib/ImageEditor/images-previewer/image-preview/index.js +22 -13
  139. package/lib/ImageEditor/images-previewer/index.js +9 -3
  140. package/lib/ImageEditor/index.js +16 -13
  141. package/lib/ImageEditor/mb-editor/index.js +20 -28
  142. package/lib/ImageEditor/pc-editor/addition-previewer/image-link/index.js +6 -2
  143. package/lib/ImageEditor/pc-editor/addition-previewer/index.js +5 -3
  144. package/lib/ImageEditor/pc-editor/addition-previewer/local-image-addition/index.js +26 -12
  145. package/lib/ImageEditor/pc-editor/images-previewer/index.js +10 -4
  146. package/lib/ImageEditor/pc-editor/index.js +16 -11
  147. package/lib/ImageFormatter/images-lazy-load.js +11 -19
  148. package/lib/ImageFormatter/index.js +14 -12
  149. package/lib/ImagePreviewerLightbox/index.js +15 -19
  150. package/lib/ImageThumbnail/index.js +15 -12
  151. package/lib/InputItem/custom-input.js +55 -35
  152. package/lib/InputItem/custom-keyboard.js +42 -42
  153. package/lib/InputItem/index.js +82 -63
  154. package/lib/InputItem/input.js +9 -11
  155. package/lib/LastModifierFormatter/index.js +8 -6
  156. package/lib/LinkEditor/index.js +53 -33
  157. package/lib/LinkEditor/link-editor-option.js +4 -3
  158. package/lib/LinkEditor/mb-popover/index.js +22 -9
  159. package/lib/LinkEditor/pc-popover/index.js +13 -7
  160. package/lib/LinkFormatter/index.js +37 -21
  161. package/lib/List/index.js +17 -19
  162. package/lib/List/list-item.js +59 -55
  163. package/lib/LongTextFormatter/index.js +5 -4
  164. package/lib/MBEditorHeader/index.js +9 -8
  165. package/lib/MTimeFormatter/index.js +4 -3
  166. package/lib/MobileFullScreenPage/body/index.js +6 -4
  167. package/lib/MobileFullScreenPage/header/index.js +10 -8
  168. package/lib/MobileFullScreenPage/index.js +12 -14
  169. package/lib/MobileModal/index.js +7 -8
  170. package/lib/MobileOperationSheet/index.js +8 -7
  171. package/lib/MobileSelector/empty/index.js +3 -1
  172. package/lib/MobileSelector/index.js +7 -5
  173. package/lib/MobileSelector/option/index.js +5 -3
  174. package/lib/MobileSelector/options/index.css +0 -4
  175. package/lib/MobileSelector/options/index.js +3 -1
  176. package/lib/MobileSelector/search/index.js +5 -3
  177. package/lib/MobileUpload/index.js +5 -4
  178. package/lib/Modal/alert.js +2 -2
  179. package/lib/Modal/modal.js +28 -30
  180. package/lib/Modal/prompt.js +14 -14
  181. package/lib/MultipleSelectEditor/index.js +7 -7
  182. package/lib/MultipleSelectFormatter/index.js +9 -7
  183. package/lib/NotificationPopover/index.js +5 -4
  184. package/lib/NumberEditor/index.js +21 -12
  185. package/lib/NumberFormatter/index.js +5 -4
  186. package/lib/PhoneNumberLink/index.js +5 -3
  187. package/lib/Picker/AbstractPicker.js +35 -33
  188. package/lib/Popover/index.js +9 -11
  189. package/lib/Popover/item.js +22 -24
  190. package/lib/Progress/index.js +18 -17
  191. package/lib/Radio/Radio.js +17 -15
  192. package/lib/Radio/RadioItem.js +23 -19
  193. package/lib/RateFormatter/index.js +15 -15
  194. package/lib/RoleStatusEditor/index.js +18 -19
  195. package/lib/RowExpand/index.js +7 -6
  196. package/lib/RowExpandDialog/body/index.js +57 -40
  197. package/lib/RowExpandDialog/column-content/index.js +10 -6
  198. package/lib/RowExpandDialog/header/index.js +12 -9
  199. package/lib/RowExpandDialog/index.js +59 -63
  200. package/lib/RowExpandEditor/add-btn/index.js +7 -6
  201. package/lib/RowExpandEditor/checkbox-editor/index.js +7 -6
  202. package/lib/RowExpandEditor/checkbox-editor/mb-editor/index.js +5 -4
  203. package/lib/RowExpandEditor/checkbox-editor/pc-editor.js +10 -8
  204. package/lib/RowExpandEditor/collaborator-editor/index.js +7 -6
  205. package/lib/RowExpandEditor/collaborator-editor/mb-editor/index.js +33 -22
  206. package/lib/RowExpandEditor/collaborator-editor/pc-editor/index.js +40 -26
  207. package/lib/RowExpandEditor/date-editor/index.js +7 -6
  208. package/lib/RowExpandEditor/date-editor/mb-editor.js +18 -12
  209. package/lib/RowExpandEditor/date-editor/pc-editor.js +20 -15
  210. package/lib/RowExpandEditor/department-editor/index.js +7 -6
  211. package/lib/RowExpandEditor/department-editor/mb-editor.js +11 -16
  212. package/lib/RowExpandEditor/department-editor/pc-editor.js +14 -19
  213. package/lib/RowExpandEditor/digital-sign-editor/index.js +7 -6
  214. package/lib/RowExpandEditor/digital-sign-editor/mb-editor/index.js +38 -24
  215. package/lib/RowExpandEditor/digital-sign-editor/pc-editor/index.js +39 -25
  216. package/lib/RowExpandEditor/duration-editor/index.js +7 -6
  217. package/lib/RowExpandEditor/duration-editor/mb-editor.js +17 -10
  218. package/lib/RowExpandEditor/duration-editor/pc-editor.js +19 -13
  219. package/lib/RowExpandEditor/email-editor/index.js +7 -6
  220. package/lib/RowExpandEditor/email-editor/mb-editor/index.js +20 -10
  221. package/lib/RowExpandEditor/email-editor/pc-editor/index.js +25 -14
  222. package/lib/RowExpandEditor/file-editor/index.js +7 -6
  223. package/lib/RowExpandEditor/file-editor/mb-editor/index.js +31 -18
  224. package/lib/RowExpandEditor/file-editor/pc-editor/index.js +23 -16
  225. package/lib/RowExpandEditor/geolocation-editor/index.js +7 -6
  226. package/lib/RowExpandEditor/geolocation-editor/mb-editor/index.js +29 -17
  227. package/lib/RowExpandEditor/geolocation-editor/pc-editor/index.js +26 -13
  228. package/lib/RowExpandEditor/image-editor/index.js +7 -6
  229. package/lib/RowExpandEditor/image-editor/mb-editor/index.js +26 -16
  230. package/lib/RowExpandEditor/image-editor/pc-editor/index.js +24 -14
  231. package/lib/RowExpandEditor/index.js +16 -11
  232. package/lib/RowExpandEditor/long-text-editor/index.js +7 -6
  233. package/lib/RowExpandEditor/long-text-editor/mb-editor/editor/index.js +18 -17
  234. package/lib/RowExpandEditor/long-text-editor/mb-editor/index.js +16 -10
  235. package/lib/RowExpandEditor/long-text-editor/pc-editor/index.js +23 -16
  236. package/lib/RowExpandEditor/multiple-select-editor/index.js +7 -6
  237. package/lib/RowExpandEditor/multiple-select-editor/mb-editor/index.js +20 -12
  238. package/lib/RowExpandEditor/multiple-select-editor/pc-editor/index.js +38 -27
  239. package/lib/RowExpandEditor/number-editor/index.js +7 -6
  240. package/lib/RowExpandEditor/number-editor/mb-editor/index.js +14 -8
  241. package/lib/RowExpandEditor/number-editor/pc-editor.js +20 -13
  242. package/lib/RowExpandEditor/rate-editor/index.js +7 -6
  243. package/lib/RowExpandEditor/rate-editor/mb-editor.js +26 -13
  244. package/lib/RowExpandEditor/rate-editor/pc-editor.js +41 -25
  245. package/lib/RowExpandEditor/single-select-editor/index.js +7 -6
  246. package/lib/RowExpandEditor/single-select-editor/mb-editor/index.js +32 -21
  247. package/lib/RowExpandEditor/single-select-editor/pc-editor/index.js +37 -25
  248. package/lib/RowExpandEditor/text-editor/index.js +7 -6
  249. package/lib/RowExpandEditor/text-editor/mb-editor/index.js +5 -4
  250. package/lib/RowExpandEditor/text-editor/pc-editor/index.js +26 -15
  251. package/lib/RowExpandEditor/url-editor/index.js +7 -6
  252. package/lib/RowExpandEditor/url-editor/mb-editor/index.js +15 -7
  253. package/lib/RowExpandEditor/url-editor/pc-editor/index.js +20 -11
  254. package/lib/RowExpandFormatter/department-formatter/index.js +6 -3
  255. package/lib/RowExpandFormatter/department-formatter/mb-formatter.js +4 -2
  256. package/lib/RowExpandFormatter/department-formatter/pc-formatter.js +4 -2
  257. package/lib/RowExpandFormatter/email-formatter/index.js +8 -5
  258. package/lib/RowExpandFormatter/file-formatter/index.js +9 -8
  259. package/lib/RowExpandFormatter/file-formatter/row-expand-file-item-formatter.js +14 -12
  260. package/lib/RowExpandFormatter/formula-formatter/index.js +51 -30
  261. package/lib/RowExpandFormatter/image-formatter/index.js +11 -9
  262. package/lib/RowExpandFormatter/image-formatter/row-expand-image-item-formatter.js +10 -9
  263. package/lib/RowExpandFormatter/index.js +52 -34
  264. package/lib/RowExpandFormatter/link-formatter/collaborator-item-formatter.js +15 -9
  265. package/lib/RowExpandFormatter/link-formatter/index.js +25 -17
  266. package/lib/RowExpandFormatter/link-formatter/value-display-utils.js +5 -3
  267. package/lib/RowExpandFormatter/rate-formatter/index.js +14 -13
  268. package/lib/RowExpandFormatter/text/index.js +5 -4
  269. package/lib/RowExpandFormatter/url-formatter/index.js +9 -6
  270. package/lib/RowExpandView/body/index.js +43 -32
  271. package/lib/RowExpandView/column-content/index.js +7 -3
  272. package/lib/RowExpandView/index.js +52 -53
  273. package/lib/SelectItem/index.js +7 -5
  274. package/lib/SelectOptionGroup/index.js +40 -30
  275. package/lib/SelectedDepartments/index.js +12 -10
  276. package/lib/SimpleLongTextFormatter/index.js +18 -12
  277. package/lib/SimpleLongTextFormatter/normalize-long-text-value.js +4 -3
  278. package/lib/SimpleLongTextFormatter/widgets/LongTextPreview.js +21 -12
  279. package/lib/SimpleLongTextFormatter/widgets/dtable-markdown-viewer.js +4 -3
  280. package/lib/SingleSelectEditor/index.js +7 -7
  281. package/lib/SingleSelectFormatter/index.js +9 -8
  282. package/lib/TabBar/Tab.js +26 -24
  283. package/lib/TabBar/index.js +28 -24
  284. package/lib/Tabs/index.js +13 -10
  285. package/lib/TextEditor/index.js +23 -14
  286. package/lib/TextFormatter/index.js +4 -3
  287. package/lib/TextareaItem/index.js +53 -48
  288. package/lib/Toast/index.js +9 -8
  289. package/lib/UrlFormatter/index.js +4 -3
  290. package/lib/common/editor-base.js +12 -7
  291. package/lib/formatterConfig/index.js +3 -3
  292. package/lib/hooks/common-hooks.js +4 -2
  293. package/lib/select-editor/index.js +16 -13
  294. package/lib/select-editor/mb-editor/index.js +28 -17
  295. package/lib/select-editor/pc-editor/index.js +47 -32
  296. package/lib/toaster/alert.js +8 -7
  297. package/lib/toaster/toast.js +4 -3
  298. package/lib/toaster/toastManager.js +13 -13
  299. package/lib/toaster/toaster.js +12 -9
  300. package/lib/utils/cell.js +11 -8
  301. package/lib/utils/class.js +3 -3
  302. package/lib/utils/column-utils.js +14 -8
  303. package/lib/utils/departments.js +6 -5
  304. package/lib/utils/getLocale.js +11 -5
  305. package/lib/utils/object-utils.js +5 -4
  306. package/lib/utils/url.js +29 -22
  307. package/lib/utils/utils.js +6 -2
  308. package/package.json +2 -2
@@ -1,11 +1,9 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
3
  Object.defineProperty(exports, "__esModule", {
5
4
  value: true
6
5
  });
7
6
  exports.locateCurrentPosition = exports.loadMapSource = exports.getMineMapUrl = exports.getMapInfo = exports.getInitCenter = exports.MAP_TYPES = exports.INPUT_MODE_MAP = exports.DOMESTIC_MAP_TYPE = void 0;
8
- var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
9
7
  const INPUT_MODE_MAP = exports.INPUT_MODE_MAP = {
10
8
  ANY_LOCATION: 'any_location',
11
9
  ONLY_MOBILE_POSITIONING: 'only_mobile_positioning'
@@ -30,19 +28,19 @@ const MINE_MAP_ONLINE_SERVICE = {
30
28
  const getMineMapUrl = function () {
31
29
  var _window;
32
30
  let config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
33
- const _window$dtable$config = (0, _objectSpread2.default)((0, _objectSpread2.default)({}, (_window = window) === null || _window === void 0 ? void 0 : _window.dtable), config),
34
- _window$dtable$config2 = _window$dtable$config.dtableMineMapCustomConfig,
35
- dtableMineMapCustomConfig = _window$dtable$config2 === void 0 ? {} : _window$dtable$config2;
36
- const _dtableMineMapCustomC = dtableMineMapCustomConfig.domain_url,
37
- domain_url = _dtableMineMapCustomC === void 0 ? '' : _dtableMineMapCustomC,
38
- _dtableMineMapCustomC2 = dtableMineMapCustomConfig.data_domain_url,
39
- data_domain_url = _dtableMineMapCustomC2 === void 0 ? '' : _dtableMineMapCustomC2,
40
- _dtableMineMapCustomC3 = dtableMineMapCustomConfig.server_domain_url,
41
- server_domain_url = _dtableMineMapCustomC3 === void 0 ? '' : _dtableMineMapCustomC3,
42
- _dtableMineMapCustomC4 = dtableMineMapCustomConfig.sprite_url,
43
- sprite_url = _dtableMineMapCustomC4 === void 0 ? '' : _dtableMineMapCustomC4,
44
- _dtableMineMapCustomC5 = dtableMineMapCustomConfig.service_url,
45
- service_url = _dtableMineMapCustomC5 === void 0 ? '' : _dtableMineMapCustomC5;
31
+ const {
32
+ dtableMineMapCustomConfig = {}
33
+ } = {
34
+ ...((_window = window) === null || _window === void 0 ? void 0 : _window.dtable),
35
+ ...config
36
+ };
37
+ const {
38
+ domain_url = '',
39
+ data_domain_url = '',
40
+ server_domain_url = '',
41
+ sprite_url = '',
42
+ service_url = ''
43
+ } = dtableMineMapCustomConfig;
46
44
  return {
47
45
  domainUrl: domain_url || MINE_MAP_ONLINE_SERVICE.DOMAIN_URL,
48
46
  dataDomainUrl: data_domain_url || MINE_MAP_ONLINE_SERVICE.DATA_DOMAIN_URL,
@@ -75,10 +73,14 @@ exports.getInitCenter = getInitCenter;
75
73
  const getMapInfo = function () {
76
74
  var _window2;
77
75
  let config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
78
- const _window$dtable$config3 = (0, _objectSpread2.default)((0, _objectSpread2.default)({}, (_window2 = window) === null || _window2 === void 0 ? void 0 : _window2.dtable), config),
79
- baiduMapKey = _window$dtable$config3.dtableBaiduMapKey,
80
- googleMapKey = _window$dtable$config3.dtableGoogleMapKey,
81
- mineMapKey = _window$dtable$config3.dtableMineMapKey;
76
+ const {
77
+ dtableBaiduMapKey: baiduMapKey,
78
+ dtableGoogleMapKey: googleMapKey,
79
+ dtableMineMapKey: mineMapKey
80
+ } = {
81
+ ...((_window2 = window) === null || _window2 === void 0 ? void 0 : _window2.dtable),
82
+ ...config
83
+ };
82
84
  let mapType;
83
85
  let mapKey;
84
86
  if (baiduMapKey) {
@@ -103,9 +105,9 @@ const loadMapSource = (mapType, mapKey, callback) => {
103
105
  let script = document.createElement('script');
104
106
  script.type = 'text/javascript';
105
107
  if (mapType === MAP_TYPES.B_MAP) {
106
- scriptUrl = "https://api.map.baidu.com/api?v=3.0&ak=".concat(mapKey, "&callback=renderBaiduMap");
108
+ scriptUrl = `https://api.map.baidu.com/api?v=3.0&ak=${mapKey}&callback=renderBaiduMap`;
107
109
  } else if (mapType === MAP_TYPES.G_MAP) {
108
- scriptUrl = "https://maps.googleapis.com/maps/api/js?key=".concat(mapKey, "&callback=renderGoogleMap&libraries=&v=weekly");
110
+ scriptUrl = `https://maps.googleapis.com/maps/api/js?key=${mapKey}&callback=renderGoogleMap&libraries=&v=weekly`;
109
111
  } else {
110
112
  scriptUrl = 'https://minemap.minedata.cn/minemapapi/v2.1.1/minemap.js';
111
113
  let link = document.createElement('link');
@@ -1,34 +1,31 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
4
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
+ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
8
  exports.default = void 0;
9
- var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
10
9
  var _react = _interopRequireWildcard(require("react"));
11
10
  var _Picker = _interopRequireDefault(require("../../Picker"));
12
11
  var _List = _interopRequireDefault(require("../../List"));
13
12
  var _MobileFullScreenPage = _interopRequireDefault(require("../../MobileFullScreenPage"));
14
13
  var _lang = require("../../lang");
15
14
  var _jsxRuntime = require("react/jsx-runtime");
16
- const Header = _MobileFullScreenPage.default.Header,
17
- Body = _MobileFullScreenPage.default.Body;
15
+ const {
16
+ Header,
17
+ Body
18
+ } = _MobileFullScreenPage.default;
18
19
  const CountryEditor = _ref => {
19
- let column = _ref.column,
20
- oldValue = _ref.value,
21
- getData = _ref.getData,
22
- onToggle = _ref.onToggle,
23
- onCommit = _ref.onCommit;
24
- const _useState = (0, _react.useState)([]),
25
- _useState2 = (0, _slicedToArray2.default)(_useState, 2),
26
- value = _useState2[0],
27
- setValue = _useState2[1];
28
- const _useState3 = (0, _react.useState)(true),
29
- _useState4 = (0, _slicedToArray2.default)(_useState3, 2),
30
- isLoading = _useState4[0],
31
- setLoading = _useState4[1];
20
+ let {
21
+ column,
22
+ value: oldValue,
23
+ getData,
24
+ onToggle,
25
+ onCommit
26
+ } = _ref;
27
+ const [value, setValue] = (0, _react.useState)([]);
28
+ const [isLoading, setLoading] = (0, _react.useState)(true);
32
29
  const locations = (0, _react.useRef)([]);
33
30
  (0, _react.useEffect)(() => {
34
31
  getData().then(data => {
@@ -6,8 +6,6 @@ Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
8
  exports.default = void 0;
9
- var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
10
- var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectWithoutProperties"));
11
9
  var _react = _interopRequireWildcard(require("react"));
12
10
  var _dtableUtils = require("dtable-utils");
13
11
  var _countryEditor = _interopRequireDefault(require("./country-editor"));
@@ -18,7 +16,6 @@ var _mapEditor = _interopRequireDefault(require("./map-editor"));
18
16
  var _mapSelectionEditor = _interopRequireDefault(require("./map-selection-editor"));
19
17
  require("./index.css");
20
18
  var _jsxRuntime = require("react/jsx-runtime");
21
- const _excluded = ["column", "config", "getLocationData", "getCountryData"];
22
19
  const transLocationData = data => {
23
20
  if (Object.prototype.toString.call(data) === '[object Object]') {
24
21
  const name = data.name;
@@ -55,11 +52,13 @@ const transCountryData = data => {
55
52
  return _data;
56
53
  };
57
54
  const MBGeolocationEditor = _ref => {
58
- let column = _ref.column,
59
- config = _ref.config,
60
- getLocationData = _ref.getLocationData,
61
- getCountryData = _ref.getCountryData,
62
- props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
55
+ let {
56
+ column,
57
+ config,
58
+ getLocationData,
59
+ getCountryData,
60
+ ...props
61
+ } = _ref;
63
62
  const format = (0, _react.useMemo)(() => {
64
63
  let data = column.data || {};
65
64
  return data.geo_format ? data.geo_format : _dtableUtils.DEFAULT_GEOLOCATION_FORMAT;
@@ -75,53 +74,60 @@ const MBGeolocationEditor = _ref => {
75
74
  switch (format) {
76
75
  case _dtableUtils.GEOLOCATION_FORMAT.LNG_LAT:
77
76
  {
78
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_mapEditor.default, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {
77
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_mapEditor.default, {
78
+ ...props,
79
79
  config: config,
80
80
  column: column
81
- }));
81
+ });
82
82
  }
83
83
  case _dtableUtils.GEOLOCATION_FORMAT.MAP_SELECTION:
84
84
  {
85
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_mapSelectionEditor.default, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {
85
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_mapSelectionEditor.default, {
86
+ ...props,
86
87
  config: config,
87
88
  column: column
88
- }));
89
+ });
89
90
  }
90
91
  case _dtableUtils.GEOLOCATION_FORMAT.COUNTRY_REGION:
91
92
  {
92
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_countryEditor.default, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {
93
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_countryEditor.default, {
94
+ ...props,
93
95
  getData: _getCountryData,
94
96
  column: column
95
- }));
97
+ });
96
98
  }
97
99
  case _dtableUtils.GEOLOCATION_FORMAT.PROVINCE:
98
100
  {
99
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_provinceEditor.default, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {
101
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_provinceEditor.default, {
102
+ ...props,
100
103
  getData: getData,
101
104
  column: column
102
- }));
105
+ });
103
106
  }
104
107
  case _dtableUtils.GEOLOCATION_FORMAT.PROVINCE_CITY:
105
108
  {
106
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_provinceCityEditor.default, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {
109
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_provinceCityEditor.default, {
110
+ ...props,
107
111
  getData: getData,
108
112
  column: column
109
- }));
113
+ });
110
114
  }
111
115
  case _dtableUtils.GEOLOCATION_FORMAT.PROVINCE_CITY_DISTRICT:
112
116
  {
113
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_locationEditor.default, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {
117
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_locationEditor.default, {
118
+ ...props,
114
119
  getData: getData,
115
120
  column: column
116
- }));
121
+ });
117
122
  }
118
123
  default:
119
124
  {
120
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_locationEditor.default, (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {
125
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_locationEditor.default, {
126
+ ...props,
121
127
  isShowDetails: true,
122
128
  getData: getData,
123
129
  column: column
124
- }));
130
+ });
125
131
  }
126
132
  }
127
133
  };
@@ -1,12 +1,11 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
4
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
+ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
8
  exports.default = void 0;
9
- var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
10
9
  var _react = _interopRequireWildcard(require("react"));
11
10
  var _InputItem = _interopRequireDefault(require("../../InputItem"));
12
11
  var _Picker = _interopRequireDefault(require("../../Picker"));
@@ -15,27 +14,25 @@ var _MobileFullScreenPage = _interopRequireDefault(require("../../MobileFullScre
15
14
  var _lang = require("../../lang");
16
15
  var _objectUtils = _interopRequireDefault(require("../../utils/object-utils"));
17
16
  var _jsxRuntime = require("react/jsx-runtime");
18
- const Header = _MobileFullScreenPage.default.Header,
19
- Body = _MobileFullScreenPage.default.Body;
17
+ const {
18
+ Header,
19
+ Body
20
+ } = _MobileFullScreenPage.default;
20
21
  const LocationEditor = _ref => {
21
- let isShowDetails = _ref.isShowDetails,
22
- column = _ref.column,
23
- oldValue = _ref.value,
24
- getData = _ref.getData,
25
- onToggle = _ref.onToggle,
26
- onCommit = _ref.onCommit;
22
+ let {
23
+ isShowDetails,
24
+ column,
25
+ value: oldValue,
26
+ getData,
27
+ onToggle,
28
+ onCommit
29
+ } = _ref;
27
30
  let initValue = [(oldValue === null || oldValue === void 0 ? void 0 : oldValue.province) || '', (oldValue === null || oldValue === void 0 ? void 0 : oldValue.city) || '', (oldValue === null || oldValue === void 0 ? void 0 : oldValue.district) || ''];
28
31
  if (isShowDetails) {
29
32
  initValue.push((oldValue === null || oldValue === void 0 ? void 0 : oldValue.detail) || '');
30
33
  }
31
- const _useState = (0, _react.useState)(initValue),
32
- _useState2 = (0, _slicedToArray2.default)(_useState, 2),
33
- value = _useState2[0],
34
- setValue = _useState2[1];
35
- const _useState3 = (0, _react.useState)(true),
36
- _useState4 = (0, _slicedToArray2.default)(_useState3, 2),
37
- isLoading = _useState4[0],
38
- setLoading = _useState4[1];
34
+ const [value, setValue] = (0, _react.useState)(initValue);
35
+ const [isLoading, setLoading] = (0, _react.useState)(true);
39
36
  const locations = (0, _react.useRef)([]);
40
37
  (0, _react.useEffect)(() => {
41
38
  getData().then(data => {
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  exports.default = void 0;
8
- var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
9
8
  var _react = _interopRequireDefault(require("react"));
10
9
  var _dtableUtils = require("dtable-utils");
11
10
  var _InputItem = _interopRequireDefault(require("../../../InputItem"));
@@ -18,20 +17,23 @@ var _Loading = _interopRequireDefault(require("../../../Loading"));
18
17
  var _objectUtils = _interopRequireDefault(require("../../../utils/object-utils"));
19
18
  require("./index.css");
20
19
  var _jsxRuntime = require("react/jsx-runtime");
21
- const Header = _MobileFullScreenPage.default.Header,
22
- Body = _MobileFullScreenPage.default.Body;
20
+ const {
21
+ Header,
22
+ Body
23
+ } = _MobileFullScreenPage.default;
23
24
  class MapEditor extends _react.default.Component {
24
25
  constructor(props) {
25
26
  super(props);
26
27
  this.loadMineMapCallBack = () => {
27
28
  if (!this.timer) {
28
29
  this.timer = setTimeout(() => {
29
- const _getMineMapUrl = (0, _mapEditorUtils.getMineMapUrl)(),
30
- domainUrl = _getMineMapUrl.domainUrl,
31
- dataDomainUrl = _getMineMapUrl.dataDomainUrl,
32
- serverDomainUrl = _getMineMapUrl.serverDomainUrl,
33
- spriteUrl = _getMineMapUrl.spriteUrl,
34
- serviceUrl = _getMineMapUrl.serviceUrl;
30
+ const {
31
+ domainUrl,
32
+ dataDomainUrl,
33
+ serverDomainUrl,
34
+ spriteUrl,
35
+ serviceUrl
36
+ } = (0, _mapEditorUtils.getMineMapUrl)();
35
37
  window.minemap.domainUrl = domainUrl;
36
38
  window.minemap.dataDomainUrl = dataDomainUrl;
37
39
  window.minemap.serverDomainUrl = serverDomainUrl;
@@ -59,11 +61,14 @@ class MapEditor extends _react.default.Component {
59
61
  minZoom: 3,
60
62
  projection: 'MERCATOR'
61
63
  });
62
- let _getInitCenter = (0, _mapEditorUtils.getInitCenter)(),
63
- lng = _getInitCenter.lng,
64
- lat = _getInitCenter.lat,
65
- zoom = _getInitCenter.zoom;
66
- const value = this.state.value;
64
+ let {
65
+ lng,
66
+ lat,
67
+ zoom
68
+ } = (0, _mapEditorUtils.getInitCenter)();
69
+ const {
70
+ value
71
+ } = this.state;
67
72
  if ((0, _cell.isValidPosition)(value.lng, value.lat)) {
68
73
  lng = value.lng;
69
74
  lat = value.lat;
@@ -87,11 +92,14 @@ class MapEditor extends _react.default.Component {
87
92
  if (!window.BMap.Map) return;
88
93
  setTimeout(() => {
89
94
  this.map = new window.BMap.Map('dtable-ui-mobile-geolocation-map-container');
90
- let _getInitCenter2 = (0, _mapEditorUtils.getInitCenter)(),
91
- lng = _getInitCenter2.lng,
92
- lat = _getInitCenter2.lat,
93
- zoom = _getInitCenter2.zoom;
94
- const value = this.state.value;
95
+ let {
96
+ lng,
97
+ lat,
98
+ zoom
99
+ } = (0, _mapEditorUtils.getInitCenter)();
100
+ const {
101
+ value
102
+ } = this.state;
95
103
  if ((0, _cell.isValidPosition)(value.lng, value.lat)) {
96
104
  lng = value.lng;
97
105
  lat = value.lat;
@@ -111,7 +119,9 @@ class MapEditor extends _react.default.Component {
111
119
  };
112
120
  this.geolocationCallback = (error, point) => {
113
121
  if (!error) {
114
- this.setValue((0, _objectSpread2.default)({}, point));
122
+ this.setValue({
123
+ ...point
124
+ });
115
125
  this.addMarkerByPosition(point.lng, point.lat);
116
126
  if (this.mapType === _mapEditorUtils.MAP_TYPES.G_MAP) {
117
127
  this.map.setCenter({
@@ -128,10 +138,11 @@ class MapEditor extends _react.default.Component {
128
138
  isLoading: false
129
139
  }, () => {
130
140
  setTimeout(() => {
131
- let _getInitCenter3 = (0, _mapEditorUtils.getInitCenter)(),
132
- lng = _getInitCenter3.lng,
133
- lat = _getInitCenter3.lat,
134
- zoom = _getInitCenter3.zoom;
141
+ let {
142
+ lng,
143
+ lat,
144
+ zoom
145
+ } = (0, _mapEditorUtils.getInitCenter)();
135
146
  this.map = new window.google.maps.Map(this.ref, {
136
147
  zoom,
137
148
  center: {
@@ -145,7 +156,9 @@ class MapEditor extends _react.default.Component {
145
156
  rotateControl: false,
146
157
  fullscreenControl: false
147
158
  });
148
- const value = this.state.value;
159
+ const {
160
+ value
161
+ } = this.state;
149
162
  if (value.lng && value.lat) {
150
163
  lng = value.lng;
151
164
  lat = value.lat;
@@ -231,13 +244,16 @@ class MapEditor extends _react.default.Component {
231
244
  });
232
245
  };
233
246
  this.onSubmit = () => {
234
- const value = this.state.value;
247
+ const {
248
+ value
249
+ } = this.state;
235
250
  if (!_objectUtils.default.isSameObject(value, this.props.value)) {
236
251
  this.props.onCommit(value);
237
252
  }
238
- const _normalizeMapPoint = (0, _dtableUtils.normalizeMapPoint)(value),
239
- lng = _normalizeMapPoint.lng,
240
- lat = _normalizeMapPoint.lat;
253
+ const {
254
+ lng,
255
+ lat
256
+ } = (0, _dtableUtils.normalizeMapPoint)(value);
241
257
  const newValue = !(0, _dtableUtils.isNumber)(lng) || !(0, _dtableUtils.isNumber)(lat) ? null : value;
242
258
  this.props.onCommit(newValue);
243
259
  this.onClose();
@@ -277,16 +293,19 @@ class MapEditor extends _react.default.Component {
277
293
  this.props.onToggle();
278
294
  };
279
295
  this.onBlur = () => {
280
- const value = this.state.value;
296
+ const {
297
+ value
298
+ } = this.state;
281
299
  const numericValue = (0, _dtableUtils.normalizeMapPoint)(value);
282
300
  this.setState({
283
301
  value: numericValue
284
302
  });
285
303
  };
286
304
  this.handleLatitudeChange = value => {
287
- const newValue = (0, _objectSpread2.default)((0, _objectSpread2.default)({}, this.state.value), {}, {
305
+ const newValue = {
306
+ ...this.state.value,
288
307
  lat: value
289
- });
308
+ };
290
309
  this.setState({
291
310
  value: newValue
292
311
  }, () => {
@@ -295,9 +314,10 @@ class MapEditor extends _react.default.Component {
295
314
  });
296
315
  };
297
316
  this.handleLongitudeChange = value => {
298
- const newValue = (0, _objectSpread2.default)((0, _objectSpread2.default)({}, this.state.value), {}, {
317
+ const newValue = {
318
+ ...this.state.value,
299
319
  lng: value
300
- });
320
+ };
301
321
  this.setState({
302
322
  value: newValue
303
323
  }, () => {
@@ -306,8 +326,10 @@ class MapEditor extends _react.default.Component {
306
326
  });
307
327
  };
308
328
  this.rerenderMapMarker = _ref => {
309
- let lng = _ref.lng,
310
- lat = _ref.lat;
329
+ let {
330
+ lng,
331
+ lat
332
+ } = _ref;
311
333
  if (!(0, _dtableUtils.isNumber)(lng) || !(0, _dtableUtils.isNumber)(lat)) {
312
334
  return;
313
335
  }
@@ -324,10 +346,11 @@ class MapEditor extends _react.default.Component {
324
346
  this.addMarkerByPosition(lng, lat);
325
347
  };
326
348
  this.renderMap = () => {
327
- const _this$state = this.state,
328
- isLoading = _this$state.isLoading,
329
- mode = _this$state.mode,
330
- lng_lat = _this$state.value;
349
+ const {
350
+ isLoading,
351
+ mode,
352
+ value: lng_lat
353
+ } = this.state;
331
354
  if (isLoading) return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
332
355
  className: "w-100 h-100 d-flex align-items-center justify-content-center",
333
356
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Loading.default, {})
@@ -420,14 +443,17 @@ class MapEditor extends _react.default.Component {
420
443
  lng: '',
421
444
  lat: ''
422
445
  };
423
- const _getMapInfo = (0, _mapEditorUtils.getMapInfo)(props.config),
424
- mapType = _getMapInfo.mapType,
425
- mapKey = _getMapInfo.mapKey;
446
+ const {
447
+ mapType,
448
+ mapKey
449
+ } = (0, _mapEditorUtils.getMapInfo)(props.config);
426
450
  this.mapType = mapType;
427
451
  this.mapKey = mapKey;
428
452
  this.map = null;
429
- const _lng = _value.lng,
430
- _lat = _value.lat;
453
+ const {
454
+ lng: _lng,
455
+ lat: _lat
456
+ } = _value;
431
457
  this.state = {
432
458
  mode: (0, _cell.isValidPosition)(_lng, _lat) ? 'preview' : 'edit',
433
459
  isLoading: true,
@@ -485,8 +511,12 @@ class MapEditor extends _react.default.Component {
485
511
  this.map = null;
486
512
  }
487
513
  render() {
488
- const column = this.props.column;
489
- const mode = this.state.mode;
514
+ const {
515
+ column
516
+ } = this.props;
517
+ const {
518
+ mode
519
+ } = this.state;
490
520
  const isEdit = mode === 'edit';
491
521
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_MobileFullScreenPage.default, {
492
522
  className: "dtable-ui-mobile-geolocation-map-editor",