@scalar/cli 1.8.8 → 1.8.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -0
- package/docs.html +91 -56
- package/index.js +343 -182
- package/package.json +22 -22
package/index.js
CHANGED
|
@@ -41,13 +41,13 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
41
41
|
var require_identity = __commonJS({
|
|
42
42
|
"../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/nodes/identity.js"(exports2) {
|
|
43
43
|
"use strict";
|
|
44
|
-
var ALIAS = Symbol.for("yaml.alias");
|
|
45
|
-
var DOC = Symbol.for("yaml.document");
|
|
46
|
-
var MAP = Symbol.for("yaml.map");
|
|
47
|
-
var PAIR = Symbol.for("yaml.pair");
|
|
48
|
-
var SCALAR = Symbol.for("yaml.scalar");
|
|
49
|
-
var SEQ = Symbol.for("yaml.seq");
|
|
50
|
-
var NODE_TYPE = Symbol.for("yaml.node.type");
|
|
44
|
+
var ALIAS = /* @__PURE__ */ Symbol.for("yaml.alias");
|
|
45
|
+
var DOC = /* @__PURE__ */ Symbol.for("yaml.document");
|
|
46
|
+
var MAP = /* @__PURE__ */ Symbol.for("yaml.map");
|
|
47
|
+
var PAIR = /* @__PURE__ */ Symbol.for("yaml.pair");
|
|
48
|
+
var SCALAR = /* @__PURE__ */ Symbol.for("yaml.scalar");
|
|
49
|
+
var SEQ = /* @__PURE__ */ Symbol.for("yaml.seq");
|
|
50
|
+
var NODE_TYPE = /* @__PURE__ */ Symbol.for("yaml.node.type");
|
|
51
51
|
var isAlias = (node) => !!node && typeof node === "object" && node[NODE_TYPE] === ALIAS;
|
|
52
52
|
var isDocument = (node) => !!node && typeof node === "object" && node[NODE_TYPE] === DOC;
|
|
53
53
|
var isMap = (node) => !!node && typeof node === "object" && node[NODE_TYPE] === MAP;
|
|
@@ -99,9 +99,9 @@ var require_visit = __commonJS({
|
|
|
99
99
|
"../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/visit.js"(exports2) {
|
|
100
100
|
"use strict";
|
|
101
101
|
var identity = require_identity();
|
|
102
|
-
var BREAK = Symbol("break visit");
|
|
103
|
-
var SKIP = Symbol("skip children");
|
|
104
|
-
var REMOVE = Symbol("remove node");
|
|
102
|
+
var BREAK = /* @__PURE__ */ Symbol("break visit");
|
|
103
|
+
var SKIP = /* @__PURE__ */ Symbol("skip children");
|
|
104
|
+
var REMOVE = /* @__PURE__ */ Symbol("remove node");
|
|
105
105
|
function visit(node, visitor) {
|
|
106
106
|
const visitor_ = initVisitor(visitor);
|
|
107
107
|
if (identity.isDocument(node)) {
|
|
@@ -5553,9 +5553,9 @@ var require_cst_stringify = __commonJS({
|
|
|
5553
5553
|
var require_cst_visit = __commonJS({
|
|
5554
5554
|
"../../node_modules/.pnpm/yaml@2.8.3/node_modules/yaml/dist/parse/cst-visit.js"(exports2) {
|
|
5555
5555
|
"use strict";
|
|
5556
|
-
var BREAK = Symbol("break visit");
|
|
5557
|
-
var SKIP = Symbol("skip children");
|
|
5558
|
-
var REMOVE = Symbol("remove item");
|
|
5556
|
+
var BREAK = /* @__PURE__ */ Symbol("break visit");
|
|
5557
|
+
var SKIP = /* @__PURE__ */ Symbol("skip children");
|
|
5558
|
+
var REMOVE = /* @__PURE__ */ Symbol("remove item");
|
|
5559
5559
|
function visit(cst, visitor) {
|
|
5560
5560
|
if ("type" in cst && cst.type === "document")
|
|
5561
5561
|
cst = { start: cst.start, value: cst.value };
|
|
@@ -6890,14 +6890,14 @@ var require_parser = __commonJS({
|
|
|
6890
6890
|
case "scalar":
|
|
6891
6891
|
case "single-quoted-scalar":
|
|
6892
6892
|
case "double-quoted-scalar": {
|
|
6893
|
-
const
|
|
6893
|
+
const fs21 = this.flowScalar(this.type);
|
|
6894
6894
|
if (atNextItem || it.value) {
|
|
6895
|
-
map2.items.push({ start, key:
|
|
6895
|
+
map2.items.push({ start, key: fs21, sep: [] });
|
|
6896
6896
|
this.onKeyLine = true;
|
|
6897
6897
|
} else if (it.sep) {
|
|
6898
|
-
this.stack.push(
|
|
6898
|
+
this.stack.push(fs21);
|
|
6899
6899
|
} else {
|
|
6900
|
-
Object.assign(it, { key:
|
|
6900
|
+
Object.assign(it, { key: fs21, sep: [] });
|
|
6901
6901
|
this.onKeyLine = true;
|
|
6902
6902
|
}
|
|
6903
6903
|
return;
|
|
@@ -7025,13 +7025,13 @@ var require_parser = __commonJS({
|
|
|
7025
7025
|
case "scalar":
|
|
7026
7026
|
case "single-quoted-scalar":
|
|
7027
7027
|
case "double-quoted-scalar": {
|
|
7028
|
-
const
|
|
7028
|
+
const fs21 = this.flowScalar(this.type);
|
|
7029
7029
|
if (!it || it.value)
|
|
7030
|
-
fc.items.push({ start: [], key:
|
|
7030
|
+
fc.items.push({ start: [], key: fs21, sep: [] });
|
|
7031
7031
|
else if (it.sep)
|
|
7032
|
-
this.stack.push(
|
|
7032
|
+
this.stack.push(fs21);
|
|
7033
7033
|
else
|
|
7034
|
-
Object.assign(it, { key:
|
|
7034
|
+
Object.assign(it, { key: fs21, sep: [] });
|
|
7035
7035
|
return;
|
|
7036
7036
|
}
|
|
7037
7037
|
case "flow-map-end":
|
|
@@ -11171,7 +11171,7 @@ var require_dumper = __commonJS({
|
|
|
11171
11171
|
return hasFoldableLine ? STYLE_FOLDED : STYLE_LITERAL;
|
|
11172
11172
|
}
|
|
11173
11173
|
function writeScalar(state, string4, level, iskey) {
|
|
11174
|
-
state.dump = function() {
|
|
11174
|
+
state.dump = (function() {
|
|
11175
11175
|
if (string4.length === 0) {
|
|
11176
11176
|
return "''";
|
|
11177
11177
|
}
|
|
@@ -11198,7 +11198,7 @@ var require_dumper = __commonJS({
|
|
|
11198
11198
|
default:
|
|
11199
11199
|
throw new YAMLException("impossible error: invalid scalar style");
|
|
11200
11200
|
}
|
|
11201
|
-
}();
|
|
11201
|
+
})();
|
|
11202
11202
|
}
|
|
11203
11203
|
function blockHeader(string4, indentPerLevel) {
|
|
11204
11204
|
var indentIndicator = needIndentIndicator(string4) ? String(indentPerLevel) : "";
|
|
@@ -11212,12 +11212,12 @@ var require_dumper = __commonJS({
|
|
|
11212
11212
|
}
|
|
11213
11213
|
function foldString(string4, width) {
|
|
11214
11214
|
var lineRe = /(\n+)([^\n]*)/g;
|
|
11215
|
-
var result = function() {
|
|
11215
|
+
var result = (function() {
|
|
11216
11216
|
var nextLF = string4.indexOf("\n");
|
|
11217
11217
|
nextLF = nextLF !== -1 ? nextLF : string4.length;
|
|
11218
11218
|
lineRe.lastIndex = nextLF;
|
|
11219
11219
|
return foldLine(string4.slice(0, nextLF), width);
|
|
11220
|
-
}();
|
|
11220
|
+
})();
|
|
11221
11221
|
var prevMoreIndented = string4[0] === "\n" || string4[0] === " ";
|
|
11222
11222
|
var moreIndented;
|
|
11223
11223
|
var match;
|
|
@@ -11822,7 +11822,7 @@ var require_parse2 = __commonJS({
|
|
|
11822
11822
|
var require_gray_matter = __commonJS({
|
|
11823
11823
|
"../../node_modules/.pnpm/gray-matter@4.0.3/node_modules/gray-matter/index.js"(exports2, module2) {
|
|
11824
11824
|
"use strict";
|
|
11825
|
-
var
|
|
11825
|
+
var fs21 = __require("fs");
|
|
11826
11826
|
var sections = require_section_matter();
|
|
11827
11827
|
var defaults = require_defaults();
|
|
11828
11828
|
var stringify = require_stringify3();
|
|
@@ -11906,7 +11906,7 @@ var require_gray_matter = __commonJS({
|
|
|
11906
11906
|
return stringify(file2, data, options2);
|
|
11907
11907
|
};
|
|
11908
11908
|
matter2.read = function(filepath, options2) {
|
|
11909
|
-
const str2 =
|
|
11909
|
+
const str2 = fs21.readFileSync(filepath, "utf8");
|
|
11910
11910
|
const file2 = matter2(str2, options2);
|
|
11911
11911
|
file2.path = filepath;
|
|
11912
11912
|
return file2;
|
|
@@ -11934,9 +11934,9 @@ var require_gray_matter = __commonJS({
|
|
|
11934
11934
|
}
|
|
11935
11935
|
});
|
|
11936
11936
|
|
|
11937
|
-
// ../../node_modules/.pnpm/@vue+shared@3.5.
|
|
11937
|
+
// ../../node_modules/.pnpm/@vue+shared@3.5.33/node_modules/@vue/shared/dist/shared.cjs.prod.js
|
|
11938
11938
|
var require_shared_cjs_prod = __commonJS({
|
|
11939
|
-
"../../node_modules/.pnpm/@vue+shared@3.5.
|
|
11939
|
+
"../../node_modules/.pnpm/@vue+shared@3.5.33/node_modules/@vue/shared/dist/shared.cjs.prod.js"(exports2) {
|
|
11940
11940
|
"use strict";
|
|
11941
11941
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
11942
11942
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -11990,10 +11990,10 @@ var require_shared_cjs_prod = __commonJS({
|
|
|
11990
11990
|
);
|
|
11991
11991
|
var cacheStringFunction = (fn) => {
|
|
11992
11992
|
const cache = /* @__PURE__ */ Object.create(null);
|
|
11993
|
-
return (str2) => {
|
|
11993
|
+
return ((str2) => {
|
|
11994
11994
|
const hit = cache[str2];
|
|
11995
11995
|
return hit || (cache[str2] = fn(str2));
|
|
11996
|
-
};
|
|
11996
|
+
});
|
|
11997
11997
|
};
|
|
11998
11998
|
var camelizeRE = /-\w/g;
|
|
11999
11999
|
var camelize = cacheStringFunction(
|
|
@@ -12523,9 +12523,9 @@ var require_shared_cjs_prod = __commonJS({
|
|
|
12523
12523
|
}
|
|
12524
12524
|
});
|
|
12525
12525
|
|
|
12526
|
-
// ../../node_modules/.pnpm/@vue+shared@3.5.
|
|
12526
|
+
// ../../node_modules/.pnpm/@vue+shared@3.5.33/node_modules/@vue/shared/dist/shared.cjs.js
|
|
12527
12527
|
var require_shared_cjs = __commonJS({
|
|
12528
|
-
"../../node_modules/.pnpm/@vue+shared@3.5.
|
|
12528
|
+
"../../node_modules/.pnpm/@vue+shared@3.5.33/node_modules/@vue/shared/dist/shared.cjs.js"(exports2) {
|
|
12529
12529
|
"use strict";
|
|
12530
12530
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
12531
12531
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -12579,10 +12579,10 @@ var require_shared_cjs = __commonJS({
|
|
|
12579
12579
|
);
|
|
12580
12580
|
var cacheStringFunction = (fn) => {
|
|
12581
12581
|
const cache = /* @__PURE__ */ Object.create(null);
|
|
12582
|
-
return (str2) => {
|
|
12582
|
+
return ((str2) => {
|
|
12583
12583
|
const hit = cache[str2];
|
|
12584
12584
|
return hit || (cache[str2] = fn(str2));
|
|
12585
|
-
};
|
|
12585
|
+
});
|
|
12586
12586
|
};
|
|
12587
12587
|
var camelizeRE = /-\w/g;
|
|
12588
12588
|
var camelize = cacheStringFunction(
|
|
@@ -13120,9 +13120,9 @@ var require_shared_cjs = __commonJS({
|
|
|
13120
13120
|
}
|
|
13121
13121
|
});
|
|
13122
13122
|
|
|
13123
|
-
// ../../node_modules/.pnpm/@vue+shared@3.5.
|
|
13123
|
+
// ../../node_modules/.pnpm/@vue+shared@3.5.33/node_modules/@vue/shared/index.js
|
|
13124
13124
|
var require_shared = __commonJS({
|
|
13125
|
-
"../../node_modules/.pnpm/@vue+shared@3.5.
|
|
13125
|
+
"../../node_modules/.pnpm/@vue+shared@3.5.33/node_modules/@vue/shared/index.js"(exports2, module2) {
|
|
13126
13126
|
"use strict";
|
|
13127
13127
|
if (process.env.NODE_ENV === "production") {
|
|
13128
13128
|
module2.exports = require_shared_cjs_prod();
|
|
@@ -13173,7 +13173,7 @@ var require_decode_codepoint = __commonJS({
|
|
|
13173
13173
|
[159, 376]
|
|
13174
13174
|
]);
|
|
13175
13175
|
exports2.fromCodePoint = // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, n/no-unsupported-features/es-builtins
|
|
13176
|
-
(_a2 = String.fromCodePoint) !== null && _a2 !== void 0 ? _a2 : (codePoint) => {
|
|
13176
|
+
(_a2 = String.fromCodePoint) !== null && _a2 !== void 0 ? _a2 : ((codePoint) => {
|
|
13177
13177
|
let output2 = "";
|
|
13178
13178
|
if (codePoint > 65535) {
|
|
13179
13179
|
codePoint -= 65536;
|
|
@@ -13182,7 +13182,7 @@ var require_decode_codepoint = __commonJS({
|
|
|
13182
13182
|
}
|
|
13183
13183
|
output2 += String.fromCharCode(codePoint);
|
|
13184
13184
|
return output2;
|
|
13185
|
-
};
|
|
13185
|
+
});
|
|
13186
13186
|
function replaceCodePoint(codePoint) {
|
|
13187
13187
|
var _a3;
|
|
13188
13188
|
if (codePoint >= 55296 && codePoint <= 57343 || codePoint > 1114111) {
|
|
@@ -28274,7 +28274,7 @@ var require_estree_walker = __commonJS({
|
|
|
28274
28274
|
"../../node_modules/.pnpm/estree-walker@2.0.2/node_modules/estree-walker/dist/umd/estree-walker.js"(exports2, module2) {
|
|
28275
28275
|
(function(global2, factory) {
|
|
28276
28276
|
typeof exports2 === "object" && typeof module2 !== "undefined" ? factory(exports2) : typeof define === "function" && define.amd ? define(["exports"], factory) : (global2 = global2 || self, factory(global2.estreeWalker = {}));
|
|
28277
|
-
})(exports2, function(exports3) {
|
|
28277
|
+
})(exports2, (function(exports3) {
|
|
28278
28278
|
"use strict";
|
|
28279
28279
|
class WalkerBase {
|
|
28280
28280
|
constructor() {
|
|
@@ -28494,7 +28494,7 @@ var require_estree_walker = __commonJS({
|
|
|
28494
28494
|
exports3.asyncWalk = asyncWalk;
|
|
28495
28495
|
exports3.walk = walk;
|
|
28496
28496
|
Object.defineProperty(exports3, "__esModule", { value: true });
|
|
28497
|
-
});
|
|
28497
|
+
}));
|
|
28498
28498
|
}
|
|
28499
28499
|
});
|
|
28500
28500
|
|
|
@@ -28775,10 +28775,10 @@ var require_util2 = __commonJS({
|
|
|
28775
28775
|
return Array(level + 1).join("../") + aPath.substr(aRoot.length + 1);
|
|
28776
28776
|
}
|
|
28777
28777
|
exports2.relative = relative;
|
|
28778
|
-
var supportsNullProto = function() {
|
|
28778
|
+
var supportsNullProto = (function() {
|
|
28779
28779
|
var obj = /* @__PURE__ */ Object.create(null);
|
|
28780
28780
|
return !("__proto__" in obj);
|
|
28781
|
-
}();
|
|
28781
|
+
})();
|
|
28782
28782
|
function identity(s) {
|
|
28783
28783
|
return s;
|
|
28784
28784
|
}
|
|
@@ -30401,9 +30401,9 @@ var require_source_map = __commonJS({
|
|
|
30401
30401
|
}
|
|
30402
30402
|
});
|
|
30403
30403
|
|
|
30404
|
-
// ../../node_modules/.pnpm/@vue+compiler-core@3.5.
|
|
30404
|
+
// ../../node_modules/.pnpm/@vue+compiler-core@3.5.33/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js
|
|
30405
30405
|
var require_compiler_core_cjs_prod = __commonJS({
|
|
30406
|
-
"../../node_modules/.pnpm/@vue+compiler-core@3.5.
|
|
30406
|
+
"../../node_modules/.pnpm/@vue+compiler-core@3.5.33/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js"(exports2) {
|
|
30407
30407
|
"use strict";
|
|
30408
30408
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
30409
30409
|
var shared = require_shared();
|
|
@@ -37168,9 +37168,9 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
37168
37168
|
}
|
|
37169
37169
|
});
|
|
37170
37170
|
|
|
37171
|
-
// ../../node_modules/.pnpm/@vue+compiler-core@3.5.
|
|
37171
|
+
// ../../node_modules/.pnpm/@vue+compiler-core@3.5.33/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js
|
|
37172
37172
|
var require_compiler_core_cjs = __commonJS({
|
|
37173
|
-
"../../node_modules/.pnpm/@vue+compiler-core@3.5.
|
|
37173
|
+
"../../node_modules/.pnpm/@vue+compiler-core@3.5.33/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js"(exports2) {
|
|
37174
37174
|
"use strict";
|
|
37175
37175
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
37176
37176
|
var shared = require_shared();
|
|
@@ -44059,9 +44059,9 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
44059
44059
|
}
|
|
44060
44060
|
});
|
|
44061
44061
|
|
|
44062
|
-
// ../../node_modules/.pnpm/@vue+compiler-core@3.5.
|
|
44062
|
+
// ../../node_modules/.pnpm/@vue+compiler-core@3.5.33/node_modules/@vue/compiler-core/index.js
|
|
44063
44063
|
var require_compiler_core = __commonJS({
|
|
44064
|
-
"../../node_modules/.pnpm/@vue+compiler-core@3.5.
|
|
44064
|
+
"../../node_modules/.pnpm/@vue+compiler-core@3.5.33/node_modules/@vue/compiler-core/index.js"(exports2, module2) {
|
|
44065
44065
|
"use strict";
|
|
44066
44066
|
if (process.env.NODE_ENV === "production") {
|
|
44067
44067
|
module2.exports = require_compiler_core_cjs_prod();
|
|
@@ -44071,9 +44071,9 @@ var require_compiler_core = __commonJS({
|
|
|
44071
44071
|
}
|
|
44072
44072
|
});
|
|
44073
44073
|
|
|
44074
|
-
// ../../node_modules/.pnpm/@vue+compiler-dom@3.5.
|
|
44074
|
+
// ../../node_modules/.pnpm/@vue+compiler-dom@3.5.33/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js
|
|
44075
44075
|
var require_compiler_dom_cjs_prod = __commonJS({
|
|
44076
|
-
"../../node_modules/.pnpm/@vue+compiler-dom@3.5.
|
|
44076
|
+
"../../node_modules/.pnpm/@vue+compiler-dom@3.5.33/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js"(exports2) {
|
|
44077
44077
|
"use strict";
|
|
44078
44078
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
44079
44079
|
var compilerCore = require_compiler_core();
|
|
@@ -44746,9 +44746,9 @@ var require_compiler_dom_cjs_prod = __commonJS({
|
|
|
44746
44746
|
}
|
|
44747
44747
|
});
|
|
44748
44748
|
|
|
44749
|
-
// ../../node_modules/.pnpm/@vue+compiler-dom@3.5.
|
|
44749
|
+
// ../../node_modules/.pnpm/@vue+compiler-dom@3.5.33/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.js
|
|
44750
44750
|
var require_compiler_dom_cjs = __commonJS({
|
|
44751
|
-
"../../node_modules/.pnpm/@vue+compiler-dom@3.5.
|
|
44751
|
+
"../../node_modules/.pnpm/@vue+compiler-dom@3.5.33/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.js"(exports2) {
|
|
44752
44752
|
"use strict";
|
|
44753
44753
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
44754
44754
|
var compilerCore = require_compiler_core();
|
|
@@ -45663,9 +45663,9 @@ var require_compiler_dom_cjs = __commonJS({
|
|
|
45663
45663
|
}
|
|
45664
45664
|
});
|
|
45665
45665
|
|
|
45666
|
-
// ../../node_modules/.pnpm/@vue+compiler-dom@3.5.
|
|
45666
|
+
// ../../node_modules/.pnpm/@vue+compiler-dom@3.5.33/node_modules/@vue/compiler-dom/index.js
|
|
45667
45667
|
var require_compiler_dom = __commonJS({
|
|
45668
|
-
"../../node_modules/.pnpm/@vue+compiler-dom@3.5.
|
|
45668
|
+
"../../node_modules/.pnpm/@vue+compiler-dom@3.5.33/node_modules/@vue/compiler-dom/index.js"(exports2, module2) {
|
|
45669
45669
|
"use strict";
|
|
45670
45670
|
if (process.env.NODE_ENV === "production") {
|
|
45671
45671
|
module2.exports = require_compiler_dom_cjs_prod();
|
|
@@ -45675,9 +45675,9 @@ var require_compiler_dom = __commonJS({
|
|
|
45675
45675
|
}
|
|
45676
45676
|
});
|
|
45677
45677
|
|
|
45678
|
-
// ../../node_modules/.pnpm/@vue+reactivity@3.5.
|
|
45678
|
+
// ../../node_modules/.pnpm/@vue+reactivity@3.5.33/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js
|
|
45679
45679
|
var require_reactivity_cjs_prod = __commonJS({
|
|
45680
|
-
"../../node_modules/.pnpm/@vue+reactivity@3.5.
|
|
45680
|
+
"../../node_modules/.pnpm/@vue+reactivity@3.5.33/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js"(exports2) {
|
|
45681
45681
|
"use strict";
|
|
45682
45682
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
45683
45683
|
var shared = require_shared();
|
|
@@ -45762,7 +45762,18 @@ var require_reactivity_cjs_prod = __commonJS({
|
|
|
45762
45762
|
*/
|
|
45763
45763
|
off() {
|
|
45764
45764
|
if (this._on > 0 && --this._on === 0) {
|
|
45765
|
-
activeEffectScope
|
|
45765
|
+
if (activeEffectScope === this) {
|
|
45766
|
+
activeEffectScope = this.prevScope;
|
|
45767
|
+
} else {
|
|
45768
|
+
let current = activeEffectScope;
|
|
45769
|
+
while (current) {
|
|
45770
|
+
if (current.prevScope === this) {
|
|
45771
|
+
current.prevScope = this.prevScope;
|
|
45772
|
+
break;
|
|
45773
|
+
}
|
|
45774
|
+
current = current.prevScope;
|
|
45775
|
+
}
|
|
45776
|
+
}
|
|
45766
45777
|
this.prevScope = void 0;
|
|
45767
45778
|
}
|
|
45768
45779
|
}
|
|
@@ -47471,9 +47482,9 @@ var require_reactivity_cjs_prod = __commonJS({
|
|
|
47471
47482
|
}
|
|
47472
47483
|
});
|
|
47473
47484
|
|
|
47474
|
-
// ../../node_modules/.pnpm/@vue+reactivity@3.5.
|
|
47485
|
+
// ../../node_modules/.pnpm/@vue+reactivity@3.5.33/node_modules/@vue/reactivity/dist/reactivity.cjs.js
|
|
47475
47486
|
var require_reactivity_cjs = __commonJS({
|
|
47476
|
-
"../../node_modules/.pnpm/@vue+reactivity@3.5.
|
|
47487
|
+
"../../node_modules/.pnpm/@vue+reactivity@3.5.33/node_modules/@vue/reactivity/dist/reactivity.cjs.js"(exports2) {
|
|
47477
47488
|
"use strict";
|
|
47478
47489
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
47479
47490
|
var shared = require_shared();
|
|
@@ -47563,7 +47574,18 @@ var require_reactivity_cjs = __commonJS({
|
|
|
47563
47574
|
*/
|
|
47564
47575
|
off() {
|
|
47565
47576
|
if (this._on > 0 && --this._on === 0) {
|
|
47566
|
-
activeEffectScope
|
|
47577
|
+
if (activeEffectScope === this) {
|
|
47578
|
+
activeEffectScope = this.prevScope;
|
|
47579
|
+
} else {
|
|
47580
|
+
let current = activeEffectScope;
|
|
47581
|
+
while (current) {
|
|
47582
|
+
if (current.prevScope === this) {
|
|
47583
|
+
current.prevScope = this.prevScope;
|
|
47584
|
+
break;
|
|
47585
|
+
}
|
|
47586
|
+
current = current.prevScope;
|
|
47587
|
+
}
|
|
47588
|
+
}
|
|
47567
47589
|
this.prevScope = void 0;
|
|
47568
47590
|
}
|
|
47569
47591
|
}
|
|
@@ -49421,9 +49443,9 @@ var require_reactivity_cjs = __commonJS({
|
|
|
49421
49443
|
}
|
|
49422
49444
|
});
|
|
49423
49445
|
|
|
49424
|
-
// ../../node_modules/.pnpm/@vue+reactivity@3.5.
|
|
49446
|
+
// ../../node_modules/.pnpm/@vue+reactivity@3.5.33/node_modules/@vue/reactivity/index.js
|
|
49425
49447
|
var require_reactivity = __commonJS({
|
|
49426
|
-
"../../node_modules/.pnpm/@vue+reactivity@3.5.
|
|
49448
|
+
"../../node_modules/.pnpm/@vue+reactivity@3.5.33/node_modules/@vue/reactivity/index.js"(exports2, module2) {
|
|
49427
49449
|
"use strict";
|
|
49428
49450
|
if (process.env.NODE_ENV === "production") {
|
|
49429
49451
|
module2.exports = require_reactivity_cjs_prod();
|
|
@@ -49433,9 +49455,9 @@ var require_reactivity = __commonJS({
|
|
|
49433
49455
|
}
|
|
49434
49456
|
});
|
|
49435
49457
|
|
|
49436
|
-
// ../../node_modules/.pnpm/@vue+runtime-core@3.5.
|
|
49458
|
+
// ../../node_modules/.pnpm/@vue+runtime-core@3.5.33/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js
|
|
49437
49459
|
var require_runtime_core_cjs_prod = __commonJS({
|
|
49438
|
-
"../../node_modules/.pnpm/@vue+runtime-core@3.5.
|
|
49460
|
+
"../../node_modules/.pnpm/@vue+runtime-core@3.5.33/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js"(exports2) {
|
|
49439
49461
|
"use strict";
|
|
49440
49462
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
49441
49463
|
var reactivity = require_reactivity();
|
|
@@ -49962,7 +49984,7 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
49962
49984
|
mc: mountChildren,
|
|
49963
49985
|
pc: patchChildren,
|
|
49964
49986
|
pbc: patchBlockChildren,
|
|
49965
|
-
o: { insert, querySelector, createText, createComment }
|
|
49987
|
+
o: { insert, querySelector, createText, createComment, parentNode }
|
|
49966
49988
|
} = internals;
|
|
49967
49989
|
const disabled = isTeleportDisabled(n22.props);
|
|
49968
49990
|
let { dynamicChildren } = n22;
|
|
@@ -50004,7 +50026,8 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
50004
50026
|
if (pendingMounts.get(vnode) !== mountJob) return;
|
|
50005
50027
|
pendingMounts.delete(vnode);
|
|
50006
50028
|
if (isTeleportDisabled(vnode.props)) {
|
|
50007
|
-
|
|
50029
|
+
const mountContainer = parentNode(vnode.el) || container;
|
|
50030
|
+
mount(vnode, mountContainer, vnode.anchor);
|
|
50008
50031
|
updateCssVars(vnode, true);
|
|
50009
50032
|
}
|
|
50010
50033
|
mountToTarget(vnode);
|
|
@@ -50160,7 +50183,7 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
50160
50183
|
if (isReorder) {
|
|
50161
50184
|
insert(el, container, parentAnchor);
|
|
50162
50185
|
}
|
|
50163
|
-
if (!isReorder || isTeleportDisabled(props)) {
|
|
50186
|
+
if (!pendingMounts.has(vnode) && (!isReorder || isTeleportDisabled(props))) {
|
|
50164
50187
|
if (shapeFlag & 16) {
|
|
50165
50188
|
for (let i = 0; i < children.length; i++) {
|
|
50166
50189
|
move(
|
|
@@ -50333,10 +50356,14 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
50333
50356
|
const state = useTransitionState();
|
|
50334
50357
|
return () => {
|
|
50335
50358
|
const children = slots.default && getTransitionRawChildren(slots.default(), true);
|
|
50336
|
-
|
|
50359
|
+
const child = children && children.length ? findNonCommentChild(children) : (
|
|
50360
|
+
// Keep explicit default-slot conditionals on the same transition path
|
|
50361
|
+
// as regular v-if branches, which render a comment placeholder.
|
|
50362
|
+
instance.subTree ? createCommentVNode() : void 0
|
|
50363
|
+
);
|
|
50364
|
+
if (!child) {
|
|
50337
50365
|
return;
|
|
50338
50366
|
}
|
|
50339
|
-
const child = findNonCommentChild(children);
|
|
50340
50367
|
const rawProps = reactivity.toRaw(props);
|
|
50341
50368
|
const { mode } = rawProps;
|
|
50342
50369
|
if (state.isLeaving) {
|
|
@@ -56118,7 +56145,7 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
56118
56145
|
}
|
|
56119
56146
|
return true;
|
|
56120
56147
|
}
|
|
56121
|
-
var version3 = "3.5.
|
|
56148
|
+
var version3 = "3.5.33";
|
|
56122
56149
|
var warn$1 = shared.NOOP;
|
|
56123
56150
|
var ErrorTypeStrings = ErrorTypeStrings$1;
|
|
56124
56151
|
var devtools = void 0;
|
|
@@ -56288,9 +56315,9 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
56288
56315
|
}
|
|
56289
56316
|
});
|
|
56290
56317
|
|
|
56291
|
-
// ../../node_modules/.pnpm/@vue+runtime-core@3.5.
|
|
56318
|
+
// ../../node_modules/.pnpm/@vue+runtime-core@3.5.33/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js
|
|
56292
56319
|
var require_runtime_core_cjs = __commonJS({
|
|
56293
|
-
"../../node_modules/.pnpm/@vue+runtime-core@3.5.
|
|
56320
|
+
"../../node_modules/.pnpm/@vue+runtime-core@3.5.33/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js"(exports2) {
|
|
56294
56321
|
"use strict";
|
|
56295
56322
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
56296
56323
|
var reactivity = require_reactivity();
|
|
@@ -57272,7 +57299,7 @@ var require_runtime_core_cjs = __commonJS({
|
|
|
57272
57299
|
mc: mountChildren,
|
|
57273
57300
|
pc: patchChildren,
|
|
57274
57301
|
pbc: patchBlockChildren,
|
|
57275
|
-
o: { insert, querySelector, createText, createComment }
|
|
57302
|
+
o: { insert, querySelector, createText, createComment, parentNode }
|
|
57276
57303
|
} = internals;
|
|
57277
57304
|
const disabled = isTeleportDisabled(n22.props);
|
|
57278
57305
|
let { dynamicChildren } = n22;
|
|
@@ -57320,7 +57347,8 @@ var require_runtime_core_cjs = __commonJS({
|
|
|
57320
57347
|
if (pendingMounts.get(vnode) !== mountJob) return;
|
|
57321
57348
|
pendingMounts.delete(vnode);
|
|
57322
57349
|
if (isTeleportDisabled(vnode.props)) {
|
|
57323
|
-
|
|
57350
|
+
const mountContainer = parentNode(vnode.el) || container;
|
|
57351
|
+
mount(vnode, mountContainer, vnode.anchor);
|
|
57324
57352
|
updateCssVars(vnode, true);
|
|
57325
57353
|
}
|
|
57326
57354
|
mountToTarget(vnode);
|
|
@@ -57482,7 +57510,7 @@ var require_runtime_core_cjs = __commonJS({
|
|
|
57482
57510
|
if (isReorder) {
|
|
57483
57511
|
insert(el, container, parentAnchor);
|
|
57484
57512
|
}
|
|
57485
|
-
if (!isReorder || isTeleportDisabled(props)) {
|
|
57513
|
+
if (!pendingMounts.has(vnode) && (!isReorder || isTeleportDisabled(props))) {
|
|
57486
57514
|
if (shapeFlag & 16) {
|
|
57487
57515
|
for (let i = 0; i < children.length; i++) {
|
|
57488
57516
|
move(
|
|
@@ -57655,10 +57683,14 @@ var require_runtime_core_cjs = __commonJS({
|
|
|
57655
57683
|
const state = useTransitionState();
|
|
57656
57684
|
return () => {
|
|
57657
57685
|
const children = slots.default && getTransitionRawChildren(slots.default(), true);
|
|
57658
|
-
|
|
57686
|
+
const child = children && children.length ? findNonCommentChild(children) : (
|
|
57687
|
+
// Keep explicit default-slot conditionals on the same transition path
|
|
57688
|
+
// as regular v-if branches, which render a comment placeholder.
|
|
57689
|
+
instance.subTree ? createCommentVNode() : void 0
|
|
57690
|
+
);
|
|
57691
|
+
if (!child) {
|
|
57659
57692
|
return;
|
|
57660
57693
|
}
|
|
57661
|
-
const child = findNonCommentChild(children);
|
|
57662
57694
|
const rawProps = reactivity.toRaw(props);
|
|
57663
57695
|
const { mode } = rawProps;
|
|
57664
57696
|
if (mode && mode !== "in-out" && mode !== "out-in" && mode !== "default") {
|
|
@@ -64846,7 +64878,7 @@ Component that was made reactive: `,
|
|
|
64846
64878
|
}
|
|
64847
64879
|
return true;
|
|
64848
64880
|
}
|
|
64849
|
-
var version3 = "3.5.
|
|
64881
|
+
var version3 = "3.5.33";
|
|
64850
64882
|
var warn2 = warn$1;
|
|
64851
64883
|
var ErrorTypeStrings = ErrorTypeStrings$1;
|
|
64852
64884
|
var devtools = devtools$1;
|
|
@@ -65016,9 +65048,9 @@ Component that was made reactive: `,
|
|
|
65016
65048
|
}
|
|
65017
65049
|
});
|
|
65018
65050
|
|
|
65019
|
-
// ../../node_modules/.pnpm/@vue+runtime-core@3.5.
|
|
65051
|
+
// ../../node_modules/.pnpm/@vue+runtime-core@3.5.33/node_modules/@vue/runtime-core/index.js
|
|
65020
65052
|
var require_runtime_core = __commonJS({
|
|
65021
|
-
"../../node_modules/.pnpm/@vue+runtime-core@3.5.
|
|
65053
|
+
"../../node_modules/.pnpm/@vue+runtime-core@3.5.33/node_modules/@vue/runtime-core/index.js"(exports2, module2) {
|
|
65022
65054
|
"use strict";
|
|
65023
65055
|
if (process.env.NODE_ENV === "production") {
|
|
65024
65056
|
module2.exports = require_runtime_core_cjs_prod();
|
|
@@ -65028,9 +65060,9 @@ var require_runtime_core = __commonJS({
|
|
|
65028
65060
|
}
|
|
65029
65061
|
});
|
|
65030
65062
|
|
|
65031
|
-
// ../../node_modules/.pnpm/@vue+runtime-dom@3.5.
|
|
65063
|
+
// ../../node_modules/.pnpm/@vue+runtime-dom@3.5.33/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js
|
|
65032
65064
|
var require_runtime_dom_cjs_prod = __commonJS({
|
|
65033
|
-
"../../node_modules/.pnpm/@vue+runtime-dom@3.5.
|
|
65065
|
+
"../../node_modules/.pnpm/@vue+runtime-dom@3.5.33/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js"(exports2) {
|
|
65034
65066
|
"use strict";
|
|
65035
65067
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
65036
65068
|
var runtimeCore = require_runtime_core();
|
|
@@ -65483,7 +65515,19 @@ var require_runtime_dom_cjs_prod = __commonJS({
|
|
|
65483
65515
|
if (key === "display") {
|
|
65484
65516
|
hasControlledDisplay = true;
|
|
65485
65517
|
}
|
|
65486
|
-
|
|
65518
|
+
const value = next[key];
|
|
65519
|
+
if (value != null) {
|
|
65520
|
+
if (!shouldPreserveTextareaResizeStyle(
|
|
65521
|
+
el,
|
|
65522
|
+
key,
|
|
65523
|
+
!shared.isString(prev) && prev ? prev[key] : void 0,
|
|
65524
|
+
value
|
|
65525
|
+
)) {
|
|
65526
|
+
setStyle(style, key, value);
|
|
65527
|
+
}
|
|
65528
|
+
} else {
|
|
65529
|
+
setStyle(style, key, "");
|
|
65530
|
+
}
|
|
65487
65531
|
}
|
|
65488
65532
|
} else {
|
|
65489
65533
|
if (isCssString) {
|
|
@@ -65548,6 +65592,9 @@ var require_runtime_dom_cjs_prod = __commonJS({
|
|
|
65548
65592
|
}
|
|
65549
65593
|
return rawName;
|
|
65550
65594
|
}
|
|
65595
|
+
function shouldPreserveTextareaResizeStyle(el, key, prev, next) {
|
|
65596
|
+
return el.tagName === "TEXTAREA" && (key === "width" || key === "height") && shared.isString(next) && prev === next;
|
|
65597
|
+
}
|
|
65551
65598
|
var xlinkNS = "http://www.w3.org/1999/xlink";
|
|
65552
65599
|
function patchAttr(el, key, value, isSVG, instance, isBoolean = shared.isSpecialBooleanAttr(key)) {
|
|
65553
65600
|
if (isSVG && key.startsWith("xlink:")) {
|
|
@@ -65779,9 +65826,9 @@ var require_runtime_dom_cjs_prod = __commonJS({
|
|
|
65779
65826
|
VueCustomElement.def = Comp;
|
|
65780
65827
|
return VueCustomElement;
|
|
65781
65828
|
}
|
|
65782
|
-
var defineSSRCustomElement = /* @__NO_SIDE_EFFECTS__ */ (options2, extraOptions) => {
|
|
65829
|
+
var defineSSRCustomElement = (/* @__NO_SIDE_EFFECTS__ */ (options2, extraOptions) => {
|
|
65783
65830
|
return /* @__PURE__ */ defineCustomElement(options2, extraOptions, createSSRApp);
|
|
65784
|
-
};
|
|
65831
|
+
});
|
|
65785
65832
|
var BaseClass = typeof HTMLElement !== "undefined" ? HTMLElement : class {
|
|
65786
65833
|
};
|
|
65787
65834
|
var VueElement = class _VueElement extends BaseClass {
|
|
@@ -66662,13 +66709,13 @@ var require_runtime_dom_cjs_prod = __commonJS({
|
|
|
66662
66709
|
if (!fn) return fn;
|
|
66663
66710
|
const cache = fn._withMods || (fn._withMods = {});
|
|
66664
66711
|
const cacheKey = modifiers2.join(".");
|
|
66665
|
-
return cache[cacheKey] || (cache[cacheKey] = (event, ...args) => {
|
|
66712
|
+
return cache[cacheKey] || (cache[cacheKey] = ((event, ...args) => {
|
|
66666
66713
|
for (let i = 0; i < modifiers2.length; i++) {
|
|
66667
66714
|
const guard = modifierGuards[modifiers2[i]];
|
|
66668
66715
|
if (guard && guard(event, modifiers2)) return;
|
|
66669
66716
|
}
|
|
66670
66717
|
return fn(event, ...args);
|
|
66671
|
-
});
|
|
66718
|
+
}));
|
|
66672
66719
|
};
|
|
66673
66720
|
var keyNames = {
|
|
66674
66721
|
esc: "escape",
|
|
@@ -66682,7 +66729,7 @@ var require_runtime_dom_cjs_prod = __commonJS({
|
|
|
66682
66729
|
var withKeys = (fn, modifiers2) => {
|
|
66683
66730
|
const cache = fn._withKeys || (fn._withKeys = {});
|
|
66684
66731
|
const cacheKey = modifiers2.join(".");
|
|
66685
|
-
return cache[cacheKey] || (cache[cacheKey] = (event) => {
|
|
66732
|
+
return cache[cacheKey] || (cache[cacheKey] = ((event) => {
|
|
66686
66733
|
if (!("key" in event)) {
|
|
66687
66734
|
return;
|
|
66688
66735
|
}
|
|
@@ -66692,7 +66739,7 @@ var require_runtime_dom_cjs_prod = __commonJS({
|
|
|
66692
66739
|
)) {
|
|
66693
66740
|
return fn(event);
|
|
66694
66741
|
}
|
|
66695
|
-
});
|
|
66742
|
+
}));
|
|
66696
66743
|
};
|
|
66697
66744
|
var rendererOptions = /* @__PURE__ */ shared.extend({ patchProp }, nodeOps);
|
|
66698
66745
|
var renderer;
|
|
@@ -66705,13 +66752,13 @@ var require_runtime_dom_cjs_prod = __commonJS({
|
|
|
66705
66752
|
enabledHydration = true;
|
|
66706
66753
|
return renderer;
|
|
66707
66754
|
}
|
|
66708
|
-
var render = (...args) => {
|
|
66755
|
+
var render = ((...args) => {
|
|
66709
66756
|
ensureRenderer().render(...args);
|
|
66710
|
-
};
|
|
66711
|
-
var hydrate = (...args) => {
|
|
66757
|
+
});
|
|
66758
|
+
var hydrate = ((...args) => {
|
|
66712
66759
|
ensureHydrationRenderer().hydrate(...args);
|
|
66713
|
-
};
|
|
66714
|
-
var createApp = (...args) => {
|
|
66760
|
+
});
|
|
66761
|
+
var createApp = ((...args) => {
|
|
66715
66762
|
const app = ensureRenderer().createApp(...args);
|
|
66716
66763
|
const { mount } = app;
|
|
66717
66764
|
app.mount = (containerOrSelector) => {
|
|
@@ -66732,8 +66779,8 @@ var require_runtime_dom_cjs_prod = __commonJS({
|
|
|
66732
66779
|
return proxy;
|
|
66733
66780
|
};
|
|
66734
66781
|
return app;
|
|
66735
|
-
};
|
|
66736
|
-
var createSSRApp = (...args) => {
|
|
66782
|
+
});
|
|
66783
|
+
var createSSRApp = ((...args) => {
|
|
66737
66784
|
const app = ensureHydrationRenderer().createApp(...args);
|
|
66738
66785
|
const { mount } = app;
|
|
66739
66786
|
app.mount = (containerOrSelector) => {
|
|
@@ -66743,7 +66790,7 @@ var require_runtime_dom_cjs_prod = __commonJS({
|
|
|
66743
66790
|
}
|
|
66744
66791
|
};
|
|
66745
66792
|
return app;
|
|
66746
|
-
};
|
|
66793
|
+
});
|
|
66747
66794
|
function resolveRootNamespace(container) {
|
|
66748
66795
|
if (container instanceof SVGElement) {
|
|
66749
66796
|
return "svg";
|
|
@@ -66797,9 +66844,9 @@ var require_runtime_dom_cjs_prod = __commonJS({
|
|
|
66797
66844
|
}
|
|
66798
66845
|
});
|
|
66799
66846
|
|
|
66800
|
-
// ../../node_modules/.pnpm/@vue+runtime-dom@3.5.
|
|
66847
|
+
// ../../node_modules/.pnpm/@vue+runtime-dom@3.5.33/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js
|
|
66801
66848
|
var require_runtime_dom_cjs = __commonJS({
|
|
66802
|
-
"../../node_modules/.pnpm/@vue+runtime-dom@3.5.
|
|
66849
|
+
"../../node_modules/.pnpm/@vue+runtime-dom@3.5.33/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js"(exports2) {
|
|
66803
66850
|
"use strict";
|
|
66804
66851
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
66805
66852
|
var runtimeCore = require_runtime_core();
|
|
@@ -67256,7 +67303,19 @@ var require_runtime_dom_cjs = __commonJS({
|
|
|
67256
67303
|
if (key === "display") {
|
|
67257
67304
|
hasControlledDisplay = true;
|
|
67258
67305
|
}
|
|
67259
|
-
|
|
67306
|
+
const value = next[key];
|
|
67307
|
+
if (value != null) {
|
|
67308
|
+
if (!shouldPreserveTextareaResizeStyle(
|
|
67309
|
+
el,
|
|
67310
|
+
key,
|
|
67311
|
+
!shared.isString(prev) && prev ? prev[key] : void 0,
|
|
67312
|
+
value
|
|
67313
|
+
)) {
|
|
67314
|
+
setStyle(style, key, value);
|
|
67315
|
+
}
|
|
67316
|
+
} else {
|
|
67317
|
+
setStyle(style, key, "");
|
|
67318
|
+
}
|
|
67260
67319
|
}
|
|
67261
67320
|
} else {
|
|
67262
67321
|
if (isCssString) {
|
|
@@ -67329,6 +67388,9 @@ var require_runtime_dom_cjs = __commonJS({
|
|
|
67329
67388
|
}
|
|
67330
67389
|
return rawName;
|
|
67331
67390
|
}
|
|
67391
|
+
function shouldPreserveTextareaResizeStyle(el, key, prev, next) {
|
|
67392
|
+
return el.tagName === "TEXTAREA" && (key === "width" || key === "height") && shared.isString(next) && prev === next;
|
|
67393
|
+
}
|
|
67332
67394
|
var xlinkNS = "http://www.w3.org/1999/xlink";
|
|
67333
67395
|
function patchAttr(el, key, value, isSVG, instance, isBoolean = shared.isSpecialBooleanAttr(key)) {
|
|
67334
67396
|
if (isSVG && key.startsWith("xlink:")) {
|
|
@@ -67576,9 +67638,9 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
|
67576
67638
|
VueCustomElement.def = Comp;
|
|
67577
67639
|
return VueCustomElement;
|
|
67578
67640
|
}
|
|
67579
|
-
var defineSSRCustomElement = /* @__NO_SIDE_EFFECTS__ */ (options2, extraOptions) => {
|
|
67641
|
+
var defineSSRCustomElement = (/* @__NO_SIDE_EFFECTS__ */ (options2, extraOptions) => {
|
|
67580
67642
|
return /* @__PURE__ */ defineCustomElement(options2, extraOptions, createSSRApp);
|
|
67581
|
-
};
|
|
67643
|
+
});
|
|
67582
67644
|
var BaseClass = typeof HTMLElement !== "undefined" ? HTMLElement : class {
|
|
67583
67645
|
};
|
|
67584
67646
|
var VueElement = class _VueElement extends BaseClass {
|
|
@@ -68528,13 +68590,13 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
|
68528
68590
|
if (!fn) return fn;
|
|
68529
68591
|
const cache = fn._withMods || (fn._withMods = {});
|
|
68530
68592
|
const cacheKey = modifiers2.join(".");
|
|
68531
|
-
return cache[cacheKey] || (cache[cacheKey] = (event, ...args) => {
|
|
68593
|
+
return cache[cacheKey] || (cache[cacheKey] = ((event, ...args) => {
|
|
68532
68594
|
for (let i = 0; i < modifiers2.length; i++) {
|
|
68533
68595
|
const guard = modifierGuards[modifiers2[i]];
|
|
68534
68596
|
if (guard && guard(event, modifiers2)) return;
|
|
68535
68597
|
}
|
|
68536
68598
|
return fn(event, ...args);
|
|
68537
|
-
});
|
|
68599
|
+
}));
|
|
68538
68600
|
};
|
|
68539
68601
|
var keyNames = {
|
|
68540
68602
|
esc: "escape",
|
|
@@ -68548,7 +68610,7 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
|
68548
68610
|
var withKeys = (fn, modifiers2) => {
|
|
68549
68611
|
const cache = fn._withKeys || (fn._withKeys = {});
|
|
68550
68612
|
const cacheKey = modifiers2.join(".");
|
|
68551
|
-
return cache[cacheKey] || (cache[cacheKey] = (event) => {
|
|
68613
|
+
return cache[cacheKey] || (cache[cacheKey] = ((event) => {
|
|
68552
68614
|
if (!("key" in event)) {
|
|
68553
68615
|
return;
|
|
68554
68616
|
}
|
|
@@ -68558,7 +68620,7 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
|
68558
68620
|
)) {
|
|
68559
68621
|
return fn(event);
|
|
68560
68622
|
}
|
|
68561
|
-
});
|
|
68623
|
+
}));
|
|
68562
68624
|
};
|
|
68563
68625
|
var rendererOptions = /* @__PURE__ */ shared.extend({ patchProp }, nodeOps);
|
|
68564
68626
|
var renderer;
|
|
@@ -68571,13 +68633,13 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
|
68571
68633
|
enabledHydration = true;
|
|
68572
68634
|
return renderer;
|
|
68573
68635
|
}
|
|
68574
|
-
var render = (...args) => {
|
|
68636
|
+
var render = ((...args) => {
|
|
68575
68637
|
ensureRenderer().render(...args);
|
|
68576
|
-
};
|
|
68577
|
-
var hydrate = (...args) => {
|
|
68638
|
+
});
|
|
68639
|
+
var hydrate = ((...args) => {
|
|
68578
68640
|
ensureHydrationRenderer().hydrate(...args);
|
|
68579
|
-
};
|
|
68580
|
-
var createApp = (...args) => {
|
|
68641
|
+
});
|
|
68642
|
+
var createApp = ((...args) => {
|
|
68581
68643
|
const app = ensureRenderer().createApp(...args);
|
|
68582
68644
|
{
|
|
68583
68645
|
injectNativeTagCheck(app);
|
|
@@ -68602,8 +68664,8 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
|
68602
68664
|
return proxy;
|
|
68603
68665
|
};
|
|
68604
68666
|
return app;
|
|
68605
|
-
};
|
|
68606
|
-
var createSSRApp = (...args) => {
|
|
68667
|
+
});
|
|
68668
|
+
var createSSRApp = ((...args) => {
|
|
68607
68669
|
const app = ensureHydrationRenderer().createApp(...args);
|
|
68608
68670
|
{
|
|
68609
68671
|
injectNativeTagCheck(app);
|
|
@@ -68617,7 +68679,7 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
|
68617
68679
|
}
|
|
68618
68680
|
};
|
|
68619
68681
|
return app;
|
|
68620
|
-
};
|
|
68682
|
+
});
|
|
68621
68683
|
function resolveRootNamespace(container) {
|
|
68622
68684
|
if (container instanceof SVGElement) {
|
|
68623
68685
|
return "svg";
|
|
@@ -68716,9 +68778,9 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
|
68716
68778
|
}
|
|
68717
68779
|
});
|
|
68718
68780
|
|
|
68719
|
-
// ../../node_modules/.pnpm/@vue+runtime-dom@3.5.
|
|
68781
|
+
// ../../node_modules/.pnpm/@vue+runtime-dom@3.5.33/node_modules/@vue/runtime-dom/index.js
|
|
68720
68782
|
var require_runtime_dom = __commonJS({
|
|
68721
|
-
"../../node_modules/.pnpm/@vue+runtime-dom@3.5.
|
|
68783
|
+
"../../node_modules/.pnpm/@vue+runtime-dom@3.5.33/node_modules/@vue/runtime-dom/index.js"(exports2, module2) {
|
|
68722
68784
|
"use strict";
|
|
68723
68785
|
if (process.env.NODE_ENV === "production") {
|
|
68724
68786
|
module2.exports = require_runtime_dom_cjs_prod();
|
|
@@ -68728,9 +68790,9 @@ var require_runtime_dom = __commonJS({
|
|
|
68728
68790
|
}
|
|
68729
68791
|
});
|
|
68730
68792
|
|
|
68731
|
-
// ../../node_modules/.pnpm/vue@3.5.
|
|
68793
|
+
// ../../node_modules/.pnpm/vue@3.5.33_typescript@6.0.2/node_modules/vue/dist/vue.cjs.prod.js
|
|
68732
68794
|
var require_vue_cjs_prod = __commonJS({
|
|
68733
|
-
"../../node_modules/.pnpm/vue@3.5.
|
|
68795
|
+
"../../node_modules/.pnpm/vue@3.5.33_typescript@6.0.2/node_modules/vue/dist/vue.cjs.prod.js"(exports2) {
|
|
68734
68796
|
"use strict";
|
|
68735
68797
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
68736
68798
|
var compilerDom = require_compiler_dom();
|
|
@@ -68789,9 +68851,9 @@ var require_vue_cjs_prod = __commonJS({
|
|
|
68789
68851
|
}
|
|
68790
68852
|
});
|
|
68791
68853
|
|
|
68792
|
-
// ../../node_modules/.pnpm/vue@3.5.
|
|
68854
|
+
// ../../node_modules/.pnpm/vue@3.5.33_typescript@6.0.2/node_modules/vue/dist/vue.cjs.js
|
|
68793
68855
|
var require_vue_cjs = __commonJS({
|
|
68794
|
-
"../../node_modules/.pnpm/vue@3.5.
|
|
68856
|
+
"../../node_modules/.pnpm/vue@3.5.33_typescript@6.0.2/node_modules/vue/dist/vue.cjs.js"(exports2) {
|
|
68795
68857
|
"use strict";
|
|
68796
68858
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
68797
68859
|
var compilerDom = require_compiler_dom();
|
|
@@ -68864,9 +68926,9 @@ ${codeFrame}` : message);
|
|
|
68864
68926
|
}
|
|
68865
68927
|
});
|
|
68866
68928
|
|
|
68867
|
-
// ../../node_modules/.pnpm/vue@3.5.
|
|
68929
|
+
// ../../node_modules/.pnpm/vue@3.5.33_typescript@6.0.2/node_modules/vue/index.js
|
|
68868
68930
|
var require_vue = __commonJS({
|
|
68869
|
-
"../../node_modules/.pnpm/vue@3.5.
|
|
68931
|
+
"../../node_modules/.pnpm/vue@3.5.33_typescript@6.0.2/node_modules/vue/index.js"(exports2, module2) {
|
|
68870
68932
|
"use strict";
|
|
68871
68933
|
if (process.env.NODE_ENV === "production") {
|
|
68872
68934
|
module2.exports = require_vue_cjs_prod();
|
|
@@ -68895,7 +68957,7 @@ function ansiRegex({ onlyFirst = false } = {}) {
|
|
|
68895
68957
|
return new RegExp(pattern, onlyFirst ? void 0 : "g");
|
|
68896
68958
|
}
|
|
68897
68959
|
|
|
68898
|
-
// ../../node_modules/.pnpm/strip-ansi@7.1.
|
|
68960
|
+
// ../../node_modules/.pnpm/strip-ansi@7.1.2/node_modules/strip-ansi/index.js
|
|
68899
68961
|
var regex = ansiRegex();
|
|
68900
68962
|
function stripAnsi(string4) {
|
|
68901
68963
|
if (typeof string4 !== "string") {
|
|
@@ -69098,11 +69160,11 @@ Visit https://nodejs.org to download the latest version.`
|
|
|
69098
69160
|
}
|
|
69099
69161
|
|
|
69100
69162
|
// src/program.ts
|
|
69101
|
-
import { Command as
|
|
69163
|
+
import { Command as Command49 } from "commander";
|
|
69102
69164
|
|
|
69103
69165
|
// package.json
|
|
69104
69166
|
var name = "@scalar/cli";
|
|
69105
|
-
var version = "1.8.
|
|
69167
|
+
var version = "1.8.9";
|
|
69106
69168
|
var bin = {
|
|
69107
69169
|
scalar: "./dist/index.js",
|
|
69108
69170
|
"scalar-cli": "./dist/index.js"
|
|
@@ -69690,7 +69752,7 @@ function $constructor(name2, initializer3, params) {
|
|
|
69690
69752
|
Object.defineProperty(_, "name", { value: name2 });
|
|
69691
69753
|
return _;
|
|
69692
69754
|
}
|
|
69693
|
-
var $brand = Symbol("zod_brand");
|
|
69755
|
+
var $brand = /* @__PURE__ */ Symbol("zod_brand");
|
|
69694
69756
|
var $ZodAsyncError = class extends Error {
|
|
69695
69757
|
constructor() {
|
|
69696
69758
|
super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`);
|
|
@@ -69837,7 +69899,7 @@ function floatSafeRemainder(val, step) {
|
|
|
69837
69899
|
const stepInt = Number.parseInt(step.toFixed(decCount).replace(".", ""));
|
|
69838
69900
|
return valInt % stepInt / 10 ** decCount;
|
|
69839
69901
|
}
|
|
69840
|
-
var EVALUATING = Symbol("evaluating");
|
|
69902
|
+
var EVALUATING = /* @__PURE__ */ Symbol("evaluating");
|
|
69841
69903
|
function defineLazy(object2, key, getter) {
|
|
69842
69904
|
let value = void 0;
|
|
69843
69905
|
Object.defineProperty(object2, key, {
|
|
@@ -78910,8 +78972,8 @@ function yo_default() {
|
|
|
78910
78972
|
|
|
78911
78973
|
// ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/registries.js
|
|
78912
78974
|
var _a;
|
|
78913
|
-
var $output = Symbol("ZodOutput");
|
|
78914
|
-
var $input = Symbol("ZodInput");
|
|
78975
|
+
var $output = /* @__PURE__ */ Symbol("ZodOutput");
|
|
78976
|
+
var $input = /* @__PURE__ */ Symbol("ZodInput");
|
|
78915
78977
|
var $ZodRegistry = class {
|
|
78916
78978
|
constructor() {
|
|
78917
78979
|
this._map = /* @__PURE__ */ new WeakMap();
|
|
@@ -79948,7 +80010,7 @@ function _stringbool(Classes, _params) {
|
|
|
79948
80010
|
type: "pipe",
|
|
79949
80011
|
in: stringSchema,
|
|
79950
80012
|
out: booleanSchema,
|
|
79951
|
-
transform: (input, payload) => {
|
|
80013
|
+
transform: ((input, payload) => {
|
|
79952
80014
|
let data = input;
|
|
79953
80015
|
if (params.case !== "sensitive")
|
|
79954
80016
|
data = data.toLowerCase();
|
|
@@ -79967,14 +80029,14 @@ function _stringbool(Classes, _params) {
|
|
|
79967
80029
|
});
|
|
79968
80030
|
return {};
|
|
79969
80031
|
}
|
|
79970
|
-
},
|
|
79971
|
-
reverseTransform: (input, _payload) => {
|
|
80032
|
+
}),
|
|
80033
|
+
reverseTransform: ((input, _payload) => {
|
|
79972
80034
|
if (input === true) {
|
|
79973
80035
|
return truthyArray[0] || "true";
|
|
79974
80036
|
} else {
|
|
79975
80037
|
return falsyArray[0] || "false";
|
|
79976
80038
|
}
|
|
79977
|
-
},
|
|
80039
|
+
}),
|
|
79978
80040
|
error: params.error
|
|
79979
80041
|
});
|
|
79980
80042
|
return codec2;
|
|
@@ -81302,10 +81364,10 @@ var ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
|
|
|
81302
81364
|
inst.with = inst.check;
|
|
81303
81365
|
inst.clone = (def2, params) => clone(inst, def2, params);
|
|
81304
81366
|
inst.brand = () => inst;
|
|
81305
|
-
inst.register = (reg, meta3) => {
|
|
81367
|
+
inst.register = ((reg, meta3) => {
|
|
81306
81368
|
reg.add(inst, meta3);
|
|
81307
81369
|
return inst;
|
|
81308
|
-
};
|
|
81370
|
+
});
|
|
81309
81371
|
inst.parse = (data, params) => parse3(inst, data, params, { callee: inst.parse });
|
|
81310
81372
|
inst.safeParse = (data, params) => safeParse2(inst, data, params);
|
|
81311
81373
|
inst.parseAsync = async (data, params) => parseAsync2(inst, data, params, { callee: inst.parseAsync });
|
|
@@ -86853,7 +86915,7 @@ var monthlyUsageSchema = zod_default.object({
|
|
|
86853
86915
|
messages: zod_default.number()
|
|
86854
86916
|
}).meta({ id: "monthly-usage" });
|
|
86855
86917
|
|
|
86856
|
-
// ../../node_modules/.pnpm/@scalar+helpers@0.5.
|
|
86918
|
+
// ../../node_modules/.pnpm/@scalar+helpers@0.5.3/node_modules/@scalar/helpers/dist/http/http-methods.js
|
|
86857
86919
|
var HTTP_METHODS = ["delete", "get", "head", "options", "patch", "post", "put", "trace"];
|
|
86858
86920
|
var httpMethods = Object.freeze(new Set(HTTP_METHODS));
|
|
86859
86921
|
|
|
@@ -86910,7 +86972,11 @@ var managedDocVersionSchema = external_exports.object({
|
|
|
86910
86972
|
/** Vector embeddings processed, agent is enabled */
|
|
86911
86973
|
embedStatus: external_exports.enum(ApiEmbedStatus).nullable().default(null),
|
|
86912
86974
|
tags: external_exports.string().array().default([]),
|
|
86913
|
-
tools: managedDocTool.array().optional()
|
|
86975
|
+
tools: managedDocTool.array().optional(),
|
|
86976
|
+
/** SHA-256 hex digest of the YAML content stored in the registry bucket */
|
|
86977
|
+
yamlSha: external_exports.string().optional(),
|
|
86978
|
+
/** SHA-256 hex digest of the JSON content stored in the registry bucket */
|
|
86979
|
+
jsonSha: external_exports.string().optional()
|
|
86914
86980
|
}).meta({ id: "managed-doc-version" });
|
|
86915
86981
|
var managedDocSchema = baseRegistrySchema.extend({
|
|
86916
86982
|
/** The current version served to consumers by default */
|
|
@@ -89505,7 +89571,14 @@ function userApiFactory(requestService) {
|
|
|
89505
89571
|
data
|
|
89506
89572
|
});
|
|
89507
89573
|
}
|
|
89508
|
-
|
|
89574
|
+
async function getMe() {
|
|
89575
|
+
return await requestService.request({
|
|
89576
|
+
url: "core/me",
|
|
89577
|
+
method: "get",
|
|
89578
|
+
schema: userSchema
|
|
89579
|
+
});
|
|
89580
|
+
}
|
|
89581
|
+
return { update, getMe };
|
|
89509
89582
|
}
|
|
89510
89583
|
|
|
89511
89584
|
// ../../packages/service-api/dist/apis/waitlist.js
|
|
@@ -90399,6 +90472,13 @@ function teamApiFactory(requestService, getNewTokens) {
|
|
|
90399
90472
|
schema: external_exports.null()
|
|
90400
90473
|
});
|
|
90401
90474
|
}
|
|
90475
|
+
async function getNamespaces() {
|
|
90476
|
+
return await requestService.request({
|
|
90477
|
+
url: "core/team/namespaces",
|
|
90478
|
+
method: "get",
|
|
90479
|
+
schema: external_exports.string().array()
|
|
90480
|
+
});
|
|
90481
|
+
}
|
|
90402
90482
|
async function updateNamespace(namespace, newNamespace) {
|
|
90403
90483
|
return await requestService.request({
|
|
90404
90484
|
url: "core/team/namespace/update",
|
|
@@ -90627,6 +90707,7 @@ function teamApiFactory(requestService, getNewTokens) {
|
|
|
90627
90707
|
updateImage,
|
|
90628
90708
|
updateSlug,
|
|
90629
90709
|
checkSlug,
|
|
90710
|
+
getNamespaces,
|
|
90630
90711
|
createNamespace,
|
|
90631
90712
|
updateNamespace,
|
|
90632
90713
|
checkNamespace,
|
|
@@ -90688,7 +90769,7 @@ var config2 = {
|
|
|
90688
90769
|
}
|
|
90689
90770
|
},
|
|
90690
90771
|
cdnUrl: process.env.CDN_URL ?? "https://cdn.scalar.com",
|
|
90691
|
-
ssgDocsIsolateVersion: process.env.SSG_DOCS_ISOLATE_VERSION ?? "1.3.
|
|
90772
|
+
ssgDocsIsolateVersion: process.env.SSG_DOCS_ISOLATE_VERSION ?? "1.3.8"
|
|
90692
90773
|
};
|
|
90693
90774
|
|
|
90694
90775
|
// src/domains/auth/login/helpers/personal-token-generate-access.ts
|
|
@@ -90718,15 +90799,15 @@ var generateAccessByPersonalToken = async ({
|
|
|
90718
90799
|
return { accessToken, personalToken };
|
|
90719
90800
|
};
|
|
90720
90801
|
|
|
90721
|
-
// ../../node_modules/.pnpm/jose@5.9.
|
|
90802
|
+
// ../../node_modules/.pnpm/jose@5.9.6/node_modules/jose/dist/node/esm/runtime/base64url.js
|
|
90722
90803
|
import { Buffer as Buffer2 } from "node:buffer";
|
|
90723
90804
|
|
|
90724
|
-
// ../../node_modules/.pnpm/jose@5.9.
|
|
90805
|
+
// ../../node_modules/.pnpm/jose@5.9.6/node_modules/jose/dist/node/esm/lib/buffer_utils.js
|
|
90725
90806
|
var encoder = new TextEncoder();
|
|
90726
90807
|
var decoder = new TextDecoder();
|
|
90727
90808
|
var MAX_INT32 = 2 ** 32;
|
|
90728
90809
|
|
|
90729
|
-
// ../../node_modules/.pnpm/jose@5.9.
|
|
90810
|
+
// ../../node_modules/.pnpm/jose@5.9.6/node_modules/jose/dist/node/esm/runtime/base64url.js
|
|
90730
90811
|
function normalize(input) {
|
|
90731
90812
|
let encoded = input;
|
|
90732
90813
|
if (encoded instanceof Uint8Array) {
|
|
@@ -90736,7 +90817,7 @@ function normalize(input) {
|
|
|
90736
90817
|
}
|
|
90737
90818
|
var decode3 = (input) => new Uint8Array(Buffer2.from(normalize(input), "base64url"));
|
|
90738
90819
|
|
|
90739
|
-
// ../../node_modules/.pnpm/jose@5.9.
|
|
90820
|
+
// ../../node_modules/.pnpm/jose@5.9.6/node_modules/jose/dist/node/esm/util/errors.js
|
|
90740
90821
|
var JOSEError = class extends Error {
|
|
90741
90822
|
static code = "ERR_JOSE_GENERIC";
|
|
90742
90823
|
code = "ERR_JOSE_GENERIC";
|
|
@@ -90751,7 +90832,7 @@ var JWTInvalid = class extends JOSEError {
|
|
|
90751
90832
|
code = "ERR_JWT_INVALID";
|
|
90752
90833
|
};
|
|
90753
90834
|
|
|
90754
|
-
// ../../node_modules/.pnpm/jose@5.9.
|
|
90835
|
+
// ../../node_modules/.pnpm/jose@5.9.6/node_modules/jose/dist/node/esm/lib/is_object.js
|
|
90755
90836
|
function isObjectLike(value) {
|
|
90756
90837
|
return typeof value === "object" && value !== null;
|
|
90757
90838
|
}
|
|
@@ -90769,10 +90850,10 @@ function isObject2(input) {
|
|
|
90769
90850
|
return Object.getPrototypeOf(input) === proto;
|
|
90770
90851
|
}
|
|
90771
90852
|
|
|
90772
|
-
// ../../node_modules/.pnpm/jose@5.9.
|
|
90853
|
+
// ../../node_modules/.pnpm/jose@5.9.6/node_modules/jose/dist/node/esm/util/base64url.js
|
|
90773
90854
|
var decode4 = decode3;
|
|
90774
90855
|
|
|
90775
|
-
// ../../node_modules/.pnpm/jose@5.9.
|
|
90856
|
+
// ../../node_modules/.pnpm/jose@5.9.6/node_modules/jose/dist/node/esm/util/decode_jwt.js
|
|
90776
90857
|
function decodeJwt(jwt2) {
|
|
90777
90858
|
if (typeof jwt2 !== "string")
|
|
90778
90859
|
throw new JWTInvalid("JWTs must use Compact JWS serialization, JWT must be a string");
|
|
@@ -92241,14 +92322,15 @@ var generateTokenCallbackEndpoint = async (exchangeUrl) => {
|
|
|
92241
92322
|
const http = await import("node:http");
|
|
92242
92323
|
const port = await getPort();
|
|
92243
92324
|
const server = http.createServer();
|
|
92244
|
-
server.listen({ port, host: "
|
|
92325
|
+
server.listen({ port, host: "127.0.0.1" });
|
|
92245
92326
|
const getTokens = async () => {
|
|
92246
92327
|
const resultPromise = new Promise((resolve) => {
|
|
92247
92328
|
server.on("request", async (req, res) => {
|
|
92329
|
+
const corsOrigin = `http://127.0.0.1:${port}`;
|
|
92248
92330
|
const errorResponse = (message, code) => {
|
|
92249
92331
|
res.writeHead(code, {
|
|
92250
92332
|
"Content-Type": "application/json",
|
|
92251
|
-
"Access-Control-Allow-Origin":
|
|
92333
|
+
"Access-Control-Allow-Origin": corsOrigin
|
|
92252
92334
|
});
|
|
92253
92335
|
res.end(JSON.stringify({
|
|
92254
92336
|
success: false,
|
|
@@ -92271,7 +92353,7 @@ var generateTokenCallbackEndpoint = async (exchangeUrl) => {
|
|
|
92271
92353
|
if (tokens) {
|
|
92272
92354
|
res.writeHead(200, {
|
|
92273
92355
|
"Content-Type": "application/json",
|
|
92274
|
-
"Access-Control-Allow-Origin":
|
|
92356
|
+
"Access-Control-Allow-Origin": corsOrigin
|
|
92275
92357
|
});
|
|
92276
92358
|
res.end(JSON.stringify({
|
|
92277
92359
|
success: true,
|
|
@@ -93669,7 +93751,7 @@ var internalLinkNavigationEntrySchema = linkNavigationEntrySchema.extend({
|
|
|
93669
93751
|
uid: nanoidSchema
|
|
93670
93752
|
});
|
|
93671
93753
|
|
|
93672
|
-
// ../../node_modules/.pnpm/@scalar+types@0.9.
|
|
93754
|
+
// ../../node_modules/.pnpm/@scalar+types@0.9.3/node_modules/@scalar/types/dist/api-reference/api-client-plugin.js
|
|
93673
93755
|
var sectionViewSchema = external_exports.object({
|
|
93674
93756
|
title: external_exports.string().optional(),
|
|
93675
93757
|
// Since this is meant to be a Vue component, we'll use unknown
|
|
@@ -93701,7 +93783,7 @@ var apiClientPluginSchema = external_exports.function({
|
|
|
93701
93783
|
})
|
|
93702
93784
|
});
|
|
93703
93785
|
|
|
93704
|
-
// ../../node_modules/.pnpm/@scalar+types@0.9.
|
|
93786
|
+
// ../../node_modules/.pnpm/@scalar+types@0.9.3/node_modules/@scalar/types/dist/api-reference/base-configuration.js
|
|
93705
93787
|
var externalUrlsSchema = zod_default.object({
|
|
93706
93788
|
dashboardUrl: zod_default.string().prefault("https://dashboard.scalar.com"),
|
|
93707
93789
|
registryUrl: zod_default.string().prefault("https://registry.scalar.com"),
|
|
@@ -93857,7 +93939,7 @@ var baseConfigurationSchema = zod_default.object({
|
|
|
93857
93939
|
externalUrls: externalUrlsSchema.prefault({})
|
|
93858
93940
|
});
|
|
93859
93941
|
|
|
93860
|
-
// ../../node_modules/.pnpm/@scalar+types@0.9.
|
|
93942
|
+
// ../../node_modules/.pnpm/@scalar+types@0.9.3/node_modules/@scalar/types/dist/api-reference/source-configuration.js
|
|
93861
93943
|
var sourceConfigurationSchema = zod_default.object({
|
|
93862
93944
|
default: zod_default.boolean().default(false).optional().catch(false),
|
|
93863
93945
|
/**
|
|
@@ -93954,10 +94036,10 @@ var sourceConfigurationSchema = zod_default.object({
|
|
|
93954
94036
|
}).optional()
|
|
93955
94037
|
});
|
|
93956
94038
|
|
|
93957
|
-
// ../../node_modules/.pnpm/@scalar+types@0.9.
|
|
94039
|
+
// ../../node_modules/.pnpm/@scalar+types@0.9.3/node_modules/@scalar/types/dist/api-reference/api-client-configuration.js
|
|
93958
94040
|
var apiClientConfigurationSchema = baseConfigurationSchema.extend(sourceConfigurationSchema.shape);
|
|
93959
94041
|
|
|
93960
|
-
// ../../node_modules/.pnpm/@scalar+types@0.9.
|
|
94042
|
+
// ../../node_modules/.pnpm/@scalar+types@0.9.3/node_modules/@scalar/types/dist/api-reference/api-reference-plugin.js
|
|
93961
94043
|
var openApiExtensionSchema = external_exports.object({
|
|
93962
94044
|
/**
|
|
93963
94045
|
* Name of specification extension property. Has to start with `x-`.
|
|
@@ -94030,7 +94112,7 @@ var apiReferencePluginSchema = external_exports.function({
|
|
|
94030
94112
|
})
|
|
94031
94113
|
});
|
|
94032
94114
|
|
|
94033
|
-
// ../../node_modules/.pnpm/@scalar+types@0.9.
|
|
94115
|
+
// ../../node_modules/.pnpm/@scalar+types@0.9.3/node_modules/@scalar/types/dist/api-reference/api-reference-configuration.js
|
|
94034
94116
|
var fetchLikeSchema = external_exports.custom();
|
|
94035
94117
|
var apiReferenceConfigurationSchema = baseConfigurationSchema.extend({
|
|
94036
94118
|
/**
|
|
@@ -94384,7 +94466,7 @@ var apiReferenceConfigurationWithSourceSchema = apiReferenceConfigurationSchema.
|
|
|
94384
94466
|
return configuration;
|
|
94385
94467
|
});
|
|
94386
94468
|
|
|
94387
|
-
// ../../node_modules/.pnpm/@scalar+types@0.9.
|
|
94469
|
+
// ../../node_modules/.pnpm/@scalar+types@0.9.3/node_modules/@scalar/types/dist/api-reference/html-rendering-configuration.js
|
|
94388
94470
|
var htmlRenderingConfigurationSchema = external_exports.object({
|
|
94389
94471
|
/**
|
|
94390
94472
|
* The URL to the Scalar API Reference JS CDN.
|
|
@@ -94402,7 +94484,7 @@ var htmlRenderingConfigurationSchema = external_exports.object({
|
|
|
94402
94484
|
pageTitle: external_exports.string().optional().default("Scalar API Reference")
|
|
94403
94485
|
});
|
|
94404
94486
|
|
|
94405
|
-
// ../../node_modules/.pnpm/@scalar+types@0.9.
|
|
94487
|
+
// ../../node_modules/.pnpm/@scalar+types@0.9.3/node_modules/@scalar/types/dist/legacy/reference-config.js
|
|
94406
94488
|
var XScalarStability;
|
|
94407
94489
|
(function(XScalarStability2) {
|
|
94408
94490
|
XScalarStability2["Deprecated"] = "deprecated";
|
|
@@ -94879,7 +94961,7 @@ function createError(code, detail) {
|
|
|
94879
94961
|
// ../../packages/scalar-config/dist/resolvers/resolve-config.js
|
|
94880
94962
|
import { nanoid as nanoid5 } from "nanoid";
|
|
94881
94963
|
|
|
94882
|
-
// ../../node_modules/.pnpm/vue@3.5.
|
|
94964
|
+
// ../../node_modules/.pnpm/vue@3.5.33_typescript@6.0.2/node_modules/vue/index.mjs
|
|
94883
94965
|
var vue_exports = {};
|
|
94884
94966
|
__reExport(vue_exports, __toESM(require_vue(), 1));
|
|
94885
94967
|
|
|
@@ -98562,7 +98644,7 @@ ServeReadmeCommand(readmeDomain);
|
|
|
98562
98644
|
var readme_default = readmeDomain;
|
|
98563
98645
|
|
|
98564
98646
|
// src/domains/registry/index.ts
|
|
98565
|
-
import { Command as
|
|
98647
|
+
import { Command as Command44 } from "commander";
|
|
98566
98648
|
|
|
98567
98649
|
// src/domains/registry/publish/index.ts
|
|
98568
98650
|
import { text as text9 } from "@clack/prompts";
|
|
@@ -98743,11 +98825,89 @@ var DeleteCommand = () => {
|
|
|
98743
98825
|
return cmd2;
|
|
98744
98826
|
};
|
|
98745
98827
|
|
|
98828
|
+
// src/domains/registry/get/index.ts
|
|
98829
|
+
import fs20 from "node:fs";
|
|
98830
|
+
import { Command as Command41 } from "commander";
|
|
98831
|
+
var versionSchema3 = external_exports.union([docVersionSchema, external_exports.literal("latest")]);
|
|
98832
|
+
var GetCommand = () => {
|
|
98833
|
+
const cmd2 = new Command41("get");
|
|
98834
|
+
cmd2.description("Get a document version from scalar registry");
|
|
98835
|
+
cmd2.argument("[namespace]", "Team namespace");
|
|
98836
|
+
cmd2.argument("[slug]", "Managed doc slug");
|
|
98837
|
+
cmd2.option("--version <version>", "Document version (defaults to latest)");
|
|
98838
|
+
cmd2.option("--format <format>", "Output format (json or yaml)", "json");
|
|
98839
|
+
cmd2.option("-o, --output <file>", "Output file (defaults to stdout)");
|
|
98840
|
+
cmd2.action(async (namespace, slug, args) => {
|
|
98841
|
+
if (!namespace) {
|
|
98842
|
+
output.error().title("Invalid input").message("Please provide namespace of the document").exit("error");
|
|
98843
|
+
return;
|
|
98844
|
+
}
|
|
98845
|
+
if (!slug) {
|
|
98846
|
+
output.error().title("Invalid input").message("Please provide slug of the document").exit("error");
|
|
98847
|
+
return;
|
|
98848
|
+
}
|
|
98849
|
+
const result = external_exports.object({
|
|
98850
|
+
version: versionSchema3,
|
|
98851
|
+
format: external_exports.enum(["json", "yaml"]),
|
|
98852
|
+
output: external_exports.string().min(1).optional()
|
|
98853
|
+
}).safeParse({
|
|
98854
|
+
version: args.version ?? "latest",
|
|
98855
|
+
format: args.format,
|
|
98856
|
+
output: args.output
|
|
98857
|
+
});
|
|
98858
|
+
if (result.error) {
|
|
98859
|
+
output.error().title("Invalid input").message(result.error.issues[0].message).exit("error");
|
|
98860
|
+
return;
|
|
98861
|
+
}
|
|
98862
|
+
const auth = await getAuthData();
|
|
98863
|
+
auth.addEventListener((state) => Object.assign(auth, state));
|
|
98864
|
+
const registryDocumentUrl = registryUrl(
|
|
98865
|
+
registry2(namespace).apis(slug).url({
|
|
98866
|
+
version: result.data.version,
|
|
98867
|
+
format: result.data.format
|
|
98868
|
+
})
|
|
98869
|
+
);
|
|
98870
|
+
let getDocument;
|
|
98871
|
+
try {
|
|
98872
|
+
getDocument = await fetch(registryDocumentUrl, {
|
|
98873
|
+
headers: {
|
|
98874
|
+
"x-scalar-auth": auth.accessToken
|
|
98875
|
+
},
|
|
98876
|
+
// Should always error on redirect
|
|
98877
|
+
redirect: "error"
|
|
98878
|
+
});
|
|
98879
|
+
} catch (error48) {
|
|
98880
|
+
const message = error48 instanceof Error && error48.message.length > 0 ? error48.message : "Registry request failed before a response was received.";
|
|
98881
|
+
output.error().title("Unable to download document").message(message).exit("error");
|
|
98882
|
+
return;
|
|
98883
|
+
}
|
|
98884
|
+
if (!getDocument.ok) {
|
|
98885
|
+
const message = await getDocument.text();
|
|
98886
|
+
output.error().title("Unable to download document").message(
|
|
98887
|
+
message.length ? message : `Registry request failed with status ${getDocument.status}.`
|
|
98888
|
+
).exit("error");
|
|
98889
|
+
return;
|
|
98890
|
+
}
|
|
98891
|
+
const document2 = await getDocument.text();
|
|
98892
|
+
const withTrailingNewline = document2.endsWith("\n") ? document2 : `${document2}
|
|
98893
|
+
`;
|
|
98894
|
+
if (result.data.output) {
|
|
98895
|
+
fs20.writeFileSync(result.data.output, withTrailingNewline, "utf8");
|
|
98896
|
+
output.info().line(
|
|
98897
|
+
`Downloaded ${namespace}/${slug}@${result.data.version} (${result.data.format})`
|
|
98898
|
+
).line(`Written to ${result.data.output}`).print();
|
|
98899
|
+
return;
|
|
98900
|
+
}
|
|
98901
|
+
process.stdout.write(withTrailingNewline);
|
|
98902
|
+
});
|
|
98903
|
+
return cmd2;
|
|
98904
|
+
};
|
|
98905
|
+
|
|
98746
98906
|
// src/domains/registry/list/index.ts
|
|
98747
98907
|
import as34 from "ansis";
|
|
98748
|
-
import { Command as
|
|
98908
|
+
import { Command as Command42 } from "commander";
|
|
98749
98909
|
var ListCommand = () => {
|
|
98750
|
-
const cmd2 = new
|
|
98910
|
+
const cmd2 = new Command42("list");
|
|
98751
98911
|
cmd2.description("List all registry APIs for a team namespace");
|
|
98752
98912
|
cmd2.option("--namespace <namespace>", "Team namespace");
|
|
98753
98913
|
cmd2.action(async (args) => {
|
|
@@ -98806,9 +98966,9 @@ var ListCommand = () => {
|
|
|
98806
98966
|
// src/domains/registry/update/index.ts
|
|
98807
98967
|
import { text as text10 } from "@clack/prompts";
|
|
98808
98968
|
import as35 from "ansis";
|
|
98809
|
-
import { Command as
|
|
98969
|
+
import { Command as Command43 } from "commander";
|
|
98810
98970
|
var UpdateCommand = () => {
|
|
98811
|
-
const cmd2 = new
|
|
98971
|
+
const cmd2 = new Command43("update");
|
|
98812
98972
|
cmd2.description("Update document metadata on scalar registry");
|
|
98813
98973
|
cmd2.argument("[namespace]", "namespace of document you want to update");
|
|
98814
98974
|
cmd2.argument("[slug]", "slug of document you want to update");
|
|
@@ -98859,19 +99019,20 @@ var registryCommands = [
|
|
|
98859
99019
|
PublishCommand2,
|
|
98860
99020
|
UpdateCommand,
|
|
98861
99021
|
DeleteCommand,
|
|
98862
|
-
ListCommand
|
|
99022
|
+
ListCommand,
|
|
99023
|
+
GetCommand
|
|
98863
99024
|
];
|
|
98864
|
-
var registryDomain = new
|
|
99025
|
+
var registryDomain = new Command44("registry");
|
|
98865
99026
|
registryDomain.description("Manage your scalar registry");
|
|
98866
99027
|
registryCommands.forEach((command) => registryDomain.addCommand(command()));
|
|
98867
99028
|
var registry_default = registryDomain;
|
|
98868
99029
|
|
|
98869
99030
|
// src/domains/team/index.ts
|
|
98870
|
-
import { Command as
|
|
99031
|
+
import { Command as Command47 } from "commander";
|
|
98871
99032
|
|
|
98872
99033
|
// src/domains/team/list/index.ts
|
|
98873
99034
|
import as36 from "ansis";
|
|
98874
|
-
import { Command as
|
|
99035
|
+
import { Command as Command45 } from "commander";
|
|
98875
99036
|
|
|
98876
99037
|
// src/domains/team/helpers.ts
|
|
98877
99038
|
var getUserTeams = async (client, email3) => {
|
|
@@ -98886,7 +99047,7 @@ var getUserTeams = async (client, email3) => {
|
|
|
98886
99047
|
|
|
98887
99048
|
// src/domains/team/list/index.ts
|
|
98888
99049
|
var ListCommand2 = () => {
|
|
98889
|
-
const cmd2 = new
|
|
99050
|
+
const cmd2 = new Command45("list");
|
|
98890
99051
|
cmd2.description("List all teams current user is part of");
|
|
98891
99052
|
cmd2.action(async () => {
|
|
98892
99053
|
const auth = await getAuthData();
|
|
@@ -98912,9 +99073,9 @@ var ListCommand2 = () => {
|
|
|
98912
99073
|
// src/domains/team/set/index.ts
|
|
98913
99074
|
import { select as select7 } from "@clack/prompts";
|
|
98914
99075
|
import as37 from "ansis";
|
|
98915
|
-
import { Command as
|
|
99076
|
+
import { Command as Command46 } from "commander";
|
|
98916
99077
|
var SetCommand = () => {
|
|
98917
|
-
const cmd2 = new
|
|
99078
|
+
const cmd2 = new Command46("set");
|
|
98918
99079
|
cmd2.description("Set current active team for the user");
|
|
98919
99080
|
cmd2.option("--team <team>", "Team uid");
|
|
98920
99081
|
cmd2.action(async ({ team }) => {
|
|
@@ -98954,7 +99115,7 @@ var SetCommand = () => {
|
|
|
98954
99115
|
|
|
98955
99116
|
// src/domains/team/index.ts
|
|
98956
99117
|
var teamCommands = [ListCommand2, SetCommand];
|
|
98957
|
-
var teamDomain = new
|
|
99118
|
+
var teamDomain = new Command47("team");
|
|
98958
99119
|
teamDomain.description("Manage user teams");
|
|
98959
99120
|
teamCommands.forEach((command) => teamDomain.addCommand(command()));
|
|
98960
99121
|
var team_default = teamDomain;
|
|
@@ -98962,7 +99123,7 @@ var team_default = teamDomain;
|
|
|
98962
99123
|
// src/domains/upgrade/index.ts
|
|
98963
99124
|
import { execSync } from "node:child_process";
|
|
98964
99125
|
import as39 from "ansis";
|
|
98965
|
-
import { Command as
|
|
99126
|
+
import { Command as Command48 } from "commander";
|
|
98966
99127
|
|
|
98967
99128
|
// src/helpers/upgrade.ts
|
|
98968
99129
|
import as38 from "ansis";
|
|
@@ -99018,7 +99179,7 @@ async function checkUpgrade() {
|
|
|
99018
99179
|
}
|
|
99019
99180
|
|
|
99020
99181
|
// src/domains/upgrade/index.ts
|
|
99021
|
-
var cmd = new
|
|
99182
|
+
var cmd = new Command48("upgrade");
|
|
99022
99183
|
cmd.description("Upgrade current version of your cli");
|
|
99023
99184
|
cmd.action(async () => {
|
|
99024
99185
|
const upgradeStatus = await getUpgradeInformation();
|
|
@@ -99056,7 +99217,7 @@ var domains_default = domains;
|
|
|
99056
99217
|
|
|
99057
99218
|
// src/program.ts
|
|
99058
99219
|
var getProgram = () => {
|
|
99059
|
-
const program2 = new
|
|
99220
|
+
const program2 = new Command49();
|
|
99060
99221
|
program2.enablePositionalOptions().name(Object.keys(bin)[0]).description("CLI to work with your OpenAPI files").version(version, "-v, --version");
|
|
99061
99222
|
program2.showHelpAfterError();
|
|
99062
99223
|
domains_default.forEach((domain2) => program2.addCommand(domain2));
|
|
@@ -99099,7 +99260,7 @@ strip-bom-string/index.js:
|
|
|
99099
99260
|
@vue/shared/dist/shared.cjs.prod.js:
|
|
99100
99261
|
@vue/shared/dist/shared.cjs.js:
|
|
99101
99262
|
(**
|
|
99102
|
-
* @vue/shared v3.5.
|
|
99263
|
+
* @vue/shared v3.5.33
|
|
99103
99264
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
99104
99265
|
* @license MIT
|
|
99105
99266
|
**)
|
|
@@ -99107,7 +99268,7 @@ strip-bom-string/index.js:
|
|
|
99107
99268
|
@vue/compiler-core/dist/compiler-core.cjs.prod.js:
|
|
99108
99269
|
@vue/compiler-core/dist/compiler-core.cjs.js:
|
|
99109
99270
|
(**
|
|
99110
|
-
* @vue/compiler-core v3.5.
|
|
99271
|
+
* @vue/compiler-core v3.5.33
|
|
99111
99272
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
99112
99273
|
* @license MIT
|
|
99113
99274
|
**)
|
|
@@ -99115,7 +99276,7 @@ strip-bom-string/index.js:
|
|
|
99115
99276
|
@vue/compiler-dom/dist/compiler-dom.cjs.prod.js:
|
|
99116
99277
|
@vue/compiler-dom/dist/compiler-dom.cjs.js:
|
|
99117
99278
|
(**
|
|
99118
|
-
* @vue/compiler-dom v3.5.
|
|
99279
|
+
* @vue/compiler-dom v3.5.33
|
|
99119
99280
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
99120
99281
|
* @license MIT
|
|
99121
99282
|
**)
|
|
@@ -99123,7 +99284,7 @@ strip-bom-string/index.js:
|
|
|
99123
99284
|
@vue/reactivity/dist/reactivity.cjs.prod.js:
|
|
99124
99285
|
@vue/reactivity/dist/reactivity.cjs.js:
|
|
99125
99286
|
(**
|
|
99126
|
-
* @vue/reactivity v3.5.
|
|
99287
|
+
* @vue/reactivity v3.5.33
|
|
99127
99288
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
99128
99289
|
* @license MIT
|
|
99129
99290
|
**)
|
|
@@ -99131,7 +99292,7 @@ strip-bom-string/index.js:
|
|
|
99131
99292
|
@vue/runtime-core/dist/runtime-core.cjs.prod.js:
|
|
99132
99293
|
@vue/runtime-core/dist/runtime-core.cjs.js:
|
|
99133
99294
|
(**
|
|
99134
|
-
* @vue/runtime-core v3.5.
|
|
99295
|
+
* @vue/runtime-core v3.5.33
|
|
99135
99296
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
99136
99297
|
* @license MIT
|
|
99137
99298
|
**)
|
|
@@ -99139,7 +99300,7 @@ strip-bom-string/index.js:
|
|
|
99139
99300
|
@vue/runtime-dom/dist/runtime-dom.cjs.prod.js:
|
|
99140
99301
|
@vue/runtime-dom/dist/runtime-dom.cjs.js:
|
|
99141
99302
|
(**
|
|
99142
|
-
* @vue/runtime-dom v3.5.
|
|
99303
|
+
* @vue/runtime-dom v3.5.33
|
|
99143
99304
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
99144
99305
|
* @license MIT
|
|
99145
99306
|
**)
|
|
@@ -99147,7 +99308,7 @@ strip-bom-string/index.js:
|
|
|
99147
99308
|
vue/dist/vue.cjs.prod.js:
|
|
99148
99309
|
vue/dist/vue.cjs.js:
|
|
99149
99310
|
(**
|
|
99150
|
-
* vue v3.5.
|
|
99311
|
+
* vue v3.5.33
|
|
99151
99312
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
99152
99313
|
* @license MIT
|
|
99153
99314
|
**)
|