ronds-metadata 1.3.84 → 1.3.86

Sign up to get free protection for your applications and to get access to all the features.
Files changed (133) hide show
  1. package/README.md +25 -25
  2. package/es/api/index.js +5 -7
  3. package/es/comps/CodeEdit/index.d.ts +2 -2
  4. package/es/comps/CodeEdit/index.js +3 -2
  5. package/es/comps/CodeEdit/index.less +6 -6
  6. package/es/comps/DataMine/Line.d.ts +1 -2
  7. package/es/comps/DataMine/Line.js +1 -0
  8. package/es/comps/DataMine/index.d.ts +1 -2
  9. package/es/comps/DynamicPorts/comps/ContextMenu.less +8 -8
  10. package/es/comps/DynamicPorts/comps/DragNode.d.ts +1 -1
  11. package/es/comps/DynamicPorts/comps/GraphHandler/index.less +39 -39
  12. package/es/comps/DynamicPorts/comps/NodeElementForm.d.ts +1 -2
  13. package/es/comps/DynamicPorts/comps/NodeElementNormal.d.ts +1 -2
  14. package/es/comps/DynamicPorts/comps/contextMenu/EdgeContextMenu/index.less +5 -5
  15. package/es/comps/DynamicPorts/comps/contextMenu/GraphContextMenu/index.less +40 -40
  16. package/es/comps/DynamicPorts/comps/contextMenu/NodeContextMenu/index.d.ts +1 -2
  17. package/es/comps/DynamicPorts/comps/contextMenu/NodeContextMenu/index.less +42 -42
  18. package/es/comps/DynamicPorts/comps/shape/edge.js +7 -7
  19. package/es/comps/DynamicPorts/comps/shape/edge.less +8 -8
  20. package/es/comps/DynamicPorts/comps/shape/node.js +9 -8
  21. package/es/comps/DynamicPorts/graph.js +4 -5
  22. package/es/comps/DynamicPorts/index.d.ts +1 -2
  23. package/es/comps/DynamicPorts/index.less +307 -307
  24. package/es/comps/Editable/DataCell/ButtonCell.d.ts +1 -1
  25. package/es/comps/Editable/DataCell/ColorPicker.d.ts +1 -1
  26. package/es/comps/Editable/DataCell/Input.d.ts +1 -1
  27. package/es/comps/Editable/DataCell/Number.d.ts +1 -1
  28. package/es/comps/Editable/DataCell/Select.d.ts +1 -1
  29. package/es/comps/Editable/DataCell/Switch.d.ts +1 -1
  30. package/es/comps/Editable/DataCell/TreeSelect.d.ts +1 -1
  31. package/es/comps/Editable/comps/EditableAction.d.ts +1 -2
  32. package/es/comps/Editable/comps/Texty.d.ts +1 -1
  33. package/es/comps/Editable/comps/Texty.js +4 -5
  34. package/es/comps/Editable/comps/Texty.less +43 -43
  35. package/es/comps/Editable/comps/index.less +38 -38
  36. package/es/comps/Editable/index.d.ts +1 -2
  37. package/es/comps/Editable/index.less +97 -97
  38. package/es/comps/Editable/utils.d.ts +1 -2
  39. package/es/comps/FileView/index.d.ts +1 -2
  40. package/es/comps/FileView/index.js +3 -2
  41. package/es/comps/FormGenerator/comps/Canvas/Preview.d.ts +1 -2
  42. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Checkbox.d.ts +1 -2
  43. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Color.d.ts +1 -1
  44. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Date.d.ts +1 -1
  45. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Input.d.ts +1 -1
  46. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/List.d.ts +1 -2
  47. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/MutiSelect.d.ts +1 -2
  48. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Number.d.ts +1 -1
  49. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/NumberRange.d.ts +1 -1
  50. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Obj.d.ts +1 -2
  51. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Password.d.ts +1 -1
  52. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Radio.d.ts +1 -2
  53. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Select.d.ts +1 -2
  54. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Switch.d.ts +1 -1
  55. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Table.d.ts +1 -2
  56. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/TextArea.d.ts +1 -1
  57. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Upload.d.ts +1 -1
  58. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/HOC/index.d.ts +1 -2
  59. package/es/comps/FormGenerator/comps/Canvas/core/RenderField/index.d.ts +1 -2
  60. package/es/comps/FormGenerator/comps/Canvas/core/index.d.ts +1 -1
  61. package/es/comps/FormGenerator/comps/Canvas/core/index.less +23 -23
  62. package/es/comps/FormGenerator/comps/Canvas/index.d.ts +1 -2
  63. package/es/comps/FormGenerator/comps/Settings/index.d.ts +1 -2
  64. package/es/comps/FormGenerator/comps/Settings/index.js +2 -1
  65. package/es/comps/FormGenerator/comps/Sidebar/Elements.d.ts +1 -1
  66. package/es/comps/FormGenerator/comps/Sidebar/JsonSchema.d.ts +1 -1
  67. package/es/comps/FormGenerator/comps/Sidebar/index.d.ts +1 -2
  68. package/es/comps/FormGenerator/comps/Sidebar/index.less +21 -21
  69. package/es/comps/FormGenerator/index.d.ts +1 -2
  70. package/es/comps/FormGenerator/index.less +20 -20
  71. package/es/comps/JsonEdit/index.d.ts +1 -2
  72. package/es/comps/JsonEdit/index.js +1 -0
  73. package/es/comps/JsonEdit/index.less +64 -64
  74. package/es/comps/JsonView/index.d.ts +1 -2
  75. package/es/comps/JsonView/index.less +41 -41
  76. package/es/comps/MdEdit/index.d.ts +1 -2
  77. package/es/comps/MdEdit/index.less +6 -6
  78. package/es/comps/MdEditPro/index.d.ts +1 -2
  79. package/es/comps/MdEditPro/index.less +166 -166
  80. package/es/comps/MdEditPro/index2.d.ts +1 -1
  81. package/es/comps/MdNavbar/index.d.ts +1 -2
  82. package/es/comps/MdNavbar/index.less +77 -77
  83. package/es/comps/MdView/index.d.ts +1 -1
  84. package/es/comps/MdView/index.less +376 -376
  85. package/es/comps/MetadataEdit/components/MetaFieldsEdit.d.ts +1 -2
  86. package/es/comps/MetadataEdit/components/MetaPropsEdit.d.ts +1 -2
  87. package/es/comps/MetadataEdit/constant/index.js +2 -0
  88. package/es/comps/MetadataEdit/index.d.ts +1 -2
  89. package/es/comps/MetadataEdit/index.less +10 -10
  90. package/es/comps/MetadataEdit/type.d.ts +20 -20
  91. package/es/comps/MetadataForm/DataCell/Array.d.ts +1 -1
  92. package/es/comps/MetadataForm/DataCell/Input.d.ts +1 -1
  93. package/es/comps/MetadataForm/DataCell/Input.js +8 -4
  94. package/es/comps/MetadataForm/DataCell/Number.d.ts +1 -1
  95. package/es/comps/MetadataForm/DataCell/Ref.d.ts +1 -1
  96. package/es/comps/MetadataForm/DataCell/Select.d.ts +1 -1
  97. package/es/comps/MetadataForm/DataCell/Switch.d.ts +1 -1
  98. package/es/comps/MetadataForm/DataCell/business/index.d.ts +1 -2
  99. package/es/comps/MetadataForm/DataCell/business/index.js +1 -0
  100. package/es/comps/MetadataForm/DataCell/layout/TableArray.d.ts +1 -2
  101. package/es/comps/MetadataForm/DataCell/plugin/Datasource/Cassandra.d.ts +2 -2
  102. package/es/comps/MetadataForm/DataCell/plugin/Datasource/Cassandra.js +10 -5
  103. package/es/comps/MetadataForm/DataCell/plugin/Datasource/Kafka.d.ts +2 -2
  104. package/es/comps/MetadataForm/DataCell/plugin/Datasource/Kafka.js +8 -4
  105. package/es/comps/MetadataForm/DataCell/plugin/Datasource/PostgreSQL.d.ts +2 -2
  106. package/es/comps/MetadataForm/DataCell/plugin/Datasource/PostgreSQL.js +12 -6
  107. package/es/comps/MetadataForm/DataCell/plugin/Datasource/SqlServer.d.ts +2 -2
  108. package/es/comps/MetadataForm/DataCell/plugin/Datasource/SqlServer.js +12 -6
  109. package/es/comps/MetadataForm/DataCell/plugin/Datasource/index.d.ts +1 -2
  110. package/es/comps/MetadataForm/DataCell/plugin/Datasource/index.js +24 -7
  111. package/es/comps/MetadataForm/DataCell/plugin/MapTable.d.ts +2 -2
  112. package/es/comps/MetadataForm/DataCell/plugin/MapTable.js +12 -16
  113. package/es/comps/MetadataForm/DataCell/plugin/NumberRange.d.ts +1 -2
  114. package/es/comps/MetadataForm/DataCell/plugin/NumberRange.js +2 -1
  115. package/es/comps/MetadataForm/DataCell/plugin/RefreshSelect.d.ts +1 -2
  116. package/es/comps/MetadataForm/DataCell/plugin/SparkSqlTable.d.ts +2 -2
  117. package/es/comps/MetadataForm/DataCell/plugin/SparkSqlTable.js +12 -6
  118. package/es/comps/MetadataForm/HOC/index.d.ts +1 -2
  119. package/es/comps/MetadataForm/HOC/index.less +41 -41
  120. package/es/comps/MetadataForm/index.d.ts +1 -2
  121. package/es/comps/MetadataForm/utils.d.ts +2 -3
  122. package/es/comps/Split/index.d.ts +1 -1
  123. package/es/comps/Split/index.less +29 -29
  124. package/es/framework/RxStore/demo/index.d.ts +1 -2
  125. package/es/framework/graph/index.less +15 -15
  126. package/es/framework/http/msgpack5/lib/helpers.js +1 -0
  127. package/es/framework/libs/jquery.min.js +4 -4
  128. package/es/framework/locale/dil8/di18n.js +3 -5
  129. package/es/framework/metadata/MetadataService.js +14 -14
  130. package/es/framework/metadata/index.js +15 -14
  131. package/es/framework/metadata/types.d.ts +103 -103
  132. package/es/theme.less +81 -81
  133. package/package.json +116 -116
