dtable-ui-component 0.2.0 → 0.2.2

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 (127) hide show
  1. package/es/app.css +20 -0
  2. package/es/app.js +91 -0
  3. package/es/assets/images/avatar/default_avatar.png +0 -0
  4. package/es/assets/images/file/192/excel.png +0 -0
  5. package/es/assets/images/file/192/file.png +0 -0
  6. package/es/assets/images/file/192/music.png +0 -0
  7. package/es/assets/images/file/192/pdf.png +0 -0
  8. package/es/assets/images/file/192/pic.png +0 -0
  9. package/es/assets/images/file/192/ppt.png +0 -0
  10. package/es/assets/images/file/192/txt.png +0 -0
  11. package/es/assets/images/file/192/video.png +0 -0
  12. package/es/assets/images/file/192/word.png +0 -0
  13. package/es/assets/images/file/24/excel.png +0 -0
  14. package/es/assets/images/file/24/file.png +0 -0
  15. package/es/assets/images/file/24/music.png +0 -0
  16. package/es/assets/images/file/24/pdf.png +0 -0
  17. package/es/assets/images/file/24/pic.png +0 -0
  18. package/es/assets/images/file/24/ppt.png +0 -0
  19. package/es/assets/images/file/24/txt.png +0 -0
  20. package/es/assets/images/file/24/video.png +0 -0
  21. package/es/assets/images/file/24/word.png +0 -0
  22. package/es/assets/images/folder/folder-192.png +0 -0
  23. package/es/assets/images/folder/folder-24.png +0 -0
  24. package/es/components/cell-editor/checkbox-editor.js +104 -0
  25. package/es/components/cell-editor/collaborator-editor.js +236 -0
  26. package/es/components/cell-editor/date-editor.js +151 -0
  27. package/es/components/cell-editor/index.js +9 -0
  28. package/es/components/cell-editor/link-editor.js +303 -0
  29. package/es/components/cell-editor/multiple-select-editor.js +237 -0
  30. package/es/components/cell-editor/number-editor.js +154 -0
  31. package/es/components/cell-editor/single-select-editor.js +202 -0
  32. package/es/components/cell-editor/text-editor.js +122 -0
  33. package/es/components/cell-editor-dialog/pc-file-editor-dialog.js +46 -0
  34. package/es/components/cell-editor-dialog/pc-files-addition/index.js +0 -0
  35. package/es/components/cell-editor-dialog/pc-files-addition/pc-file-uploaded-item.js +0 -0
  36. package/es/components/cell-editor-dialog/pc-files-preview/index.js +0 -0
  37. package/es/components/cell-editor-dialog/pc-files-preview/pc-file-item-preview.js +0 -0
  38. package/es/components/cell-editor-popover/mb-collaborator-editor-popover.js +177 -0
  39. package/es/components/cell-editor-popover/mb-date-editor-popover.js +245 -0
  40. package/es/components/cell-editor-popover/mb-link-editor-popover.js +170 -0
  41. package/es/components/cell-editor-popover/mb-select-editor-popover.js +230 -0
  42. package/es/components/cell-editor-popover/pc-collaborator-editor-popover.js +109 -0
  43. package/es/components/cell-editor-popover/pc-date-editor-popover.js +142 -0
  44. package/es/components/cell-editor-popover/pc-link-editor-popover.js +114 -0
  45. package/es/components/cell-editor-popover/pc-select-editor-popover.js +143 -0
  46. package/es/components/cell-factory/cell-formatter-factory.js +25 -0
  47. package/es/components/cell-formatter/auto-number-formatter.js +35 -0
  48. package/es/components/cell-formatter/button-formatter.js +55 -0
  49. package/es/components/cell-formatter/checkbox-formatter.js +44 -0
  50. package/es/components/cell-formatter/collaborator-formatter.js +91 -0
  51. package/es/components/cell-formatter/creator-formatter.js +87 -0
  52. package/es/components/cell-formatter/ctime-formatter.js +57 -0
  53. package/es/components/cell-formatter/date-formatter.js +59 -0
  54. package/es/components/cell-formatter/duration-formatter.js +37 -0
  55. package/es/components/cell-formatter/email-formatter.js +35 -0
  56. package/es/components/cell-formatter/file-formatter.js +63 -0
  57. package/es/components/cell-formatter/formatter-config.js +31 -0
  58. package/es/components/cell-formatter/formula-formatter.js +173 -0
  59. package/es/components/cell-formatter/geolocation-formatter.js +49 -0
  60. package/es/components/cell-formatter/image-formatter.js +153 -0
  61. package/es/components/cell-formatter/index.js +26 -0
  62. package/es/components/cell-formatter/last-modifier-formatter.js +87 -0
  63. package/es/components/cell-formatter/link-formatter.js +144 -0
  64. package/es/components/cell-formatter/long-text-formatter.js +106 -0
  65. package/es/components/cell-formatter/mtime-formatter.js +57 -0
  66. package/es/components/cell-formatter/multiple-select-formatter.js +70 -0
  67. package/es/components/cell-formatter/number-formatter.js +46 -0
  68. package/es/components/cell-formatter/rate-formatter.js +74 -0
  69. package/es/components/cell-formatter/single-select-formatter.js +69 -0
  70. package/es/components/cell-formatter/text-formatter.js +35 -0
  71. package/es/components/cell-formatter/url-formatter.js +35 -0
  72. package/es/components/cell-formatter/widgets/file-item-formatter.js +50 -0
  73. package/es/components/cell-formatter/widgets/image-previewer-lightbox.js +119 -0
  74. package/es/components/common/collaborator-item.js +63 -0
  75. package/es/components/common/edit-editor-button.js +56 -0
  76. package/es/components/common/images-lazy-load.js +148 -0
  77. package/es/components/common/link-editor-option.js +113 -0
  78. package/es/components/common/mobile/mb-editor-header.js +48 -0
  79. package/es/components/common/modal-portal.js +44 -0
  80. package/es/components/common/select-editor-option.js +106 -0
  81. package/es/components/common/select-item.js +58 -0
  82. package/es/components/file-uploader/index.js +53 -0
  83. package/es/components/loading.js +7 -0
  84. package/es/components/toast/alert.js +150 -0
  85. package/es/components/toast/index.js +3 -0
  86. package/es/components/toast/toast.js +179 -0
  87. package/es/components/toast/toastManager.js +170 -0
  88. package/es/components/toast/toaster.js +76 -0
  89. package/es/css/cell-editor.css +614 -0
  90. package/es/css/cell-formatter.css +241 -0
  91. package/es/css/custom-rc-calendar.css +118 -0
  92. package/es/css/image-previewer-ligntbox.css +87 -0
  93. package/es/css/loading.css +54 -0
  94. package/es/index.js +5 -0
  95. package/es/lang/index.js +50 -0
  96. package/es/locals/de.js +2 -0
  97. package/es/locals/en.js +17 -0
  98. package/es/locals/fr.js +2 -0
  99. package/es/locals/zh-CN.js +17 -0
  100. package/es/utils/cell-types.js +25 -0
  101. package/es/utils/constants.js +41 -0
  102. package/es/utils/editor-utils.js +71 -0
  103. package/es/utils/normalize-long-text-value.js +68 -0
  104. package/es/utils/number-precision.js +163 -0
  105. package/es/utils/utils.js +116 -0
  106. package/es/utils/value-format-utils.js +281 -0
  107. package/lib/AutoNumberFormatter/index.js +3 -0
  108. package/lib/ButtonFormatter/index.js +1 -1
  109. package/lib/CollaboratorFormatter/index.js +3 -0
  110. package/lib/CreatorFormatter/index.js +3 -0
  111. package/lib/DTableCustomizeCollaboratorSelect/index.js +1 -1
  112. package/lib/DTableCustomizeSelect/index.js +1 -1
  113. package/lib/DTableSelect/index.js +1 -1
  114. package/lib/FormulaFormatter/index.js +2 -2
  115. package/lib/HtmlLongTextFormatter/vfile/index.js +0 -2
  116. package/lib/ImageFormatter/index.js +2 -1
  117. package/lib/ImagePreviewerLightbox/index.js +3 -2
  118. package/lib/ImagePreviewerLightbox/utils.js +3 -2
  119. package/lib/LastModifierFormatter/index.js +3 -0
  120. package/lib/LinkFormatter/index.js +4 -1
  121. package/lib/MultipleSelectFormatter/index.js +3 -0
  122. package/lib/SelectOptionGroup/KeyCodes.js +1 -1
  123. package/lib/SingleSelectFormatter/index.js +3 -0
  124. package/lib/cellFormatterFactory/index.js +3 -3
  125. package/lib/formatterConfig/base-formatter-config.js +28 -0
  126. package/lib/formatterConfig/index.js +6 -23
  127. package/package.json +1 -1
