@n1k1t/mock-server 0.1.9 → 0.1.11
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/README.md +129 -4
- package/lib/package.json +1 -1
- package/lib/src/config/model.d.ts +6 -0
- package/lib/src/config/model.d.ts.map +1 -1
- package/lib/src/config/model.js +6 -0
- package/lib/src/config/model.js.map +1 -1
- package/lib/src/expectations/__utils__/index.d.ts.map +1 -1
- package/lib/src/expectations/__utils__/index.js +2 -4
- package/lib/src/expectations/__utils__/index.js.map +1 -1
- package/lib/src/expectations/models/expectation.d.ts +6 -6
- package/lib/src/expectations/models/expectation.d.ts.map +1 -1
- package/lib/src/expectations/types.d.ts +8 -8
- package/lib/src/expectations/types.d.ts.map +1 -1
- package/lib/src/expectations/types.js +3 -3
- package/lib/src/expectations/types.js.map +1 -1
- package/lib/src/expectations/utils.js +3 -3
- package/lib/src/expectations/utils.js.map +1 -1
- package/lib/src/server/endpoints/config.get.endpoint.d.ts +9 -0
- package/lib/src/server/endpoints/config.get.endpoint.d.ts.map +1 -1
- package/lib/src/server/index.d.ts.map +1 -1
- package/lib/src/server/index.js +3 -2
- package/lib/src/server/index.js.map +1 -1
- package/lib/src/server/middlewares/forward.middleware.d.ts +3 -3
- package/lib/src/server/middlewares/forward.middleware.d.ts.map +1 -1
- package/lib/src/server/middlewares/forward.middleware.js +23 -37
- package/lib/src/server/middlewares/forward.middleware.js.map +1 -1
- package/lib/src/server/middlewares/history.middleware.d.ts.map +1 -1
- package/lib/src/server/middlewares/history.middleware.js +1 -5
- package/lib/src/server/middlewares/history.middleware.js.map +1 -1
- package/lib/src/server/middlewares/reply.middleware.d.ts.map +1 -1
- package/lib/src/server/middlewares/reply.middleware.js +23 -4
- package/lib/src/server/middlewares/reply.middleware.js.map +1 -1
- package/lib/src/server/models/containers/model.d.ts +10 -18
- package/lib/src/server/models/containers/model.d.ts.map +1 -1
- package/lib/src/server/models/containers/model.js +15 -12
- package/lib/src/server/models/containers/model.js.map +1 -1
- package/lib/src/server/models/containers/storage.d.ts +1 -1
- package/lib/src/server/models/containers/storage.d.ts.map +1 -1
- package/lib/src/server/models/containers/storage.js +12 -10
- package/lib/src/server/models/containers/storage.js.map +1 -1
- package/lib/src/server/models/request-context/http.d.ts.map +1 -1
- package/lib/src/server/models/request-context/http.js +4 -6
- package/lib/src/server/models/request-context/http.js.map +1 -1
- package/lib/src/server/models/request-context/snapshot.d.ts +6 -4
- package/lib/src/server/models/request-context/snapshot.d.ts.map +1 -1
- package/lib/src/server/models/request-context/snapshot.js +12 -2
- package/lib/src/server/models/request-context/snapshot.js.map +1 -1
- package/lib/src/server/models/request-context/types.d.ts +8 -10
- package/lib/src/server/models/request-context/types.d.ts.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/public/index.html +0 -1
- package/public/scripts/main.js +18 -10
- package/public/styles/main.css +265 -2
- package/public/styles/json-highlighter.css +0 -259
package/public/styles/main.css
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
1
2
|
@keyframes pending {
|
|
2
3
|
0% {
|
|
3
4
|
content: "\f251";
|
|
@@ -174,7 +175,7 @@ body > header {
|
|
|
174
175
|
}
|
|
175
176
|
body > header button {
|
|
176
177
|
text-decoration: none;
|
|
177
|
-
font-size:
|
|
178
|
+
font-size: 14px;
|
|
178
179
|
color: rgba(255, 255, 255, 0.5);
|
|
179
180
|
}
|
|
180
181
|
body > header button i {
|
|
@@ -251,6 +252,268 @@ div.curtain#loader > div {
|
|
|
251
252
|
align-items: center;
|
|
252
253
|
}
|
|
253
254
|
|
|
255
|
+
.json-formatter-custom.json-formatter-row {
|
|
256
|
+
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
|
|
257
|
+
font-size: 14px;
|
|
258
|
+
}
|
|
259
|
+
.json-formatter-custom.json-formatter-row span {
|
|
260
|
+
position: relative;
|
|
261
|
+
display: inline-block;
|
|
262
|
+
}
|
|
263
|
+
.json-formatter-custom.json-formatter-row:not(:last-child) {
|
|
264
|
+
margin-bottom: 2px;
|
|
265
|
+
}
|
|
266
|
+
.json-formatter-custom.json-formatter-row > span {
|
|
267
|
+
width: 100%;
|
|
268
|
+
overflow-y: auto;
|
|
269
|
+
border-radius: 5px;
|
|
270
|
+
}
|
|
271
|
+
.json-formatter-custom.json-formatter-row > span > span {
|
|
272
|
+
padding: 5px 0;
|
|
273
|
+
}
|
|
274
|
+
.json-formatter-custom.json-formatter-row, .json-formatter-custom.json-formatter-row a, .json-formatter-custom.json-formatter-row a:hover {
|
|
275
|
+
color: rgba(255, 255, 255, 0.2);
|
|
276
|
+
text-decoration: none;
|
|
277
|
+
font-weight: 300;
|
|
278
|
+
}
|
|
279
|
+
.json-formatter-custom.json-formatter-row .json-formatter-row {
|
|
280
|
+
margin-left: 20px;
|
|
281
|
+
}
|
|
282
|
+
.json-formatter-custom.json-formatter-row .json-formatter-row > span {
|
|
283
|
+
display: flex;
|
|
284
|
+
}
|
|
285
|
+
.json-formatter-custom.json-formatter-row .json-formatter-children.json-formatter-empty {
|
|
286
|
+
opacity: 0.5;
|
|
287
|
+
margin-left: 1rem;
|
|
288
|
+
}
|
|
289
|
+
.json-formatter-custom.json-formatter-row .json-formatter-children.json-formatter-empty:after {
|
|
290
|
+
display: none;
|
|
291
|
+
}
|
|
292
|
+
.json-formatter-custom.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-object:after {
|
|
293
|
+
content: "No properties";
|
|
294
|
+
}
|
|
295
|
+
.json-formatter-custom.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-array:after {
|
|
296
|
+
content: "[]";
|
|
297
|
+
}
|
|
298
|
+
.json-formatter-custom.json-formatter-row .json-formatter-string, .json-formatter-custom.json-formatter-row .json-formatter-stringifiable {
|
|
299
|
+
display: inline-block;
|
|
300
|
+
color: white;
|
|
301
|
+
white-space: normal;
|
|
302
|
+
word-wrap: break-word;
|
|
303
|
+
background-color: rgba(0, 0, 0, 0.2);
|
|
304
|
+
border-radius: 5px;
|
|
305
|
+
padding: 5px 10px;
|
|
306
|
+
min-height: 20px;
|
|
307
|
+
}
|
|
308
|
+
.json-formatter-custom.json-formatter-row .json-formatter-number {
|
|
309
|
+
color: #7bff7b;
|
|
310
|
+
}
|
|
311
|
+
.json-formatter-custom.json-formatter-row .json-formatter-boolean {
|
|
312
|
+
color: #ff7b7b;
|
|
313
|
+
}
|
|
314
|
+
.json-formatter-custom.json-formatter-row .json-formatter-null {
|
|
315
|
+
color: #EEC97D;
|
|
316
|
+
}
|
|
317
|
+
.json-formatter-custom.json-formatter-row .json-formatter-undefined {
|
|
318
|
+
color: rgb(239, 143, 190);
|
|
319
|
+
}
|
|
320
|
+
.json-formatter-custom.json-formatter-row .json-formatter-function {
|
|
321
|
+
color: #FF20ED;
|
|
322
|
+
}
|
|
323
|
+
.json-formatter-custom.json-formatter-row .json-formatter-date {
|
|
324
|
+
background-color: fade(rgba(255, 255, 255, 0.2), 5%);
|
|
325
|
+
}
|
|
326
|
+
.json-formatter-custom.json-formatter-row .json-formatter-url {
|
|
327
|
+
text-decoration: underline;
|
|
328
|
+
color: #027BFF;
|
|
329
|
+
cursor: pointer;
|
|
330
|
+
}
|
|
331
|
+
.json-formatter-custom.json-formatter-row .json-formatter-key {
|
|
332
|
+
color: #7ba7ff;
|
|
333
|
+
padding: 5px;
|
|
334
|
+
padding-right: 10px;
|
|
335
|
+
padding-left: 5px;
|
|
336
|
+
font-weight: 500;
|
|
337
|
+
vertical-align: top;
|
|
338
|
+
margin-bottom: 0;
|
|
339
|
+
min-height: 20px;
|
|
340
|
+
}
|
|
341
|
+
.json-formatter-custom.json-formatter-row .json-formatter-key.level-2 {
|
|
342
|
+
color: #7ba7ff;
|
|
343
|
+
}
|
|
344
|
+
.json-formatter-custom.json-formatter-row .json-formatter-key.level-3 {
|
|
345
|
+
color: #7b7bff;
|
|
346
|
+
}
|
|
347
|
+
.json-formatter-custom.json-formatter-row .json-formatter-key.level-4 {
|
|
348
|
+
color: #a77bff;
|
|
349
|
+
}
|
|
350
|
+
.json-formatter-custom.json-formatter-row .json-formatter-key.level-5 {
|
|
351
|
+
color: #d37bff;
|
|
352
|
+
}
|
|
353
|
+
.json-formatter-custom.json-formatter-row .json-formatter-key.level-6 {
|
|
354
|
+
color: #ff7bff;
|
|
355
|
+
}
|
|
356
|
+
.json-formatter-custom.json-formatter-row .json-formatter-key.level-7 {
|
|
357
|
+
color: #ff7bd3;
|
|
358
|
+
}
|
|
359
|
+
.json-formatter-custom.json-formatter-row .json-formatter-key.level-8 {
|
|
360
|
+
color: #ff7ba7;
|
|
361
|
+
}
|
|
362
|
+
.json-formatter-custom.json-formatter-row .json-formatter-key.level-9 {
|
|
363
|
+
color: #ff7b7b;
|
|
364
|
+
}
|
|
365
|
+
.json-formatter-custom.json-formatter-row .json-formatter-key.level-10 {
|
|
366
|
+
color: #ffa77b;
|
|
367
|
+
}
|
|
368
|
+
.json-formatter-custom.json-formatter-row .json-formatter-key.level-11 {
|
|
369
|
+
color: #ffd37b;
|
|
370
|
+
}
|
|
371
|
+
.json-formatter-custom.json-formatter-row .json-formatter-key.level-12 {
|
|
372
|
+
color: #ffff7b;
|
|
373
|
+
}
|
|
374
|
+
.json-formatter-custom.json-formatter-row .json-formatter-key.level-13 {
|
|
375
|
+
color: #d3ff7b;
|
|
376
|
+
}
|
|
377
|
+
.json-formatter-custom.json-formatter-row .json-formatter-key.level-14 {
|
|
378
|
+
color: #a7ff7b;
|
|
379
|
+
}
|
|
380
|
+
.json-formatter-custom.json-formatter-row .json-formatter-key.level-15 {
|
|
381
|
+
color: #7bff7b;
|
|
382
|
+
}
|
|
383
|
+
.json-formatter-custom.json-formatter-row .json-formatter-key.level-16 {
|
|
384
|
+
color: #7bffa7;
|
|
385
|
+
}
|
|
386
|
+
.json-formatter-custom.json-formatter-row .json-formatter-key.level-17 {
|
|
387
|
+
color: #7bffd3;
|
|
388
|
+
}
|
|
389
|
+
.json-formatter-custom.json-formatter-row .json-formatter-key.level-18 {
|
|
390
|
+
color: #7bffff;
|
|
391
|
+
}
|
|
392
|
+
.json-formatter-custom.json-formatter-row .json-formatter-key.level-19 {
|
|
393
|
+
color: #7bd3ff;
|
|
394
|
+
}
|
|
395
|
+
.json-formatter-custom.json-formatter-row .json-formatter-key.level-20 {
|
|
396
|
+
color: #7ba7ff;
|
|
397
|
+
}
|
|
398
|
+
.json-formatter-custom.json-formatter-row .json-formatter-key.level-21 {
|
|
399
|
+
color: #7b7bff;
|
|
400
|
+
}
|
|
401
|
+
.json-formatter-custom.json-formatter-row .json-formatter-key.level-22 {
|
|
402
|
+
color: #a77bff;
|
|
403
|
+
}
|
|
404
|
+
.json-formatter-custom.json-formatter-row .json-formatter-key.level-23 {
|
|
405
|
+
color: #d37bff;
|
|
406
|
+
}
|
|
407
|
+
.json-formatter-custom.json-formatter-row .json-formatter-key.level-24 {
|
|
408
|
+
color: #ff7bff;
|
|
409
|
+
}
|
|
410
|
+
.json-formatter-custom.json-formatter-row .json-formatter-key.level-25 {
|
|
411
|
+
color: #ff7bd3;
|
|
412
|
+
}
|
|
413
|
+
.json-formatter-custom.json-formatter-row .json-formatter-key.level-26 {
|
|
414
|
+
color: #ff7ba7;
|
|
415
|
+
}
|
|
416
|
+
.json-formatter-custom.json-formatter-row .json-formatter-key.level-27 {
|
|
417
|
+
color: #ff7b7b;
|
|
418
|
+
}
|
|
419
|
+
.json-formatter-custom.json-formatter-row .json-formatter-key.level-28 {
|
|
420
|
+
color: #ffa77b;
|
|
421
|
+
}
|
|
422
|
+
.json-formatter-custom.json-formatter-row .json-formatter-key.level-29 {
|
|
423
|
+
color: #ffd37b;
|
|
424
|
+
}
|
|
425
|
+
.json-formatter-custom.json-formatter-row .json-formatter-value {
|
|
426
|
+
padding-right: 10px;
|
|
427
|
+
}
|
|
428
|
+
.json-formatter-custom.json-formatter-row .json-formatter-value span {
|
|
429
|
+
display: flex;
|
|
430
|
+
}
|
|
431
|
+
.json-formatter-custom.json-formatter-row .json-formatter-preview {
|
|
432
|
+
padding-left: 10px;
|
|
433
|
+
padding-top: 5px;
|
|
434
|
+
padding-bottom: 5px;
|
|
435
|
+
color: rgba(255, 255, 255, 0.3);
|
|
436
|
+
}
|
|
437
|
+
.json-formatter-custom.json-formatter-row .json-formatter-constructor-name,
|
|
438
|
+
.json-formatter-custom.json-formatter-row .json-formatter-constructor-name + span > .json-formatter-number,
|
|
439
|
+
.json-formatter-custom.json-formatter-row .json-formatter-bracket {
|
|
440
|
+
color: rgba(255, 255, 255, 0.2);
|
|
441
|
+
padding: 5px 0;
|
|
442
|
+
}
|
|
443
|
+
.json-formatter-custom.json-formatter-row .json-formatter-toggler-link {
|
|
444
|
+
cursor: pointer;
|
|
445
|
+
display: flex;
|
|
446
|
+
}
|
|
447
|
+
.json-formatter-custom.json-formatter-row .json-formatter-toggler {
|
|
448
|
+
line-height: 1.2rem;
|
|
449
|
+
font-size: 0.7rem;
|
|
450
|
+
vertical-align: middle;
|
|
451
|
+
opacity: 0.2;
|
|
452
|
+
color: #fff;
|
|
453
|
+
cursor: pointer;
|
|
454
|
+
padding-right: 7px;
|
|
455
|
+
padding-top: 5px;
|
|
456
|
+
}
|
|
457
|
+
.json-formatter-custom.json-formatter-row .json-formatter-toggler:after {
|
|
458
|
+
display: inline-block;
|
|
459
|
+
transition: transform 100ms ease-in;
|
|
460
|
+
content: "❯";
|
|
461
|
+
}
|
|
462
|
+
.json-formatter-custom.json-formatter-row > a > .json-formatter-preview-text {
|
|
463
|
+
opacity: 0;
|
|
464
|
+
transition: opacity 0.15s ease-in;
|
|
465
|
+
font-style: italic;
|
|
466
|
+
color: #7ba7ff;
|
|
467
|
+
}
|
|
468
|
+
.json-formatter-custom.json-formatter-row:hover > a > .json-formatter-preview-text {
|
|
469
|
+
opacity: 0.6;
|
|
470
|
+
}
|
|
471
|
+
.json-formatter-custom.json-formatter-row.json-formatter-open > a > .json-formatter-toggler {
|
|
472
|
+
opacity: 1;
|
|
473
|
+
}
|
|
474
|
+
.json-formatter-custom.json-formatter-row.json-formatter-open > .json-formatter-toggler-link .json-formatter-toggler:after {
|
|
475
|
+
transform: rotate(90deg);
|
|
476
|
+
}
|
|
477
|
+
.json-formatter-custom.json-formatter-row.json-formatter-open > .json-formatter-children:after {
|
|
478
|
+
display: inline-block;
|
|
479
|
+
}
|
|
480
|
+
.json-formatter-custom.json-formatter-row.json-formatter-open > a > .json-formatter-preview-text {
|
|
481
|
+
display: none;
|
|
482
|
+
}
|
|
483
|
+
.json-formatter-custom.json-formatter-row.json-formatter-open.json-formatter-empty:after {
|
|
484
|
+
display: block;
|
|
485
|
+
}
|
|
486
|
+
.json-formatter-custom.json-formatter-row.json-formatter-open > a > .json-formatter-value .json-formatter-preview {
|
|
487
|
+
display: none;
|
|
488
|
+
}
|
|
489
|
+
.json-formatter-custom.json-formatter-row button.json-formatter-copy {
|
|
490
|
+
padding: 0;
|
|
491
|
+
border: none;
|
|
492
|
+
background-color: transparent;
|
|
493
|
+
padding-right: 10px;
|
|
494
|
+
font-size: 15px;
|
|
495
|
+
color: #fff;
|
|
496
|
+
vertical-align: top;
|
|
497
|
+
cursor: pointer;
|
|
498
|
+
opacity: 0;
|
|
499
|
+
max-height: 28px;
|
|
500
|
+
}
|
|
501
|
+
.json-formatter-custom.json-formatter-row .json-formatter-toggler-link:hover button.json-formatter-copy {
|
|
502
|
+
opacity: 0.2;
|
|
503
|
+
}
|
|
504
|
+
.json-formatter-custom.json-formatter-row .json-formatter-toggler-link button.json-formatter-copy:hover {
|
|
505
|
+
opacity: 1;
|
|
506
|
+
}
|
|
507
|
+
.json-formatter-custom.json-formatter-row .json-formatter-row span:hover button.json-formatter-copy {
|
|
508
|
+
opacity: 0.2;
|
|
509
|
+
}
|
|
510
|
+
.json-formatter-custom.json-formatter-row .json-formatter-row span button.json-formatter-copy:hover {
|
|
511
|
+
opacity: 1;
|
|
512
|
+
}
|
|
513
|
+
.json-formatter-custom.json-formatter-row .json-formatter-string {
|
|
514
|
+
max-height: 60px;
|
|
515
|
+
}
|
|
516
|
+
|
|
254
517
|
section#history div.history:hover div.meta {
|
|
255
518
|
cursor: pointer;
|
|
256
519
|
}
|
|
@@ -375,7 +638,7 @@ div.container div.meta span.seed {
|
|
|
375
638
|
color: #1e1e1e;
|
|
376
639
|
}
|
|
377
640
|
div.container div.meta span.cache {
|
|
378
|
-
background-color: #
|
|
641
|
+
background-color: #fff;
|
|
379
642
|
color: #1e1e1e;
|
|
380
643
|
}
|
|
381
644
|
div.container pre {
|
|
@@ -1,259 +0,0 @@
|
|
|
1
|
-
@charset "UTF-8";
|
|
2
|
-
.json-formatter-custom.json-formatter-row {
|
|
3
|
-
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
|
|
4
|
-
font-size: 14px;
|
|
5
|
-
}
|
|
6
|
-
.json-formatter-custom.json-formatter-row span {
|
|
7
|
-
position: relative;
|
|
8
|
-
display: inline-block;
|
|
9
|
-
}
|
|
10
|
-
.json-formatter-custom.json-formatter-row:not(:last-child) {
|
|
11
|
-
margin-bottom: 2px;
|
|
12
|
-
}
|
|
13
|
-
.json-formatter-custom.json-formatter-row > span {
|
|
14
|
-
width: 100%;
|
|
15
|
-
overflow-y: auto;
|
|
16
|
-
border-radius: 5px;
|
|
17
|
-
}
|
|
18
|
-
.json-formatter-custom.json-formatter-row > span > span {
|
|
19
|
-
padding: 5px 0;
|
|
20
|
-
}
|
|
21
|
-
.json-formatter-custom.json-formatter-row, .json-formatter-custom.json-formatter-row a, .json-formatter-custom.json-formatter-row a:hover {
|
|
22
|
-
color: rgba(255, 255, 255, 0.2);
|
|
23
|
-
text-decoration: none;
|
|
24
|
-
font-weight: 300;
|
|
25
|
-
}
|
|
26
|
-
.json-formatter-custom.json-formatter-row .json-formatter-row {
|
|
27
|
-
margin-left: 20px;
|
|
28
|
-
}
|
|
29
|
-
.json-formatter-custom.json-formatter-row .json-formatter-row > span {
|
|
30
|
-
display: flex;
|
|
31
|
-
}
|
|
32
|
-
.json-formatter-custom.json-formatter-row .json-formatter-children.json-formatter-empty {
|
|
33
|
-
opacity: 0.5;
|
|
34
|
-
margin-left: 1rem;
|
|
35
|
-
}
|
|
36
|
-
.json-formatter-custom.json-formatter-row .json-formatter-children.json-formatter-empty:after {
|
|
37
|
-
display: none;
|
|
38
|
-
}
|
|
39
|
-
.json-formatter-custom.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-object:after {
|
|
40
|
-
content: "No properties";
|
|
41
|
-
}
|
|
42
|
-
.json-formatter-custom.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-array:after {
|
|
43
|
-
content: "[]";
|
|
44
|
-
}
|
|
45
|
-
.json-formatter-custom.json-formatter-row .json-formatter-string, .json-formatter-custom.json-formatter-row .json-formatter-stringifiable {
|
|
46
|
-
display: inline-block;
|
|
47
|
-
color: white;
|
|
48
|
-
white-space: normal;
|
|
49
|
-
word-wrap: break-word;
|
|
50
|
-
background-color: rgba(0, 0, 0, 0.2);
|
|
51
|
-
border-radius: 5px;
|
|
52
|
-
padding: 5px 10px;
|
|
53
|
-
min-height: 20px;
|
|
54
|
-
}
|
|
55
|
-
.json-formatter-custom.json-formatter-row .json-formatter-number {
|
|
56
|
-
color: #7bff7b;
|
|
57
|
-
}
|
|
58
|
-
.json-formatter-custom.json-formatter-row .json-formatter-boolean {
|
|
59
|
-
color: #ff7b7b;
|
|
60
|
-
}
|
|
61
|
-
.json-formatter-custom.json-formatter-row .json-formatter-null {
|
|
62
|
-
color: #EEC97D;
|
|
63
|
-
}
|
|
64
|
-
.json-formatter-custom.json-formatter-row .json-formatter-undefined {
|
|
65
|
-
color: rgb(239, 143, 190);
|
|
66
|
-
}
|
|
67
|
-
.json-formatter-custom.json-formatter-row .json-formatter-function {
|
|
68
|
-
color: #FF20ED;
|
|
69
|
-
}
|
|
70
|
-
.json-formatter-custom.json-formatter-row .json-formatter-date {
|
|
71
|
-
background-color: fade(rgba(255, 255, 255, 0.2), 5%);
|
|
72
|
-
}
|
|
73
|
-
.json-formatter-custom.json-formatter-row .json-formatter-url {
|
|
74
|
-
text-decoration: underline;
|
|
75
|
-
color: #027BFF;
|
|
76
|
-
cursor: pointer;
|
|
77
|
-
}
|
|
78
|
-
.json-formatter-custom.json-formatter-row .json-formatter-key {
|
|
79
|
-
color: #7ba7ff;
|
|
80
|
-
padding: 5px;
|
|
81
|
-
padding-right: 10px;
|
|
82
|
-
padding-left: 5px;
|
|
83
|
-
font-weight: 500;
|
|
84
|
-
vertical-align: top;
|
|
85
|
-
margin-bottom: 0;
|
|
86
|
-
min-height: 20px;
|
|
87
|
-
}
|
|
88
|
-
.json-formatter-custom.json-formatter-row .json-formatter-key.level-2 {
|
|
89
|
-
color: #7ba7ff;
|
|
90
|
-
}
|
|
91
|
-
.json-formatter-custom.json-formatter-row .json-formatter-key.level-3 {
|
|
92
|
-
color: #7b7bff;
|
|
93
|
-
}
|
|
94
|
-
.json-formatter-custom.json-formatter-row .json-formatter-key.level-4 {
|
|
95
|
-
color: #a77bff;
|
|
96
|
-
}
|
|
97
|
-
.json-formatter-custom.json-formatter-row .json-formatter-key.level-5 {
|
|
98
|
-
color: #d37bff;
|
|
99
|
-
}
|
|
100
|
-
.json-formatter-custom.json-formatter-row .json-formatter-key.level-6 {
|
|
101
|
-
color: #ff7bff;
|
|
102
|
-
}
|
|
103
|
-
.json-formatter-custom.json-formatter-row .json-formatter-key.level-7 {
|
|
104
|
-
color: #ff7bd3;
|
|
105
|
-
}
|
|
106
|
-
.json-formatter-custom.json-formatter-row .json-formatter-key.level-8 {
|
|
107
|
-
color: #ff7ba7;
|
|
108
|
-
}
|
|
109
|
-
.json-formatter-custom.json-formatter-row .json-formatter-key.level-9 {
|
|
110
|
-
color: #ff7b7b;
|
|
111
|
-
}
|
|
112
|
-
.json-formatter-custom.json-formatter-row .json-formatter-key.level-10 {
|
|
113
|
-
color: #ffa77b;
|
|
114
|
-
}
|
|
115
|
-
.json-formatter-custom.json-formatter-row .json-formatter-key.level-11 {
|
|
116
|
-
color: #ffd37b;
|
|
117
|
-
}
|
|
118
|
-
.json-formatter-custom.json-formatter-row .json-formatter-key.level-12 {
|
|
119
|
-
color: #ffff7b;
|
|
120
|
-
}
|
|
121
|
-
.json-formatter-custom.json-formatter-row .json-formatter-key.level-13 {
|
|
122
|
-
color: #d3ff7b;
|
|
123
|
-
}
|
|
124
|
-
.json-formatter-custom.json-formatter-row .json-formatter-key.level-14 {
|
|
125
|
-
color: #a7ff7b;
|
|
126
|
-
}
|
|
127
|
-
.json-formatter-custom.json-formatter-row .json-formatter-key.level-15 {
|
|
128
|
-
color: #7bff7b;
|
|
129
|
-
}
|
|
130
|
-
.json-formatter-custom.json-formatter-row .json-formatter-key.level-16 {
|
|
131
|
-
color: #7bffa7;
|
|
132
|
-
}
|
|
133
|
-
.json-formatter-custom.json-formatter-row .json-formatter-key.level-17 {
|
|
134
|
-
color: #7bffd3;
|
|
135
|
-
}
|
|
136
|
-
.json-formatter-custom.json-formatter-row .json-formatter-key.level-18 {
|
|
137
|
-
color: #7bffff;
|
|
138
|
-
}
|
|
139
|
-
.json-formatter-custom.json-formatter-row .json-formatter-key.level-19 {
|
|
140
|
-
color: #7bd3ff;
|
|
141
|
-
}
|
|
142
|
-
.json-formatter-custom.json-formatter-row .json-formatter-key.level-20 {
|
|
143
|
-
color: #7ba7ff;
|
|
144
|
-
}
|
|
145
|
-
.json-formatter-custom.json-formatter-row .json-formatter-key.level-21 {
|
|
146
|
-
color: #7b7bff;
|
|
147
|
-
}
|
|
148
|
-
.json-formatter-custom.json-formatter-row .json-formatter-key.level-22 {
|
|
149
|
-
color: #a77bff;
|
|
150
|
-
}
|
|
151
|
-
.json-formatter-custom.json-formatter-row .json-formatter-key.level-23 {
|
|
152
|
-
color: #d37bff;
|
|
153
|
-
}
|
|
154
|
-
.json-formatter-custom.json-formatter-row .json-formatter-key.level-24 {
|
|
155
|
-
color: #ff7bff;
|
|
156
|
-
}
|
|
157
|
-
.json-formatter-custom.json-formatter-row .json-formatter-key.level-25 {
|
|
158
|
-
color: #ff7bd3;
|
|
159
|
-
}
|
|
160
|
-
.json-formatter-custom.json-formatter-row .json-formatter-key.level-26 {
|
|
161
|
-
color: #ff7ba7;
|
|
162
|
-
}
|
|
163
|
-
.json-formatter-custom.json-formatter-row .json-formatter-key.level-27 {
|
|
164
|
-
color: #ff7b7b;
|
|
165
|
-
}
|
|
166
|
-
.json-formatter-custom.json-formatter-row .json-formatter-key.level-28 {
|
|
167
|
-
color: #ffa77b;
|
|
168
|
-
}
|
|
169
|
-
.json-formatter-custom.json-formatter-row .json-formatter-key.level-29 {
|
|
170
|
-
color: #ffd37b;
|
|
171
|
-
}
|
|
172
|
-
.json-formatter-custom.json-formatter-row .json-formatter-value {
|
|
173
|
-
padding-right: 10px;
|
|
174
|
-
}
|
|
175
|
-
.json-formatter-custom.json-formatter-row .json-formatter-value span {
|
|
176
|
-
display: flex;
|
|
177
|
-
}
|
|
178
|
-
.json-formatter-custom.json-formatter-row .json-formatter-preview {
|
|
179
|
-
padding-left: 10px;
|
|
180
|
-
padding-top: 5px;
|
|
181
|
-
padding-bottom: 5px;
|
|
182
|
-
color: rgba(255, 255, 255, 0.3);
|
|
183
|
-
}
|
|
184
|
-
.json-formatter-custom.json-formatter-row .json-formatter-constructor-name,
|
|
185
|
-
.json-formatter-custom.json-formatter-row .json-formatter-constructor-name + span > .json-formatter-number,
|
|
186
|
-
.json-formatter-custom.json-formatter-row .json-formatter-bracket {
|
|
187
|
-
color: rgba(255, 255, 255, 0.2);
|
|
188
|
-
padding: 5px 0;
|
|
189
|
-
}
|
|
190
|
-
.json-formatter-custom.json-formatter-row .json-formatter-toggler-link {
|
|
191
|
-
cursor: pointer;
|
|
192
|
-
display: flex;
|
|
193
|
-
}
|
|
194
|
-
.json-formatter-custom.json-formatter-row .json-formatter-toggler {
|
|
195
|
-
line-height: 1.2rem;
|
|
196
|
-
font-size: 0.7rem;
|
|
197
|
-
vertical-align: middle;
|
|
198
|
-
opacity: 0.2;
|
|
199
|
-
color: #fff;
|
|
200
|
-
cursor: pointer;
|
|
201
|
-
padding-right: 7px;
|
|
202
|
-
padding-top: 5px;
|
|
203
|
-
}
|
|
204
|
-
.json-formatter-custom.json-formatter-row .json-formatter-toggler:after {
|
|
205
|
-
display: inline-block;
|
|
206
|
-
transition: transform 100ms ease-in;
|
|
207
|
-
content: "❯";
|
|
208
|
-
}
|
|
209
|
-
.json-formatter-custom.json-formatter-row > a > .json-formatter-preview-text {
|
|
210
|
-
opacity: 0;
|
|
211
|
-
transition: opacity 0.15s ease-in;
|
|
212
|
-
font-style: italic;
|
|
213
|
-
color: #7ba7ff;
|
|
214
|
-
}
|
|
215
|
-
.json-formatter-custom.json-formatter-row:hover > a > .json-formatter-preview-text {
|
|
216
|
-
opacity: 0.6;
|
|
217
|
-
}
|
|
218
|
-
.json-formatter-custom.json-formatter-row.json-formatter-open > a > .json-formatter-toggler {
|
|
219
|
-
opacity: 1;
|
|
220
|
-
}
|
|
221
|
-
.json-formatter-custom.json-formatter-row.json-formatter-open > .json-formatter-toggler-link .json-formatter-toggler:after {
|
|
222
|
-
transform: rotate(90deg);
|
|
223
|
-
}
|
|
224
|
-
.json-formatter-custom.json-formatter-row.json-formatter-open > .json-formatter-children:after {
|
|
225
|
-
display: inline-block;
|
|
226
|
-
}
|
|
227
|
-
.json-formatter-custom.json-formatter-row.json-formatter-open > a > .json-formatter-preview-text {
|
|
228
|
-
display: none;
|
|
229
|
-
}
|
|
230
|
-
.json-formatter-custom.json-formatter-row.json-formatter-open.json-formatter-empty:after {
|
|
231
|
-
display: block;
|
|
232
|
-
}
|
|
233
|
-
.json-formatter-custom.json-formatter-row.json-formatter-open > a > .json-formatter-value .json-formatter-preview {
|
|
234
|
-
display: none;
|
|
235
|
-
}
|
|
236
|
-
.json-formatter-custom.json-formatter-row button.json-formatter-copy {
|
|
237
|
-
padding: 0;
|
|
238
|
-
border: none;
|
|
239
|
-
background-color: transparent;
|
|
240
|
-
padding-right: 10px;
|
|
241
|
-
font-size: 15px;
|
|
242
|
-
color: #fff;
|
|
243
|
-
vertical-align: top;
|
|
244
|
-
cursor: pointer;
|
|
245
|
-
opacity: 0;
|
|
246
|
-
max-height: 28px;
|
|
247
|
-
}
|
|
248
|
-
.json-formatter-custom.json-formatter-row .json-formatter-toggler-link:hover button.json-formatter-copy {
|
|
249
|
-
opacity: 0.2;
|
|
250
|
-
}
|
|
251
|
-
.json-formatter-custom.json-formatter-row .json-formatter-toggler-link button.json-formatter-copy:hover {
|
|
252
|
-
opacity: 1;
|
|
253
|
-
}
|
|
254
|
-
.json-formatter-custom.json-formatter-row .json-formatter-row span:hover button.json-formatter-copy {
|
|
255
|
-
opacity: 0.2;
|
|
256
|
-
}
|
|
257
|
-
.json-formatter-custom.json-formatter-row .json-formatter-row span button.json-formatter-copy:hover {
|
|
258
|
-
opacity: 1;
|
|
259
|
-
}
|