dtable-ui-component 5.3.5 → 5.3.7

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 (258) hide show
  1. package/lib/ButtonFormatter/index.js +8 -2
  2. package/lib/CheckboxEditor/index.css +8 -20
  3. package/lib/CheckboxEditor/index.js +98 -35
  4. package/lib/CheckboxFormatter/index.css +5 -0
  5. package/lib/CheckboxFormatter/index.js +9 -15
  6. package/lib/CollaboratorEditor/index.css +12 -35
  7. package/lib/CollaboratorEditor/index.js +18 -212
  8. package/lib/CollaboratorEditor/{mb-collaborator-editor-popover → mb-collaborator-editor}/index.js +27 -30
  9. package/lib/CollaboratorEditor/pc-collaborator-editor/index.js +257 -0
  10. package/lib/CollaboratorItem/index.css +5 -1
  11. package/lib/CollaboratorItem/index.js +6 -2
  12. package/lib/Comment/body/comment.js +190 -0
  13. package/lib/Comment/body/index.css +95 -0
  14. package/lib/Comment/body/index.js +32 -0
  15. package/lib/Comment/footer/btns/index.css +40 -0
  16. package/lib/Comment/footer/btns/index.js +113 -0
  17. package/lib/Comment/footer/index.css +157 -0
  18. package/lib/Comment/footer/index.js +169 -0
  19. package/lib/Comment/footer/input/index.css +52 -0
  20. package/lib/Comment/footer/input/index.js +448 -0
  21. package/lib/Comment/footer/input/participant/index.css +0 -0
  22. package/lib/Comment/footer/input/participant/index.js +53 -0
  23. package/lib/Comment/footer/participants/index.css +22 -0
  24. package/lib/Comment/footer/participants/index.js +68 -0
  25. package/lib/Comment/footer/participants/participant/index.css +5 -0
  26. package/lib/Comment/footer/participants/participant/index.js +32 -0
  27. package/lib/Comment/footer/participants/participant-select/index.css +104 -0
  28. package/lib/Comment/footer/participants/participant-select/index.js +182 -0
  29. package/lib/Comment/index.css +19 -0
  30. package/lib/Comment/index.js +304 -0
  31. package/lib/Comment/model.js +25 -0
  32. package/lib/Comment/utils/common.js +62 -0
  33. package/lib/Comment/utils/index.js +27 -0
  34. package/lib/Comment/utils/utilities.js +176 -0
  35. package/lib/DTableCustomizeSelect/index.js +2 -2
  36. package/lib/DTableFiltersPopover/utils/index.js +1 -7
  37. package/lib/DTableFiltersPopover/widgets/filter-calendar.js +2 -2
  38. package/lib/DTableGroupSelect/index.js +3 -3
  39. package/lib/DTableSelect/index.js +3 -1
  40. package/lib/DateEditor/index.js +14 -51
  41. package/lib/DateEditor/pc-date-editor-popover.js +149 -12
  42. package/lib/{common/delete-tip.js → DeleteTip/index.js} +12 -16
  43. package/lib/Department-editor/department-single-select.js +1 -1
  44. package/lib/Department-editor/index.js +3 -4
  45. package/lib/DepartmentSingleSelectFormatter/index.js +3 -2
  46. package/lib/DigitalSignEditor/constants.js +7 -0
  47. package/lib/DigitalSignEditor/index.css +69 -0
  48. package/lib/DigitalSignEditor/index.js +182 -0
  49. package/lib/DigitalSignEditor/service.js +39 -0
  50. package/lib/DigitalSignEditor/signature-board/index.css +35 -0
  51. package/lib/DigitalSignEditor/signature-board/index.js +135 -0
  52. package/lib/DigitalSignEditor/signature-board/signature-tool.js +396 -0
  53. package/lib/DigitalSignEditor/utils.js +29 -0
  54. package/lib/DurationEditor/index.js +110 -0
  55. package/lib/EmailEditor/index.js +58 -0
  56. package/lib/FileEditor/addition-previewer/index.css +1 -0
  57. package/lib/FileEditor/addition-previewer/index.js +52 -0
  58. package/lib/FileEditor/addition-previewer/local-file-addition/index.css +1 -0
  59. package/lib/FileEditor/addition-previewer/local-file-addition/index.js +252 -0
  60. package/lib/FileEditor/constants.js +7 -0
  61. package/lib/FileEditor/files-previewer/file-previewer/dropdown-menu.js +74 -0
  62. package/lib/FileEditor/files-previewer/file-previewer/file-name-editor/index.css +5 -0
  63. package/lib/FileEditor/files-previewer/file-previewer/file-name-editor/index.js +77 -0
  64. package/lib/FileEditor/files-previewer/file-previewer/index.css +88 -0
  65. package/lib/FileEditor/files-previewer/file-previewer/index.js +167 -0
  66. package/lib/FileEditor/files-previewer/index.css +56 -0
  67. package/lib/FileEditor/files-previewer/index.js +277 -0
  68. package/lib/FileEditor/index.css +6 -0
  69. package/lib/FileEditor/index.js +258 -11
  70. package/lib/FileEditor/utils.js +22 -0
  71. package/lib/FileItemFormatter/index.js +19 -20
  72. package/lib/FileUploader/index.css +9 -0
  73. package/lib/FileUploader/index.js +268 -14
  74. package/lib/FormulaFormatter/cell-value-validator.js +17 -17
  75. package/lib/FormulaFormatter/index.js +2 -1
  76. package/lib/FormulaFormatter/utils.js +0 -31
  77. package/lib/GeolocationEditor/country-editor.js +319 -0
  78. package/lib/GeolocationEditor/index.css +641 -0
  79. package/lib/GeolocationEditor/index.js +240 -0
  80. package/lib/GeolocationEditor/location-editor.js +368 -0
  81. package/lib/GeolocationEditor/map-editor/index.js +456 -0
  82. package/lib/GeolocationEditor/map-editor/large-editor/index.css +137 -0
  83. package/lib/GeolocationEditor/map-editor/large-editor/index.js +461 -0
  84. package/lib/GeolocationEditor/map-editor-utils.js +153 -0
  85. package/lib/GeolocationEditor/map-selection-editor/index.js +455 -0
  86. package/lib/GeolocationEditor/map-selection-editor/large-editor/index.css +1 -0
  87. package/lib/GeolocationEditor/map-selection-editor/large-editor/index.js +447 -0
  88. package/lib/GeolocationEditor/parse-geolocation.js +282 -0
  89. package/lib/GeolocationEditor/province-city-editor.js +292 -0
  90. package/lib/GeolocationEditor/province-editor.js +226 -0
  91. package/lib/GeolocationEditor/selector-header-item.js +28 -0
  92. package/lib/GeolocationEditor/selector-list.js +33 -0
  93. package/lib/ImageEditor/addition-previewer/image-link/index.css +45 -0
  94. package/lib/ImageEditor/addition-previewer/image-link/index.js +73 -0
  95. package/lib/ImageEditor/addition-previewer/index.css +106 -0
  96. package/lib/ImageEditor/addition-previewer/index.js +63 -0
  97. package/lib/ImageEditor/addition-previewer/local-image-addition/index.css +125 -0
  98. package/lib/ImageEditor/addition-previewer/local-image-addition/index.js +254 -0
  99. package/lib/ImageEditor/constants.js +7 -0
  100. package/lib/ImageEditor/images-previewer/image-preview/index.css +59 -0
  101. package/lib/ImageEditor/images-previewer/image-preview/index.js +155 -0
  102. package/lib/ImageEditor/images-previewer/index.css +18 -0
  103. package/lib/ImageEditor/images-previewer/index.js +140 -0
  104. package/lib/ImageEditor/index.css +24 -0
  105. package/lib/ImageEditor/index.js +194 -0
  106. package/lib/ImageThumbnail/index.css +20 -0
  107. package/lib/ImageThumbnail/index.js +136 -0
  108. package/lib/LinkEditor/index.js +2 -3
  109. package/lib/LinkEditor/pc-link-editor-popover/index.js +1 -1
  110. package/lib/MultipleSelectEditor/index.js +16 -177
  111. package/lib/NumberEditor/index.js +63 -77
  112. package/lib/RoleStatusEditor/index.css +0 -2
  113. package/lib/RowExpandDialog/body/index.css +21 -0
  114. package/lib/RowExpandDialog/body/index.js +262 -0
  115. package/lib/RowExpandDialog/column-content/index.css +48 -0
  116. package/lib/RowExpandDialog/column-content/index.js +50 -0
  117. package/lib/RowExpandDialog/header/index.css +31 -0
  118. package/lib/RowExpandDialog/header/index.js +55 -0
  119. package/lib/RowExpandDialog/index.css +28 -0
  120. package/lib/RowExpandDialog/index.js +237 -0
  121. package/lib/RowExpandEditor/RowExpandAddBtn/index.css +22 -0
  122. package/lib/RowExpandEditor/RowExpandAddBtn/index.js +24 -0
  123. package/lib/RowExpandEditor/RowExpandCheckboxEditor/index.css +18 -0
  124. package/lib/RowExpandEditor/RowExpandCheckboxEditor/index.js +43 -0
  125. package/lib/RowExpandEditor/RowExpandCollaboratorEditor/index.css +5 -0
  126. package/lib/RowExpandEditor/RowExpandCollaboratorEditor/index.js +232 -0
  127. package/lib/RowExpandEditor/RowExpandDateEditor/index.js +130 -0
  128. package/lib/RowExpandEditor/RowExpandDepartmentEditor/index.js +106 -0
  129. package/lib/RowExpandEditor/RowExpandDigitalSignEditor/index.css +13 -0
  130. package/lib/RowExpandEditor/RowExpandDigitalSignEditor/index.js +208 -0
  131. package/lib/RowExpandEditor/RowExpandDurationEditor/index.js +105 -0
  132. package/lib/RowExpandEditor/RowExpandEmailEditor/index.css +2 -0
  133. package/lib/RowExpandEditor/RowExpandEmailEditor/index.js +125 -0
  134. package/lib/RowExpandEditor/RowExpandFileEditor/index.css +1 -0
  135. package/lib/RowExpandEditor/RowExpandFileEditor/index.js +147 -0
  136. package/lib/RowExpandEditor/RowExpandGeolocationEditor/index.css +17 -0
  137. package/lib/RowExpandEditor/RowExpandGeolocationEditor/index.js +165 -0
  138. package/lib/RowExpandEditor/RowExpandImageEditor/index.css +6 -0
  139. package/lib/RowExpandEditor/RowExpandImageEditor/index.js +170 -0
  140. package/lib/RowExpandEditor/RowExpandLongTextEditor/index.css +6 -0
  141. package/lib/RowExpandEditor/RowExpandLongTextEditor/index.js +123 -0
  142. package/lib/RowExpandEditor/RowExpandMultipleSelectEditor/index.css +44 -0
  143. package/lib/RowExpandEditor/RowExpandMultipleSelectEditor/index.js +224 -0
  144. package/lib/RowExpandEditor/RowExpandNumberEditor/index.js +105 -0
  145. package/lib/RowExpandEditor/RowExpandRateEditor/index.css +13 -0
  146. package/lib/RowExpandEditor/RowExpandRateEditor/index.js +152 -0
  147. package/lib/RowExpandEditor/RowExpandSingleSelectorEditor/index.css +58 -0
  148. package/lib/RowExpandEditor/RowExpandSingleSelectorEditor/index.js +193 -0
  149. package/lib/RowExpandEditor/RowExpandTextEditor/index.css +4 -0
  150. package/lib/RowExpandEditor/RowExpandTextEditor/index.js +127 -0
  151. package/lib/RowExpandEditor/RowExpandUrlEditor/index.css +31 -0
  152. package/lib/RowExpandEditor/RowExpandUrlEditor/index.js +130 -0
  153. package/lib/RowExpandEditor/constants.js +44 -0
  154. package/lib/RowExpandEditor/index.css +0 -0
  155. package/lib/RowExpandEditor/index.js +32 -0
  156. package/lib/RowExpandFormatter/RowExpandDepartmentFormatter/index.js +27 -0
  157. package/lib/{RowExpandEmailFormatter → RowExpandFormatter/RowExpandEmailFormatter}/index.css +1 -1
  158. package/lib/{RowExpandEmailFormatter → RowExpandFormatter/RowExpandEmailFormatter}/index.js +1 -1
  159. package/lib/{RowExpandFileFormatter → RowExpandFormatter/RowExpandFileFormatter}/index.css +6 -6
  160. package/lib/{RowExpandFileFormatter → RowExpandFormatter/RowExpandFileFormatter}/index.js +3 -1
  161. package/lib/{RowExpandFileFormatter → RowExpandFormatter/RowExpandFileFormatter}/row-expand-file-item-formatter.js +12 -13
  162. package/lib/{RowExpandFormulaFormatter → RowExpandFormatter/RowExpandFormulaFormatter}/index.js +11 -10
  163. package/lib/{RowExpandImageFormatter → RowExpandFormatter/RowExpandImageFormatter}/index.css +6 -6
  164. package/lib/{RowExpandImageFormatter → RowExpandFormatter/RowExpandImageFormatter}/index.js +1 -1
  165. package/lib/{RowExpandImageFormatter → RowExpandFormatter/RowExpandImageFormatter}/row-expand-image-item-formatter.js +5 -5
  166. package/lib/{RowExpandLinkFormatter → RowExpandFormatter/RowExpandLinkFormatter}/collaborator-item-formatter.js +1 -1
  167. package/lib/{RowExpandLinkFormatter → RowExpandFormatter/RowExpandLinkFormatter}/index.css +2 -2
  168. package/lib/{RowExpandLinkFormatter → RowExpandFormatter/RowExpandLinkFormatter}/index.js +20 -20
  169. package/lib/{RowExpandRateFormatter → RowExpandFormatter/RowExpandRateFormatter}/index.css +1 -1
  170. package/lib/RowExpandFormatter/RowExpandUrlFormatter/index.css +1 -0
  171. package/lib/{RowExpandUrlFormatter → RowExpandFormatter/RowExpandUrlFormatter}/index.js +4 -3
  172. package/lib/RowExpandFormatter/constants.js +61 -0
  173. package/lib/RowExpandFormatter/index.css +28 -3
  174. package/lib/RowExpandFormatter/index.js +111 -130
  175. package/lib/SimpleLongTextFormatter/widgets/longTextEditor.css +2 -2
  176. package/lib/SingleSelectEditor/index.js +16 -156
  177. package/lib/SvgIcon/index.css +11 -0
  178. package/lib/SvgIcon/index.js +29 -0
  179. package/lib/TextEditor/index.js +112 -42
  180. package/lib/UploadProgress/index.js +38 -0
  181. package/lib/UrlEditor/index.js +61 -0
  182. package/lib/common/editor-base.js +52 -0
  183. package/lib/constants/file.js +96 -0
  184. package/lib/constants/index.js +27 -15
  185. package/lib/constants/key-codes.js +109 -0
  186. package/lib/css/cell-editor.css +18 -2
  187. package/lib/formatterConfig/base-formatter-config.js +23 -23
  188. package/lib/formatterConfig/index.js +3 -3
  189. package/lib/hooks/index.js +16 -0
  190. package/lib/index.js +81 -46
  191. package/lib/lang/index.js +19 -16
  192. package/lib/locales/de.json +167 -0
  193. package/lib/locales/en.json +167 -0
  194. package/lib/locales/es.json +167 -0
  195. package/lib/locales/fr.json +167 -0
  196. package/lib/locales/pt.json +167 -0
  197. package/lib/locales/ru.json +167 -0
  198. package/lib/locales/zh-CN.json +167 -0
  199. package/lib/select-editor/index.js +6 -6
  200. package/lib/select-editor/{mb-select-editor-popover → mb-select-editor}/index.js +3 -3
  201. package/lib/select-editor/pc-select-editor/index.css +85 -0
  202. package/lib/select-editor/pc-select-editor/index.js +290 -0
  203. package/lib/utils/cell-comparer.js +35 -0
  204. package/lib/utils/cell.js +55 -0
  205. package/lib/utils/column-utils.js +25 -0
  206. package/lib/utils/editor-utils.js +1 -6
  207. package/lib/utils/get-event-transfer.js +75 -0
  208. package/lib/utils/hotkey.js +37 -0
  209. package/lib/utils/object-utils.js +61 -0
  210. package/lib/utils/url.js +121 -8
  211. package/lib/utils/utils.js +119 -2
  212. package/package.json +3 -2
  213. package/lib/CollaboratorEditor/pc-collaborator-editor-popover/index.js +0 -97
  214. package/lib/FileEditor/pc-files-addition/index.js +0 -1
  215. package/lib/FileEditor/pc-files-addition/pc-file-uploaded-item.js +0 -1
  216. package/lib/FileEditor/pc-files-preview/index.js +0 -1
  217. package/lib/FileEditor/pc-files-preview/pc-file-item-preview.js +0 -1
  218. package/lib/FileItemFormatter/assets/file/192/excel.png +0 -0
  219. package/lib/FileItemFormatter/assets/file/192/file.png +0 -0
  220. package/lib/FileItemFormatter/assets/file/192/music.png +0 -0
  221. package/lib/FileItemFormatter/assets/file/192/pdf.png +0 -0
  222. package/lib/FileItemFormatter/assets/file/192/pic.png +0 -0
  223. package/lib/FileItemFormatter/assets/file/192/ppt.png +0 -0
  224. package/lib/FileItemFormatter/assets/file/192/txt.png +0 -0
  225. package/lib/FileItemFormatter/assets/file/192/video.png +0 -0
  226. package/lib/FileItemFormatter/assets/file/192/word.png +0 -0
  227. package/lib/FileItemFormatter/assets/file/24/excel.png +0 -0
  228. package/lib/FileItemFormatter/assets/file/24/file.png +0 -0
  229. package/lib/FileItemFormatter/assets/file/24/music.png +0 -0
  230. package/lib/FileItemFormatter/assets/file/24/pdf.png +0 -0
  231. package/lib/FileItemFormatter/assets/file/24/pic.png +0 -0
  232. package/lib/FileItemFormatter/assets/file/24/ppt.png +0 -0
  233. package/lib/FileItemFormatter/assets/file/24/txt.png +0 -0
  234. package/lib/FileItemFormatter/assets/file/24/video.png +0 -0
  235. package/lib/FileItemFormatter/assets/file/24/word.png +0 -0
  236. package/lib/FileItemFormatter/assets/folder/folder-192.png +0 -0
  237. package/lib/FileItemFormatter/assets/folder/folder-24.png +0 -0
  238. package/lib/FileItemFormatter/utils.js +0 -99
  239. package/lib/MultipleSelectEditor/index.css +0 -9
  240. package/lib/RowExpandLinkFormatter/utils.js +0 -71
  241. package/lib/RowExpandUrlFormatter/index.css +0 -1
  242. package/lib/SingleSelectEditor/index.css +0 -14
  243. package/lib/common/modal-portal.js +0 -26
  244. package/lib/locals/de.js +0 -103
  245. package/lib/locals/en.js +0 -104
  246. package/lib/locals/es.js +0 -103
  247. package/lib/locals/fr.js +0 -103
  248. package/lib/locals/pt.js +0 -103
  249. package/lib/locals/ru.js +0 -103
  250. package/lib/locals/zh-CN.js +0 -104
  251. package/lib/select-editor/pc-select-editor-popover/index.css +0 -71
  252. package/lib/select-editor/pc-select-editor-popover/index.js +0 -122
  253. /package/lib/CollaboratorEditor/{mb-collaborator-editor-popover → mb-collaborator-editor}/index.css +0 -0
  254. /package/lib/CollaboratorEditor/{pc-collaborator-editor-popover → pc-collaborator-editor}/index.css +0 -0
  255. /package/lib/{common/delete-tip.css → DeleteTip/index.css} +0 -0
  256. /package/lib/{RowExpandLinkFormatter → RowExpandFormatter/RowExpandLinkFormatter}/value-display-utils.js +0 -0
  257. /package/lib/{RowExpandRateFormatter → RowExpandFormatter/RowExpandRateFormatter}/index.js +0 -0
  258. /package/lib/select-editor/{mb-select-editor-popover → mb-select-editor}/index.css +0 -0
