debugbar 0.1.0 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/debugbar/assets_controller.rb +1 -1
  3. data/build.sh +7 -0
  4. data/debugbar.gemspec +9 -2
  5. data/lib/debugbar/engine.rb +0 -8
  6. data/lib/debugbar/version.rb +1 -1
  7. data/lib/debugbar.rb +0 -7
  8. data/{client/dist/assets/debugbar-u5mP-5-z.js → public/debugbar.js} +10 -10
  9. metadata +3 -55
  10. data/.prettierrc +0 -6
  11. data/client/.gitignore +0 -25
  12. data/client/README.md +0 -0
  13. data/client/dist/.vite/manifest.json +0 -14
  14. data/client/dist/assets/ruby-logo-kn_8RniZ.svg +0 -946
  15. data/client/index.html +0 -78
  16. data/client/package-lock.json +0 -2393
  17. data/client/package.json +0 -32
  18. data/client/postcss.config.js +0 -6
  19. data/client/src/App.vue +0 -17
  20. data/client/src/AppDemo.vue +0 -29
  21. data/client/src/AppDev.vue +0 -20
  22. data/client/src/Debugbar.vue +0 -276
  23. data/client/src/assets/rails-logo.svg +0 -1
  24. data/client/src/assets/ruby-logo.svg +0 -946
  25. data/client/src/components/TabButton.vue +0 -32
  26. data/client/src/components/panels/CachePanel.vue +0 -41
  27. data/client/src/components/panels/JobsPanel.vue +0 -52
  28. data/client/src/components/panels/JsonPanel.vue +0 -15
  29. data/client/src/components/panels/LogsPanel.vue +0 -43
  30. data/client/src/components/panels/MessagesPanel.vue +0 -25
  31. data/client/src/components/panels/ModelsPanel.vue +0 -37
  32. data/client/src/components/panels/Panel.vue +0 -7
  33. data/client/src/components/panels/RequestPanel.vue +0 -98
  34. data/client/src/components/queries/QueriesPanel.vue +0 -17
  35. data/client/src/components/queries/QueryItem.vue +0 -65
  36. data/client/src/components/ui/Foldable.vue +0 -39
  37. data/client/src/components/ui/KeyValueTable.vue +0 -16
  38. data/client/src/components/ui/Row.vue +0 -14
  39. data/client/src/components/ui/logo-ruby.vue +0 -547
  40. data/client/src/demo.ts +0 -17
  41. data/client/src/dev.ts +0 -20
  42. data/client/src/main.ts +0 -17
  43. data/client/src/models/Config.ts +0 -27
  44. data/client/src/models/Request.ts +0 -183
  45. data/client/src/stores/RequestsStore.ts +0 -36
  46. data/client/src/stores/configStore.ts +0 -8
  47. data/client/src/style.css +0 -23
  48. data/client/src/types.d.ts +0 -9
  49. data/client/src/vite-env.d.ts +0 -1
  50. data/client/tailwind.config.js +0 -16
  51. data/client/tsconfig.json +0 -29
  52. data/client/tsconfig.node.json +0 -10
  53. data/client/vite.config.ts +0 -44
  54. data/fixtures/requests/1706607114--demo_post_list.json +0 -499
  55. data/fixtures/requests/1706607120--api_jobs.json +0 -176
  56. data/fixtures/requests/1706607123--api_jobs.json +0 -119
  57. data/fixtures/requests/1706607133--demo_slow_page.json +0 -130
  58. data/fixtures/requests/1706607136--demo_post.json +0 -164
  59. data/fixtures/requests/1706607136--demo_random_post.json +0 -106
  60. data/fixtures/requests/1706607141--api_errors.json +0 -73
  61. data/package-lock.json +0 -50
  62. data/package.json +0 -5
