dtable-ui-component 0.1.75 → 0.1.76

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 (163) hide show
  1. package/README.md +20 -2
  2. package/lib/AutoNumberFormatter/index.css +1 -0
  3. package/{es/components/cell-formatter/auto-number-formatter.js → lib/AutoNumberFormatter/index.js} +1 -0
  4. package/lib/ButtonFormatter/index.css +13 -0
  5. package/{es/components/cell-formatter/button-formatter.js → lib/ButtonFormatter/index.js} +1 -0
  6. package/lib/CTimeFormatter/index.css +1 -0
  7. package/{es/components/cell-formatter/ctime-formatter.js → lib/CTimeFormatter/index.js} +1 -0
  8. package/lib/CheckboxEditor/index.js +104 -0
  9. package/lib/CheckboxFormatter/index.css +1 -0
  10. package/{es/components/cell-formatter/checkbox-formatter.js → lib/CheckboxFormatter/index.js} +1 -0
  11. package/lib/CollaboratorEditor/index.css +48 -0
  12. package/lib/CollaboratorEditor/index.js +237 -0
  13. package/lib/CollaboratorEditor/mb-collaborator-editor-popover/index.css +86 -0
  14. package/lib/CollaboratorEditor/mb-collaborator-editor-popover/index.js +178 -0
  15. package/lib/CollaboratorEditor/pc-collaborator-editor-popover/index.css +1 -0
  16. package/lib/CollaboratorEditor/pc-collaborator-editor-popover/index.js +110 -0
  17. package/lib/CollaboratorFormatter/index.css +1 -0
  18. package/{es/components/cell-formatter/collaborator-formatter.js → lib/CollaboratorFormatter/index.js} +3 -2
  19. package/lib/CollaboratorItem/index.css +49 -0
  20. package/{es/components/common/collaborator-item.js → lib/CollaboratorItem/index.js} +1 -0
  21. package/lib/CreatorFormatter/index.css +1 -0
  22. package/{es/components/cell-formatter/creator-formatter.js → lib/CreatorFormatter/index.js} +3 -2
  23. package/lib/DateEditor/index.css +4 -0
  24. package/lib/DateEditor/index.js +152 -0
  25. package/{es/css → lib/DateEditor/mb-date-editor-popover}/custom-rc-calendar.css +0 -0
  26. package/lib/DateEditor/mb-date-editor-popover/index.css +45 -0
  27. package/lib/DateEditor/mb-date-editor-popover/index.js +245 -0
  28. package/lib/DateEditor/pc-date-editor-popover.js +142 -0
  29. package/lib/DateFormatter/index.css +1 -0
  30. package/{es/components/cell-formatter/date-formatter.js → lib/DateFormatter/index.js} +2 -1
  31. package/lib/DurationFormatter/index.css +1 -0
  32. package/{es/components/cell-formatter/duration-formatter.js → lib/DurationFormatter/index.js} +2 -1
  33. package/{es/components/common/edit-editor-button.js → lib/EditEditorButton/index.js} +0 -0
  34. package/lib/EmailFormatter/index.css +5 -0
  35. package/{es/components/cell-formatter/email-formatter.js → lib/EmailFormatter/index.js} +1 -0
  36. package/lib/FileEditor/index.js +46 -0
  37. package/lib/FileEditor/pc-files-addition/index.js +0 -0
  38. package/lib/FileEditor/pc-files-addition/pc-file-uploaded-item.js +0 -0
  39. package/lib/FileEditor/pc-files-preview/index.js +0 -0
  40. package/lib/FileEditor/pc-files-preview/pc-file-item-preview.js +0 -0
  41. package/lib/FileFormatter/index.css +29 -0
  42. package/{es/components/cell-formatter/file-formatter.js → lib/FileFormatter/index.js} +2 -1
  43. package/{es/assets/images → lib/FileItemFormatter/assets}/file/192/excel.png +0 -0
  44. package/{es/assets/images → lib/FileItemFormatter/assets}/file/192/file.png +0 -0
  45. package/{es/assets/images → lib/FileItemFormatter/assets}/file/192/music.png +0 -0
  46. package/{es/assets/images → lib/FileItemFormatter/assets}/file/192/pdf.png +0 -0
  47. package/{es/assets/images → lib/FileItemFormatter/assets}/file/192/pic.png +0 -0
  48. package/{es/assets/images → lib/FileItemFormatter/assets}/file/192/ppt.png +0 -0
  49. package/{es/assets/images → lib/FileItemFormatter/assets}/file/192/txt.png +0 -0
  50. package/{es/assets/images → lib/FileItemFormatter/assets}/file/192/video.png +0 -0
  51. package/{es/assets/images → lib/FileItemFormatter/assets}/file/192/word.png +0 -0
  52. package/{es/assets/images → lib/FileItemFormatter/assets}/file/24/excel.png +0 -0
  53. package/{es/assets/images → lib/FileItemFormatter/assets}/file/24/file.png +0 -0
  54. package/{es/assets/images → lib/FileItemFormatter/assets}/file/24/music.png +0 -0
  55. package/{es/assets/images → lib/FileItemFormatter/assets}/file/24/pdf.png +0 -0
  56. package/{es/assets/images → lib/FileItemFormatter/assets}/file/24/pic.png +0 -0
  57. package/{es/assets/images → lib/FileItemFormatter/assets}/file/24/ppt.png +0 -0
  58. package/{es/assets/images → lib/FileItemFormatter/assets}/file/24/txt.png +0 -0
  59. package/{es/assets/images → lib/FileItemFormatter/assets}/file/24/video.png +0 -0
  60. package/{es/assets/images → lib/FileItemFormatter/assets}/file/24/word.png +0 -0
  61. package/{es/assets/images → lib/FileItemFormatter/assets}/folder/folder-192.png +0 -0
  62. package/{es/assets/images → lib/FileItemFormatter/assets}/folder/folder-24.png +0 -0
  63. package/{es/components/cell-formatter/widgets/file-item-formatter.js → lib/FileItemFormatter/index.js} +2 -2
  64. package/lib/FileItemFormatter/utils.js +72 -0
  65. package/{es/components/file-uploader → lib/FileUploader}/index.js +0 -0
  66. package/{es/utils → lib/FormulaFormatter}/cell-value-validator.js +1 -2
  67. package/lib/FormulaFormatter/index.css +19 -0
  68. package/{es/components/cell-formatter/formula-formatter.js → lib/FormulaFormatter/index.js} +7 -8
  69. package/{es/utils/column-utils.js → lib/FormulaFormatter/utils.js} +5 -1
  70. package/lib/GeolocationFormatter/index.css +1 -0
  71. package/{es/components/cell-formatter/geolocation-formatter.js → lib/GeolocationFormatter/index.js} +2 -1
  72. package/lib/HtmlLongTextFormatter/index.css +63 -0
  73. package/{es/components/cell-formatter/widgets/long-text-formatter/html-long-text-formatter.js → lib/HtmlLongTextFormatter/index.js} +5 -2
  74. package/{es/utils → lib/HtmlLongTextFormatter}/markdown2html.js +0 -0
  75. package/{es/utils → lib/HtmlLongTextFormatter}/unified/index.js +1 -0
  76. package/{es/utils → lib/HtmlLongTextFormatter}/vfile/core.js +1 -0
  77. package/{es/utils → lib/HtmlLongTextFormatter}/vfile/index.js +0 -0
  78. package/{es/components/common → lib/ImageFormatter}/images-lazy-load.js +2 -2
  79. package/lib/ImageFormatter/index.css +34 -0
  80. package/{es/components/cell-formatter/image-formatter.js → lib/ImageFormatter/index.js} +4 -3
  81. package/lib/ImageFormatter/utils.js +7 -0
  82. package/{es/css/image-previewer-ligntbox.css → lib/ImagePreviewerLightbox/index.css} +0 -0
  83. package/{es/components/cell-formatter/widgets/image-previewer-lightbox.js → lib/ImagePreviewerLightbox/index.js} +3 -3
  84. package/lib/ImagePreviewerLightbox/utils.js +8 -0
  85. package/lib/LastModifierFormatter/index.css +1 -0
  86. package/{es/components/cell-formatter/last-modifier-formatter.js → lib/LastModifierFormatter/index.js} +5 -4
  87. package/lib/LinkEditor/index.css +9 -0
  88. package/lib/LinkEditor/index.js +304 -0
  89. package/{es/components/common → lib/LinkEditor}/link-editor-option.js +0 -0
  90. package/lib/LinkEditor/mb-link-editor-popover/index.css +85 -0
  91. package/lib/LinkEditor/mb-link-editor-popover/index.js +171 -0
  92. package/lib/LinkEditor/pc-link-editor-popover/index.css +63 -0
  93. package/lib/LinkEditor/pc-link-editor-popover/index.js +115 -0
  94. package/lib/LinkFormatter/index.css +27 -0
  95. package/{es/components/cell-formatter/link-formatter.js → lib/LinkFormatter/index.js} +2 -2
  96. package/{es/css/loading.css → lib/Loading/index.css} +0 -0
  97. package/{es/components/loading.js → lib/Loading/index.js} +1 -1
  98. package/{es/components/cell-formatter/long-text-formatter.js → lib/LongTextFormatter/index.js} +4 -6
  99. package/{es/components/common/mobile/mb-editor-header.js → lib/MBEditorHeader/index.js} +0 -0
  100. package/lib/MTimeFormatter/index.css +1 -0
  101. package/{es/components/cell-formatter/mtime-formatter.js → lib/MTimeFormatter/index.js} +1 -0
  102. package/{es/components/common/modal-portal.js → lib/ModalPortal/index.js} +0 -0
  103. package/lib/MultipleSelectEditor/index.css +9 -0
  104. package/lib/MultipleSelectEditor/index.js +236 -0
  105. package/lib/MultipleSelectFormatter/index.css +1 -0
  106. package/{es/components/cell-formatter/multiple-select-formatter.js → lib/MultipleSelectFormatter/index.js} +2 -1
  107. package/lib/NumberEditor/index.js +154 -0
  108. package/lib/NumberFormatter/index.css +1 -0
  109. package/{es/components/cell-formatter/number-formatter.js → lib/NumberFormatter/index.js} +2 -1
  110. package/lib/RateFormatter/index.css +1 -0
  111. package/{es/components/cell-formatter/rate-formatter.js → lib/RateFormatter/index.js} +1 -0
  112. package/{es/components/common/select-item.js → lib/SelectItem/index.js} +0 -0
  113. package/lib/SimpleLongTextFormatter/index.css +63 -0
  114. package/{es/components/cell-formatter/widgets/long-text-formatter/simple-long-text-formatter.js → lib/SimpleLongTextFormatter/index.js} +5 -2
  115. package/{es/utils → lib/SimpleLongTextFormatter}/normalize-long-text-value.js +3 -3
  116. package/lib/SingleSelectEditor/index.css +9 -0
  117. package/lib/SingleSelectEditor/index.js +201 -0
  118. package/lib/SingleSelectFormatter/index.css +1 -0
  119. package/{es/components/cell-formatter/single-select-formatter.js → lib/SingleSelectFormatter/index.js} +2 -1
  120. package/lib/TextEditor/index.js +122 -0
  121. package/lib/TextFormatter/index.css +1 -0
  122. package/{es/components/cell-formatter/text-formatter.js → lib/TextFormatter/index.js} +1 -0
  123. package/lib/UrlFormatter/index.css +5 -0
  124. package/{es/components/cell-formatter/url-formatter.js → lib/UrlFormatter/index.js} +1 -0
  125. package/{es → lib}/assets/images/avatar/default_avatar.png +0 -0
  126. package/{es/components/cell-factory/cell-formatter-factory.js → lib/cellFormatterFactory/index.js} +3 -3
  127. package/{es → lib}/constants/cell-types.js +0 -0
  128. package/lib/constants/index.js +49 -0
  129. package/lib/css/cell-editor.css +6 -0
  130. package/lib/css/cell-formatter.css +4 -0
  131. package/lib/css/mb-cell-editor.css +55 -0
  132. package/lib/formatterConfig/index.js +31 -0
  133. package/lib/index.js +43 -0
  134. package/{es → lib}/lang/index.js +0 -0
  135. package/{es → lib}/locals/de.js +0 -0
  136. package/{es → lib}/locals/en.js +0 -0
  137. package/{es → lib}/locals/fr.js +0 -0
  138. package/{es → lib}/locals/zh-CN.js +0 -0
  139. package/lib/select-editor/index.js +4 -0
  140. package/lib/select-editor/mb-select-editor-popover/index.css +127 -0
  141. package/lib/select-editor/mb-select-editor-popover/index.js +231 -0
  142. package/lib/select-editor/pc-select-editor-popover/index.css +72 -0
  143. package/lib/select-editor/pc-select-editor-popover/index.js +144 -0
  144. package/{es/components/common → lib/select-editor}/select-editor-option.js +0 -0
  145. package/{es/components/toast → lib/toaster}/alert.js +0 -0
  146. package/{es/components/toast → lib/toaster}/index.js +0 -0
  147. package/{es/components/toast → lib/toaster}/toast.js +0 -0
  148. package/{es/components/toast → lib/toaster}/toastManager.js +0 -0
  149. package/{es/components/toast → lib/toaster}/toaster.js +0 -0
  150. package/lib/utils/editor-utils.js +71 -0
  151. package/{es → lib}/utils/number-precision.js +1 -0
  152. package/lib/utils/utils.js +25 -0
  153. package/{es → lib}/utils/value-format-utils.js +3 -2
  154. package/package.json +8 -8
  155. package/es/app.css +0 -20
  156. package/es/app.js +0 -91
  157. package/es/components/cell-formatter/formatter-config.js +0 -31
  158. package/es/components/cell-formatter/index.js +0 -27
  159. package/es/constants/index.js +0 -48
  160. package/es/css/cell-editor.css +0 -614
  161. package/es/css/cell-formatter.css +0 -247
  162. package/es/index.js +0 -6
  163. package/es/utils/utils.js +0 -116
@@ -1,614 +0,0 @@
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
- }