@n1k1t/mock-server 0.1.31 → 0.1.33

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 (53) hide show
  1. package/.husky/pre-commit +1 -0
  2. package/.nvmrc +1 -0
  3. package/lib/package.json +10 -4
  4. package/lib/src/server/endpoints/history.get-list.endpoint.d.ts +2 -2
  5. package/lib/src/server/endpoints/history.get-list.endpoint.js +1 -1
  6. package/lib/src/server/endpoints/history.get-list.endpoint.js.map +1 -1
  7. package/lib/src/server/index.d.ts +1 -1
  8. package/lib/src/server/models/context/index.d.ts.map +1 -0
  9. package/lib/src/server/models/{request-context → context}/index.js +4 -7
  10. package/lib/src/server/models/context/index.js.map +1 -0
  11. package/lib/src/server/models/context/snapshot.d.ts.map +1 -0
  12. package/lib/src/server/models/context/snapshot.js.map +1 -0
  13. package/lib/src/server/models/context/types.d.ts.map +1 -0
  14. package/lib/src/server/models/context/types.js.map +1 -0
  15. package/lib/src/server/models/context/utils.d.ts.map +1 -0
  16. package/lib/src/server/models/context/utils.js.map +1 -0
  17. package/lib/src/server/models/executor/errors/index.d.ts +1 -1
  18. package/lib/src/server/models/executor/errors/index.d.ts.map +1 -1
  19. package/lib/src/server/models/executor/index.d.ts +1 -1
  20. package/lib/src/server/models/executor/index.d.ts.map +1 -1
  21. package/lib/src/server/models/executor/index.js +8 -8
  22. package/lib/src/server/models/executor/index.js.map +1 -1
  23. package/lib/src/server/models/history/model.d.ts +6 -6
  24. package/lib/src/server/models/history/model.d.ts.map +1 -1
  25. package/lib/src/server/models/history/model.js +13 -15
  26. package/lib/src/server/models/history/model.js.map +1 -1
  27. package/lib/src/server/models/index.d.ts +1 -1
  28. package/lib/src/server/models/index.d.ts.map +1 -1
  29. package/lib/src/server/models/index.js +1 -1
  30. package/lib/src/server/models/index.js.map +1 -1
  31. package/lib/src/server/models/reply.d.ts +1 -1
  32. package/lib/src/server/models/reply.d.ts.map +1 -1
  33. package/lib/src/server/transports/http/executor.d.ts +1 -1
  34. package/lib/tsconfig.tsbuildinfo +1 -1
  35. package/package.json +10 -4
  36. package/public/index.html +0 -23
  37. package/public/scripts/main.js +1286 -591
  38. package/public/styles/main.css +473 -383
  39. package/lib/src/server/models/request-context/index.d.ts.map +0 -1
  40. package/lib/src/server/models/request-context/index.js.map +0 -1
  41. package/lib/src/server/models/request-context/snapshot.d.ts.map +0 -1
  42. package/lib/src/server/models/request-context/snapshot.js.map +0 -1
  43. package/lib/src/server/models/request-context/types.d.ts.map +0 -1
  44. package/lib/src/server/models/request-context/types.js.map +0 -1
  45. package/lib/src/server/models/request-context/utils.d.ts.map +0 -1
  46. package/lib/src/server/models/request-context/utils.js.map +0 -1
  47. /package/lib/src/server/models/{request-context → context}/index.d.ts +0 -0
  48. /package/lib/src/server/models/{request-context → context}/snapshot.d.ts +0 -0
  49. /package/lib/src/server/models/{request-context → context}/snapshot.js +0 -0
  50. /package/lib/src/server/models/{request-context → context}/types.d.ts +0 -0
  51. /package/lib/src/server/models/{request-context → context}/types.js +0 -0
  52. /package/lib/src/server/models/{request-context → context}/utils.d.ts +0 -0
  53. /package/lib/src/server/models/{request-context → context}/utils.js +0 -0
@@ -1,15 +1,20 @@
1
1
  @charset "UTF-8";
