dtable-ui-component 5.3.1-beta → 5.3.1

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 (223) hide show
  1. package/lib/CheckboxEditor/index.css +20 -3
  2. package/lib/CheckboxEditor/index.js +35 -98
  3. package/lib/CheckboxFormatter/index.js +9 -6
  4. package/lib/CollaboratorEditor/index.css +35 -12
  5. package/lib/CollaboratorEditor/index.js +212 -18
  6. package/lib/CollaboratorEditor/{mb-collaborator-editor → mb-collaborator-editor-popover}/index.js +29 -26
  7. package/lib/CollaboratorEditor/pc-collaborator-editor-popover/index.js +97 -0
  8. package/lib/CollaboratorItem/index.css +1 -1
  9. package/lib/CollaboratorItem/index.js +2 -6
  10. package/lib/DTableFiltersPopover/utils/index.js +7 -1
  11. package/lib/DTableFiltersPopover/widgets/filter-calendar.js +2 -2
  12. package/lib/DTableSelect/index.js +1 -3
  13. package/lib/DateEditor/index.js +51 -14
  14. package/lib/DateEditor/pc-date-editor-popover.js +12 -145
  15. package/lib/Department-editor/department-single-select.js +1 -1
  16. package/lib/Department-editor/index.js +4 -3
  17. package/lib/DepartmentSingleSelectFormatter/index.js +1 -2
  18. package/lib/FileEditor/index.js +11 -244
  19. package/lib/FileEditor/pc-files-addition/index.js +1 -0
  20. package/lib/FileEditor/pc-files-addition/pc-file-uploaded-item.js +1 -0
  21. package/lib/FileEditor/pc-files-preview/index.js +1 -0
  22. package/lib/FileEditor/pc-files-preview/pc-file-item-preview.js +1 -0
  23. package/lib/FileItemFormatter/assets/file/192/excel.png +0 -0
  24. package/lib/FileItemFormatter/assets/file/192/file.png +0 -0
  25. package/lib/FileItemFormatter/assets/file/192/music.png +0 -0
  26. package/lib/FileItemFormatter/assets/file/192/pdf.png +0 -0
  27. package/lib/FileItemFormatter/assets/file/192/pic.png +0 -0
  28. package/lib/FileItemFormatter/assets/file/192/ppt.png +0 -0
  29. package/lib/FileItemFormatter/assets/file/192/txt.png +0 -0
  30. package/lib/FileItemFormatter/assets/file/192/video.png +0 -0
  31. package/lib/FileItemFormatter/assets/file/192/word.png +0 -0
  32. package/lib/FileItemFormatter/assets/file/24/excel.png +0 -0
  33. package/lib/FileItemFormatter/assets/file/24/file.png +0 -0
  34. package/lib/FileItemFormatter/assets/file/24/music.png +0 -0
  35. package/lib/FileItemFormatter/assets/file/24/pdf.png +0 -0
  36. package/lib/FileItemFormatter/assets/file/24/pic.png +0 -0
  37. package/lib/FileItemFormatter/assets/file/24/ppt.png +0 -0
  38. package/lib/FileItemFormatter/assets/file/24/txt.png +0 -0
  39. package/lib/FileItemFormatter/assets/file/24/video.png +0 -0
  40. package/lib/FileItemFormatter/assets/file/24/word.png +0 -0
  41. package/lib/FileItemFormatter/assets/folder/folder-192.png +0 -0
  42. package/lib/FileItemFormatter/assets/folder/folder-24.png +0 -0
  43. package/lib/FileItemFormatter/index.js +20 -19
  44. package/lib/FileItemFormatter/utils.js +99 -0
  45. package/lib/FileUploader/index.js +14 -268
  46. package/lib/FormulaFormatter/index.js +1 -2
  47. package/lib/FormulaFormatter/utils.js +31 -0
  48. package/lib/LinkEditor/pc-link-editor-popover/index.js +1 -1
  49. package/lib/MultipleSelectEditor/index.css +9 -0
  50. package/lib/MultipleSelectEditor/index.js +177 -16
  51. package/lib/NumberEditor/index.js +77 -64
  52. package/lib/{RowExpandFormatter/RowExpandEmailFormatter → RowExpandEmailFormatter}/index.css +1 -1
  53. package/lib/{RowExpandFormatter/RowExpandEmailFormatter → RowExpandEmailFormatter}/index.js +1 -1
  54. package/lib/{RowExpandFormatter/RowExpandFileFormatter → RowExpandFileFormatter}/index.css +6 -6
  55. package/lib/{RowExpandFormatter/RowExpandFileFormatter → RowExpandFileFormatter}/index.js +1 -3
  56. package/lib/{RowExpandFormatter/RowExpandFileFormatter → RowExpandFileFormatter}/row-expand-file-item-formatter.js +11 -10
  57. package/lib/RowExpandFormatter/index.css +0 -26
  58. package/lib/RowExpandFormatter/index.js +100 -84
  59. package/lib/{RowExpandFormatter/RowExpandFormulaFormatter → RowExpandFormulaFormatter}/index.js +10 -11
  60. package/lib/{RowExpandFormatter/RowExpandImageFormatter → RowExpandImageFormatter}/index.css +6 -6
  61. package/lib/{RowExpandFormatter/RowExpandImageFormatter → RowExpandImageFormatter}/index.js +1 -1
  62. package/lib/{RowExpandFormatter/RowExpandImageFormatter → RowExpandImageFormatter}/row-expand-image-item-formatter.js +3 -3
  63. package/lib/{RowExpandFormatter/RowExpandLinkFormatter → RowExpandLinkFormatter}/collaborator-item-formatter.js +1 -1
  64. package/lib/{RowExpandFormatter/RowExpandLinkFormatter → RowExpandLinkFormatter}/index.js +5 -5
  65. package/lib/{RowExpandFormatter/RowExpandLinkFormatter → RowExpandLinkFormatter}/utils.js +1 -1
  66. package/lib/{RowExpandFormatter/RowExpandRateFormatter → RowExpandRateFormatter}/index.css +1 -1
  67. package/lib/RowExpandUrlFormatter/index.css +1 -0
  68. package/lib/{RowExpandFormatter/RowExpandUrlFormatter → RowExpandUrlFormatter}/index.js +3 -4
  69. package/lib/SingleSelectEditor/index.css +14 -0
  70. package/lib/SingleSelectEditor/index.js +156 -16
  71. package/lib/TextEditor/index.js +42 -113
  72. package/lib/constants/index.js +2 -34
  73. package/lib/css/cell-editor.css +2 -18
  74. package/lib/index.js +46 -74
  75. package/lib/lang/index.js +14 -16
  76. package/lib/locals/de.js +103 -0
  77. package/lib/locals/en.js +104 -0
  78. package/lib/locals/es.js +103 -0
  79. package/lib/locals/fr.js +103 -0
  80. package/lib/locals/pt.js +103 -0
  81. package/lib/locals/ru.js +103 -0
  82. package/lib/locals/zh-CN.js +104 -0
  83. package/lib/select-editor/index.js +6 -6
  84. package/lib/select-editor/{mb-select-editor → mb-select-editor-popover}/index.js +3 -3
  85. package/lib/select-editor/pc-select-editor-popover/index.css +71 -0
  86. package/lib/select-editor/pc-select-editor-popover/index.js +122 -0
  87. package/lib/utils/editor-utils.js +6 -1
  88. package/lib/utils/url.js +8 -119
  89. package/lib/utils/utils.js +2 -89
  90. package/package.json +2 -3
  91. package/lib/CollaboratorEditor/pc-collaborator-editor/index.js +0 -257
  92. package/lib/DeleteTip/index.js +0 -50
  93. package/lib/DigitalSignEditor/constants.js +0 -7
  94. package/lib/DigitalSignEditor/index.css +0 -69
  95. package/lib/DigitalSignEditor/index.js +0 -182
  96. package/lib/DigitalSignEditor/service.js +0 -38
  97. package/lib/DigitalSignEditor/signature-board/index.css +0 -35
  98. package/lib/DigitalSignEditor/signature-board/index.js +0 -135
  99. package/lib/DigitalSignEditor/signature-board/signature-tool.js +0 -396
  100. package/lib/DigitalSignEditor/utils.js +0 -29
  101. package/lib/DurationEditor/index.js +0 -111
  102. package/lib/EmailEditor/index.js +0 -59
  103. package/lib/FileEditor/addition-previewer/index.css +0 -1
  104. package/lib/FileEditor/addition-previewer/index.js +0 -52
  105. package/lib/FileEditor/addition-previewer/local-file-addition/index.css +0 -1
  106. package/lib/FileEditor/addition-previewer/local-file-addition/index.js +0 -252
  107. package/lib/FileEditor/constants.js +0 -7
  108. package/lib/FileEditor/files-previewer/file-previewer/dropdown-menu.js +0 -74
  109. package/lib/FileEditor/files-previewer/file-previewer/file-name-editor/index.css +0 -5
  110. package/lib/FileEditor/files-previewer/file-previewer/file-name-editor/index.js +0 -77
  111. package/lib/FileEditor/files-previewer/file-previewer/index.css +0 -88
  112. package/lib/FileEditor/files-previewer/file-previewer/index.js +0 -167
  113. package/lib/FileEditor/files-previewer/index.css +0 -56
  114. package/lib/FileEditor/files-previewer/index.js +0 -277
  115. package/lib/FileEditor/index.css +0 -6
  116. package/lib/FileEditor/utils.js +0 -22
  117. package/lib/FileUploader/index.css +0 -9
  118. package/lib/GeolocationEditor/country-editor.js +0 -319
  119. package/lib/GeolocationEditor/index.css +0 -641
  120. package/lib/GeolocationEditor/index.js +0 -241
  121. package/lib/GeolocationEditor/location-editor.js +0 -368
  122. package/lib/GeolocationEditor/map-editor/index.js +0 -456
  123. package/lib/GeolocationEditor/map-editor/large-editor/index.css +0 -137
  124. package/lib/GeolocationEditor/map-editor/large-editor/index.js +0 -461
  125. package/lib/GeolocationEditor/map-editor-utils.js +0 -153
  126. package/lib/GeolocationEditor/map-selection-editor/index.js +0 -455
  127. package/lib/GeolocationEditor/map-selection-editor/large-editor/index.css +0 -1
  128. package/lib/GeolocationEditor/map-selection-editor/large-editor/index.js +0 -447
  129. package/lib/GeolocationEditor/parse-geolocation.js +0 -282
  130. package/lib/GeolocationEditor/province-city-editor.js +0 -292
  131. package/lib/GeolocationEditor/province-editor.js +0 -226
  132. package/lib/GeolocationEditor/selector-header-item.js +0 -28
  133. package/lib/GeolocationEditor/selector-list.js +0 -33
  134. package/lib/GeolocationEditor/with-ref.js +0 -27
  135. package/lib/ImageEditor/addition-previewer/image-link/index.css +0 -45
  136. package/lib/ImageEditor/addition-previewer/image-link/index.js +0 -73
  137. package/lib/ImageEditor/addition-previewer/index.css +0 -106
  138. package/lib/ImageEditor/addition-previewer/index.js +0 -63
  139. package/lib/ImageEditor/addition-previewer/local-image-addition/index.css +0 -125
  140. package/lib/ImageEditor/addition-previewer/local-image-addition/index.js +0 -254
  141. package/lib/ImageEditor/constants.js +0 -7
  142. package/lib/ImageEditor/images-previewer/image-preview/index.css +0 -59
  143. package/lib/ImageEditor/images-previewer/image-preview/index.js +0 -155
  144. package/lib/ImageEditor/images-previewer/index.css +0 -18
  145. package/lib/ImageEditor/images-previewer/index.js +0 -140
  146. package/lib/ImageEditor/index.css +0 -24
  147. package/lib/ImageEditor/index.js +0 -194
  148. package/lib/ImageThumbnail/index.css +0 -20
  149. package/lib/ImageThumbnail/index.js +0 -136
  150. package/lib/RowExpandDialog/body/index.css +0 -21
  151. package/lib/RowExpandDialog/body/index.js +0 -279
  152. package/lib/RowExpandDialog/column-content/index.css +0 -43
  153. package/lib/RowExpandDialog/column-content/index.js +0 -50
  154. package/lib/RowExpandDialog/constants.js +0 -114
  155. package/lib/RowExpandDialog/header/index.css +0 -31
  156. package/lib/RowExpandDialog/header/index.js +0 -33
  157. package/lib/RowExpandDialog/index.css +0 -24
  158. package/lib/RowExpandDialog/index.js +0 -268
  159. package/lib/RowExpandDialog/utils.js +0 -83
  160. package/lib/RowExpandEditor/RowExpandAddBtn/index.css +0 -22
  161. package/lib/RowExpandEditor/RowExpandAddBtn/index.js +0 -24
  162. package/lib/RowExpandEditor/RowExpandCheckboxEditor/index.css +0 -18
  163. package/lib/RowExpandEditor/RowExpandCheckboxEditor/index.js +0 -43
  164. package/lib/RowExpandEditor/RowExpandCollaboratorEditor/index.css +0 -5
  165. package/lib/RowExpandEditor/RowExpandCollaboratorEditor/index.js +0 -232
  166. package/lib/RowExpandEditor/RowExpandDateEditor/index.js +0 -130
  167. package/lib/RowExpandEditor/RowExpandDepartmentEditor/index.js +0 -129
  168. package/lib/RowExpandEditor/RowExpandDigitalSignEditor/index.css +0 -13
  169. package/lib/RowExpandEditor/RowExpandDigitalSignEditor/index.js +0 -208
  170. package/lib/RowExpandEditor/RowExpandDurationEditor/index.js +0 -105
  171. package/lib/RowExpandEditor/RowExpandEmailEditor/index.css +0 -2
  172. package/lib/RowExpandEditor/RowExpandEmailEditor/index.js +0 -125
  173. package/lib/RowExpandEditor/RowExpandFileEditor/index.css +0 -1
  174. package/lib/RowExpandEditor/RowExpandFileEditor/index.js +0 -146
  175. package/lib/RowExpandEditor/RowExpandGeolocationEditor/index.css +0 -17
  176. package/lib/RowExpandEditor/RowExpandGeolocationEditor/index.js +0 -165
  177. package/lib/RowExpandEditor/RowExpandImageEditor/index.css +0 -6
  178. package/lib/RowExpandEditor/RowExpandImageEditor/index.js +0 -170
  179. package/lib/RowExpandEditor/RowExpandLongTextEditor/index.css +0 -6
  180. package/lib/RowExpandEditor/RowExpandLongTextEditor/index.js +0 -124
  181. package/lib/RowExpandEditor/RowExpandMultipleSelectEditor/index.css +0 -44
  182. package/lib/RowExpandEditor/RowExpandMultipleSelectEditor/index.js +0 -224
  183. package/lib/RowExpandEditor/RowExpandNumberEditor/index.js +0 -105
  184. package/lib/RowExpandEditor/RowExpandRateEditor/index.css +0 -13
  185. package/lib/RowExpandEditor/RowExpandRateEditor/index.js +0 -152
  186. package/lib/RowExpandEditor/RowExpandSingleSelectorEditor/index.css +0 -58
  187. package/lib/RowExpandEditor/RowExpandSingleSelectorEditor/index.js +0 -192
  188. package/lib/RowExpandEditor/RowExpandTextEditor/index.css +0 -4
  189. package/lib/RowExpandEditor/RowExpandTextEditor/index.js +0 -127
  190. package/lib/RowExpandEditor/RowExpandUrlEditor/index.css +0 -31
  191. package/lib/RowExpandEditor/RowExpandUrlEditor/index.js +0 -130
  192. package/lib/RowExpandEditor/constants.js +0 -44
  193. package/lib/RowExpandEditor/index.css +0 -0
  194. package/lib/RowExpandEditor/index.js +0 -32
  195. package/lib/RowExpandFormatter/RowExpandDepartmentFormatter/index.js +0 -27
  196. package/lib/RowExpandFormatter/RowExpandUrlFormatter/index.css +0 -1
  197. package/lib/RowExpandFormatter/constants.js +0 -60
  198. package/lib/UploadProgress/index.js +0 -38
  199. package/lib/UrlEditor/index.js +0 -62
  200. package/lib/common/editor-base.js +0 -53
  201. package/lib/constants/file.js +0 -96
  202. package/lib/constants/key-codes.js +0 -109
  203. package/lib/hooks/index.js +0 -16
  204. package/lib/locales/de.json +0 -163
  205. package/lib/locales/en.json +0 -163
  206. package/lib/locales/es.json +0 -163
  207. package/lib/locales/fr.json +0 -163
  208. package/lib/locales/pt.json +0 -163
  209. package/lib/locales/ru.json +0 -163
  210. package/lib/locales/zh-CN.json +0 -163
  211. package/lib/select-editor/pc-select-editor/index.css +0 -85
  212. package/lib/select-editor/pc-select-editor/index.js +0 -290
  213. package/lib/utils/cell-comparer.js +0 -35
  214. package/lib/utils/cell.js +0 -55
  215. package/lib/utils/column-utils.js +0 -25
  216. package/lib/utils/get-event-transfer.js +0 -75
  217. package/lib/utils/object-utils.js +0 -61
  218. /package/lib/CollaboratorEditor/{mb-collaborator-editor → mb-collaborator-editor-popover}/index.css +0 -0
  219. /package/lib/CollaboratorEditor/{pc-collaborator-editor → pc-collaborator-editor-popover}/index.css +0 -0
  220. /package/lib/{RowExpandFormatter/RowExpandLinkFormatter → RowExpandLinkFormatter}/index.css +0 -0
  221. /package/lib/{RowExpandFormatter/RowExpandLinkFormatter → RowExpandLinkFormatter}/value-display-utils.js +0 -0
  222. /package/lib/{RowExpandFormatter/RowExpandRateFormatter → RowExpandRateFormatter}/index.js +0 -0
  223. /package/lib/select-editor/{mb-select-editor → mb-select-editor-popover}/index.css +0 -0
@@ -1,641 +0,0 @@
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
- }