@@ -1,547 +0,0 @@
1
- <script setup lang="ts"></script>
2
-
3
- <template>
4
- <svg
5
- class="size-5"
6
- xmlns:dc="http://purl.org/dc/elements/1.1/"
7
- xmlns:cc="http://creativecommons.org/ns#"
8
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
9
- xmlns:svg="http://www.w3.org/2000/svg"
10
- xmlns="http://www.w3.org/2000/svg"
11
- xmlns:xlink="http://www.w3.org/1999/xlink"
12
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
13
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
14
- version="1.1"
15
- id="Layer_1"
16
- width="198.13"
17
- height="197.58"
18
- viewBox="0 0 198.13 197.58"
19
- overflow="visible"
20
- enable-background="new 0 0 198.13 197.58"
21
- xml:space="preserve"
22
- inkscape:version="0.48.0 r9654"
23
- sodipodi:docname="Logo-Ruby.svg"
24
- >
25
- <metadata id="metadata3320">
26
- <rdf:RDF
27
- ><cc:Work rdf:about=""
28
- ><dc:format>image/svg+xml</dc:format
29
- ><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work
30
- ></rdf:RDF>
31
- </metadata>
32
- <defs id="defs3489">
33
- <linearGradient
34
- id="XMLID_17_-9"
35
- gradientUnits="userSpaceOnUse"
36
- x1="174.0737"
37
- y1="215.5488"
38
- x2="132.27631"
39
- y2="141.7533"
40
- >
41
- <stop offset="0" style="stop-color: #fb7655" id="stop3272-4" />
42
- <stop offset="0" style="stop-color: #fb7655" id="stop3274-5" />
43
- <stop offset="0.41" style="stop-color: #e42b1e" id="stop3276-1" />
44
- <stop offset="0.99" style="stop-color: #990000" id="stop3278-0" />
45
- <stop offset="1" style="stop-color: #990000" id="stop3280-3" />
46
- </linearGradient>
47
- <linearGradient
48
- id="XMLID_18_-7"
49
- gradientUnits="userSpaceOnUse"
50
- x1="194.895"
51
- y1="153.5576"
52
- x2="141.0276"
53
- y2="117.4093"
54
- >
55
- <stop offset="0" style="stop-color: #871101" id="stop3285-8" />
56
- <stop offset="0" style="stop-color: #871101" id="stop3287-8" />
57
- <stop offset="0.99" style="stop-color: #911209" id="stop3289-6" />
58
- <stop offset="1" style="stop-color: #911209" id="stop3291-0" />
59
- </linearGradient>
60
- <linearGradient
61
- id="XMLID_19_-4"
62
- gradientUnits="userSpaceOnUse"
63
- x1="151.79539"
64
- y1="217.7852"
65
- x2="97.929703"
66
- y2="181.638"
67
- >
68
- <stop offset="0" style="stop-color: #871101" id="stop3296-6" />
69
- <stop offset="0" style="stop-color: #871101" id="stop3298-7" />
70
- <stop offset="0.99" style="stop-color: #911209" id="stop3300-6" />
71
- <stop offset="1" style="stop-color: #911209" id="stop3302-0" />
72
- </linearGradient>
73
- <linearGradient
74
- id="XMLID_20_-9"
75
- gradientUnits="userSpaceOnUse"
76
- x1="38.696301"
77
- y1="127.3906"
78
- x2="47.046902"
79
- y2="181.66141"
80
- >
81
- <stop offset="0" style="stop-color: #ffffff" id="stop3307-7" />
82
- <stop offset="0" style="stop-color: #ffffff" id="stop3309-5" />
83
- <stop offset="0.23" style="stop-color: #e57252" id="stop3311-9" />
84
- <stop offset="0.46" style="stop-color: #de3b20" id="stop3313-7" />
85
- <stop offset="0.99" style="stop-color: #a60003" id="stop3315-8" />
86
- <stop offset="1" style="stop-color: #a60003" id="stop3317-5" />
87
- </linearGradient>
88
- <linearGradient
89
- id="XMLID_21_-3"
90
- gradientUnits="userSpaceOnUse"
91
- x1="96.132797"
92
- y1="76.715302"
93
- x2="99.209602"
94
- y2="132.1021"
95
- >
96
- <stop offset="0" style="stop-color: #ffffff" id="stop3322-3" />
97
- <stop offset="0" style="stop-color: #ffffff" id="stop3324-8" />
98
- <stop offset="0.23" style="stop-color: #e4714e" id="stop3326-3" />
99
- <stop offset="0.56" style="stop-color: #be1a0d" id="stop3328-7" />
100
- <stop offset="0.99" style="stop-color: #a80d00" id="stop3330-9" />
101
- <stop offset="1" style="stop-color: #a80d00" id="stop3332-3" />
102
- </linearGradient>
103
- <linearGradient
104
- id="XMLID_22_-7"
105
- gradientUnits="userSpaceOnUse"
106
- x1="147.103"
107
- y1="25.521"
108
- x2="156.3141"
109
- y2="65.216202"
110
- >
111
- <stop offset="0" style="stop-color: #ffffff" id="stop3337-8" />
112
- <stop offset="0" style="stop-color: #ffffff" id="stop3339-7" />
113
- <stop offset="0.18" style="stop-color: #e46342" id="stop3341-4" />
114
- <stop offset="0.4" style="stop-color: #c82410" id="stop3343-1" />
115
- <stop offset="0.99" style="stop-color: #a80d00" id="stop3345-9" />
116
- <stop offset="1" style="stop-color: #a80d00" id="stop3347-0" />
117
- </linearGradient>
118
- <linearGradient
119
- id="XMLID_23_-9"
120
- gradientUnits="userSpaceOnUse"
121
- x1="118.9761"
122
- y1="11.5415"
123
- x2="158.66859"
124
- y2="-8.3048"
125
- >
126
- <stop offset="0" style="stop-color: #ffffff" id="stop3352-8" />
127
- <stop offset="0" style="stop-color: #ffffff" id="stop3354-8" />
128
- <stop offset="0.54" style="stop-color: #c81f11" id="stop3356-5" />
129
- <stop offset="0.99" style="stop-color: #bf0905" id="stop3358-8" />
130
- <stop offset="1" style="stop-color: #bf0905" id="stop3360-4" />
131
- </linearGradient>
132
- <linearGradient
133
- id="XMLID_24_-3"
134
- gradientUnits="userSpaceOnUse"
135
- x1="3.9033"
136
- y1="113.5547"
137
- x2="7.1701999"
138
- y2="146.2628"
139
- >
140
- <stop offset="0" style="stop-color: #ffffff" id="stop3365-7" />
141
- <stop offset="0" style="stop-color: #ffffff" id="stop3367-1" />
142
- <stop offset="0.31" style="stop-color: #de4024" id="stop3369-3" />
143
- <stop offset="0.99" style="stop-color: #bf190b" id="stop3371-8" />
144
- <stop offset="1" style="stop-color: #bf190b" id="stop3373-0" />
145
- </linearGradient>
146
- <linearGradient
147
- id="XMLID_25_-9"
148
- gradientUnits="userSpaceOnUse"
149
- x1="-18.5557"
150
- y1="155.10451"
151
- x2="135.0152"
152
- y2="-2.8092999"
153
- >
154
- <stop offset="0" style="stop-color: #bd0012" id="stop3380-7" />
155
- <stop offset="0" style="stop-color: #bd0012" id="stop3382-9" />
156
- <stop offset="0.07" style="stop-color: #ffffff" id="stop3384-9" />
157
- <stop offset="0.17" style="stop-color: #ffffff" id="stop3386-3" />
158
- <stop offset="0.27" style="stop-color: #c82f1c" id="stop3388-2" />
159
- <stop offset="0.33" style="stop-color: #820c01" id="stop3390-4" />
160
- <stop offset="0.46" style="stop-color: #a31601" id="stop3392-3" />
161
- <stop offset="0.72" style="stop-color: #b31301" id="stop3394-7" />
162
- <stop offset="0.99" style="stop-color: #e82609" id="stop3396-1" />
163
- <stop offset="1" style="stop-color: #e82609" id="stop3398-2" />
164
- </linearGradient>
165
- <linearGradient
166
- id="XMLID_26_-2"
167
- gradientUnits="userSpaceOnUse"
168
- x1="99.074699"
169
- y1="171.0332"
170
- x2="52.817699"
171
- y2="159.61659"
172
- >
173
- <stop offset="0" style="stop-color: #8c0c01" id="stop3403-0" />
174
- <stop offset="0" style="stop-color: #8c0c01" id="stop3405-2" />
175
- <stop offset="0.54" style="stop-color: #990c00" id="stop3407-1" />
176
- <stop offset="0.99" style="stop-color: #a80d0e" id="stop3409-7" />
177
- <stop offset="1" style="stop-color: #a80d0e" id="stop3411-5" />
178
- </linearGradient>
179
- <linearGradient
180
- id="XMLID_27_-1"
181
- gradientUnits="userSpaceOnUse"
182
- x1="178.52589"
183
- y1="115.5146"
184
- x2="137.43269"
185
- y2="78.683998"
186
- >
187
- <stop offset="0" style="stop-color: #7e110b" id="stop3416-7" />
188
- <stop offset="0" style="stop-color: #7e110b" id="stop3418-4" />
189
- <stop offset="0.99" style="stop-color: #9e0c00" id="stop3420-1" />
190
- <stop offset="1" style="stop-color: #9e0c00" id="stop3422-7" />
191
- </linearGradient>
192
- <linearGradient
193
- id="XMLID_28_-1"
194
- gradientUnits="userSpaceOnUse"
195
- x1="193.6235"
196
- y1="47.937"
197
- x2="173.15421"
198
- y2="26.053801"
199
- >
200
- <stop offset="0" style="stop-color: #79130d" id="stop3427-1" />
201
- <stop offset="0" style="stop-color: #79130d" id="stop3429-1" />
202
- <stop offset="0.99" style="stop-color: #9e120b" id="stop3431-7" />
203
- <stop offset="1" style="stop-color: #9e120b" id="stop3433-0" />
204
- </linearGradient>
205
- <radialGradient id="XMLID_29_-4" cx="143.8315" cy="79.388199" r="50.357601" gradientUnits="userSpaceOnUse">
206
- <stop offset="0" style="stop-color: #a80d00" id="stop3440-0" />
207
- <stop offset="0" style="stop-color: #a80d00" id="stop3442-8" />
208
- <stop offset="0.99" style="stop-color: #7e0e08" id="stop3444-5" />
209
- <stop offset="1" style="stop-color: #7e0e08" id="stop3446-1" />
210
- </radialGradient>
211
- <radialGradient id="XMLID_30_-6" cx="74.0923" cy="145.75101" r="66.943703" gradientUnits="userSpaceOnUse">
212
- <stop offset="0" style="stop-color: #a30c00" id="stop3451-6" />
213
- <stop offset="0" style="stop-color: #a30c00" id="stop3453-2" />
214
- <stop offset="0.99" style="stop-color: #800e08" id="stop3455-1" />
215
- <stop offset="1" style="stop-color: #800e08" id="stop3457-9" />
216
- </radialGradient>
217
- <linearGradient
218
- id="XMLID_31_-6"
219
- gradientUnits="userSpaceOnUse"
220
- x1="26.669901"
221
- y1="197.33591"
222
- x2="9.9886999"
223
- y2="140.742"
224
- >
225
- <stop offset="0" style="stop-color: #8b2114" id="stop3462-4" />
226
- <stop offset="0" style="stop-color: #8b2114" id="stop3464-8" />
227
- <stop offset="0.43" style="stop-color: #9e100a" id="stop3466-0" />
228
- <stop offset="0.99" style="stop-color: #b3100c" id="stop3468-8" />
229
- <stop offset="1" style="stop-color: #b3100c" id="stop3470-1" />
230
- </linearGradient>
231
- <linearGradient
232
- id="XMLID_32_-0"
233
- gradientUnits="userSpaceOnUse"
234
- x1="154.6411"
235
- y1="9.7979002"
236
- x2="192.039"
237
- y2="26.305901"
238
- >
239
- <stop offset="0" style="stop-color: #b31000" id="stop3475-2" />
240
- <stop offset="0" style="stop-color: #b31000" id="stop3477-2" />
241
- <stop offset="0.44" style="stop-color: #910f08" id="stop3479-9" />
242
- <stop offset="0.99" style="stop-color: #791c12" id="stop3481-7" />
243
- <stop offset="1" style="stop-color: #791c12" id="stop3483-5" />
244
- </linearGradient>
245
- <linearGradient
246
- y2="141.7533"
247
- x2="132.27631"
248
- y1="215.5488"
249
- x1="174.0737"
250
- gradientUnits="userSpaceOnUse"
251
- id="linearGradient3448"
252
- xlink:href="#XMLID_17_-9"
253
- inkscape:collect="always"
254
- />
255
- </defs>
256
- <sodipodi:namedview
257
- pagecolor="#ffffff"
258
- bordercolor="#666666"
259
- borderopacity="1"
260
- objecttolerance="10"
261
- gridtolerance="10"
262
- guidetolerance="10"
263
- inkscape:pageopacity="0"
264
- inkscape:pageshadow="2"
265
- inkscape:window-width="1036"
266
- inkscape:window-height="1124"
267
- id="namedview3487"
268
- showgrid="false"
269
- inkscape:zoom="1.3412289"
270
- inkscape:cx="99.065005"
271
- inkscape:cy="98.790004"
272
- inkscape:window-x="882"
273
- inkscape:window-y="24"
274
- inkscape:window-maximized="0"
275
- inkscape:current-layer="Layer_1"
276
- />
277
- <linearGradient
278
- id="XMLID_17_"
279
- gradientUnits="userSpaceOnUse"
280
- x1="174.0737"
281
- y1="215.5488"
282
- x2="132.2763"
283
- y2="141.7533"
284
- >
285
- <stop offset="0" style="stop-color: #fb7655" id="stop3272" />
286
- <stop offset="0" style="stop-color: #fb7655" id="stop3274" />
287
- <stop offset="0.41" style="stop-color: #e42b1e" id="stop3276" />
288
- <stop offset="0.99" style="stop-color: #990000" id="stop3278" />
289
- <stop offset="1" style="stop-color: #990000" id="stop3280" />
290
- </linearGradient>
291
-
292
- <linearGradient
293
- id="XMLID_18_"
294
- gradientUnits="userSpaceOnUse"
295
- x1="194.895"
296
- y1="153.5576"
297
- x2="141.0276"
298
- y2="117.4093"
299
- >
300
- <stop offset="0" style="stop-color: #871101" id="stop3285" />
301
- <stop offset="0" style="stop-color: #871101" id="stop3287" />
302
- <stop offset="0.99" style="stop-color: #911209" id="stop3289" />
303
- <stop offset="1" style="stop-color: #911209" id="stop3291" />
304
- </linearGradient>
305
-
306
- <linearGradient id="XMLID_19_" gradientUnits="userSpaceOnUse" x1="151.7954" y1="217.7852" x2="97.9297" y2="181.638">
307
- <stop offset="0" style="stop-color: #871101" id="stop3296" />
308
- <stop offset="0" style="stop-color: #871101" id="stop3298" />
309
- <stop offset="0.99" style="stop-color: #911209" id="stop3300" />
310
- <stop offset="1" style="stop-color: #911209" id="stop3302" />
311
- </linearGradient>
312
-
313
- <linearGradient id="XMLID_20_" gradientUnits="userSpaceOnUse" x1="38.6963" y1="127.3906" x2="47.0469" y2="181.6614">
314
- <stop offset="0" style="stop-color: #ffffff" id="stop3307" />
315
- <stop offset="0" style="stop-color: #ffffff" id="stop3309" />
316
- <stop offset="0.23" style="stop-color: #e57252" id="stop3311" />
317
- <stop offset="0.46" style="stop-color: #de3b20" id="stop3313" />
318
- <stop offset="0.99" style="stop-color: #a60003" id="stop3315" />
319
- <stop offset="1" style="stop-color: #a60003" id="stop3317" />
320
- </linearGradient>
321
-
322
- <linearGradient id="XMLID_21_" gradientUnits="userSpaceOnUse" x1="96.1328" y1="76.7153" x2="99.2096" y2="132.1021">
323
- <stop offset="0" style="stop-color: #ffffff" id="stop3322" />
324
- <stop offset="0" style="stop-color: #ffffff" id="stop3324" />
325
- <stop offset="0.23" style="stop-color: #e4714e" id="stop3326" />
326
- <stop offset="0.56" style="stop-color: #be1a0d" id="stop3328" />
327
- <stop offset="0.99" style="stop-color: #a80d00" id="stop3330" />
328
- <stop offset="1" style="stop-color: #a80d00" id="stop3332" />
329
- </linearGradient>
330
-
331
- <linearGradient id="XMLID_22_" gradientUnits="userSpaceOnUse" x1="147.103" y1="25.521" x2="156.3141" y2="65.2162">
332
- <stop offset="0" style="stop-color: #ffffff" id="stop3337" />
333
- <stop offset="0" style="stop-color: #ffffff" id="stop3339" />
334
- <stop offset="0.18" style="stop-color: #e46342" id="stop3341" />
335
- <stop offset="0.4" style="stop-color: #c82410" id="stop3343" />
336
- <stop offset="0.99" style="stop-color: #a80d00" id="stop3345" />
337
- <stop offset="1" style="stop-color: #a80d00" id="stop3347" />
338
- </linearGradient>
339
-
340
- <linearGradient id="XMLID_23_" gradientUnits="userSpaceOnUse" x1="118.9761" y1="11.5415" x2="158.6686" y2="-8.3048">
341
- <stop offset="0" style="stop-color: #ffffff" id="stop3352" />
342
- <stop offset="0" style="stop-color: #ffffff" id="stop3354" />
343
- <stop offset="0.54" style="stop-color: #c81f11" id="stop3356" />
344
- <stop offset="0.99" style="stop-color: #bf0905" id="stop3358" />
345
- <stop offset="1" style="stop-color: #bf0905" id="stop3360" />
346
- </linearGradient>
347
-
348
- <linearGradient id="XMLID_24_" gradientUnits="userSpaceOnUse" x1="3.9033" y1="113.5547" x2="7.1702" y2="146.2628">
349
- <stop offset="0" style="stop-color: #ffffff" id="stop3365" />
350
- <stop offset="0" style="stop-color: #ffffff" id="stop3367" />
351
- <stop offset="0.31" style="stop-color: #de4024" id="stop3369" />
352
- <stop offset="0.99" style="stop-color: #bf190b" id="stop3371" />
353
- <stop offset="1" style="stop-color: #bf190b" id="stop3373" />
354
- </linearGradient>
355
-
356
- <linearGradient
357
- id="XMLID_25_"
358
- gradientUnits="userSpaceOnUse"
359
- x1="-18.5557"
360
- y1="155.1045"
361
- x2="135.0152"
362
- y2="-2.8093"
363
- >
364
- <stop offset="0" style="stop-color: #bd0012" id="stop3380" />
365
- <stop offset="0" style="stop-color: #bd0012" id="stop3382" />
366
- <stop offset="0.07" style="stop-color: #ffffff" id="stop3384" />
367
- <stop offset="0.17" style="stop-color: #ffffff" id="stop3386" />
368
- <stop offset="0.27" style="stop-color: #c82f1c" id="stop3388" />
369
- <stop offset="0.33" style="stop-color: #820c01" id="stop3390" />
370
- <stop offset="0.46" style="stop-color: #a31601" id="stop3392" />
371
- <stop offset="0.72" style="stop-color: #b31301" id="stop3394" />
372
- <stop offset="0.99" style="stop-color: #e82609" id="stop3396" />
373
- <stop offset="1" style="stop-color: #e82609" id="stop3398" />
374
- </linearGradient>
375
-
376
- <linearGradient id="XMLID_26_" gradientUnits="userSpaceOnUse" x1="99.0747" y1="171.0332" x2="52.8177" y2="159.6166">
377
- <stop offset="0" style="stop-color: #8c0c01" id="stop3403" />
378
- <stop offset="0" style="stop-color: #8c0c01" id="stop3405" />
379
- <stop offset="0.54" style="stop-color: #990c00" id="stop3407" />
380
- <stop offset="0.99" style="stop-color: #a80d0e" id="stop3409" />
381
- <stop offset="1" style="stop-color: #a80d0e" id="stop3411" />
382
- </linearGradient>
383
-
384
- <linearGradient id="XMLID_27_" gradientUnits="userSpaceOnUse" x1="178.5259" y1="115.5146" x2="137.4327" y2="78.684">
385
- <stop offset="0" style="stop-color: #7e110b" id="stop3416" />
386
- <stop offset="0" style="stop-color: #7e110b" id="stop3418" />
387
- <stop offset="0.99" style="stop-color: #9e0c00" id="stop3420" />
388
- <stop offset="1" style="stop-color: #9e0c00" id="stop3422" />
389
- </linearGradient>
390
-
391
- <linearGradient id="XMLID_28_" gradientUnits="userSpaceOnUse" x1="193.6235" y1="47.937" x2="173.1542" y2="26.0538">
392
- <stop offset="0" style="stop-color: #79130d" id="stop3427" />
393
- <stop offset="0" style="stop-color: #79130d" id="stop3429" />
394
- <stop offset="0.99" style="stop-color: #9e120b" id="stop3431" />
395
- <stop offset="1" style="stop-color: #9e120b" id="stop3433" />
396
- </linearGradient>
397
-
398
- <radialGradient id="XMLID_29_" cx="143.8315" cy="79.3882" r="50.3576" gradientUnits="userSpaceOnUse">
399
- <stop offset="0" style="stop-color: #a80d00" id="stop3440" />
400
- <stop offset="0" style="stop-color: #a80d00" id="stop3442" />
401
- <stop offset="0.99" style="stop-color: #7e0e08" id="stop3444" />
402
- <stop offset="1" style="stop-color: #7e0e08" id="stop3446" />
403
- </radialGradient>
404
-
405
- <radialGradient id="XMLID_30_" cx="74.0923" cy="145.751" r="66.9437" gradientUnits="userSpaceOnUse">
406
- <stop offset="0" style="stop-color: #a30c00" id="stop3451" />
407
- <stop offset="0" style="stop-color: #a30c00" id="stop3453" />
408
- <stop offset="0.99" style="stop-color: #800e08" id="stop3455" />
409
- <stop offset="1" style="stop-color: #800e08" id="stop3457" />
410
- </radialGradient>
411
-
412
- <linearGradient id="XMLID_31_" gradientUnits="userSpaceOnUse" x1="26.6699" y1="197.3359" x2="9.9887" y2="140.742">
413
- <stop offset="0" style="stop-color: #8b2114" id="stop3462" />
414
- <stop offset="0" style="stop-color: #8b2114" id="stop3464" />
415
- <stop offset="0.43" style="stop-color: #9e100a" id="stop3466" />
416
- <stop offset="0.99" style="stop-color: #b3100c" id="stop3468" />
417
- <stop offset="1" style="stop-color: #b3100c" id="stop3470" />
418
- </linearGradient>
419
-
420
- <linearGradient id="XMLID_32_" gradientUnits="userSpaceOnUse" x1="154.6411" y1="9.7979" x2="192.039" y2="26.3059">
421
- <stop offset="0" style="stop-color: #b31000" id="stop3475" />
422
- <stop offset="0" style="stop-color: #b31000" id="stop3477" />
423
- <stop offset="0.44" style="stop-color: #910f08" id="stop3479" />
424
- <stop offset="0.99" style="stop-color: #791c12" id="stop3481" />
425
- <stop offset="1" style="stop-color: #791c12" id="stop3483" />
426
- </linearGradient>
427
-
428
- <polygon
429
- style="fill: url(#linearGradient3448); fill-rule: evenodd"
430
- clip-rule="evenodd"
431
- points="153.5,130.41 40.38,197.58 186.849,187.641 198.13,39.95 "
432
- id="polygon3282"
433
- />
434
- <polygon
435
- style="fill: url(#XMLID_18_-7); fill-rule: evenodd"
436
- clip-rule="evenodd"
437
- points="187.089,187.54 174.5,100.65 140.209,145.93 "
438
- id="polygon3293"
439
- />
440
- <polygon
441
- style="fill: url(#XMLID_19_-4); fill-rule: evenodd"
442
- clip-rule="evenodd"
443
- points="187.259,187.54 95.03,180.3 40.87,197.391 "
444
- id="polygon3304"
445
- />
446
- <polygon
447
- style="fill: url(#XMLID_20_-9); fill-rule: evenodd"
448
- clip-rule="evenodd"
449
- points="41,197.41 64.04,121.93 13.34,132.771 "
450
- id="polygon3319"
451
- />
452
- <polygon
453
- style="fill: url(#XMLID_21_-3); fill-rule: evenodd"
454
- clip-rule="evenodd"
455
- points="140.2,146.18 119,63.14 58.33,120.01 "
456
- id="polygon3334"
457
- />
458
- <polygon
459
- style="fill: url(#XMLID_22_-7); fill-rule: evenodd"
460
- clip-rule="evenodd"
461
- points="193.32,64.31 135.97,17.47 120,69.1 "
462
- id="polygon3349"
463
- />
464
- <polygon
465
- style="fill: url(#XMLID_23_-9); fill-rule: evenodd"
466
- clip-rule="evenodd"
467
- points="166.5,0.77 132.77,19.41 111.49,0.52 "
468
- id="polygon3362"
469
- />
470
- <polygon
471
- style="fill: url(#XMLID_24_-3); fill-rule: evenodd"
472
- clip-rule="evenodd"
473
- points="0,158.09 14.13,132.32 2.7,101.62 "
474
- id="polygon3375"
475
- />
476
- <path
477
- style="fill: #ffffff; fill-rule: evenodd"
478
- inkscape:connector-curvature="0"
479
- clip-rule="evenodd"
480
- d="m 1.94,100.65 11.5,32.62 49.97,-11.211 57.05,-53.02 L 136.56,17.9 111.209,0 68.109,16.13 C 54.53,28.76 28.18,53.75 27.23,54.22 26.29,54.7 9.83,85.81 1.94,100.65 z"
481
- id="path3377"
482
- />
483
- <path
484
- style="fill: url(#XMLID_25_-9); fill-rule: evenodd"
485
- inkscape:connector-curvature="0"
486
- clip-rule="evenodd"
487
- d="m 42.32,42.05 c 29.43,-29.18 67.37,-46.42 81.93,-31.73 14.551,14.69 -0.88,50.39 -30.31,79.56 -29.43,29.17 -66.9,47.36 -81.45,32.67 -14.56,-14.68 0.4,-51.33 29.83,-80.5 z"
488
- id="path3400"
489
- />
490
- <path
491
- style="fill: url(#XMLID_26_-2); fill-rule: evenodd"
492
- inkscape:connector-curvature="0"
493
- clip-rule="evenodd"
494
- d="m 41,197.38 22.86,-75.72 75.92,24.39 C 112.33,171.79 81.8,193.55 41,197.38 z"
495
- id="path3413"
496
- />
497
- <path
498
- style="fill: url(#XMLID_27_-1); fill-rule: evenodd"
499
- inkscape:connector-curvature="0"
500
- clip-rule="evenodd"
501
- d="m 120.56,68.89 19.49,77.2 C 162.98,121.98 183.56,96.06 193.639,64 l -73.079,4.89 z"
502
- id="path3424"
503
- />
504
- <path
505
- style="fill: url(#XMLID_28_-1); fill-rule: evenodd"
506
- inkscape:connector-curvature="0"
507
- clip-rule="evenodd"
508
- d="m 193.44,64.39 c 7.8,-23.54 9.6,-57.31 -27.181,-63.58 l -30.18,16.67 57.361,46.91 z"
509
- id="path3435"
510
- />
511
- <path
512
- style="fill: #9e1209; fill-rule: evenodd"
513
- inkscape:connector-curvature="0"
514
- clip-rule="evenodd"
515
- d="m 0,157.75 c 1.08,38.851 29.11,39.43 41.05,39.771 L 13.47,133.11 0,157.75 z"
516
- id="path3437"
517
- />
518
- <path
519
- style="fill: url(#XMLID_29_-4); fill-rule: evenodd"
520
- inkscape:connector-curvature="0"
521
- clip-rule="evenodd"
522
- d="m 120.669,69.01 c 17.62,10.83 53.131,32.58 53.851,32.98 1.119,0.63 15.31,-23.93 18.53,-37.81 l -72.381,4.83 z"
523
- id="path3448"
524
- />
525
- <path
526
- style="fill: url(#XMLID_30_-6); fill-rule: evenodd"
527
- inkscape:connector-curvature="0"
528
- clip-rule="evenodd"
529
- d="m 63.83,121.66 30.56,58.96 c 18.07,-9.8 32.22,-21.74 45.18,-34.53 L 63.83,121.66 z"
530
- id="path3459"
531
- />
532
- <path
533
- style="fill: url(#XMLID_31_-6); fill-rule: evenodd"
534
- inkscape:connector-curvature="0"
535
- clip-rule="evenodd"
536
- d="m 13.35,133.19 -4.33,51.56 c 8.17,11.16 19.41,12.13 31.2,11.26 -8.53,-21.23 -25.57,-63.68 -26.87,-62.82 z"
537
- id="path3472"
538
- />
539
- <path
540
- style="fill: url(#XMLID_32_-0); fill-rule: evenodd"
541
- inkscape:connector-curvature="0"
542
- clip-rule="evenodd"
543
- d="m 135.9,17.61 60.71,8.52 C 193.37,12.4 183.42,3.54 166.46,0.77 L 135.9,17.61 z"
544
- id="path3485"
545
- />
546
- </svg>
547
- </template>
data/client/src/demo.ts DELETED
@@ -1,17 +0,0 @@
1
- import hljs from "highlight.js/lib/core"
2
- import sql from "highlight.js/lib/languages/sql"
3
- import json from "highlight.js/lib/languages/json"
4
- import hljsVuePlugin from "@highlightjs/vue-plugin"
5
-
6
- import { createApp } from "vue"
7
- import { createPinia } from "pinia"
8
- import shadow from "vue-shadow-dom"
9
-
10
- hljs.registerLanguage("sql", sql)
11
- hljs.registerLanguage("json", json)
12
-
13
- const pinia = createPinia()
14
-
15
- import AppDemo from "./AppDemo.vue"
16
-
17
- createApp(AppDemo).use(hljsVuePlugin).use(pinia).use(shadow).mount("#__debugbar")
data/client/src/dev.ts DELETED
@@ -1,20 +0,0 @@
1
- // Loaded directly by index.html when in development mode
2
-
3
- import hljs from "highlight.js/lib/core"
4
- import sql from "highlight.js/lib/languages/sql"
5
- import json from "highlight.js/lib/languages/json"
6
- import hljsVuePlugin from "@highlightjs/vue-plugin"
7
-
8
- import { createApp } from "vue"
9
- import { createPinia } from "pinia"
10
-
11
- import "./style.css"
12
-
13
- hljs.registerLanguage("sql", sql)
14
- hljs.registerLanguage("json", json)
15
-
16
- const pinia = createPinia()
17
-
18
- import AppDev from "./AppDev.vue"
19
-
20
- createApp(AppDev).use(hljsVuePlugin).use(pinia).mount("#__debugbar")
data/client/src/main.ts DELETED
@@ -1,17 +0,0 @@
1
- import hljs from "highlight.js/lib/core"
2
- import sql from "highlight.js/lib/languages/sql"
3
- import json from "highlight.js/lib/languages/json"
4
- import hljsVuePlugin from "@highlightjs/vue-plugin"
5
-
6
- import { createApp } from "vue"
7
- import { createPinia } from "pinia"
8
- import shadow from "vue-shadow-dom"
9
-
10
- hljs.registerLanguage("sql", sql)
11
- hljs.registerLanguage("json", json)
12
-
13
- const pinia = createPinia()
14
-
15
- import App from "./App.vue"
16
-
17
- createApp(App).use(hljsVuePlugin).use(pinia).use(shadow).mount("#__debugbar")
@@ -1,27 +0,0 @@
1
- import defaultsDeep from "lodash/defaultsDeep"
2
-
3
- export type DebugbarConfigOptions = {
4
- mode: "ws" | "off"
5
- cable: {
6
- url: string
7
- prefix: string
8
- }
9
- channelName: string
10
- height: number
11
- }
12
-
13
- export function newDebugbarConfig(options: DebugbarConfigOptions) {
14
- const obj = defaultsDeep(options, {
15
- mode: "ws",
16
- cable: {
17
- url: "ws://127.0.0.1:3000",
18
- prefix: "/_debugbar",
19
- },
20
- channelName: "Debugbar::DebugbarChannel",
21
- height: 360,
22
- } as DebugbarConfigOptions)
23
-
24
- obj.actionCableUrl = `${obj.cable.url}${obj.cable.prefix}/cable`
25
-
26
- return obj
27
- }