@@ -0,0 +1,641 @@
1
+ .dtable-ui-dtable-ui-geolocation-editor {
2
+ background-color: #ffffff;
3
+ box-shadow: 0 0 5px #ccc;
4
+ border-radius: 4px;
5
+ position: relative;
6
+ display: inline-block;
7
+ min-width: max-content;
8
+ width: 400px;
9
+ }
10
+
11
+ .dtable-ui-geolocation-editor-content {
12
+ box-sizing: border-box;
13
+ }
14
+
15
+ .dtable-ui-geolocation-editor-content .dtable-ui-geolocation-editor-item {
16
+ display: flex;
17
+ justify-content: space-between;
18
+ padding: 10px;
19
+ }
20
+
21
+ .dtable-ui-geolocation-editor-item-left {
22
+ flex: 0 0 80px;
23
+ }
24
+
25
+ .dtable-ui-geolocation-editor-item-right {
26
+ flex-basis: 1 1 auto;
27
+ }
28
+
29
+ .dtable-ui-geolocation-editor-selector-container {
30
+ line-height: 38px;
31
+ position: relative;
32
+ box-sizing: content-box;
33
+ }
34
+
35
+ .dtable-ui-geolocation-editor-selector {
36
+ width: 300px;
37
+ height: 38px;
38
+ line-height: 38px;
39
+ border: 1px solid #ccc;
40
+ display: flex;
41
+ padding: 0 10px;
42
+ border-radius: 3px;
43
+ cursor: pointer;
44
+ flex-wrap: nowrap;
45
+ align-items: center;
46
+ justify-content: space-between;
47
+ background: #fff;
48
+ word-break: keep-all;
49
+ border: 1px solid rgba(0, 40, 100, 0.12);
50
+ }
51
+
52
+ .dtable-ui-geolocation-editor-selector:hover {
53
+ border-color: #b3b3b3;
54
+ cursor: pointer;
55
+ }
56
+
57
+ .dtable-ui-geolocation-editor-selector.focus {
58
+ border-color: #1991eb;
59
+ box-shadow: 0 0 0 2px #467fcf40;
60
+ }
61
+
62
+ .dtable-ui-geolocation-editor-parameter-icon {
63
+ color: #999;
64
+ display: inline-block;
65
+ font-size: 12px;
66
+ }
67
+
68
+ .dtable-ui-geolocation-editor-detail-info {
69
+ width: 300px;
70
+ padding: 5px;
71
+ display: inline-block;
72
+ height: 70px;
73
+ resize: none;
74
+ border-radius: 3px;
75
+ border: 1px solid #ccc;
76
+ }
77
+
78
+ .dtable-ui-geolocation-editor-recognition {
79
+ background-color: #f5f5f5;
80
+ border: none;
81
+ }
82
+
83
+ .dtable-ui-dtable-ui-geolocation-editor .geolocation-selector-container {
84
+ position: absolute;
85
+ min-width: 400px;
86
+ top: 100%;
87
+ left: 0;
88
+ background-color: #ffffff;
89
+ box-shadow: 0 0 5px #ccc;
90
+ min-height: 165px;
91
+ }
92
+
93
+ .dtable-ui-dtable-ui-geolocation-editor .geolocation-selector-header {
94
+ height: 45px;
95
+ display: flex;
96
+ border-bottom: 1px solid #ccc;
97
+ padding: 5px 20px 0 20px;
98
+ align-items: flex-end;
99
+ }
100
+
101
+ .dtable-ui-dtable-ui-geolocation-editor .dtable-ui-geolocation-selector-header-item {
102
+ border: 1px solid #ccc;
103
+ height: 35px;
104
+ margin-right: 10px;
105
+ display: flex;
106
+ margin-bottom: -1px;
107
+ border-radius: 3px 3px 0 0;
108
+ padding: 10px;
109
+ line-height: 15px;
110
+ cursor: pointer;
111
+ font-size: 14px;
112
+ word-break: keep-all;
113
+ }
114
+
115
+ .dtable-ui-geolocation-selector-header-item i {
116
+ color: #747474;
117
+ transform: scale(0.8);
118
+ display: inline-block;
119
+ }
120
+
121
+ .dtable-ui-dtable-ui-geolocation-editor .selected-dtable-ui-geolocation-selector-header-item {
122
+ border-bottom: 1px solid #fff;
123
+ }
124
+
125
+ .dtable-ui-geolocation-selector-header-item span {
126
+ display: inline-block;
127
+ }
128
+
129
+ .selected-dtable-ui-geolocation-selector-header-item span {
130
+ color: #f09f3f;
131
+ }
132
+
133
+ .dtable-ui-geolocation-selector-list-item {
134
+ padding: 0 8px;
135
+ text-align: center;
136
+ font-size: 14px;
137
+ line-height: 30px;
138
+ display: inline-block;
139
+ height: 30px;
140
+ cursor: pointer;
141
+ user-select: none;
142
+ }
143
+
144
+ .dtable-ui-geolocation-selector-list {
145
+ padding: 0;
146
+ display: flex;
147
+ width: fit-content;
148
+ flex-wrap: wrap;
149
+ }
150
+
151
+ .dtable-ui-geolocation-selector-list .selected-list-item {
152
+ color: #f09f3f;
153
+ }
154
+
155
+ /* map-editor */
156
+ .dtable-ui-geolocation-map-editor-header {
157
+ height: 50px;
158
+ padding: 0 20px;
159
+ display: flex;
160
+ align-items: center;
161
+ justify-content: space-between;
162
+ border-bottom: 1px solid #ededed;
163
+ }
164
+
165
+ .dtable-ui-geolocation-map-editor-logo .dtable-font {
166
+ color: #aaa;
167
+ }
168
+
169
+ .dtable-ui-geolocation-map-editor-screen {
170
+ width: 24px;
171
+ height: 24px;
172
+ color: #aaa;
173
+ cursor: pointer;
174
+ display: flex;
175
+ align-items: center;
176
+ justify-content: flex-end;
177
+ }
178
+
179
+ .dtable-ui-geolocation-map-editor-screen:hover {
180
+ color: #666;
181
+ }
182
+
183
+ .dtable-ui-geolocation-map-editor {
184
+ height: 384px;
185
+ width: 500px;
186
+ display: flex;
187
+ flex-direction: column;
188
+ position: relative;
189
+ }
190
+
191
+ .dtable-ui-geolocation-map-editor .map-editor-header {
192
+ position: absolute;
193
+ top: 16px;
194
+ left: 5%;
195
+ height: 60px;
196
+ z-index: 2;
197
+ width: 90%;
198
+ display: flex;
199
+ justify-content: space-between;
200
+ }
201
+
202
+ .dtable-ui-geolocation-map-editor.selection-editor .map-editor-header {
203
+ left: 4%;
204
+ width: 92%;
205
+ }
206
+
207
+ .dtable-ui-geolocation-map-editor .search-tables-input {
208
+ line-height: 38px;
209
+ padding-right: 30px;
210
+ border-bottom: 0;
211
+ background: #fff;
212
+ border-radius: 3px;
213
+ border: 1px solid #dedede;
214
+ box-shadow: 0 -0 12px rgb(0 0 0 / 30%);
215
+ }
216
+
217
+ .dtable-ui-geolocation-map-editor .search-tables-input.selection-input {
218
+ width: 88%;
219
+ box-shadow: 0 -0 2px rgb(0 0 0 / 30%);
220
+ border-radius: 3px 0px 0px 3px;
221
+ border-right: none;
222
+ }
223
+
224
+ .dtable-ui-geolocation-submit-map-editor {
225
+ display: inline-block;
226
+ height: 38px;
227
+ text-align: center;
228
+ white-space: nowrap;
229
+ vertical-align: middle;
230
+ user-select: none;
231
+ border: 1px solid transparent;
232
+ padding: 0.375rem 0.75rem;
233
+ font-size: 0.875rem;
234
+ line-height: 1.8461538462;
235
+ border-radius: 3px;
236
+ background-color: #fff;
237
+ cursor: pointer;
238
+ color: #FF8000;
239
+ margin-left: 16px;
240
+ box-shadow: 0 -0 12px rgb(0 0 0 / 30%);
241
+ }
242
+
243
+ .dtable-ui-geolocation-submit-map-editor:hover {
244
+ background-color: #f5f5f5;
245
+ }
246
+
247
+ .dtable-ui-geolocation-search-selection-editor {
248
+ width: 12%;
249
+ height: 38px;
250
+ display: inline-block;
251
+ text-align: center;
252
+ white-space: nowrap;
253
+ vertical-align: middle;
254
+ user-select: none;
255
+ padding: 0.375rem 0.75rem;
256
+ font-size: 0.875rem;
257
+ line-height: 1.8;
258
+ background-color: #f5f5f5;
259
+ color: #666;
260
+ cursor: pointer;
261
+ border: 1px solid #dedede;
262
+ border-left: none;
263
+ border-radius: 0px 3px 3px 0px;
264
+ box-shadow: 0 0 2px rgb(0 0 0 / 30%);
265
+ }
266
+
267
+ .dtable-ui-geolocation-search-selection-editor:hover {
268
+ background-color: #f5f5f5;
269
+ }
270
+
271
+ .dtable-ui-geolocation-map-editor .geolocation-map-container,
272
+ .dtable-ui-geolocation-map-editor .geolocation-map-selection-container {
273
+ height: 100%;
274
+ display: flex;
275
+ align-items: center;
276
+ text-align: center;
277
+ }
278
+
279
+ .dtable-ui-geolocation-map-editor .search-results-container {
280
+ width: 404px;
281
+ height: fit-content;
282
+ max-height: 300px;
283
+ overflow-y: scroll;
284
+ position: absolute;
285
+ top: 62px;
286
+ left: 20px;
287
+ background: #fff;
288
+ border: 1px solid transparent;
289
+ border-radius: 3px;
290
+ padding: 0px 10px;
291
+ box-shadow: 0 -0 3px rgb(0 0 0 / 30%);
292
+ }
293
+
294
+ .dtable-ui-geolocation-map-editor .search-result-item {
295
+ height: 56px;
296
+ cursor: pointer;
297
+ position: relative;
298
+ padding: 10px 10px 10px 0px;
299
+ border-bottom: 1px solid #ddd;
300
+ }
301
+
302
+ .dtable-ui-geolocation-map-editor .search-result-item:hover {
303
+ background-color: #f5f5f5;
304
+ }
305
+
306
+ .dtable-ui-geolocation-map-editor .search-result-item .search-result-item-title {
307
+ color: #212529;
308
+ font-size: 14px;
309
+ }
310
+
311
+ .dtable-ui-geolocation-map-editor .search-result-item .search-result-item-address {
312
+ color: #666;
313
+ font-size: 12px;
314
+ position: absolute;
315
+ left: 0px;
316
+ bottom: 5px;
317
+ }
318
+
319
+ .dtable-ui-geolocation-map-editor-large .dtable-ui-selection-label-content,
320
+ .dtable-ui-geolocation-map-editor .dtable-ui-selection-label-content {
321
+ width: 225px;
322
+ height: 130px;
323
+ position: relative;
324
+ cursor: default;
325
+ }
326
+
327
+ .dtable-ui-geolocation-map-editor-large .dtable-ui-selection-label-content.simple,
328
+ .dtable-ui-geolocation-map-editor .dtable-ui-selection-label-content.simple {
329
+ height: 90px;
330
+ }
331
+
332
+ .dtable-ui-geolocation-map-editor-large .dtable-ui-selection-label-content .dtable-icon-down3,
333
+ .dtable-ui-geolocation-map-editor .dtable-ui-selection-label-content .dtable-icon-down3 {
334
+ position: absolute;
335
+ transform: rotate(180deg);
336
+ top: -16px;
337
+ left: 47%;
338
+ color: #fff;
339
+ }
340
+
341
+ .dtable-ui-geolocation-map-editor-large .dtable-ui-selection-label-content .dtable-icon-x,
342
+ .dtable-ui-geolocation-map-editor .dtable-ui-selection-label-content .dtable-icon-x {
343
+ position: absolute;
344
+ right: -5px;
345
+ top: 2px;
346
+ color: #999;
347
+ cursor: pointer;
348
+ }
349
+
350
+ .dtable-ui-geolocation-map-editor-large .dtable-ui-selection-label-content .dtable-icon-x:hover,
351
+ .dtable-ui-geolocation-map-editor .dtable-ui-selection-label-content .dtable-icon-x:hover {
352
+ color: #212529;
353
+ }
354
+
355
+ .dtable-ui-geolocation-map-editor-large .dtable-ui-selection-label-content .label-title,
356
+ .dtable-ui-geolocation-map-editor .dtable-ui-selection-label-content .label-title {
357
+ width: 225px;
358
+ font-size: 18px;
359
+ color: #202428;
360
+ position: absolute;
361
+ top: 8px;
362
+ }
363
+
364
+ .dtable-ui-geolocation-map-editor-large .dtable-ui-selection-label-content .label-tag,
365
+ .dtable-ui-geolocation-map-editor .dtable-ui-selection-label-content .label-tag {
366
+ font-size: 12px;
367
+ color: #202428;
368
+ position: absolute;
369
+ top: 34px;
370
+ font-weight: normal;
371
+ }
372
+
373
+ .dtable-ui-geolocation-map-editor-large .dtable-ui-selection-label-content .label-address-tip,
374
+ .dtable-ui-geolocation-map-editor .dtable-ui-selection-label-content .label-address-tip {
375
+ font-size: 12px;
376
+ color: #666;
377
+ position: absolute;
378
+ top: 58px;
379
+ font-weight: normal;
380
+ }
381
+
382
+ .dtable-ui-geolocation-map-editor-large .dtable-ui-selection-label-content .label-address,
383
+ .dtable-ui-geolocation-map-editor .dtable-ui-selection-label-content .label-address {
384
+ width: 225px;
385
+ font-size: 12px;
386
+ color: #202428;
387
+ position: absolute;
388
+ top: 74px;
389
+ font-weight: normal;
390
+ }
391
+
392
+ .dtable-ui-geolocation-map-editor-large .dtable-ui-selection-label-content .label-address.simple,
393
+ .dtable-ui-geolocation-map-editor .dtable-ui-selection-label-content .label-address.simple {
394
+ font-size: 14px;
395
+ top: 25px;
396
+ }
397
+
398
+ .dtable-ui-geolocation-map-editor-large .dtable-ui-selection-label-content .label-submit,
399
+ .dtable-ui-geolocation-map-editor .dtable-ui-selection-label-content .label-submit {
400
+ position: absolute;
401
+ bottom: 5px;
402
+ right: 0px;
403
+ width: 50px;
404
+ height: 24px;
405
+ display: flex;
406
+ line-height: normal;
407
+ font-size: 12px;
408
+ align-items: center;
409
+ justify-content: center;
410
+ font-weight: normal;
411
+ }
412
+
413
+ .dtable-ui-geolocation-map-editor-large.no-support-tip,
414
+ .dtable-ui-geolocation-map-editor.no-support-tip {
415
+ display: flex;
416
+ align-items: center;
417
+ justify-content: center;
418
+ color: #666;
419
+ }
420
+
421
+ .dtable-ui-geolocation-map-editor .geolocation-map-selection-read-only-container,
422
+ .dtable-ui-geolocation-map-editor .geolocation-map-read-only-container {
423
+ height: 100%;
424
+ display: flex;
425
+ align-items: center;
426
+ text-align: center;
427
+ }
428
+
429
+ .dtable-ui-geolocation-map-editor .search-tables-input:focus {
430
+ border-color: #bdbdbd;
431
+ box-shadow: 0 -0 12px rgb(0 0 0 / 30%);
432
+ }
433
+
434
+ .dtable-ui-geolocation-map-editor .selection-input:focus {
435
+ box-shadow: 0 -0 3px rgb(0 0 0 / 30%);
436
+ }
437
+
438
+ .dtable-ui-geolocation-map-editor .error-message {
439
+ word-break: break-all;
440
+ padding: 10px;
441
+ margin: auto;
442
+ }
443
+
444
+ .BMap_Marker img {
445
+ max-width: none;
446
+ }
447
+
448
+ .dtable-ui-geolocation-zoom-control {
449
+ position: absolute;
450
+ bottom: 20px;
451
+ right: 10px;
452
+ }
453
+
454
+ .dtable-ui-geolocation-locate-control {
455
+ position: absolute;
456
+ right: 10px;
457
+ bottom: 95px;
458
+ background-color: #ffffff;
459
+ box-shadow: 0 0 4px rgb(0 0 0 / 12%);
460
+ border-radius: 4px;
461
+ text-align: center;
462
+ color: #212529;
463
+ cursor: pointer;
464
+ }
465
+
466
+ .dtable-ui-geolocation-zoom-control .dtable-ui-geolocation-zoom-control-btn {
467
+ text-align: center;
468
+ color: #212529;
469
+ font-weight: 500;
470
+ cursor: pointer;
471
+ box-shadow: 0 0 4px rgb(0 0 0 / 12%);
472
+ text-align: center;
473
+ background-color: #ffffff;
474
+ border-radius: 4px;
475
+ user-select: none;
476
+ }
477
+
478
+ .dtable-ui-geolocation-locate-control:hover,
479
+ .dtable-ui-geolocation-zoom-control .dtable-ui-geolocation-zoom-control-btn:hover {
480
+ background-color: #f5f5f5;
481
+ }
482
+
483
+ @media screen and (max-width: 767.8px) {
484
+ .dtable-ui-geolocation-locate-control,
485
+ .dtable-ui-geolocation-zoom-control .dtable-ui-geolocation-zoom-control-btn {
486
+ margin-bottom: 4px;
487
+ height: 45px;
488
+ width: 45px;
489
+ line-height: 45px;
490
+ }
491
+
492
+ .dtable-ui-geolocation-locate-control {
493
+ bottom: 130px;
494
+ }
495
+ }
496
+
497
+ @media screen and (min-width: 767.8px) {
498
+ .dtable-ui-geolocation-locate-control,
499
+ .dtable-ui-geolocation-zoom-control .dtable-ui-geolocation-zoom-control-btn {
500
+ margin-bottom: 4px;
501
+ height: 30px;
502
+ width: 30px;
503
+ line-height: 30px;
504
+ }
505
+ }
506
+ /* map-editor end*/
507
+
508
+ /* country-region editor */
509
+ .dtable-ui-geolocation-country-editor {
510
+ width: 200px;
511
+ max-height: 240px;
512
+ display: flex;
513
+ flex-direction: column;
514
+ overflow: hidden;
515
+ background-color: #ffffff;
516
+ padding-bottom: 10px;
517
+ }
518
+
519
+ .dtable-ui-geolocation-country-editor .geolocation-region-list-header {
520
+ padding: 10px 10px 0 10px;
521
+ }
522
+
523
+ .dtable-ui-geolocation-country-editor .geolocation-region-list-container {
524
+ font-size: 14px;
525
+ line-height: 16px;
526
+ height: calc(100% - 58px);
527
+ overflow: auto;
528
+ min-height: 160px;
529
+ padding-top: 10px;
530
+ }
531
+
532
+ .dtable-ui-geolocation-country-editor .geolocation-region-list-header input {
533
+ max-height: 30px;
534
+ font-size: 14px;
535
+ }
536
+
537
+ .dtable-ui-geolocation-country-editor .geolocation-region-editor-continent {
538
+ background-color: #f5f5f5;
539
+ line-height: 16px;
540
+ color: #666;
541
+ }
542
+
543
+ .dtable-ui-geolocation-country-editor .geolocation-region-editor-country {
544
+ padding: 5px 10px;
545
+ position: relative;
546
+ height: 30px;
547
+ transition: background-color 0.3s;
548
+ user-select: none;
549
+ }
550
+
551
+ .dtable-ui-geolocation-country-editor .geolocation-region-editor-continent {
552
+ padding: 5px 10px;
553
+ }
554
+
555
+ .dtable-ui-geolocation-country-editor .geolocation-region-editor-country .icon {
556
+ color: #999;
557
+ position: absolute;
558
+ left: 10px;
559
+ top: 8px;
560
+ margin-right: 5px;
561
+ display: inline-block;
562
+ font-size: 14px;
563
+ }
564
+
565
+ .dtable-ui-geolocation-country-editor .geolocation-region-editor-country .country-name {
566
+ width: 160px;
567
+ display: inline-block;
568
+ overflow: hidden;
569
+ text-overflow: ellipsis;
570
+ white-space: nowrap;
571
+ cursor: pointer;
572
+ margin-left: 21px;
573
+ line-height: 20px;
574
+ }
575
+
576
+ .dtable-ui-geolocation-country-editor .country-list-empty {
577
+ color: #666;
578
+ width: 100%;
579
+ margin: 10px auto;
580
+ text-align: center;
581
+ }
582
+
583
+ /* country-region editor end*/
584
+
585
+ .dtable-ui-geolocation-province-editor {
586
+ width: 200px;
587
+ max-height: 240px;
588
+ display: flex;
589
+ flex-direction: column;
590
+ overflow: hidden;
591
+ background-color: #ffffff;
592
+ }
593
+
594
+ .dtable-ui-geolocation-province-editor .geolocation-province-list-container {
595
+ font-size: 14px;
596
+ line-height: 16px;
597
+ height: calc(100% - 58px);
598
+ overflow: auto;
599
+ padding: 10px;
600
+ min-height: 170px;
601
+ }
602
+
603
+ .dtable-ui-geolocation-province-editor .province-name {
604
+ width: 160px;
605
+ display: inline-block;
606
+ overflow: hidden;
607
+ text-overflow: ellipsis;
608
+ white-space: nowrap;
609
+ cursor: pointer;
610
+ margin-left: 10px;
611
+ line-height: 30px;
612
+ }
613
+
614
+ .dtable-ui-geolocation-province-editor .geolocation-province-list-header {
615
+ padding: 10px 10px 0 10px;
616
+ }
617
+
618
+ .dtable-ui-geolocation-province-editor .geolocation-province-list-header input {
619
+ max-height: 30px;
620
+ font-size: 14px;
621
+ }
622
+
623
+ .dtable-ui-geolocation-province-editor .geolocation-region-editor-province {
624
+ height: 30px;
625
+ display: flex;
626
+ line-height: 30px;
627
+ transition: background-color 0.3s;
628
+ user-select: none;
629
+ border-radius: 2px;
630
+ }
631
+
632
+ .dtable-ui-geolocation-province-editor .province-selected-icon {
633
+ display: inline-block;
634
+ width: 20px;
635
+ text-align: center;
636
+ font-size: 14px;
637
+ }
638
+
639
+ .dtable-ui-geolocation-province-editor .geolocation-region-editor-province-highlight {
640
+ background-color: #f5f5f5;
641
+ }