@@ -1,376 +1,376 @@
1
- /* 颜色表 */
2
- @c-primary: #8400ff;
3
- @c-heading: rgba(0, 0, 0, 0.85);
4
- @c-text: #24292f;
5
- @c-secondary: #040405;
6
- @c-link: @c-primary;
7
- @c-border: #f3f4f5;
8
- @c-light-bg: #f9fafb;
9
-
10
- /* 尺寸表 */
11
- @s-nav-height: 64px;
12
- @s-mobile-nav-height: 50px;
13
- @s-menu-width: 260px;
14
- @s-site-menu-width: 320px;
15
- @s-menu-mobile-width: 240px;
16
- @s-content-margin: 20px;
17
- @s-toc-width: 363px;
18
-
19
- @img-logo: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIQAAACCCAMAAACww5CIAAACf1BMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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tvgloZngJyMVp3tJ846ASb7Q1NYrg1JN+ukDs4e05LwHTO5bUKG0tRBEeXAKzJ3rpEXdB8C9fBIWKW0hhOBIBdy2K6R11zvALY6EFYE21yHF4OdKEkz7ObIlXXvAhV4OquoApaYbpCo9qayA29lLturibhimSgOSFjG1ILRwYnwShn09xArnT8PwdnHML6n+hl+2gD8Wjj+rLMOwq49Y5dZpVKUWS++VcCwdCdT5/Uhck5SH45VpVO3qJFbq2Y5Vvly2VBgQY5KqKWI6HY+n06KiqVJMSQyP/37wB6v29xGrnThyEDWh5dyr+fJscbQw/OjRcGG0OFvO3n+QSqKm7exlYgsvNgolkyFs1HGV2OQgTGsjNjnVBtO8Owj3nwbhgWnttgWxy2PaoWaC+AuAXqWYKHupMgAAAABJRU5ErkJggg==';
20
- @prefix: default;
21
- @mobile: ~'only screen and (max-width: 767px)';
22
- @desktop: ~'only screen and (min-width: 768px)';
23
- @icons: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAcwAAAA8CAMAAADc4HoZAAABFFBMVEUAAABGT2VGTmZaYXpCvGtIUGg3tGBGTmU3s2A/tmFKUGxFTmRFTWVQWmxFTWRJUGZFTWRGTmRLWWpFTWRGTmVGTmVLVG1FTmRGTWVHTmVFTWRHUGdFTWRGT2ZFTWVGTmU6t2I7xHA3tF9GTWRIT2dFTmRGTmVFTWQ3s2BFTWRGTmVGTmZKUmVFTWRFTWRGTWRGTmVcXHxFTmVFTmVGTmVFTWRIUGdGTWVNU3FGT2ZGTmVHTmVFTWRFTWVFTmVITWRHUGZFTWVFTmRGTmZGTmVFTWVLU2g4tF83tGBFTWQ3s1/LzdT09faoq7Zwdoieoq58gpLj5OeCh5fq6+2/wsmTmKWQlKJfZnpIUGfU1tu0t8BOVWynlyFSAAAASXRSTlMAkoAHEkDQ/dgYFuf0C8gj+KQQmm1oEuyNWNg53kSXfCYI5tEtzq7ivbOgTBy924R1BfHUibcpYw1JcU7v+7E3Nav6XVPDGraPqQuKawAACh1JREFUe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8kVt2Sh1W35GHVLXlYdUseVt2Sh1W3fK8aDmuSOmyfelyGwpqkjtvnnvMyENYcdeA+fSxaDNYUdeg+TovBmqAO3sdpMVjD1eH7OC0Ga7A6QR+nxWANVafo47QYrIHqJH0eWhDWMHWaPosWhTVInahPHzisIepUffrAYQ1QJ+vTgVgD1IP6/AHM0QJdY511NAAAAABJRU5ErkJggg==';
24
-
25
- .@{prefix}-icon {
26
- background: url(@icons) no-repeat ~'0 0/230px auto';
27
- }
28
-
29
- /* 响应式断点 */
30
- @v-device-show: ~'only screen and (min-width: 961px)';
31
- @v-device-hide: ~'only screen and (max-width: 960px)';
32
-
33
- /* 移动设备尺寸 */
34
- @s-device-gap-top: 0px;
35
- @s-device-border-width: 14px;
36
- @s-device-shell-width: @s-device-border-width + 2px;
37
- @s-device-width: 375px;
38
- @s-device-ratio: 19.5 / 9;
39
-
40
- /* 颜色表 - dark */
41
- @c-bg-dark: #141414;
42
- @c-light-bg-dark: rgba(255, 255, 255, 0.08);
43
- @c-primary-dark: #7395f7;
44
- @c-heading-dark: rgba(255, 255, 255, 0.85);
45
- @c-text-dark: rgba(255, 255, 255, 0.85);
46
- @c-secondary-dark: rgba(255, 255, 255, 0.65);
47
- @c-border-dark: #6b6c6d;
48
- @c-btn-border-dark: #464646;
49
-
50
- .react-mark-down {
51
- width: 100%;
52
- flex: 1;
53
- overflow-y: auto;
54
- ul {
55
- li {
56
- list-style: disc;
57
- }
58
- }
59
- ol {
60
- li {
61
- list-style: auto;
62
- }
63
- }
64
-
65
- color: var(--ronds-metadata-color-text-2);
66
- font-size: 14px;
67
- line-height: 1.60625;
68
- background-color: var(--ronds-metadata-color-bg-5);
69
- border-radius: 8px;
70
- counter-reset: h2-index;
71
-
72
- #api {
73
- position: relative;
74
- margin-top: 49px;
75
- &::after {
76
- position: relative;
77
- top: -48px;
78
- left: -20px;
79
- width: calc(100% + 44px);
80
- height: 1px;
81
- display: block;
82
- content: '';
83
- background: #f3f4f5;
84
- }
85
- }
86
-
87
- & > h2 {
88
- position: relative;
89
- // &::before {
90
- // position: absolute;
91
- // left: -20px;
92
- // display: block;
93
- // counter-increment: h2-index;
94
- // content: counter(h2-index) '.';
95
- // }
96
- & > a {
97
- position: relative;
98
- left: -20px;
99
- }
100
- }
101
-
102
- @media @mobile {
103
- padding: 16px !important;
104
- & > h2 {
105
- &::before {
106
- display: none;
107
- }
108
- }
109
- }
110
-
111
- > *:nth-child(1) {
112
- margin-top: 0;
113
- }
114
-
115
- &:not(:first-child):empty {
116
- min-height: 32px;
117
- }
118
-
119
- // titles
120
- h1,
121
- h2,
122
- h3,
123
- h4,
124
- h5,
125
- h6 {
126
- margin: 42px 0 18px;
127
- color: @c-heading;
128
- font-weight: 600;
129
- line-height: 1.40625;
130
- border-bottom: none !important;
131
-
132
- // anchor link
133
- &:hover > a[aria-hidden] {
134
- float: left;
135
- margin-top: 0.06em;
136
- margin-left: -20px;
137
- width: 20px;
138
- padding-right: 4px;
139
- line-height: 1;
140
- box-sizing: border-box;
141
-
142
- @media @mobile {
143
- width: 14px;
144
- margin-left: -14px;
145
- }
146
-
147
- &::after {
148
- content: '#';
149
- display: inline-block;
150
- vertical-align: middle;
151
- font-size: 20px;
152
- }
153
-
154
- span {
155
- display: none;
156
- }
157
- }
158
-
159
- + h1,
160
- + h2,
161
- + h3,
162
- + h4,
163
- + h5,
164
- + h6 {
165
- margin-top: 16px;
166
- }
167
- }
168
-
169
- h1 {
170
- margin-top: 48px;
171
- margin-bottom: 32px;
172
- font-size: 28px;
173
- }
174
-
175
- h2 {
176
- font-size: 18px;
177
- }
178
-
179
- h3 {
180
- font-size: 16px;
181
- }
182
-
183
- h4 {
184
- font-size: 15px;
185
- }
186
-
187
- h5 {
188
- font-size: 15px;
189
- }
190
-
191
- h6 {
192
- font-size: 15px;
193
- }
194
-
195
- // paragraph
196
- p {
197
- margin: 16px 0;
198
- }
199
-
200
- // horizontal line
201
- hr {
202
- margin: 16px 0;
203
- border: 0;
204
- border-top: 1px solid @c-border;
205
- }
206
-
207
- // blockquote
208
- blockquote {
209
- margin: 16px 0;
210
- padding: 10px 24px;
211
- color: fadeout(@c-text, 30%);
212
- border-left: 4px solid #376ce5;
213
- background-color: #f3f4f5;
214
- overflow: hidden;
215
-
216
- p {
217
- font-size: 14px;
218
- line-height: 20px;
219
- }
220
- }
221
- pre {
222
- padding: 10px !important;
223
- background-color: rgb(250, 250, 250);
224
- code {
225
- font-weight: 300;
226
- background-color: transparent;
227
- }
228
- .self-highlighter {
229
- padding: 0 !important;
230
- margin: 0 !important;
231
- }
232
- }
233
-
234
- // list
235
- ul,
236
- ol {
237
- margin: 8px 0 8px 16px;
238
- padding: 0;
239
-
240
- li {
241
- margin-bottom: 4px;
242
- font-size: 14px;
243
- }
244
- }
245
-
246
- ul {
247
- list-style-type: circle;
248
- }
249
-
250
- // table
251
- table {
252
- width: 100%;
253
-
254
- margin-top: 16px;
255
- border: 1px solid @c-border;
256
- /* 消除单元格之间的空隙 */
257
- border-collapse: collapse;
258
- /* 消除掉外边框 */
259
- border-style: hidden;
260
- /* hack一下加个假边框 */
261
- // box-shadow: 0 0 0 1px @c-border;
262
- // 溢出背景处理
263
- overflow: hidden;
264
-
265
- thead {
266
- width: 100%;
267
- }
268
- th,
269
- td {
270
- padding: 10px 20px;
271
- // border: 1px solid @c-border;
272
- font-weight: normal;
273
- }
274
-
275
- @media @mobile {
276
- th,
277
- td {
278
- padding: 4px;
279
- }
280
- }
281
-
282
- th {
283
- background: @c-light-bg;
284
- font-weight: 600;
285
- color: rgba(0, 0, 0, 0.85);
286
- }
287
-
288
- td {
289
- color: rgba(0, 0, 0, 0.85);
290
-
291
- code {
292
- background-color: #f3f4f5;
293
- min-height: 20px;
294
- line-height: 20px;
295
- text-align: center;
296
- padding: 0 6px;
297
- display: inline-block;
298
- border: 1px solid rgba(0, 0, 0, 0.05);
299
- border-radius: 2px;
300
- color: rgba(0, 0, 0, 0.85);
301
- }
302
- }
303
-
304
- .col {
305
- font-size: 12px;
306
- // overflow: auto;
307
- word-break: break-all;
308
- text-align: left;
309
- // div {
310
- // overflow: auto;
311
- // }
312
- }
313
- .col-0 {
314
- width: 25%;
315
- .col();
316
- }
317
- .col-1 {
318
- width: 24%;
319
- .col();
320
- }
321
- .col-2 {
322
- width: 30%;
323
- .col();
324
- }
325
- .col-3 {
326
- .col();
327
- }
328
-
329
- a {
330
- svg {
331
- display: none;
332
- }
333
- }
334
- }
335
-
336
- // links
337
- a {
338
- color: #346ae5;
339
- text-decoration: none;
340
- transition: opacity 0.2s;
341
- outline: none;
342
-
343
- &:hover {
344
- opacity: 0.7;
345
- text-decoration: underline;
346
- }
347
-
348
- &:active {
349
- opacity: 0.9;
350
- }
351
- }
352
-
353
- // images
354
- img {
355
- max-width: 100%;
356
- }
357
- }
358
-
359
- .ronds-metadata-dark {
360
- .react-mark-down {
361
- table {
362
- width: 100%;
363
- }
364
- th {
365
- background-color: #0d1f40 !important;
366
- }
367
- table td,
368
- table th {
369
- color: #9b9fa8 !important;
370
- border: 1px solid var(--ronds-metadata-color-border-1) !important;
371
- }
372
- table tr {
373
- background: #13264e !important;
374
- }
375
- }
376
- }
1
+ /* 颜色表 */
2
+ @c-primary: #8400ff;
3
+ @c-heading: rgba(0, 0, 0, 0.85);
4
+ @c-text: #24292f;
5
+ @c-secondary: #040405;
6
+ @c-link: @c-primary;
7
+ @c-border: #f3f4f5;
8
+ @c-light-bg: #f9fafb;
9
+
10
+ /* 尺寸表 */
11
+ @s-nav-height: 64px;
12
+ @s-mobile-nav-height: 50px;
13
+ @s-menu-width: 260px;
14
+ @s-site-menu-width: 320px;
15
+ @s-menu-mobile-width: 240px;
16
+ @s-content-margin: 20px;
17
+ @s-toc-width: 363px;
18
+
19
+ @img-logo: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIQAAACCCAMAAACww5CIAAACf1BMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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ukDs4e05LwHTO5bUKG0tRBEeXAKzJ3rpEXdB8C9fBIWKW0hhOBIBdy2K6R11zvALY6EFYE21yHF4OdKEkz7ObIlXXvAhV4OquoApaYbpCo9qayA29lLturibhimSgOSFjG1ILRwYnwShn09xArnT8PwdnHML6n+hl+2gD8Wjj+rLMOwq49Y5dZpVKUWS++VcCwdCdT5/Uhck5SH45VpVO3qJFbq2Y5Vvly2VBgQY5KqKWI6HY+n06KiqVJMSQyP/37wB6v29xGrnThyEDWh5dyr+fJscbQw/OjRcGG0OFvO3n+QSqKm7exlYgsvNgolkyFs1HGV2OQgTGsjNjnVBtO8Owj3nwbhgWnttgWxy2PaoWaC+AuAXqWYKHupMgAAAABJRU5ErkJggg==';
20
+ @prefix: default;
21
+ @mobile: ~'only screen and (max-width: 767px)';
22
+ @desktop: ~'only screen and (min-width: 768px)';
23
+ @icons: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAcwAAAA8CAMAAADc4HoZAAABFFBMVEUAAABGT2VGTmZaYXpCvGtIUGg3tGBGTmU3s2A/tmFKUGxFTmRFTWVQWmxFTWRJUGZFTWRGTmRLWWpFTWRGTmVGTmVLVG1FTmRGTWVHTmVFTWRHUGdFTWRGT2ZFTWVGTmU6t2I7xHA3tF9GTWRIT2dFTmRGTmVFTWQ3s2BFTWRGTmVGTmZKUmVFTWRFTWRGTWRGTmVcXHxFTmVFTmVGTmVFTWRIUGdGTWVNU3FGT2ZGTmVHTmVFTWRFTWVFTmVITWRHUGZFTWVFTmRGTmZGTmVFTWVLU2g4tF83tGBFTWQ3s1/LzdT09faoq7Zwdoieoq58gpLj5OeCh5fq6+2/wsmTmKWQlKJfZnpIUGfU1tu0t8BOVWynlyFSAAAASXRSTlMAkoAHEkDQ/dgYFuf0C8gj+KQQmm1oEuyNWNg53kSXfCYI5tEtzq7ivbOgTBy924R1BfHUibcpYw1JcU7v+7E3Nav6XVPDGraPqQuKawAACh1JREFUeNrsm2lT6kgUhg9QFFUkgWDYZfnAV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W3fK8aDmuSOmyfelyGwpqkjtvnnvMyENYcdeA+fSxaDNYUdeg+TovBmqAO3sdpMVjD1eH7OC0Ga7A6QR+nxWANVafo47QYrIHqJH0eWhDWMHWaPosWhTVInahPHzisIepUffrAYQ1QJ+vTgVgD1IP6/AHM0QJdY511NAAAAABJRU5ErkJggg==';
24
+
25
+ .@{prefix}-icon {
26
+ background: url(@icons) no-repeat ~'0 0/230px auto';
27
+ }
28
+
29
+ /* 响应式断点 */
30
+ @v-device-show: ~'only screen and (min-width: 961px)';
31
+ @v-device-hide: ~'only screen and (max-width: 960px)';
32
+
33
+ /* 移动设备尺寸 */
34
+ @s-device-gap-top: 0px;
35
+ @s-device-border-width: 14px;
36
+ @s-device-shell-width: @s-device-border-width + 2px;
37
+ @s-device-width: 375px;
38
+ @s-device-ratio: 19.5 / 9;
39
+
40
+ /* 颜色表 - dark */
41
+ @c-bg-dark: #141414;
42
+ @c-light-bg-dark: rgba(255, 255, 255, 0.08);
43
+ @c-primary-dark: #7395f7;
44
+ @c-heading-dark: rgba(255, 255, 255, 0.85);
45
+ @c-text-dark: rgba(255, 255, 255, 0.85);
46
+ @c-secondary-dark: rgba(255, 255, 255, 0.65);
47
+ @c-border-dark: #6b6c6d;
48
+ @c-btn-border-dark: #464646;
49
+
50
+ .react-mark-down {
51
+ width: 100%;
52
+ flex: 1;
53
+ overflow-y: auto;
54
+ ul {
55
+ li {
56
+ list-style: disc;
57
+ }
58
+ }
59
+ ol {
60
+ li {
61
+ list-style: auto;
62
+ }
63
+ }
64
+
65
+ color: var(--ronds-metadata-color-text-2);
66
+ font-size: 14px;
67
+ line-height: 1.60625;
68
+ background-color: var(--ronds-metadata-color-bg-5);
69
+ border-radius: 8px;
70
+ counter-reset: h2-index;
71
+
72
+ #api {
73
+ position: relative;
74
+ margin-top: 49px;
75
+ &::after {
76
+ position: relative;
77
+ top: -48px;
78
+ left: -20px;
79
+ width: calc(100% + 44px);
80
+ height: 1px;
81
+ display: block;
82
+ content: '';
83
+ background: #f3f4f5;
84
+ }
85
+ }
86
+
87
+ & > h2 {
88
+ position: relative;
89
+ // &::before {
90
+ // position: absolute;
91
+ // left: -20px;
92
+ // display: block;
93
+ // counter-increment: h2-index;
94
+ // content: counter(h2-index) '.';
95
+ // }
96
+ & > a {
97
+ position: relative;
98
+ left: -20px;
99
+ }
100
+ }
101
+
102
+ @media @mobile {
103
+ padding: 16px !important;
104
+ & > h2 {
105
+ &::before {
106
+ display: none;
107
+ }
108
+ }
109
+ }
110
+
111
+ > *:nth-child(1) {
112
+ margin-top: 0;
113
+ }
114
+
115
+ &:not(:first-child):empty {
116
+ min-height: 32px;
117
+ }
118
+
119
+ // titles
120
+ h1,
121
+ h2,
122
+ h3,
123
+ h4,
124
+ h5,
125
+ h6 {
126
+ margin: 42px 0 18px;
127
+ color: @c-heading;
128
+ font-weight: 600;
129
+ line-height: 1.40625;
130
+ border-bottom: none !important;
131
+
132
+ // anchor link
133
+ &:hover > a[aria-hidden] {
134
+ float: left;
135
+ margin-top: 0.06em;
136
+ margin-left: -20px;
137
+ width: 20px;
138
+ padding-right: 4px;
139
+ line-height: 1;
140
+ box-sizing: border-box;
141
+
142
+ @media @mobile {
143
+ width: 14px;
144
+ margin-left: -14px;
145
+ }
146
+
147
+ &::after {
148
+ content: '#';
149
+ display: inline-block;
150
+ vertical-align: middle;
151
+ font-size: 20px;
152
+ }
153
+
154
+ span {
155
+ display: none;
156
+ }
157
+ }
158
+
159
+ + h1,
160
+ + h2,
161
+ + h3,
162
+ + h4,
163
+ + h5,
164
+ + h6 {
165
+ margin-top: 16px;
166
+ }
167
+ }
168
+
169
+ h1 {
170
+ margin-top: 48px;
171
+ margin-bottom: 32px;
172
+ font-size: 28px;
173
+ }
174
+
175
+ h2 {
176
+ font-size: 18px;
177
+ }
178
+
179
+ h3 {
180
+ font-size: 16px;
181
+ }
182
+
183
+ h4 {
184
+ font-size: 15px;
185
+ }
186
+
187
+ h5 {
188
+ font-size: 15px;
189
+ }
190
+
191
+ h6 {
192
+ font-size: 15px;
193
+ }
194
+
195
+ // paragraph
196
+ p {
197
+ margin: 16px 0;
198
+ }
199
+
200
+ // horizontal line
201
+ hr {
202
+ margin: 16px 0;
203
+ border: 0;
204
+ border-top: 1px solid @c-border;
205
+ }
206
+
207
+ // blockquote
208
+ blockquote {
209
+ margin: 16px 0;
210
+ padding: 10px 24px;
211
+ color: fadeout(@c-text, 30%);
212
+ border-left: 4px solid #376ce5;
213
+ background-color: #f3f4f5;
214
+ overflow: hidden;
215
+
216
+ p {
217
+ font-size: 14px;
218
+ line-height: 20px;
219
+ }
220
+ }
221
+ pre {
222
+ padding: 10px !important;
223
+ background-color: rgb(250, 250, 250);
224
+ code {
225
+ font-weight: 300;
226
+ background-color: transparent;
227
+ }
228
+ .self-highlighter {
229
+ padding: 0 !important;
230
+ margin: 0 !important;
231
+ }
232
+ }
233
+
234
+ // list
235
+ ul,
236
+ ol {
237
+ margin: 8px 0 8px 16px;
238
+ padding: 0;
239
+
240
+ li {
241
+ margin-bottom: 4px;
242
+ font-size: 14px;
243
+ }
244
+ }
245
+
246
+ ul {
247
+ list-style-type: circle;
248
+ }
249
+
250
+ // table
251
+ table {
252
+ width: 100%;
253
+
254
+ margin-top: 16px;
255
+ border: 1px solid @c-border;
256
+ /* 消除单元格之间的空隙 */
257
+ border-collapse: collapse;
258
+ /* 消除掉外边框 */
259
+ border-style: hidden;
260
+ /* hack一下加个假边框 */
261
+ // box-shadow: 0 0 0 1px @c-border;
262
+ // 溢出背景处理
263
+ overflow: hidden;
264
+
265
+ thead {
266
+ width: 100%;
267
+ }
268
+ th,
269
+ td {
270
+ padding: 10px 20px;
271
+ // border: 1px solid @c-border;
272
+ font-weight: normal;
273
+ }
274
+
275
+ @media @mobile {
276
+ th,
277
+ td {
278
+ padding: 4px;
279
+ }
280
+ }
281
+
282
+ th {
283
+ background: @c-light-bg;
284
+ font-weight: 600;
285
+ color: rgba(0, 0, 0, 0.85);
286
+ }
287
+
288
+ td {
289
+ color: rgba(0, 0, 0, 0.85);
290
+
291
+ code {
292
+ background-color: #f3f4f5;
293
+ min-height: 20px;
294
+ line-height: 20px;
295
+ text-align: center;
296
+ padding: 0 6px;
297
+ display: inline-block;
298
+ border: 1px solid rgba(0, 0, 0, 0.05);
299
+ border-radius: 2px;
300
+ color: rgba(0, 0, 0, 0.85);
301
+ }
302
+ }
303
+
304
+ .col {
305
+ font-size: 12px;
306
+ // overflow: auto;
307
+ word-break: break-all;
308
+ text-align: left;
309
+ // div {
310
+ // overflow: auto;
311
+ // }
312
+ }
313
+ .col-0 {
314
+ width: 25%;
315
+ .col();
316
+ }
317
+ .col-1 {
318
+ width: 24%;
319
+ .col();
320
+ }
321
+ .col-2 {
322
+ width: 30%;
323
+ .col();
324
+ }
325
+ .col-3 {
326
+ .col();
327
+ }
328
+
329
+ a {
330
+ svg {
331
+ display: none;
332
+ }
333
+ }
334
+ }
335
+
336
+ // links
337
+ a {
338
+ color: #346ae5;
339
+ text-decoration: none;
340
+ transition: opacity 0.2s;
341
+ outline: none;
342
+
343
+ &:hover {
344
+ opacity: 0.7;
345
+ text-decoration: underline;
346
+ }
347
+
348
+ &:active {
349
+ opacity: 0.9;
350
+ }
351
+ }
352
+
353
+ // images
354
+ img {
355
+ max-width: 100%;
356
+ }
357
+ }
358
+
359
+ .ronds-metadata-dark {
360
+ .react-mark-down {
361
+ table {
362
+ width: 100%;
363
+ }
364
+ th {
365
+ background-color: #0d1f40 !important;
366
+ }
367
+ table td,
368
+ table th {
369
+ color: #9b9fa8 !important;
370
+ border: 1px solid var(--ronds-metadata-color-border-1) !important;
371
+ }
372
+ table tr {
373
+ background: #13264e !important;
374
+ }
375
+ }
376
+ }