@scalar/api-client 1.2.12 → 1.2.16
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/CHANGELOG.md +51 -0
- package/dist/Hide-Q3GPkIKH-40aIsLtN.js +21 -0
- package/dist/Show-D86hKz5y-CF9Pv7FS.js +21 -0
- package/dist/components/ApiClient/Request/RequestAuthentication/CardFormTextInput.vue.d.ts.map +1 -1
- package/dist/components/Grid/GridRowGenerated.vue.d.ts +1 -1
- package/dist/components/Grid/GridRowGenerated.vue.d.ts.map +1 -1
- package/dist/index.css +44 -37
- package/dist/index.js +342 -298
- package/dist/stores/useAuthenticationStore.d.ts +1 -1
- package/dist/stores/useAuthenticationStore.d.ts.map +1 -1
- package/dist/stores/useOpenApiStore.d.ts +1 -37
- package/dist/stores/useOpenApiStore.d.ts.map +1 -1
- package/package.json +15 -15
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5
5
|
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
6
6
|
return value;
|
|
7
7
|
};
|
|
8
|
-
import { defineComponent, openBlock, createBlock, resolveDynamicComponent,
|
|
8
|
+
import { defineComponent, openBlock, createBlock, resolveDynamicComponent, unref, createElementBlock, Fragment, createCommentVNode, withCtx, createTextVNode, toDisplayString, onMounted, useCssModule, renderSlot, reactive, readonly, ref, computed, normalizeStyle, normalizeProps, guardReactiveProps, watch, onBeforeUnmount, toValue as toValue$1, toRef, createElementVNode, createVNode, normalizeClass, renderList, createStaticVNode, pushScopeId, popScopeId, useAttrs, mergeProps, nextTick, onServerPrefetch, useSSRContext, defineAsyncComponent, useCssVars, Teleport, withModifiers, withDirectives, vModelText, vModelCheckbox, vShow, toRaw, withKeys } from "vue";
|
|
9
9
|
import { Dialog, DialogPanel, DialogTitle, DialogDescription, Disclosure, DisclosureButton, DisclosurePanel, Listbox, ListboxButton, ListboxOptions, ListboxOption, TabGroup, TabList, Tab, TabPanels, TabPanel } from "@headlessui/vue";
|
|
10
10
|
import { useMagicKeys, whenever, useEventBus, useMediaQuery } from "@vueuse/core";
|
|
11
11
|
import axios from "axios";
|
|
@@ -29,12 +29,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
29
29
|
__name: "DefaultFonts",
|
|
30
30
|
setup(__props) {
|
|
31
31
|
return (_ctx, _cache) => {
|
|
32
|
-
return openBlock(), createBlock(resolveDynamicComponent("style"), null,
|
|
33
|
-
default: withCtx(() => [
|
|
34
|
-
createTextVNode(toDisplayString(unref(fonts)), 1)
|
|
35
|
-
]),
|
|
36
|
-
_: 1
|
|
37
|
-
});
|
|
32
|
+
return openBlock(), createBlock(resolveDynamicComponent("style"), { innerHTML: unref(fonts) }, null, 8, ["innerHTML"]);
|
|
38
33
|
};
|
|
39
34
|
}
|
|
40
35
|
});
|
|
@@ -264,7 +259,7 @@ function initVisitor(visitor) {
|
|
|
264
259
|
return visitor;
|
|
265
260
|
}
|
|
266
261
|
function callVisitor(key, node, visitor, path) {
|
|
267
|
-
var _a2, _b, _c, _d,
|
|
262
|
+
var _a2, _b, _c, _d, _e;
|
|
268
263
|
if (typeof visitor === "function")
|
|
269
264
|
return visitor(key, node, path);
|
|
270
265
|
if (isMap(node))
|
|
@@ -276,7 +271,7 @@ function callVisitor(key, node, visitor, path) {
|
|
|
276
271
|
if (isScalar(node))
|
|
277
272
|
return (_d = visitor.Scalar) == null ? void 0 : _d.call(visitor, key, node, path);
|
|
278
273
|
if (isAlias(node))
|
|
279
|
-
return (
|
|
274
|
+
return (_e = visitor.Alias) == null ? void 0 : _e.call(visitor, key, node, path);
|
|
280
275
|
return void 0;
|
|
281
276
|
}
|
|
282
277
|
function replaceNode(key, path, node) {
|
|
@@ -614,7 +609,7 @@ class Collection extends NodeBase {
|
|
|
614
609
|
const copy = Object.create(Object.getPrototypeOf(this), Object.getOwnPropertyDescriptors(this));
|
|
615
610
|
if (schema)
|
|
616
611
|
copy.schema = schema;
|
|
617
|
-
copy.items = copy.items.map((
|
|
612
|
+
copy.items = copy.items.map((it) => isNode(it) || isPair(it) ? it.clone(schema) : it);
|
|
618
613
|
if (this.range)
|
|
619
614
|
copy.range = this.range.slice();
|
|
620
615
|
return copy;
|
|
@@ -779,12 +774,12 @@ function foldFlowLines(text, indent, mode = "flow", { indentAtStart, lineWidth =
|
|
|
779
774
|
ch = text[i += 1];
|
|
780
775
|
overflow = true;
|
|
781
776
|
}
|
|
782
|
-
const
|
|
783
|
-
if (escapedFolds[
|
|
777
|
+
const j2 = i > escEnd + 1 ? i - 2 : escStart - 1;
|
|
778
|
+
if (escapedFolds[j2])
|
|
784
779
|
return text;
|
|
785
|
-
folds.push(
|
|
786
|
-
escapedFolds[
|
|
787
|
-
end =
|
|
780
|
+
folds.push(j2);
|
|
781
|
+
escapedFolds[j2] = true;
|
|
782
|
+
end = j2 + endStep;
|
|
788
783
|
split = void 0;
|
|
789
784
|
} else {
|
|
790
785
|
overflow = true;
|
|
@@ -1346,11 +1341,11 @@ function addPairToJSMap(ctx, map, { key, value }) {
|
|
|
1346
1341
|
if ((ctx == null ? void 0 : ctx.doc.schema.merge) && isMergeKey(key)) {
|
|
1347
1342
|
value = isAlias(value) ? value.resolve(ctx.doc) : value;
|
|
1348
1343
|
if (isSeq(value))
|
|
1349
|
-
for (const
|
|
1350
|
-
mergeToJSMap(ctx, map,
|
|
1344
|
+
for (const it of value.items)
|
|
1345
|
+
mergeToJSMap(ctx, map, it);
|
|
1351
1346
|
else if (Array.isArray(value))
|
|
1352
|
-
for (const
|
|
1353
|
-
mergeToJSMap(ctx, map,
|
|
1347
|
+
for (const it of value)
|
|
1348
|
+
mergeToJSMap(ctx, map, it);
|
|
1354
1349
|
else
|
|
1355
1350
|
mergeToJSMap(ctx, map, value);
|
|
1356
1351
|
} else {
|
|
@@ -1584,12 +1579,12 @@ function addCommentBefore({ indent, options: { commentString } }, lines, comment
|
|
|
1584
1579
|
}
|
|
1585
1580
|
function findPair(items, key) {
|
|
1586
1581
|
const k = isScalar(key) ? key.value : key;
|
|
1587
|
-
for (const
|
|
1588
|
-
if (isPair(
|
|
1589
|
-
if (
|
|
1590
|
-
return
|
|
1591
|
-
if (isScalar(
|
|
1592
|
-
return
|
|
1582
|
+
for (const it of items) {
|
|
1583
|
+
if (isPair(it)) {
|
|
1584
|
+
if (it.key === key || it.key === k)
|
|
1585
|
+
return it;
|
|
1586
|
+
if (isScalar(it.key) && it.key.value === k)
|
|
1587
|
+
return it;
|
|
1593
1588
|
}
|
|
1594
1589
|
}
|
|
1595
1590
|
return void 0;
|
|
@@ -1664,15 +1659,15 @@ class YAMLMap extends Collection {
|
|
|
1664
1659
|
}
|
|
1665
1660
|
}
|
|
1666
1661
|
delete(key) {
|
|
1667
|
-
const
|
|
1668
|
-
if (!
|
|
1662
|
+
const it = findPair(this.items, key);
|
|
1663
|
+
if (!it)
|
|
1669
1664
|
return false;
|
|
1670
|
-
const del = this.items.splice(this.items.indexOf(
|
|
1665
|
+
const del = this.items.splice(this.items.indexOf(it), 1);
|
|
1671
1666
|
return del.length > 0;
|
|
1672
1667
|
}
|
|
1673
1668
|
get(key, keepScalar) {
|
|
1674
|
-
const
|
|
1675
|
-
const node =
|
|
1669
|
+
const it = findPair(this.items, key);
|
|
1670
|
+
const node = it == null ? void 0 : it.value;
|
|
1676
1671
|
return (!keepScalar && isScalar(node) ? node.value : node) ?? void 0;
|
|
1677
1672
|
}
|
|
1678
1673
|
has(key) {
|
|
@@ -1742,8 +1737,8 @@ class YAMLSeq extends Collection {
|
|
|
1742
1737
|
const idx = asItemIndex(key);
|
|
1743
1738
|
if (typeof idx !== "number")
|
|
1744
1739
|
return void 0;
|
|
1745
|
-
const
|
|
1746
|
-
return !keepScalar && isScalar(
|
|
1740
|
+
const it = this.items[idx];
|
|
1741
|
+
return !keepScalar && isScalar(it) ? it.value : it;
|
|
1747
1742
|
}
|
|
1748
1743
|
/**
|
|
1749
1744
|
* Checks if the collection includes a value with the key `key`.
|
|
@@ -1797,12 +1792,12 @@ class YAMLSeq extends Collection {
|
|
|
1797
1792
|
const seq = new this(schema);
|
|
1798
1793
|
if (obj && Symbol.iterator in Object(obj)) {
|
|
1799
1794
|
let i = 0;
|
|
1800
|
-
for (let
|
|
1795
|
+
for (let it of obj) {
|
|
1801
1796
|
if (typeof replacer === "function") {
|
|
1802
|
-
const key = obj instanceof Set ?
|
|
1803
|
-
|
|
1797
|
+
const key = obj instanceof Set ? it : String(i++);
|
|
1798
|
+
it = replacer.call(obj, key, it);
|
|
1804
1799
|
}
|
|
1805
|
-
seq.items.push(createNode(
|
|
1800
|
+
seq.items.push(createNode(it, void 0, ctx));
|
|
1806
1801
|
}
|
|
1807
1802
|
}
|
|
1808
1803
|
return seq;
|
|
@@ -1820,26 +1815,26 @@ function createPairs(schema, iterable, ctx) {
|
|
|
1820
1815
|
pairs.tag = "tag:yaml.org,2002:pairs";
|
|
1821
1816
|
let i = 0;
|
|
1822
1817
|
if (iterable && Symbol.iterator in Object(iterable))
|
|
1823
|
-
for (let
|
|
1818
|
+
for (let it of iterable) {
|
|
1824
1819
|
if (typeof replacer === "function")
|
|
1825
|
-
|
|
1820
|
+
it = replacer.call(iterable, String(i++), it);
|
|
1826
1821
|
let key, value;
|
|
1827
|
-
if (Array.isArray(
|
|
1828
|
-
if (
|
|
1829
|
-
key =
|
|
1830
|
-
value =
|
|
1822
|
+
if (Array.isArray(it)) {
|
|
1823
|
+
if (it.length === 2) {
|
|
1824
|
+
key = it[0];
|
|
1825
|
+
value = it[1];
|
|
1831
1826
|
} else
|
|
1832
|
-
throw new TypeError(`Expected [key, value] tuple: ${
|
|
1833
|
-
} else if (
|
|
1834
|
-
const keys = Object.keys(
|
|
1827
|
+
throw new TypeError(`Expected [key, value] tuple: ${it}`);
|
|
1828
|
+
} else if (it && it instanceof Object) {
|
|
1829
|
+
const keys = Object.keys(it);
|
|
1835
1830
|
if (keys.length === 1) {
|
|
1836
1831
|
key = keys[0];
|
|
1837
|
-
value =
|
|
1832
|
+
value = it[key];
|
|
1838
1833
|
} else {
|
|
1839
1834
|
throw new TypeError(`Expected tuple with one key, not ${keys.length} keys`);
|
|
1840
1835
|
}
|
|
1841
1836
|
} else {
|
|
1842
|
-
key =
|
|
1837
|
+
key = it;
|
|
1843
1838
|
}
|
|
1844
1839
|
pairs.items.push(createPair(key, value, ctx));
|
|
1845
1840
|
}
|
|
@@ -5266,8 +5261,8 @@ class EditorState {
|
|
|
5266
5261
|
for (let i = 1; i < sel.ranges.length; i++) {
|
|
5267
5262
|
let result = f(sel.ranges[i]);
|
|
5268
5263
|
let newChanges = this.changes(result.changes), newMapped = newChanges.map(changes);
|
|
5269
|
-
for (let
|
|
5270
|
-
ranges[
|
|
5264
|
+
for (let j2 = 0; j2 < i; j2++)
|
|
5265
|
+
ranges[j2] = ranges[j2].map(newMapped);
|
|
5271
5266
|
let mapBy = changes.mapDesc(newChanges, true);
|
|
5272
5267
|
ranges.push(result.range.map(mapBy));
|
|
5273
5268
|
changes = changes.compose(newMapped);
|
|
@@ -6405,24 +6400,24 @@ class StyleSet {
|
|
|
6405
6400
|
}
|
|
6406
6401
|
mount(modules) {
|
|
6407
6402
|
let sheet = this.sheet;
|
|
6408
|
-
let pos = 0,
|
|
6403
|
+
let pos = 0, j2 = 0;
|
|
6409
6404
|
for (let i = 0; i < modules.length; i++) {
|
|
6410
6405
|
let mod = modules[i], index = this.modules.indexOf(mod);
|
|
6411
|
-
if (index <
|
|
6406
|
+
if (index < j2 && index > -1) {
|
|
6412
6407
|
this.modules.splice(index, 1);
|
|
6413
|
-
|
|
6408
|
+
j2--;
|
|
6414
6409
|
index = -1;
|
|
6415
6410
|
}
|
|
6416
6411
|
if (index == -1) {
|
|
6417
|
-
this.modules.splice(
|
|
6412
|
+
this.modules.splice(j2++, 0, mod);
|
|
6418
6413
|
if (sheet)
|
|
6419
6414
|
for (let k = 0; k < mod.rules.length; k++)
|
|
6420
6415
|
sheet.insertRule(mod.rules[k], pos++);
|
|
6421
6416
|
} else {
|
|
6422
|
-
while (
|
|
6423
|
-
pos += this.modules[
|
|
6417
|
+
while (j2 < index)
|
|
6418
|
+
pos += this.modules[j2++].rules.length;
|
|
6424
6419
|
pos += mod.rules.length;
|
|
6425
|
-
|
|
6420
|
+
j2++;
|
|
6426
6421
|
}
|
|
6427
6422
|
}
|
|
6428
6423
|
if (sheet) {
|
|
@@ -7524,13 +7519,13 @@ function inlineDOMAtPos(parent, pos) {
|
|
|
7524
7519
|
break;
|
|
7525
7520
|
off = end;
|
|
7526
7521
|
}
|
|
7527
|
-
for (let
|
|
7528
|
-
let prev = children[
|
|
7522
|
+
for (let j2 = i; j2 > 0; j2--) {
|
|
7523
|
+
let prev = children[j2 - 1];
|
|
7529
7524
|
if (prev.dom.parentNode == dom)
|
|
7530
7525
|
return prev.domAtPos(prev.length);
|
|
7531
7526
|
}
|
|
7532
|
-
for (let
|
|
7533
|
-
let next = children[
|
|
7527
|
+
for (let j2 = i; j2 < children.length; j2++) {
|
|
7528
|
+
let next = children[j2];
|
|
7534
7529
|
if (next.dom.parentNode == dom)
|
|
7535
7530
|
return next.domAtPos(0);
|
|
7536
7531
|
}
|
|
@@ -7671,8 +7666,8 @@ class LineView extends ContentView {
|
|
|
7671
7666
|
this.children[i].merge(off, this.children[i].length, null, false, 0, 0);
|
|
7672
7667
|
i++;
|
|
7673
7668
|
}
|
|
7674
|
-
for (let
|
|
7675
|
-
end.append(this.children[
|
|
7669
|
+
for (let j2 = i; j2 < this.children.length; j2++)
|
|
7670
|
+
end.append(this.children[j2], 0);
|
|
7676
7671
|
while (i > 0 && this.children[i - 1].length == 0)
|
|
7677
7672
|
this.children[--i].destroy();
|
|
7678
7673
|
this.children.length = i;
|
|
@@ -8402,8 +8397,8 @@ function computeCharTypes(line, rFrom, rTo, isolates, outerType) {
|
|
|
8402
8397
|
while (end < to && types[end] == 64)
|
|
8403
8398
|
end++;
|
|
8404
8399
|
let replace = i && prev == 8 || end < rTo && types[end] == 8 ? prevStrong == 1 ? 1 : 8 : 256;
|
|
8405
|
-
for (let
|
|
8406
|
-
types[
|
|
8400
|
+
for (let j2 = i; j2 < end; j2++)
|
|
8401
|
+
types[j2] = replace;
|
|
8407
8402
|
i = end - 1;
|
|
8408
8403
|
} else if (type == 8 && prevStrong == 1) {
|
|
8409
8404
|
types[i] = 1;
|
|
@@ -8479,12 +8474,12 @@ function processNeutrals(rFrom, rTo, isolates, outerType) {
|
|
|
8479
8474
|
let beforeL = prev == 1;
|
|
8480
8475
|
let afterL = (end < rTo ? types[end] : outerType) == 1;
|
|
8481
8476
|
let replace = beforeL == afterL ? beforeL ? 1 : 2 : outerType;
|
|
8482
|
-
for (let
|
|
8483
|
-
if (
|
|
8484
|
-
|
|
8477
|
+
for (let j2 = end, jI = iI, fromJ = jI ? isolates[jI - 1].to : rFrom; j2 > i; ) {
|
|
8478
|
+
if (j2 == fromJ) {
|
|
8479
|
+
j2 = isolates[--jI].from;
|
|
8485
8480
|
fromJ = jI ? isolates[jI - 1].to : rFrom;
|
|
8486
8481
|
}
|
|
8487
|
-
types[--
|
|
8482
|
+
types[--j2] = replace;
|
|
8488
8483
|
}
|
|
8489
8484
|
i = end;
|
|
8490
8485
|
} else {
|
|
@@ -9664,8 +9659,8 @@ function domPosInText(node, x, y) {
|
|
|
9664
9659
|
let closestOffset = -1, closestDY = 1e9, generalSide = 0;
|
|
9665
9660
|
for (let i = 0; i < len; i++) {
|
|
9666
9661
|
let rects = textRange(node, i, i + 1).getClientRects();
|
|
9667
|
-
for (let
|
|
9668
|
-
let rect = rects[
|
|
9662
|
+
for (let j2 = 0; j2 < rects.length; j2++) {
|
|
9663
|
+
let rect = rects[j2];
|
|
9669
9664
|
if (rect.top == rect.bottom)
|
|
9670
9665
|
continue;
|
|
9671
9666
|
if (!generalSide)
|
|
@@ -10827,24 +10822,24 @@ class HeightMap {
|
|
|
10827
10822
|
static of(nodes) {
|
|
10828
10823
|
if (nodes.length == 1)
|
|
10829
10824
|
return nodes[0];
|
|
10830
|
-
let i = 0,
|
|
10825
|
+
let i = 0, j2 = nodes.length, before = 0, after = 0;
|
|
10831
10826
|
for (; ; ) {
|
|
10832
|
-
if (i ==
|
|
10827
|
+
if (i == j2) {
|
|
10833
10828
|
if (before > after * 2) {
|
|
10834
10829
|
let split = nodes[i - 1];
|
|
10835
10830
|
if (split.break)
|
|
10836
10831
|
nodes.splice(--i, 1, split.left, null, split.right);
|
|
10837
10832
|
else
|
|
10838
10833
|
nodes.splice(--i, 1, split.left, split.right);
|
|
10839
|
-
|
|
10834
|
+
j2 += 1 + split.break;
|
|
10840
10835
|
before -= split.size;
|
|
10841
10836
|
} else if (after > before * 2) {
|
|
10842
|
-
let split = nodes[
|
|
10837
|
+
let split = nodes[j2];
|
|
10843
10838
|
if (split.break)
|
|
10844
|
-
nodes.splice(
|
|
10839
|
+
nodes.splice(j2, 1, split.left, null, split.right);
|
|
10845
10840
|
else
|
|
10846
|
-
nodes.splice(
|
|
10847
|
-
|
|
10841
|
+
nodes.splice(j2, 1, split.left, split.right);
|
|
10842
|
+
j2 += 2 + split.break;
|
|
10848
10843
|
after -= split.size;
|
|
10849
10844
|
} else {
|
|
10850
10845
|
break;
|
|
@@ -10854,7 +10849,7 @@ class HeightMap {
|
|
|
10854
10849
|
if (next)
|
|
10855
10850
|
before += next.size;
|
|
10856
10851
|
} else {
|
|
10857
|
-
let next = nodes[--
|
|
10852
|
+
let next = nodes[--j2];
|
|
10858
10853
|
if (next)
|
|
10859
10854
|
after += next.size;
|
|
10860
10855
|
}
|
|
@@ -10865,9 +10860,9 @@ class HeightMap {
|
|
|
10865
10860
|
i--;
|
|
10866
10861
|
} else if (nodes[i] == null) {
|
|
10867
10862
|
brk = 1;
|
|
10868
|
-
|
|
10863
|
+
j2++;
|
|
10869
10864
|
}
|
|
10870
|
-
return new HeightMapBranch(HeightMap.of(nodes.slice(0, i)), brk, HeightMap.of(nodes.slice(
|
|
10865
|
+
return new HeightMapBranch(HeightMap.of(nodes.slice(0, i)), brk, HeightMap.of(nodes.slice(j2)));
|
|
10871
10866
|
}
|
|
10872
10867
|
}
|
|
10873
10868
|
HeightMap.prototype.size = 1;
|
|
@@ -15468,11 +15463,11 @@ class TreeBuffer {
|
|
|
15468
15463
|
slice(startI, endI, from) {
|
|
15469
15464
|
let b = this.buffer;
|
|
15470
15465
|
let copy = new Uint16Array(endI - startI), len = 0;
|
|
15471
|
-
for (let i = startI,
|
|
15472
|
-
copy[
|
|
15473
|
-
copy[
|
|
15474
|
-
let to = copy[
|
|
15475
|
-
copy[
|
|
15466
|
+
for (let i = startI, j2 = 0; i < endI; ) {
|
|
15467
|
+
copy[j2++] = b[i++];
|
|
15468
|
+
copy[j2++] = b[i++] - from;
|
|
15469
|
+
let to = copy[j2++] = b[i++] - from;
|
|
15470
|
+
copy[j2++] = b[i++] - startI;
|
|
15476
15471
|
len = Math.max(len, to);
|
|
15477
15472
|
}
|
|
15478
15473
|
return new TreeBuffer(copy, len, this.set);
|
|
@@ -16324,11 +16319,11 @@ function buildTree(data) {
|
|
|
16324
16319
|
if (nodeCount) {
|
|
16325
16320
|
let buffer2 = new Uint16Array(nodeCount * 4);
|
|
16326
16321
|
let start = nodes[nodes.length - 2];
|
|
16327
|
-
for (let i = nodes.length - 3,
|
|
16328
|
-
buffer2[
|
|
16329
|
-
buffer2[
|
|
16330
|
-
buffer2[
|
|
16331
|
-
buffer2[
|
|
16322
|
+
for (let i = nodes.length - 3, j2 = 0; i >= 0; i -= 3) {
|
|
16323
|
+
buffer2[j2++] = nodes[i];
|
|
16324
|
+
buffer2[j2++] = nodes[i + 1] - start;
|
|
16325
|
+
buffer2[j2++] = nodes[i + 2] - start;
|
|
16326
|
+
buffer2[j2++] = j2;
|
|
16332
16327
|
}
|
|
16333
16328
|
children2.push(new TreeBuffer(buffer2, nodes[2] - start, nodeSet));
|
|
16334
16329
|
positions2.push(start - parentStart);
|
|
@@ -16952,10 +16947,10 @@ let FragmentCursor$1 = class FragmentCursor {
|
|
|
16952
16947
|
};
|
|
16953
16948
|
function punchRanges(outer, ranges) {
|
|
16954
16949
|
let copy = null, current = ranges;
|
|
16955
|
-
for (let i = 1,
|
|
16950
|
+
for (let i = 1, j2 = 0; i < outer.length; i++) {
|
|
16956
16951
|
let gapFrom = outer[i - 1].to, gapTo = outer[i].from;
|
|
16957
|
-
for (;
|
|
16958
|
-
let r2 = current[
|
|
16952
|
+
for (; j2 < current.length; j2++) {
|
|
16953
|
+
let r2 = current[j2];
|
|
16959
16954
|
if (r2.from >= gapTo)
|
|
16960
16955
|
break;
|
|
16961
16956
|
if (r2.to <= gapFrom)
|
|
@@ -16963,13 +16958,13 @@ function punchRanges(outer, ranges) {
|
|
|
16963
16958
|
if (!copy)
|
|
16964
16959
|
current = copy = ranges.slice();
|
|
16965
16960
|
if (r2.from < gapFrom) {
|
|
16966
|
-
copy[
|
|
16961
|
+
copy[j2] = new Range2(r2.from, gapFrom);
|
|
16967
16962
|
if (r2.to > gapTo)
|
|
16968
|
-
copy.splice(
|
|
16963
|
+
copy.splice(j2 + 1, 0, new Range2(gapTo, r2.to));
|
|
16969
16964
|
} else if (r2.to > gapTo) {
|
|
16970
|
-
copy[
|
|
16965
|
+
copy[j2--] = new Range2(gapTo, r2.to);
|
|
16971
16966
|
} else {
|
|
16972
|
-
copy.splice(
|
|
16967
|
+
copy.splice(j2--, 1);
|
|
16973
16968
|
}
|
|
16974
16969
|
}
|
|
16975
16970
|
}
|
|
@@ -17108,8 +17103,8 @@ function sameArray(a, b) {
|
|
|
17108
17103
|
function powerSet(array) {
|
|
17109
17104
|
let sets = [[]];
|
|
17110
17105
|
for (let i = 0; i < array.length; i++) {
|
|
17111
|
-
for (let
|
|
17112
|
-
sets.push(sets[
|
|
17106
|
+
for (let j2 = 0, e = sets.length; j2 < e; j2++) {
|
|
17107
|
+
sets.push(sets[j2].concat(array[i]));
|
|
17113
17108
|
}
|
|
17114
17109
|
}
|
|
17115
17110
|
return sets.sort((a, b) => b.length - a.length);
|
|
@@ -19254,8 +19249,8 @@ function optionContent(config2) {
|
|
|
19254
19249
|
let labelElt = document.createElement("span");
|
|
19255
19250
|
labelElt.className = "cm-completionLabel";
|
|
19256
19251
|
let label = completion.displayLabel || completion.label, off = 0;
|
|
19257
|
-
for (let
|
|
19258
|
-
let from = match[
|
|
19252
|
+
for (let j2 = 0; j2 < match.length; ) {
|
|
19253
|
+
let from = match[j2++], to = match[j2++];
|
|
19259
19254
|
if (from > off)
|
|
19260
19255
|
labelElt.appendChild(document.createTextNode(label.slice(off, from)));
|
|
19261
19256
|
let span = labelElt.appendChild(document.createElement("span"));
|
|
@@ -21877,11 +21872,11 @@ class Parse {
|
|
|
21877
21872
|
outer:
|
|
21878
21873
|
for (let i = 0; i < newStacks.length - 1; i++) {
|
|
21879
21874
|
let stack = newStacks[i];
|
|
21880
|
-
for (let
|
|
21881
|
-
let other = newStacks[
|
|
21875
|
+
for (let j2 = i + 1; j2 < newStacks.length; j2++) {
|
|
21876
|
+
let other = newStacks[j2];
|
|
21882
21877
|
if (stack.sameState(other) || stack.buffer.length > 500 && other.buffer.length > 500) {
|
|
21883
21878
|
if ((stack.score - other.score || stack.buffer.length - other.buffer.length) > 0) {
|
|
21884
|
-
newStacks.splice(
|
|
21879
|
+
newStacks.splice(j2--, 1);
|
|
21885
21880
|
} else {
|
|
21886
21881
|
newStacks.splice(i--, 1);
|
|
21887
21882
|
continue outer;
|
|
@@ -22005,7 +22000,7 @@ class Parse {
|
|
|
22005
22000
|
continue;
|
|
22006
22001
|
}
|
|
22007
22002
|
let force = stack.split(), forceBase = base2;
|
|
22008
|
-
for (let
|
|
22003
|
+
for (let j2 = 0; force.forceReduce() && j2 < 10; j2++) {
|
|
22009
22004
|
if (verbose)
|
|
22010
22005
|
console.log(forceBase + this.stackID(force) + " (via force-reduce)");
|
|
22011
22006
|
let done = this.advanceFully(force, newStacks);
|
|
@@ -22121,7 +22116,7 @@ class LRParser extends Parser {
|
|
|
22121
22116
|
setProp(next, prop, propSpec[i++]);
|
|
22122
22117
|
} else {
|
|
22123
22118
|
let value = propSpec[i + -next];
|
|
22124
|
-
for (let
|
|
22119
|
+
for (let j2 = -next; j2 > 0; j2--)
|
|
22125
22120
|
setProp(propSpec[i++], prop, value);
|
|
22126
22121
|
i++;
|
|
22127
22122
|
}
|
|
@@ -22162,8 +22157,8 @@ class LRParser extends Parser {
|
|
|
22162
22157
|
}
|
|
22163
22158
|
createParse(input, fragments, ranges) {
|
|
22164
22159
|
let parse = new Parse(this, input, fragments, ranges);
|
|
22165
|
-
for (let
|
|
22166
|
-
parse =
|
|
22160
|
+
for (let w of this.wrappers)
|
|
22161
|
+
parse = w(parse, input, fragments, ranges);
|
|
22167
22162
|
return parse;
|
|
22168
22163
|
}
|
|
22169
22164
|
/**
|
|
@@ -22375,7 +22370,7 @@ class LRParser extends Parser {
|
|
|
22375
22370
|
let disabled = null;
|
|
22376
22371
|
for (let i = 0; i < values2.length; i++)
|
|
22377
22372
|
if (!flags[i]) {
|
|
22378
|
-
for (let
|
|
22373
|
+
for (let j2 = this.dialects[values2[i]], id2; (id2 = this.data[j2++]) != 65535; )
|
|
22379
22374
|
(disabled || (disabled = new Uint8Array(this.maxTerm + 1)))[id2] = 1;
|
|
22380
22375
|
}
|
|
22381
22376
|
return new Dialect(dialect, flags, disabled);
|
|
@@ -25897,7 +25892,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
25897
25892
|
};
|
|
25898
25893
|
}
|
|
25899
25894
|
});
|
|
25900
|
-
const FlowModal = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-
|
|
25895
|
+
const FlowModal = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-4aafbf68"]]);
|
|
25901
25896
|
const useModal = () => reactive({
|
|
25902
25897
|
open: false,
|
|
25903
25898
|
show() {
|
|
@@ -26322,7 +26317,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
26322
26317
|
};
|
|
26323
26318
|
}
|
|
26324
26319
|
});
|
|
26325
|
-
const RequestHistoryItem = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-
|
|
26320
|
+
const RequestHistoryItem = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-353c6d86"]]);
|
|
26326
26321
|
const _hoisted_1$u = { class: "navigation-content-item" };
|
|
26327
26322
|
const _hoisted_2$l = { class: "navtable" };
|
|
26328
26323
|
const _hoisted_3$f = { class: "navtable-table" };
|
|
@@ -26670,11 +26665,11 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
26670
26665
|
const _sfc_main$u = {};
|
|
26671
26666
|
const _hoisted_1$q = { class: "card-form" };
|
|
26672
26667
|
function _sfc_render$4(_ctx, _cache) {
|
|
26673
|
-
return openBlock(), createElementBlock("
|
|
26668
|
+
return openBlock(), createElementBlock("form", _hoisted_1$q, [
|
|
26674
26669
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
26675
26670
|
]);
|
|
26676
26671
|
}
|
|
26677
|
-
const CardForm = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["render", _sfc_render$4], ["__scopeId", "data-v-
|
|
26672
|
+
const CardForm = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["render", _sfc_render$4], ["__scopeId", "data-v-6ddec640"]]);
|
|
26678
26673
|
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
26679
26674
|
__name: "CardFormButton",
|
|
26680
26675
|
setup(__props, { expose: __expose }) {
|
|
@@ -26701,35 +26696,6 @@ function _sfc_render$3(_ctx, _cache) {
|
|
|
26701
26696
|
]);
|
|
26702
26697
|
}
|
|
26703
26698
|
const CardFormGroup = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$3], ["__scopeId", "data-v-d2f0b9a0"]]);
|
|
26704
|
-
const _hoisted_1$o = { class: "card-form-input" };
|
|
26705
|
-
const _hoisted_2$h = ["for"];
|
|
26706
|
-
const _hoisted_3$b = ["id", "type"];
|
|
26707
|
-
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
26708
|
-
...{
|
|
26709
|
-
inheritAttrs: false
|
|
26710
|
-
},
|
|
26711
|
-
__name: "CardFormTextInput",
|
|
26712
|
-
props: {
|
|
26713
|
-
id: {},
|
|
26714
|
-
type: {}
|
|
26715
|
-
},
|
|
26716
|
-
setup(__props) {
|
|
26717
|
-
return (_ctx, _cache) => {
|
|
26718
|
-
return openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
26719
|
-
createElementVNode("label", { for: _ctx.id }, [
|
|
26720
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
26721
|
-
], 8, _hoisted_2$h),
|
|
26722
|
-
createElementVNode("input", mergeProps(_ctx.$attrs, {
|
|
26723
|
-
id: _ctx.id,
|
|
26724
|
-
autocomplete: "off",
|
|
26725
|
-
spellcheck: "false",
|
|
26726
|
-
type: _ctx.type ?? "text"
|
|
26727
|
-
}), null, 16, _hoisted_3$b)
|
|
26728
|
-
]);
|
|
26729
|
-
};
|
|
26730
|
-
}
|
|
26731
|
-
});
|
|
26732
|
-
const CardFormTextInput = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-c36afa14"]]);
|
|
26733
26699
|
function r(e) {
|
|
26734
26700
|
var t2, f, n = "";
|
|
26735
26701
|
if ("string" == typeof e || "number" == typeof e)
|
|
@@ -27163,7 +27129,7 @@ const stringLengths = /* @__PURE__ */ new Set(["px", "full", "screen"]);
|
|
|
27163
27129
|
const tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/;
|
|
27164
27130
|
const lengthUnitRegex = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/;
|
|
27165
27131
|
const colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/;
|
|
27166
|
-
const shadowRegex =
|
|
27132
|
+
const shadowRegex = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;
|
|
27167
27133
|
const imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
|
|
27168
27134
|
function isLength(value) {
|
|
27169
27135
|
return isNumber(value) || stringLengths.has(value) || fractionRegex.test(value);
|
|
@@ -27262,7 +27228,7 @@ function getDefaultConfig() {
|
|
|
27262
27228
|
const getNumberWithAutoAndArbitrary = () => ["auto", isNumber, isArbitraryValue];
|
|
27263
27229
|
const getPositions = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"];
|
|
27264
27230
|
const getLineStyles = () => ["solid", "dashed", "dotted", "double", "none"];
|
|
27265
|
-
const getBlendModes = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"
|
|
27231
|
+
const getBlendModes = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"];
|
|
27266
27232
|
const getAlign = () => ["start", "end", "center", "between", "around", "evenly", "stretch"];
|
|
27267
27233
|
const getZeroAndEmpty = () => ["", "0", isArbitraryValue];
|
|
27268
27234
|
const getBreaks = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"];
|
|
@@ -28647,7 +28613,7 @@ function getDefaultConfig() {
|
|
|
28647
28613
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
28648
28614
|
*/
|
|
28649
28615
|
"mix-blend": [{
|
|
28650
|
-
"mix-blend": getBlendModes()
|
|
28616
|
+
"mix-blend": [...getBlendModes(), "plus-lighter", "plus-darker"]
|
|
28651
28617
|
}],
|
|
28652
28618
|
/**
|
|
28653
28619
|
* Background Blend Mode
|
|
@@ -30057,11 +30023,11 @@ var prism = { exports: {} };
|
|
|
30057
30023
|
}
|
|
30058
30024
|
var patterns = grammar[token];
|
|
30059
30025
|
patterns = Array.isArray(patterns) ? patterns : [patterns];
|
|
30060
|
-
for (var
|
|
30061
|
-
if (rematch && rematch.cause == token + "," +
|
|
30026
|
+
for (var j2 = 0; j2 < patterns.length; ++j2) {
|
|
30027
|
+
if (rematch && rematch.cause == token + "," + j2) {
|
|
30062
30028
|
return;
|
|
30063
30029
|
}
|
|
30064
|
-
var patternObj = patterns[
|
|
30030
|
+
var patternObj = patterns[j2];
|
|
30065
30031
|
var inside2 = patternObj.inside;
|
|
30066
30032
|
var lookbehind = !!patternObj.lookbehind;
|
|
30067
30033
|
var greedy = !!patternObj.greedy;
|
|
@@ -30136,7 +30102,7 @@ var prism = { exports: {} };
|
|
|
30136
30102
|
}
|
|
30137
30103
|
if (removeCount > 1) {
|
|
30138
30104
|
var nestedRematch = {
|
|
30139
|
-
cause: token + "," +
|
|
30105
|
+
cause: token + "," + j2,
|
|
30140
30106
|
reach
|
|
30141
30107
|
};
|
|
30142
30108
|
matchGrammar(text, tokenList, grammar, currentNode.prev, pos, nestedRematch);
|
|
@@ -30784,23 +30750,24 @@ var prism = { exports: {} };
|
|
|
30784
30750
|
})();
|
|
30785
30751
|
})(prism);
|
|
30786
30752
|
var prismExports = prism.exports;
|
|
30787
|
-
const
|
|
30788
|
-
const
|
|
30753
|
+
const L = /* @__PURE__ */ getDefaultExportFromCjs(prismExports);
|
|
30754
|
+
const M = "scalar-component", Te = extendTailwindMerge({
|
|
30789
30755
|
extend: {
|
|
30790
30756
|
classGroups: {
|
|
30757
|
+
"font-size": ["text-xxs"],
|
|
30791
30758
|
// Add the scalar class prefix as a custom class to be deduped by tailwind-merge
|
|
30792
|
-
[
|
|
30759
|
+
[M]: [M]
|
|
30793
30760
|
}
|
|
30794
30761
|
}
|
|
30795
|
-
}), { cva:
|
|
30762
|
+
}), { cva: T, cx: E, compose: Dt } = defineConfig({
|
|
30796
30763
|
hooks: {
|
|
30797
|
-
onComplete: (a) => `${
|
|
30764
|
+
onComplete: (a) => `${Te(a, M)}`
|
|
30798
30765
|
}
|
|
30799
|
-
}),
|
|
30766
|
+
}), Le = /* @__PURE__ */ createStaticVNode('<path class="svg-path svg-check-mark" d="m 0 60 l 30 30 l 70 -80" data-v-47faceda></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 -40" data-v-47faceda></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 40" data-v-47faceda></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 -40" data-v-47faceda></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 40" data-v-47faceda></path>', 5), Re = {
|
|
30800
30767
|
key: 0,
|
|
30801
30768
|
class: "circular-loader"
|
|
30802
30769
|
};
|
|
30803
|
-
const
|
|
30770
|
+
const De = /* @__PURE__ */ defineComponent({
|
|
30804
30771
|
__name: "ScalarLoading",
|
|
30805
30772
|
props: {
|
|
30806
30773
|
loadingState: {},
|
|
@@ -30811,7 +30778,7 @@ const ve = /* @__PURE__ */ defineComponent({
|
|
|
30811
30778
|
d6cae758: t2.size
|
|
30812
30779
|
})), (t2, e) => t2.loadingState ? (openBlock(), createElementBlock("div", {
|
|
30813
30780
|
key: 0,
|
|
30814
|
-
class: normalizeClass(unref(
|
|
30781
|
+
class: normalizeClass(unref(E)("loader-wrapper"))
|
|
30815
30782
|
}, [
|
|
30816
30783
|
(openBlock(), createElementBlock("svg", {
|
|
30817
30784
|
class: normalizeClass(["svg-loader", {
|
|
@@ -30822,8 +30789,8 @@ const ve = /* @__PURE__ */ defineComponent({
|
|
|
30822
30789
|
xmlns: "http://www.w3.org/2000/svg",
|
|
30823
30790
|
"xmlns:xlink": "http://www.w3.org/1999/xlink"
|
|
30824
30791
|
}, [
|
|
30825
|
-
|
|
30826
|
-
t2.loadingState.isLoading ? (openBlock(), createElementBlock("g",
|
|
30792
|
+
Le,
|
|
30793
|
+
t2.loadingState.isLoading ? (openBlock(), createElementBlock("g", Re, [
|
|
30827
30794
|
createElementVNode("circle", {
|
|
30828
30795
|
class: normalizeClass(["loader-path", {
|
|
30829
30796
|
"loader-path-off": t2.loadingState.isValid || t2.loadingState.isInvalid
|
|
@@ -30840,10 +30807,10 @@ const ve = /* @__PURE__ */ defineComponent({
|
|
|
30840
30807
|
}
|
|
30841
30808
|
}), B = (a, t2) => {
|
|
30842
30809
|
const e = a.__vccOpts || a;
|
|
30843
|
-
for (const [
|
|
30844
|
-
e[
|
|
30810
|
+
for (const [r2, c] of t2)
|
|
30811
|
+
e[r2] = c;
|
|
30845
30812
|
return e;
|
|
30846
|
-
}, H = /* @__PURE__ */ B(
|
|
30813
|
+
}, H = /* @__PURE__ */ B(De, [["__scopeId", "data-v-47faceda"]]), Z = {
|
|
30847
30814
|
solid: [
|
|
30848
30815
|
"scalar-button-solid",
|
|
30849
30816
|
"bg-back-btn-1 text-fore-btn-1 shadow-sm active:bg-back-btn-1 active:shadow-none hocus:bg-hover-btn-1"
|
|
@@ -30860,7 +30827,7 @@ const ve = /* @__PURE__ */ defineComponent({
|
|
|
30860
30827
|
"scalar-button-danger",
|
|
30861
30828
|
"bg-error text-white active:brightness-90 hocus:brightness-90"
|
|
30862
30829
|
]
|
|
30863
|
-
},
|
|
30830
|
+
}, Oe = T({
|
|
30864
30831
|
base: "scalar-button row cursor-pointer items-center justify-center rounded font-medium",
|
|
30865
30832
|
variants: {
|
|
30866
30833
|
disabled: {
|
|
@@ -30868,7 +30835,7 @@ const ve = /* @__PURE__ */ defineComponent({
|
|
|
30868
30835
|
},
|
|
30869
30836
|
fullWidth: { true: "w-full" },
|
|
30870
30837
|
size: { md: "h-10 px-6 text-sm" },
|
|
30871
|
-
variant:
|
|
30838
|
+
variant: Z
|
|
30872
30839
|
},
|
|
30873
30840
|
compoundVariants: [
|
|
30874
30841
|
{
|
|
@@ -30877,13 +30844,13 @@ const ve = /* @__PURE__ */ defineComponent({
|
|
|
30877
30844
|
class: "bg-transparent text-ghost"
|
|
30878
30845
|
}
|
|
30879
30846
|
]
|
|
30880
|
-
}),
|
|
30847
|
+
}), Pe = ["ariaDisabled"], ze = {
|
|
30881
30848
|
key: 0,
|
|
30882
30849
|
class: "mr-2 h-4 w-4"
|
|
30883
|
-
},
|
|
30850
|
+
}, Be = {
|
|
30884
30851
|
key: 1,
|
|
30885
30852
|
class: "ml-2"
|
|
30886
|
-
},
|
|
30853
|
+
}, Me = /* @__PURE__ */ defineComponent({
|
|
30887
30854
|
inheritAttrs: false,
|
|
30888
30855
|
__name: "ScalarButton",
|
|
30889
30856
|
props: {
|
|
@@ -30895,29 +30862,29 @@ const ve = /* @__PURE__ */ defineComponent({
|
|
|
30895
30862
|
},
|
|
30896
30863
|
setup(a) {
|
|
30897
30864
|
const t2 = computed(() => {
|
|
30898
|
-
const { class: e, ...
|
|
30899
|
-
return { className: e || "", rest:
|
|
30865
|
+
const { class: e, ...r2 } = useAttrs();
|
|
30866
|
+
return { className: e || "", rest: r2 };
|
|
30900
30867
|
});
|
|
30901
|
-
return (e,
|
|
30868
|
+
return (e, r2) => (openBlock(), createElementBlock("button", mergeProps(t2.value.rest, {
|
|
30902
30869
|
ariaDisabled: e.disabled || void 0,
|
|
30903
|
-
class: unref(
|
|
30904
|
-
unref(
|
|
30870
|
+
class: unref(E)(
|
|
30871
|
+
unref(Oe)({ fullWidth: e.fullWidth, disabled: e.disabled, size: e.size, variant: e.variant }),
|
|
30905
30872
|
{ "pl-9 pr-3": e.loading },
|
|
30906
30873
|
`${t2.value.className}`
|
|
30907
30874
|
),
|
|
30908
30875
|
type: "button"
|
|
30909
30876
|
}), [
|
|
30910
|
-
e.$slots.icon ? (openBlock(), createElementBlock("div",
|
|
30877
|
+
e.$slots.icon ? (openBlock(), createElementBlock("div", ze, [
|
|
30911
30878
|
renderSlot(e.$slots, "icon")
|
|
30912
30879
|
])) : createCommentVNode("", true),
|
|
30913
30880
|
renderSlot(e.$slots, "default"),
|
|
30914
|
-
e.loading ? (openBlock(), createElementBlock("div",
|
|
30881
|
+
e.loading ? (openBlock(), createElementBlock("div", Be, [
|
|
30915
30882
|
createVNode(unref(H), {
|
|
30916
30883
|
loadingState: e.loading,
|
|
30917
30884
|
size: "20px"
|
|
30918
30885
|
}, null, 8, ["loadingState"])
|
|
30919
30886
|
])) : createCommentVNode("", true)
|
|
30920
|
-
], 16,
|
|
30887
|
+
], 16, Pe));
|
|
30921
30888
|
}
|
|
30922
30889
|
});
|
|
30923
30890
|
(function(a) {
|
|
@@ -30928,7 +30895,7 @@ const ve = /* @__PURE__ */ defineComponent({
|
|
|
30928
30895
|
// this looks reasonably well in all themes
|
|
30929
30896
|
inside: null
|
|
30930
30897
|
// see below
|
|
30931
|
-
},
|
|
30898
|
+
}, r2 = {
|
|
30932
30899
|
bash: e,
|
|
30933
30900
|
environment: {
|
|
30934
30901
|
pattern: RegExp("\\$" + t2),
|
|
@@ -31040,7 +31007,7 @@ const ve = /* @__PURE__ */ defineComponent({
|
|
|
31040
31007
|
pattern: /((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,
|
|
31041
31008
|
lookbehind: true,
|
|
31042
31009
|
greedy: true,
|
|
31043
|
-
inside:
|
|
31010
|
+
inside: r2
|
|
31044
31011
|
},
|
|
31045
31012
|
// Here-document with quotes around the tag
|
|
31046
31013
|
// → No expansion (so no “inside”).
|
|
@@ -31058,7 +31025,7 @@ const ve = /* @__PURE__ */ defineComponent({
|
|
|
31058
31025
|
pattern: /(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,
|
|
31059
31026
|
lookbehind: true,
|
|
31060
31027
|
greedy: true,
|
|
31061
|
-
inside:
|
|
31028
|
+
inside: r2
|
|
31062
31029
|
},
|
|
31063
31030
|
{
|
|
31064
31031
|
// https://www.gnu.org/software/bash/manual/html_node/Single-Quotes.html
|
|
@@ -31071,7 +31038,7 @@ const ve = /* @__PURE__ */ defineComponent({
|
|
|
31071
31038
|
pattern: /\$'(?:[^'\\]|\\[\s\S])*'/,
|
|
31072
31039
|
greedy: true,
|
|
31073
31040
|
inside: {
|
|
31074
|
-
entity:
|
|
31041
|
+
entity: r2.entity
|
|
31075
31042
|
}
|
|
31076
31043
|
}
|
|
31077
31044
|
],
|
|
@@ -31079,7 +31046,7 @@ const ve = /* @__PURE__ */ defineComponent({
|
|
|
31079
31046
|
pattern: RegExp("\\$?" + t2),
|
|
31080
31047
|
alias: "constant"
|
|
31081
31048
|
},
|
|
31082
|
-
variable:
|
|
31049
|
+
variable: r2.variable,
|
|
31083
31050
|
function: {
|
|
31084
31051
|
pattern: /(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,
|
|
31085
31052
|
lookbehind: true
|
|
@@ -31119,7 +31086,7 @@ const ve = /* @__PURE__ */ defineComponent({
|
|
|
31119
31086
|
lookbehind: true
|
|
31120
31087
|
}
|
|
31121
31088
|
}, e.inside = a.languages.bash;
|
|
31122
|
-
for (var
|
|
31089
|
+
for (var c = [
|
|
31123
31090
|
"comment",
|
|
31124
31091
|
"function-name",
|
|
31125
31092
|
"for-or-select",
|
|
@@ -31135,8 +31102,8 @@ const ve = /* @__PURE__ */ defineComponent({
|
|
|
31135
31102
|
"operator",
|
|
31136
31103
|
"punctuation",
|
|
31137
31104
|
"number"
|
|
31138
|
-
],
|
|
31139
|
-
|
|
31105
|
+
], d = r2.variable[1].inside, s = 0; s < c.length; s++)
|
|
31106
|
+
d[c[s]] = a.languages.bash[c[s]];
|
|
31140
31107
|
a.languages.sh = a.languages.bash, a.languages.shell = a.languages.bash;
|
|
31141
31108
|
})(Prism);
|
|
31142
31109
|
Prism.languages.json = {
|
|
@@ -31175,14 +31142,14 @@ Prism.languages.webmanifest = Prism.languages.json;
|
|
|
31175
31142
|
* @param {number} number line number
|
|
31176
31143
|
* @returns {Element|undefined}
|
|
31177
31144
|
*/
|
|
31178
|
-
getLine: function(
|
|
31179
|
-
if (!(
|
|
31180
|
-
var
|
|
31181
|
-
if (
|
|
31182
|
-
var
|
|
31183
|
-
|
|
31184
|
-
var
|
|
31185
|
-
return
|
|
31145
|
+
getLine: function(s, u) {
|
|
31146
|
+
if (!(s.tagName !== "PRE" || !s.classList.contains(a))) {
|
|
31147
|
+
var i = s.querySelector(".line-numbers-rows");
|
|
31148
|
+
if (i) {
|
|
31149
|
+
var g = parseInt(s.getAttribute("data-start"), 10) || 1, p = g + (i.children.length - 1);
|
|
31150
|
+
u < g && (u = g), u > p && (u = p);
|
|
31151
|
+
var n = u - g;
|
|
31152
|
+
return i.children[n];
|
|
31186
31153
|
}
|
|
31187
31154
|
}
|
|
31188
31155
|
},
|
|
@@ -31194,8 +31161,8 @@ Prism.languages.webmanifest = Prism.languages.json;
|
|
|
31194
31161
|
* @param {HTMLElement} element A `<pre>` element with line numbers.
|
|
31195
31162
|
* @returns {void}
|
|
31196
31163
|
*/
|
|
31197
|
-
resize: function(
|
|
31198
|
-
|
|
31164
|
+
resize: function(s) {
|
|
31165
|
+
r2([s]);
|
|
31199
31166
|
},
|
|
31200
31167
|
/**
|
|
31201
31168
|
* Whether the plugin can assume that the units font sizes and margins are not depended on the size of
|
|
@@ -31209,98 +31176,98 @@ Prism.languages.webmanifest = Prism.languages.json;
|
|
|
31209
31176
|
*/
|
|
31210
31177
|
assumeViewportIndependence: true
|
|
31211
31178
|
};
|
|
31212
|
-
function
|
|
31213
|
-
if (
|
|
31214
|
-
var
|
|
31179
|
+
function r2(s) {
|
|
31180
|
+
if (s = s.filter(function(i) {
|
|
31181
|
+
var g = c(i), p = g["white-space"];
|
|
31215
31182
|
return p === "pre-wrap" || p === "pre-line";
|
|
31216
|
-
}),
|
|
31217
|
-
var
|
|
31218
|
-
var
|
|
31219
|
-
if (!(!
|
|
31220
|
-
var
|
|
31221
|
-
|
|
31222
|
-
var
|
|
31223
|
-
return
|
|
31224
|
-
element:
|
|
31225
|
-
lines:
|
|
31183
|
+
}), s.length != 0) {
|
|
31184
|
+
var u = s.map(function(i) {
|
|
31185
|
+
var g = i.querySelector("code"), p = i.querySelector(".line-numbers-rows");
|
|
31186
|
+
if (!(!g || !p)) {
|
|
31187
|
+
var n = i.querySelector(".line-numbers-sizer"), f = g.textContent.split(t2);
|
|
31188
|
+
n || (n = document.createElement("span"), n.className = "line-numbers-sizer", g.appendChild(n)), n.innerHTML = "0", n.style.display = "block";
|
|
31189
|
+
var l = n.getBoundingClientRect().height;
|
|
31190
|
+
return n.innerHTML = "", {
|
|
31191
|
+
element: i,
|
|
31192
|
+
lines: f,
|
|
31226
31193
|
lineHeights: [],
|
|
31227
|
-
oneLinerHeight:
|
|
31228
|
-
sizer:
|
|
31194
|
+
oneLinerHeight: l,
|
|
31195
|
+
sizer: n
|
|
31229
31196
|
};
|
|
31230
31197
|
}
|
|
31231
31198
|
}).filter(Boolean);
|
|
31232
|
-
|
|
31233
|
-
var
|
|
31234
|
-
|
|
31235
|
-
if (
|
|
31236
|
-
var
|
|
31237
|
-
|
|
31199
|
+
u.forEach(function(i) {
|
|
31200
|
+
var g = i.sizer, p = i.lines, n = i.lineHeights, f = i.oneLinerHeight;
|
|
31201
|
+
n[p.length - 1] = void 0, p.forEach(function(l, w) {
|
|
31202
|
+
if (l && l.length > 1) {
|
|
31203
|
+
var C2 = g.appendChild(document.createElement("span"));
|
|
31204
|
+
C2.style.display = "block", C2.textContent = l;
|
|
31238
31205
|
} else
|
|
31239
|
-
|
|
31206
|
+
n[w] = f;
|
|
31240
31207
|
});
|
|
31241
|
-
}),
|
|
31242
|
-
for (var
|
|
31243
|
-
p[
|
|
31244
|
-
}),
|
|
31245
|
-
var
|
|
31246
|
-
|
|
31247
|
-
p.children[
|
|
31208
|
+
}), u.forEach(function(i) {
|
|
31209
|
+
for (var g = i.sizer, p = i.lineHeights, n = 0, f = 0; f < p.length; f++)
|
|
31210
|
+
p[f] === void 0 && (p[f] = g.children[n++].getBoundingClientRect().height);
|
|
31211
|
+
}), u.forEach(function(i) {
|
|
31212
|
+
var g = i.sizer, p = i.element.querySelector(".line-numbers-rows");
|
|
31213
|
+
g.style.display = "none", g.innerHTML = "", i.lineHeights.forEach(function(n, f) {
|
|
31214
|
+
p.children[f].style.height = n + "px";
|
|
31248
31215
|
});
|
|
31249
31216
|
});
|
|
31250
31217
|
}
|
|
31251
31218
|
}
|
|
31252
|
-
function
|
|
31253
|
-
return
|
|
31219
|
+
function c(s) {
|
|
31220
|
+
return s ? window.getComputedStyle ? getComputedStyle(s) : s.currentStyle || null : null;
|
|
31254
31221
|
}
|
|
31255
|
-
var
|
|
31222
|
+
var d = void 0;
|
|
31256
31223
|
window.addEventListener("resize", function() {
|
|
31257
|
-
e.assumeViewportIndependence &&
|
|
31258
|
-
}), Prism.hooks.add("complete", function(
|
|
31259
|
-
if (
|
|
31260
|
-
var
|
|
31224
|
+
e.assumeViewportIndependence && d === window.innerWidth || (d = window.innerWidth, r2(Array.prototype.slice.call(document.querySelectorAll("pre." + a))));
|
|
31225
|
+
}), Prism.hooks.add("complete", function(s) {
|
|
31226
|
+
if (s.code) {
|
|
31227
|
+
var u = (
|
|
31261
31228
|
/** @type {Element} */
|
|
31262
|
-
|
|
31263
|
-
),
|
|
31229
|
+
s.element
|
|
31230
|
+
), i = (
|
|
31264
31231
|
/** @type {HTMLElement} */
|
|
31265
|
-
|
|
31232
|
+
u.parentNode
|
|
31266
31233
|
);
|
|
31267
|
-
if (!(!
|
|
31268
|
-
|
|
31269
|
-
var
|
|
31270
|
-
|
|
31234
|
+
if (!(!i || !/pre/i.test(i.nodeName)) && !u.querySelector(".line-numbers-rows") && Prism.util.isActive(u, a)) {
|
|
31235
|
+
u.classList.remove(a), i.classList.add(a);
|
|
31236
|
+
var g = s.code.match(t2), p = g ? g.length + 1 : 1, n, f = new Array(p + 1).join("<span></span>");
|
|
31237
|
+
n = document.createElement("span"), n.setAttribute("aria-hidden", "true"), n.className = "line-numbers-rows", n.innerHTML = f, i.hasAttribute("data-start") && (i.style.counterReset = "linenumber " + (parseInt(i.getAttribute("data-start"), 10) - 1)), s.element.appendChild(n), r2([i]), Prism.hooks.run("line-numbers", s);
|
|
31271
31238
|
}
|
|
31272
31239
|
}
|
|
31273
|
-
}), Prism.hooks.add("line-numbers", function(
|
|
31274
|
-
|
|
31240
|
+
}), Prism.hooks.add("line-numbers", function(s) {
|
|
31241
|
+
s.plugins = s.plugins || {}, s.plugins.lineNumbers = true;
|
|
31275
31242
|
});
|
|
31276
31243
|
})();
|
|
31277
|
-
function
|
|
31244
|
+
function He(a) {
|
|
31278
31245
|
const t2 = /* @__PURE__ */ new Set();
|
|
31279
31246
|
return JSON.stringify(
|
|
31280
31247
|
a,
|
|
31281
|
-
(e,
|
|
31282
|
-
if (typeof
|
|
31283
|
-
if (t2.has(
|
|
31248
|
+
(e, r2) => {
|
|
31249
|
+
if (typeof r2 == "object" && r2 !== null) {
|
|
31250
|
+
if (t2.has(r2))
|
|
31284
31251
|
return "[Circular]";
|
|
31285
|
-
t2.add(
|
|
31252
|
+
t2.add(r2);
|
|
31286
31253
|
}
|
|
31287
|
-
return
|
|
31254
|
+
return r2;
|
|
31288
31255
|
},
|
|
31289
31256
|
2
|
|
31290
31257
|
);
|
|
31291
31258
|
}
|
|
31292
|
-
function
|
|
31259
|
+
function z(a) {
|
|
31293
31260
|
if (typeof a == "string")
|
|
31294
31261
|
return a;
|
|
31295
31262
|
if (typeof a == "object")
|
|
31296
31263
|
try {
|
|
31297
31264
|
return JSON.stringify(a, null, 2);
|
|
31298
31265
|
} catch {
|
|
31299
|
-
return
|
|
31266
|
+
return He(a);
|
|
31300
31267
|
}
|
|
31301
31268
|
return a;
|
|
31302
31269
|
}
|
|
31303
|
-
const
|
|
31270
|
+
const Ge = ["innerHTML"], Pt = /* @__PURE__ */ defineComponent({
|
|
31304
31271
|
__name: "ScalarCodeBlock",
|
|
31305
31272
|
props: {
|
|
31306
31273
|
content: {},
|
|
@@ -31309,81 +31276,82 @@ const Ee = ["innerHTML"], it = /* @__PURE__ */ defineComponent({
|
|
|
31309
31276
|
hideCredentials: {}
|
|
31310
31277
|
},
|
|
31311
31278
|
setup(a) {
|
|
31312
|
-
const t2 = a, e = createHash(
|
|
31313
|
-
t2.hideCredentials &&
|
|
31279
|
+
const t2 = a, e = createHash(z(t2.content)), r2 = `components-scalar-code-block${e}`, { plugins: c, highlightElement: d } = L;
|
|
31280
|
+
t2.hideCredentials && L.hooks.add("wrap", function(n) {
|
|
31314
31281
|
if (!t2.hideCredentials)
|
|
31315
31282
|
return;
|
|
31316
|
-
let
|
|
31317
|
-
typeof t2.hideCredentials == "string" ?
|
|
31318
|
-
(
|
|
31319
|
-
)),
|
|
31283
|
+
let f = false;
|
|
31284
|
+
typeof t2.hideCredentials == "string" ? n.content.includes(t2.hideCredentials) && (f = true) : Array.isArray(t2.hideCredentials) && (f = t2.hideCredentials.some(
|
|
31285
|
+
(l) => n.content.includes(l)
|
|
31286
|
+
)), f && (n.content = n.content.replace(
|
|
31320
31287
|
/<span class="credentials">.*?<\/span>/g,
|
|
31321
|
-
(
|
|
31322
|
-
),
|
|
31288
|
+
(l) => l.replace(/<span class="credentials">|<\/span>/g, "")
|
|
31289
|
+
), n.content = n.content.replace(
|
|
31323
31290
|
new RegExp(
|
|
31324
31291
|
typeof t2.hideCredentials == "string" ? t2.hideCredentials : t2.hideCredentials.join("|"),
|
|
31325
31292
|
"g"
|
|
31326
31293
|
),
|
|
31327
|
-
(
|
|
31294
|
+
(l) => `<span class="credentials">${l}</span>`
|
|
31328
31295
|
));
|
|
31329
31296
|
});
|
|
31330
|
-
const
|
|
31297
|
+
const s = ref(null), u = ref(ssrState[r2] ?? ""), i = computed(() => t2.lang === "node" ? "js" : t2.lang), g = t2.lang;
|
|
31331
31298
|
watch(
|
|
31332
|
-
[() => t2.lang, () => t2.content,
|
|
31299
|
+
[() => t2.lang, () => t2.content, s],
|
|
31333
31300
|
() => {
|
|
31334
|
-
|
|
31301
|
+
s.value && t2.content && (!u.value || t2.lang !== g) && (u.value = "", nextTick(() => d(s.value)));
|
|
31335
31302
|
},
|
|
31336
31303
|
{ immediate: true }
|
|
31337
31304
|
);
|
|
31338
31305
|
const p = /\n(?!$)/g;
|
|
31339
31306
|
return onServerPrefetch(async () => {
|
|
31340
|
-
let
|
|
31341
|
-
t2.lineNumbers &&
|
|
31342
|
-
const
|
|
31343
|
-
|
|
31307
|
+
let n = "";
|
|
31308
|
+
t2.lineNumbers && L.hooks.add("after-tokenize", (l) => {
|
|
31309
|
+
const w = l.code.match(p), C2 = w ? w.length + 1 : 1;
|
|
31310
|
+
n = `<span aria-hidden="true" class="line-numbers-rows">${new Array(C2 + 1).join("<span></span>")}</span>`;
|
|
31344
31311
|
});
|
|
31345
|
-
const
|
|
31346
|
-
|
|
31347
|
-
|
|
31348
|
-
|
|
31312
|
+
const f = L.highlight(
|
|
31313
|
+
z(t2.content),
|
|
31314
|
+
L.languages[i.value],
|
|
31315
|
+
i.value
|
|
31349
31316
|
);
|
|
31350
|
-
if (
|
|
31351
|
-
const
|
|
31352
|
-
|
|
31317
|
+
if (u.value = f + n, e !== 0) {
|
|
31318
|
+
const l = useSSRContext();
|
|
31319
|
+
l.payload.data[r2] = f + n;
|
|
31353
31320
|
}
|
|
31354
31321
|
}), onMounted(async () => {
|
|
31355
|
-
await import("./prism-autoloader-Dlh8Vzlw-BR-Zk31i.js"),
|
|
31356
|
-
}), (
|
|
31322
|
+
await import("./prism-autoloader-Dlh8Vzlw-BR-Zk31i.js"), c.autoloader.languages_path = "https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/";
|
|
31323
|
+
}), (n, f) => (openBlock(), createElementBlock("pre", {
|
|
31357
31324
|
class: normalizeClass([
|
|
31358
|
-
`scalar-component scalar-codeblock-pre language-${
|
|
31325
|
+
`scalar-component scalar-codeblock-pre language-${i.value}`,
|
|
31359
31326
|
{
|
|
31360
|
-
"line-numbers":
|
|
31327
|
+
"line-numbers": n.lineNumbers
|
|
31361
31328
|
}
|
|
31362
31329
|
])
|
|
31363
31330
|
}, [
|
|
31364
|
-
|
|
31331
|
+
u.value ? (openBlock(), createElementBlock("code", {
|
|
31365
31332
|
key: 0,
|
|
31366
|
-
class: normalizeClass(`scalar-codeblock-code language-${
|
|
31367
|
-
innerHTML: unref(
|
|
31368
|
-
}, null, 10,
|
|
31333
|
+
class: normalizeClass(`scalar-codeblock-code language-${i.value}`),
|
|
31334
|
+
innerHTML: unref(z)(u.value)
|
|
31335
|
+
}, null, 10, Ge)) : (openBlock(), createElementBlock("code", {
|
|
31369
31336
|
key: 1,
|
|
31370
31337
|
ref_key: "el",
|
|
31371
|
-
ref:
|
|
31372
|
-
class: normalizeClass(`scalar-codeblock-code language-${
|
|
31373
|
-
}, toDisplayString(unref(
|
|
31338
|
+
ref: s,
|
|
31339
|
+
class: normalizeClass(`scalar-codeblock-code language-${i.value}`)
|
|
31340
|
+
}, toDisplayString(unref(z)(n.content)), 3))
|
|
31374
31341
|
], 2));
|
|
31375
31342
|
}
|
|
31376
|
-
})
|
|
31343
|
+
});
|
|
31344
|
+
const j = /* @__PURE__ */ Object.assign({ "./Add.svg": () => import("./Add-ngyZgYXx-DzyQwJvS.js"), "./Brackets.svg": () => import("./Brackets-4I8OKomf-BdIXlrTs.js"), "./Branch.svg": () => import("./Branch-CXwj8YuG-IxKqRWkx.js"), "./Checkmark.svg": () => import("./Checkmark-De7nq6cG-CenVOav7.js"), "./ChevronDown.svg": () => import("./ChevronDown-Co7EAKAv-DHNwXUbS.js"), "./ChevronLeft.svg": () => import("./ChevronLeft-DYt0idAu-DAzCtmws.js"), "./ChevronRight.svg": () => import("./ChevronRight-ylxToVWl-CDFDuBE1.js"), "./ChevronUp.svg": () => import("./ChevronUp-xAnukIfj-CuKFLVD3.js"), "./Clipboard.svg": () => import("./Clipboard-CU_KxGEv-DWrQtWVi.js"), "./Close.svg": () => import("./Close-CW3z42qZ-CeX6s3FA.js"), "./CodeFolder.svg": () => import("./CodeFolder-Cv_igzJE-CoWfaY0Z.js"), "./Cookie.svg": () => import("./Cookie-CEHvXpqB-D960ImBy.js"), "./DarkMode.svg": () => import("./DarkMode-CBsV8Q_I-DHPfucpm.js"), "./DocsPage.svg": () => import("./DocsPage-rh2xwxKN-BP1Vagfm.js"), "./Ellipses.svg": () => import("./Ellipses-Bo_X36Hx-CsJmKvlE.js"), "./ExternalLink.svg": () => import("./ExternalLink-DK8L-EH7-ANJEzoHO.js"), "./GitHub.svg": () => import("./GitHub-NdE6Zs9k-BAGzgXH_.js"), "./Hide.svg": () => import("./Hide-Q3GPkIKH-40aIsLtN.js"), "./JsonObject.svg": () => import("./JsonObject-hGdHUQ4M-Cm1hXgAn.js"), "./LightDarkModeToggle.svg": () => import("./LightDarkModeToggle-BkvMimDa-Dk64Z-UE.js"), "./LightMode.svg": () => import("./LightMode-Btz6vyT_-JpKLPzdT.js"), "./Logo.svg": () => import("./Logo-mtzeKD8M-LQcor9RM.js"), "./LogoAPI.svg": () => import("./LogoAPI-CaU5E6FK-Bzb5EbnZ.js"), "./LogoClient.svg": () => import("./LogoClient-DdC-t_7P-B_rZ91PC.js"), "./LogoMarket.svg": () => import("./LogoMarket-DwlApcab-_INRDSLs.js"), "./LogoSwagger.svg": () => import("./LogoSwagger-CH60H5qW-DFEpFXIU.js"), "./Menu.svg": () => import("./Menu-CFK5cOsm-CqE9Tsgr.js"), "./PaperAirplane.svg": () => import("./PaperAirplane-BC-4mGEB-BrV5fX8s.js"), "./Search.svg": () => import("./Search-DqtlswRG-D-hprEk0.js"), "./Show.svg": () => import("./Show-D86hKz5y-CF9Pv7FS.js"), "./Terminal.svg": () => import("./Terminal-CKp--su5-vWaGU4_z.js"), "./programming-framework-angular.svg": () => import("./programming-framework-angular-DD4Vjgbk-Bzc9D9am.js"), "./programming-framework-astro.svg": () => import("./programming-framework-astro-CLfrRt19-CfPlyy6T.js"), "./programming-framework-laravel.svg": () => import("./programming-framework-laravel-kAy2wVLy-Cty_4oXq.js"), "./programming-framework-nextdotjs.svg": () => import("./programming-framework-nextdotjs-BKdd_DY_-DUTv-t1Q.js"), "./programming-framework-react.svg": () => import("./programming-framework-react-PDgmtZuN-DdUogL85.js"), "./programming-framework-vuedotjs.svg": () => import("./programming-framework-vuedotjs-Cv46W2aB-Dt_I9pcj.js"), "./programming-language-c.svg": () => import("./programming-language-c-hPGu2Zvg-QG1pSdJG.js"), "./programming-language-clojure.svg": () => import("./programming-language-clojure-Cvmzky8x-D6Gs-6Ol.js"), "./programming-language-csharp.svg": () => import("./programming-language-csharp-lqX1oWgb-B1_8fYG9.js"), "./programming-language-css3.svg": () => import("./programming-language-css3-Dpp4Cr6b-Bf5XF7-p.js"), "./programming-language-go.svg": () => import("./programming-language-go-DoJxWwT6-BUgfSlg1.js"), "./programming-language-html5.svg": () => import("./programming-language-html5-DlqJK4EL-Bl9dTA-D.js"), "./programming-language-http.svg": () => import("./programming-language-http-wMYwFS1I-BWQXI44M.js"), "./programming-language-java.svg": () => import("./programming-language-java-BCxG2T_w-CWqBHVz_.js"), "./programming-language-javascript.svg": () => import("./programming-language-javascript-VxLvi1QG-DFjYF_MP.js"), "./programming-language-json.svg": () => import("./programming-language-json-vEX_g7Zi-BMZrSR1t.js"), "./programming-language-kotlin.svg": () => import("./programming-language-kotlin-DKV8vP9h-C1Zi89NZ.js"), "./programming-language-node.svg": () => import("./programming-language-node-Xsgx38lm-DZhaOPIJ.js"), "./programming-language-objc.svg": () => import("./programming-language-objc-BQXSOBsX-BR-B91By.js"), "./programming-language-ocaml.svg": () => import("./programming-language-ocaml-BEz7gGv7-ip3_Zuhb.js"), "./programming-language-php.svg": () => import("./programming-language-php-GY38f8r4-DQ_8EMFH.js"), "./programming-language-powershell.svg": () => import("./programming-language-powershell-C9DkSp36-S3xix_dw.js"), "./programming-language-python.svg": () => import("./programming-language-python-Ct-_kNjo-BCrlyfv0.js"), "./programming-language-r.svg": () => import("./programming-language-r-BGoKwua9-BWGOKD9M.js"), "./programming-language-ruby.svg": () => import("./programming-language-ruby-DhdM4d7g-Dd3La6Kn.js"), "./programming-language-scala.svg": () => import("./programming-language-scala-BVg0dToJ-Bz_n-CNw.js"), "./programming-language-shell.svg": () => import("./programming-language-shell-BsTa1xI7-XJbYjh7O.js"), "./programming-language-swift.svg": () => import("./programming-language-swift-Dn72xPjg-BUvu5_SV.js"), "./programming-language-typescript.svg": () => import("./programming-language-typescript-CdF-HuRi-CaDO02MW.js"), "./programming-script-code.svg": () => import("./programming-script-code-DQN1veb2-BPFALXVk.js"), "./programming-tool-git.svg": () => import("./programming-tool-git-DDnQ1zGD-Cz6Yj0wj.js"), "./programming-tool-tailwindcss.svg": () => import("./programming-tool-tailwindcss-xjXi0E6g-ky2wbsII.js") }), U = (a) => {
|
|
31377
31345
|
const t2 = `./${a}.svg`;
|
|
31378
|
-
return
|
|
31379
|
-
},
|
|
31346
|
+
return j[t2] ? defineAsyncComponent(j[t2]) : (console.warn(`Could not find icon: ${a}`), null);
|
|
31347
|
+
}, Ye = ["src"], V = /* @__PURE__ */ defineComponent({
|
|
31380
31348
|
__name: "ScalarIcon",
|
|
31381
31349
|
props: {
|
|
31382
31350
|
icon: {},
|
|
31383
31351
|
size: {}
|
|
31384
31352
|
},
|
|
31385
31353
|
setup(a) {
|
|
31386
|
-
const t2 = a, e =
|
|
31354
|
+
const t2 = a, e = T({
|
|
31387
31355
|
variants: {
|
|
31388
31356
|
size: {
|
|
31389
31357
|
xs: "h-3 w-3 stroke-[1.4]",
|
|
@@ -31399,16 +31367,92 @@ const Ee = ["innerHTML"], it = /* @__PURE__ */ defineComponent({
|
|
|
31399
31367
|
defaultVariants: {
|
|
31400
31368
|
size: "full"
|
|
31401
31369
|
}
|
|
31402
|
-
}),
|
|
31403
|
-
return (
|
|
31370
|
+
}), r2 = U(t2.icon);
|
|
31371
|
+
return (c, d) => unref(r2) ? (openBlock(), createBlock(resolveDynamicComponent(unref(U)(c.icon)), {
|
|
31404
31372
|
key: 0,
|
|
31405
|
-
class: normalizeClass(unref(
|
|
31373
|
+
class: normalizeClass(unref(E)("scalar-icon", unref(e)({ size: c.size })))
|
|
31406
31374
|
}, null, 8, ["class"])) : (openBlock(), createElementBlock("img", {
|
|
31407
31375
|
key: 1,
|
|
31408
|
-
src:
|
|
31409
|
-
}, null, 8,
|
|
31376
|
+
src: c.icon
|
|
31377
|
+
}, null, 8, Ye));
|
|
31378
|
+
}
|
|
31379
|
+
}), Je = ["ariaDisabled"], Ze = { class: "sr-only" }, Q = /* @__PURE__ */ defineComponent({
|
|
31380
|
+
__name: "ScalarIconButton",
|
|
31381
|
+
props: {
|
|
31382
|
+
label: {},
|
|
31383
|
+
icon: {},
|
|
31384
|
+
disabled: { type: Boolean },
|
|
31385
|
+
variant: { default: "ghost" },
|
|
31386
|
+
size: { default: "md" }
|
|
31387
|
+
},
|
|
31388
|
+
setup(a) {
|
|
31389
|
+
const t2 = T({
|
|
31390
|
+
base: "scalar-icon-button grid aspect-square cursor-pointer rounded",
|
|
31391
|
+
variants: {
|
|
31392
|
+
size: {
|
|
31393
|
+
xs: "h-3.5 w-3.5 p-0.5",
|
|
31394
|
+
sm: "h-5 w-5 p-1",
|
|
31395
|
+
md: "h-10 w-10 p-3",
|
|
31396
|
+
full: "h-full w-full"
|
|
31397
|
+
},
|
|
31398
|
+
disabled: {
|
|
31399
|
+
true: "cursor-not-allowed shadow-none"
|
|
31400
|
+
},
|
|
31401
|
+
variant: Z
|
|
31402
|
+
}
|
|
31403
|
+
});
|
|
31404
|
+
return (e, r2) => (openBlock(), createElementBlock("button", {
|
|
31405
|
+
ariaDisabled: e.disabled || void 0,
|
|
31406
|
+
class: normalizeClass(unref(E)(unref(t2)({ size: e.size, variant: e.variant, disabled: e.disabled }))),
|
|
31407
|
+
type: "button"
|
|
31408
|
+
}, [
|
|
31409
|
+
createVNode(unref(V), { icon: e.icon }, null, 8, ["icon"]),
|
|
31410
|
+
createElementVNode("span", Ze, toDisplayString(e.label), 1)
|
|
31411
|
+
], 10, Je));
|
|
31412
|
+
}
|
|
31413
|
+
});
|
|
31414
|
+
const _hoisted_1$o = { class: "card-form-input" };
|
|
31415
|
+
const _hoisted_2$h = ["for"];
|
|
31416
|
+
const _hoisted_3$b = ["id", "type"];
|
|
31417
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
31418
|
+
...{
|
|
31419
|
+
inheritAttrs: false
|
|
31420
|
+
},
|
|
31421
|
+
__name: "CardFormTextInput",
|
|
31422
|
+
props: {
|
|
31423
|
+
id: {},
|
|
31424
|
+
type: {}
|
|
31425
|
+
},
|
|
31426
|
+
setup(__props) {
|
|
31427
|
+
const props = __props;
|
|
31428
|
+
const mask = ref(true);
|
|
31429
|
+
const inputType = computed(
|
|
31430
|
+
() => props.type === "password" ? mask.value ? "password" : "text" : props.type ?? "text"
|
|
31431
|
+
);
|
|
31432
|
+
return (_ctx, _cache) => {
|
|
31433
|
+
return openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
31434
|
+
createElementVNode("label", { for: _ctx.id }, [
|
|
31435
|
+
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
31436
|
+
], 8, _hoisted_2$h),
|
|
31437
|
+
createElementVNode("input", mergeProps(_ctx.$attrs, {
|
|
31438
|
+
id: _ctx.id,
|
|
31439
|
+
autocomplete: "off",
|
|
31440
|
+
"data-1p-ignore": "",
|
|
31441
|
+
spellcheck: "false",
|
|
31442
|
+
type: inputType.value
|
|
31443
|
+
}), null, 16, _hoisted_3$b),
|
|
31444
|
+
_ctx.type === "password" ? (openBlock(), createBlock(unref(Q), {
|
|
31445
|
+
key: 0,
|
|
31446
|
+
class: "password-mask",
|
|
31447
|
+
icon: mask.value ? "Show" : "Hide",
|
|
31448
|
+
label: mask.value ? "Show Password" : "Hide Password",
|
|
31449
|
+
onClick: _cache[0] || (_cache[0] = ($event) => mask.value = !mask.value)
|
|
31450
|
+
}, null, 8, ["icon", "label"])) : createCommentVNode("", true)
|
|
31451
|
+
]);
|
|
31452
|
+
};
|
|
31410
31453
|
}
|
|
31411
31454
|
});
|
|
31455
|
+
const CardFormTextInput = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-70fbdb66"]]);
|
|
31412
31456
|
const _sfc_main$q = {};
|
|
31413
31457
|
const _hoisted_1$n = { class: "badge" };
|
|
31414
31458
|
function _sfc_render$2(_ctx, _cache) {
|
|
@@ -31459,7 +31503,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
31459
31503
|
createVNode(unref(ListboxButton), { as: CardFormButton }, {
|
|
31460
31504
|
default: withCtx(() => [
|
|
31461
31505
|
createElementVNode("div", _hoisted_1$m, [
|
|
31462
|
-
createVNode(unref(
|
|
31506
|
+
createVNode(unref(V), {
|
|
31463
31507
|
icon: open ? "ChevronUp" : "ChevronDown",
|
|
31464
31508
|
size: "sm"
|
|
31465
31509
|
}, null, 8, ["icon"]),
|
|
@@ -31823,7 +31867,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
31823
31867
|
(_b = _ctx.value) == null ? void 0 : _b[unref(authentication2).preferredSecurityScheme],
|
|
31824
31868
|
unref(authentication2).preferredSecurityScheme
|
|
31825
31869
|
) : "None"), 1),
|
|
31826
|
-
createVNode(unref(
|
|
31870
|
+
createVNode(unref(V), { icon: "ChevronDown" }),
|
|
31827
31871
|
createElementVNode("select", {
|
|
31828
31872
|
value: unref(authentication2).preferredSecurityScheme,
|
|
31829
31873
|
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
@@ -31992,7 +32036,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
31992
32036
|
_hoisted_3$7
|
|
31993
32037
|
]),
|
|
31994
32038
|
meta: withCtx(() => [
|
|
31995
|
-
createVNode(unref(
|
|
32039
|
+
createVNode(unref(Me), {
|
|
31996
32040
|
class: "table-description-toggle",
|
|
31997
32041
|
variant: "text",
|
|
31998
32042
|
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:showDescription", !_ctx.showDescription))
|
|
@@ -32123,7 +32167,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
32123
32167
|
}
|
|
32124
32168
|
});
|
|
32125
32169
|
const GridRowEditable = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-343844f2"]]);
|
|
32126
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
32170
|
+
const _withScopeId = (n) => (pushScopeId("data-v-78bcd93d"), n = n(), popScopeId(), n);
|
|
32127
32171
|
const _hoisted_1$g = ["value"];
|
|
32128
32172
|
const _hoisted_2$a = ["value"];
|
|
32129
32173
|
const _hoisted_3$5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("input", {
|
|
@@ -32161,7 +32205,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
32161
32205
|
};
|
|
32162
32206
|
}
|
|
32163
32207
|
});
|
|
32164
|
-
const GridRowGenerated = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-
|
|
32208
|
+
const GridRowGenerated = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-78bcd93d"]]);
|
|
32165
32209
|
const _hoisted_1$f = { class: "table" };
|
|
32166
32210
|
const _hoisted_2$9 = { class: "meta-actions" };
|
|
32167
32211
|
const _hoisted_3$4 = { class: "meta-actions-item-icon" };
|
|
@@ -32223,7 +32267,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
32223
32267
|
onClick: addHandler
|
|
32224
32268
|
}, [
|
|
32225
32269
|
createElementVNode("i", _hoisted_3$4, [
|
|
32226
|
-
createVNode(unref(
|
|
32270
|
+
createVNode(unref(V), { icon: "Add" })
|
|
32227
32271
|
]),
|
|
32228
32272
|
createTextVNode(" " + toDisplayString(_ctx.addLabel), 1)
|
|
32229
32273
|
])) : createCommentVNode("", true),
|
|
@@ -32235,7 +32279,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
32235
32279
|
}, [
|
|
32236
32280
|
createTextVNode(" Show More "),
|
|
32237
32281
|
createElementVNode("i", _hoisted_4$3, [
|
|
32238
|
-
createVNode(unref(
|
|
32282
|
+
createVNode(unref(V), { icon: "ChevronDown" })
|
|
32239
32283
|
])
|
|
32240
32284
|
])) : createCommentVNode("", true)
|
|
32241
32285
|
])
|
|
@@ -32721,7 +32765,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
32721
32765
|
return openBlock(), createBlock(unref(_sfc_main$v), { title: "Body" }, {
|
|
32722
32766
|
default: withCtx(() => [
|
|
32723
32767
|
_ctx.active ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
32724
|
-
codeMirrorLanguage.value ? (openBlock(), createBlock(unref(
|
|
32768
|
+
codeMirrorLanguage.value ? (openBlock(), createBlock(unref(Pt), {
|
|
32725
32769
|
key: 0,
|
|
32726
32770
|
class: "custom-scroll",
|
|
32727
32771
|
content: _ctx.data,
|