@scalar/api-reference 1.20.5 → 1.20.7

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.
@@ -0,0 +1,370 @@
1
+ (function() {
2
+ if (typeof Prism > "u" || typeof document > "u")
3
+ return;
4
+ var j = (
5
+ /*dependencies_placeholder[*/
6
+ {
7
+ javascript: "clike",
8
+ actionscript: "javascript",
9
+ apex: [
10
+ "clike",
11
+ "sql"
12
+ ],
13
+ arduino: "cpp",
14
+ aspnet: [
15
+ "markup",
16
+ "csharp"
17
+ ],
18
+ birb: "clike",
19
+ bison: "c",
20
+ c: "clike",
21
+ csharp: "clike",
22
+ cpp: "c",
23
+ cfscript: "clike",
24
+ chaiscript: [
25
+ "clike",
26
+ "cpp"
27
+ ],
28
+ cilkc: "c",
29
+ cilkcpp: "cpp",
30
+ coffeescript: "javascript",
31
+ crystal: "ruby",
32
+ "css-extras": "css",
33
+ d: "clike",
34
+ dart: "clike",
35
+ django: "markup-templating",
36
+ ejs: [
37
+ "javascript",
38
+ "markup-templating"
39
+ ],
40
+ etlua: [
41
+ "lua",
42
+ "markup-templating"
43
+ ],
44
+ erb: [
45
+ "ruby",
46
+ "markup-templating"
47
+ ],
48
+ fsharp: "clike",
49
+ "firestore-security-rules": "clike",
50
+ flow: "javascript",
51
+ ftl: "markup-templating",
52
+ gml: "clike",
53
+ glsl: "c",
54
+ go: "clike",
55
+ gradle: "clike",
56
+ groovy: "clike",
57
+ haml: "ruby",
58
+ handlebars: "markup-templating",
59
+ haxe: "clike",
60
+ hlsl: "c",
61
+ idris: "haskell",
62
+ java: "clike",
63
+ javadoc: [
64
+ "markup",
65
+ "java",
66
+ "javadoclike"
67
+ ],
68
+ jolie: "clike",
69
+ jsdoc: [
70
+ "javascript",
71
+ "javadoclike",
72
+ "typescript"
73
+ ],
74
+ "js-extras": "javascript",
75
+ json5: "json",
76
+ jsonp: "json",
77
+ "js-templates": "javascript",
78
+ kotlin: "clike",
79
+ latte: [
80
+ "clike",
81
+ "markup-templating",
82
+ "php"
83
+ ],
84
+ less: "css",
85
+ lilypond: "scheme",
86
+ liquid: "markup-templating",
87
+ markdown: "markup",
88
+ "markup-templating": "markup",
89
+ mongodb: "javascript",
90
+ n4js: "javascript",
91
+ objectivec: "c",
92
+ opencl: "c",
93
+ parser: "markup",
94
+ php: "markup-templating",
95
+ phpdoc: [
96
+ "php",
97
+ "javadoclike"
98
+ ],
99
+ "php-extras": "php",
100
+ plsql: "sql",
101
+ processing: "clike",
102
+ protobuf: "clike",
103
+ pug: [
104
+ "markup",
105
+ "javascript"
106
+ ],
107
+ purebasic: "clike",
108
+ purescript: "haskell",
109
+ qsharp: "clike",
110
+ qml: "javascript",
111
+ qore: "clike",
112
+ racket: "scheme",
113
+ cshtml: [
114
+ "markup",
115
+ "csharp"
116
+ ],
117
+ jsx: [
118
+ "markup",
119
+ "javascript"
120
+ ],
121
+ tsx: [
122
+ "jsx",
123
+ "typescript"
124
+ ],
125
+ reason: "clike",
126
+ ruby: "clike",
127
+ sass: "css",
128
+ scss: "css",
129
+ scala: "java",
130
+ "shell-session": "bash",
131
+ smarty: "markup-templating",
132
+ solidity: "clike",
133
+ soy: "markup-templating",
134
+ sparql: "turtle",
135
+ sqf: "clike",
136
+ squirrel: "clike",
137
+ stata: [
138
+ "mata",
139
+ "java",
140
+ "python"
141
+ ],
142
+ "t4-cs": [
143
+ "t4-templating",
144
+ "csharp"
145
+ ],
146
+ "t4-vb": [
147
+ "t4-templating",
148
+ "vbnet"
149
+ ],
150
+ tap: "yaml",
151
+ tt2: [
152
+ "clike",
153
+ "markup-templating"
154
+ ],
155
+ textile: "markup",
156
+ twig: "markup-templating",
157
+ typescript: "javascript",
158
+ v: "clike",
159
+ vala: "clike",
160
+ vbnet: "basic",
161
+ velocity: "markup",
162
+ wiki: "markup",
163
+ xeora: "markup",
164
+ "xml-doc": "markup",
165
+ xquery: "markup"
166
+ }
167
+ ), k = (
168
+ /*aliases_placeholder[*/
169
+ {
170
+ html: "markup",
171
+ xml: "markup",
172
+ svg: "markup",
173
+ mathml: "markup",
174
+ ssml: "markup",
175
+ atom: "markup",
176
+ rss: "markup",
177
+ js: "javascript",
178
+ g4: "antlr4",
179
+ ino: "arduino",
180
+ "arm-asm": "armasm",
181
+ art: "arturo",
182
+ adoc: "asciidoc",
183
+ avs: "avisynth",
184
+ avdl: "avro-idl",
185
+ gawk: "awk",
186
+ sh: "bash",
187
+ shell: "bash",
188
+ shortcode: "bbcode",
189
+ rbnf: "bnf",
190
+ oscript: "bsl",
191
+ cs: "csharp",
192
+ dotnet: "csharp",
193
+ cfc: "cfscript",
194
+ "cilk-c": "cilkc",
195
+ "cilk-cpp": "cilkcpp",
196
+ cilk: "cilkcpp",
197
+ coffee: "coffeescript",
198
+ conc: "concurnas",
199
+ jinja2: "django",
200
+ "dns-zone": "dns-zone-file",
201
+ dockerfile: "docker",
202
+ gv: "dot",
203
+ eta: "ejs",
204
+ xlsx: "excel-formula",
205
+ xls: "excel-formula",
206
+ gamemakerlanguage: "gml",
207
+ po: "gettext",
208
+ gni: "gn",
209
+ ld: "linker-script",
210
+ "go-mod": "go-module",
211
+ hbs: "handlebars",
212
+ mustache: "handlebars",
213
+ hs: "haskell",
214
+ idr: "idris",
215
+ gitignore: "ignore",
216
+ hgignore: "ignore",
217
+ npmignore: "ignore",
218
+ webmanifest: "json",
219
+ kt: "kotlin",
220
+ kts: "kotlin",
221
+ kum: "kumir",
222
+ tex: "latex",
223
+ context: "latex",
224
+ ly: "lilypond",
225
+ emacs: "lisp",
226
+ elisp: "lisp",
227
+ "emacs-lisp": "lisp",
228
+ md: "markdown",
229
+ moon: "moonscript",
230
+ n4jsd: "n4js",
231
+ nani: "naniscript",
232
+ objc: "objectivec",
233
+ qasm: "openqasm",
234
+ objectpascal: "pascal",
235
+ px: "pcaxis",
236
+ pcode: "peoplecode",
237
+ plantuml: "plant-uml",
238
+ pq: "powerquery",
239
+ mscript: "powerquery",
240
+ pbfasm: "purebasic",
241
+ purs: "purescript",
242
+ py: "python",
243
+ qs: "qsharp",
244
+ rkt: "racket",
245
+ razor: "cshtml",
246
+ rpy: "renpy",
247
+ res: "rescript",
248
+ robot: "robotframework",
249
+ rb: "ruby",
250
+ "sh-session": "shell-session",
251
+ shellsession: "shell-session",
252
+ smlnj: "sml",
253
+ sol: "solidity",
254
+ sln: "solution-file",
255
+ rq: "sparql",
256
+ sclang: "supercollider",
257
+ t4: "t4-cs",
258
+ trickle: "tremor",
259
+ troy: "tremor",
260
+ trig: "turtle",
261
+ ts: "typescript",
262
+ tsconfig: "typoscript",
263
+ uscript: "unrealscript",
264
+ uc: "unrealscript",
265
+ url: "uri",
266
+ vb: "visual-basic",
267
+ vba: "visual-basic",
268
+ webidl: "web-idl",
269
+ mathematica: "wolfram",
270
+ nb: "wolfram",
271
+ wl: "wolfram",
272
+ xeoracube: "xeora",
273
+ yml: "yaml"
274
+ }
275
+ ), l = {}, y = "none", p = "components/", m = Prism.util.currentScript();
276
+ if (m) {
277
+ var d = /\bplugins\/autoloader\/prism-autoloader\.(?:min\.)?js(?:\?[^\r\n/]*)?$/i, g = /(^|\/)[\w-]+\.(?:min\.)?js(?:\?[^\r\n/]*)?$/i, h = m.getAttribute("data-autoloader-path");
278
+ if (h != null)
279
+ p = h.trim().replace(/\/?$/, "/");
280
+ else {
281
+ var n = m.src;
282
+ d.test(n) ? p = n.replace(d, "components/") : g.test(n) && (p = n.replace(g, "$1components/"));
283
+ }
284
+ }
285
+ var f = Prism.plugins.autoloader = {
286
+ languages_path: p,
287
+ use_minified: !0,
288
+ loadLanguages: u
289
+ };
290
+ function x(a, r, s) {
291
+ var e = document.createElement("script");
292
+ e.src = a, e.async = !0, e.onload = function() {
293
+ document.body.removeChild(e), r && r();
294
+ }, e.onerror = function() {
295
+ document.body.removeChild(e), s && s();
296
+ }, document.body.appendChild(e);
297
+ }
298
+ function q(a) {
299
+ var r = (a.getAttribute("data-dependencies") || "").trim();
300
+ if (!r) {
301
+ var s = a.parentElement;
302
+ s && s.tagName.toLowerCase() === "pre" && (r = (s.getAttribute("data-dependencies") || "").trim());
303
+ }
304
+ return r ? r.split(/\s*,\s*/g) : [];
305
+ }
306
+ function v(a) {
307
+ if (a.indexOf("!") >= 0)
308
+ return !1;
309
+ if (a = k[a] || a, a in Prism.languages)
310
+ return !0;
311
+ var r = l[a];
312
+ return r && !r.error && r.loading === !1;
313
+ }
314
+ function w(a) {
315
+ return f.languages_path + "prism-" + a + (f.use_minified ? ".min" : "") + ".js";
316
+ }
317
+ function u(a, r, s) {
318
+ typeof a == "string" && (a = [a]);
319
+ var e = a.length, c = 0, i = !1;
320
+ if (e === 0) {
321
+ r && setTimeout(r, 0);
322
+ return;
323
+ }
324
+ function t() {
325
+ i || (c++, c === e && r && r(a));
326
+ }
327
+ a.forEach(function(b) {
328
+ P(b, t, function() {
329
+ i || (i = !0, s && s(b));
330
+ });
331
+ });
332
+ }
333
+ function P(a, r, s) {
334
+ var e = a.indexOf("!") >= 0;
335
+ a = a.replace("!", ""), a = k[a] || a;
336
+ function c() {
337
+ var t = l[a];
338
+ t || (t = l[a] = {
339
+ callbacks: []
340
+ }), t.callbacks.push({
341
+ success: r,
342
+ error: s
343
+ }), !e && v(a) ? o(a, "success") : !e && t.error ? o(a, "error") : (e || !t.loading) && (t.loading = !0, t.error = !1, x(w(a), function() {
344
+ t.loading = !1, o(a, "success");
345
+ }, function() {
346
+ t.loading = !1, t.error = !0, o(a, "error");
347
+ }));
348
+ }
349
+ var i = j[a];
350
+ i && i.length ? u(i, c, s) : c();
351
+ }
352
+ function o(a, r) {
353
+ if (l[a]) {
354
+ for (var s = l[a].callbacks, e = 0, c = s.length; e < c; e++) {
355
+ var i = s[e][r];
356
+ i && setTimeout(i, 0);
357
+ }
358
+ s.length = 0;
359
+ }
360
+ }
361
+ Prism.hooks.add("complete", function(a) {
362
+ var r = a.element, s = a.language;
363
+ if (!(!r || !s || s === y)) {
364
+ var e = q(r);
365
+ /^diff-./i.test(s) ? (e.push("diff"), e.push(s.substr(5))) : e.push(s), e.every(v) || u(e, function() {
366
+ Prism.highlightElement(r);
367
+ });
368
+ }
369
+ });
370
+ })();
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "vue",
16
16
  "vue3"
17
17
  ],
18
- "version": "1.20.5",
18
+ "version": "1.20.7",
19
19
  "engines": {
20
20
  "node": ">=18"
21
21
  },
@@ -64,12 +64,12 @@
64
64
  "unhead": "^1.8.3",
65
65
  "unified": "^11.0.4",
66
66
  "vue-sonner": "^1.0.3",
67
- "@scalar/api-client": "1.1.3",
67
+ "@scalar/api-client": "1.1.5",
68
+ "@scalar/components": "0.4.5",
68
69
  "@scalar/oas-utils": "0.1.1",
69
- "@scalar/themes": "0.6.5",
70
- "@scalar/components": "0.4.4",
70
+ "@scalar/use-modal": "0.2.9",
71
71
  "@scalar/use-tooltip": "0.5.12",
72
- "@scalar/use-modal": "0.2.9"
72
+ "@scalar/themes": "0.6.5"
73
73
  },
74
74
  "devDependencies": {
75
75
  "@etchteam/storybook-addon-css-variables-theme": "^1.5.1",