dtable-ui-component 6.0.29-beta9 → 6.0.29

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 (346) hide show
  1. package/lib/ActionSheet/index.js +196 -0
  2. package/lib/ActionSheet/style/index.css +377 -0
  3. package/lib/ActivityIndicator/index.css +110 -0
  4. package/lib/ActivityIndicator/index.js +76 -0
  5. package/lib/Badge/index.css +98 -0
  6. package/lib/Badge/index.js +65 -0
  7. package/lib/CheckboxEditor/index.js +116 -24
  8. package/lib/CollaboratorEditor/index.js +11 -23
  9. package/lib/CollaboratorEditor/mb-collaborator-editor/index.css +85 -0
  10. package/lib/CollaboratorEditor/mb-collaborator-editor/index.js +148 -0
  11. package/lib/DTableCommonAddTool/index.js +3 -1
  12. package/lib/DTableFiltersPopover/widgets/department-select-filter/department-multiple-select-filter.js +6 -6
  13. package/lib/DTableFiltersPopover/widgets/department-select-filter/department-single-select-filter.js +6 -6
  14. package/lib/DateEditor/index.js +95 -69
  15. package/lib/DateEditor/mb-date-editor-popover/custom-rc-calendar.css +118 -0
  16. package/lib/DateEditor/mb-date-editor-popover/index.css +45 -0
  17. package/lib/DateEditor/mb-date-editor-popover/index.js +226 -0
  18. package/lib/DateEditor/{pc-editor.js → pc-date-editor-popover.js} +9 -9
  19. package/lib/DatePicker/index.js +120 -0
  20. package/lib/DatePicker/locale/en_US.js +14 -0
  21. package/lib/DatePicker/locale/ru_RU.js +14 -0
  22. package/lib/DatePicker/locale/sv_SE.js +14 -0
  23. package/lib/DatePicker/locale/zh_CN.js +14 -0
  24. package/lib/DatePicker/style/index.css +298 -0
  25. package/lib/DatePicker/utils.js +36 -0
  26. package/lib/{DepartmentMultipleSelectEditor → Department-editor/department-multiple-select}/index.js +6 -6
  27. package/lib/{DepartmentSingleSelectEditor/pc-editor → Department-editor}/department-single-select.js +7 -7
  28. package/lib/{DepartmentSingleSelectEditor/pc-editor → Department-editor}/index.css +3 -10
  29. package/lib/{DepartmentSingleSelectEditor/pc-editor → Department-editor}/index.js +25 -8
  30. package/lib/{SelectedDepartments → Department-editor/selected-departments}/index.css +1 -0
  31. package/lib/{SelectedDepartments → Department-editor/selected-departments}/index.js +3 -3
  32. package/lib/DigitalSignEditor/index.js +171 -24
  33. package/lib/Drawer/index.css +144 -0
  34. package/lib/Drawer/index.js +21 -0
  35. package/lib/FileEditor/addition-previewer/index.css +1 -0
  36. package/lib/FileEditor/{pc-editor/addition-previewer → addition-previewer}/index.js +1 -1
  37. package/lib/FileEditor/addition-previewer/local-file-addition/index.css +1 -0
  38. package/lib/FileEditor/{pc-editor/addition-previewer → addition-previewer}/local-file-addition/index.js +4 -4
  39. package/lib/FileEditor/files-previewer/{pc-previewer/file-previewer → file-previewer}/dropdown-menu.js +1 -1
  40. package/lib/FileEditor/files-previewer/{pc-previewer/file-previewer → file-previewer}/file-name-editor/index.js +1 -1
  41. package/lib/FileEditor/files-previewer/{pc-previewer/file-previewer → file-previewer}/index.css +2 -0
  42. package/lib/FileEditor/files-previewer/{pc-previewer/file-previewer → file-previewer}/index.js +2 -2
  43. package/lib/FileEditor/files-previewer/index.js +268 -26
  44. package/lib/FileEditor/index.css +5 -0
  45. package/lib/FileEditor/index.js +265 -26
  46. package/lib/FormulaFormatter/index.css +5 -5
  47. package/lib/GeolocationEditor/{pc-editor/country-editor.js → country-editor.js} +49 -5
  48. package/lib/GeolocationEditor/{pc-editor/index.css → index.css} +4 -3
  49. package/lib/GeolocationEditor/index.js +230 -90
  50. package/lib/GeolocationEditor/{pc-editor/location-editor.js → location-editor.js} +41 -8
  51. package/lib/GeolocationEditor/{pc-editor/map-editor → map-editor}/index.js +6 -6
  52. package/lib/GeolocationEditor/{pc-editor/map-editor → map-editor}/large-editor/index.js +7 -7
  53. package/lib/GeolocationEditor/map-editor-utils.js +4 -10
  54. package/lib/GeolocationEditor/{pc-editor/map-selection-editor → map-selection-editor}/index.js +7 -7
  55. package/lib/GeolocationEditor/{pc-editor/map-selection-editor → map-selection-editor}/large-editor/index.js +7 -7
  56. package/lib/GeolocationEditor/{pc-editor/province-city-editor.js → province-city-editor.js} +38 -7
  57. package/lib/GeolocationEditor/{pc-editor/province-editor.js → province-editor.js} +31 -7
  58. package/lib/GeolocationEditor/{pc-editor/selector-header-item.js → selector-header-item.js} +1 -1
  59. package/lib/Icon/index.css +50 -0
  60. package/lib/Icon/index.js +35 -0
  61. package/lib/Icon/load-sprite.js +56 -0
  62. package/lib/ImageEditor/{pc-editor/addition-previewer → addition-previewer}/image-link/index.js +1 -1
  63. package/lib/ImageEditor/{pc-editor/addition-previewer → addition-previewer}/index.js +1 -1
  64. package/lib/ImageEditor/{pc-editor/addition-previewer → addition-previewer}/local-image-addition/index.js +4 -4
  65. package/lib/ImageEditor/images-previewer/image-preview/index.js +3 -3
  66. package/lib/ImageEditor/images-previewer/index.js +4 -9
  67. package/lib/ImageEditor/index.css +16 -17
  68. package/lib/ImageEditor/index.js +185 -26
  69. package/lib/ImageThumbnail/index.js +1 -2
  70. package/lib/InputItem/custom-input.js +321 -0
  71. package/lib/InputItem/custom-keyboard.js +162 -0
  72. package/lib/InputItem/index.js +389 -0
  73. package/lib/InputItem/input.js +45 -0
  74. package/lib/InputItem/locale/en_US.js +12 -0
  75. package/lib/InputItem/locale/ru_RU.js +12 -0
  76. package/lib/InputItem/locale/sv_SE.js +12 -0
  77. package/lib/InputItem/locale/zh_CN.js +12 -0
  78. package/lib/InputItem/portal.js +23 -0
  79. package/lib/InputItem/style/index.css +524 -0
  80. package/lib/LinkEditor/index.js +5 -5
  81. package/lib/LinkEditor/{mb-popover → mb-link-editor-popover}/index.css +1 -1
  82. package/lib/List/index.css +389 -0
  83. package/lib/List/index.js +41 -0
  84. package/lib/List/list-item.js +169 -0
  85. package/lib/Modal/alert.js +86 -0
  86. package/lib/Modal/index.js +16 -0
  87. package/lib/Modal/modal.js +118 -0
  88. package/lib/Modal/operation.js +81 -0
  89. package/lib/Modal/prompt.js +211 -0
  90. package/lib/Modal/style/index.css +593 -0
  91. package/lib/MultipleSelectEditor/index.js +14 -9
  92. package/lib/Picker/AbstractPicker.js +190 -0
  93. package/lib/Picker/index.js +28 -0
  94. package/lib/Picker/locale/en_US.js +12 -0
  95. package/lib/Picker/locale/ru_RU.js +12 -0
  96. package/lib/Picker/locale/sv_SE.js +12 -0
  97. package/lib/Picker/locale/zh_CN.js +12 -0
  98. package/lib/Picker/popupProps.js +12 -0
  99. package/lib/Picker/style/index.css +145 -0
  100. package/lib/Popover/index.js +63 -0
  101. package/lib/Popover/item.js +55 -0
  102. package/lib/Popover/style/index.css +233 -0
  103. package/lib/Progress/index.css +24 -0
  104. package/lib/Progress/index.js +66 -0
  105. package/lib/Radio/Radio.js +47 -0
  106. package/lib/Radio/RadioItem.js +57 -0
  107. package/lib/Radio/index.css +92 -0
  108. package/lib/Radio/index.js +12 -0
  109. package/lib/RowExpandDialog/column-content/index.js +2 -2
  110. package/lib/RowExpandDialog/index.js +0 -2
  111. package/lib/RowExpandEditor/{add-btn/pc-add-btn → RowExpandAddBtn}/index.js +4 -6
  112. package/lib/RowExpandEditor/{checkbox-editor/pc-editor.js → RowExpandCheckboxEditor/index.js} +13 -9
  113. package/lib/RowExpandEditor/{collaborator-editor/pc-editor → RowExpandCollaboratorEditor}/index.css +1 -1
  114. package/lib/RowExpandEditor/{collaborator-editor/pc-editor → RowExpandCollaboratorEditor}/index.js +7 -6
  115. package/lib/RowExpandEditor/{date-editor/pc-editor.js → RowExpandDateEditor/index.js} +2 -2
  116. package/lib/RowExpandEditor/{department-editor/pc-editor.js → RowExpandDepartmentEditor/index.js} +49 -44
  117. package/lib/RowExpandEditor/{digital-sign-editor/pc-editor → RowExpandDigitalSignEditor}/index.css +1 -1
  118. package/lib/RowExpandEditor/{digital-sign-editor/pc-editor → RowExpandDigitalSignEditor}/index.js +11 -11
  119. package/lib/RowExpandEditor/{duration-editor/pc-editor.js → RowExpandDurationEditor/index.js} +2 -2
  120. package/lib/RowExpandEditor/RowExpandEmailEditor/index.css +2 -0
  121. package/lib/RowExpandEditor/{email-editor/pc-editor → RowExpandEmailEditor}/index.js +3 -3
  122. package/lib/RowExpandEditor/RowExpandFileEditor/index.css +1 -0
  123. package/lib/RowExpandEditor/{file-editor/pc-editor → RowExpandFileEditor}/index.js +9 -9
  124. package/lib/RowExpandEditor/{geolocation-editor/pc-editor → RowExpandGeolocationEditor}/index.js +13 -17
  125. package/lib/RowExpandEditor/{image-editor/pc-editor → RowExpandImageEditor}/index.js +9 -9
  126. package/lib/RowExpandEditor/{long-text-editor/pc-editor → RowExpandLongTextEditor}/index.js +7 -7
  127. package/lib/RowExpandEditor/{multiple-select-editor/pc-editor → RowExpandMultipleSelectEditor}/index.css +1 -1
  128. package/lib/RowExpandEditor/{multiple-select-editor/pc-editor → RowExpandMultipleSelectEditor}/index.js +6 -6
  129. package/lib/RowExpandEditor/{number-editor/pc-editor.js → RowExpandNumberEditor/index.js} +2 -2
  130. package/lib/RowExpandEditor/RowExpandRateEditor/index.css +13 -0
  131. package/lib/RowExpandEditor/{rate-editor/pc-editor.js → RowExpandRateEditor/index.js} +3 -2
  132. package/lib/RowExpandEditor/{single-select-editor/pc-editor → RowExpandSingleSelectorEditor}/index.js +17 -17
  133. package/lib/RowExpandEditor/{text-editor/pc-editor → RowExpandTextEditor}/index.js +7 -7
  134. package/lib/RowExpandEditor/{url-editor/pc-editor → RowExpandUrlEditor}/index.js +6 -6
  135. package/lib/RowExpandEditor/constants.js +34 -34
  136. package/lib/RowExpandFormatter/{department-formatter/pc-formatter.js → RowExpandDepartmentFormatter/index.js} +2 -2
  137. package/lib/RowExpandFormatter/{email-formatter → RowExpandEmailFormatter}/index.css +4 -4
  138. package/lib/RowExpandFormatter/RowExpandRateFormatter/index.css +5 -0
  139. package/lib/RowExpandFormatter/constants.js +17 -17
  140. package/lib/RowExpandFormatter/index.css +18 -33
  141. package/lib/RowExpandFormatter/index.js +1 -1
  142. package/lib/SelectItem/index.js +33 -57
  143. package/lib/SingleSelectEditor/index.js +14 -9
  144. package/lib/SvgIcon/index.js +1 -2
  145. package/lib/TabBar/Tab.js +76 -0
  146. package/lib/TabBar/index.css +142 -0
  147. package/lib/TabBar/index.js +129 -0
  148. package/lib/Tabs/index.css +453 -0
  149. package/lib/Tabs/index.js +39 -0
  150. package/lib/TextareaItem/index.css +235 -0
  151. package/lib/TextareaItem/index.js +231 -0
  152. package/lib/Toast/index.css +67 -0
  153. package/lib/Toast/index.js +131 -0
  154. package/lib/_util/class.js +34 -0
  155. package/lib/_util/closest.js +17 -0
  156. package/lib/_util/exenv.js +8 -0
  157. package/lib/_util/getDataAttr.js +15 -0
  158. package/lib/_util/getLocale.js +42 -0
  159. package/lib/constants/index.js +2 -3
  160. package/lib/css/am.css +390 -0
  161. package/lib/css/mb-cell-editor.css +1 -1
  162. package/lib/index.js +100 -51
  163. package/lib/locales/de.json +1 -3
  164. package/lib/locales/en.json +1 -3
  165. package/lib/locales/es.json +1 -3
  166. package/lib/locales/fr.json +1 -3
  167. package/lib/locales/pt.json +1 -3
  168. package/lib/locales/ru.json +1 -3
  169. package/lib/locales/zh-CN.json +1 -3
  170. package/lib/select-editor/index.js +20 -27
  171. package/lib/select-editor/mb-select-editor/index.css +127 -0
  172. package/lib/select-editor/mb-select-editor/index.js +197 -0
  173. package/lib/select-editor/{pc-editor → pc-select-editor}/index.css +1 -1
  174. package/lib/select-editor/{pc-editor → pc-select-editor}/index.js +7 -7
  175. package/lib/select-editor/select-editor-option.js +84 -0
  176. package/lib/utils/editor-utils.js +2 -6
  177. package/lib/utils/get-event-transfer.js +1 -2
  178. package/lib/utils/utils.js +2 -11
  179. package/package.json +25 -16
  180. package/lib/BodyPortal/index.js +0 -29
  181. package/lib/CheckboxEditor/mb-editor.js +0 -99
  182. package/lib/CheckboxEditor/pc-editor.js +0 -118
  183. package/lib/CollaboratorEditor/mb-editor/index.css +0 -41
  184. package/lib/CollaboratorEditor/mb-editor/index.js +0 -88
  185. package/lib/DateEditor/mb-editor/custom-rc-calendar.css +0 -118
  186. package/lib/DateEditor/mb-editor/index.css +0 -39
  187. package/lib/DateEditor/mb-editor/index.js +0 -215
  188. package/lib/DepartmentSingleSelectEditor/index.js +0 -34
  189. package/lib/DepartmentSingleSelectEditor/mb-editor/index.css +0 -4
  190. package/lib/DepartmentSingleSelectEditor/mb-editor/index.js +0 -230
  191. package/lib/DigitalSignEditor/mb-editor/index.css +0 -35
  192. package/lib/DigitalSignEditor/mb-editor/index.js +0 -144
  193. package/lib/DigitalSignEditor/pc-editor/index.js +0 -181
  194. package/lib/FileEditor/files-previewer/mb-previewer/file-previewer/index.js +0 -122
  195. package/lib/FileEditor/files-previewer/mb-previewer/index.css +0 -39
  196. package/lib/FileEditor/files-previewer/mb-previewer/index.js +0 -64
  197. package/lib/FileEditor/files-previewer/pc-previewer/index.js +0 -276
  198. package/lib/FileEditor/mb-editor/index.css +0 -10
  199. package/lib/FileEditor/mb-editor/index.js +0 -136
  200. package/lib/FileEditor/pc-editor/addition-previewer/index.css +0 -1
  201. package/lib/FileEditor/pc-editor/addition-previewer/local-file-addition/index.css +0 -1
  202. package/lib/FileEditor/pc-editor/index.css +0 -5
  203. package/lib/FileEditor/pc-editor/index.js +0 -274
  204. package/lib/GeolocationEditor/mb-editor/country-editor.js +0 -79
  205. package/lib/GeolocationEditor/mb-editor/index.css +0 -11
  206. package/lib/GeolocationEditor/mb-editor/index.js +0 -125
  207. package/lib/GeolocationEditor/mb-editor/location-editor.js +0 -101
  208. package/lib/GeolocationEditor/mb-editor/map-editor/index.css +0 -11
  209. package/lib/GeolocationEditor/mb-editor/map-editor/index.js +0 -474
  210. package/lib/GeolocationEditor/mb-editor/map-selection-editor/index.css +0 -158
  211. package/lib/GeolocationEditor/mb-editor/map-selection-editor/index.js +0 -530
  212. package/lib/GeolocationEditor/mb-editor/province-city-editor.js +0 -77
  213. package/lib/GeolocationEditor/mb-editor/province-editor.js +0 -76
  214. package/lib/GeolocationEditor/pc-editor/index.js +0 -247
  215. package/lib/ImageEditor/mb-editor/index.css +0 -29
  216. package/lib/ImageEditor/mb-editor/index.js +0 -136
  217. package/lib/ImageEditor/pc-editor/images-previewer/index.js +0 -140
  218. package/lib/ImageEditor/pc-editor/index.css +0 -24
  219. package/lib/ImageEditor/pc-editor/index.js +0 -194
  220. package/lib/MobileFullScreenPage/body/index.css +0 -9
  221. package/lib/MobileFullScreenPage/body/index.js +0 -23
  222. package/lib/MobileFullScreenPage/header/index.css +0 -39
  223. package/lib/MobileFullScreenPage/header/index.js +0 -38
  224. package/lib/MobileFullScreenPage/index.css +0 -13
  225. package/lib/MobileFullScreenPage/index.js +0 -73
  226. package/lib/MobileModal/index.js +0 -41
  227. package/lib/MobileOperationSheet/index.css +0 -27
  228. package/lib/MobileOperationSheet/index.js +0 -92
  229. package/lib/MobileSelector/empty/index.css +0 -3
  230. package/lib/MobileSelector/empty/index.js +0 -23
  231. package/lib/MobileSelector/index.css +0 -32
  232. package/lib/MobileSelector/index.js +0 -57
  233. package/lib/MobileSelector/option/index.css +0 -28
  234. package/lib/MobileSelector/option/index.js +0 -36
  235. package/lib/MobileSelector/options/index.css +0 -8
  236. package/lib/MobileSelector/options/index.js +0 -18
  237. package/lib/MobileSelector/search/index.css +0 -7
  238. package/lib/MobileSelector/search/index.js +0 -26
  239. package/lib/MobileUpload/index.css +0 -1
  240. package/lib/MobileUpload/index.js +0 -160
  241. package/lib/RowExpand/index.js +0 -24
  242. package/lib/RowExpandEditor/add-btn/index.js +0 -24
  243. package/lib/RowExpandEditor/add-btn/mb-add-btn/index.css +0 -3
  244. package/lib/RowExpandEditor/add-btn/mb-add-btn/index.js +0 -19
  245. package/lib/RowExpandEditor/checkbox-editor/index.js +0 -25
  246. package/lib/RowExpandEditor/checkbox-editor/mb-editor/index.css +0 -6
  247. package/lib/RowExpandEditor/checkbox-editor/mb-editor/index.js +0 -36
  248. package/lib/RowExpandEditor/collaborator-editor/index.js +0 -24
  249. package/lib/RowExpandEditor/collaborator-editor/mb-editor/index.css +0 -9
  250. package/lib/RowExpandEditor/collaborator-editor/mb-editor/index.js +0 -163
  251. package/lib/RowExpandEditor/date-editor/index.js +0 -24
  252. package/lib/RowExpandEditor/date-editor/mb-editor.js +0 -82
  253. package/lib/RowExpandEditor/department-editor/index.js +0 -24
  254. package/lib/RowExpandEditor/department-editor/mb-editor.js +0 -65
  255. package/lib/RowExpandEditor/digital-sign-editor/index.js +0 -24
  256. package/lib/RowExpandEditor/digital-sign-editor/mb-editor/index.css +0 -1
  257. package/lib/RowExpandEditor/digital-sign-editor/mb-editor/index.js +0 -130
  258. package/lib/RowExpandEditor/duration-editor/index.js +0 -24
  259. package/lib/RowExpandEditor/duration-editor/mb-editor.js +0 -71
  260. package/lib/RowExpandEditor/email-editor/index.js +0 -24
  261. package/lib/RowExpandEditor/email-editor/mb-editor/index.css +0 -1
  262. package/lib/RowExpandEditor/email-editor/mb-editor/index.js +0 -84
  263. package/lib/RowExpandEditor/email-editor/pc-editor/index.css +0 -1
  264. package/lib/RowExpandEditor/file-editor/index.js +0 -24
  265. package/lib/RowExpandEditor/file-editor/mb-editor/index.js +0 -114
  266. package/lib/RowExpandEditor/file-editor/pc-editor/index.css +0 -1
  267. package/lib/RowExpandEditor/geolocation-editor/index.js +0 -24
  268. package/lib/RowExpandEditor/geolocation-editor/mb-editor/index.js +0 -100
  269. package/lib/RowExpandEditor/image-editor/index.js +0 -24
  270. package/lib/RowExpandEditor/image-editor/mb-editor/index.css +0 -30
  271. package/lib/RowExpandEditor/image-editor/mb-editor/index.js +0 -109
  272. package/lib/RowExpandEditor/long-text-editor/index.js +0 -24
  273. package/lib/RowExpandEditor/long-text-editor/mb-editor/editor/index.css +0 -10
  274. package/lib/RowExpandEditor/long-text-editor/mb-editor/editor/index.js +0 -80
  275. package/lib/RowExpandEditor/long-text-editor/mb-editor/index.css +0 -3
  276. package/lib/RowExpandEditor/long-text-editor/mb-editor/index.js +0 -91
  277. package/lib/RowExpandEditor/multiple-select-editor/index.js +0 -24
  278. package/lib/RowExpandEditor/multiple-select-editor/mb-editor/index.js +0 -154
  279. package/lib/RowExpandEditor/number-editor/index.js +0 -24
  280. package/lib/RowExpandEditor/number-editor/mb-editor/index.css +0 -3
  281. package/lib/RowExpandEditor/number-editor/mb-editor/index.js +0 -76
  282. package/lib/RowExpandEditor/rate-editor/index.css +0 -34
  283. package/lib/RowExpandEditor/rate-editor/index.js +0 -25
  284. package/lib/RowExpandEditor/rate-editor/mb-editor.js +0 -92
  285. package/lib/RowExpandEditor/right-angle/index.css +0 -6
  286. package/lib/RowExpandEditor/right-angle/index.js +0 -17
  287. package/lib/RowExpandEditor/single-select-editor/index.js +0 -24
  288. package/lib/RowExpandEditor/single-select-editor/mb-editor/index.css +0 -8
  289. package/lib/RowExpandEditor/single-select-editor/mb-editor/index.js +0 -134
  290. package/lib/RowExpandEditor/text-editor/index.js +0 -24
  291. package/lib/RowExpandEditor/text-editor/mb-editor/index.css +0 -14
  292. package/lib/RowExpandEditor/text-editor/mb-editor/index.js +0 -37
  293. package/lib/RowExpandEditor/url-editor/index.js +0 -24
  294. package/lib/RowExpandEditor/url-editor/mb-editor/index.css +0 -17
  295. package/lib/RowExpandEditor/url-editor/mb-editor/index.js +0 -87
  296. package/lib/RowExpandFormatter/department-formatter/index.js +0 -19
  297. package/lib/RowExpandFormatter/department-formatter/mb-formatter.js +0 -20
  298. package/lib/RowExpandFormatter/rate-formatter/index.css +0 -5
  299. package/lib/RowExpandView/body/index.css +0 -173
  300. package/lib/RowExpandView/body/index.js +0 -111
  301. package/lib/RowExpandView/column-content/index.css +0 -27
  302. package/lib/RowExpandView/column-content/index.js +0 -25
  303. package/lib/RowExpandView/index.css +0 -3
  304. package/lib/RowExpandView/index.js +0 -178
  305. package/lib/select-editor/mb-editor/index.css +0 -1
  306. package/lib/select-editor/mb-editor/index.js +0 -105
  307. /package/lib/CollaboratorEditor/{pc-editor → pc-collaborator-editor}/index.css +0 -0
  308. /package/lib/CollaboratorEditor/{pc-editor → pc-collaborator-editor}/index.js +0 -0
  309. /package/lib/{constants/departments.js → Department-editor/constants.js} +0 -0
  310. /package/lib/{DepartmentMultipleSelectEditor → Department-editor/department-multiple-select}/index.css +0 -0
  311. /package/lib/{utils/departments.js → Department-editor/utils.js} +0 -0
  312. /package/lib/DigitalSignEditor/{pc-editor/index.css → index.css} +0 -0
  313. /package/lib/FileEditor/files-previewer/{pc-previewer/file-previewer → file-previewer}/file-name-editor/index.css +0 -0
  314. /package/lib/GeolocationEditor/{pc-editor/map-editor → map-editor}/large-editor/index.css +0 -0
  315. /package/lib/GeolocationEditor/{pc-editor/map-selection-editor → map-selection-editor}/large-editor/index.css +0 -0
  316. /package/lib/GeolocationEditor/{pc-editor/parse-geolocation.js → parse-geolocation.js} +0 -0
  317. /package/lib/GeolocationEditor/{pc-editor/selector-list.js → selector-list.js} +0 -0
  318. /package/lib/ImageEditor/{pc-editor/addition-previewer → addition-previewer}/image-link/index.css +0 -0
  319. /package/lib/ImageEditor/{pc-editor/addition-previewer → addition-previewer}/index.css +0 -0
  320. /package/lib/ImageEditor/{pc-editor/addition-previewer → addition-previewer}/local-image-addition/index.css +0 -0
  321. /package/lib/LinkEditor/{mb-popover → mb-link-editor-popover}/index.js +0 -0
  322. /package/lib/LinkEditor/{pc-popover → pc-link-editor-popover}/index.css +0 -0
  323. /package/lib/LinkEditor/{pc-popover → pc-link-editor-popover}/index.js +0 -0
  324. /package/lib/RowExpandEditor/{add-btn/pc-add-btn → RowExpandAddBtn}/index.css +0 -0
  325. /package/lib/RowExpandEditor/{checkbox-editor → RowExpandCheckboxEditor}/index.css +0 -0
  326. /package/lib/RowExpandEditor/{geolocation-editor/pc-editor → RowExpandGeolocationEditor}/index.css +0 -0
  327. /package/lib/RowExpandEditor/{image-editor/pc-editor → RowExpandImageEditor}/index.css +0 -0
  328. /package/lib/RowExpandEditor/{long-text-editor/pc-editor → RowExpandLongTextEditor}/index.css +0 -0
  329. /package/lib/RowExpandEditor/{single-select-editor/pc-editor → RowExpandSingleSelectorEditor}/index.css +0 -0
  330. /package/lib/RowExpandEditor/{text-editor/pc-editor → RowExpandTextEditor}/index.css +0 -0
  331. /package/lib/RowExpandEditor/{url-editor/pc-editor → RowExpandUrlEditor}/index.css +0 -0
  332. /package/lib/RowExpandFormatter/{email-formatter → RowExpandEmailFormatter}/index.js +0 -0
  333. /package/lib/RowExpandFormatter/{file-formatter → RowExpandFileFormatter}/index.css +0 -0
  334. /package/lib/RowExpandFormatter/{file-formatter → RowExpandFileFormatter}/index.js +0 -0
  335. /package/lib/RowExpandFormatter/{file-formatter → RowExpandFileFormatter}/row-expand-file-item-formatter.js +0 -0
  336. /package/lib/RowExpandFormatter/{formula-formatter → RowExpandFormulaFormatter}/index.js +0 -0
  337. /package/lib/RowExpandFormatter/{image-formatter → RowExpandImageFormatter}/index.css +0 -0
  338. /package/lib/RowExpandFormatter/{image-formatter → RowExpandImageFormatter}/index.js +0 -0
  339. /package/lib/RowExpandFormatter/{image-formatter → RowExpandImageFormatter}/row-expand-image-item-formatter.js +0 -0
  340. /package/lib/RowExpandFormatter/{link-formatter → RowExpandLinkFormatter}/collaborator-item-formatter.js +0 -0
  341. /package/lib/RowExpandFormatter/{link-formatter → RowExpandLinkFormatter}/index.css +0 -0
  342. /package/lib/RowExpandFormatter/{link-formatter → RowExpandLinkFormatter}/index.js +0 -0
  343. /package/lib/RowExpandFormatter/{link-formatter → RowExpandLinkFormatter}/value-display-utils.js +0 -0
  344. /package/lib/RowExpandFormatter/{rate-formatter → RowExpandRateFormatter}/index.js +0 -0
  345. /package/lib/RowExpandFormatter/{url-formatter → RowExpandUrlFormatter}/index.css +0 -0
  346. /package/lib/RowExpandFormatter/{url-formatter → RowExpandUrlFormatter}/index.js +0 -0