@@ -0,0 +1,614 @@
1
+ /* common */
2
+ .dtable-ui-editor-popover {
3
+ width: 320px;
4
+ box-shadow: 0 0 5px #ccc;
5
+ background-color: #fff;
6
+ z-index: 10;
7
+ }
8
+
9
+ @media screen and (max-width: 767.8px) {
10
+ .dtable-ui-mb-editor-popover {
11
+ position: fixed;
12
+ top: 0;
13
+ left: 0;
14
+ right: 0;
15
+ bottom: 0;
16
+ display: flex;
17
+ background-color: #f5f5f5;
18
+ z-index: 9;
19
+ }
20
+
21
+ .dtable-ui-mb-editor-header {
22
+ position: fixed;
23
+ left: 0;
24
+ top: 0;
25
+ width: 100%;
26
+ height: 50px;
27
+ display: flex;
28
+ align-items: center;
29
+ background-color: #fff;
30
+ }
31
+
32
+ .dtable-ui-mb-editor-header .editor-header-left-content {
33
+ min-width: 50px;
34
+ padding: 13px 16px;
35
+ font-size: 14px;
36
+ color: #888;
37
+ }
38
+
39
+ .dtable-ui-mb-editor-header .editor-header-title {
40
+ flex: 1;
41
+ font-size: 18px;
42
+ text-align: center;
43
+ text-overflow: ellipsis;
44
+ color: #333;
45
+ overflow: hidden;
46
+ white-space: nowrap;
47
+ }
48
+
49
+ .dtable-ui-mb-editor-header .editor-header-right-content {
50
+ min-width: 50px;
51
+ padding: 13px 16px;
52
+ font-size: 14px;
53
+ color: #888;
54
+ }
55
+
56
+ .dtable-ui-mb-editor-body {
57
+ flex: 1;
58
+ display: flex;
59
+ flex-direction: column;
60
+ margin-top: 50px;
61
+ overflow: auto;
62
+ }
63
+ }
64
+
65
+ /* pc-single-select */
66
+ /* pc-multiple-select */
67
+ .dtable-ui-single-select-editor,
68
+ .dtable-ui-multiple-select-editor {
69
+ position: relative;
70
+ }
71
+
72
+ .dtable-ui-select-editor-container {
73
+ display: inline-block;
74
+ height: 30px;
75
+ padding: 0 10px;
76
+ }
77
+
78
+ .dtable-ui-select-editor-popover .select-options-search {
79
+ padding: 10px 10px 0 10px;
80
+ }
81
+
82
+ .dtable-ui-select-editor-popover .select-options-search input {
83
+ height: 28px;
84
+ }
85
+
86
+ .dtable-ui-select-editor-popover .select-options-container {
87
+ min-height: 160px;
88
+ max-height: 200px;
89
+ margin: 10px 0;
90
+ padding: 0 10px;
91
+ overflow: auto;
92
+ }
93
+
94
+ /* option item */
95
+ .dtable-ui-select-editor-popover .select-option-item {
96
+ display: flex;
97
+ height: 30px;
98
+ padding-left: 12px;
99
+ font-size: 14px;
100
+ line-height: 30px;
101
+ margin-left: 10px;
102
+ cursor: pointer;
103
+ }
104
+
105
+ .dtable-ui-select-editor-popover .select-option-item:hover {
106
+ background-color: #f5f5f5;
107
+ }
108
+
109
+ .dtable-ui-select-editor-popover .option-info {
110
+ flex: 1;
111
+ display: flex;
112
+ align-items: center;
113
+ }
114
+
115
+ .dtable-ui-select-editor-popover .option-checked {
116
+ width: 20px;
117
+ text-align: center;
118
+ }
119
+
120
+ .dtable-ui-select-editor-popover .option-checked .dtable-font {
121
+ font-size: 12px;
122
+ color: #798d99;
123
+ }
124
+
125
+ .dtable-ui-select-editor-popover .select-options-add {
126
+ display: flex;
127
+ align-items: center;
128
+ padding: 0 10px;
129
+ height: 30px;
130
+ border-top: 1px solid #ccc;
131
+ }
132
+
133
+ .dtable-ui-select-editor-popover .select-options-add .dtable-font {
134
+ margin-right: 5px;
135
+ font-size: 12px;
136
+ font-weight: 600;
137
+ }
138
+
139
+ .dtable-ui-select-editor-popover .select-options-add > span {
140
+ display: inline-block;
141
+ font-size: 14px;
142
+ font-weight: 500;
143
+ color: #212529;
144
+ white-space: nowrap;
145
+ overflow: hidden;
146
+ text-overflow: ellipsis;
147
+ }
148
+
149
+ /* mobile select-editor */
150
+ @media screen and (max-width: 767.8px) {
151
+ .dtable-ui-mb-select-editor-body .mb-selected-item {
152
+ margin-top: 10px;
153
+ display: flex;
154
+ flex-direction: column;
155
+ }
156
+
157
+ .dtable-ui-mb-select-editor-body .mb-selected-item .title {
158
+ padding: 6px 16px;
159
+ border-bottom: 1px solid #e9e9e9;
160
+ }
161
+
162
+ .dtable-ui-mb-select-editor-body .mb-selected-item .content {
163
+ display: flex;
164
+ flex-wrap: wrap;
165
+ align-items: center;
166
+ min-height: 50px;
167
+ padding: 8px 16px;
168
+ border-bottom: 1px solid #e9e9e9;
169
+ overflow: auto;
170
+ background-color: #fff;
171
+ }
172
+
173
+ .dtable-ui-mb-select-editor-body .mb-selected-item .content .select-option-item {
174
+ margin: 3px 10px 3px 0;
175
+ }
176
+
177
+ .dtable-ui-mb-select-editor-body .mb-search-select-items {
178
+ padding: 8px 16px;
179
+ margin-top: 20px;
180
+ border-top: 1px solid #e9e9e9;
181
+ border-bottom: 1px solid #e9e9e9;
182
+ background-color: #fff;
183
+ }
184
+
185
+ .dtable-ui-mb-select-editor-body .mb-search-select-items > input {
186
+ outline: none;
187
+ height: 30px;
188
+ padding: 0;
189
+ line-height: 30px;
190
+ border: none;
191
+ }
192
+ .dtable-ui-mb-select-editor-body .mb-search-select-items > input:focus,
193
+ .dtable-ui-mb-select-editor-body .mb-search-select-items > input:active {
194
+ outline: none;
195
+ box-shadow: none;
196
+ }
197
+
198
+ .dtable-ui-mb-select-editor-body .mb-select-options-container {
199
+ display: flex;
200
+ flex-direction: column;
201
+ margin-top: 10px;
202
+ }
203
+
204
+ .dtable-ui-mb-select-editor-body .mb-select-options-container .title {
205
+ padding: 6px 16px;
206
+ border-bottom: 1px solid #e9e9e9;
207
+ }
208
+
209
+ .dtable-ui-mb-select-editor-body .mb-select-options-container .content {
210
+ display: flex;
211
+ flex-direction: column;
212
+ border-bottom: 1px solid #e9e9e9;
213
+ }
214
+
215
+ .dtable-ui-mb-select-editor-body .mb-select-options-container .search-result-none {
216
+ padding: 16px 0;
217
+ }
218
+
219
+ .dtable-ui-mb-select-editor-body .mb-select-options-container .mb-select-option-item {
220
+ display: flex;
221
+ align-items: center;
222
+ justify-content: space-between;
223
+ height: 50px;
224
+ padding: 10px 10px 10px 16px;
225
+ font-size: 13px;
226
+ background-color: #fff;
227
+ color: #202428;
228
+ }
229
+
230
+ .dtable-ui-mb-select-editor-body .mb-select-options-container .mb-select-option-item + .mb-select-option-item {
231
+ border-top: 1px solid #e9e9e9;
232
+ }
233
+
234
+ .dtable-ui-mb-select-editor-body .mb-select-options-container .mb-select-option-item .item-name {
235
+ display: inline-block;
236
+ padding: 0 10px;
237
+ margin-top: 5px;
238
+ height: 20px;
239
+ line-height: 20px;
240
+ text-align: center;
241
+ text-overflow: ellipsis;
242
+ border-radius: 10px;
243
+ overflow: hidden;
244
+ }
245
+
246
+ .dtable-ui-mb-select-editor-body .mb-select-options-container .mb-select-option-item .dtable-font {
247
+ font-size: 12px;
248
+ color: #798d99;
249
+ }
250
+
251
+ .dtable-ui-mb-select-editor-body .mb-create-select-item {
252
+ display: flex;
253
+ align-items: center;
254
+ height: 50px;
255
+ padding: 0 10px;
256
+ margin-top: 20px;
257
+ border-top: 1px solid #dedede;
258
+ border-bottom: 1px solid #e9e9e9;
259
+ background-color: #fff;
260
+ }
261
+
262
+ .dtable-ui-mb-select-editor-body .mb-create-select-item .dtable-font {
263
+ margin-right: 10px;
264
+ font-size: 12px;
265
+ font-weight: 600px;
266
+ transition: translateY(1px);
267
+ }
268
+
269
+ .dtable-ui-mb-select-editor-body .mb-create-select-item .add-new-option {
270
+ font-size: 14px;
271
+ font-weight: 500px;
272
+ }
273
+
274
+ }
275
+
276
+ /* collaborator-editor */
277
+ .dtable-ui-collaborator-editor {
278
+ position: relative;
279
+ }
280
+
281
+ .dtable-ui-collaborator-editor-container .collaborators-container {
282
+ margin-top: 8px;
283
+ }
284
+
285
+ .dtable-ui-collaborator-editor-popover .collaborator-search-container {
286
+ padding: 10px 10px 0 10px;
287
+ }
288
+
289
+ .dtable-ui-collaborator-editor-popover .collaborator-search-container input {
290
+ height: 28px;
291
+ }
292
+
293
+ .dtable-ui-collaborator-editor-popover .collaborator-list-container {
294
+ min-height: 160px;
295
+ max-height: 200px;
296
+ margin: 10px 0;
297
+ padding: 0 10px;
298
+ overflow: auto;
299
+ }
300
+
301
+ .dtable-ui-collaborator-editor-popover .collaborator-list-container .collaborator-item-container {
302
+ display: flex;
303
+ align-items: center;
304
+ justify-content: space-between;
305
+ height: 30px;
306
+ padding-left: 12px;
307
+ font-size: 14px;
308
+ margin-left: 10px;
309
+ cursor: pointer;
310
+ }
311
+
312
+ .dtable-ui-collaborator-editor-popover .collaborator-list-container .collaborator-item-container:hover {
313
+ background-color: #f5f5f5;
314
+ }
315
+
316
+ .dtable-ui-collaborator-editor-popover .collaborator-checked {
317
+ width: 20px;
318
+ text-align: center;
319
+ }
320
+
321
+ .dtable-ui-collaborator-editor-popover .collaborator-checked .dtable-font {
322
+ font-size: 12px;
323
+ color: #798d99;
324
+ }
325
+
326
+ @media screen and (max-width: 767.8px) {
327
+ .dtable-ui-mb-collaborator-editor-body .mb-search-collaborator-items {
328
+ padding: 8px 16px;
329
+ margin-top: 20px;
330
+ border-top: 1px solid #e9e9e9;
331
+ border-bottom: 1px solid #e9e9e9;
332
+ background-color: #fff;
333
+ }
334
+
335
+ .dtable-ui-mb-collaborator-editor-body .mb-search-collaborator-items > input {
336
+ outline: none;
337
+ height: 30px;
338
+ padding: 0;
339
+ line-height: 30px;
340
+ border: none;
341
+ }
342
+
343
+ .dtable-ui-mb-collaborator-editor-body .mb-search-collaborator-items > input:focus,
344
+ .dtable-ui-mb-collaborator-editor-body .mb-search-collaborator-items > input:active {
345
+ outline: none;
346
+ box-shadow: none;
347
+ }
348
+
349
+ .dtable-ui-mb-collaborator-editor-body .mb-collaborators-container {
350
+ flex: 1;
351
+ display: flex;
352
+ flex-direction: column;
353
+ margin-top: 10px;
354
+ min-height: 0;
355
+ }
356
+
357
+ .dtable-ui-mb-collaborator-editor-body .mb-collaborators-container .title {
358
+ padding: 6px 16px;
359
+ border-bottom: 1px solid #e9e9e9;
360
+ }
361
+
362
+ .dtable-ui-mb-collaborator-editor-body .mb-collaborators-container .content {
363
+ flex: 1;
364
+ overflow: auto;
365
+ display: flex;
366
+ flex-direction: column;
367
+ border-bottom: 1px solid #e9e9e9;
368
+ }
369
+
370
+ .dtable-ui-mb-collaborator-editor-body .search-result-none {
371
+ padding: 16px 0 16px 16px;
372
+ }
373
+
374
+ .dtable-ui-mb-collaborator-editor-body .mb-collaborator-option-item {
375
+ display: flex;
376
+ align-items: center;
377
+ justify-content: space-between;
378
+ height: 50px;
379
+ padding: 10px 10px 10px 16px;
380
+ font-size: 13px;
381
+ background-color: #fff;
382
+ color: #202428;
383
+ }
384
+
385
+ .dtable-ui-mb-collaborator-editor-body .mb-collaborator-option-item {
386
+ border-bottom: 1px solid #e9e9e9;
387
+ }
388
+
389
+ .dtable-ui-mb-collaborator-editor-body .mb-collaborator-option-item .mb-collaborator-info {
390
+ display: flex;
391
+ align-items: center;
392
+ }
393
+
394
+ .dtable-ui-mb-collaborator-editor-body .mb-collaborator-option-item .collaborator-avatar img {
395
+ width: 24px;
396
+ height: 24px;
397
+ border-radius: 50%;
398
+ }
399
+
400
+ .dtable-ui-mb-collaborator-editor-body .mb-collaborator-option-item .collaborator-name {
401
+ padding: 0 10px;
402
+ overflow: hidden;
403
+ }
404
+
405
+ .dtable-ui-mb-collaborator-editor-body .mb-collaborator-option-item .dtable-font {
406
+ font-size: 12px;
407
+ color: #798d99;
408
+ }
409
+ }
410
+
411
+ /* link-editor */
412
+ .dtable-ui-link-editor {
413
+ position: relative;
414
+ }
415
+
416
+ .dtable-ui-link-editor-container {
417
+ display: inline-block;
418
+ height: 30px;
419
+ padding: 0 10px;
420
+ }
421
+
422
+ .dtable-ui-link-editor-popover .link-options-search {
423
+ padding: 10px 10px 0 10px;
424
+ }
425
+
426
+ .dtable-ui-link-editor-popover .link-options-search input {
427
+ height: 28px;
428
+ }
429
+
430
+ .dtable-ui-link-editor-popover .link-options-container {
431
+ min-height: 160px;
432
+ max-height: 200px;
433
+ margin: 10px 0;
434
+ padding: 0 10px;
435
+ overflow: auto;
436
+ }
437
+
438
+ /* option item */
439
+ .dtable-ui-link-editor-popover .link-option-item {
440
+ display: flex;
441
+ height: 30px;
442
+ padding-left: 12px;
443
+ font-size: 14px;
444
+ line-height: 30px;
445
+ margin-left: 10px;
446
+ cursor: pointer;
447
+ }
448
+
449
+ .dtable-ui-link-editor-popover .link-option-item:hover {
450
+ background-color: #f5f5f5;
451
+ }
452
+
453
+ .dtable-ui-link-editor-popover .option-info {
454
+ flex: 1;
455
+ display: flex;
456
+ align-items: center;
457
+ }
458
+
459
+ .dtable-ui-link-editor-popover .option-info .option-name {
460
+ max-width: 250px;
461
+ white-space: nowrap;
462
+ overflow: hidden;
463
+ text-overflow: ellipsis;
464
+ }
465
+
466
+ .dtable-ui-link-editor-popover .option-checked {
467
+ width: 20px;
468
+ text-align: center;
469
+ }
470
+
471
+ .dtable-ui-link-editor-popover .option-checked .dtable-font {
472
+ font-size: 12px;
473
+ color: #798d99;
474
+ }
475
+
476
+ .dtable-ui-link-editor-popover .select-options-add {
477
+ display: flex;
478
+ align-items: center;
479
+ padding: 0 10px;
480
+ height: 30px;
481
+ border-top: 1px solid #ccc;
482
+ }
483
+
484
+ @media screen and (max-width: 767.8px) {
485
+ .dtable-ui-mb-link-editor-body .mb-search-link-items {
486
+ padding: 8px 16px;
487
+ margin-top: 20px;
488
+ border-top: 1px solid #e9e9e9;
489
+ border-bottom: 1px solid #e9e9e9;
490
+ background-color: #fff;
491
+ }
492
+
493
+ .dtable-ui-mb-link-editor-body .mb-search-link-items > input {
494
+ outline: none;
495
+ height: 30px;
496
+ padding: 0;
497
+ line-height: 30px;
498
+ border: none;
499
+ }
500
+
501
+ .dtable-ui-mb-link-editor-body .mb-search-link-items > input:focus,
502
+ .dtable-ui-mb-link-editor-body .mb-search-link-items > input:active {
503
+ outline: none;
504
+ box-shadow: none;
505
+ }
506
+
507
+ .dtable-ui-mb-link-editor-body .mb-link-container {
508
+ flex: 1;
509
+ display: flex;
510
+ flex-direction: column;
511
+ margin-top: 10px;
512
+ min-height: 0;
513
+ }
514
+
515
+ .dtable-ui-mb-link-editor-body .mb-link-container .title {
516
+ padding: 6px 16px;
517
+ border-bottom: 1px solid #e9e9e9;
518
+ }
519
+
520
+ .dtable-ui-mb-link-editor-body .mb-link-container .content {
521
+ flex: 1;
522
+ overflow: auto;
523
+ display: flex;
524
+ flex-direction: column;
525
+ border-bottom: 1px solid #e9e9e9;
526
+ }
527
+
528
+ .dtable-ui-mb-link-editor-body .search-result-none {
529
+ padding: 16px 0 16px 16px;
530
+ }
531
+
532
+ .dtable-ui-mb-link-editor-body .mb-link-option-item {
533
+ display: flex;
534
+ align-items: center;
535
+ justify-content: space-between;
536
+ height: 50px;
537
+ padding: 10px 10px 10px 16px;
538
+ font-size: 13px;
539
+ color: #202428;
540
+ background-color: #fff;
541
+ }
542
+
543
+ .dtable-ui-mb-link-editor-body .mb-link-option-item {
544
+ border-bottom: 1px solid #e9e9e9;
545
+ }
546
+
547
+ .dtable-ui-mb-link-editor-body .mb-link-option-item .mb-option-info {
548
+ display: flex;
549
+ align-items: center;
550
+ }
551
+
552
+ .dtable-ui-mb-link-editor-body .mb-link-option-item .option-name {
553
+ padding: 0 10px;
554
+ max-width: 250px;
555
+ white-space: nowrap;
556
+ overflow: hidden;
557
+ text-overflow: ellipsis;
558
+ background: #eceff4;
559
+ border-radius: 3px;
560
+ }
561
+
562
+ .dtable-ui-mb-link-editor-body .mb-link-option-item .dtable-font {
563
+ font-size: 12px;
564
+ color: #798d99;
565
+ }
566
+ }
567
+
568
+ .dtable-ui-date-editor .dtable-ui-date-editor-container {
569
+ display: flex;
570
+ width: 400px;
571
+ }
572
+
573
+ @media screen and (max-width: 767.8px) {
574
+ .dtable-ui-mb-date-editor-body .mb-date-editor-input {
575
+ display: flex;
576
+ border-top: 1px solid #e9e9e9;
577
+ border-bottom: 1px solid #e9e9e9;
578
+ }
579
+
580
+ .dtable-ui-mb-date-editor-body .mb-date-editor-input .date-input {
581
+ flex: 1;
582
+ background-color: #fff;
583
+ }
584
+
585
+ .dtable-ui-mb-date-editor-body .mb-date-editor-input .date-input .date-input-day {
586
+ background-color: #f5f5f5;
587
+ border: 1px solid #e9e9e9;
588
+ margin: 10px;
589
+ padding: 3px 5px;
590
+ border-radius: 3px;
591
+ }
592
+
593
+ .dtable-ui-mb-date-editor-body .dtable-ui.mb-date-editor-picker {
594
+ display: block;
595
+ position: relative;
596
+ margin-top: 20px;
597
+ line-height: 1.5;
598
+ box-sizing: border-box;
599
+ }
600
+
601
+ .dtable-ui-mb-date-editor-body .mb-date-editor-clear {
602
+ padding: 10px 0;
603
+ margin-top: 20px;
604
+ border-bottom: 1px solid #e9e9e9;
605
+ border-top: 1px solid #e9e9e9;
606
+ text-align: center;
607
+ color: #d27053;
608
+ background-color: #fff;
609
+ }
610
+
611
+ .dtable-ui .am-picker-popup-header .am-picker-popup-item {
612
+ color: #E5A252;
613
+ }
614
+ }