matcha-components 20.236.0 → 20.238.0
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.
- package/assets/text-editor/css/codemirror.min.css +499 -0
- package/assets/text-editor/css/suneditor.min.css +5375 -1
- package/assets/text-editor/js/codemirror.min.js +8 -0
- package/assets/text-editor/js/css.js +8 -0
- package/assets/text-editor/js/htmlmixed copy.js +1 -0
- package/assets/text-editor/js/htmlmixed.js +8 -0
- package/assets/text-editor/js/javascript.js +8 -0
- package/assets/text-editor/js/xml.min.js +8 -0
- package/assets/text-editor/langs/pt-br.js +241 -0
- package/assets/text-editor/suneditor.html +95 -22
- package/fesm2022/matcha-components.mjs +130 -87
- package/fesm2022/matcha-components.mjs.map +1 -1
- package/index.d.ts +2 -3
- package/package.json +1 -1
|
@@ -0,0 +1,499 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Minified by jsDelivr using clean-css v5.3.3.
|
|
3
|
+
* Original file: /npm/codemirror@6.65.7/lib/codemirror.css
|
|
4
|
+
*
|
|
5
|
+
* Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
|
|
6
|
+
*/
|
|
7
|
+
.CodeMirror {
|
|
8
|
+
font-family: monospace;
|
|
9
|
+
height: 300px;
|
|
10
|
+
color: #000;
|
|
11
|
+
direction: ltr
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.CodeMirror-lines {
|
|
15
|
+
padding: 4px 0
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.CodeMirror pre.CodeMirror-line,
|
|
19
|
+
.CodeMirror pre.CodeMirror-line-like {
|
|
20
|
+
padding: 0 4px
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.CodeMirror-gutter-filler,
|
|
24
|
+
.CodeMirror-scrollbar-filler {
|
|
25
|
+
background-color: #fff
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.CodeMirror-gutters {
|
|
29
|
+
border-right: 1px solid #ddd;
|
|
30
|
+
background-color: #f7f7f7;
|
|
31
|
+
white-space: nowrap
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.CodeMirror-linenumber {
|
|
35
|
+
padding: 0 3px 0 5px;
|
|
36
|
+
min-width: 20px;
|
|
37
|
+
text-align: right;
|
|
38
|
+
color: #999;
|
|
39
|
+
white-space: nowrap
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.CodeMirror-guttermarker {
|
|
43
|
+
color: #000
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.CodeMirror-guttermarker-subtle {
|
|
47
|
+
color: #999
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.CodeMirror-cursor {
|
|
51
|
+
border-left: 1px solid #000;
|
|
52
|
+
border-right: none;
|
|
53
|
+
width: 0
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.CodeMirror div.CodeMirror-secondarycursor {
|
|
57
|
+
border-left: 1px solid silver
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.cm-fat-cursor .CodeMirror-cursor {
|
|
61
|
+
width: auto;
|
|
62
|
+
border: 0 !important;
|
|
63
|
+
background: #7e7
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.cm-fat-cursor div.CodeMirror-cursors {
|
|
67
|
+
z-index: 1
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.cm-fat-cursor .CodeMirror-line::selection,
|
|
71
|
+
.cm-fat-cursor .CodeMirror-line>span::selection,
|
|
72
|
+
.cm-fat-cursor .CodeMirror-line>span>span::selection {
|
|
73
|
+
background: 0 0
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.cm-fat-cursor .CodeMirror-line::-moz-selection,
|
|
77
|
+
.cm-fat-cursor .CodeMirror-line>span::-moz-selection,
|
|
78
|
+
.cm-fat-cursor .CodeMirror-line>span>span::-moz-selection {
|
|
79
|
+
background: 0 0
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.cm-fat-cursor {
|
|
83
|
+
caret-color: transparent
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@-moz-keyframes blink {
|
|
87
|
+
50% {
|
|
88
|
+
background-color: transparent
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
@-webkit-keyframes blink {
|
|
93
|
+
50% {
|
|
94
|
+
background-color: transparent
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
@keyframes blink {
|
|
99
|
+
50% {
|
|
100
|
+
background-color: transparent
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.cm-tab {
|
|
105
|
+
display: inline-block;
|
|
106
|
+
text-decoration: inherit
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.CodeMirror-rulers {
|
|
110
|
+
position: absolute;
|
|
111
|
+
left: 0;
|
|
112
|
+
right: 0;
|
|
113
|
+
top: -50px;
|
|
114
|
+
bottom: 0;
|
|
115
|
+
overflow: hidden
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.CodeMirror-ruler {
|
|
119
|
+
border-left: 1px solid #ccc;
|
|
120
|
+
top: 0;
|
|
121
|
+
bottom: 0;
|
|
122
|
+
position: absolute
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.cm-s-default .cm-header {
|
|
126
|
+
color: #00f
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.cm-s-default .cm-quote {
|
|
130
|
+
color: #090
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.cm-negative {
|
|
134
|
+
color: #d44
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.cm-positive {
|
|
138
|
+
color: #292
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.cm-header,
|
|
142
|
+
.cm-strong {
|
|
143
|
+
font-weight: 700
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.cm-em {
|
|
147
|
+
font-style: italic
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.cm-link {
|
|
151
|
+
text-decoration: underline
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.cm-strikethrough {
|
|
155
|
+
text-decoration: line-through
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.cm-s-default .cm-keyword {
|
|
159
|
+
color: #708
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.cm-s-default .cm-atom {
|
|
163
|
+
color: #219
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.cm-s-default .cm-number {
|
|
167
|
+
color: #164
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.cm-s-default .cm-def {
|
|
171
|
+
color: #00f
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.cm-s-default .cm-variable-2 {
|
|
175
|
+
color: #05a
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.cm-s-default .cm-type,
|
|
179
|
+
.cm-s-default .cm-variable-3 {
|
|
180
|
+
color: #085
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.cm-s-default .cm-comment {
|
|
184
|
+
color: #a50
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.cm-s-default .cm-string {
|
|
188
|
+
color: #a11
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.cm-s-default .cm-string-2 {
|
|
192
|
+
color: #f50
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.cm-s-default .cm-meta {
|
|
196
|
+
color: #555
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.cm-s-default .cm-qualifier {
|
|
200
|
+
color: #555
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.cm-s-default .cm-builtin {
|
|
204
|
+
color: #30a
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.cm-s-default .cm-bracket {
|
|
208
|
+
color: #997
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.cm-s-default .cm-tag {
|
|
212
|
+
color: #170
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.cm-s-default .cm-attribute {
|
|
216
|
+
color: #00c
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.cm-s-default .cm-hr {
|
|
220
|
+
color: #999
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.cm-s-default .cm-link {
|
|
224
|
+
color: #00c
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.cm-s-default .cm-error {
|
|
228
|
+
color: red
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.cm-invalidchar {
|
|
232
|
+
color: red
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.CodeMirror-composing {
|
|
236
|
+
border-bottom: 2px solid
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
div.CodeMirror span.CodeMirror-matchingbracket {
|
|
240
|
+
color: #0b0
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
div.CodeMirror span.CodeMirror-nonmatchingbracket {
|
|
244
|
+
color: #a22
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.CodeMirror-matchingtag {
|
|
248
|
+
background: rgba(255, 150, 0, .3)
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.CodeMirror-activeline-background {
|
|
252
|
+
background: #e8f2ff
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.CodeMirror {
|
|
256
|
+
position: relative;
|
|
257
|
+
overflow: hidden;
|
|
258
|
+
background: #fff
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.CodeMirror-scroll {
|
|
262
|
+
overflow: scroll !important;
|
|
263
|
+
margin-bottom: -50px;
|
|
264
|
+
margin-right: -50px;
|
|
265
|
+
padding-bottom: 50px;
|
|
266
|
+
height: 100%;
|
|
267
|
+
outline: 0;
|
|
268
|
+
position: relative;
|
|
269
|
+
z-index: 0
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.CodeMirror-sizer {
|
|
273
|
+
position: relative;
|
|
274
|
+
border-right: 50px solid transparent
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.CodeMirror-gutter-filler,
|
|
278
|
+
.CodeMirror-hscrollbar,
|
|
279
|
+
.CodeMirror-scrollbar-filler,
|
|
280
|
+
.CodeMirror-vscrollbar {
|
|
281
|
+
position: absolute;
|
|
282
|
+
z-index: 6;
|
|
283
|
+
display: none;
|
|
284
|
+
outline: 0
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.CodeMirror-vscrollbar {
|
|
288
|
+
right: 0;
|
|
289
|
+
top: 0;
|
|
290
|
+
overflow-x: hidden;
|
|
291
|
+
overflow-y: scroll
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.CodeMirror-hscrollbar {
|
|
295
|
+
bottom: 0;
|
|
296
|
+
left: 0;
|
|
297
|
+
overflow-y: hidden;
|
|
298
|
+
overflow-x: scroll
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
.CodeMirror-scrollbar-filler {
|
|
302
|
+
right: 0;
|
|
303
|
+
bottom: 0
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.CodeMirror-gutter-filler {
|
|
307
|
+
left: 0;
|
|
308
|
+
bottom: 0
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.CodeMirror-gutters {
|
|
312
|
+
position: absolute;
|
|
313
|
+
left: 0;
|
|
314
|
+
top: 0;
|
|
315
|
+
min-height: 100%;
|
|
316
|
+
z-index: 3
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
.CodeMirror-gutter {
|
|
320
|
+
white-space: normal;
|
|
321
|
+
height: 100%;
|
|
322
|
+
display: inline-block;
|
|
323
|
+
vertical-align: top;
|
|
324
|
+
margin-bottom: -50px
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.CodeMirror-gutter-wrapper {
|
|
328
|
+
position: absolute;
|
|
329
|
+
z-index: 4;
|
|
330
|
+
background: 0 0 !important;
|
|
331
|
+
border: none !important
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.CodeMirror-gutter-background {
|
|
335
|
+
position: absolute;
|
|
336
|
+
top: 0;
|
|
337
|
+
bottom: 0;
|
|
338
|
+
z-index: 4
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.CodeMirror-gutter-elt {
|
|
342
|
+
position: absolute;
|
|
343
|
+
cursor: default;
|
|
344
|
+
z-index: 4
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.CodeMirror-gutter-wrapper ::selection {
|
|
348
|
+
background-color: transparent
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
.CodeMirror-gutter-wrapper ::-moz-selection {
|
|
352
|
+
background-color: transparent
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
.CodeMirror-lines {
|
|
356
|
+
cursor: text;
|
|
357
|
+
min-height: 1px
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
.CodeMirror pre.CodeMirror-line,
|
|
361
|
+
.CodeMirror pre.CodeMirror-line-like {
|
|
362
|
+
-moz-border-radius: 0;
|
|
363
|
+
-webkit-border-radius: 0;
|
|
364
|
+
border-radius: 0;
|
|
365
|
+
border-width: 0;
|
|
366
|
+
background: 0 0;
|
|
367
|
+
font-family: inherit;
|
|
368
|
+
font-size: inherit;
|
|
369
|
+
margin: 0;
|
|
370
|
+
white-space: pre;
|
|
371
|
+
word-wrap: normal;
|
|
372
|
+
line-height: inherit;
|
|
373
|
+
color: inherit;
|
|
374
|
+
z-index: 2;
|
|
375
|
+
position: relative;
|
|
376
|
+
overflow: visible;
|
|
377
|
+
-webkit-tap-highlight-color: transparent;
|
|
378
|
+
-webkit-font-variant-ligatures: contextual;
|
|
379
|
+
font-variant-ligatures: contextual
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
.CodeMirror-wrap pre.CodeMirror-line,
|
|
383
|
+
.CodeMirror-wrap pre.CodeMirror-line-like {
|
|
384
|
+
word-wrap: break-word;
|
|
385
|
+
white-space: pre-wrap;
|
|
386
|
+
word-break: normal
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
.CodeMirror-linebackground {
|
|
390
|
+
position: absolute;
|
|
391
|
+
left: 0;
|
|
392
|
+
right: 0;
|
|
393
|
+
top: 0;
|
|
394
|
+
bottom: 0;
|
|
395
|
+
z-index: 0
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
.CodeMirror-linewidget {
|
|
399
|
+
position: relative;
|
|
400
|
+
z-index: 2;
|
|
401
|
+
padding: .1px
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
.CodeMirror-rtl pre {
|
|
405
|
+
direction: rtl
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.CodeMirror-code {
|
|
409
|
+
outline: 0
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.CodeMirror-gutter,
|
|
413
|
+
.CodeMirror-gutters,
|
|
414
|
+
.CodeMirror-linenumber,
|
|
415
|
+
.CodeMirror-scroll,
|
|
416
|
+
.CodeMirror-sizer {
|
|
417
|
+
-moz-box-sizing: content-box;
|
|
418
|
+
box-sizing: content-box
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
.CodeMirror-measure {
|
|
422
|
+
position: absolute;
|
|
423
|
+
width: 100%;
|
|
424
|
+
height: 0;
|
|
425
|
+
overflow: hidden;
|
|
426
|
+
visibility: hidden
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
.CodeMirror-cursor {
|
|
430
|
+
position: absolute;
|
|
431
|
+
pointer-events: none
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
.CodeMirror-measure pre {
|
|
435
|
+
position: static
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
div.CodeMirror-cursors {
|
|
439
|
+
visibility: hidden;
|
|
440
|
+
position: relative;
|
|
441
|
+
z-index: 3
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
div.CodeMirror-dragcursors {
|
|
445
|
+
visibility: visible
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
.CodeMirror-focused div.CodeMirror-cursors {
|
|
449
|
+
visibility: visible
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
.CodeMirror-selected {
|
|
453
|
+
background: #d9d9d9
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
.CodeMirror-focused .CodeMirror-selected {
|
|
457
|
+
background: #d7d4f0
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
.CodeMirror-crosshair {
|
|
461
|
+
cursor: crosshair
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
.CodeMirror-line::selection,
|
|
465
|
+
.CodeMirror-line>span::selection,
|
|
466
|
+
.CodeMirror-line>span>span::selection {
|
|
467
|
+
background: #d7d4f0
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
.CodeMirror-line::-moz-selection,
|
|
471
|
+
.CodeMirror-line>span::-moz-selection,
|
|
472
|
+
.CodeMirror-line>span>span::-moz-selection {
|
|
473
|
+
background: #d7d4f0
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
.cm-searching {
|
|
477
|
+
background-color: #ffa;
|
|
478
|
+
background-color: rgba(255, 255, 0, .4)
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
.cm-force-border {
|
|
482
|
+
padding-right: .1px
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
@media print {
|
|
486
|
+
.CodeMirror div.CodeMirror-cursors {
|
|
487
|
+
visibility: hidden
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
.cm-tab-wrap-hack:after {
|
|
492
|
+
content: ''
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
span.CodeMirror-selectedtext {
|
|
496
|
+
background: 0 0
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
/*# sourceMappingURL=/sm/11077112ab6955d29fe41085c62365c7d4a2f00a570c7475e2aec2a8cbc85fc4.map */
|