2
- @keyframes pending {
3
- 0% {
4
- content: "\f251";
5
- }
6
- 33% {
7
- content: "\f252";
8
- }
9
- 66% {
10
- content: "\f253";
11
- }
2
+ .hidden {
3
+ visibility: hidden;
4
+ display: none !important;
5
+ }
6
+
7
+ .selected:after {
8
+ content: "";
9
+ width: 100%;
10
+ height: 100%;
11
+ position: absolute;
12
+ left: 0;
13
+ top: 0;
14
+ border-radius: inherit;
15
+ box-shadow: inset 0 0 0 3px #48d1cc;
12
16
  }
17
+
13
18
  html {
14
19
  background-color: #1e1e1e;
15
20
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
@@ -80,41 +85,6 @@ div.container {
80
85
  background-color: rgba(255, 255, 255, 0.05);
81
86
  }
82
87
 
83
- div.empty {
84
- display: flex;
85
- justify-content: center;
86
- align-items: center;
87
- margin-top: 50px;
88
- }
89
- div.empty i {
90
- color: #ffd37b;
91
- font-size: 50px;
92
- margin-right: 30px;
93
- }
94
- div.empty i:before {
95
- animation: pending 1s infinite;
96
- }
97
- div.empty p {
98
- color: rgba(255, 255, 255, 0.3);
99
- font-size: 25px;
100
- font-weight: 300;
101
- }
102
-
103
- div.curtain {
104
- cursor: pointer;
105
- position: fixed;
106
- overflow-y: auto;
107
- top: 0;
108
- left: 0;
109
- height: calc(100% - 50px);
110
- width: 100%;
111
- padding-top: 50px;
112
- background-color: rgba(30, 30, 30, 0.95);
113
- }
114
- div.curtain > * {
115
- cursor: auto;
116
- }
117
-
118
88
  div.input {
119
89
  display: inline-block;
120
90
  position: relative;
@@ -167,104 +137,293 @@ div.input.required:before {
167
137
  margin-left: 12px;
168
138
  }
169
139
 
170
- .hidden {
171
- visibility: hidden;
172
- display: none !important;
173
- }
174
-
175
- .selected:after {
176
- content: "";
177
- width: 100%;
178
- height: 100%;
179
- position: absolute;
180
- left: 0;
181
- top: 0;
140
+ div.history div.meta, div.expectation div.meta {
182
141
  border-radius: inherit;
183
- box-shadow: inset 0 0 0 3px #48d1cc;
184
- }
185
-
186
- body > header {
187
142
  display: flex;
188
- justify-content: center;
143
+ flex-wrap: wrap;
144
+ }
145
+ div.history div.meta div.segment, div.expectation div.meta div.segment {
146
+ display: inline-flex;
147
+ flex-wrap: wrap;
148
+ margin-bottom: 5px;
149
+ }
150
+ div.history div.meta span, div.history div.meta button, div.expectation div.meta span, div.expectation div.meta button {
151
+ padding: 7px 15px;
152
+ display: inline-block;
153
+ background-color: rgba(255, 255, 255, 0.05);
154
+ border-radius: 5px;
155
+ margin-right: 5px;
156
+ margin-top: 0;
157
+ margin-bottom: 0;
158
+ font-size: 14px;
159
+ }
160
+ div.history div.meta button, div.expectation div.meta button {
161
+ min-width: 50px;
162
+ margin-left: 0;
163
+ }
164
+ div.history div.meta button i, div.expectation div.meta button i {
165
+ float: none;
166
+ margin-right: 0;
167
+ }
168
+ div.history div.meta b, div.expectation div.meta b {
169
+ font-weight: normal;
189
170
  position: relative;
171
+ display: inline-block;
190
172
  }
191
- body > header button {
192
- text-decoration: none;
173
+ div.history div.meta b:after, div.expectation div.meta b:after {
174
+ content: "";
175
+ display: inline-block;
176
+ position: relative;
177
+ height: 14px;
178
+ width: 1px;
179
+ background-color: rgba(255, 255, 255, 0.1);
180
+ top: 2px;
181
+ margin-left: 10px;
182
+ margin-right: 5px;
183
+ }
184
+ div.history div.meta span.arrow, div.expectation div.meta span.arrow {
185
+ background: transparent;
186
+ color: rgba(255, 255, 255, 0.3);
187
+ padding: 8px 10px;
188
+ padding-left: 12px;
189
+ margin-right: 5px;
190
+ }
191
+ div.history div.meta button.activity i.fa-plug, div.expectation div.meta button.activity i.fa-plug {
192
+ color: #a7ff7b;
193
+ }
194
+ div.history div.meta button.activity i.fa-power-off, div.expectation div.meta button.activity i.fa-power-off {
195
+ color: #ff7b7b;
196
+ }
197
+ div.history div.meta span.name, div.expectation div.meta span.name {
198
+ font-size: 12px;
199
+ }
200
+ div.history div.meta span.name b, div.expectation div.meta span.name b {
201
+ color: #ffd37b;
202
+ }
203
+ div.history div.meta span.status, div.expectation div.meta span.status {
204
+ color: rgba(255, 255, 255, 0.4);
205
+ font-size: 12px;
206
+ }
207
+ div.history div.meta span.status b, div.expectation div.meta span.status b {
208
+ min-width: 35px;
209
+ text-align: center;
193
210
  font-size: 14px;
211
+ }
212
+ div.history div.meta span.status.red b, div.expectation div.meta span.status.red b {
213
+ color: #ff7b7b;
214
+ }
215
+ div.history div.meta span.status.green b, div.expectation div.meta span.status.green b {
216
+ color: #a7ff7b;
217
+ }
218
+ div.history div.meta span.transport, div.expectation div.meta span.transport {
219
+ color: rgba(255, 255, 255, 0.4);
220
+ font-size: 12px;
221
+ }
222
+ div.history div.meta span.method, div.expectation div.meta span.method {
223
+ background-color: #ffd37b;
224
+ color: #1e1e1e;
225
+ font-weight: bold;
226
+ }
227
+ div.history div.meta span.path, div.expectation div.meta span.path {
228
+ background-color: #ffa77b;
229
+ color: #1e1e1e;
230
+ }
231
+ div.history div.meta span.time, div.expectation div.meta span.time {
232
+ width: 60px;
233
+ text-align: center;
234
+ font-size: 12px;
235
+ }
236
+ div.history div.meta span.calls-count, div.history div.meta span.name, div.history div.meta span.time, div.expectation div.meta span.calls-count, div.expectation div.meta span.name, div.expectation div.meta span.time {
194
237
  color: rgba(255, 255, 255, 0.5);
195
- vertical-align: top;
196
238
  }
197
- body > header button i {
239
+ div.history div.meta span.calls-count.active, div.history div.meta span.name.active, div.history div.meta span.time.active, div.expectation div.meta span.calls-count.active, div.expectation div.meta span.name.active, div.expectation div.meta span.time.active {
240
+ color: #fff;
241
+ }
242
+ div.history div.meta span.calls-count i, div.history div.meta span.name i, div.history div.meta span.time i, div.expectation div.meta span.calls-count i, div.expectation div.meta span.name i, div.expectation div.meta span.time i {
243
+ opacity: 0.2;
198
244
  margin-right: 10px;
199
245
  }
200
- body > header button.icon-only i {
246
+ div.history div.meta span.calls-count, div.expectation div.meta span.calls-count {
247
+ min-width: 38px;
248
+ }
249
+ div.history div.meta span.pending, div.expectation div.meta span.pending {
250
+ min-width: 35px;
251
+ text-align: center;
252
+ }
253
+ div.history div.meta span.pending i:before, div.expectation div.meta span.pending i:before {
254
+ animation: pending 1s infinite;
255
+ }
256
+ div.history div.meta span.separator, div.history div.meta span.label, div.expectation div.meta span.separator, div.expectation div.meta span.label {
257
+ padding: 0 5px;
258
+ color: rgba(0, 0, 0, 0.3);
259
+ font-size: 12px;
260
+ margin-right: 0;
261
+ margin-bottom: 0;
262
+ }
263
+ div.history div.meta span.label, div.expectation div.meta span.label {
264
+ padding-left: 0;
265
+ }
266
+ div.history div.meta span.handled-with, div.expectation div.meta span.handled-with {
267
+ background-color: transparent;
268
+ color: rgba(255, 255, 255, 0.3);
201
269
  margin-right: 0;
202
- font-size: 16px;
270
+ padding: 7px 5px;
271
+ }
272
+ div.history div.meta span.handled-with span.handler-name, div.expectation div.meta span.handled-with span.handler-name {
273
+ margin: 0;
274
+ padding: 0;
275
+ background-color: transparent;
276
+ color: #ffd37b;
277
+ }
278
+ div.history div.meta span.handled-with span.handler-name.red, div.expectation div.meta span.handled-with span.handler-name.red {
279
+ color: #ff7b7b;
280
+ }
281
+ div.history div.meta span.error, div.expectation div.meta span.error {
282
+ background-color: #ff4848;
283
+ }
284
+ div.history div.meta span.forward, div.expectation div.meta span.forward {
285
+ background-color: #7b7bff;
286
+ font-size: 12px;
287
+ }
288
+ div.history div.meta span.seed, div.expectation div.meta span.seed {
289
+ background-color: #a7ff7b;
290
+ color: #1e1e1e;
291
+ }
292
+ div.history div.meta span.cache, div.expectation div.meta span.cache {
293
+ background-color: #e1e1ff;
294
+ color: #1e1e1e;
295
+ }
296
+ div.history:hover div.meta, div.expectation:hover div.meta {
297
+ cursor: pointer;
298
+ }
299
+ div.history:hover div.meta span.time, div.history:hover div.meta span.transport, div.history:hover div.meta span.status, div.history:hover div.meta span.name, div.expectation:hover div.meta span.time, div.expectation:hover div.meta span.transport, div.expectation:hover div.meta span.status, div.expectation:hover div.meta span.name {
300
+ background-color: rgba(255, 255, 255, 0.15);
301
+ }
302
+ div.history.expectation div.meta span.status b:after, div.expectation.expectation div.meta span.status b:after {
303
+ display: none;
304
+ }
305
+ @media screen and (max-width: 1000px) {
306
+ div.history div.meta, div.expectation div.meta {
307
+ background-color: #262626;
308
+ padding: 5px;
309
+ padding-bottom: 0;
310
+ margin-bottom: 5px;
311
+ }
312
+ div.history div.meta div.segment:first-child, div.expectation div.meta div.segment:first-child {
313
+ width: 100%;
314
+ }
315
+ div.history div.meta span.arrow:nth-child(1), div.history div.meta span.arrow:nth-child(2), div.expectation div.meta span.arrow:nth-child(1), div.expectation div.meta span.arrow:nth-child(2) {
316
+ display: none;
317
+ }
318
+ div.history div.meta span, div.history div.meta button, div.expectation div.meta span, div.expectation div.meta button {
319
+ background-color: rgba(30, 30, 30, 0.5);
320
+ }
321
+ div.history:hover div.meta, div.expectation:hover div.meta {
322
+ background-color: #2b2b2b;
323
+ }
324
+ }
325
+
326
+ section#settings div.container p {
327
+ color: rgba(255, 255, 255, 0.4);
328
+ margin-left: 10px;
329
+ margin-top: 0;
330
+ }
331
+ section#settings div.container p i {
332
+ margin-right: 10px;
203
333
  }
204
- body > header button.checked {
334
+ section#settings div.container p span {
335
+ color: rgba(255, 255, 255, 0.2);
336
+ }
337
+ section#settings div.container div.panel button.checked {
205
338
  background-color: #ffd37b;
206
339
  color: #1e1e1e;
207
340
  }
208
- body > header button:not(.checked) {
209
- color: rgba(255, 255, 255, 0.5);
210
- background-color: rgba(255, 255, 255, 0.05);
341
+ section#settings div.container#groups-filter button.checked {
342
+ pointer-events: all;
211
343
  }
212
- body > header hr {
213
- position: relative;
214
- width: 1px;
215
- height: 25px;
216
- border: none;
217
- background-color: #ddd;
218
- margin: 10px 10px;
344
+
345
+ @keyframes rotating {
346
+ 0% {
347
+ transform: scaleX(1);
348
+ }
349
+ 50% {
350
+ transform: scaleX(-1);
351
+ }
219
352
  }
220
- body > header div.buttons-container#container-select button {
221
- padding: 10px 20px;
353
+ section#analytics div.content {
354
+ display: flex;
355
+ flex-direction: column;
356
+ align-items: center;
357
+ justify-content: center;
358
+ width: 300px;
359
+ margin: auto;
360
+ }
361
+ section#analytics div.content i {
362
+ font-size: 100px;
363
+ color: #ffd37b;
364
+ animation: rotating 2s infinite;
365
+ }
366
+ section#analytics div.content p {
367
+ color: rgba(255, 255, 255, 0.4);
222
368
  }
223
369
 
224
- .json-formatter-custom.json-formatter-row {
370
+ div.viewer {
371
+ background-color: #262626;
372
+ margin-bottom: 20px;
373
+ margin-top: 0;
374
+ padding: 10px;
375
+ overflow: hidden;
376
+ }
377
+ div.viewer.hidden {
378
+ display: none;
379
+ }
380
+ div.viewer:not(:last-child) {
381
+ margin-bottom: 20px;
382
+ }
383
+ div.viewer .json-formatter-custom.json-formatter-row {
225
384
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
226
385
  font-size: 14px;
227
386
  }
228
- .json-formatter-custom.json-formatter-row span {
387
+ div.viewer .json-formatter-custom.json-formatter-row span {
229
388
  position: relative;
230
389
  display: inline-block;
231
390
  }
232
- .json-formatter-custom.json-formatter-row:not(:last-child) {
391
+ div.viewer .json-formatter-custom.json-formatter-row:not(:last-child) {
233
392
  margin-bottom: 2px;
234
393
  }
235
- .json-formatter-custom.json-formatter-row > span {
394
+ div.viewer .json-formatter-custom.json-formatter-row > span {
236
395
  width: 100%;
237
396
  overflow-y: auto;
238
397
  border-radius: 5px;
239
398
  }
240
- .json-formatter-custom.json-formatter-row > span > span {
399
+ div.viewer .json-formatter-custom.json-formatter-row > span > span {
241
400
  padding: 5px 0;
242
401
  }
243
- .json-formatter-custom.json-formatter-row, .json-formatter-custom.json-formatter-row a, .json-formatter-custom.json-formatter-row a:hover {
402
+ div.viewer .json-formatter-custom.json-formatter-row, div.viewer .json-formatter-custom.json-formatter-row a, div.viewer .json-formatter-custom.json-formatter-row a:hover {
244
403
  color: rgba(255, 255, 255, 0.2);
245
404
  text-decoration: none;
246
405
  font-weight: 300;
247
406
  }
248
- .json-formatter-custom.json-formatter-row .json-formatter-row {
407
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-row {
249
408
  margin-left: 20px;
250
409
  }
251
- .json-formatter-custom.json-formatter-row .json-formatter-row > span {
410
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-row > span {
252
411
  display: flex;
253
412
  }
254
- .json-formatter-custom.json-formatter-row .json-formatter-children.json-formatter-empty {
413
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-children.json-formatter-empty {
255
414
  opacity: 0.5;
256
415
  margin-left: 1rem;
257
416
  }
258
- .json-formatter-custom.json-formatter-row .json-formatter-children.json-formatter-empty:after {
417
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-children.json-formatter-empty:after {
259
418
  display: none;
260
419
  }
261
- .json-formatter-custom.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-object:after {
420
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-object:after {
262
421
  content: "No properties";
263
422
  }
264
- .json-formatter-custom.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-array:after {
423
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-children.json-formatter-empty.json-formatter-array:after {
265
424
  content: "[]";
266
425
  }
267
- .json-formatter-custom.json-formatter-row .json-formatter-string, .json-formatter-custom.json-formatter-row .json-formatter-stringifiable {
426
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-string, div.viewer .json-formatter-custom.json-formatter-row .json-formatter-stringifiable {
268
427
  display: inline-block;
269
428
  color: white;
270
429
  white-space: normal;
@@ -274,30 +433,30 @@ body > header div.buttons-container#container-select button {
274
433
  padding: 5px 10px;
275
434
  min-height: 20px;
276
435
  }
277
- .json-formatter-custom.json-formatter-row .json-formatter-number {
436
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-number {
278
437
  color: #7bff7b;
279
438
  }
280
- .json-formatter-custom.json-formatter-row .json-formatter-boolean {
439
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-boolean {
281
440
  color: #ff7b7b;
282
441
  }
283
- .json-formatter-custom.json-formatter-row .json-formatter-null {
442
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-null {
284
443
  color: #EEC97D;
285
444
  }
286
- .json-formatter-custom.json-formatter-row .json-formatter-undefined {
445
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-undefined {
287
446
  color: rgb(239, 143, 190);
288
447
  }
289
- .json-formatter-custom.json-formatter-row .json-formatter-function {
448
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-function {
290
449
  color: #FF20ED;
291
450
  }
292
- .json-formatter-custom.json-formatter-row .json-formatter-date {
451
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-date {
293
452
  background-color: fade(rgba(255, 255, 255, 0.2), 5%);
294
453
  }
295
- .json-formatter-custom.json-formatter-row .json-formatter-url {
454
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-url {
296
455
  text-decoration: underline;
297
456
  color: #027BFF;
298
457
  cursor: pointer;
299
458
  }
300
- .json-formatter-custom.json-formatter-row .json-formatter-key {
459
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-key {
301
460
  color: #7ba7ff;
302
461
  padding: 5px;
303
462
  padding-right: 10px;
@@ -307,113 +466,113 @@ body > header div.buttons-container#container-select button {
307
466
  margin-bottom: 0;
308
467
  min-height: 20px;
309
468
  }
310
- .json-formatter-custom.json-formatter-row .json-formatter-key.level-2 {
469
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-key.level-2 {
311
470
  color: #7ba7ff;
312
471
  }
313
- .json-formatter-custom.json-formatter-row .json-formatter-key.level-3 {
472
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-key.level-3 {
314
473
  color: #7b7bff;
315
474
  }
316
- .json-formatter-custom.json-formatter-row .json-formatter-key.level-4 {
475
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-key.level-4 {
317
476
  color: #a77bff;
318
477
  }
319
- .json-formatter-custom.json-formatter-row .json-formatter-key.level-5 {
478
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-key.level-5 {
320
479
  color: #d37bff;
321
480
  }
322
- .json-formatter-custom.json-formatter-row .json-formatter-key.level-6 {
481
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-key.level-6 {
323
482
  color: #ff7bff;
324
483
  }
325
- .json-formatter-custom.json-formatter-row .json-formatter-key.level-7 {
484
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-key.level-7 {
326
485
  color: #ff7bd3;
327
486
  }
328
- .json-formatter-custom.json-formatter-row .json-formatter-key.level-8 {
487
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-key.level-8 {
329
488
  color: #ff7ba7;
330
489
  }
331
- .json-formatter-custom.json-formatter-row .json-formatter-key.level-9 {
490
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-key.level-9 {
332
491
  color: #ff7b7b;
333
492
  }
334
- .json-formatter-custom.json-formatter-row .json-formatter-key.level-10 {
493
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-key.level-10 {
335
494
  color: #ffa77b;
336
495
  }
337
- .json-formatter-custom.json-formatter-row .json-formatter-key.level-11 {
496
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-key.level-11 {
338
497
  color: #ffd37b;
339
498
  }
340
- .json-formatter-custom.json-formatter-row .json-formatter-key.level-12 {
499
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-key.level-12 {
341
500
  color: #ffff7b;
342
501
  }
343
- .json-formatter-custom.json-formatter-row .json-formatter-key.level-13 {
502
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-key.level-13 {
344
503
  color: #d3ff7b;
345
504
  }
346
- .json-formatter-custom.json-formatter-row .json-formatter-key.level-14 {
505
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-key.level-14 {
347
506
  color: #a7ff7b;
348
507
  }
349
- .json-formatter-custom.json-formatter-row .json-formatter-key.level-15 {
508
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-key.level-15 {
350
509
  color: #7bff7b;
351
510
  }
352
- .json-formatter-custom.json-formatter-row .json-formatter-key.level-16 {
511
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-key.level-16 {
353
512
  color: #7bffa7;
354
513
  }
355
- .json-formatter-custom.json-formatter-row .json-formatter-key.level-17 {
514
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-key.level-17 {
356
515
  color: #7bffd3;
357
516
  }
358
- .json-formatter-custom.json-formatter-row .json-formatter-key.level-18 {
517
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-key.level-18 {
359
518
  color: #7bffff;
360
519
  }
361
- .json-formatter-custom.json-formatter-row .json-formatter-key.level-19 {
520
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-key.level-19 {
362
521
  color: #7bd3ff;
363
522
  }
364
- .json-formatter-custom.json-formatter-row .json-formatter-key.level-20 {
523
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-key.level-20 {
365
524
  color: #7ba7ff;
366
525
  }
367
- .json-formatter-custom.json-formatter-row .json-formatter-key.level-21 {
526
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-key.level-21 {
368
527
  color: #7b7bff;
369
528
  }
370
- .json-formatter-custom.json-formatter-row .json-formatter-key.level-22 {
529
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-key.level-22 {
371
530
  color: #a77bff;
372
531
  }
373
- .json-formatter-custom.json-formatter-row .json-formatter-key.level-23 {
532
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-key.level-23 {
374
533
  color: #d37bff;
375
534
  }
376
- .json-formatter-custom.json-formatter-row .json-formatter-key.level-24 {
535
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-key.level-24 {
377
536
  color: #ff7bff;
378
537
  }
379
- .json-formatter-custom.json-formatter-row .json-formatter-key.level-25 {
538
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-key.level-25 {
380
539
  color: #ff7bd3;
381
540
  }
382
- .json-formatter-custom.json-formatter-row .json-formatter-key.level-26 {
541
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-key.level-26 {
383
542
  color: #ff7ba7;
384
543
  }
385
- .json-formatter-custom.json-formatter-row .json-formatter-key.level-27 {
544
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-key.level-27 {
386
545
  color: #ff7b7b;
387
546
  }
388
- .json-formatter-custom.json-formatter-row .json-formatter-key.level-28 {
547
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-key.level-28 {
389
548
  color: #ffa77b;
390
549
  }
391
- .json-formatter-custom.json-formatter-row .json-formatter-key.level-29 {
550
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-key.level-29 {
392
551
  color: #ffd37b;
393
552
  }
394
- .json-formatter-custom.json-formatter-row .json-formatter-value {
553
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-value {
395
554
  padding-right: 10px;
396
555
  }
397
- .json-formatter-custom.json-formatter-row .json-formatter-value span {
556
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-value span {
398
557
  display: flex;
399
558
  }
400
- .json-formatter-custom.json-formatter-row .json-formatter-preview {
559
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-preview {
401
560
  padding-left: 10px;
402
561
  padding-top: 5px;
403
562
  padding-bottom: 5px;
404
563
  color: rgba(255, 255, 255, 0.3);
405
564
  }
406
- .json-formatter-custom.json-formatter-row .json-formatter-constructor-name,
407
- .json-formatter-custom.json-formatter-row .json-formatter-constructor-name + span > .json-formatter-number,
408
- .json-formatter-custom.json-formatter-row .json-formatter-bracket {
565
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-constructor-name,
566
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-constructor-name + span > .json-formatter-number,
567
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-bracket {
409
568
  color: rgba(255, 255, 255, 0.2);
410
569
  padding: 5px 0;
411
570
  }
412
- .json-formatter-custom.json-formatter-row .json-formatter-toggler-link {
571
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-toggler-link {
413
572
  cursor: pointer;
414
573
  display: flex;
415
574
  }
416
- .json-formatter-custom.json-formatter-row .json-formatter-toggler {
575
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-toggler {
417
576
  line-height: 1.2rem;
418
577
  font-size: 0.7rem;
419
578
  vertical-align: middle;
@@ -423,39 +582,39 @@ body > header div.buttons-container#container-select button {
423
582
  padding-right: 7px;
424
583
  padding-top: 5px;
425
584
  }
426
- .json-formatter-custom.json-formatter-row .json-formatter-toggler:after {
585
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-toggler:after {
427
586
  display: inline-block;
428
587
  transition: transform 100ms ease-in;
429
588
  content: "❯";
430
589
  }
431
- .json-formatter-custom.json-formatter-row > a > .json-formatter-preview-text {
590
+ div.viewer .json-formatter-custom.json-formatter-row > a > .json-formatter-preview-text {
432
591
  opacity: 0;
433
592
  transition: opacity 0.15s ease-in;
434
593
  font-style: italic;
435
594
  color: #7ba7ff;
436
595
  }
437
- .json-formatter-custom.json-formatter-row:hover > a > .json-formatter-preview-text {
596
+ div.viewer .json-formatter-custom.json-formatter-row:hover > a > .json-formatter-preview-text {
438
597
  opacity: 0.6;
439
598
  }
440
- .json-formatter-custom.json-formatter-row.json-formatter-open > a > .json-formatter-toggler {
599
+ div.viewer .json-formatter-custom.json-formatter-row.json-formatter-open > a > .json-formatter-toggler {
441
600
  opacity: 1;
442
601
  }
443
- .json-formatter-custom.json-formatter-row.json-formatter-open > .json-formatter-toggler-link .json-formatter-toggler:after {
602
+ div.viewer .json-formatter-custom.json-formatter-row.json-formatter-open > .json-formatter-toggler-link .json-formatter-toggler:after {
444
603
  transform: rotate(90deg);
445
604
  }
446
- .json-formatter-custom.json-formatter-row.json-formatter-open > .json-formatter-children:after {
605
+ div.viewer .json-formatter-custom.json-formatter-row.json-formatter-open > .json-formatter-children:after {
447
606
  display: inline-block;
448
607
  }
449
- .json-formatter-custom.json-formatter-row.json-formatter-open > a > .json-formatter-preview-text {
608
+ div.viewer .json-formatter-custom.json-formatter-row.json-formatter-open > a > .json-formatter-preview-text {
450
609
  display: none;
451
610
  }
452
- .json-formatter-custom.json-formatter-row.json-formatter-open.json-formatter-empty:after {
611
+ div.viewer .json-formatter-custom.json-formatter-row.json-formatter-open.json-formatter-empty:after {
453
612
  display: block;
454
613
  }
455
- .json-formatter-custom.json-formatter-row.json-formatter-open > a > .json-formatter-value .json-formatter-preview {
614
+ div.viewer .json-formatter-custom.json-formatter-row.json-formatter-open > a > .json-formatter-value .json-formatter-preview {
456
615
  display: none;
457
616
  }
458
- .json-formatter-custom.json-formatter-row button.json-formatter-copy {
617
+ div.viewer .json-formatter-custom.json-formatter-row button.json-formatter-copy {
459
618
  padding: 0;
460
619
  border: none;
461
620
  background-color: transparent;
@@ -467,39 +626,115 @@ body > header div.buttons-container#container-select button {
467
626
  opacity: 0;
468
627
  max-height: 28px;
469
628
  }
470
- .json-formatter-custom.json-formatter-row .json-formatter-toggler-link:hover button.json-formatter-copy {
629
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-toggler-link:hover button.json-formatter-copy {
471
630
  opacity: 0.2;
472
631
  }
473
- .json-formatter-custom.json-formatter-row .json-formatter-toggler-link button.json-formatter-copy:hover {
632
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-toggler-link button.json-formatter-copy:hover {
474
633
  opacity: 1;
475
634
  }
476
- .json-formatter-custom.json-formatter-row .json-formatter-row span:hover button.json-formatter-copy {
635
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-row span:hover button.json-formatter-copy {
477
636
  opacity: 0.2;
478
637
  }
479
- .json-formatter-custom.json-formatter-row .json-formatter-row span button.json-formatter-copy:hover {
638
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-row span button.json-formatter-copy:hover {
480
639
  opacity: 1;
481
640
  }
482
- .json-formatter-custom.json-formatter-row .json-formatter-string {
641
+ div.viewer .json-formatter-custom.json-formatter-row .json-formatter-string {
483
642
  max-height: 60px;
484
643
  }
485
644
 
486
- section#settings div.container p {
487
- color: rgba(255, 255, 255, 0.4);
488
- margin-left: 10px;
489
- margin-top: 0;
490
- }
491
- section#settings div.container p i {
492
- margin-right: 10px;
493
- }
494
- section#settings div.container p span {
495
- color: rgba(255, 255, 255, 0.2);
496
- }
497
- section#settings div.container div.panel button.checked {
645
+ div.search {
646
+ display: flex;
647
+ justify-content: space-around;
648
+ align-items: center;
649
+ border-radius: 10px;
650
+ width: 410px;
651
+ padding: 2px 10px;
652
+ margin: auto;
653
+ margin-bottom: 50px;
654
+ background-color: rgba(255, 255, 255, 0.05);
655
+ opacity: 0.4;
656
+ transition-duration: 0.1s;
657
+ }
658
+ div.search > i {
659
+ width: 20px;
660
+ margin: 0 15px;
661
+ }
662
+ div.search:hover {
663
+ opacity: 1;
664
+ }
665
+ div.search button {
666
+ display: inline-block !important;
667
+ background-color: transparent;
668
+ font-size: 20px;
669
+ padding: 10px 15px;
670
+ margin: 0;
671
+ color: rgba(255, 255, 255, 0.2);
672
+ }
673
+ div.search button i {
674
+ margin: 0;
675
+ }
676
+ div.search button:hover {
677
+ color: #fff;
678
+ }
679
+ div.search div.input {
680
+ background-color: transparent;
681
+ width: 380px;
682
+ }
683
+ div.search div.input:before {
684
+ text-align: center;
685
+ }
686
+
687
+ @keyframes popup {
688
+ 0% {
689
+ opacity: 0;
690
+ transform: translateY(20px);
691
+ }
692
+ 5% {
693
+ opacity: 1;
694
+ transform: none;
695
+ }
696
+ 95% {
697
+ opacity: 1;
698
+ transform: none;
699
+ }
700
+ 100% {
701
+ transform: translateY(-10px);
702
+ opacity: 0;
703
+ }
704
+ }
705
+ div.popups {
706
+ position: fixed;
707
+ bottom: 20px;
708
+ right: 20px;
709
+ z-index: 100;
710
+ }
711
+ div.popups div.popup-message {
712
+ display: flex;
498
713
  background-color: #ffd37b;
499
714
  color: #1e1e1e;
715
+ padding: 10px 15px;
716
+ width: 240px;
717
+ border-radius: 10px;
718
+ font-size: 14px;
719
+ text-align: center;
720
+ align-items: center;
721
+ margin-top: 5px;
722
+ box-shadow: 0 5px 10px 10px rgba(0, 0, 0, 0.1);
723
+ animation: popup 3s ease-in-out forwards;
500
724
  }
501
- section#settings div.container#groups-filter button.checked {
502
- pointer-events: all;
725
+ div.popups div.popup-message.error {
726
+ background-color: #ff7b7b;
727
+ }
728
+ div.popups div.popup-message.warning {
729
+ background-color: #e7ff7b;
730
+ }
731
+ div.popups div.popup-message span {
732
+ flex-basis: 90%;
733
+ }
734
+ div.popups div.popup-message i {
735
+ font-size: 25px;
736
+ margin-right: 10px;
737
+ margin-left: 5px;
503
738
  }
504
739
 
505
740
  @keyframes l43 {
@@ -553,247 +788,102 @@ div.curtain#loader > div {
553
788
  align-items: center;
554
789
  }
555
790
 
556
- @keyframes popup {
557
- 0% {
558
- opacity: 0;
559
- transform: translateY(20px);
560
- }
561
- 20% {
562
- opacity: 1;
563
- transform: none;
564
- }
565
- 80% {
566
- opacity: 1;
567
- transform: none;
568
- }
569
- 100% {
570
- transform: translateY(-10px);
571
- opacity: 0;
572
- }
573
- }
574
- div.popups {
575
- position: fixed;
576
- bottom: 20px;
577
- right: 20px;
578
- }
579
- div.popups div.popup-message {
580
- display: flex;
581
- background-color: #ffd37b;
582
- color: #1e1e1e;
583
- padding: 10px 30px;
584
- width: 200px;
585
- border-radius: 10px;
586
- text-align: center;
587
- align-items: center;
588
- margin-top: 5px;
589
- box-shadow: 0 5px 10px 10px rgba(0, 0, 0, 0.1);
590
- animation: popup 1s ease-in-out forwards;
591
- }
592
- div.popups div.popup-message i {
593
- font-size: 20px;
594
- }
595
- div.popups div.popup-message span {
596
- flex-basis: 90%;
597
- }
598
-
599
- div.search {
600
- display: flex;
601
- justify-content: space-around;
602
- align-items: center;
603
- border-radius: 10px;
604
- width: 410px;
605
- padding: 2px 10px;
606
- margin: auto;
607
- margin-bottom: 50px;
608
- background-color: rgba(255, 255, 255, 0.05);
609
- opacity: 0.4;
610
- transition-duration: 0.1s;
611
- }
612
- div.search > i {
613
- width: 20px;
614
- margin: 0 15px;
615
- }
616
- div.search:hover {
617
- opacity: 1;
618
- }
619
- div.search button {
620
- display: inline-block !important;
621
- background-color: transparent;
622
- font-size: 20px;
623
- padding: 10px 15px;
624
- margin: 0;
625
- color: rgba(255, 255, 255, 0.2);
626
- }
627
- div.search button i {
628
- margin: 0;
629
- }
630
- div.search button:hover {
631
- color: #fff;
632
- }
633
- div.search div.input {
634
- background-color: transparent;
635
- width: 380px;
636
- }
637
- div.search div.input:before {
638
- text-align: center;
639
- }
640
-
641
- div.container {
791
+ div.history {
642
792
  padding: 0 20px;
643
793
  margin-top: 0;
644
794
  }
645
- div.container div.meta {
795
+
796
+ header {
646
797
  display: flex;
647
- flex-wrap: wrap;
648
- border-radius: inherit;
649
- }
650
- div.container div.meta div.segment {
651
- display: inherit;
652
- flex-wrap: inherit;
798
+ justify-content: center;
799
+ align-items: center;
800
+ position: relative;
653
801
  }
654
- div.container div.meta span, div.container div.meta button {
655
- padding: 7px 15px;
656
- display: inline-block;
657
- background-color: rgba(255, 255, 255, 0.05);
658
- border-radius: 5px;
659
- margin-right: 5px;
660
- margin-bottom: 5px;
802
+ header button {
803
+ text-decoration: none;
661
804
  font-size: 14px;
805
+ color: rgba(255, 255, 255, 0.5);
806
+ vertical-align: top;
662
807
  }
663
- div.container div.meta button {
664
- min-width: 50px;
665
- margin-top: 0;
666
- margin-left: 0;
808
+ header button i {
809
+ margin-right: 10px;
667
810
  }
668
- div.container div.meta button i {
669
- float: none;
811
+ header button.icon-only i {
670
812
  margin-right: 0;
813
+ font-size: 16px;
671
814
  }
672
- div.container div.meta span.name b {
673
- font-weight: normal;
674
- color: #ffd37b;
675
- position: relative;
676
- display: inline-block;
677
- }
678
- div.container div.meta span.name b:after {
679
- content: "";
680
- display: inline-block;
681
- position: relative;
682
- height: 14px;
683
- width: 1px;
684
- background-color: rgba(255, 255, 255, 0.1);
685
- top: 2px;
686
- margin-left: 10px;
687
- margin-right: 5px;
688
- }
689
- div.container div.meta span.arrow {
690
- background: transparent;
691
- color: rgba(255, 255, 255, 0.3);
692
- padding: 8px 10px;
693
- padding-left: 12px;
694
- margin-right: 5px;
695
- }
696
- div.container div.meta button.activity i.fa-plug {
697
- color: #a7ff7b;
698
- }
699
- div.container div.meta button.activity i.fa-power-off {
700
- color: #ff7b7b;
701
- }
702
- div.container div.meta span.status {
703
- min-width: 35px;
704
- text-align: center;
705
- }
706
- div.container div.meta span.status.red {
707
- color: #ff7b7b;
708
- }
709
- div.container div.meta span.status.green {
710
- color: #a7ff7b;
711
- }
712
- div.container div.meta span.transport {
713
- color: rgba(255, 255, 255, 0.4);
714
- }
715
- div.container div.meta span.method {
815
+ header button.checked {
716
816
  background-color: #ffd37b;
717
817
  color: #1e1e1e;
718
818
  }
719
- div.container div.meta span.path {
720
- background-color: #ffa77b;
721
- color: #1e1e1e;
722
- }
723
- div.container div.meta span.time {
724
- width: 60px;
725
- text-align: center;
726
- }
727
- div.container div.meta span.calls-count, div.container div.meta span.name, div.container div.meta span.time {
819
+ header button:not(.checked) {
728
820
  color: rgba(255, 255, 255, 0.5);
821
+ background-color: rgba(255, 255, 255, 0.05);
729
822
  }
730
- div.container div.meta span.calls-count.active, div.container div.meta span.name.active, div.container div.meta span.time.active {
731
- color: #fff;
732
- }
733
- div.container div.meta span.calls-count i, div.container div.meta span.name i, div.container div.meta span.time i {
734
- opacity: 0.2;
735
- margin-right: 10px;
823
+ header hr {
824
+ position: relative;
825
+ width: 1px;
826
+ height: 25px;
827
+ border: none;
828
+ background-color: rgba(255, 255, 255, 0.1);
829
+ margin: 10px 10px;
736
830
  }
737
- div.container div.meta span.pending {
738
- min-width: 35px;
739
- text-align: center;
831
+ header div#tabs {
832
+ display: flex;
833
+ justify-content: center;
834
+ align-items: center;
740
835
  }
741
- div.container div.meta span.pending i:before {
742
- animation: pending 1s infinite;
836
+ header div#tabs button {
837
+ padding: 10px 20px;
743
838
  }
744
- div.container div.meta span.separator, div.container div.meta span.label {
745
- padding: 0 5px;
746
- color: rgba(0, 0, 0, 0.3);
747
- font-size: 12px;
748
- margin-right: 0;
749
- margin-bottom: 0;
839
+
840
+ div.expectation {
841
+ padding: 0 20px;
842
+ margin-top: 0;
750
843
  }
751
- div.container div.meta span.label {
752
- padding-left: 0;
844
+
845
+ @keyframes pending {
846
+ 0% {
847
+ content: "\f251";
848
+ }
849
+ 33% {
850
+ content: "\f252";
851
+ }
852
+ 66% {
853
+ content: "\f253";
854
+ }
753
855
  }
754
- div.container div.meta span.handled-with {
755
- background-color: transparent;
756
- color: rgba(255, 255, 255, 0.3);
757
- margin-right: 0;
758
- padding: 7px 5px;
856
+ div.empty {
857
+ display: flex;
858
+ justify-content: center;
859
+ align-items: center;
860
+ margin-top: 50px;
759
861
  }
760
- div.container div.meta span.handled-with span.handler-name {
761
- margin: 0;
762
- padding: 0;
763
- background-color: transparent;
862
+ div.empty i {
764
863
  color: #ffd37b;
864
+ font-size: 50px;
865
+ margin-right: 30px;
765
866
  }
766
- div.container div.meta span.handled-with span.handler-name.red {
767
- color: #ff7b7b;
768
- }
769
- div.container div.meta span.forward {
770
- background-color: #7b7bff;
771
- }
772
- div.container div.meta span.error {
773
- background-color: #ff4848;
774
- }
775
- div.container div.meta span.seed {
776
- background-color: #a7ff7b;
777
- color: #1e1e1e;
867
+ div.empty i:before {
868
+ animation: pending 1s infinite;
778
869
  }
779
- div.container div.meta span.cache {
780
- background-color: #e1e1ff;
781
- color: #1e1e1e;
870
+ div.empty p {
871
+ color: rgba(255, 255, 255, 0.3);
872
+ font-size: 25px;
873
+ font-weight: 300;
782
874
  }
783
- div.container.history:hover div.meta, div.container.expectation:hover div.meta {
875
+
876
+ div.curtain {
784
877
  cursor: pointer;
878
+ position: fixed;
879
+ overflow-y: auto;
880
+ top: 0;
881
+ left: 0;
882
+ height: calc(100% - 50px);
883
+ width: 100%;
884
+ padding-top: 50px;
885
+ background-color: rgba(30, 30, 30, 0.95);
785
886
  }
786
- div.container.history:hover div.meta span.time, div.container.history:hover div.meta span.transport, div.container.history:hover div.meta span.status, div.container.history:hover div.meta span.name, div.container.expectation:hover div.meta span.time, div.container.expectation:hover div.meta span.transport, div.container.expectation:hover div.meta span.status, div.container.expectation:hover div.meta span.name {
787
- background-color: rgba(255, 255, 255, 0.15);
788
- }
789
- div.container pre {
790
- margin: 0;
791
- margin-bottom: 20px;
792
- overflow: hidden;
793
- }
794
- div.container pre.hidden {
795
- display: none;
796
- }
797
- div.container pre:not(:last-child) {
798
- margin-bottom: 20px;
887
+ div.curtain > * {
888
+ cursor: auto;
799
889
  }