@@ -1,474 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.default = void 0;
8
- var _inputItem = _interopRequireDefault(require("antd-mobile/lib/input-item"));
9
- var _react = _interopRequireDefault(require("react"));
10
- var _toaster = _interopRequireDefault(require("../../../toaster"));
11
- var _MobileFullScreenPage = _interopRequireDefault(require("../../../MobileFullScreenPage"));
12
- var _mapEditorUtils = require("../../map-editor-utils");
13
- var _cell = require("../../../utils/cell");
14
- var _lang = require("../../../lang");
15
- var _Loading = _interopRequireDefault(require("../../../Loading"));
16
- var _objectUtils = _interopRequireDefault(require("../../../utils/object-utils"));
17
- require("./index.css");
18
- const {
19
- Header,
20
- Body
21
- } = _MobileFullScreenPage.default;
22
- class MapEditor extends _react.default.Component {
23
- constructor(props) {
24
- super(props);
25
- this.loadMineMapCallBack = () => {
26
- if (!this.timer) {
27
- this.timer = setTimeout(() => {
28
- const {
29
- domainUrl,
30
- dataDomainUrl,
31
- serverDomainUrl,
32
- spriteUrl,
33
- serviceUrl
34
- } = (0, _mapEditorUtils.getMineMapUrl)();
35
- window.minemap.domainUrl = domainUrl;
36
- window.minemap.dataDomainUrl = dataDomainUrl;
37
- window.minemap.serverDomainUrl = serverDomainUrl;
38
- window.minemap.spriteUrl = spriteUrl;
39
- window.minemap.serviceUrl = serviceUrl;
40
- window.minemap.key = this.mapKey;
41
- window.minemap.solution = 11001;
42
- this.renderMineMap();
43
- clearTimeout(this.timer);
44
- this.timer = null;
45
- }, 1000);
46
- }
47
- };
48
- this.renderMineMap = () => {
49
- this.setState({
50
- isLoading: false
51
- }, () => {
52
- if (!window.minemap.key) return;
53
- setTimeout(() => {
54
- this.map = new window.minemap.Map({
55
- container: 'dtable-ui-mobile-geolocation-map-container',
56
- style: 'https://service.minedata.cn/map/solu/style/11001',
57
- pitch: 0,
58
- maxZoom: 17,
59
- minZoom: 3,
60
- projection: 'MERCATOR'
61
- });
62
- let {
63
- lng,
64
- lat,
65
- zoom
66
- } = (0, _mapEditorUtils.getInitCenter)();
67
- const {
68
- value
69
- } = this.state;
70
- if ((0, _cell.isValidPosition)(value.lng, value.lat)) {
71
- lng = value.lng;
72
- lat = value.lat;
73
- this.addMarkerByPosition(lng, lat);
74
- }
75
- this.map.setCenter([lng, lat]);
76
- this.map.setZoom(zoom);
77
- if (this.readOnly) return;
78
- this.map.on('mousedown', event => {
79
- const point = event.lngLat;
80
- this.setValue(point);
81
- this.addMarkerByPosition(point.lng, point.lat);
82
- });
83
- }, 1);
84
- });
85
- };
86
- this.renderBaiduMap = () => {
87
- this.setState({
88
- isLoading: false
89
- }, () => {
90
- if (!window.BMap.Map) return;
91
- setTimeout(() => {
92
- this.map = new window.BMap.Map('dtable-ui-mobile-geolocation-map-container');
93
- let {
94
- lng,
95
- lat,
96
- zoom
97
- } = (0, _mapEditorUtils.getInitCenter)();
98
- const {
99
- value
100
- } = this.state;
101
- if ((0, _cell.isValidPosition)(value.lng, value.lat)) {
102
- lng = value.lng;
103
- lat = value.lat;
104
- this.addMarkerByPosition(lng, lat);
105
- }
106
- const point = new window.BMap.Point(lng, lat);
107
- this.map.centerAndZoom(point, zoom);
108
- this.map.enableScrollWheelZoom(true);
109
- this.map.addEventListener('click', event => {
110
- if (this.state.mode === 'preview') return;
111
- const point = event.point;
112
- this.setValue(point);
113
- this.addMarkerByPosition(point.lng, point.lat);
114
- });
115
- }, 1);
116
- });
117
- };
118
- this.geolocationCallback = (error, point) => {
119
- if (!error) {
120
- this.setValue({
121
- ...point
122
- });
123
- this.addMarkerByPosition(point.lng, point.lat);
124
- if (this.mapType === _mapEditorUtils.MAP_TYPES.G_MAP) {
125
- this.map.setCenter({
126
- lng: point.lng,
127
- lat: point.lat
128
- });
129
- }
130
- } else {
131
- _toaster.default.danger((0, _lang.getLocale)('Positioning_failed'));
132
- }
133
- };
134
- this.renderGoogleMap = () => {
135
- this.setState({
136
- isLoading: false
137
- }, () => {
138
- setTimeout(() => {
139
- let {
140
- lng,
141
- lat,
142
- zoom
143
- } = (0, _mapEditorUtils.getInitCenter)();
144
- this.map = new window.google.maps.Map(this.ref, {
145
- zoom,
146
- center: {
147
- lng,
148
- lat
149
- },
150
- zoomControl: false,
151
- mapTypeControl: false,
152
- scaleControl: false,
153
- streetViewControl: false,
154
- rotateControl: false,
155
- fullscreenControl: false
156
- });
157
- const {
158
- value
159
- } = this.state;
160
- if (value.lng && value.lat) {
161
- lng = value.lng;
162
- lat = value.lat;
163
- this.addMarkerByPosition(lng, lat);
164
- }
165
- this.map.setCenter({
166
- lng,
167
- lat
168
- });
169
- this.map.addListener('mousedown', event => {
170
- const lng = event.latLng.lng();
171
- const lat = event.latLng.lat();
172
- const point = {
173
- lng,
174
- lat
175
- };
176
- this.setValue(point);
177
- this.addMarkerByPosition(lng, lat);
178
- });
179
- }, 1);
180
- });
181
- };
182
- this.setValue = point => {
183
- this.setState({
184
- value: {
185
- lng: point.lng,
186
- lat: point.lat
187
- },
188
- inputValue: _mapEditorUtils.DOMESTIC_MAP_TYPE.includes(this.mapType) ? "".concat(point.lng, ", ").concat(point.lat) : "".concat(point.lat, ", ").concat(point.lng)
189
- });
190
- };
191
- this.addMarkerByPosition = (lng, lat) => {
192
- if (this.mapType === _mapEditorUtils.MAP_TYPES.B_MAP) {
193
- let point = new window.BMap.Point(lng, lat);
194
- const marker = new window.BMap.Marker(point, {
195
- offset: new window.BMap.Size(-2, -5)
196
- });
197
- this.map && this.map.clearOverlays();
198
- this.map && this.map.addOverlay(marker);
199
- return;
200
- }
201
- if (this.mapType === _mapEditorUtils.MAP_TYPES.G_MAP) {
202
- if (!this.googleMarker) {
203
- this.googleMarker = new window.google.maps.Marker({
204
- position: {
205
- lng,
206
- lat
207
- },
208
- map: this.map
209
- });
210
- return;
211
- }
212
- this.googleMarker.setPosition({
213
- lng,
214
- lat
215
- });
216
- this.googleMarker.setMap(this.map);
217
- return;
218
- }
219
- if (this.mapType === _mapEditorUtils.MAP_TYPES.M_MAP) {
220
- if (!this.mineMapMarker) {
221
- this.mineMapMarker = new window.minemap.Marker({
222
- draggable: false,
223
- anchor: 'top-left',
224
- color: 'red',
225
- rotation: 0,
226
- pitchAlignment: 'map',
227
- rotationAlignment: 'map',
228
- scale: 0.8
229
- }).setLngLat({
230
- lng,
231
- lat
232
- }).addTo(this.map);
233
- } else {
234
- this.mineMapMarker.setLngLat({
235
- lng,
236
- lat
237
- });
238
- }
239
- return;
240
- }
241
- };
242
- this.clearSearchNumerical = () => {
243
- this.setState({
244
- inputValue: '',
245
- value: {}
246
- });
247
- };
248
- this.onSubmit = () => {
249
- const {
250
- value
251
- } = this.state;
252
- if (!_objectUtils.default.isSameObject(value, this.props.value)) {
253
- this.props.onCommit(value);
254
- }
255
- this.onClose();
256
- };
257
- this.onChange = inputValue => {
258
- this.setState({
259
- inputValue
260
- });
261
- const enSplitCodeIndex = inputValue.indexOf(',');
262
- const cnSplitCodeIndex = inputValue.indexOf(',');
263
- if (enSplitCodeIndex > 0 || cnSplitCodeIndex > 0) {
264
- let lng;
265
- let lat;
266
- const splitCodeIndex = enSplitCodeIndex > 0 ? enSplitCodeIndex : cnSplitCodeIndex;
267
- if (this.mapType === _mapEditorUtils.MAP_TYPES.G_MAP) {
268
- lat = parseFloat(inputValue.slice(0, splitCodeIndex).trim());
269
- lng = parseFloat(inputValue.slice(splitCodeIndex + 1).trim());
270
- } else {
271
- lng = parseFloat(inputValue.slice(0, splitCodeIndex).trim());
272
- lat = parseFloat(inputValue.slice(splitCodeIndex + 1).trim());
273
- }
274
- if (!Number.isNaN(lng) && !Number.isNaN(lat)) {
275
- this.setState({
276
- value: {
277
- lng,
278
- lat
279
- }
280
- });
281
- if (this.map) {
282
- if (this.mapType === _mapEditorUtils.MAP_TYPES.G_MAP || this.mapType === _mapEditorUtils.MAP_TYPES.M_MAP) {
283
- this.map.setCenter({
284
- lng,
285
- lat
286
- });
287
- } else {
288
- this.map.setCenter(new window.BMap.Point(lng, lat));
289
- }
290
- }
291
- this.addMarkerByPosition(lng, lat);
292
- }
293
- }
294
- };
295
- this.onZoomIn = () => {
296
- if (!this.map) return;
297
- const currentZoom = this.map.getZoom();
298
- this.map.setZoom(currentZoom + 1);
299
- };
300
- this.onZoomOut = () => {
301
- if (!this.map) return;
302
- const currentZoom = this.map.getZoom();
303
- this.map.setZoom(currentZoom - 1);
304
- };
305
- this.onLocateCurrentPosition = () => {
306
- (0, _mapEditorUtils.locateCurrentPosition)(this.map, this.mapType, this.geolocationCallback);
307
- };
308
- this.onLeftClick = () => {
309
- if (this.state.mode === 'preview') {
310
- this.onClose();
311
- return;
312
- }
313
- this.setState({
314
- mode: 'preview'
315
- });
316
- };
317
- this.onRightClick = () => {
318
- if (this.state.mode === 'preview') {
319
- this.setState({
320
- mode: 'edit'
321
- });
322
- return;
323
- }
324
- this.onSubmit();
325
- };
326
- this.onClose = () => {
327
- this.props.onToggle();
328
- };
329
- this.renderMap = () => {
330
- const {
331
- isLoading,
332
- inputValue,
333
- mode
334
- } = this.state;
335
- if (isLoading) return /*#__PURE__*/_react.default.createElement("div", {
336
- className: "w-100 h-100 d-flex align-items-center justify-content-center"
337
- }, /*#__PURE__*/_react.default.createElement(_Loading.default, null));
338
- if (!this.mapType) {
339
- return /*#__PURE__*/_react.default.createElement("div", {
340
- className: "dtable-ui-geolocation-map-editor-error-message d-flex justify-content-center align-items-center w-100 h-100"
341
- }, /*#__PURE__*/_react.default.createElement("span", {
342
- className: "alert-danger"
343
- }, (0, _lang.getLocale)('The_map_plugin_is_not_properly_configured_contact_the_administrator')));
344
- }
345
- const isEdit = mode === 'edit';
346
- return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("div", {
347
- className: "dtable-ui-mobile-geolocation-map-editor-input-container"
348
- }, /*#__PURE__*/_react.default.createElement(_inputItem.default, {
349
- type: "text",
350
- className: "dtable-ui-mobile-geolocation-map-editor-input",
351
- style: {
352
- marginTop: 0
353
- },
354
- value: inputValue,
355
- editable: isEdit,
356
- onChange: this.onChange,
357
- placeholder: _mapEditorUtils.DOMESTIC_MAP_TYPE.includes(this.mapType) ? (0, _lang.getLocale)('Enter_longitude_and_latitude') : (0, _lang.getLocale)('Enter_latitude_and_longitude')
358
- })), /*#__PURE__*/_react.default.createElement("div", {
359
- className: "dtable-ui-mobile-geolocation-map-editor-map"
360
- }, /*#__PURE__*/_react.default.createElement("div", {
361
- className: "w-100 h-100",
362
- ref: ref => this.ref = ref,
363
- id: "dtable-ui-mobile-geolocation-map-container"
364
- }), /*#__PURE__*/_react.default.createElement("div", {
365
- className: "dtable-ui-geolocation-map-controller"
366
- }, /*#__PURE__*/_react.default.createElement("div", {
367
- className: "dtable-ui-geolocation-locate-control",
368
- onClick: this.onLocateCurrentPosition
369
- }, /*#__PURE__*/_react.default.createElement("i", {
370
- className: "dtable-font dtable-icon-current-location"
371
- })), /*#__PURE__*/_react.default.createElement("div", {
372
- className: "dtable-ui-geolocation-zoom-control"
373
- }, /*#__PURE__*/_react.default.createElement("div", {
374
- className: "dtable-ui-geolocation-zoom-control-btn",
375
- onClick: this.onZoomIn
376
- }, /*#__PURE__*/_react.default.createElement("i", {
377
- "aria-hidden": "true",
378
- className: "dtable-font dtable-icon-enlarge"
379
- })), /*#__PURE__*/_react.default.createElement("div", {
380
- className: "dtable-ui-geolocation-zoom-control-btn",
381
- onClick: this.onZoomOut
382
- }, /*#__PURE__*/_react.default.createElement("i", {
383
- "aria-hidden": "true",
384
- className: "dtable-font dtable-icon-narrow"
385
- }))))));
386
- };
387
- const _value = props.value || {};
388
- const {
389
- mapType,
390
- mapKey
391
- } = (0, _mapEditorUtils.getMapInfo)(props.config);
392
- this.mapType = mapType;
393
- this.mapKey = mapKey;
394
- const {
395
- lng: _lng,
396
- lat: _lat
397
- } = _value;
398
- this.map = null;
399
- this.state = {
400
- mode: 'preview',
401
- isLoading: true,
402
- value: _value,
403
- inputValue: (0, _cell.isValidPosition)(_lng, _lat) ? _mapEditorUtils.DOMESTIC_MAP_TYPE.includes(this.mapType) ? "".concat(_lng, ", ").concat(_lat) : "".concat(_lat, ", ").concat(_lng) : ''
404
- };
405
- }
406
- componentDidMount() {
407
- if (this.mapType === _mapEditorUtils.MAP_TYPES.B_MAP) {
408
- if (!window.BMap) {
409
- window.renderBaiduMap = () => this.renderBaiduMap();
410
- (0, _mapEditorUtils.loadMapSource)(this.mapType, this.mapKey);
411
- } else {
412
- this.renderBaiduMap();
413
- }
414
- return;
415
- }
416
- if (this.mapType === _mapEditorUtils.MAP_TYPES.G_MAP) {
417
- if (!window.google) {
418
- window.renderGoogleMap = () => this.renderGoogleMap();
419
- (0, _mapEditorUtils.loadMapSource)(this.mapType, this.mapKey);
420
- } else {
421
- this.renderGoogleMap();
422
- }
423
- return;
424
- }
425
- if (this.mapType === _mapEditorUtils.MAP_TYPES.M_MAP) {
426
- if (!window.minemap) {
427
- (0, _mapEditorUtils.loadMapSource)(this.mapType, this.mapKey, this.loadMineMapCallBack);
428
- } else {
429
- this.renderMineMap();
430
- }
431
- return;
432
- }
433
- }
434
- componentWillUnmount() {
435
- let center = {};
436
- if (this.map && _mapEditorUtils.DOMESTIC_MAP_TYPE.includes(this.mapType)) {
437
- center.zoom = this.map.getZoom();
438
- let coordinate = this.map.getCenter();
439
- center.lng = coordinate.lng;
440
- center.lat = coordinate.lat;
441
- this.mineMapMarker = null;
442
- } else if (this.map && this.mapType === _mapEditorUtils.MAP_TYPES.G_MAP) {
443
- let zoom = this.map.getZoom();
444
- let coordinate = this.map.getCenter();
445
- center.zoom = zoom;
446
- center.lat = coordinate.lat();
447
- center.lng = coordinate.lng();
448
- this.googleMarker = null;
449
- }
450
- localStorage.setItem('geolocation-map-center', JSON.stringify(center));
451
- this.map = null;
452
- }
453
- render() {
454
- const {
455
- column
456
- } = this.props;
457
- const {
458
- mode
459
- } = this.state;
460
- const isEdit = mode === 'edit';
461
- return /*#__PURE__*/_react.default.createElement(_MobileFullScreenPage.default, {
462
- className: "dtable-ui-mobile-geolocation-map-editor",
463
- onClose: this.onClose
464
- }, /*#__PURE__*/_react.default.createElement(Header, {
465
- onLeftClick: this.onLeftClick,
466
- onRightClick: this.onRightClick
467
- }, /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, isEdit ? (0, _lang.getLocale)('Cancel') : (0, _lang.getLocale)('Close')), /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, column.name), /*#__PURE__*/_react.default.createElement("span", {
468
- style: {
469
- color: '#f09f3f'
470
- }
471
- }, isEdit ? (0, _lang.getLocale)('Submit') : (0, _lang.getLocale)('Edit'))), /*#__PURE__*/_react.default.createElement(Body, null, this.renderMap()));
472
- }
473
- }
474
- var _default = exports.default = MapEditor;
@@ -1,158 +0,0 @@
1
- .dtable-ui-mobile-geolocation-map-selection-editor .dtable-ui-mobile-geolocation-map-editor-input-container {
2
- display: flex;
3
- background: #fff;
4
- align-items: center;
5
- padding: 7px 20px;
6
- height: 44px;
7
- width: 100%;
8
- }
9
-
10
- .dtable-ui-mobile-geolocation-map-selection-editor .dtable-ui-mobile-geolocation-map-editor-input {
11
- height: 30px !important;
12
- min-height: unset;
13
- border: 1px solid #ddd;
14
- width: 86%;
15
- border-radius: 3px 0 0 3px;
16
- }
17
-
18
- .dtable-ui-mobile-geolocation-map-selection-editor .dtable-ui-mobile-geolocation-map-editor-input input {
19
- font-size: 16px !important;
20
- }
21
-
22
- .dtable-ui-mobile-geolocation-map-selection-editor .dtable-ui-mobile-geolocation-map-editor-search-btn {
23
- height: 30px;
24
- width: 14%;
25
- border: 1px solid #ddd;
26
- border-left: none;
27
- border-radius: 0 3px 3px 0;
28
- padding: unset;
29
- box-shadow: unset;
30
- color: #666;
31
- background-color: #f5f5f5;
32
- font-size: 0.875rem;
33
- line-height: 1.8;
34
- display: inline-block;
35
- text-align: center;
36
- white-space: nowrap;
37
- vertical-align: middle;
38
- user-select: none;
39
- }
40
-
41
- .dtable-ui-mobile-geolocation-map-selection-editor .dtable-ui-mobile-geolocation-map-editor-map {
42
- flex: 1;
43
- overflow: hidden;
44
- width: 100%;
45
- position: relative;
46
- }
47
-
48
- /* search results */
49
- .dtable-ui-mobile-geolocation-map-selection-editor .dtable-ui-mobile-map-selection-editor-search-results {
50
- height: 100%;
51
- width: 100%;
52
- position: absolute;
53
- top: 0;
54
- left: 0;
55
- background: #fff;
56
- border-top: 1px solid #eee;
57
- overflow-y: scroll;
58
- }
59
-
60
- .dtable-ui-mobile-geolocation-map-selection-editor .dtable-ui-mobile-map-selection-editor-search-result {
61
- height: 56px;
62
- border-bottom: 1px solid #ddd;
63
- display: flex;
64
- align-items: center;
65
- padding: 8px 16px;
66
- }
67
-
68
- .dtable-ui-mobile-geolocation-map-selection-editor .dtable-ui-mobile-map-selection-editor-search-result {
69
- height: 56px;
70
- border-bottom: 1px solid #ddd;
71
- display: flex;
72
- align-items: flex-start;
73
- flex-direction: column;
74
- padding: 8px 16px;
75
- }
76
-
77
- .dtable-ui-mobile-geolocation-map-selection-editor .dtable-ui-mobile-map-selection-editor-search-result-title {
78
- font-size: 14px
79
- }
80
-
81
- .dtable-ui-mobile-geolocation-map-selection-editor .dtable-ui-mobile-map-selection-editor-search-result-address {
82
- color: #666;
83
- font-size: 12px;
84
- }
85
-
86
- .dtable-ui-mobile-geolocation-map-selection-editor .dtable-ui-mobile-map-selection-editor-search-result span {
87
- display: inline-block;
88
- width: 100%;
89
- overflow: hidden;
90
- text-overflow: ellipsis;
91
- white-space: nowrap;
92
- }
93
-
94
- .dtable-ui-mobile-geolocation-map-selection-editor .dtable-ui-mobile-map-selection-editor-search-result:last-child {
95
- border-bottom: none;
96
- }
97
-
98
- .dtable-ui-mobile-geolocation-map-selection-editor .dtable-ui-mobile-geolocation-map-editor-label {
99
- width: 100%;
100
- min-height: 120px;
101
- height: fit-content;
102
- background-color: #fff;
103
- position: relative;
104
- flex-shrink: 0;
105
- }
106
-
107
- .dtable-ui-mobile-geolocation-map-selection-editor .dtable-ui-mobile-geolocation-map-editor-label.simple {
108
- min-height: 95px;
109
- }
110
-
111
- .dtable-ui-mobile-geolocation-map-selection-editor .dtable-ui-mobile-geolocation-map-editor-label-title {
112
- display: block;
113
- width: 85%;
114
- margin-left: 15px;
115
- margin-top: 10px;
116
- font-size: 18px;
117
- font-weight: 500;
118
- }
119
-
120
- .dtable-ui-mobile-geolocation-map-selection-editor .dtable-ui-mobile-geolocation-map-editor-label .dtable-icon-x {
121
- position: absolute;
122
- right: 10px;
123
- top: 5px;
124
- font-size: 18px;
125
- color: #666;
126
- }
127
-
128
- .dtable-ui-mobile-geolocation-map-selection-editor .dtable-ui-mobile-geolocation-map-editor-label-address-tip {
129
- display: block;
130
- margin-left: 15px;
131
- margin-top: 0.25rem;
132
- color: #666;
133
- font-size: 12px;
134
- }
135
-
136
- .dtable-ui-mobile-geolocation-map-selection-editor .dtable-ui-mobile-geolocation-map-editor-label-tag {
137
- margin-left: 15px;
138
- font-size: 12px;
139
- }
140
-
141
- .dtable-ui-mobile-geolocation-map-selection-editor .dtable-ui-mobile-geolocation-map-editor-label-address {
142
- width: 77%;
143
- display: block;
144
- margin-left: 15px;
145
- margin-bottom: 1.5rem;
146
- font-size: 14px;
147
- }
148
-
149
- .dtable-ui-mobile-geolocation-map-selection-editor .dtable-ui-mobile-geolocation-map-editor-label-address.simple {
150
- margin-top: 2rem;
151
- }
152
-
153
- .dtable-ui-mobile-geolocation-map-selection-editor .dtable-ui-mobile-geolocation-map-editor-label-btn {
154
- position: absolute;
155
- right: 10px;
156
- bottom: 1rem;
157
- font-weight: normal;
158
- }