@scalar/cli 2.1.0 → 2.5.1
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 +28 -24
- package/chunks/{action-CYP4VDK3.js → action-37EV4UHW.js} +12 -35
- package/chunks/{action-MENXFJH3.js → action-4XI7XJR4.js} +9 -9
- package/chunks/{action-H5OHT2GV.js → action-5IU77OII.js} +7 -3
- package/chunks/{action-STIEAXOE.js → action-B3KKREWQ.js} +16 -5
- package/chunks/{action-BYZUBXVB.js → action-CH24QGTE.js} +8 -4
- package/chunks/action-F3UX5E3M.js +522 -0
- package/chunks/{action-GB6DM53B.js → action-FDB7NEOK.js} +21 -10
- package/chunks/action-FIXBOJEW.js +244 -0
- package/chunks/{action-DFKHSDFV.js → action-G26LSVZ7.js} +7 -3
- package/chunks/{action-Q5UJ32D6.js → action-H3RTILLM.js} +1 -1
- package/chunks/{action-GEBRPNRT.js → action-HGBBV353.js} +15 -16
- package/chunks/{action-5R5FDF6S.js → action-IUE4IOWO.js} +67 -22
- package/chunks/{action-TPBKPHNS.js → action-JZLZ7ZAD.js} +22 -22
- package/chunks/action-LA6KVAXQ.js +374 -0
- package/chunks/{action-PVDDRIM6.js → action-M7RQKBSB.js} +65 -26
- package/chunks/{action-F4Y6Q2VB.js → action-MSLBC2SO.js} +21 -21
- package/chunks/{action-BNEGJBUH.js → action-NVSZT2ZD.js} +8 -9
- package/chunks/{action-ANU5HGC4.js → action-OGQSTRMX.js} +17 -14
- package/chunks/{action-CLSD7O2R.js → action-PAGJ5PWC.js} +10 -10
- package/chunks/action-QE2ZQQX7.js +250 -0
- package/chunks/{action-HD2T6BFJ.js → action-QPUSPD5M.js} +10 -10
- package/chunks/{action-45OGQB2M.js → action-R7IMFHQ5.js} +17 -8
- package/chunks/{action-UDZUUJSI.js → action-SH4UUXPL.js} +18 -7
- package/chunks/action-SNLCIBQC.js +84 -0
- package/chunks/{action-C5VB4ITT.js → action-SQG3JAII.js} +36 -18
- package/chunks/action-UZQJNYK4.js +18 -0
- package/chunks/{action-HNKM3Q65.js → action-VC4DCVST.js} +17 -14
- package/chunks/{action-BMFXENMX.js → action-VTVFY2MP.js} +39 -34
- package/chunks/{action-TZ5KGAQT.js → action-WFWYGY7O.js} +17 -14
- package/chunks/{action-W5BATF4Q.js → action-XMNX5ZYT.js} +24 -24
- package/chunks/{agent-XGLOHXNA.js → agent-HCQRMHQ5.js} +25 -5
- package/chunks/asyncapi-QM76O55R.js +105 -0
- package/chunks/{build.action-LKOILPA6.js → build.action-P7FCIMYU.js} +22 -22
- package/chunks/{chunk-23I5PKZZ.js → chunk-24WAOKGG.js} +32 -5
- package/chunks/chunk-3L6DLIXJ.js +25530 -0
- package/chunks/chunk-3ZJYGGAA.js +30 -0
- package/chunks/{chunk-ZTVWAKNJ.js → chunk-4NHMAG6F.js} +1 -1
- package/chunks/{chunk-IX7LJ3AD.js → chunk-4ORL4MST.js} +2 -3
- package/chunks/{chunk-OAXFCOJV.js → chunk-4ZDQXWBT.js} +2 -1
- package/chunks/{chunk-ASMHW5AY.js → chunk-6ZMT63IV.js} +1 -1
- package/chunks/{chunk-P2VH7DOC.js → chunk-7AGLC7WV.js} +6 -6
- package/chunks/{chunk-SXYALPYK.js → chunk-AO3F5XWR.js} +498 -60
- package/chunks/{chunk-B6QZJWCQ.js → chunk-B2MHTD3R.js} +4 -6
- package/chunks/{chunk-4QS7SJTG.js → chunk-CISTON3A.js} +51 -36
- package/chunks/chunk-COBPBRQF.js +25 -0
- package/chunks/{chunk-2BSG2QHO.js → chunk-F467BYYR.js} +133 -20
- package/chunks/{chunk-TLFMATXR.js → chunk-GSGZHE26.js} +33 -25
- package/chunks/{chunk-UPUTMFD4.js → chunk-HCPN3KNF.js} +185 -13
- package/chunks/{chunk-P646T2WH.js → chunk-HPL3ZZ2P.js} +131 -13
- package/chunks/{chunk-H2WRMLYY.js → chunk-IKT5F47M.js} +3571 -7
- package/chunks/{chunk-AHWWJ3MD.js → chunk-K4DTP5TV.js} +1 -1
- package/chunks/{chunk-TQ5XC2E3.js → chunk-LFU5ZUAP.js} +77 -11
- package/chunks/{chunk-5BISXQX4.js → chunk-M37TP6U2.js} +11 -13
- package/chunks/chunk-OQKDBLOZ.js +741 -0
- package/chunks/chunk-P7H7GY5A.js +14 -0
- package/chunks/{chunk-47Y4L5IT.js → chunk-PBXZN65A.js} +1031 -481
- package/chunks/{chunk-HQKBZOYU.js → chunk-PT5TI77I.js} +3 -3
- package/chunks/chunk-Q7DOQHZN.js +404 -0
- package/chunks/{chunk-X4QLDBB5.js → chunk-T5HJUAWB.js} +24 -3
- package/chunks/{chunk-NUXPNUSS.js → chunk-UGGNHILG.js} +1 -1
- package/chunks/{chunk-4DGQIAJX.js → chunk-VNYE4R7N.js} +154 -14
- package/chunks/{chunk-KWOL7A6J.js → chunk-X5T526CE.js} +2 -2
- package/chunks/chunk-XCSR4RIT.js +210 -0
- package/chunks/{chunk-SHSHFGA7.js → chunk-Z2KMGFE6.js} +4 -6
- package/chunks/{create.action-FFQLBSJH.js → create.action-HDD2WUON.js} +22 -22
- package/chunks/{delete.action-STHQHP4F.js → delete.action-7GOZY7ID.js} +22 -22
- package/chunks/{delete.action-QNN3LC2F.js → delete.action-VE66JFDS.js} +22 -22
- package/chunks/{get.action-OTKYOP3Z.js → get.action-2745EB4N.js} +15 -16
- package/chunks/{list.action-KDM5RHEH.js → list.action-3VTXQJRA.js} +19 -19
- package/chunks/{list.action-6I5EZAVB.js → list.action-4QDCZLSZ.js} +22 -22
- package/chunks/{publish.action-PODTVRXS.js → publish.action-ULQLZKWU.js} +44 -36
- package/chunks/{update.action-KMD4ZM75.js → update.action-6QEFP7NA.js} +22 -22
- package/chunks/{update.action-4F6STTEQ.js → update.action-OROQSP2S.js} +22 -22
- package/docs.html +104 -103
- package/index.js +84 -68
- package/package.json +16 -12
- package/chunks/action-CCW66QJN.js +0 -72
- package/chunks/action-CQ56FVES.js +0 -65
- package/chunks/action-JOSVV6YA.js +0 -71
- package/chunks/action-P7LN6FGY.js +0 -13
- package/chunks/action-R6ZZO26F.js +0 -299
- package/chunks/action-TWFJNQ2R.js +0 -95
- package/chunks/chunk-5BPPGTUU.js +0 -463
- package/chunks/chunk-DOVIWNKQ.js +0 -108
- package/chunks/chunk-ISGLWBXZ.js +0 -4265
- package/chunks/chunk-T7MDADON.js +0 -17
- package/chunks/chunk-VTYTPSXO.js +0 -161
|
@@ -1,26 +1,23 @@
|
|
|
1
1
|
import { createRequire as $$cR } from "node:module"; const require = $$cR(import.meta.url);
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
ConfigVersion,
|
|
4
|
+
SidebarType
|
|
5
|
+
} from "./chunk-OQKDBLOZ.js";
|
|
6
|
+
import {
|
|
7
|
+
require_dist
|
|
8
|
+
} from "./chunk-K74E42RV.js";
|
|
5
9
|
import {
|
|
6
10
|
getLegacyWysiwygVersion
|
|
7
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CISTON3A.js";
|
|
8
12
|
import {
|
|
9
|
-
|
|
10
|
-
SidebarType,
|
|
13
|
+
external_exports,
|
|
11
14
|
nanoid,
|
|
12
15
|
nanoidSchema,
|
|
13
16
|
randomSlug,
|
|
14
17
|
slugSchema,
|
|
15
|
-
slugify
|
|
16
|
-
} from "./chunk-ISGLWBXZ.js";
|
|
17
|
-
import {
|
|
18
|
-
external_exports,
|
|
18
|
+
slugify,
|
|
19
19
|
zod_default
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import {
|
|
22
|
-
require_dist
|
|
23
|
-
} from "./chunk-K74E42RV.js";
|
|
20
|
+
} from "./chunk-IKT5F47M.js";
|
|
24
21
|
import {
|
|
25
22
|
__commonJS,
|
|
26
23
|
__reExport,
|
|
@@ -4232,8 +4229,8 @@ var require_js_yaml = __commonJS({
|
|
|
4232
4229
|
var require_js_yaml2 = __commonJS({
|
|
4233
4230
|
"../../node_modules/.pnpm/js-yaml@3.15.0/node_modules/js-yaml/index.js"(exports2, module2) {
|
|
4234
4231
|
"use strict";
|
|
4235
|
-
var
|
|
4236
|
-
module2.exports =
|
|
4232
|
+
var yaml3 = require_js_yaml();
|
|
4233
|
+
module2.exports = yaml3;
|
|
4237
4234
|
}
|
|
4238
4235
|
});
|
|
4239
4236
|
|
|
@@ -4628,9 +4625,9 @@ var require_gray_matter = __commonJS({
|
|
|
4628
4625
|
}
|
|
4629
4626
|
});
|
|
4630
4627
|
|
|
4631
|
-
// ../../node_modules/.pnpm/@vue+shared@3.5.
|
|
4628
|
+
// ../../node_modules/.pnpm/@vue+shared@3.5.41/node_modules/@vue/shared/dist/shared.cjs.prod.js
|
|
4632
4629
|
var require_shared_cjs_prod = __commonJS({
|
|
4633
|
-
"../../node_modules/.pnpm/@vue+shared@3.5.
|
|
4630
|
+
"../../node_modules/.pnpm/@vue+shared@3.5.41/node_modules/@vue/shared/dist/shared.cjs.prod.js"(exports2) {
|
|
4634
4631
|
"use strict";
|
|
4635
4632
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4636
4633
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -4956,7 +4953,7 @@ var require_shared_cjs_prod = __commonJS({
|
|
|
4956
4953
|
var specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;
|
|
4957
4954
|
var isSpecialBooleanAttr = /* @__PURE__ */ makeMap(specialBooleanAttrs);
|
|
4958
4955
|
var isBooleanAttr = /* @__PURE__ */ makeMap(
|
|
4959
|
-
specialBooleanAttrs + `,async,autofocus,autoplay,controls,default,defer,disabled,
|
|
4956
|
+
specialBooleanAttrs + `,async,autofocus,autoplay,controls,default,defer,disabled,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`
|
|
4960
4957
|
);
|
|
4961
4958
|
function includeBooleanAttr(value) {
|
|
4962
4959
|
return !!value || value === "";
|
|
@@ -5034,9 +5031,14 @@ var require_shared_cjs_prod = __commonJS({
|
|
|
5034
5031
|
}
|
|
5035
5032
|
return lastIndex !== index ? html + str2.slice(lastIndex, index) : html;
|
|
5036
5033
|
}
|
|
5037
|
-
var commentStripRE =
|
|
5034
|
+
var commentStripRE = /^(?:-?>)+|<!--|-->|--!>|<!-$/g;
|
|
5038
5035
|
function escapeHtmlComment(src) {
|
|
5039
|
-
|
|
5036
|
+
let prev;
|
|
5037
|
+
do {
|
|
5038
|
+
prev = src;
|
|
5039
|
+
src = src.replace(commentStripRE, "");
|
|
5040
|
+
} while (src !== prev);
|
|
5041
|
+
return src;
|
|
5040
5042
|
}
|
|
5041
5043
|
var cssVarNameEscapeSymbolsRE = /[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;
|
|
5042
5044
|
function getEscapedCssVarName(key, doubleEscape) {
|
|
@@ -5217,9 +5219,9 @@ var require_shared_cjs_prod = __commonJS({
|
|
|
5217
5219
|
}
|
|
5218
5220
|
});
|
|
5219
5221
|
|
|
5220
|
-
// ../../node_modules/.pnpm/@vue+shared@3.5.
|
|
5222
|
+
// ../../node_modules/.pnpm/@vue+shared@3.5.41/node_modules/@vue/shared/dist/shared.cjs.js
|
|
5221
5223
|
var require_shared_cjs = __commonJS({
|
|
5222
|
-
"../../node_modules/.pnpm/@vue+shared@3.5.
|
|
5224
|
+
"../../node_modules/.pnpm/@vue+shared@3.5.41/node_modules/@vue/shared/dist/shared.cjs.js"(exports2) {
|
|
5223
5225
|
"use strict";
|
|
5224
5226
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5225
5227
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -5545,7 +5547,7 @@ var require_shared_cjs = __commonJS({
|
|
|
5545
5547
|
var specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;
|
|
5546
5548
|
var isSpecialBooleanAttr = /* @__PURE__ */ makeMap(specialBooleanAttrs);
|
|
5547
5549
|
var isBooleanAttr = /* @__PURE__ */ makeMap(
|
|
5548
|
-
specialBooleanAttrs + `,async,autofocus,autoplay,controls,default,defer,disabled,
|
|
5550
|
+
specialBooleanAttrs + `,async,autofocus,autoplay,controls,default,defer,disabled,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`
|
|
5549
5551
|
);
|
|
5550
5552
|
function includeBooleanAttr(value) {
|
|
5551
5553
|
return !!value || value === "";
|
|
@@ -5623,9 +5625,14 @@ var require_shared_cjs = __commonJS({
|
|
|
5623
5625
|
}
|
|
5624
5626
|
return lastIndex !== index ? html + str2.slice(lastIndex, index) : html;
|
|
5625
5627
|
}
|
|
5626
|
-
var commentStripRE =
|
|
5628
|
+
var commentStripRE = /^(?:-?>)+|<!--|-->|--!>|<!-$/g;
|
|
5627
5629
|
function escapeHtmlComment(src) {
|
|
5628
|
-
|
|
5630
|
+
let prev;
|
|
5631
|
+
do {
|
|
5632
|
+
prev = src;
|
|
5633
|
+
src = src.replace(commentStripRE, "");
|
|
5634
|
+
} while (src !== prev);
|
|
5635
|
+
return src;
|
|
5629
5636
|
}
|
|
5630
5637
|
var cssVarNameEscapeSymbolsRE = /[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;
|
|
5631
5638
|
function getEscapedCssVarName(key, doubleEscape) {
|
|
@@ -5814,9 +5821,9 @@ var require_shared_cjs = __commonJS({
|
|
|
5814
5821
|
}
|
|
5815
5822
|
});
|
|
5816
5823
|
|
|
5817
|
-
// ../../node_modules/.pnpm/@vue+shared@3.5.
|
|
5824
|
+
// ../../node_modules/.pnpm/@vue+shared@3.5.41/node_modules/@vue/shared/index.js
|
|
5818
5825
|
var require_shared = __commonJS({
|
|
5819
|
-
"../../node_modules/.pnpm/@vue+shared@3.5.
|
|
5826
|
+
"../../node_modules/.pnpm/@vue+shared@3.5.41/node_modules/@vue/shared/index.js"(exports2, module2) {
|
|
5820
5827
|
"use strict";
|
|
5821
5828
|
if (process.env.NODE_ENV === "production") {
|
|
5822
5829
|
module2.exports = require_shared_cjs_prod();
|
|
@@ -6405,9 +6412,9 @@ var require_decode = __commonJS({
|
|
|
6405
6412
|
}
|
|
6406
6413
|
});
|
|
6407
6414
|
|
|
6408
|
-
// ../../node_modules/.pnpm/@babel+parser@7.29.
|
|
6415
|
+
// ../../node_modules/.pnpm/@babel+parser@7.29.8/node_modules/@babel/parser/lib/index.js
|
|
6409
6416
|
var require_lib2 = __commonJS({
|
|
6410
|
-
"../../node_modules/.pnpm/@babel+parser@7.29.
|
|
6417
|
+
"../../node_modules/.pnpm/@babel+parser@7.29.8/node_modules/@babel/parser/lib/index.js"(exports2) {
|
|
6411
6418
|
"use strict";
|
|
6412
6419
|
Object.defineProperty(exports2, "__esModule", {
|
|
6413
6420
|
value: true
|
|
@@ -6649,6 +6656,7 @@ var require_lib2 = __commonJS({
|
|
|
6649
6656
|
SloppyFunctionAnnexB: "In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",
|
|
6650
6657
|
SourcePhaseImportRequiresDefault: 'Only `import source x from "./module"` is valid.',
|
|
6651
6658
|
StaticPrototype: "Classes may not have static property named prototype.",
|
|
6659
|
+
SuperCallNotNewExpression: "Cannot use new with super(...).",
|
|
6652
6660
|
SuperNotAllowed: "`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",
|
|
6653
6661
|
SuperPrivateField: "Private fields can't be accessed on super.",
|
|
6654
6662
|
TrailingDecorator: "Decorators must be attached to a class element.",
|
|
@@ -6678,7 +6686,6 @@ var require_lib2 = __commonJS({
|
|
|
6678
6686
|
UnexpectedTokenUnaryExponentiation: "Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",
|
|
6679
6687
|
UnexpectedUsingDeclaration: "Using declaration cannot appear in the top level when source type is `script` or in the bare case statement.",
|
|
6680
6688
|
UnexpectedVoidPattern: "Unexpected void binding.",
|
|
6681
|
-
UnsupportedBind: "Binding should be performed on object property.",
|
|
6682
6689
|
UnsupportedDecoratorExport: "A decorated export must export a class declaration.",
|
|
6683
6690
|
UnsupportedDefaultExport: "Only expressions, functions or classes are allowed as the `default` export.",
|
|
6684
6691
|
UnsupportedImport: "`import` can only be used in `import()` or `import.meta`.",
|
|
@@ -6746,6 +6753,10 @@ var require_lib2 = __commonJS({
|
|
|
6746
6753
|
PrimaryTopicNotAllowed: "Topic reference was used in a lexical context without topic binding.",
|
|
6747
6754
|
PrimaryTopicRequiresSmartPipeline: 'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'
|
|
6748
6755
|
});
|
|
6756
|
+
var FunctionBindErrors = {
|
|
6757
|
+
UnsupportedBind: "Binding should be performed on object property.",
|
|
6758
|
+
UnsupportedBindRHS: "The right-hand side of binding can not be super or import."
|
|
6759
|
+
};
|
|
6749
6760
|
var _excluded = ["message"];
|
|
6750
6761
|
function defineHidden(obj, key, value) {
|
|
6751
6762
|
Object.defineProperty(obj, key, {
|
|
@@ -6834,7 +6845,7 @@ var require_lib2 = __commonJS({
|
|
|
6834
6845
|
}
|
|
6835
6846
|
return ParseErrorConstructors;
|
|
6836
6847
|
}
|
|
6837
|
-
var Errors = Object.assign({}, ParseErrorEnum(ModuleErrors), ParseErrorEnum(StandardErrors), ParseErrorEnum(StrictModeErrors), ParseErrorEnum(ParseExpressionErrors), ParseErrorEnum`pipelineOperator`(PipelineOperatorErrors));
|
|
6848
|
+
var Errors = Object.assign({}, ParseErrorEnum(ModuleErrors), ParseErrorEnum(StandardErrors), ParseErrorEnum(StrictModeErrors), ParseErrorEnum(ParseExpressionErrors), ParseErrorEnum`pipelineOperator`(PipelineOperatorErrors), ParseErrorEnum`functionBind`(FunctionBindErrors));
|
|
6838
6849
|
function createDefaultOptions() {
|
|
6839
6850
|
return {
|
|
6840
6851
|
sourceType: "script",
|
|
@@ -8358,7 +8369,7 @@ var require_lib2 = __commonJS({
|
|
|
8358
8369
|
}
|
|
8359
8370
|
flowParseDeclareVariable(node) {
|
|
8360
8371
|
this.next();
|
|
8361
|
-
node.id = this.flowParseTypeAnnotatableIdentifier(
|
|
8372
|
+
node.id = this.flowParseTypeAnnotatableIdentifier();
|
|
8362
8373
|
this.scope.declareName(node.id.name, 5, node.id.loc.start);
|
|
8363
8374
|
this.semicolon();
|
|
8364
8375
|
return this.finishNode(node, "DeclareVariable");
|
|
@@ -8532,9 +8543,14 @@ var require_lib2 = __commonJS({
|
|
|
8532
8543
|
reservedType: word
|
|
8533
8544
|
});
|
|
8534
8545
|
}
|
|
8535
|
-
|
|
8546
|
+
flowParseRestrictedIdentifierName(liberal, declaration) {
|
|
8536
8547
|
this.checkReservedType(this.state.value, this.state.startLoc, declaration);
|
|
8537
|
-
return this.
|
|
8548
|
+
return this.parseIdentifierName(liberal);
|
|
8549
|
+
}
|
|
8550
|
+
flowParseRestrictedIdentifier(liberal, declaration) {
|
|
8551
|
+
const node = this.startNode();
|
|
8552
|
+
const name = this.flowParseRestrictedIdentifierName(liberal, declaration);
|
|
8553
|
+
return this.createIdentifier(node, name);
|
|
8538
8554
|
}
|
|
8539
8555
|
flowParseTypeAlias(node) {
|
|
8540
8556
|
node.id = this.flowParseRestrictedIdentifier(false, true);
|
|
@@ -8568,14 +8584,21 @@ var require_lib2 = __commonJS({
|
|
|
8568
8584
|
this.semicolon();
|
|
8569
8585
|
return this.finishNode(node, "OpaqueType");
|
|
8570
8586
|
}
|
|
8587
|
+
flowParseTypeParameterBound() {
|
|
8588
|
+
if (this.match(14) || this.isContextual(81)) {
|
|
8589
|
+
const node = this.startNode();
|
|
8590
|
+
this.next();
|
|
8591
|
+
node.typeAnnotation = this.flowParseType();
|
|
8592
|
+
return this.finishNode(node, "TypeAnnotation");
|
|
8593
|
+
}
|
|
8594
|
+
}
|
|
8571
8595
|
flowParseTypeParameter(requireDefault = false) {
|
|
8572
8596
|
const nodeStartLoc = this.state.startLoc;
|
|
8573
8597
|
const node = this.startNode();
|
|
8574
8598
|
const variance = this.flowParseVariance();
|
|
8575
|
-
|
|
8576
|
-
node.name = ident.name;
|
|
8599
|
+
node.name = this.flowParseRestrictedIdentifierName();
|
|
8577
8600
|
node.variance = variance;
|
|
8578
|
-
node.bound =
|
|
8601
|
+
node.bound = this.flowParseTypeParameterBound();
|
|
8579
8602
|
if (this.match(29)) {
|
|
8580
8603
|
this.eat(29);
|
|
8581
8604
|
node.default = this.flowParseType();
|
|
@@ -9270,13 +9293,13 @@ var require_lib2 = __commonJS({
|
|
|
9270
9293
|
node.typeAnnotation = this.flowParseTypeInitialiser();
|
|
9271
9294
|
return this.finishNode(node, "TypeAnnotation");
|
|
9272
9295
|
}
|
|
9273
|
-
flowParseTypeAnnotatableIdentifier(
|
|
9274
|
-
const
|
|
9296
|
+
flowParseTypeAnnotatableIdentifier() {
|
|
9297
|
+
const node = this.startNode();
|
|
9298
|
+
const name = this.parseIdentifierName();
|
|
9275
9299
|
if (this.match(14)) {
|
|
9276
|
-
|
|
9277
|
-
this.resetEndLocation(ident);
|
|
9300
|
+
node.typeAnnotation = this.flowParseTypeAnnotation();
|
|
9278
9301
|
}
|
|
9279
|
-
return
|
|
9302
|
+
return this.createIdentifier(node, name);
|
|
9280
9303
|
}
|
|
9281
9304
|
typeCastToParameter(node) {
|
|
9282
9305
|
node.expression.typeAnnotation = node.typeAnnotation;
|
|
@@ -11493,6 +11516,7 @@ var require_lib2 = __commonJS({
|
|
|
11493
11516
|
adjustInnerComments(node, node.properties, commentWS);
|
|
11494
11517
|
break;
|
|
11495
11518
|
case "CallExpression":
|
|
11519
|
+
case "NewExpression":
|
|
11496
11520
|
case "OptionalCallExpression":
|
|
11497
11521
|
adjustInnerComments(node, node.arguments, commentWS);
|
|
11498
11522
|
break;
|
|
@@ -11505,6 +11529,7 @@ var require_lib2 = __commonJS({
|
|
|
11505
11529
|
case "ObjectMethod":
|
|
11506
11530
|
case "ClassMethod":
|
|
11507
11531
|
case "ClassPrivateMethod":
|
|
11532
|
+
case "TSTypeParameterDeclaration":
|
|
11508
11533
|
adjustInnerComments(node, node.params, commentWS);
|
|
11509
11534
|
break;
|
|
11510
11535
|
case "ArrayExpression":
|
|
@@ -11521,6 +11546,9 @@ var require_lib2 = __commonJS({
|
|
|
11521
11546
|
case "TSEnumBody":
|
|
11522
11547
|
adjustInnerComments(node, node.members, commentWS);
|
|
11523
11548
|
break;
|
|
11549
|
+
case "TSInterfaceBody":
|
|
11550
|
+
adjustInnerComments(node, node.body, commentWS);
|
|
11551
|
+
break;
|
|
11524
11552
|
default: {
|
|
11525
11553
|
if (node.type === "RecordExpression") {
|
|
11526
11554
|
adjustInnerComments(node, node.properties, commentWS);
|
|
@@ -17498,7 +17526,7 @@ var require_lib2 = __commonJS({
|
|
|
17498
17526
|
type
|
|
17499
17527
|
} = this.state;
|
|
17500
17528
|
if (!noCalls && type === 15) {
|
|
17501
|
-
return this.parseBind(base, startLoc,
|
|
17529
|
+
return this.parseBind(base, startLoc, state);
|
|
17502
17530
|
} else if (tokenIsTemplate(type)) {
|
|
17503
17531
|
return this.parseTaggedTemplateExpression(base, startLoc, state);
|
|
17504
17532
|
}
|
|
@@ -17551,13 +17579,18 @@ var require_lib2 = __commonJS({
|
|
|
17551
17579
|
return this.finishNode(node, "MemberExpression");
|
|
17552
17580
|
}
|
|
17553
17581
|
}
|
|
17554
|
-
parseBind(base, startLoc,
|
|
17582
|
+
parseBind(base, startLoc, state) {
|
|
17555
17583
|
const node = this.startNodeAt(startLoc);
|
|
17556
17584
|
node.object = base;
|
|
17557
17585
|
this.next();
|
|
17558
|
-
|
|
17586
|
+
const isImport = this.match(83);
|
|
17587
|
+
const callee = this.parseNoCallExpr();
|
|
17588
|
+
if (callee.type === "Super" || isImport && callee.type === "ImportExpression" || callee.type === "Import") {
|
|
17589
|
+
throw this.raise(Errors.UnsupportedBindRHS, callee);
|
|
17590
|
+
}
|
|
17591
|
+
node.callee = callee;
|
|
17559
17592
|
state.stop = true;
|
|
17560
|
-
return this.parseSubscripts(this.finishNode(node, "BindExpression"), startLoc,
|
|
17593
|
+
return this.parseSubscripts(this.finishNode(node, "BindExpression"), startLoc, false);
|
|
17561
17594
|
}
|
|
17562
17595
|
parseCoverCallAndAsyncArrowHead(base, startLoc, state, optional) {
|
|
17563
17596
|
const oldMaybeInArrowParameters = this.state.maybeInArrowParameters;
|
|
@@ -18140,9 +18173,12 @@ var require_lib2 = __commonJS({
|
|
|
18140
18173
|
const isImport = this.match(83);
|
|
18141
18174
|
const callee = this.parseNoCallExpr();
|
|
18142
18175
|
node.callee = callee;
|
|
18143
|
-
if (isImport &&
|
|
18176
|
+
if (isImport && callee.type === "ImportExpression" || callee.type === "Import") {
|
|
18144
18177
|
this.raise(Errors.ImportCallNotNewExpression, callee);
|
|
18145
18178
|
}
|
|
18179
|
+
if (callee.type === "Super") {
|
|
18180
|
+
this.raise(Errors.SuperCallNotNewExpression, callee);
|
|
18181
|
+
}
|
|
18146
18182
|
}
|
|
18147
18183
|
parseTemplateElement(isTagged) {
|
|
18148
18184
|
const {
|
|
@@ -21360,7 +21396,7 @@ var require_util2 = __commonJS({
|
|
|
21360
21396
|
return result;
|
|
21361
21397
|
};
|
|
21362
21398
|
}
|
|
21363
|
-
var
|
|
21399
|
+
var normalize2 = lruMemoize(function normalize3(aPath) {
|
|
21364
21400
|
var path2 = aPath;
|
|
21365
21401
|
var url = urlParse(aPath);
|
|
21366
21402
|
if (url) {
|
|
@@ -21412,7 +21448,7 @@ var require_util2 = __commonJS({
|
|
|
21412
21448
|
}
|
|
21413
21449
|
return path2;
|
|
21414
21450
|
});
|
|
21415
|
-
exports2.normalize =
|
|
21451
|
+
exports2.normalize = normalize2;
|
|
21416
21452
|
function join(aRoot, aPath) {
|
|
21417
21453
|
if (aRoot === "") {
|
|
21418
21454
|
aRoot = ".";
|
|
@@ -21438,7 +21474,7 @@ var require_util2 = __commonJS({
|
|
|
21438
21474
|
aRootUrl.host = aPath;
|
|
21439
21475
|
return urlGenerate(aRootUrl);
|
|
21440
21476
|
}
|
|
21441
|
-
var joined = aPath.charAt(0) === "/" ? aPath :
|
|
21477
|
+
var joined = aPath.charAt(0) === "/" ? aPath : normalize2(aRoot.replace(/\/+$/, "") + "/" + aPath);
|
|
21442
21478
|
if (aRootUrl) {
|
|
21443
21479
|
aRootUrl.path = joined;
|
|
21444
21480
|
return urlGenerate(aRootUrl);
|
|
@@ -21661,7 +21697,7 @@ var require_util2 = __commonJS({
|
|
|
21661
21697
|
}
|
|
21662
21698
|
sourceURL = join(urlGenerate(parsed), sourceURL);
|
|
21663
21699
|
}
|
|
21664
|
-
return
|
|
21700
|
+
return normalize2(sourceURL);
|
|
21665
21701
|
}
|
|
21666
21702
|
exports2.computeSourceURL = computeSourceURL;
|
|
21667
21703
|
}
|
|
@@ -23095,9 +23131,9 @@ var require_source_map = __commonJS({
|
|
|
23095
23131
|
}
|
|
23096
23132
|
});
|
|
23097
23133
|
|
|
23098
|
-
// ../../node_modules/.pnpm/@vue+compiler-core@3.5.
|
|
23134
|
+
// ../../node_modules/.pnpm/@vue+compiler-core@3.5.41/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js
|
|
23099
23135
|
var require_compiler_core_cjs_prod = __commonJS({
|
|
23100
|
-
"../../node_modules/.pnpm/@vue+compiler-core@3.5.
|
|
23136
|
+
"../../node_modules/.pnpm/@vue+compiler-core@3.5.41/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js"(exports2) {
|
|
23101
23137
|
"use strict";
|
|
23102
23138
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
23103
23139
|
var shared = require_shared();
|
|
@@ -25233,6 +25269,9 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
25233
25269
|
return [props, callPath];
|
|
25234
25270
|
}
|
|
25235
25271
|
function injectProp(node, prop, context) {
|
|
25272
|
+
if (node.type !== 13 && injectSlotKey(node, prop)) {
|
|
25273
|
+
return;
|
|
25274
|
+
}
|
|
25236
25275
|
let propsWithInjection;
|
|
25237
25276
|
let props = node.type === 13 ? node.props : node.arguments[2];
|
|
25238
25277
|
let callPath = [];
|
|
@@ -25290,6 +25329,24 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
25290
25329
|
}
|
|
25291
25330
|
}
|
|
25292
25331
|
}
|
|
25332
|
+
function injectSlotKey(node, prop) {
|
|
25333
|
+
var _a, _b, _c;
|
|
25334
|
+
if (prop.key.type !== 4 || prop.key.content !== "key") {
|
|
25335
|
+
return false;
|
|
25336
|
+
}
|
|
25337
|
+
const props = node.arguments[2];
|
|
25338
|
+
if (props && !shared.isString(props)) {
|
|
25339
|
+
const [unnormalizedProps] = getUnnormalizedProps(props);
|
|
25340
|
+
if (unnormalizedProps && !shared.isString(unnormalizedProps) && unnormalizedProps.type === 15 && hasProp(prop, unnormalizedProps)) {
|
|
25341
|
+
return true;
|
|
25342
|
+
}
|
|
25343
|
+
}
|
|
25344
|
+
(_a = node.arguments)[2] || (_a[2] = "{}");
|
|
25345
|
+
(_b = node.arguments)[3] || (_b[3] = "undefined");
|
|
25346
|
+
(_c = node.arguments)[4] || (_c[4] = "undefined");
|
|
25347
|
+
node.arguments[5] = prop.value;
|
|
25348
|
+
return true;
|
|
25349
|
+
}
|
|
25293
25350
|
function hasProp(prop, props) {
|
|
25294
25351
|
let result = false;
|
|
25295
25352
|
if (prop.key.type === 4) {
|
|
@@ -25690,7 +25747,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
25690
25747
|
}
|
|
25691
25748
|
},
|
|
25692
25749
|
oncdata(start, end) {
|
|
25693
|
-
if (stack[0].ns !== 0) {
|
|
25750
|
+
if ((stack[0] ? stack[0].ns : currentOptions.ns) !== 0) {
|
|
25694
25751
|
onText(getSlice(start, end), start, end);
|
|
25695
25752
|
} else {
|
|
25696
25753
|
emitError(1, start - 9);
|
|
@@ -26441,6 +26498,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
26441
26498
|
imports: [],
|
|
26442
26499
|
cached: [],
|
|
26443
26500
|
constantCache: /* @__PURE__ */ new WeakMap(),
|
|
26501
|
+
vForMemoKeyedNodes: /* @__PURE__ */ new WeakSet(),
|
|
26444
26502
|
temps: 0,
|
|
26445
26503
|
identifiers: /* @__PURE__ */ Object.create(null),
|
|
26446
26504
|
scopes: {
|
|
@@ -27502,7 +27560,7 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
27502
27560
|
const exp = dir.exp;
|
|
27503
27561
|
const arg = dir.arg;
|
|
27504
27562
|
if (exp && exp.type === 4 && !(dir.name === "on" && arg) && // key has been processed in transformFor(vMemo + vFor)
|
|
27505
|
-
!(memo && arg && arg.type === 4 && arg.content === "key")) {
|
|
27563
|
+
!(memo && context.vForMemoKeyedNodes.has(node) && arg && arg.type === 4 && arg.content === "key")) {
|
|
27506
27564
|
dir.exp = processExpression(
|
|
27507
27565
|
exp,
|
|
27508
27566
|
context,
|
|
@@ -27933,27 +27991,22 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
27933
27991
|
const keyProp = findProp(node, `key`, false, true);
|
|
27934
27992
|
const isDirKey = keyProp && keyProp.type === 7;
|
|
27935
27993
|
let keyExp = keyProp && (keyProp.type === 6 ? keyProp.value ? createSimpleExpression(keyProp.value.content, true) : void 0 : keyProp.exp);
|
|
27936
|
-
|
|
27937
|
-
|
|
27938
|
-
|
|
27939
|
-
keyExp,
|
|
27940
|
-
context
|
|
27941
|
-
);
|
|
27942
|
-
}
|
|
27943
|
-
}
|
|
27944
|
-
const keyProperty = keyProp && keyExp ? createObjectProperty(`key`, keyExp) : null;
|
|
27945
|
-
if (isTemplate) {
|
|
27946
|
-
if (memo) {
|
|
27994
|
+
const keyProperty = keyExp ? createObjectProperty(`key`, keyExp) : null;
|
|
27995
|
+
{
|
|
27996
|
+
if (isTemplate && memo) {
|
|
27947
27997
|
memo.exp = processExpression(
|
|
27948
27998
|
memo.exp,
|
|
27949
27999
|
context
|
|
27950
28000
|
);
|
|
27951
28001
|
}
|
|
27952
|
-
if (
|
|
27953
|
-
keyProperty.value = processExpression(
|
|
28002
|
+
if ((isTemplate || memo) && keyProperty && isDirKey) {
|
|
28003
|
+
keyExp = keyProp.exp = keyProperty.value = processExpression(
|
|
27954
28004
|
keyProperty.value,
|
|
27955
28005
|
context
|
|
27956
28006
|
);
|
|
28007
|
+
if (memo) {
|
|
28008
|
+
context.vForMemoKeyedNodes.add(node);
|
|
28009
|
+
}
|
|
27957
28010
|
}
|
|
27958
28011
|
}
|
|
27959
28012
|
const isStableFragment = forNode.source.type === 4 && forNode.source.constType > 0;
|
|
@@ -27972,6 +28025,7 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
27972
28025
|
node.loc
|
|
27973
28026
|
);
|
|
27974
28027
|
return () => {
|
|
28028
|
+
var _a;
|
|
27975
28029
|
let childBlock;
|
|
27976
28030
|
const { children } = forNode;
|
|
27977
28031
|
if (isTemplate) {
|
|
@@ -28015,7 +28069,8 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
28015
28069
|
if (isTemplate && keyProperty) {
|
|
28016
28070
|
injectProp(childBlock, keyProperty, context);
|
|
28017
28071
|
}
|
|
28018
|
-
|
|
28072
|
+
const shouldUseBlock = !isStableFragment || childBlock.isBlockRequired === true;
|
|
28073
|
+
if (childBlock.isBlock !== shouldUseBlock) {
|
|
28019
28074
|
if (childBlock.isBlock) {
|
|
28020
28075
|
removeHelper(OPEN_BLOCK);
|
|
28021
28076
|
removeHelper(
|
|
@@ -28027,12 +28082,15 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
28027
28082
|
);
|
|
28028
28083
|
}
|
|
28029
28084
|
}
|
|
28030
|
-
childBlock.isBlock =
|
|
28085
|
+
childBlock.isBlock = shouldUseBlock;
|
|
28031
28086
|
if (childBlock.isBlock) {
|
|
28032
28087
|
helper(OPEN_BLOCK);
|
|
28033
28088
|
helper(getVNodeBlockHelper(context.inSSR, childBlock.isComponent));
|
|
28034
28089
|
} else {
|
|
28035
28090
|
helper(getVNodeHelper(context.inSSR, childBlock.isComponent));
|
|
28091
|
+
if (childBlock.needsPatch) {
|
|
28092
|
+
childBlock.patchFlag = ((_a = childBlock.patchFlag) != null ? _a : 0) | 512;
|
|
28093
|
+
}
|
|
28036
28094
|
}
|
|
28037
28095
|
}
|
|
28038
28096
|
if (memo) {
|
|
@@ -28452,6 +28510,8 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
28452
28510
|
let vnodeDynamicProps;
|
|
28453
28511
|
let dynamicPropNames;
|
|
28454
28512
|
let vnodeDirectives;
|
|
28513
|
+
let needsPatch = false;
|
|
28514
|
+
let isBlockRequired = false;
|
|
28455
28515
|
let shouldUseBlock = (
|
|
28456
28516
|
// dynamic component may resolve to plain elements
|
|
28457
28517
|
isDynamicComponent || vnodeTag === TELEPORT || vnodeTag === SUSPENSE || !isComponent2 && // <svg> and <foreignObject> must be forced into blocks so that block
|
|
@@ -28471,6 +28531,8 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
28471
28531
|
vnodeProps = propsBuildResult.props;
|
|
28472
28532
|
patchFlag = propsBuildResult.patchFlag;
|
|
28473
28533
|
dynamicPropNames = propsBuildResult.dynamicPropNames;
|
|
28534
|
+
needsPatch = propsBuildResult.needsPatch;
|
|
28535
|
+
isBlockRequired = propsBuildResult.isBlockRequired;
|
|
28474
28536
|
const directives = propsBuildResult.directives;
|
|
28475
28537
|
vnodeDirectives = directives && directives.length ? createArrayExpression(
|
|
28476
28538
|
directives.map((dir) => buildDirectiveArgs(dir, context))
|
|
@@ -28512,7 +28574,7 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
28512
28574
|
if (dynamicPropNames && dynamicPropNames.length) {
|
|
28513
28575
|
vnodeDynamicProps = stringifyDynamicPropNames(dynamicPropNames);
|
|
28514
28576
|
}
|
|
28515
|
-
node.codegenNode = createVNodeCall(
|
|
28577
|
+
const vnodeCall = node.codegenNode = createVNodeCall(
|
|
28516
28578
|
context,
|
|
28517
28579
|
vnodeTag,
|
|
28518
28580
|
vnodeProps,
|
|
@@ -28525,6 +28587,13 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
28525
28587
|
isComponent2,
|
|
28526
28588
|
node.loc
|
|
28527
28589
|
);
|
|
28590
|
+
needsPatch = needsPatch && (patchFlag === 0 || patchFlag === 32);
|
|
28591
|
+
if (needsPatch) {
|
|
28592
|
+
vnodeCall.needsPatch = true;
|
|
28593
|
+
}
|
|
28594
|
+
if (isBlockRequired) {
|
|
28595
|
+
vnodeCall.isBlockRequired = true;
|
|
28596
|
+
}
|
|
28528
28597
|
};
|
|
28529
28598
|
};
|
|
28530
28599
|
function resolveComponentType(node, context, ssr = false) {
|
|
@@ -28634,6 +28703,7 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
28634
28703
|
const runtimeDirectives = [];
|
|
28635
28704
|
const hasChildren = children.length > 0;
|
|
28636
28705
|
let shouldUseBlock = false;
|
|
28706
|
+
let isBlockRequired = false;
|
|
28637
28707
|
let patchFlag = 0;
|
|
28638
28708
|
let hasRef = false;
|
|
28639
28709
|
let hasClassBinding = false;
|
|
@@ -28675,19 +28745,20 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
28675
28745
|
if (isEventHandler && shared.isReservedProp(name)) {
|
|
28676
28746
|
hasVnodeHook = true;
|
|
28677
28747
|
}
|
|
28748
|
+
if (name === "ref") {
|
|
28749
|
+
hasRef = true;
|
|
28750
|
+
}
|
|
28678
28751
|
if (isEventHandler && value.type === 14) {
|
|
28679
28752
|
value = value.arguments[0];
|
|
28680
28753
|
}
|
|
28681
28754
|
if (value.type === 20 || (value.type === 4 || value.type === 8) && getConstantType(value, context) > 0) {
|
|
28682
28755
|
return;
|
|
28683
28756
|
}
|
|
28684
|
-
if (name === "
|
|
28685
|
-
hasRef = true;
|
|
28686
|
-
} else if (name === "class") {
|
|
28757
|
+
if (name === "class") {
|
|
28687
28758
|
hasClassBinding = true;
|
|
28688
28759
|
} else if (name === "style") {
|
|
28689
28760
|
hasStyleBinding = true;
|
|
28690
|
-
} else if (name !== "key" && !dynamicPropNames.includes(name)) {
|
|
28761
|
+
} else if (name !== "ref" && name !== "key" && !dynamicPropNames.includes(name)) {
|
|
28691
28762
|
dynamicPropNames.push(name);
|
|
28692
28763
|
}
|
|
28693
28764
|
if (isComponent2 && (name === "class" || name === "style") && !dynamicPropNames.includes(name)) {
|
|
@@ -28758,14 +28829,13 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
28758
28829
|
if (isVOn && ssr) {
|
|
28759
28830
|
continue;
|
|
28760
28831
|
}
|
|
28761
|
-
if (
|
|
28762
|
-
// #938: elements with dynamic keys should be forced into blocks
|
|
28763
|
-
isVBind && isStaticArgOf(arg, "key") || // inline before-update hooks need to force block so that it is invoked
|
|
28764
|
-
// before children
|
|
28765
|
-
isVOn && hasChildren && isStaticArgOf(arg, "vue:before-update")
|
|
28766
|
-
) {
|
|
28832
|
+
if (isVBind && isStaticArgOf(arg, "key")) {
|
|
28767
28833
|
shouldUseBlock = true;
|
|
28768
28834
|
}
|
|
28835
|
+
if (isVOn && hasChildren && arg && isStaticExp(arg) && shared.camelize(arg.content) === "vue:beforeUpdate") {
|
|
28836
|
+
shouldUseBlock = true;
|
|
28837
|
+
isBlockRequired = true;
|
|
28838
|
+
}
|
|
28769
28839
|
if (isVBind && isStaticArgOf(arg, "ref")) {
|
|
28770
28840
|
pushRefVForMarker();
|
|
28771
28841
|
}
|
|
@@ -28826,6 +28896,7 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
28826
28896
|
runtimeDirectives.push(prop);
|
|
28827
28897
|
if (hasChildren) {
|
|
28828
28898
|
shouldUseBlock = true;
|
|
28899
|
+
isBlockRequired = true;
|
|
28829
28900
|
}
|
|
28830
28901
|
}
|
|
28831
28902
|
}
|
|
@@ -28864,7 +28935,8 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
28864
28935
|
patchFlag |= 32;
|
|
28865
28936
|
}
|
|
28866
28937
|
}
|
|
28867
|
-
|
|
28938
|
+
const needsPatch = (patchFlag === 0 || patchFlag === 32) && (hasRef || hasVnodeHook || runtimeDirectives.length > 0);
|
|
28939
|
+
if (!shouldUseBlock && needsPatch) {
|
|
28868
28940
|
patchFlag |= 512;
|
|
28869
28941
|
}
|
|
28870
28942
|
if (!context.inSSR && propsExpression) {
|
|
@@ -28930,7 +29002,9 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
28930
29002
|
directives: runtimeDirectives,
|
|
28931
29003
|
patchFlag,
|
|
28932
29004
|
dynamicPropNames,
|
|
28933
|
-
shouldUseBlock
|
|
29005
|
+
shouldUseBlock,
|
|
29006
|
+
needsPatch,
|
|
29007
|
+
isBlockRequired
|
|
28934
29008
|
};
|
|
28935
29009
|
}
|
|
28936
29010
|
function dedupeProperties(properties) {
|
|
@@ -29468,7 +29542,7 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
29468
29542
|
if (child.type === 4) {
|
|
29469
29543
|
parseFilter(child, context);
|
|
29470
29544
|
} else if (child.type === 8) {
|
|
29471
|
-
rewriteFilter(
|
|
29545
|
+
rewriteFilter(child, context);
|
|
29472
29546
|
} else if (child.type === 5) {
|
|
29473
29547
|
rewriteFilter(child.content, context);
|
|
29474
29548
|
}
|
|
@@ -29862,9 +29936,9 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
29862
29936
|
}
|
|
29863
29937
|
});
|
|
29864
29938
|
|
|
29865
|
-
// ../../node_modules/.pnpm/@vue+compiler-core@3.5.
|
|
29939
|
+
// ../../node_modules/.pnpm/@vue+compiler-core@3.5.41/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js
|
|
29866
29940
|
var require_compiler_core_cjs = __commonJS({
|
|
29867
|
-
"../../node_modules/.pnpm/@vue+compiler-core@3.5.
|
|
29941
|
+
"../../node_modules/.pnpm/@vue+compiler-core@3.5.41/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js"(exports2) {
|
|
29868
29942
|
"use strict";
|
|
29869
29943
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
29870
29944
|
var shared = require_shared();
|
|
@@ -32004,6 +32078,9 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
32004
32078
|
return [props, callPath];
|
|
32005
32079
|
}
|
|
32006
32080
|
function injectProp(node, prop, context) {
|
|
32081
|
+
if (node.type !== 13 && injectSlotKey(node, prop)) {
|
|
32082
|
+
return;
|
|
32083
|
+
}
|
|
32007
32084
|
let propsWithInjection;
|
|
32008
32085
|
let props = node.type === 13 ? node.props : node.arguments[2];
|
|
32009
32086
|
let callPath = [];
|
|
@@ -32061,6 +32138,24 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
32061
32138
|
}
|
|
32062
32139
|
}
|
|
32063
32140
|
}
|
|
32141
|
+
function injectSlotKey(node, prop) {
|
|
32142
|
+
var _a, _b, _c;
|
|
32143
|
+
if (prop.key.type !== 4 || prop.key.content !== "key") {
|
|
32144
|
+
return false;
|
|
32145
|
+
}
|
|
32146
|
+
const props = node.arguments[2];
|
|
32147
|
+
if (props && !shared.isString(props)) {
|
|
32148
|
+
const [unnormalizedProps] = getUnnormalizedProps(props);
|
|
32149
|
+
if (unnormalizedProps && !shared.isString(unnormalizedProps) && unnormalizedProps.type === 15 && hasProp(prop, unnormalizedProps)) {
|
|
32150
|
+
return true;
|
|
32151
|
+
}
|
|
32152
|
+
}
|
|
32153
|
+
(_a = node.arguments)[2] || (_a[2] = "{}");
|
|
32154
|
+
(_b = node.arguments)[3] || (_b[3] = "undefined");
|
|
32155
|
+
(_c = node.arguments)[4] || (_c[4] = "undefined");
|
|
32156
|
+
node.arguments[5] = prop.value;
|
|
32157
|
+
return true;
|
|
32158
|
+
}
|
|
32064
32159
|
function hasProp(prop, props) {
|
|
32065
32160
|
let result = false;
|
|
32066
32161
|
if (prop.key.type === 4) {
|
|
@@ -32461,7 +32556,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
32461
32556
|
}
|
|
32462
32557
|
},
|
|
32463
32558
|
oncdata(start, end) {
|
|
32464
|
-
if (stack[0].ns !== 0) {
|
|
32559
|
+
if ((stack[0] ? stack[0].ns : currentOptions.ns) !== 0) {
|
|
32465
32560
|
onText(getSlice(start, end), start, end);
|
|
32466
32561
|
} else {
|
|
32467
32562
|
emitError(1, start - 9);
|
|
@@ -33249,6 +33344,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
33249
33344
|
imports: [],
|
|
33250
33345
|
cached: [],
|
|
33251
33346
|
constantCache: /* @__PURE__ */ new WeakMap(),
|
|
33347
|
+
vForMemoKeyedNodes: /* @__PURE__ */ new WeakSet(),
|
|
33252
33348
|
temps: 0,
|
|
33253
33349
|
identifiers: /* @__PURE__ */ Object.create(null),
|
|
33254
33350
|
scopes: {
|
|
@@ -34344,7 +34440,7 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
34344
34440
|
const exp = dir.exp;
|
|
34345
34441
|
const arg = dir.arg;
|
|
34346
34442
|
if (exp && exp.type === 4 && !(dir.name === "on" && arg) && // key has been processed in transformFor(vMemo + vFor)
|
|
34347
|
-
!(memo && arg && arg.type === 4 && arg.content === "key")) {
|
|
34443
|
+
!(memo && context.vForMemoKeyedNodes.has(node) && arg && arg.type === 4 && arg.content === "key")) {
|
|
34348
34444
|
dir.exp = processExpression(
|
|
34349
34445
|
exp,
|
|
34350
34446
|
context,
|
|
@@ -34786,27 +34882,22 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
34786
34882
|
const keyProp = findProp(node, `key`, false, true);
|
|
34787
34883
|
const isDirKey = keyProp && keyProp.type === 7;
|
|
34788
34884
|
let keyExp = keyProp && (keyProp.type === 6 ? keyProp.value ? createSimpleExpression(keyProp.value.content, true) : void 0 : keyProp.exp);
|
|
34789
|
-
|
|
34790
|
-
|
|
34791
|
-
|
|
34792
|
-
keyExp,
|
|
34793
|
-
context
|
|
34794
|
-
);
|
|
34795
|
-
}
|
|
34796
|
-
}
|
|
34797
|
-
const keyProperty = keyProp && keyExp ? createObjectProperty(`key`, keyExp) : null;
|
|
34798
|
-
if (isTemplate) {
|
|
34799
|
-
if (memo) {
|
|
34885
|
+
const keyProperty = keyExp ? createObjectProperty(`key`, keyExp) : null;
|
|
34886
|
+
{
|
|
34887
|
+
if (isTemplate && memo) {
|
|
34800
34888
|
memo.exp = processExpression(
|
|
34801
34889
|
memo.exp,
|
|
34802
34890
|
context
|
|
34803
34891
|
);
|
|
34804
34892
|
}
|
|
34805
|
-
if (
|
|
34806
|
-
keyProperty.value = processExpression(
|
|
34893
|
+
if ((isTemplate || memo) && keyProperty && isDirKey) {
|
|
34894
|
+
keyExp = keyProp.exp = keyProperty.value = processExpression(
|
|
34807
34895
|
keyProperty.value,
|
|
34808
34896
|
context
|
|
34809
34897
|
);
|
|
34898
|
+
if (memo) {
|
|
34899
|
+
context.vForMemoKeyedNodes.add(node);
|
|
34900
|
+
}
|
|
34810
34901
|
}
|
|
34811
34902
|
}
|
|
34812
34903
|
const isStableFragment = forNode.source.type === 4 && forNode.source.constType > 0;
|
|
@@ -34825,6 +34916,7 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
34825
34916
|
node.loc
|
|
34826
34917
|
);
|
|
34827
34918
|
return () => {
|
|
34919
|
+
var _a;
|
|
34828
34920
|
let childBlock;
|
|
34829
34921
|
const { children } = forNode;
|
|
34830
34922
|
if (isTemplate) {
|
|
@@ -34868,7 +34960,8 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
34868
34960
|
if (isTemplate && keyProperty) {
|
|
34869
34961
|
injectProp(childBlock, keyProperty, context);
|
|
34870
34962
|
}
|
|
34871
|
-
|
|
34963
|
+
const shouldUseBlock = !isStableFragment || childBlock.isBlockRequired === true;
|
|
34964
|
+
if (childBlock.isBlock !== shouldUseBlock) {
|
|
34872
34965
|
if (childBlock.isBlock) {
|
|
34873
34966
|
removeHelper(OPEN_BLOCK);
|
|
34874
34967
|
removeHelper(
|
|
@@ -34880,12 +34973,15 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
34880
34973
|
);
|
|
34881
34974
|
}
|
|
34882
34975
|
}
|
|
34883
|
-
childBlock.isBlock =
|
|
34976
|
+
childBlock.isBlock = shouldUseBlock;
|
|
34884
34977
|
if (childBlock.isBlock) {
|
|
34885
34978
|
helper(OPEN_BLOCK);
|
|
34886
34979
|
helper(getVNodeBlockHelper(context.inSSR, childBlock.isComponent));
|
|
34887
34980
|
} else {
|
|
34888
34981
|
helper(getVNodeHelper(context.inSSR, childBlock.isComponent));
|
|
34982
|
+
if (childBlock.needsPatch) {
|
|
34983
|
+
childBlock.patchFlag = ((_a = childBlock.patchFlag) != null ? _a : 0) | 512;
|
|
34984
|
+
}
|
|
34889
34985
|
}
|
|
34890
34986
|
}
|
|
34891
34987
|
if (memo) {
|
|
@@ -35305,6 +35401,8 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
35305
35401
|
let vnodeDynamicProps;
|
|
35306
35402
|
let dynamicPropNames;
|
|
35307
35403
|
let vnodeDirectives;
|
|
35404
|
+
let needsPatch = false;
|
|
35405
|
+
let isBlockRequired = false;
|
|
35308
35406
|
let shouldUseBlock = (
|
|
35309
35407
|
// dynamic component may resolve to plain elements
|
|
35310
35408
|
isDynamicComponent || vnodeTag === TELEPORT || vnodeTag === SUSPENSE || !isComponent2 && // <svg> and <foreignObject> must be forced into blocks so that block
|
|
@@ -35324,6 +35422,8 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
35324
35422
|
vnodeProps = propsBuildResult.props;
|
|
35325
35423
|
patchFlag = propsBuildResult.patchFlag;
|
|
35326
35424
|
dynamicPropNames = propsBuildResult.dynamicPropNames;
|
|
35425
|
+
needsPatch = propsBuildResult.needsPatch;
|
|
35426
|
+
isBlockRequired = propsBuildResult.isBlockRequired;
|
|
35327
35427
|
const directives = propsBuildResult.directives;
|
|
35328
35428
|
vnodeDirectives = directives && directives.length ? createArrayExpression(
|
|
35329
35429
|
directives.map((dir) => buildDirectiveArgs(dir, context))
|
|
@@ -35374,7 +35474,7 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
35374
35474
|
if (dynamicPropNames && dynamicPropNames.length) {
|
|
35375
35475
|
vnodeDynamicProps = stringifyDynamicPropNames(dynamicPropNames);
|
|
35376
35476
|
}
|
|
35377
|
-
node.codegenNode = createVNodeCall(
|
|
35477
|
+
const vnodeCall = node.codegenNode = createVNodeCall(
|
|
35378
35478
|
context,
|
|
35379
35479
|
vnodeTag,
|
|
35380
35480
|
vnodeProps,
|
|
@@ -35387,6 +35487,13 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
35387
35487
|
isComponent2,
|
|
35388
35488
|
node.loc
|
|
35389
35489
|
);
|
|
35490
|
+
needsPatch = needsPatch && (patchFlag === 0 || patchFlag === 32);
|
|
35491
|
+
if (needsPatch) {
|
|
35492
|
+
vnodeCall.needsPatch = true;
|
|
35493
|
+
}
|
|
35494
|
+
if (isBlockRequired) {
|
|
35495
|
+
vnodeCall.isBlockRequired = true;
|
|
35496
|
+
}
|
|
35390
35497
|
};
|
|
35391
35498
|
};
|
|
35392
35499
|
function resolveComponentType(node, context, ssr = false) {
|
|
@@ -35496,6 +35603,7 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
35496
35603
|
const runtimeDirectives = [];
|
|
35497
35604
|
const hasChildren = children.length > 0;
|
|
35498
35605
|
let shouldUseBlock = false;
|
|
35606
|
+
let isBlockRequired = false;
|
|
35499
35607
|
let patchFlag = 0;
|
|
35500
35608
|
let hasRef = false;
|
|
35501
35609
|
let hasClassBinding = false;
|
|
@@ -35537,19 +35645,20 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
35537
35645
|
if (isEventHandler && shared.isReservedProp(name)) {
|
|
35538
35646
|
hasVnodeHook = true;
|
|
35539
35647
|
}
|
|
35648
|
+
if (name === "ref") {
|
|
35649
|
+
hasRef = true;
|
|
35650
|
+
}
|
|
35540
35651
|
if (isEventHandler && value.type === 14) {
|
|
35541
35652
|
value = value.arguments[0];
|
|
35542
35653
|
}
|
|
35543
35654
|
if (value.type === 20 || (value.type === 4 || value.type === 8) && getConstantType(value, context) > 0) {
|
|
35544
35655
|
return;
|
|
35545
35656
|
}
|
|
35546
|
-
if (name === "
|
|
35547
|
-
hasRef = true;
|
|
35548
|
-
} else if (name === "class") {
|
|
35657
|
+
if (name === "class") {
|
|
35549
35658
|
hasClassBinding = true;
|
|
35550
35659
|
} else if (name === "style") {
|
|
35551
35660
|
hasStyleBinding = true;
|
|
35552
|
-
} else if (name !== "key" && !dynamicPropNames.includes(name)) {
|
|
35661
|
+
} else if (name !== "ref" && name !== "key" && !dynamicPropNames.includes(name)) {
|
|
35553
35662
|
dynamicPropNames.push(name);
|
|
35554
35663
|
}
|
|
35555
35664
|
if (isComponent2 && (name === "class" || name === "style") && !dynamicPropNames.includes(name)) {
|
|
@@ -35620,13 +35729,12 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
35620
35729
|
if (isVOn && ssr) {
|
|
35621
35730
|
continue;
|
|
35622
35731
|
}
|
|
35623
|
-
if (
|
|
35624
|
-
|
|
35625
|
-
|
|
35626
|
-
|
|
35627
|
-
isVOn && hasChildren && isStaticArgOf(arg, "vue:before-update")
|
|
35628
|
-
) {
|
|
35732
|
+
if (isVBind && isStaticArgOf(arg, "key")) {
|
|
35733
|
+
shouldUseBlock = true;
|
|
35734
|
+
}
|
|
35735
|
+
if (isVOn && hasChildren && arg && isStaticExp(arg) && shared.camelize(arg.content) === "vue:beforeUpdate") {
|
|
35629
35736
|
shouldUseBlock = true;
|
|
35737
|
+
isBlockRequired = true;
|
|
35630
35738
|
}
|
|
35631
35739
|
if (isVBind && isStaticArgOf(arg, "ref")) {
|
|
35632
35740
|
pushRefVForMarker();
|
|
@@ -35709,6 +35817,7 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
35709
35817
|
runtimeDirectives.push(prop);
|
|
35710
35818
|
if (hasChildren) {
|
|
35711
35819
|
shouldUseBlock = true;
|
|
35820
|
+
isBlockRequired = true;
|
|
35712
35821
|
}
|
|
35713
35822
|
}
|
|
35714
35823
|
}
|
|
@@ -35747,7 +35856,8 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
35747
35856
|
patchFlag |= 32;
|
|
35748
35857
|
}
|
|
35749
35858
|
}
|
|
35750
|
-
|
|
35859
|
+
const needsPatch = (patchFlag === 0 || patchFlag === 32) && (hasRef || hasVnodeHook || runtimeDirectives.length > 0);
|
|
35860
|
+
if (!shouldUseBlock && needsPatch) {
|
|
35751
35861
|
patchFlag |= 512;
|
|
35752
35862
|
}
|
|
35753
35863
|
if (!context.inSSR && propsExpression) {
|
|
@@ -35813,7 +35923,9 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
35813
35923
|
directives: runtimeDirectives,
|
|
35814
35924
|
patchFlag,
|
|
35815
35925
|
dynamicPropNames,
|
|
35816
|
-
shouldUseBlock
|
|
35926
|
+
shouldUseBlock,
|
|
35927
|
+
needsPatch,
|
|
35928
|
+
isBlockRequired
|
|
35817
35929
|
};
|
|
35818
35930
|
}
|
|
35819
35931
|
function dedupeProperties(properties) {
|
|
@@ -36354,7 +36466,7 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
36354
36466
|
if (child.type === 4) {
|
|
36355
36467
|
parseFilter(child, context);
|
|
36356
36468
|
} else if (child.type === 8) {
|
|
36357
|
-
rewriteFilter(
|
|
36469
|
+
rewriteFilter(child, context);
|
|
36358
36470
|
} else if (child.type === 5) {
|
|
36359
36471
|
rewriteFilter(child.content, context);
|
|
36360
36472
|
}
|
|
@@ -36753,9 +36865,9 @@ const ${helpers.map((s) => `_${helperNameMap[s]} = ${helperNameMap[s]}`).join(",
|
|
|
36753
36865
|
}
|
|
36754
36866
|
});
|
|
36755
36867
|
|
|
36756
|
-
// ../../node_modules/.pnpm/@vue+compiler-core@3.5.
|
|
36868
|
+
// ../../node_modules/.pnpm/@vue+compiler-core@3.5.41/node_modules/@vue/compiler-core/index.js
|
|
36757
36869
|
var require_compiler_core = __commonJS({
|
|
36758
|
-
"../../node_modules/.pnpm/@vue+compiler-core@3.5.
|
|
36870
|
+
"../../node_modules/.pnpm/@vue+compiler-core@3.5.41/node_modules/@vue/compiler-core/index.js"(exports2, module2) {
|
|
36759
36871
|
"use strict";
|
|
36760
36872
|
if (process.env.NODE_ENV === "production") {
|
|
36761
36873
|
module2.exports = require_compiler_core_cjs_prod();
|
|
@@ -36765,9 +36877,9 @@ var require_compiler_core = __commonJS({
|
|
|
36765
36877
|
}
|
|
36766
36878
|
});
|
|
36767
36879
|
|
|
36768
|
-
// ../../node_modules/.pnpm/@vue+compiler-dom@3.5.
|
|
36880
|
+
// ../../node_modules/.pnpm/@vue+compiler-dom@3.5.41/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js
|
|
36769
36881
|
var require_compiler_dom_cjs_prod = __commonJS({
|
|
36770
|
-
"../../node_modules/.pnpm/@vue+compiler-dom@3.5.
|
|
36882
|
+
"../../node_modules/.pnpm/@vue+compiler-dom@3.5.41/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js"(exports2) {
|
|
36771
36883
|
"use strict";
|
|
36772
36884
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
36773
36885
|
var compilerCore = require_compiler_core();
|
|
@@ -37312,12 +37424,15 @@ var require_compiler_dom_cjs_prod = __commonJS({
|
|
|
37312
37424
|
res += ` ${p.arg.content}="__VUE_EXP_START__${exp.content}__VUE_EXP_END__"`;
|
|
37313
37425
|
continue;
|
|
37314
37426
|
}
|
|
37315
|
-
if (shared.isBooleanAttr(p.arg.content) && exp.content === "false") {
|
|
37427
|
+
if ((shared.isBooleanAttr(p.arg.content) || p.arg.content === "hidden") && exp.content === "false") {
|
|
37316
37428
|
continue;
|
|
37317
37429
|
}
|
|
37318
37430
|
let evaluated = evaluateConstant(exp);
|
|
37319
37431
|
if (evaluated != null) {
|
|
37320
37432
|
const arg = p.arg && p.arg.content;
|
|
37433
|
+
if (arg === "hidden" && typeof evaluated === "number" && !shared.includeBooleanAttr(evaluated)) {
|
|
37434
|
+
continue;
|
|
37435
|
+
}
|
|
37321
37436
|
if (arg === "class") {
|
|
37322
37437
|
evaluated = shared.normalizeClass(evaluated);
|
|
37323
37438
|
} else if (arg === "style") {
|
|
@@ -37440,9 +37555,9 @@ var require_compiler_dom_cjs_prod = __commonJS({
|
|
|
37440
37555
|
}
|
|
37441
37556
|
});
|
|
37442
37557
|
|
|
37443
|
-
// ../../node_modules/.pnpm/@vue+compiler-dom@3.5.
|
|
37558
|
+
// ../../node_modules/.pnpm/@vue+compiler-dom@3.5.41/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.js
|
|
37444
37559
|
var require_compiler_dom_cjs = __commonJS({
|
|
37445
|
-
"../../node_modules/.pnpm/@vue+compiler-dom@3.5.
|
|
37560
|
+
"../../node_modules/.pnpm/@vue+compiler-dom@3.5.41/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.js"(exports2) {
|
|
37446
37561
|
"use strict";
|
|
37447
37562
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
37448
37563
|
var compilerCore = require_compiler_core();
|
|
@@ -38050,12 +38165,15 @@ var require_compiler_dom_cjs = __commonJS({
|
|
|
38050
38165
|
res += ` ${p.arg.content}="__VUE_EXP_START__${exp.content}__VUE_EXP_END__"`;
|
|
38051
38166
|
continue;
|
|
38052
38167
|
}
|
|
38053
|
-
if (shared.isBooleanAttr(p.arg.content) && exp.content === "false") {
|
|
38168
|
+
if ((shared.isBooleanAttr(p.arg.content) || p.arg.content === "hidden") && exp.content === "false") {
|
|
38054
38169
|
continue;
|
|
38055
38170
|
}
|
|
38056
38171
|
let evaluated = evaluateConstant(exp);
|
|
38057
38172
|
if (evaluated != null) {
|
|
38058
38173
|
const arg = p.arg && p.arg.content;
|
|
38174
|
+
if (arg === "hidden" && typeof evaluated === "number" && !shared.includeBooleanAttr(evaluated)) {
|
|
38175
|
+
continue;
|
|
38176
|
+
}
|
|
38059
38177
|
if (arg === "class") {
|
|
38060
38178
|
evaluated = shared.normalizeClass(evaluated);
|
|
38061
38179
|
} else if (arg === "style") {
|
|
@@ -38357,9 +38475,9 @@ var require_compiler_dom_cjs = __commonJS({
|
|
|
38357
38475
|
}
|
|
38358
38476
|
});
|
|
38359
38477
|
|
|
38360
|
-
// ../../node_modules/.pnpm/@vue+compiler-dom@3.5.
|
|
38478
|
+
// ../../node_modules/.pnpm/@vue+compiler-dom@3.5.41/node_modules/@vue/compiler-dom/index.js
|
|
38361
38479
|
var require_compiler_dom = __commonJS({
|
|
38362
|
-
"../../node_modules/.pnpm/@vue+compiler-dom@3.5.
|
|
38480
|
+
"../../node_modules/.pnpm/@vue+compiler-dom@3.5.41/node_modules/@vue/compiler-dom/index.js"(exports2, module2) {
|
|
38363
38481
|
"use strict";
|
|
38364
38482
|
if (process.env.NODE_ENV === "production") {
|
|
38365
38483
|
module2.exports = require_compiler_dom_cjs_prod();
|
|
@@ -38369,9 +38487,9 @@ var require_compiler_dom = __commonJS({
|
|
|
38369
38487
|
}
|
|
38370
38488
|
});
|
|
38371
38489
|
|
|
38372
|
-
// ../../node_modules/.pnpm/@vue+reactivity@3.5.
|
|
38490
|
+
// ../../node_modules/.pnpm/@vue+reactivity@3.5.41/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js
|
|
38373
38491
|
var require_reactivity_cjs_prod = __commonJS({
|
|
38374
|
-
"../../node_modules/.pnpm/@vue+reactivity@3.5.
|
|
38492
|
+
"../../node_modules/.pnpm/@vue+reactivity@3.5.41/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js"(exports2) {
|
|
38375
38493
|
"use strict";
|
|
38376
38494
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
38377
38495
|
var shared = require_shared();
|
|
@@ -38385,12 +38503,18 @@ var require_reactivity_cjs_prod = __commonJS({
|
|
|
38385
38503
|
this.effects = [];
|
|
38386
38504
|
this.cleanups = [];
|
|
38387
38505
|
this._isPaused = false;
|
|
38506
|
+
this._warnOnRun = true;
|
|
38388
38507
|
this.__v_skip = true;
|
|
38389
|
-
this.parent = activeEffectScope;
|
|
38390
38508
|
if (!detached && activeEffectScope) {
|
|
38391
|
-
|
|
38392
|
-
this
|
|
38393
|
-
|
|
38509
|
+
if (activeEffectScope.active) {
|
|
38510
|
+
this.parent = activeEffectScope;
|
|
38511
|
+
this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(
|
|
38512
|
+
this
|
|
38513
|
+
) - 1;
|
|
38514
|
+
} else {
|
|
38515
|
+
this._active = false;
|
|
38516
|
+
this._warnOnRun = false;
|
|
38517
|
+
}
|
|
38394
38518
|
}
|
|
38395
38519
|
}
|
|
38396
38520
|
get active() {
|
|
@@ -38401,8 +38525,9 @@ var require_reactivity_cjs_prod = __commonJS({
|
|
|
38401
38525
|
this._isPaused = true;
|
|
38402
38526
|
let i, l;
|
|
38403
38527
|
if (this.scopes) {
|
|
38404
|
-
|
|
38405
|
-
|
|
38528
|
+
const scopes = this.scopes.slice();
|
|
38529
|
+
for (i = 0, l = scopes.length; i < l; i++) {
|
|
38530
|
+
scopes[i].pause();
|
|
38406
38531
|
}
|
|
38407
38532
|
}
|
|
38408
38533
|
for (i = 0, l = this.effects.length; i < l; i++) {
|
|
@@ -38419,12 +38544,14 @@ var require_reactivity_cjs_prod = __commonJS({
|
|
|
38419
38544
|
this._isPaused = false;
|
|
38420
38545
|
let i, l;
|
|
38421
38546
|
if (this.scopes) {
|
|
38422
|
-
|
|
38423
|
-
|
|
38547
|
+
const scopes = this.scopes.slice();
|
|
38548
|
+
for (i = 0, l = scopes.length; i < l; i++) {
|
|
38549
|
+
scopes[i].resume();
|
|
38424
38550
|
}
|
|
38425
38551
|
}
|
|
38426
|
-
|
|
38427
|
-
|
|
38552
|
+
const effects = this.effects.slice();
|
|
38553
|
+
for (i = 0, l = effects.length; i < l; i++) {
|
|
38554
|
+
effects[i].resume();
|
|
38428
38555
|
}
|
|
38429
38556
|
}
|
|
38430
38557
|
}
|
|
@@ -38484,8 +38611,9 @@ var require_reactivity_cjs_prod = __commonJS({
|
|
|
38484
38611
|
}
|
|
38485
38612
|
this.cleanups.length = 0;
|
|
38486
38613
|
if (this.scopes) {
|
|
38487
|
-
|
|
38488
|
-
|
|
38614
|
+
const scopes = this.scopes.slice();
|
|
38615
|
+
for (i = 0, l = scopes.length; i < l; i++) {
|
|
38616
|
+
scopes[i].stop(true);
|
|
38489
38617
|
}
|
|
38490
38618
|
this.scopes.length = 0;
|
|
38491
38619
|
}
|
|
@@ -38540,8 +38668,12 @@ var require_reactivity_cjs_prod = __commonJS({
|
|
|
38540
38668
|
this.next = void 0;
|
|
38541
38669
|
this.cleanup = void 0;
|
|
38542
38670
|
this.scheduler = void 0;
|
|
38543
|
-
if (activeEffectScope
|
|
38544
|
-
activeEffectScope.
|
|
38671
|
+
if (activeEffectScope) {
|
|
38672
|
+
if (activeEffectScope.active) {
|
|
38673
|
+
activeEffectScope.effects.push(this);
|
|
38674
|
+
} else {
|
|
38675
|
+
this.flags &= -2;
|
|
38676
|
+
}
|
|
38545
38677
|
}
|
|
38546
38678
|
}
|
|
38547
38679
|
pause() {
|
|
@@ -39325,7 +39457,7 @@ var require_reactivity_cjs_prod = __commonJS({
|
|
|
39325
39457
|
value,
|
|
39326
39458
|
/* @__PURE__ */ isRef(target) ? target : receiver
|
|
39327
39459
|
);
|
|
39328
|
-
if (target === /* @__PURE__ */ toRaw(receiver)) {
|
|
39460
|
+
if (target === /* @__PURE__ */ toRaw(receiver) && result) {
|
|
39329
39461
|
if (!hadKey) {
|
|
39330
39462
|
trigger(target, "add", key, value);
|
|
39331
39463
|
} else if (shared.hasChanged(value, oldValue)) {
|
|
@@ -39590,9 +39722,6 @@ var require_reactivity_cjs_prod = __commonJS({
|
|
|
39590
39722
|
return 0;
|
|
39591
39723
|
}
|
|
39592
39724
|
}
|
|
39593
|
-
function getTargetType(value) {
|
|
39594
|
-
return value["__v_skip"] || !Object.isExtensible(value) ? 0 : targetTypeMap(shared.toRawType(value));
|
|
39595
|
-
}
|
|
39596
39725
|
// @__NO_SIDE_EFFECTS__
|
|
39597
39726
|
function reactive(target) {
|
|
39598
39727
|
if (/* @__PURE__ */ isReadonly(target)) {
|
|
@@ -39643,14 +39772,17 @@ var require_reactivity_cjs_prod = __commonJS({
|
|
|
39643
39772
|
if (target["__v_raw"] && !(isReadonly2 && target["__v_isReactive"])) {
|
|
39644
39773
|
return target;
|
|
39645
39774
|
}
|
|
39646
|
-
|
|
39647
|
-
if (targetType === 0) {
|
|
39775
|
+
if (target["__v_skip"] || !Object.isExtensible(target)) {
|
|
39648
39776
|
return target;
|
|
39649
39777
|
}
|
|
39650
39778
|
const existingProxy = proxyMap.get(target);
|
|
39651
39779
|
if (existingProxy) {
|
|
39652
39780
|
return existingProxy;
|
|
39653
39781
|
}
|
|
39782
|
+
const targetType = targetTypeMap(shared.toRawType(target));
|
|
39783
|
+
if (targetType === 0) {
|
|
39784
|
+
return target;
|
|
39785
|
+
}
|
|
39654
39786
|
const proxy = new Proxy(
|
|
39655
39787
|
target,
|
|
39656
39788
|
targetType === 2 ? collectionHandlers : baseHandlers
|
|
@@ -40021,8 +40153,9 @@ var require_reactivity_cjs_prod = __commonJS({
|
|
|
40021
40153
|
if (once && cb) {
|
|
40022
40154
|
const _cb = cb;
|
|
40023
40155
|
cb = (...args) => {
|
|
40024
|
-
_cb(...args);
|
|
40156
|
+
const res = _cb(...args);
|
|
40025
40157
|
watchHandle();
|
|
40158
|
+
return res;
|
|
40026
40159
|
};
|
|
40027
40160
|
}
|
|
40028
40161
|
let oldValue = isMultiSource ? new Array(source.length).fill(INITIAL_WATCHER_VALUE) : INITIAL_WATCHER_VALUE;
|
|
@@ -40032,7 +40165,7 @@ var require_reactivity_cjs_prod = __commonJS({
|
|
|
40032
40165
|
}
|
|
40033
40166
|
if (cb) {
|
|
40034
40167
|
const newValue = effect2.run();
|
|
40035
|
-
if (deep || forceTrigger || (isMultiSource ? newValue.some((v, i) => shared.hasChanged(v, oldValue[i])) : shared.hasChanged(newValue, oldValue))) {
|
|
40168
|
+
if (immediateFirstRun || deep || forceTrigger || (isMultiSource ? newValue.some((v, i) => shared.hasChanged(v, oldValue[i])) : shared.hasChanged(newValue, oldValue))) {
|
|
40036
40169
|
if (cleanup) {
|
|
40037
40170
|
cleanup();
|
|
40038
40171
|
}
|
|
@@ -40176,9 +40309,9 @@ var require_reactivity_cjs_prod = __commonJS({
|
|
|
40176
40309
|
}
|
|
40177
40310
|
});
|
|
40178
40311
|
|
|
40179
|
-
// ../../node_modules/.pnpm/@vue+reactivity@3.5.
|
|
40312
|
+
// ../../node_modules/.pnpm/@vue+reactivity@3.5.41/node_modules/@vue/reactivity/dist/reactivity.cjs.js
|
|
40180
40313
|
var require_reactivity_cjs = __commonJS({
|
|
40181
|
-
"../../node_modules/.pnpm/@vue+reactivity@3.5.
|
|
40314
|
+
"../../node_modules/.pnpm/@vue+reactivity@3.5.41/node_modules/@vue/reactivity/dist/reactivity.cjs.js"(exports2) {
|
|
40182
40315
|
"use strict";
|
|
40183
40316
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
40184
40317
|
var shared = require_shared();
|
|
@@ -40195,12 +40328,18 @@ var require_reactivity_cjs = __commonJS({
|
|
|
40195
40328
|
this.effects = [];
|
|
40196
40329
|
this.cleanups = [];
|
|
40197
40330
|
this._isPaused = false;
|
|
40331
|
+
this._warnOnRun = true;
|
|
40198
40332
|
this.__v_skip = true;
|
|
40199
|
-
this.parent = activeEffectScope;
|
|
40200
40333
|
if (!detached && activeEffectScope) {
|
|
40201
|
-
|
|
40202
|
-
this
|
|
40203
|
-
|
|
40334
|
+
if (activeEffectScope.active) {
|
|
40335
|
+
this.parent = activeEffectScope;
|
|
40336
|
+
this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(
|
|
40337
|
+
this
|
|
40338
|
+
) - 1;
|
|
40339
|
+
} else {
|
|
40340
|
+
this._active = false;
|
|
40341
|
+
this._warnOnRun = false;
|
|
40342
|
+
}
|
|
40204
40343
|
}
|
|
40205
40344
|
}
|
|
40206
40345
|
get active() {
|
|
@@ -40211,8 +40350,9 @@ var require_reactivity_cjs = __commonJS({
|
|
|
40211
40350
|
this._isPaused = true;
|
|
40212
40351
|
let i, l;
|
|
40213
40352
|
if (this.scopes) {
|
|
40214
|
-
|
|
40215
|
-
|
|
40353
|
+
const scopes = this.scopes.slice();
|
|
40354
|
+
for (i = 0, l = scopes.length; i < l; i++) {
|
|
40355
|
+
scopes[i].pause();
|
|
40216
40356
|
}
|
|
40217
40357
|
}
|
|
40218
40358
|
for (i = 0, l = this.effects.length; i < l; i++) {
|
|
@@ -40229,12 +40369,14 @@ var require_reactivity_cjs = __commonJS({
|
|
|
40229
40369
|
this._isPaused = false;
|
|
40230
40370
|
let i, l;
|
|
40231
40371
|
if (this.scopes) {
|
|
40232
|
-
|
|
40233
|
-
|
|
40372
|
+
const scopes = this.scopes.slice();
|
|
40373
|
+
for (i = 0, l = scopes.length; i < l; i++) {
|
|
40374
|
+
scopes[i].resume();
|
|
40234
40375
|
}
|
|
40235
40376
|
}
|
|
40236
|
-
|
|
40237
|
-
|
|
40377
|
+
const effects = this.effects.slice();
|
|
40378
|
+
for (i = 0, l = effects.length; i < l; i++) {
|
|
40379
|
+
effects[i].resume();
|
|
40238
40380
|
}
|
|
40239
40381
|
}
|
|
40240
40382
|
}
|
|
@@ -40248,7 +40390,7 @@ var require_reactivity_cjs = __commonJS({
|
|
|
40248
40390
|
} finally {
|
|
40249
40391
|
activeEffectScope = currentEffectScope;
|
|
40250
40392
|
}
|
|
40251
|
-
} else {
|
|
40393
|
+
} else if (this._warnOnRun) {
|
|
40252
40394
|
warn2(`cannot run an inactive effect scope.`);
|
|
40253
40395
|
}
|
|
40254
40396
|
}
|
|
@@ -40296,8 +40438,9 @@ var require_reactivity_cjs = __commonJS({
|
|
|
40296
40438
|
}
|
|
40297
40439
|
this.cleanups.length = 0;
|
|
40298
40440
|
if (this.scopes) {
|
|
40299
|
-
|
|
40300
|
-
|
|
40441
|
+
const scopes = this.scopes.slice();
|
|
40442
|
+
for (i = 0, l = scopes.length; i < l; i++) {
|
|
40443
|
+
scopes[i].stop(true);
|
|
40301
40444
|
}
|
|
40302
40445
|
this.scopes.length = 0;
|
|
40303
40446
|
}
|
|
@@ -40356,8 +40499,12 @@ var require_reactivity_cjs = __commonJS({
|
|
|
40356
40499
|
this.next = void 0;
|
|
40357
40500
|
this.cleanup = void 0;
|
|
40358
40501
|
this.scheduler = void 0;
|
|
40359
|
-
if (activeEffectScope
|
|
40360
|
-
activeEffectScope.
|
|
40502
|
+
if (activeEffectScope) {
|
|
40503
|
+
if (activeEffectScope.active) {
|
|
40504
|
+
activeEffectScope.effects.push(this);
|
|
40505
|
+
} else {
|
|
40506
|
+
this.flags &= -2;
|
|
40507
|
+
}
|
|
40361
40508
|
}
|
|
40362
40509
|
}
|
|
40363
40510
|
pause() {
|
|
@@ -41199,7 +41346,7 @@ var require_reactivity_cjs = __commonJS({
|
|
|
41199
41346
|
value,
|
|
41200
41347
|
/* @__PURE__ */ isRef(target) ? target : receiver
|
|
41201
41348
|
);
|
|
41202
|
-
if (target === /* @__PURE__ */ toRaw(receiver)) {
|
|
41349
|
+
if (target === /* @__PURE__ */ toRaw(receiver) && result) {
|
|
41203
41350
|
if (!hadKey) {
|
|
41204
41351
|
trigger(target, "add", key, value);
|
|
41205
41352
|
} else if (shared.hasChanged(value, oldValue)) {
|
|
@@ -41498,9 +41645,6 @@ var require_reactivity_cjs = __commonJS({
|
|
|
41498
41645
|
return 0;
|
|
41499
41646
|
}
|
|
41500
41647
|
}
|
|
41501
|
-
function getTargetType(value) {
|
|
41502
|
-
return value["__v_skip"] || !Object.isExtensible(value) ? 0 : targetTypeMap(shared.toRawType(value));
|
|
41503
|
-
}
|
|
41504
41648
|
// @__NO_SIDE_EFFECTS__
|
|
41505
41649
|
function reactive(target) {
|
|
41506
41650
|
if (/* @__PURE__ */ isReadonly(target)) {
|
|
@@ -41558,14 +41702,17 @@ var require_reactivity_cjs = __commonJS({
|
|
|
41558
41702
|
if (target["__v_raw"] && !(isReadonly2 && target["__v_isReactive"])) {
|
|
41559
41703
|
return target;
|
|
41560
41704
|
}
|
|
41561
|
-
|
|
41562
|
-
if (targetType === 0) {
|
|
41705
|
+
if (target["__v_skip"] || !Object.isExtensible(target)) {
|
|
41563
41706
|
return target;
|
|
41564
41707
|
}
|
|
41565
41708
|
const existingProxy = proxyMap.get(target);
|
|
41566
41709
|
if (existingProxy) {
|
|
41567
41710
|
return existingProxy;
|
|
41568
41711
|
}
|
|
41712
|
+
const targetType = targetTypeMap(shared.toRawType(target));
|
|
41713
|
+
if (targetType === 0) {
|
|
41714
|
+
return target;
|
|
41715
|
+
}
|
|
41569
41716
|
const proxy = new Proxy(
|
|
41570
41717
|
target,
|
|
41571
41718
|
targetType === 2 ? collectionHandlers : baseHandlers
|
|
@@ -41978,8 +42125,9 @@ var require_reactivity_cjs = __commonJS({
|
|
|
41978
42125
|
if (once && cb) {
|
|
41979
42126
|
const _cb = cb;
|
|
41980
42127
|
cb = (...args) => {
|
|
41981
|
-
_cb(...args);
|
|
42128
|
+
const res = _cb(...args);
|
|
41982
42129
|
watchHandle();
|
|
42130
|
+
return res;
|
|
41983
42131
|
};
|
|
41984
42132
|
}
|
|
41985
42133
|
let oldValue = isMultiSource ? new Array(source.length).fill(INITIAL_WATCHER_VALUE) : INITIAL_WATCHER_VALUE;
|
|
@@ -41989,7 +42137,7 @@ var require_reactivity_cjs = __commonJS({
|
|
|
41989
42137
|
}
|
|
41990
42138
|
if (cb) {
|
|
41991
42139
|
const newValue = effect2.run();
|
|
41992
|
-
if (deep || forceTrigger || (isMultiSource ? newValue.some((v, i) => shared.hasChanged(v, oldValue[i])) : shared.hasChanged(newValue, oldValue))) {
|
|
42140
|
+
if (immediateFirstRun || deep || forceTrigger || (isMultiSource ? newValue.some((v, i) => shared.hasChanged(v, oldValue[i])) : shared.hasChanged(newValue, oldValue))) {
|
|
41993
42141
|
if (cleanup) {
|
|
41994
42142
|
cleanup();
|
|
41995
42143
|
}
|
|
@@ -42137,9 +42285,9 @@ var require_reactivity_cjs = __commonJS({
|
|
|
42137
42285
|
}
|
|
42138
42286
|
});
|
|
42139
42287
|
|
|
42140
|
-
// ../../node_modules/.pnpm/@vue+reactivity@3.5.
|
|
42288
|
+
// ../../node_modules/.pnpm/@vue+reactivity@3.5.41/node_modules/@vue/reactivity/index.js
|
|
42141
42289
|
var require_reactivity = __commonJS({
|
|
42142
|
-
"../../node_modules/.pnpm/@vue+reactivity@3.5.
|
|
42290
|
+
"../../node_modules/.pnpm/@vue+reactivity@3.5.41/node_modules/@vue/reactivity/index.js"(exports2, module2) {
|
|
42143
42291
|
"use strict";
|
|
42144
42292
|
if (process.env.NODE_ENV === "production") {
|
|
42145
42293
|
module2.exports = require_reactivity_cjs_prod();
|
|
@@ -42149,9 +42297,9 @@ var require_reactivity = __commonJS({
|
|
|
42149
42297
|
}
|
|
42150
42298
|
});
|
|
42151
42299
|
|
|
42152
|
-
// ../../node_modules/.pnpm/@vue+runtime-core@3.5.
|
|
42300
|
+
// ../../node_modules/.pnpm/@vue+runtime-core@3.5.41/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js
|
|
42153
42301
|
var require_runtime_core_cjs_prod = __commonJS({
|
|
42154
|
-
"../../node_modules/.pnpm/@vue+runtime-core@3.5.
|
|
42302
|
+
"../../node_modules/.pnpm/@vue+runtime-core@3.5.41/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js"(exports2) {
|
|
42155
42303
|
"use strict";
|
|
42156
42304
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
42157
42305
|
var reactivity = require_reactivity();
|
|
@@ -42343,7 +42491,9 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
42343
42491
|
cb.flags |= 1;
|
|
42344
42492
|
}
|
|
42345
42493
|
} else {
|
|
42346
|
-
|
|
42494
|
+
for (let i = 0; i < cb.length; i++) {
|
|
42495
|
+
pendingPostFlushCbs.push(cb[i]);
|
|
42496
|
+
}
|
|
42347
42497
|
}
|
|
42348
42498
|
queueFlush();
|
|
42349
42499
|
}
|
|
@@ -42373,7 +42523,9 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
42373
42523
|
);
|
|
42374
42524
|
pendingPostFlushCbs.length = 0;
|
|
42375
42525
|
if (activePostFlushCbs) {
|
|
42376
|
-
|
|
42526
|
+
for (let i = 0; i < deduped.length; i++) {
|
|
42527
|
+
activePostFlushCbs.push(deduped[i]);
|
|
42528
|
+
}
|
|
42377
42529
|
return;
|
|
42378
42530
|
}
|
|
42379
42531
|
activePostFlushCbs = deduped;
|
|
@@ -42450,10 +42602,12 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
42450
42602
|
setBlockTracking(-1);
|
|
42451
42603
|
}
|
|
42452
42604
|
const prevInstance = setCurrentRenderingInstance(ctx);
|
|
42605
|
+
const prevStackSize = blockStack.length;
|
|
42453
42606
|
let res;
|
|
42454
42607
|
try {
|
|
42455
42608
|
res = fn(...args);
|
|
42456
42609
|
} finally {
|
|
42610
|
+
for (let i = blockStack.length; i > prevStackSize; i--) closeBlock();
|
|
42457
42611
|
setCurrentRenderingInstance(prevInstance);
|
|
42458
42612
|
if (renderFnWithContext._d) {
|
|
42459
42613
|
setBlockTracking(1);
|
|
@@ -42804,11 +42958,9 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
42804
42958
|
}
|
|
42805
42959
|
} else {
|
|
42806
42960
|
if ((n2.props && n2.props.to) !== (n1.props && n1.props.to)) {
|
|
42807
|
-
const nextTarget = n2.
|
|
42808
|
-
n2.props,
|
|
42809
|
-
querySelector
|
|
42810
|
-
);
|
|
42961
|
+
const nextTarget = resolveTarget(n2.props, querySelector);
|
|
42811
42962
|
if (nextTarget) {
|
|
42963
|
+
n2.target = nextTarget;
|
|
42812
42964
|
moveTeleport(
|
|
42813
42965
|
n2,
|
|
42814
42966
|
nextTarget,
|
|
@@ -42840,19 +42992,19 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
42840
42992
|
target,
|
|
42841
42993
|
props
|
|
42842
42994
|
} = vnode;
|
|
42843
|
-
|
|
42995
|
+
const disabled = isTeleportDisabled(props);
|
|
42996
|
+
const shouldRemove = doRemove || !disabled;
|
|
42844
42997
|
const pendingMount = pendingMounts.get(vnode);
|
|
42845
42998
|
if (pendingMount) {
|
|
42846
42999
|
pendingMount.flags |= 8;
|
|
42847
43000
|
pendingMounts.delete(vnode);
|
|
42848
|
-
shouldRemove = false;
|
|
42849
43001
|
}
|
|
42850
43002
|
if (target) {
|
|
42851
43003
|
hostRemove(targetStart);
|
|
42852
43004
|
hostRemove(targetAnchor);
|
|
42853
43005
|
}
|
|
42854
43006
|
doRemove && hostRemove(anchor);
|
|
42855
|
-
if (shapeFlag & 16) {
|
|
43007
|
+
if (!pendingMount && (disabled || target) && shapeFlag & 16) {
|
|
42856
43008
|
for (let i = 0; i < children.length; i++) {
|
|
42857
43009
|
const child = children[i];
|
|
42858
43010
|
unmount(
|
|
@@ -43324,7 +43476,11 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
43324
43476
|
function setTransitionHooks(vnode, hooks) {
|
|
43325
43477
|
if (vnode.shapeFlag & 6 && vnode.component) {
|
|
43326
43478
|
vnode.transition = hooks;
|
|
43327
|
-
|
|
43479
|
+
const subTree = vnode.component.subTree;
|
|
43480
|
+
setTransitionHooks(
|
|
43481
|
+
isTeleport(subTree.type) ? getInnerChild$1(subTree) || subTree : subTree,
|
|
43482
|
+
hooks
|
|
43483
|
+
);
|
|
43328
43484
|
} else if (vnode.shapeFlag & 128) {
|
|
43329
43485
|
vnode.ssContent.transition = hooks.clone(vnode.ssContent);
|
|
43330
43486
|
vnode.ssFallback.transition = hooks.clone(vnode.ssFallback);
|
|
@@ -43716,9 +43872,18 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
43716
43872
|
};
|
|
43717
43873
|
const hydrateElement = (el, vnode, parentComponent, parentSuspense, slotScopeIds, optimized) => {
|
|
43718
43874
|
optimized = optimized || !!vnode.dynamicChildren;
|
|
43719
|
-
const {
|
|
43875
|
+
const {
|
|
43876
|
+
type,
|
|
43877
|
+
dynamicProps,
|
|
43878
|
+
props,
|
|
43879
|
+
patchFlag,
|
|
43880
|
+
shapeFlag,
|
|
43881
|
+
dirs,
|
|
43882
|
+
transition
|
|
43883
|
+
} = vnode;
|
|
43720
43884
|
const forcePatch = type === "input" || type === "option";
|
|
43721
|
-
|
|
43885
|
+
const hasDynamicProps = !!dynamicProps;
|
|
43886
|
+
if (forcePatch || hasDynamicProps || patchFlag !== -1) {
|
|
43722
43887
|
if (dirs) {
|
|
43723
43888
|
invokeDirectiveHook(vnode, null, parentComponent, "created");
|
|
43724
43889
|
}
|
|
@@ -43749,14 +43914,14 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
43749
43914
|
slotScopeIds,
|
|
43750
43915
|
optimized
|
|
43751
43916
|
);
|
|
43917
|
+
if (next && !isMismatchAllowed(
|
|
43918
|
+
el,
|
|
43919
|
+
1
|
|
43920
|
+
/* CHILDREN */
|
|
43921
|
+
)) {
|
|
43922
|
+
logMismatchError();
|
|
43923
|
+
}
|
|
43752
43924
|
while (next) {
|
|
43753
|
-
if (!isMismatchAllowed(
|
|
43754
|
-
el,
|
|
43755
|
-
1
|
|
43756
|
-
/* CHILDREN */
|
|
43757
|
-
)) {
|
|
43758
|
-
logMismatchError();
|
|
43759
|
-
}
|
|
43760
43925
|
const cur = next;
|
|
43761
43926
|
next = next.nextSibling;
|
|
43762
43927
|
remove(cur);
|
|
@@ -43780,12 +43945,16 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
43780
43945
|
}
|
|
43781
43946
|
}
|
|
43782
43947
|
if (props) {
|
|
43783
|
-
if (forcePatch || !optimized || patchFlag & (16 | 32)) {
|
|
43948
|
+
if (forcePatch || hasDynamicProps || !optimized || patchFlag & (16 | 32)) {
|
|
43784
43949
|
const isCustomElement = el.tagName.includes("-");
|
|
43950
|
+
const namespace = el.namespaceURI.includes("svg") ? "svg" : el.namespaceURI.includes("MathML") ? "mathml" : void 0;
|
|
43785
43951
|
for (const key in props) {
|
|
43786
43952
|
if (forcePatch && (key.endsWith("value") || key === "indeterminate") || shared.isOn(key) && !shared.isReservedProp(key) || // force hydrate v-bind with .prop modifiers
|
|
43787
|
-
key[0] === "." || isCustomElement && !shared.isReservedProp(key)) {
|
|
43788
|
-
|
|
43953
|
+
key[0] === "." || isCustomElement && !shared.isReservedProp(key) || dynamicProps && dynamicProps.includes(key)) {
|
|
43954
|
+
if (isUnchangedResourceProp(el, key, props[key])) {
|
|
43955
|
+
continue;
|
|
43956
|
+
}
|
|
43957
|
+
patchProp(el, key, null, props[key], namespace, parentComponent);
|
|
43789
43958
|
}
|
|
43790
43959
|
}
|
|
43791
43960
|
} else if (props.onClick) {
|
|
@@ -43822,6 +43991,7 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
43822
43991
|
optimized = optimized || !!parentVNode.dynamicChildren;
|
|
43823
43992
|
const children = parentVNode.children;
|
|
43824
43993
|
const l = children.length;
|
|
43994
|
+
let hasCheckedMismatch = false;
|
|
43825
43995
|
for (let i = 0; i < l; i++) {
|
|
43826
43996
|
const vnode = optimized ? children[i] : children[i] = normalizeVNode(children[i]);
|
|
43827
43997
|
const isText = vnode.type === Text;
|
|
@@ -43849,12 +44019,15 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
43849
44019
|
} else if (isText && !vnode.children) {
|
|
43850
44020
|
insert(vnode.el = createText(""), container);
|
|
43851
44021
|
} else {
|
|
43852
|
-
if (!
|
|
43853
|
-
|
|
43854
|
-
|
|
43855
|
-
|
|
43856
|
-
|
|
43857
|
-
|
|
44022
|
+
if (!hasCheckedMismatch) {
|
|
44023
|
+
hasCheckedMismatch = true;
|
|
44024
|
+
if (!isMismatchAllowed(
|
|
44025
|
+
container,
|
|
44026
|
+
1
|
|
44027
|
+
/* CHILDREN */
|
|
44028
|
+
)) {
|
|
44029
|
+
logMismatchError();
|
|
44030
|
+
}
|
|
43858
44031
|
}
|
|
43859
44032
|
patch(
|
|
43860
44033
|
null,
|
|
@@ -43894,11 +44067,7 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
43894
44067
|
}
|
|
43895
44068
|
};
|
|
43896
44069
|
const handleMismatch = (node, vnode, parentComponent, parentSuspense, slotScopeIds, isFragment) => {
|
|
43897
|
-
if (!
|
|
43898
|
-
node.parentElement,
|
|
43899
|
-
1
|
|
43900
|
-
/* CHILDREN */
|
|
43901
|
-
)) {
|
|
44070
|
+
if (!isNodeMismatchAllowed(node, vnode)) {
|
|
43902
44071
|
logMismatchError();
|
|
43903
44072
|
}
|
|
43904
44073
|
vnode.el = null;
|
|
@@ -43967,6 +44136,13 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
43967
44136
|
};
|
|
43968
44137
|
return [hydrate, hydrateNode];
|
|
43969
44138
|
}
|
|
44139
|
+
var resourceProps = /* @__PURE__ */ new Set(["src", "srcset", "href", "poster"]);
|
|
44140
|
+
function isUnchangedResourceProp(el, key, clientValue) {
|
|
44141
|
+
if (!resourceProps.has(key)) {
|
|
44142
|
+
return false;
|
|
44143
|
+
}
|
|
44144
|
+
return el.getAttribute(key) === (clientValue == null ? null : `${clientValue}`);
|
|
44145
|
+
}
|
|
43970
44146
|
var allowMismatchAttr = "data-allow-mismatch";
|
|
43971
44147
|
var MismatchTypeString = {
|
|
43972
44148
|
[
|
|
@@ -43996,7 +44172,12 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
43996
44172
|
el = el.parentElement;
|
|
43997
44173
|
}
|
|
43998
44174
|
}
|
|
43999
|
-
|
|
44175
|
+
return isMismatchAllowedByAttr(
|
|
44176
|
+
el && el.getAttribute(allowMismatchAttr),
|
|
44177
|
+
allowedType
|
|
44178
|
+
);
|
|
44179
|
+
}
|
|
44180
|
+
function isMismatchAllowedByAttr(allowedAttr, allowedType) {
|
|
44000
44181
|
if (allowedAttr == null) {
|
|
44001
44182
|
return false;
|
|
44002
44183
|
} else if (allowedAttr === "") {
|
|
@@ -44009,6 +44190,28 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
44009
44190
|
return list.includes(MismatchTypeString[allowedType]);
|
|
44010
44191
|
}
|
|
44011
44192
|
}
|
|
44193
|
+
function isNodeMismatchAllowed(node, vnode) {
|
|
44194
|
+
return isMismatchAllowed(
|
|
44195
|
+
node.parentElement,
|
|
44196
|
+
1
|
|
44197
|
+
/* CHILDREN */
|
|
44198
|
+
) || isMismatchAllowedByNode(node) || isMismatchAllowedByVNode(vnode);
|
|
44199
|
+
}
|
|
44200
|
+
function isMismatchAllowedByNode(node) {
|
|
44201
|
+
return node.nodeType === 1 && isMismatchAllowedByAttr(
|
|
44202
|
+
node.getAttribute(allowMismatchAttr),
|
|
44203
|
+
1
|
|
44204
|
+
/* CHILDREN */
|
|
44205
|
+
);
|
|
44206
|
+
}
|
|
44207
|
+
function isMismatchAllowedByVNode({ props }) {
|
|
44208
|
+
const allowedAttr = props && props[allowMismatchAttr];
|
|
44209
|
+
return typeof allowedAttr === "string" && isMismatchAllowedByAttr(
|
|
44210
|
+
allowedAttr,
|
|
44211
|
+
1
|
|
44212
|
+
/* CHILDREN */
|
|
44213
|
+
);
|
|
44214
|
+
}
|
|
44012
44215
|
var requestIdleCallback = shared.getGlobalThis().requestIdleCallback || ((cb) => setTimeout(cb, 1));
|
|
44013
44216
|
var cancelIdleCallback = shared.getGlobalThis().cancelIdleCallback || ((id) => clearTimeout(id));
|
|
44014
44217
|
var hydrateOnIdle = (timeout = 1e4) => (hydrate) => {
|
|
@@ -44152,12 +44355,14 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
44152
44355
|
name: "AsyncComponentWrapper",
|
|
44153
44356
|
__asyncLoader: load,
|
|
44154
44357
|
__asyncHydrate(el, instance, hydrate) {
|
|
44358
|
+
const wasConnected = el.isConnected;
|
|
44155
44359
|
let patched = false;
|
|
44156
44360
|
(instance.bu || (instance.bu = [])).push(() => patched = true);
|
|
44157
44361
|
const performHydrate = () => {
|
|
44158
44362
|
if (patched) {
|
|
44159
44363
|
return;
|
|
44160
44364
|
}
|
|
44365
|
+
if (!el.parentNode || wasConnected && !el.isConnected) return;
|
|
44161
44366
|
hydrate();
|
|
44162
44367
|
};
|
|
44163
44368
|
const doHydrate = hydrateStrategy ? () => {
|
|
@@ -44206,13 +44411,21 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
44206
44411
|
const loaded = reactivity.ref(false);
|
|
44207
44412
|
const error = reactivity.ref();
|
|
44208
44413
|
const delayed = reactivity.ref(!!delay);
|
|
44414
|
+
let timeoutTimer;
|
|
44415
|
+
let delayTimer;
|
|
44416
|
+
onUnmounted(() => {
|
|
44417
|
+
if (timeoutTimer != null) clearTimeout(timeoutTimer);
|
|
44418
|
+
if (delayTimer != null) clearTimeout(delayTimer);
|
|
44419
|
+
});
|
|
44209
44420
|
if (delay) {
|
|
44210
|
-
setTimeout(() => {
|
|
44421
|
+
delayTimer = setTimeout(() => {
|
|
44422
|
+
if (instance.isUnmounted) return;
|
|
44211
44423
|
delayed.value = false;
|
|
44212
44424
|
}, delay);
|
|
44213
44425
|
}
|
|
44214
44426
|
if (timeout != null) {
|
|
44215
|
-
setTimeout(() => {
|
|
44427
|
+
timeoutTimer = setTimeout(() => {
|
|
44428
|
+
if (instance.isUnmounted) return;
|
|
44216
44429
|
if (!loaded.value && !error.value) {
|
|
44217
44430
|
const err = new Error(
|
|
44218
44431
|
`Async component timed out after ${timeout}ms.`
|
|
@@ -44223,11 +44436,16 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
44223
44436
|
}, timeout);
|
|
44224
44437
|
}
|
|
44225
44438
|
load().then(() => {
|
|
44439
|
+
if (instance.isUnmounted) return;
|
|
44226
44440
|
loaded.value = true;
|
|
44227
44441
|
if (instance.parent && isKeepAlive(instance.parent.vnode)) {
|
|
44228
44442
|
instance.parent.update();
|
|
44229
44443
|
}
|
|
44230
44444
|
}).catch((err) => {
|
|
44445
|
+
if (instance.isUnmounted) {
|
|
44446
|
+
pendingRequest = null;
|
|
44447
|
+
return;
|
|
44448
|
+
}
|
|
44231
44449
|
onError(err);
|
|
44232
44450
|
error.value = err;
|
|
44233
44451
|
});
|
|
@@ -44663,14 +44881,16 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
44663
44881
|
}
|
|
44664
44882
|
return slots;
|
|
44665
44883
|
}
|
|
44666
|
-
function renderSlot(slots, name, props
|
|
44884
|
+
function renderSlot(slots, name, props, fallback, noSlotted, branchKey) {
|
|
44885
|
+
if (props == null) props = {};
|
|
44667
44886
|
if (currentRenderingInstance.ce || currentRenderingInstance.parent && isAsyncWrapper(currentRenderingInstance.parent) && currentRenderingInstance.parent.ce) {
|
|
44668
|
-
const
|
|
44669
|
-
|
|
44887
|
+
const slotProps = branchKey != null && props.key == null ? shared.extend({}, props, { key: branchKey }) : props;
|
|
44888
|
+
const hasProps = Object.keys(slotProps).length > 0;
|
|
44889
|
+
if (name !== "default") slotProps.name = name;
|
|
44670
44890
|
return openBlock(), createBlock(
|
|
44671
44891
|
Fragment,
|
|
44672
44892
|
null,
|
|
44673
|
-
[createVNode("slot",
|
|
44893
|
+
[createVNode("slot", slotProps, fallback && fallback())],
|
|
44674
44894
|
hasProps ? -2 : 64
|
|
44675
44895
|
);
|
|
44676
44896
|
}
|
|
@@ -44678,26 +44898,34 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
44678
44898
|
if (slot && slot._c) {
|
|
44679
44899
|
slot._d = false;
|
|
44680
44900
|
}
|
|
44901
|
+
const prevStackSize = blockStack.length;
|
|
44681
44902
|
openBlock();
|
|
44682
|
-
|
|
44683
|
-
|
|
44684
|
-
|
|
44685
|
-
|
|
44686
|
-
|
|
44687
|
-
|
|
44688
|
-
|
|
44689
|
-
|
|
44690
|
-
|
|
44691
|
-
|
|
44692
|
-
|
|
44693
|
-
|
|
44694
|
-
|
|
44903
|
+
let rendered;
|
|
44904
|
+
try {
|
|
44905
|
+
const validSlotContent = slot && ensureValidVNode(slot(props));
|
|
44906
|
+
const slotKey = props.key || branchKey || // slot content array of a dynamic conditional slot may have a branch
|
|
44907
|
+
// key attached in the `createSlots` helper, respect that
|
|
44908
|
+
validSlotContent && validSlotContent.key;
|
|
44909
|
+
rendered = createBlock(
|
|
44910
|
+
Fragment,
|
|
44911
|
+
{
|
|
44912
|
+
key: (slotKey && !shared.isSymbol(slotKey) ? slotKey : `_${name}`) + // #7256 force differentiate fallback content from actual content
|
|
44913
|
+
(!validSlotContent && fallback ? "_fb" : "")
|
|
44914
|
+
},
|
|
44915
|
+
validSlotContent || (fallback ? fallback() : []),
|
|
44916
|
+
validSlotContent && slots._ === 1 ? 64 : -2
|
|
44917
|
+
);
|
|
44918
|
+
} catch (err) {
|
|
44919
|
+
for (let i = blockStack.length; i > prevStackSize; i--) closeBlock();
|
|
44920
|
+
throw err;
|
|
44921
|
+
} finally {
|
|
44922
|
+
if (slot && slot._c) {
|
|
44923
|
+
slot._d = true;
|
|
44924
|
+
}
|
|
44925
|
+
}
|
|
44695
44926
|
if (!noSlotted && rendered.scopeId) {
|
|
44696
44927
|
rendered.slotScopeIds = [rendered.scopeId + "-s"];
|
|
44697
44928
|
}
|
|
44698
|
-
if (slot && slot._c) {
|
|
44699
|
-
slot._d = true;
|
|
44700
|
-
}
|
|
44701
44929
|
return rendered;
|
|
44702
44930
|
}
|
|
44703
44931
|
function ensureValidVNode(vnodes) {
|
|
@@ -45456,13 +45684,20 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
45456
45684
|
return;
|
|
45457
45685
|
}
|
|
45458
45686
|
const rawProps = i.vnode.props;
|
|
45459
|
-
|
|
45460
|
-
(name in rawProps || camelizedName in rawProps || hyphenatedName in rawProps) && (`onUpdate:${name}` in rawProps || `onUpdate:${camelizedName}` in rawProps || `onUpdate:${hyphenatedName}` in rawProps))
|
|
45687
|
+
const hasVModel = !!(rawProps && // check if parent has passed v-model
|
|
45688
|
+
(name in rawProps || camelizedName in rawProps || hyphenatedName in rawProps) && (`onUpdate:${name}` in rawProps || `onUpdate:${camelizedName}` in rawProps || `onUpdate:${hyphenatedName}` in rawProps));
|
|
45689
|
+
if (!hasVModel) {
|
|
45461
45690
|
localValue = value;
|
|
45462
45691
|
trigger();
|
|
45463
45692
|
}
|
|
45464
45693
|
i.emit(`update:${name}`, emittedValue);
|
|
45465
|
-
if (shared.hasChanged(value,
|
|
45694
|
+
if (shared.hasChanged(value, prevSetValue) && (shared.hasChanged(value, emittedValue) && !shared.hasChanged(emittedValue, prevEmittedValue) || // #13524: browsers differ in when they flush microtasks between
|
|
45695
|
+
// event listeners. If a v-model listener emits an intermediate value
|
|
45696
|
+
// and a following listener restores the model to its previous prop
|
|
45697
|
+
// value before parent updates are flushed, the parent render can be
|
|
45698
|
+
// deduped as having no prop change. Force a local update so DOM state
|
|
45699
|
+
// such as an input's value is synchronized back to the current model.
|
|
45700
|
+
hasVModel && prevSetValue !== shared.EMPTY_OBJ && !shared.hasChanged(emittedValue, localValue))) {
|
|
45466
45701
|
trigger();
|
|
45467
45702
|
}
|
|
45468
45703
|
prevSetValue = value;
|
|
@@ -45579,7 +45814,8 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
45579
45814
|
if (!options2 || !shared.isOn(key)) {
|
|
45580
45815
|
return false;
|
|
45581
45816
|
}
|
|
45582
|
-
key = key.slice(2)
|
|
45817
|
+
key = key.slice(2);
|
|
45818
|
+
key = key === "Once" ? key : key.replace(/Once$/, "");
|
|
45583
45819
|
return shared.hasOwn(options2, key[0].toLowerCase() + key.slice(1)) || shared.hasOwn(options2, shared.hyphenate(key)) || shared.hasOwn(options2, key);
|
|
45584
45820
|
}
|
|
45585
45821
|
function renderComponentRoot(instance) {
|
|
@@ -45675,7 +45911,8 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
45675
45911
|
root.dirs = root.dirs ? root.dirs.concat(vnode.dirs) : vnode.dirs;
|
|
45676
45912
|
}
|
|
45677
45913
|
if (vnode.transition) {
|
|
45678
|
-
|
|
45914
|
+
const child = isTeleport(root.type) ? getInnerChild$1(root) || root : root;
|
|
45915
|
+
setTransitionHooks(child, vnode.transition);
|
|
45679
45916
|
}
|
|
45680
45917
|
{
|
|
45681
45918
|
result = root;
|
|
@@ -46498,6 +46735,15 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
46498
46735
|
invokeDirectiveHook(n2, n1, parentComponent, "beforeUpdate");
|
|
46499
46736
|
}
|
|
46500
46737
|
parentComponent && toggleRecurse(parentComponent, true);
|
|
46738
|
+
if (
|
|
46739
|
+
// #6385 the old vnode may be a user-wrapped non-isomorphic block
|
|
46740
|
+
// Force full diff when block metadata is unstable.
|
|
46741
|
+
dynamicChildren && (!n1.dynamicChildren || n1.dynamicChildren.length !== dynamicChildren.length)
|
|
46742
|
+
) {
|
|
46743
|
+
patchFlag = 0;
|
|
46744
|
+
optimized = false;
|
|
46745
|
+
dynamicChildren = null;
|
|
46746
|
+
}
|
|
46501
46747
|
if (oldProps.innerHTML && newProps.innerHTML == null || oldProps.textContent && newProps.textContent == null) {
|
|
46502
46748
|
hostSetElementText(el, "");
|
|
46503
46749
|
}
|
|
@@ -47223,9 +47469,13 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
47223
47469
|
const needTransition2 = moveType !== 2 && shapeFlag & 1 && transition;
|
|
47224
47470
|
if (needTransition2) {
|
|
47225
47471
|
if (moveType === 0) {
|
|
47226
|
-
transition.
|
|
47227
|
-
|
|
47228
|
-
|
|
47472
|
+
if (transition.persisted && !el[leaveCbKey]) {
|
|
47473
|
+
hostInsert(el, container, anchor);
|
|
47474
|
+
} else {
|
|
47475
|
+
transition.beforeEnter(el);
|
|
47476
|
+
hostInsert(el, container, anchor);
|
|
47477
|
+
queuePostRenderEffect(() => transition.enter(el), parentSuspense);
|
|
47478
|
+
}
|
|
47229
47479
|
} else {
|
|
47230
47480
|
const { leave, delayLeave, afterLeave } = transition;
|
|
47231
47481
|
const remove2 = () => {
|
|
@@ -47236,16 +47486,21 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
47236
47486
|
}
|
|
47237
47487
|
};
|
|
47238
47488
|
const performLeave = () => {
|
|
47489
|
+
const wasLeaving = el._isLeaving || !!el[leaveCbKey];
|
|
47239
47490
|
if (el._isLeaving) {
|
|
47240
47491
|
el[leaveCbKey](
|
|
47241
47492
|
true
|
|
47242
47493
|
/* cancelled */
|
|
47243
47494
|
);
|
|
47244
47495
|
}
|
|
47245
|
-
|
|
47496
|
+
if (transition.persisted && !wasLeaving) {
|
|
47246
47497
|
remove2();
|
|
47247
|
-
|
|
47248
|
-
|
|
47498
|
+
} else {
|
|
47499
|
+
leave(el, () => {
|
|
47500
|
+
remove2();
|
|
47501
|
+
afterLeave && afterLeave();
|
|
47502
|
+
});
|
|
47503
|
+
}
|
|
47249
47504
|
};
|
|
47250
47505
|
if (delayLeave) {
|
|
47251
47506
|
delayLeave(el, remove2, performLeave);
|
|
@@ -47885,13 +48140,14 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
47885
48140
|
suspense.isHydrating = false;
|
|
47886
48141
|
} else if (!resume) {
|
|
47887
48142
|
delayEnter = activeBranch && pendingBranch.transition && pendingBranch.transition.mode === "out-in";
|
|
48143
|
+
let hasUpdatedAnchor = false;
|
|
47888
48144
|
if (delayEnter) {
|
|
47889
48145
|
activeBranch.transition.afterLeave = () => {
|
|
47890
48146
|
if (pendingId === suspense.pendingId) {
|
|
47891
48147
|
move(
|
|
47892
48148
|
pendingBranch,
|
|
47893
48149
|
container2,
|
|
47894
|
-
anchor === initialAnchor ? next(activeBranch) : anchor,
|
|
48150
|
+
anchor === initialAnchor && !hasUpdatedAnchor ? next(activeBranch) : anchor,
|
|
47895
48151
|
0
|
|
47896
48152
|
);
|
|
47897
48153
|
queuePostFlushCb(effects);
|
|
@@ -47904,6 +48160,7 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
47904
48160
|
if (activeBranch && !suspense.isFallbackMountPending) {
|
|
47905
48161
|
if (parentNode(activeBranch.el) === container2) {
|
|
47906
48162
|
anchor = next(activeBranch);
|
|
48163
|
+
hasUpdatedAnchor = true;
|
|
47907
48164
|
}
|
|
47908
48165
|
unmount(activeBranch, parentComponent2, suspense, true);
|
|
47909
48166
|
if (!delayEnter && isInFallback && vnode2.ssFallback) {
|
|
@@ -47922,7 +48179,9 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
47922
48179
|
let hasUnresolvedAncestor = false;
|
|
47923
48180
|
while (parent) {
|
|
47924
48181
|
if (parent.pendingBranch) {
|
|
47925
|
-
|
|
48182
|
+
for (let i = 0; i < effects.length; i++) {
|
|
48183
|
+
parent.effects.push(effects[i]);
|
|
48184
|
+
}
|
|
47926
48185
|
hasUnresolvedAncestor = true;
|
|
47927
48186
|
break;
|
|
47928
48187
|
}
|
|
@@ -48445,6 +48704,10 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
48445
48704
|
}
|
|
48446
48705
|
}
|
|
48447
48706
|
} else if (shared.isFunction(children)) {
|
|
48707
|
+
if (shapeFlag & (1 | 64)) {
|
|
48708
|
+
normalizeChildren(vnode, { default: children });
|
|
48709
|
+
return;
|
|
48710
|
+
}
|
|
48448
48711
|
children = { default: children, _ctx: currentRenderingInstance };
|
|
48449
48712
|
type = 32;
|
|
48450
48713
|
} else {
|
|
@@ -48663,7 +48926,12 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
48663
48926
|
setupResult.then(unsetCurrentInstance, unsetCurrentInstance);
|
|
48664
48927
|
if (isSSR) {
|
|
48665
48928
|
return setupResult.then((resolvedResult) => {
|
|
48666
|
-
|
|
48929
|
+
setInSSRSetupState(true);
|
|
48930
|
+
try {
|
|
48931
|
+
handleSetupResult(instance, resolvedResult, isSSR);
|
|
48932
|
+
} finally {
|
|
48933
|
+
setInSSRSetupState(false);
|
|
48934
|
+
}
|
|
48667
48935
|
}).catch((e) => {
|
|
48668
48936
|
handleError(e, instance, 0);
|
|
48669
48937
|
});
|
|
@@ -48839,7 +49107,7 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
48839
49107
|
}
|
|
48840
49108
|
return true;
|
|
48841
49109
|
}
|
|
48842
|
-
var version = "3.5.
|
|
49110
|
+
var version = "3.5.41";
|
|
48843
49111
|
var warn$1 = shared.NOOP;
|
|
48844
49112
|
var ErrorTypeStrings = ErrorTypeStrings$1;
|
|
48845
49113
|
var devtools = void 0;
|
|
@@ -49009,9 +49277,9 @@ var require_runtime_core_cjs_prod = __commonJS({
|
|
|
49009
49277
|
}
|
|
49010
49278
|
});
|
|
49011
49279
|
|
|
49012
|
-
// ../../node_modules/.pnpm/@vue+runtime-core@3.5.
|
|
49280
|
+
// ../../node_modules/.pnpm/@vue+runtime-core@3.5.41/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js
|
|
49013
49281
|
var require_runtime_core_cjs = __commonJS({
|
|
49014
|
-
"../../node_modules/.pnpm/@vue+runtime-core@3.5.
|
|
49282
|
+
"../../node_modules/.pnpm/@vue+runtime-core@3.5.41/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js"(exports2) {
|
|
49015
49283
|
"use strict";
|
|
49016
49284
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
49017
49285
|
var reactivity = require_reactivity();
|
|
@@ -49332,7 +49600,9 @@ var require_runtime_core_cjs = __commonJS({
|
|
|
49332
49600
|
cb.flags |= 1;
|
|
49333
49601
|
}
|
|
49334
49602
|
} else {
|
|
49335
|
-
|
|
49603
|
+
for (let i = 0; i < cb.length; i++) {
|
|
49604
|
+
pendingPostFlushCbs.push(cb[i]);
|
|
49605
|
+
}
|
|
49336
49606
|
}
|
|
49337
49607
|
queueFlush();
|
|
49338
49608
|
}
|
|
@@ -49368,7 +49638,9 @@ var require_runtime_core_cjs = __commonJS({
|
|
|
49368
49638
|
);
|
|
49369
49639
|
pendingPostFlushCbs.length = 0;
|
|
49370
49640
|
if (activePostFlushCbs) {
|
|
49371
|
-
|
|
49641
|
+
for (let i = 0; i < deduped.length; i++) {
|
|
49642
|
+
activePostFlushCbs.push(deduped[i]);
|
|
49643
|
+
}
|
|
49372
49644
|
return;
|
|
49373
49645
|
}
|
|
49374
49646
|
activePostFlushCbs = deduped;
|
|
@@ -49708,10 +49980,12 @@ var require_runtime_core_cjs = __commonJS({
|
|
|
49708
49980
|
setBlockTracking(-1);
|
|
49709
49981
|
}
|
|
49710
49982
|
const prevInstance = setCurrentRenderingInstance(ctx);
|
|
49983
|
+
const prevStackSize = blockStack.length;
|
|
49711
49984
|
let res;
|
|
49712
49985
|
try {
|
|
49713
49986
|
res = fn(...args);
|
|
49714
49987
|
} finally {
|
|
49988
|
+
for (let i = blockStack.length; i > prevStackSize; i--) closeBlock();
|
|
49715
49989
|
setCurrentRenderingInstance(prevInstance);
|
|
49716
49990
|
if (renderFnWithContext._d) {
|
|
49717
49991
|
setBlockTracking(1);
|
|
@@ -50125,11 +50399,9 @@ var require_runtime_core_cjs = __commonJS({
|
|
|
50125
50399
|
}
|
|
50126
50400
|
} else {
|
|
50127
50401
|
if ((n2.props && n2.props.to) !== (n1.props && n1.props.to)) {
|
|
50128
|
-
const nextTarget = n2.
|
|
50129
|
-
n2.props,
|
|
50130
|
-
querySelector
|
|
50131
|
-
);
|
|
50402
|
+
const nextTarget = resolveTarget(n2.props, querySelector);
|
|
50132
50403
|
if (nextTarget) {
|
|
50404
|
+
n2.target = nextTarget;
|
|
50133
50405
|
moveTeleport(
|
|
50134
50406
|
n2,
|
|
50135
50407
|
nextTarget,
|
|
@@ -50167,19 +50439,19 @@ var require_runtime_core_cjs = __commonJS({
|
|
|
50167
50439
|
target,
|
|
50168
50440
|
props
|
|
50169
50441
|
} = vnode;
|
|
50170
|
-
|
|
50442
|
+
const disabled = isTeleportDisabled(props);
|
|
50443
|
+
const shouldRemove = doRemove || !disabled;
|
|
50171
50444
|
const pendingMount = pendingMounts.get(vnode);
|
|
50172
50445
|
if (pendingMount) {
|
|
50173
50446
|
pendingMount.flags |= 8;
|
|
50174
50447
|
pendingMounts.delete(vnode);
|
|
50175
|
-
shouldRemove = false;
|
|
50176
50448
|
}
|
|
50177
50449
|
if (target) {
|
|
50178
50450
|
hostRemove(targetStart);
|
|
50179
50451
|
hostRemove(targetAnchor);
|
|
50180
50452
|
}
|
|
50181
50453
|
doRemove && hostRemove(anchor);
|
|
50182
|
-
if (shapeFlag & 16) {
|
|
50454
|
+
if (!pendingMount && (disabled || target) && shapeFlag & 16) {
|
|
50183
50455
|
for (let i = 0; i < children.length; i++) {
|
|
50184
50456
|
const child = children[i];
|
|
50185
50457
|
unmount(
|
|
@@ -50661,7 +50933,11 @@ var require_runtime_core_cjs = __commonJS({
|
|
|
50661
50933
|
function setTransitionHooks(vnode, hooks) {
|
|
50662
50934
|
if (vnode.shapeFlag & 6 && vnode.component) {
|
|
50663
50935
|
vnode.transition = hooks;
|
|
50664
|
-
|
|
50936
|
+
const subTree = vnode.component.subTree;
|
|
50937
|
+
setTransitionHooks(
|
|
50938
|
+
isTeleport(subTree.type) ? getInnerChild$1(subTree) || subTree : subTree,
|
|
50939
|
+
hooks
|
|
50940
|
+
);
|
|
50665
50941
|
} else if (vnode.shapeFlag & 128) {
|
|
50666
50942
|
vnode.ssContent.transition = hooks.clone(vnode.ssContent);
|
|
50667
50943
|
vnode.ssFallback.transition = hooks.clone(vnode.ssFallback);
|
|
@@ -51108,7 +51384,15 @@ var require_runtime_core_cjs = __commonJS({
|
|
|
51108
51384
|
};
|
|
51109
51385
|
const hydrateElement = (el, vnode, parentComponent, parentSuspense, slotScopeIds, optimized) => {
|
|
51110
51386
|
optimized = optimized || !!vnode.dynamicChildren;
|
|
51111
|
-
const {
|
|
51387
|
+
const {
|
|
51388
|
+
type,
|
|
51389
|
+
dynamicProps,
|
|
51390
|
+
props,
|
|
51391
|
+
patchFlag,
|
|
51392
|
+
shapeFlag,
|
|
51393
|
+
dirs,
|
|
51394
|
+
transition
|
|
51395
|
+
} = vnode;
|
|
51112
51396
|
const forcePatch = type === "input" || type === "option";
|
|
51113
51397
|
{
|
|
51114
51398
|
if (dirs) {
|
|
@@ -51141,24 +51425,20 @@ var require_runtime_core_cjs = __commonJS({
|
|
|
51141
51425
|
slotScopeIds,
|
|
51142
51426
|
optimized
|
|
51143
51427
|
);
|
|
51144
|
-
|
|
51145
|
-
|
|
51146
|
-
|
|
51428
|
+
if (next && !isMismatchAllowed(
|
|
51429
|
+
el,
|
|
51430
|
+
1
|
|
51431
|
+
/* CHILDREN */
|
|
51432
|
+
)) {
|
|
51433
|
+
warn$1(
|
|
51434
|
+
`Hydration children mismatch on`,
|
|
51147
51435
|
el,
|
|
51148
|
-
|
|
51149
|
-
/* CHILDREN */
|
|
51150
|
-
)) {
|
|
51151
|
-
if (!hasWarned2) {
|
|
51152
|
-
warn$1(
|
|
51153
|
-
`Hydration children mismatch on`,
|
|
51154
|
-
el,
|
|
51155
|
-
`
|
|
51436
|
+
`
|
|
51156
51437
|
Server rendered element contains more child nodes than client vdom.`
|
|
51157
|
-
|
|
51158
|
-
|
|
51159
|
-
|
|
51160
|
-
|
|
51161
|
-
}
|
|
51438
|
+
);
|
|
51439
|
+
logMismatchError();
|
|
51440
|
+
}
|
|
51441
|
+
while (next) {
|
|
51162
51442
|
const cur = next;
|
|
51163
51443
|
next = next.nextSibling;
|
|
51164
51444
|
remove(cur);
|
|
@@ -51191,6 +51471,7 @@ Server rendered element contains more child nodes than client vdom.`
|
|
|
51191
51471
|
if (props) {
|
|
51192
51472
|
{
|
|
51193
51473
|
const isCustomElement = el.tagName.includes("-");
|
|
51474
|
+
const namespace = el.namespaceURI.includes("svg") ? "svg" : el.namespaceURI.includes("MathML") ? "mathml" : void 0;
|
|
51194
51475
|
for (const key in props) {
|
|
51195
51476
|
if (
|
|
51196
51477
|
// #11189 skip if this node has directives that have created hooks
|
|
@@ -51200,8 +51481,11 @@ Server rendered element contains more child nodes than client vdom.`
|
|
|
51200
51481
|
logMismatchError();
|
|
51201
51482
|
}
|
|
51202
51483
|
if (forcePatch && (key.endsWith("value") || key === "indeterminate") || shared.isOn(key) && !shared.isReservedProp(key) || // force hydrate v-bind with .prop modifiers
|
|
51203
|
-
key[0] === "." || isCustomElement && !shared.isReservedProp(key)) {
|
|
51204
|
-
|
|
51484
|
+
key[0] === "." || isCustomElement && !shared.isReservedProp(key) || dynamicProps && dynamicProps.includes(key)) {
|
|
51485
|
+
if (isUnchangedResourceProp(el, key, props[key])) {
|
|
51486
|
+
continue;
|
|
51487
|
+
}
|
|
51488
|
+
patchProp(el, key, null, props[key], namespace, parentComponent);
|
|
51205
51489
|
}
|
|
51206
51490
|
}
|
|
51207
51491
|
}
|
|
@@ -51227,7 +51511,7 @@ Server rendered element contains more child nodes than client vdom.`
|
|
|
51227
51511
|
optimized = optimized || !!parentVNode.dynamicChildren;
|
|
51228
51512
|
const children = parentVNode.children;
|
|
51229
51513
|
const l = children.length;
|
|
51230
|
-
let
|
|
51514
|
+
let hasCheckedMismatch = false;
|
|
51231
51515
|
for (let i = 0; i < l; i++) {
|
|
51232
51516
|
const vnode = optimized ? children[i] : children[i] = normalizeVNode(children[i]);
|
|
51233
51517
|
const isText = vnode.type === Text;
|
|
@@ -51255,21 +51539,21 @@ Server rendered element contains more child nodes than client vdom.`
|
|
|
51255
51539
|
} else if (isText && !vnode.children) {
|
|
51256
51540
|
insert(vnode.el = createText(""), container);
|
|
51257
51541
|
} else {
|
|
51258
|
-
if (!
|
|
51259
|
-
|
|
51260
|
-
|
|
51261
|
-
|
|
51262
|
-
|
|
51263
|
-
|
|
51542
|
+
if (!hasCheckedMismatch) {
|
|
51543
|
+
hasCheckedMismatch = true;
|
|
51544
|
+
if (!isMismatchAllowed(
|
|
51545
|
+
container,
|
|
51546
|
+
1
|
|
51547
|
+
/* CHILDREN */
|
|
51548
|
+
)) {
|
|
51264
51549
|
warn$1(
|
|
51265
51550
|
`Hydration children mismatch on`,
|
|
51266
51551
|
container,
|
|
51267
51552
|
`
|
|
51268
51553
|
Server rendered element contains fewer child nodes than client vdom.`
|
|
51269
51554
|
);
|
|
51270
|
-
|
|
51555
|
+
logMismatchError();
|
|
51271
51556
|
}
|
|
51272
|
-
logMismatchError();
|
|
51273
51557
|
}
|
|
51274
51558
|
patch(
|
|
51275
51559
|
null,
|
|
@@ -51309,11 +51593,7 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
51309
51593
|
}
|
|
51310
51594
|
};
|
|
51311
51595
|
const handleMismatch = (node, vnode, parentComponent, parentSuspense, slotScopeIds, isFragment) => {
|
|
51312
|
-
if (!
|
|
51313
|
-
node.parentElement,
|
|
51314
|
-
1
|
|
51315
|
-
/* CHILDREN */
|
|
51316
|
-
)) {
|
|
51596
|
+
if (!isNodeMismatchAllowed(node, vnode)) {
|
|
51317
51597
|
warn$1(
|
|
51318
51598
|
`Hydration node mismatch:
|
|
51319
51599
|
- rendered on server:`,
|
|
@@ -51391,6 +51671,13 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
51391
51671
|
};
|
|
51392
51672
|
return [hydrate, hydrateNode];
|
|
51393
51673
|
}
|
|
51674
|
+
var resourceProps = /* @__PURE__ */ new Set(["src", "srcset", "href", "poster"]);
|
|
51675
|
+
function isUnchangedResourceProp(el, key, clientValue) {
|
|
51676
|
+
if (!resourceProps.has(key)) {
|
|
51677
|
+
return false;
|
|
51678
|
+
}
|
|
51679
|
+
return el.getAttribute(key) === (clientValue == null ? null : `${clientValue}`);
|
|
51680
|
+
}
|
|
51394
51681
|
function propHasMismatch(el, key, clientValue, vnode, instance) {
|
|
51395
51682
|
let mismatchType;
|
|
51396
51683
|
let mismatchKey;
|
|
@@ -51428,7 +51715,10 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
51428
51715
|
mismatchKey = "style";
|
|
51429
51716
|
}
|
|
51430
51717
|
} else if (el instanceof SVGElement && shared.isKnownSvgAttr(key) || el instanceof HTMLElement && (shared.isBooleanAttr(key) || shared.isKnownHtmlAttr(key))) {
|
|
51431
|
-
if (
|
|
51718
|
+
if (key === "hidden") {
|
|
51719
|
+
actual = normalizeHiddenValue(el.getAttribute(key));
|
|
51720
|
+
expected = normalizeHiddenValue(clientValue);
|
|
51721
|
+
} else if (shared.isBooleanAttr(key)) {
|
|
51432
51722
|
actual = el.hasAttribute(key);
|
|
51433
51723
|
expected = shared.includeBooleanAttr(clientValue);
|
|
51434
51724
|
} else if (clientValue == null) {
|
|
@@ -51464,6 +51754,15 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
51464
51754
|
}
|
|
51465
51755
|
return false;
|
|
51466
51756
|
}
|
|
51757
|
+
function normalizeHiddenValue(value) {
|
|
51758
|
+
if (!shared.isRenderableAttrValue(value)) {
|
|
51759
|
+
return false;
|
|
51760
|
+
}
|
|
51761
|
+
if (shared.isString(value)) {
|
|
51762
|
+
return value.toLowerCase() === "until-found" ? "until-found" : "";
|
|
51763
|
+
}
|
|
51764
|
+
return shared.includeBooleanAttr(value) ? "" : false;
|
|
51765
|
+
}
|
|
51467
51766
|
function toClassSet(str2) {
|
|
51468
51767
|
return new Set(str2.trim().split(/\s+/));
|
|
51469
51768
|
}
|
|
@@ -51543,7 +51842,12 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
51543
51842
|
el = el.parentElement;
|
|
51544
51843
|
}
|
|
51545
51844
|
}
|
|
51546
|
-
|
|
51845
|
+
return isMismatchAllowedByAttr(
|
|
51846
|
+
el && el.getAttribute(allowMismatchAttr),
|
|
51847
|
+
allowedType
|
|
51848
|
+
);
|
|
51849
|
+
}
|
|
51850
|
+
function isMismatchAllowedByAttr(allowedAttr, allowedType) {
|
|
51547
51851
|
if (allowedAttr == null) {
|
|
51548
51852
|
return false;
|
|
51549
51853
|
} else if (allowedAttr === "") {
|
|
@@ -51556,6 +51860,28 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
51556
51860
|
return list.includes(MismatchTypeString[allowedType]);
|
|
51557
51861
|
}
|
|
51558
51862
|
}
|
|
51863
|
+
function isNodeMismatchAllowed(node, vnode) {
|
|
51864
|
+
return isMismatchAllowed(
|
|
51865
|
+
node.parentElement,
|
|
51866
|
+
1
|
|
51867
|
+
/* CHILDREN */
|
|
51868
|
+
) || isMismatchAllowedByNode(node) || isMismatchAllowedByVNode(vnode);
|
|
51869
|
+
}
|
|
51870
|
+
function isMismatchAllowedByNode(node) {
|
|
51871
|
+
return node.nodeType === 1 && isMismatchAllowedByAttr(
|
|
51872
|
+
node.getAttribute(allowMismatchAttr),
|
|
51873
|
+
1
|
|
51874
|
+
/* CHILDREN */
|
|
51875
|
+
);
|
|
51876
|
+
}
|
|
51877
|
+
function isMismatchAllowedByVNode({ props }) {
|
|
51878
|
+
const allowedAttr = props && props[allowMismatchAttr];
|
|
51879
|
+
return typeof allowedAttr === "string" && isMismatchAllowedByAttr(
|
|
51880
|
+
allowedAttr,
|
|
51881
|
+
1
|
|
51882
|
+
/* CHILDREN */
|
|
51883
|
+
);
|
|
51884
|
+
}
|
|
51559
51885
|
var requestIdleCallback = shared.getGlobalThis().requestIdleCallback || ((cb) => setTimeout(cb, 1));
|
|
51560
51886
|
var cancelIdleCallback = shared.getGlobalThis().cancelIdleCallback || ((id) => clearTimeout(id));
|
|
51561
51887
|
var hydrateOnIdle = (timeout = 1e4) => (hydrate) => {
|
|
@@ -51707,6 +52033,7 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
51707
52033
|
name: "AsyncComponentWrapper",
|
|
51708
52034
|
__asyncLoader: load,
|
|
51709
52035
|
__asyncHydrate(el, instance, hydrate) {
|
|
52036
|
+
const wasConnected = el.isConnected;
|
|
51710
52037
|
let patched = false;
|
|
51711
52038
|
(instance.bu || (instance.bu = [])).push(() => patched = true);
|
|
51712
52039
|
const performHydrate = () => {
|
|
@@ -51718,6 +52045,7 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
51718
52045
|
}
|
|
51719
52046
|
return;
|
|
51720
52047
|
}
|
|
52048
|
+
if (!el.parentNode || wasConnected && !el.isConnected) return;
|
|
51721
52049
|
hydrate();
|
|
51722
52050
|
};
|
|
51723
52051
|
const doHydrate = hydrateStrategy ? () => {
|
|
@@ -51766,13 +52094,21 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
51766
52094
|
const loaded = reactivity.ref(false);
|
|
51767
52095
|
const error = reactivity.ref();
|
|
51768
52096
|
const delayed = reactivity.ref(!!delay);
|
|
52097
|
+
let timeoutTimer;
|
|
52098
|
+
let delayTimer;
|
|
52099
|
+
onUnmounted(() => {
|
|
52100
|
+
if (timeoutTimer != null) clearTimeout(timeoutTimer);
|
|
52101
|
+
if (delayTimer != null) clearTimeout(delayTimer);
|
|
52102
|
+
});
|
|
51769
52103
|
if (delay) {
|
|
51770
|
-
setTimeout(() => {
|
|
52104
|
+
delayTimer = setTimeout(() => {
|
|
52105
|
+
if (instance.isUnmounted) return;
|
|
51771
52106
|
delayed.value = false;
|
|
51772
52107
|
}, delay);
|
|
51773
52108
|
}
|
|
51774
52109
|
if (timeout != null) {
|
|
51775
|
-
setTimeout(() => {
|
|
52110
|
+
timeoutTimer = setTimeout(() => {
|
|
52111
|
+
if (instance.isUnmounted) return;
|
|
51776
52112
|
if (!loaded.value && !error.value) {
|
|
51777
52113
|
const err = new Error(
|
|
51778
52114
|
`Async component timed out after ${timeout}ms.`
|
|
@@ -51783,11 +52119,16 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
51783
52119
|
}, timeout);
|
|
51784
52120
|
}
|
|
51785
52121
|
load().then(() => {
|
|
52122
|
+
if (instance.isUnmounted) return;
|
|
51786
52123
|
loaded.value = true;
|
|
51787
52124
|
if (instance.parent && isKeepAlive(instance.parent.vnode)) {
|
|
51788
52125
|
instance.parent.update();
|
|
51789
52126
|
}
|
|
51790
52127
|
}).catch((err) => {
|
|
52128
|
+
if (instance.isUnmounted) {
|
|
52129
|
+
pendingRequest = null;
|
|
52130
|
+
return;
|
|
52131
|
+
}
|
|
51791
52132
|
onError(err);
|
|
51792
52133
|
error.value = err;
|
|
51793
52134
|
});
|
|
@@ -52254,14 +52595,16 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
52254
52595
|
}
|
|
52255
52596
|
return slots;
|
|
52256
52597
|
}
|
|
52257
|
-
function renderSlot(slots, name, props
|
|
52598
|
+
function renderSlot(slots, name, props, fallback, noSlotted, branchKey) {
|
|
52599
|
+
if (props == null) props = {};
|
|
52258
52600
|
if (currentRenderingInstance.ce || currentRenderingInstance.parent && isAsyncWrapper(currentRenderingInstance.parent) && currentRenderingInstance.parent.ce) {
|
|
52259
|
-
const
|
|
52260
|
-
|
|
52601
|
+
const slotProps = branchKey != null && props.key == null ? shared.extend({}, props, { key: branchKey }) : props;
|
|
52602
|
+
const hasProps = Object.keys(slotProps).length > 0;
|
|
52603
|
+
if (name !== "default") slotProps.name = name;
|
|
52261
52604
|
return openBlock(), createBlock(
|
|
52262
52605
|
Fragment,
|
|
52263
52606
|
null,
|
|
52264
|
-
[createVNode("slot",
|
|
52607
|
+
[createVNode("slot", slotProps, fallback && fallback())],
|
|
52265
52608
|
hasProps ? -2 : 64
|
|
52266
52609
|
);
|
|
52267
52610
|
}
|
|
@@ -52275,26 +52618,34 @@ If this is a native custom element, make sure to exclude it from component resol
|
|
|
52275
52618
|
if (slot && slot._c) {
|
|
52276
52619
|
slot._d = false;
|
|
52277
52620
|
}
|
|
52621
|
+
const prevStackSize = blockStack.length;
|
|
52278
52622
|
openBlock();
|
|
52279
|
-
|
|
52280
|
-
|
|
52281
|
-
|
|
52282
|
-
|
|
52283
|
-
|
|
52284
|
-
|
|
52285
|
-
|
|
52286
|
-
|
|
52287
|
-
|
|
52288
|
-
|
|
52289
|
-
|
|
52290
|
-
|
|
52291
|
-
|
|
52623
|
+
let rendered;
|
|
52624
|
+
try {
|
|
52625
|
+
const validSlotContent = slot && ensureValidVNode(slot(props));
|
|
52626
|
+
const slotKey = props.key || branchKey || // slot content array of a dynamic conditional slot may have a branch
|
|
52627
|
+
// key attached in the `createSlots` helper, respect that
|
|
52628
|
+
validSlotContent && validSlotContent.key;
|
|
52629
|
+
rendered = createBlock(
|
|
52630
|
+
Fragment,
|
|
52631
|
+
{
|
|
52632
|
+
key: (slotKey && !shared.isSymbol(slotKey) ? slotKey : `_${name}`) + // #7256 force differentiate fallback content from actual content
|
|
52633
|
+
(!validSlotContent && fallback ? "_fb" : "")
|
|
52634
|
+
},
|
|
52635
|
+
validSlotContent || (fallback ? fallback() : []),
|
|
52636
|
+
validSlotContent && slots._ === 1 ? 64 : -2
|
|
52637
|
+
);
|
|
52638
|
+
} catch (err) {
|
|
52639
|
+
for (let i = blockStack.length; i > prevStackSize; i--) closeBlock();
|
|
52640
|
+
throw err;
|
|
52641
|
+
} finally {
|
|
52642
|
+
if (slot && slot._c) {
|
|
52643
|
+
slot._d = true;
|
|
52644
|
+
}
|
|
52645
|
+
}
|
|
52292
52646
|
if (!noSlotted && rendered.scopeId) {
|
|
52293
52647
|
rendered.slotScopeIds = [rendered.scopeId + "-s"];
|
|
52294
52648
|
}
|
|
52295
|
-
if (slot && slot._c) {
|
|
52296
|
-
slot._d = true;
|
|
52297
|
-
}
|
|
52298
52649
|
return rendered;
|
|
52299
52650
|
}
|
|
52300
52651
|
function ensureValidVNode(vnodes) {
|
|
@@ -53351,13 +53702,20 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
53351
53702
|
return;
|
|
53352
53703
|
}
|
|
53353
53704
|
const rawProps = i.vnode.props;
|
|
53354
|
-
|
|
53355
|
-
(name in rawProps || camelizedName in rawProps || hyphenatedName in rawProps) && (`onUpdate:${name}` in rawProps || `onUpdate:${camelizedName}` in rawProps || `onUpdate:${hyphenatedName}` in rawProps))
|
|
53705
|
+
const hasVModel = !!(rawProps && // check if parent has passed v-model
|
|
53706
|
+
(name in rawProps || camelizedName in rawProps || hyphenatedName in rawProps) && (`onUpdate:${name}` in rawProps || `onUpdate:${camelizedName}` in rawProps || `onUpdate:${hyphenatedName}` in rawProps));
|
|
53707
|
+
if (!hasVModel) {
|
|
53356
53708
|
localValue = value;
|
|
53357
53709
|
trigger();
|
|
53358
53710
|
}
|
|
53359
53711
|
i.emit(`update:${name}`, emittedValue);
|
|
53360
|
-
if (shared.hasChanged(value,
|
|
53712
|
+
if (shared.hasChanged(value, prevSetValue) && (shared.hasChanged(value, emittedValue) && !shared.hasChanged(emittedValue, prevEmittedValue) || // #13524: browsers differ in when they flush microtasks between
|
|
53713
|
+
// event listeners. If a v-model listener emits an intermediate value
|
|
53714
|
+
// and a following listener restores the model to its previous prop
|
|
53715
|
+
// value before parent updates are flushed, the parent render can be
|
|
53716
|
+
// deduped as having no prop change. Force a local update so DOM state
|
|
53717
|
+
// such as an input's value is synchronized back to the current model.
|
|
53718
|
+
hasVModel && prevSetValue !== shared.EMPTY_OBJ && !shared.hasChanged(emittedValue, localValue))) {
|
|
53361
53719
|
trigger();
|
|
53362
53720
|
}
|
|
53363
53721
|
prevSetValue = value;
|
|
@@ -53515,7 +53873,8 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
53515
53873
|
if (!options2 || !shared.isOn(key)) {
|
|
53516
53874
|
return false;
|
|
53517
53875
|
}
|
|
53518
|
-
key = key.slice(2)
|
|
53876
|
+
key = key.slice(2);
|
|
53877
|
+
key = key === "Once" ? key : key.replace(/Once$/, "");
|
|
53519
53878
|
return shared.hasOwn(options2, key[0].toLowerCase() + key.slice(1)) || shared.hasOwn(options2, shared.hyphenate(key)) || shared.hasOwn(options2, key);
|
|
53520
53879
|
}
|
|
53521
53880
|
var accessedAttrs = false;
|
|
@@ -53653,12 +54012,13 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
53653
54012
|
root.dirs = root.dirs ? root.dirs.concat(vnode.dirs) : vnode.dirs;
|
|
53654
54013
|
}
|
|
53655
54014
|
if (vnode.transition) {
|
|
53656
|
-
|
|
54015
|
+
const child = isTeleport(root.type) ? getInnerChild$1(root) || root : root;
|
|
54016
|
+
if (!isElementRoot(child)) {
|
|
53657
54017
|
warn$1(
|
|
53658
54018
|
`Component inside <Transition> renders non-element root node that cannot be animated.`
|
|
53659
54019
|
);
|
|
53660
54020
|
}
|
|
53661
|
-
setTransitionHooks(
|
|
54021
|
+
setTransitionHooks(child, vnode.transition);
|
|
53662
54022
|
}
|
|
53663
54023
|
if (setRoot) {
|
|
53664
54024
|
setRoot(root);
|
|
@@ -54215,7 +54575,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
54215
54575
|
const receivedType = shared.toRawType(value);
|
|
54216
54576
|
const expectedValue = styleValue(value, expectedType);
|
|
54217
54577
|
const receivedValue = styleValue(value, receivedType);
|
|
54218
|
-
if (expectedTypes.length === 1 && isExplicable(expectedType) &&
|
|
54578
|
+
if (expectedTypes.length === 1 && isExplicable(expectedType) && isCoercible(expectedType, receivedType)) {
|
|
54219
54579
|
message += ` with value ${expectedValue}`;
|
|
54220
54580
|
}
|
|
54221
54581
|
message += `, got ${receivedType} `;
|
|
@@ -54225,7 +54585,9 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
54225
54585
|
return message;
|
|
54226
54586
|
}
|
|
54227
54587
|
function styleValue(value, type) {
|
|
54228
|
-
if (
|
|
54588
|
+
if (shared.isSymbol(value)) {
|
|
54589
|
+
return value.toString();
|
|
54590
|
+
} else if (type === "String") {
|
|
54229
54591
|
return `"${value}"`;
|
|
54230
54592
|
} else if (type === "Number") {
|
|
54231
54593
|
return `${Number(value)}`;
|
|
@@ -54237,8 +54599,11 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
54237
54599
|
const explicitTypes = ["string", "number", "boolean"];
|
|
54238
54600
|
return explicitTypes.some((elem) => type.toLowerCase() === elem);
|
|
54239
54601
|
}
|
|
54240
|
-
function
|
|
54241
|
-
return args.
|
|
54602
|
+
function isCoercible(...args) {
|
|
54603
|
+
return args.every((elem) => {
|
|
54604
|
+
const value = elem.toLowerCase();
|
|
54605
|
+
return value !== "boolean" && value !== "symbol";
|
|
54606
|
+
});
|
|
54242
54607
|
}
|
|
54243
54608
|
var isInternalKey = (key) => key === "_" || key === "_ctx" || key === "$stable";
|
|
54244
54609
|
var normalizeSlotValue = (value) => shared.isArray(value) ? value.map(normalizeVNode) : [normalizeVNode(value)];
|
|
@@ -54740,7 +55105,12 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
54740
55105
|
invokeDirectiveHook(n2, n1, parentComponent, "beforeUpdate");
|
|
54741
55106
|
}
|
|
54742
55107
|
parentComponent && toggleRecurse(parentComponent, true);
|
|
54743
|
-
if (
|
|
55108
|
+
if (
|
|
55109
|
+
// HMR updated, force full diff
|
|
55110
|
+
isHmrUpdating || // #6385 the old vnode may be a user-wrapped non-isomorphic block
|
|
55111
|
+
// Force full diff when block metadata is unstable.
|
|
55112
|
+
dynamicChildren && (!n1.dynamicChildren || n1.dynamicChildren.length !== dynamicChildren.length)
|
|
55113
|
+
) {
|
|
54744
55114
|
patchFlag = 0;
|
|
54745
55115
|
optimized = false;
|
|
54746
55116
|
dynamicChildren = null;
|
|
@@ -55553,9 +55923,13 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
55553
55923
|
const needTransition2 = moveType !== 2 && shapeFlag & 1 && transition;
|
|
55554
55924
|
if (needTransition2) {
|
|
55555
55925
|
if (moveType === 0) {
|
|
55556
|
-
transition.
|
|
55557
|
-
|
|
55558
|
-
|
|
55926
|
+
if (transition.persisted && !el[leaveCbKey]) {
|
|
55927
|
+
hostInsert(el, container, anchor);
|
|
55928
|
+
} else {
|
|
55929
|
+
transition.beforeEnter(el);
|
|
55930
|
+
hostInsert(el, container, anchor);
|
|
55931
|
+
queuePostRenderEffect(() => transition.enter(el), parentSuspense);
|
|
55932
|
+
}
|
|
55559
55933
|
} else {
|
|
55560
55934
|
const { leave, delayLeave, afterLeave } = transition;
|
|
55561
55935
|
const remove2 = () => {
|
|
@@ -55566,16 +55940,21 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
55566
55940
|
}
|
|
55567
55941
|
};
|
|
55568
55942
|
const performLeave = () => {
|
|
55943
|
+
const wasLeaving = el._isLeaving || !!el[leaveCbKey];
|
|
55569
55944
|
if (el._isLeaving) {
|
|
55570
55945
|
el[leaveCbKey](
|
|
55571
55946
|
true
|
|
55572
55947
|
/* cancelled */
|
|
55573
55948
|
);
|
|
55574
55949
|
}
|
|
55575
|
-
|
|
55950
|
+
if (transition.persisted && !wasLeaving) {
|
|
55576
55951
|
remove2();
|
|
55577
|
-
|
|
55578
|
-
|
|
55952
|
+
} else {
|
|
55953
|
+
leave(el, () => {
|
|
55954
|
+
remove2();
|
|
55955
|
+
afterLeave && afterLeave();
|
|
55956
|
+
});
|
|
55957
|
+
}
|
|
55579
55958
|
};
|
|
55580
55959
|
if (delayLeave) {
|
|
55581
55960
|
delayLeave(el, remove2, performLeave);
|
|
@@ -56254,13 +56633,14 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
56254
56633
|
suspense.isHydrating = false;
|
|
56255
56634
|
} else if (!resume) {
|
|
56256
56635
|
delayEnter = activeBranch && pendingBranch.transition && pendingBranch.transition.mode === "out-in";
|
|
56636
|
+
let hasUpdatedAnchor = false;
|
|
56257
56637
|
if (delayEnter) {
|
|
56258
56638
|
activeBranch.transition.afterLeave = () => {
|
|
56259
56639
|
if (pendingId === suspense.pendingId) {
|
|
56260
56640
|
move(
|
|
56261
56641
|
pendingBranch,
|
|
56262
56642
|
container2,
|
|
56263
|
-
anchor === initialAnchor ? next(activeBranch) : anchor,
|
|
56643
|
+
anchor === initialAnchor && !hasUpdatedAnchor ? next(activeBranch) : anchor,
|
|
56264
56644
|
0
|
|
56265
56645
|
);
|
|
56266
56646
|
queuePostFlushCb(effects);
|
|
@@ -56273,6 +56653,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
56273
56653
|
if (activeBranch && !suspense.isFallbackMountPending) {
|
|
56274
56654
|
if (parentNode(activeBranch.el) === container2) {
|
|
56275
56655
|
anchor = next(activeBranch);
|
|
56656
|
+
hasUpdatedAnchor = true;
|
|
56276
56657
|
}
|
|
56277
56658
|
unmount(activeBranch, parentComponent2, suspense, true);
|
|
56278
56659
|
if (!delayEnter && isInFallback && vnode2.ssFallback) {
|
|
@@ -56291,7 +56672,9 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
56291
56672
|
let hasUnresolvedAncestor = false;
|
|
56292
56673
|
while (parent) {
|
|
56293
56674
|
if (parent.pendingBranch) {
|
|
56294
|
-
|
|
56675
|
+
for (let i = 0; i < effects.length; i++) {
|
|
56676
|
+
parent.effects.push(effects[i]);
|
|
56677
|
+
}
|
|
56295
56678
|
hasUnresolvedAncestor = true;
|
|
56296
56679
|
break;
|
|
56297
56680
|
}
|
|
@@ -56655,6 +57038,14 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
56655
57038
|
if (vnode.key !== vnode.key) {
|
|
56656
57039
|
warn$1(`VNode created with invalid key (NaN). VNode type:`, vnode.type);
|
|
56657
57040
|
}
|
|
57041
|
+
if (props && vnode.shapeFlag & 1) {
|
|
57042
|
+
const overwritingProp = props.innerHTML != null ? "innerHTML" : props.textContent != null ? "textContent" : null;
|
|
57043
|
+
if (overwritingProp && hasContentChildren(vnode.children)) {
|
|
57044
|
+
warn$1(
|
|
57045
|
+
`The \`${overwritingProp}\` prop on <${vnode.type}> will override its children. Remove either the \`${overwritingProp}\` prop or the children.`
|
|
57046
|
+
);
|
|
57047
|
+
}
|
|
57048
|
+
}
|
|
56658
57049
|
if (isBlockTreeEnabled > 0 && // avoid a block node from tracking itself
|
|
56659
57050
|
!isBlockNode && // has current parent block
|
|
56660
57051
|
currentBlock && // presence of a patch flag indicates this node needs patching on updates.
|
|
@@ -56668,6 +57059,11 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
56668
57059
|
}
|
|
56669
57060
|
return vnode;
|
|
56670
57061
|
}
|
|
57062
|
+
function hasContentChildren(children) {
|
|
57063
|
+
if (shared.isString(children)) return children !== "";
|
|
57064
|
+
if (shared.isArray(children)) return children.length > 0;
|
|
57065
|
+
return false;
|
|
57066
|
+
}
|
|
56671
57067
|
var createVNode = createVNodeWithArgsTransform;
|
|
56672
57068
|
function _createVNode(type, props = null, children = null, patchFlag = 0, dynamicProps = null, isBlockNode = false) {
|
|
56673
57069
|
if (!type || type === NULL_DYNAMIC_COMPONENT) {
|
|
@@ -56860,6 +57256,10 @@ Component that was made reactive: `,
|
|
|
56860
57256
|
}
|
|
56861
57257
|
}
|
|
56862
57258
|
} else if (shared.isFunction(children)) {
|
|
57259
|
+
if (shapeFlag & (1 | 64)) {
|
|
57260
|
+
normalizeChildren(vnode, { default: children });
|
|
57261
|
+
return;
|
|
57262
|
+
}
|
|
56863
57263
|
children = { default: children, _ctx: currentRenderingInstance };
|
|
56864
57264
|
type = 32;
|
|
56865
57265
|
} else {
|
|
@@ -57111,7 +57511,12 @@ Component that was made reactive: `,
|
|
|
57111
57511
|
setupResult.then(unsetCurrentInstance, unsetCurrentInstance);
|
|
57112
57512
|
if (isSSR) {
|
|
57113
57513
|
return setupResult.then((resolvedResult) => {
|
|
57114
|
-
|
|
57514
|
+
setInSSRSetupState(true);
|
|
57515
|
+
try {
|
|
57516
|
+
handleSetupResult(instance, resolvedResult, isSSR);
|
|
57517
|
+
} finally {
|
|
57518
|
+
setInSSRSetupState(false);
|
|
57519
|
+
}
|
|
57115
57520
|
}).catch((e) => {
|
|
57116
57521
|
handleError(e, instance, 0);
|
|
57117
57522
|
});
|
|
@@ -57572,7 +57977,7 @@ Component that was made reactive: `,
|
|
|
57572
57977
|
}
|
|
57573
57978
|
return true;
|
|
57574
57979
|
}
|
|
57575
|
-
var version = "3.5.
|
|
57980
|
+
var version = "3.5.41";
|
|
57576
57981
|
var warn2 = warn$1;
|
|
57577
57982
|
var ErrorTypeStrings = ErrorTypeStrings$1;
|
|
57578
57983
|
var devtools = devtools$1;
|
|
@@ -57742,9 +58147,9 @@ Component that was made reactive: `,
|
|
|
57742
58147
|
}
|
|
57743
58148
|
});
|
|
57744
58149
|
|
|
57745
|
-
// ../../node_modules/.pnpm/@vue+runtime-core@3.5.
|
|
58150
|
+
// ../../node_modules/.pnpm/@vue+runtime-core@3.5.41/node_modules/@vue/runtime-core/index.js
|
|
57746
58151
|
var require_runtime_core = __commonJS({
|
|
57747
|
-
"../../node_modules/.pnpm/@vue+runtime-core@3.5.
|
|
58152
|
+
"../../node_modules/.pnpm/@vue+runtime-core@3.5.41/node_modules/@vue/runtime-core/index.js"(exports2, module2) {
|
|
57748
58153
|
"use strict";
|
|
57749
58154
|
if (process.env.NODE_ENV === "production") {
|
|
57750
58155
|
module2.exports = require_runtime_core_cjs_prod();
|
|
@@ -57754,9 +58159,9 @@ var require_runtime_core = __commonJS({
|
|
|
57754
58159
|
}
|
|
57755
58160
|
});
|
|
57756
58161
|
|
|
57757
|
-
// ../../node_modules/.pnpm/@vue+runtime-dom@3.5.
|
|
58162
|
+
// ../../node_modules/.pnpm/@vue+runtime-dom@3.5.41/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js
|
|
57758
58163
|
var require_runtime_dom_cjs_prod = __commonJS({
|
|
57759
|
-
"../../node_modules/.pnpm/@vue+runtime-dom@3.5.
|
|
58164
|
+
"../../node_modules/.pnpm/@vue+runtime-dom@3.5.41/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js"(exports2) {
|
|
57760
58165
|
"use strict";
|
|
57761
58166
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
57762
58167
|
var runtimeCore = require_runtime_core();
|
|
@@ -58378,16 +58783,15 @@ var require_runtime_dom_cjs_prod = __commonJS({
|
|
|
58378
58783
|
}
|
|
58379
58784
|
}
|
|
58380
58785
|
}
|
|
58381
|
-
var optionsModifierRE = /(
|
|
58786
|
+
var optionsModifierRE = /(Once|Passive|Capture)$/;
|
|
58787
|
+
var optionsModifierEventRE = /^on:?(?:Once|Passive|Capture)$/;
|
|
58382
58788
|
function parseName(name) {
|
|
58383
58789
|
let options2;
|
|
58384
|
-
|
|
58385
|
-
|
|
58386
|
-
|
|
58387
|
-
|
|
58388
|
-
|
|
58389
|
-
options2[m[0].toLowerCase()] = true;
|
|
58390
|
-
}
|
|
58790
|
+
let m;
|
|
58791
|
+
while ((m = name.match(optionsModifierRE)) && !optionsModifierEventRE.test(name)) {
|
|
58792
|
+
if (!options2) options2 = {};
|
|
58793
|
+
name = name.slice(0, name.length - m[1].length);
|
|
58794
|
+
options2[m[1].toLowerCase()] = true;
|
|
58391
58795
|
}
|
|
58392
58796
|
const event = name[2] === ":" ? name.slice(3) : shared.hyphenate(name.slice(2));
|
|
58393
58797
|
return [event, options2];
|
|
@@ -58402,31 +58806,42 @@ var require_runtime_dom_cjs_prod = __commonJS({
|
|
|
58402
58806
|
} else if (e._vts <= invoker.attached) {
|
|
58403
58807
|
return;
|
|
58404
58808
|
}
|
|
58405
|
-
|
|
58406
|
-
|
|
58407
|
-
|
|
58408
|
-
|
|
58409
|
-
|
|
58410
|
-
|
|
58809
|
+
const value = invoker.value;
|
|
58810
|
+
if (shared.isArray(value)) {
|
|
58811
|
+
const originalStop = e.stopImmediatePropagation;
|
|
58812
|
+
e.stopImmediatePropagation = () => {
|
|
58813
|
+
originalStop.call(e);
|
|
58814
|
+
e._stopped = true;
|
|
58815
|
+
};
|
|
58816
|
+
const handlers = value.slice();
|
|
58817
|
+
const args = [e];
|
|
58818
|
+
for (let i = 0; i < handlers.length; i++) {
|
|
58819
|
+
if (e._stopped) {
|
|
58820
|
+
break;
|
|
58821
|
+
}
|
|
58822
|
+
const handler = handlers[i];
|
|
58823
|
+
if (handler) {
|
|
58824
|
+
runtimeCore.callWithAsyncErrorHandling(
|
|
58825
|
+
handler,
|
|
58826
|
+
instance,
|
|
58827
|
+
5,
|
|
58828
|
+
args
|
|
58829
|
+
);
|
|
58830
|
+
}
|
|
58831
|
+
}
|
|
58832
|
+
} else {
|
|
58833
|
+
runtimeCore.callWithAsyncErrorHandling(
|
|
58834
|
+
value,
|
|
58835
|
+
instance,
|
|
58836
|
+
5,
|
|
58837
|
+
[e]
|
|
58838
|
+
);
|
|
58839
|
+
}
|
|
58411
58840
|
};
|
|
58412
58841
|
invoker.value = initialValue;
|
|
58413
58842
|
invoker.attached = getNow();
|
|
58414
58843
|
return invoker;
|
|
58415
58844
|
}
|
|
58416
|
-
function patchStopImmediatePropagation(e, value) {
|
|
58417
|
-
if (shared.isArray(value)) {
|
|
58418
|
-
const originalStop = e.stopImmediatePropagation;
|
|
58419
|
-
e.stopImmediatePropagation = () => {
|
|
58420
|
-
originalStop.call(e);
|
|
58421
|
-
e._stopped = true;
|
|
58422
|
-
};
|
|
58423
|
-
return value.map(
|
|
58424
|
-
(fn) => (e2) => !e2._stopped && fn && fn(e2)
|
|
58425
|
-
);
|
|
58426
|
-
} else {
|
|
58427
|
-
return value;
|
|
58428
|
-
}
|
|
58429
|
-
}
|
|
58430
58845
|
var isNativeOn = (key) => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 && // lowercase letter
|
|
58431
58846
|
key.charCodeAt(2) > 96 && key.charCodeAt(2) < 123;
|
|
58432
58847
|
var patchProp = (el, key, prevValue, nextValue, namespace, parentComponent) => {
|
|
@@ -58579,7 +58994,9 @@ var require_runtime_dom_cjs_prod = __commonJS({
|
|
|
58579
58994
|
if (parent && parent._pendingResolve) {
|
|
58580
58995
|
this._pendingResolve = parent._pendingResolve.then(() => {
|
|
58581
58996
|
this._pendingResolve = void 0;
|
|
58582
|
-
this.
|
|
58997
|
+
if (this.isConnected) {
|
|
58998
|
+
return this._resolveDef();
|
|
58999
|
+
}
|
|
58583
59000
|
});
|
|
58584
59001
|
} else {
|
|
58585
59002
|
this._resolveDef();
|
|
@@ -58629,7 +59046,7 @@ var require_runtime_dom_cjs_prod = __commonJS({
|
|
|
58629
59046
|
*/
|
|
58630
59047
|
_resolveDef() {
|
|
58631
59048
|
if (this._pendingResolve) {
|
|
58632
|
-
return;
|
|
59049
|
+
return this._pendingResolve;
|
|
58633
59050
|
}
|
|
58634
59051
|
for (let i = 0; i < this.attributes.length; i++) {
|
|
58635
59052
|
this._setAttr(this.attributes[i].name);
|
|
@@ -58665,6 +59082,7 @@ var require_runtime_dom_cjs_prod = __commonJS({
|
|
|
58665
59082
|
def.configureApp = this._def.configureApp;
|
|
58666
59083
|
resolve(this._def = def, true);
|
|
58667
59084
|
});
|
|
59085
|
+
return this._pendingResolve;
|
|
58668
59086
|
} else {
|
|
58669
59087
|
resolve(this._def);
|
|
58670
59088
|
}
|
|
@@ -59023,7 +59441,8 @@ var require_runtime_dom_cjs_prod = __commonJS({
|
|
|
59023
59441
|
if (children) {
|
|
59024
59442
|
for (let i = 0; i < children.length; i++) {
|
|
59025
59443
|
const child = children[i];
|
|
59026
|
-
if (child.el && child.el instanceof Element
|
|
59444
|
+
if (child.el && child.el instanceof Element && // Hidden v-show nodes have no previous layout box to animate from.
|
|
59445
|
+
!child.el[vShowHidden]) {
|
|
59027
59446
|
prevChildren.push(child);
|
|
59028
59447
|
runtimeCore.setTransitionHooks(
|
|
59029
59448
|
child,
|
|
@@ -59125,6 +59544,7 @@ var require_runtime_dom_cjs_prod = __commonJS({
|
|
|
59125
59544
|
}
|
|
59126
59545
|
}
|
|
59127
59546
|
var assignKey = /* @__PURE__ */ Symbol("_assign");
|
|
59547
|
+
var initialValueKey = /* @__PURE__ */ Symbol("_initialValue");
|
|
59128
59548
|
function castValue(value, trim, number) {
|
|
59129
59549
|
if (trim) value = value.trim();
|
|
59130
59550
|
if (number) value = shared.looseToNumber(value);
|
|
@@ -59132,6 +59552,13 @@ var require_runtime_dom_cjs_prod = __commonJS({
|
|
|
59132
59552
|
}
|
|
59133
59553
|
var vModelText = {
|
|
59134
59554
|
created(el, { modifiers: { lazy, trim, number } }, vnode) {
|
|
59555
|
+
if (el.parentNode) {
|
|
59556
|
+
if (el.type === "text") {
|
|
59557
|
+
el[initialValueKey] = el.defaultValue.replace(/[\r\n]/g, "");
|
|
59558
|
+
} else if (el.type === "textarea") {
|
|
59559
|
+
el[initialValueKey] = el.defaultValue.replace(/\r\n?/g, "\n");
|
|
59560
|
+
}
|
|
59561
|
+
}
|
|
59135
59562
|
el[assignKey] = getModelAssigner(vnode);
|
|
59136
59563
|
const castToNumber = number || vnode.props && vnode.props.type === "number";
|
|
59137
59564
|
addEventListener(el, lazy ? "change" : "input", (e) => {
|
|
@@ -59150,8 +59577,15 @@ var require_runtime_dom_cjs_prod = __commonJS({
|
|
|
59150
59577
|
}
|
|
59151
59578
|
},
|
|
59152
59579
|
// set value on mounted so it's after min/max for type="range"
|
|
59153
|
-
mounted(el, { value }) {
|
|
59154
|
-
|
|
59580
|
+
mounted(el, { value, modifiers: { trim, number } }) {
|
|
59581
|
+
const newValue = value == null ? "" : value;
|
|
59582
|
+
const initialValue = el[initialValueKey];
|
|
59583
|
+
delete el[initialValueKey];
|
|
59584
|
+
if (initialValue !== void 0 && (el.type === "text" || el.type === "textarea") && el.value !== initialValue) {
|
|
59585
|
+
el[assignKey](castValue(el.value, trim, number));
|
|
59586
|
+
} else {
|
|
59587
|
+
el.value = newValue;
|
|
59588
|
+
}
|
|
59155
59589
|
},
|
|
59156
59590
|
beforeUpdate(el, { value, oldValue, modifiers: { lazy, trim, number } }, vnode) {
|
|
59157
59591
|
el[assignKey] = getModelAssigner(vnode);
|
|
@@ -59247,13 +59681,13 @@ var require_runtime_dom_cjs_prod = __commonJS({
|
|
|
59247
59681
|
// <select multiple> value need to be deep traversed
|
|
59248
59682
|
deep: true,
|
|
59249
59683
|
created(el, { value, modifiers: { number } }, vnode) {
|
|
59250
|
-
|
|
59684
|
+
el._modelValue = value;
|
|
59251
59685
|
addEventListener(el, "change", () => {
|
|
59252
59686
|
const selectedVal = Array.prototype.filter.call(el.options, (o) => o.selected).map(
|
|
59253
59687
|
(o) => number ? shared.looseToNumber(getValue(o)) : getValue(o)
|
|
59254
59688
|
);
|
|
59255
59689
|
el[assignKey](
|
|
59256
|
-
el.multiple ?
|
|
59690
|
+
el.multiple ? shared.isSet(el._modelValue) ? new Set(selectedVal) : selectedVal : selectedVal[0]
|
|
59257
59691
|
);
|
|
59258
59692
|
el._assigning = true;
|
|
59259
59693
|
runtimeCore.nextTick(() => {
|
|
@@ -59267,7 +59701,8 @@ var require_runtime_dom_cjs_prod = __commonJS({
|
|
|
59267
59701
|
mounted(el, { value }) {
|
|
59268
59702
|
setSelected(el, value);
|
|
59269
59703
|
},
|
|
59270
|
-
beforeUpdate(el,
|
|
59704
|
+
beforeUpdate(el, { value }, vnode) {
|
|
59705
|
+
el._modelValue = value;
|
|
59271
59706
|
el[assignKey] = getModelAssigner(vnode);
|
|
59272
59707
|
},
|
|
59273
59708
|
updated(el, { value }) {
|
|
@@ -59538,9 +59973,9 @@ var require_runtime_dom_cjs_prod = __commonJS({
|
|
|
59538
59973
|
}
|
|
59539
59974
|
});
|
|
59540
59975
|
|
|
59541
|
-
// ../../node_modules/.pnpm/@vue+runtime-dom@3.5.
|
|
59976
|
+
// ../../node_modules/.pnpm/@vue+runtime-dom@3.5.41/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js
|
|
59542
59977
|
var require_runtime_dom_cjs = __commonJS({
|
|
59543
|
-
"../../node_modules/.pnpm/@vue+runtime-dom@3.5.
|
|
59978
|
+
"../../node_modules/.pnpm/@vue+runtime-dom@3.5.41/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js"(exports2) {
|
|
59544
59979
|
"use strict";
|
|
59545
59980
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
59546
59981
|
var runtimeCore = require_runtime_core();
|
|
@@ -60180,16 +60615,15 @@ var require_runtime_dom_cjs = __commonJS({
|
|
|
60180
60615
|
}
|
|
60181
60616
|
}
|
|
60182
60617
|
}
|
|
60183
|
-
var optionsModifierRE = /(
|
|
60618
|
+
var optionsModifierRE = /(Once|Passive|Capture)$/;
|
|
60619
|
+
var optionsModifierEventRE = /^on:?(?:Once|Passive|Capture)$/;
|
|
60184
60620
|
function parseName(name) {
|
|
60185
60621
|
let options2;
|
|
60186
|
-
|
|
60187
|
-
|
|
60188
|
-
|
|
60189
|
-
|
|
60190
|
-
|
|
60191
|
-
options2[m[0].toLowerCase()] = true;
|
|
60192
|
-
}
|
|
60622
|
+
let m;
|
|
60623
|
+
while ((m = name.match(optionsModifierRE)) && !optionsModifierEventRE.test(name)) {
|
|
60624
|
+
if (!options2) options2 = {};
|
|
60625
|
+
name = name.slice(0, name.length - m[1].length);
|
|
60626
|
+
options2[m[1].toLowerCase()] = true;
|
|
60193
60627
|
}
|
|
60194
60628
|
const event = name[2] === ":" ? name.slice(3) : shared.hyphenate(name.slice(2));
|
|
60195
60629
|
return [event, options2];
|
|
@@ -60204,12 +60638,37 @@ var require_runtime_dom_cjs = __commonJS({
|
|
|
60204
60638
|
} else if (e._vts <= invoker.attached) {
|
|
60205
60639
|
return;
|
|
60206
60640
|
}
|
|
60207
|
-
|
|
60208
|
-
|
|
60209
|
-
|
|
60210
|
-
|
|
60211
|
-
|
|
60212
|
-
|
|
60641
|
+
const value = invoker.value;
|
|
60642
|
+
if (shared.isArray(value)) {
|
|
60643
|
+
const originalStop = e.stopImmediatePropagation;
|
|
60644
|
+
e.stopImmediatePropagation = () => {
|
|
60645
|
+
originalStop.call(e);
|
|
60646
|
+
e._stopped = true;
|
|
60647
|
+
};
|
|
60648
|
+
const handlers = value.slice();
|
|
60649
|
+
const args = [e];
|
|
60650
|
+
for (let i = 0; i < handlers.length; i++) {
|
|
60651
|
+
if (e._stopped) {
|
|
60652
|
+
break;
|
|
60653
|
+
}
|
|
60654
|
+
const handler = handlers[i];
|
|
60655
|
+
if (handler) {
|
|
60656
|
+
runtimeCore.callWithAsyncErrorHandling(
|
|
60657
|
+
handler,
|
|
60658
|
+
instance,
|
|
60659
|
+
5,
|
|
60660
|
+
args
|
|
60661
|
+
);
|
|
60662
|
+
}
|
|
60663
|
+
}
|
|
60664
|
+
} else {
|
|
60665
|
+
runtimeCore.callWithAsyncErrorHandling(
|
|
60666
|
+
value,
|
|
60667
|
+
instance,
|
|
60668
|
+
5,
|
|
60669
|
+
[e]
|
|
60670
|
+
);
|
|
60671
|
+
}
|
|
60213
60672
|
};
|
|
60214
60673
|
invoker.value = initialValue;
|
|
60215
60674
|
invoker.attached = getNow();
|
|
@@ -60225,20 +60684,6 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
|
60225
60684
|
);
|
|
60226
60685
|
return shared.NOOP;
|
|
60227
60686
|
}
|
|
60228
|
-
function patchStopImmediatePropagation(e, value) {
|
|
60229
|
-
if (shared.isArray(value)) {
|
|
60230
|
-
const originalStop = e.stopImmediatePropagation;
|
|
60231
|
-
e.stopImmediatePropagation = () => {
|
|
60232
|
-
originalStop.call(e);
|
|
60233
|
-
e._stopped = true;
|
|
60234
|
-
};
|
|
60235
|
-
return value.map(
|
|
60236
|
-
(fn) => (e2) => !e2._stopped && fn && fn(e2)
|
|
60237
|
-
);
|
|
60238
|
-
} else {
|
|
60239
|
-
return value;
|
|
60240
|
-
}
|
|
60241
|
-
}
|
|
60242
60687
|
var isNativeOn = (key) => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 && // lowercase letter
|
|
60243
60688
|
key.charCodeAt(2) > 96 && key.charCodeAt(2) < 123;
|
|
60244
60689
|
var patchProp = (el, key, prevValue, nextValue, namespace, parentComponent) => {
|
|
@@ -60396,7 +60841,9 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
|
60396
60841
|
if (parent && parent._pendingResolve) {
|
|
60397
60842
|
this._pendingResolve = parent._pendingResolve.then(() => {
|
|
60398
60843
|
this._pendingResolve = void 0;
|
|
60399
|
-
this.
|
|
60844
|
+
if (this.isConnected) {
|
|
60845
|
+
return this._resolveDef();
|
|
60846
|
+
}
|
|
60400
60847
|
});
|
|
60401
60848
|
} else {
|
|
60402
60849
|
this._resolveDef();
|
|
@@ -60446,7 +60893,7 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
|
60446
60893
|
*/
|
|
60447
60894
|
_resolveDef() {
|
|
60448
60895
|
if (this._pendingResolve) {
|
|
60449
|
-
return;
|
|
60896
|
+
return this._pendingResolve;
|
|
60450
60897
|
}
|
|
60451
60898
|
for (let i = 0; i < this.attributes.length; i++) {
|
|
60452
60899
|
this._setAttr(this.attributes[i].name);
|
|
@@ -60486,6 +60933,7 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
|
60486
60933
|
def.configureApp = this._def.configureApp;
|
|
60487
60934
|
resolve(this._def = def, true);
|
|
60488
60935
|
});
|
|
60936
|
+
return this._pendingResolve;
|
|
60489
60937
|
} else {
|
|
60490
60938
|
resolve(this._def);
|
|
60491
60939
|
}
|
|
@@ -60523,6 +60971,11 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
|
60523
60971
|
}
|
|
60524
60972
|
}
|
|
60525
60973
|
for (const key of declaredPropKeys.map(shared.camelize)) {
|
|
60974
|
+
if (key in Object.getPrototypeOf(this)) {
|
|
60975
|
+
runtimeCore.warn(
|
|
60976
|
+
`Custom element prop "${key}" conflicts with an existing property on the element and will overwrite it.`
|
|
60977
|
+
);
|
|
60978
|
+
}
|
|
60526
60979
|
Object.defineProperty(this, key, {
|
|
60527
60980
|
get() {
|
|
60528
60981
|
return this._getProp(key);
|
|
@@ -60899,7 +61352,8 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
|
60899
61352
|
if (children) {
|
|
60900
61353
|
for (let i = 0; i < children.length; i++) {
|
|
60901
61354
|
const child = children[i];
|
|
60902
|
-
if (child.el && child.el instanceof Element
|
|
61355
|
+
if (child.el && child.el instanceof Element && // Hidden v-show nodes have no previous layout box to animate from.
|
|
61356
|
+
!child.el[vShowHidden]) {
|
|
60903
61357
|
prevChildren.push(child);
|
|
60904
61358
|
runtimeCore.setTransitionHooks(
|
|
60905
61359
|
child,
|
|
@@ -61003,6 +61457,7 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
|
61003
61457
|
}
|
|
61004
61458
|
}
|
|
61005
61459
|
var assignKey = /* @__PURE__ */ Symbol("_assign");
|
|
61460
|
+
var initialValueKey = /* @__PURE__ */ Symbol("_initialValue");
|
|
61006
61461
|
function castValue(value, trim, number) {
|
|
61007
61462
|
if (trim) value = value.trim();
|
|
61008
61463
|
if (number) value = shared.looseToNumber(value);
|
|
@@ -61010,6 +61465,13 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
|
61010
61465
|
}
|
|
61011
61466
|
var vModelText = {
|
|
61012
61467
|
created(el, { modifiers: { lazy, trim, number } }, vnode) {
|
|
61468
|
+
if (el.parentNode) {
|
|
61469
|
+
if (el.type === "text") {
|
|
61470
|
+
el[initialValueKey] = el.defaultValue.replace(/[\r\n]/g, "");
|
|
61471
|
+
} else if (el.type === "textarea") {
|
|
61472
|
+
el[initialValueKey] = el.defaultValue.replace(/\r\n?/g, "\n");
|
|
61473
|
+
}
|
|
61474
|
+
}
|
|
61013
61475
|
el[assignKey] = getModelAssigner(vnode);
|
|
61014
61476
|
const castToNumber = number || vnode.props && vnode.props.type === "number";
|
|
61015
61477
|
addEventListener(el, lazy ? "change" : "input", (e) => {
|
|
@@ -61028,8 +61490,15 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
|
61028
61490
|
}
|
|
61029
61491
|
},
|
|
61030
61492
|
// set value on mounted so it's after min/max for type="range"
|
|
61031
|
-
mounted(el, { value }) {
|
|
61032
|
-
|
|
61493
|
+
mounted(el, { value, modifiers: { trim, number } }) {
|
|
61494
|
+
const newValue = value == null ? "" : value;
|
|
61495
|
+
const initialValue = el[initialValueKey];
|
|
61496
|
+
delete el[initialValueKey];
|
|
61497
|
+
if (initialValue !== void 0 && (el.type === "text" || el.type === "textarea") && el.value !== initialValue) {
|
|
61498
|
+
el[assignKey](castValue(el.value, trim, number));
|
|
61499
|
+
} else {
|
|
61500
|
+
el.value = newValue;
|
|
61501
|
+
}
|
|
61033
61502
|
},
|
|
61034
61503
|
beforeUpdate(el, { value, oldValue, modifiers: { lazy, trim, number } }, vnode) {
|
|
61035
61504
|
el[assignKey] = getModelAssigner(vnode);
|
|
@@ -61125,13 +61594,13 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
|
61125
61594
|
// <select multiple> value need to be deep traversed
|
|
61126
61595
|
deep: true,
|
|
61127
61596
|
created(el, { value, modifiers: { number } }, vnode) {
|
|
61128
|
-
|
|
61597
|
+
el._modelValue = value;
|
|
61129
61598
|
addEventListener(el, "change", () => {
|
|
61130
61599
|
const selectedVal = Array.prototype.filter.call(el.options, (o) => o.selected).map(
|
|
61131
61600
|
(o) => number ? shared.looseToNumber(getValue(o)) : getValue(o)
|
|
61132
61601
|
);
|
|
61133
61602
|
el[assignKey](
|
|
61134
|
-
el.multiple ?
|
|
61603
|
+
el.multiple ? shared.isSet(el._modelValue) ? new Set(selectedVal) : selectedVal : selectedVal[0]
|
|
61135
61604
|
);
|
|
61136
61605
|
el._assigning = true;
|
|
61137
61606
|
runtimeCore.nextTick(() => {
|
|
@@ -61145,7 +61614,8 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
|
61145
61614
|
mounted(el, { value }) {
|
|
61146
61615
|
setSelected(el, value);
|
|
61147
61616
|
},
|
|
61148
|
-
beforeUpdate(el,
|
|
61617
|
+
beforeUpdate(el, { value }, vnode) {
|
|
61618
|
+
el._modelValue = value;
|
|
61149
61619
|
el[assignKey] = getModelAssigner(vnode);
|
|
61150
61620
|
},
|
|
61151
61621
|
updated(el, { value }) {
|
|
@@ -61472,9 +61942,9 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
|
61472
61942
|
}
|
|
61473
61943
|
});
|
|
61474
61944
|
|
|
61475
|
-
// ../../node_modules/.pnpm/@vue+runtime-dom@3.5.
|
|
61945
|
+
// ../../node_modules/.pnpm/@vue+runtime-dom@3.5.41/node_modules/@vue/runtime-dom/index.js
|
|
61476
61946
|
var require_runtime_dom = __commonJS({
|
|
61477
|
-
"../../node_modules/.pnpm/@vue+runtime-dom@3.5.
|
|
61947
|
+
"../../node_modules/.pnpm/@vue+runtime-dom@3.5.41/node_modules/@vue/runtime-dom/index.js"(exports2, module2) {
|
|
61478
61948
|
"use strict";
|
|
61479
61949
|
if (process.env.NODE_ENV === "production") {
|
|
61480
61950
|
module2.exports = require_runtime_dom_cjs_prod();
|
|
@@ -61484,9 +61954,9 @@ var require_runtime_dom = __commonJS({
|
|
|
61484
61954
|
}
|
|
61485
61955
|
});
|
|
61486
61956
|
|
|
61487
|
-
// ../../node_modules/.pnpm/vue@3.5.
|
|
61957
|
+
// ../../node_modules/.pnpm/vue@3.5.41_typescript@7.0.2/node_modules/vue/dist/vue.cjs.prod.js
|
|
61488
61958
|
var require_vue_cjs_prod = __commonJS({
|
|
61489
|
-
"../../node_modules/.pnpm/vue@3.5.
|
|
61959
|
+
"../../node_modules/.pnpm/vue@3.5.41_typescript@7.0.2/node_modules/vue/dist/vue.cjs.prod.js"(exports2) {
|
|
61490
61960
|
"use strict";
|
|
61491
61961
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
61492
61962
|
var compilerDom = require_compiler_dom();
|
|
@@ -61545,9 +62015,9 @@ var require_vue_cjs_prod = __commonJS({
|
|
|
61545
62015
|
}
|
|
61546
62016
|
});
|
|
61547
62017
|
|
|
61548
|
-
// ../../node_modules/.pnpm/vue@3.5.
|
|
62018
|
+
// ../../node_modules/.pnpm/vue@3.5.41_typescript@7.0.2/node_modules/vue/dist/vue.cjs.js
|
|
61549
62019
|
var require_vue_cjs = __commonJS({
|
|
61550
|
-
"../../node_modules/.pnpm/vue@3.5.
|
|
62020
|
+
"../../node_modules/.pnpm/vue@3.5.41_typescript@7.0.2/node_modules/vue/dist/vue.cjs.js"(exports2) {
|
|
61551
62021
|
"use strict";
|
|
61552
62022
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
61553
62023
|
var compilerDom = require_compiler_dom();
|
|
@@ -61620,9 +62090,9 @@ ${codeFrame}` : message);
|
|
|
61620
62090
|
}
|
|
61621
62091
|
});
|
|
61622
62092
|
|
|
61623
|
-
// ../../node_modules/.pnpm/vue@3.5.
|
|
62093
|
+
// ../../node_modules/.pnpm/vue@3.5.41_typescript@7.0.2/node_modules/vue/index.js
|
|
61624
62094
|
var require_vue = __commonJS({
|
|
61625
|
-
"../../node_modules/.pnpm/vue@3.5.
|
|
62095
|
+
"../../node_modules/.pnpm/vue@3.5.41_typescript@7.0.2/node_modules/vue/index.js"(exports2, module2) {
|
|
61626
62096
|
"use strict";
|
|
61627
62097
|
if (process.env.NODE_ENV === "production") {
|
|
61628
62098
|
module2.exports = require_vue_cjs_prod();
|
|
@@ -61643,24 +62113,36 @@ var iconSchema = external_exports.union([
|
|
|
61643
62113
|
]);
|
|
61644
62114
|
var titleSchema = external_exports.string().describe("Title to show use in any navigation links");
|
|
61645
62115
|
var pathSchema = external_exports.string().startsWith("/");
|
|
62116
|
+
var linkSectionSchema = external_exports.string().min(1, "A section heading cannot be empty. Omit `section` instead.").describe("The column heading this link sits under inside its dropdown. A dropdown renders as a multi-column mega menu when any child names a section; consecutive children sharing a section become one column. Ignored for items outside a group.");
|
|
61646
62117
|
|
|
61647
62118
|
// ../../packages/scalar-config/dist/schema/navigation/header.js
|
|
62119
|
+
var HEADER_ALIGNS = ["start", "center", "end"];
|
|
62120
|
+
var headerAlignSchema = zod_default.enum(HEADER_ALIGNS).describe("Where the item sits in the header. Omit it to let Scalar place the item. Ignored for items inside a group.");
|
|
61648
62121
|
var linkSchema = zod_default.object({
|
|
61649
62122
|
type: zod_default.literal("link"),
|
|
61650
62123
|
title: zod_default.string(),
|
|
61651
62124
|
icon: iconSchema.optional(),
|
|
61652
62125
|
style: zod_default.enum(["text", "button"]).optional(),
|
|
61653
62126
|
newTab: zod_default.boolean().default(false).optional(),
|
|
62127
|
+
align: headerAlignSchema.optional(),
|
|
62128
|
+
/**
|
|
62129
|
+
* Declared on every header link, not just dropdown children, exactly as
|
|
62130
|
+
* `align` is declared on items that may sit inside a group. The editor drags
|
|
62131
|
+
* links between the band and a dropdown, so one link shape keeps that move
|
|
62132
|
+
* from changing an item's schema.
|
|
62133
|
+
*/
|
|
62134
|
+
section: linkSectionSchema.optional(),
|
|
61654
62135
|
to: zod_default.union([
|
|
61655
62136
|
pathSchema.describe("A route path to another docs page, e.g. /about"),
|
|
61656
62137
|
zod_default.url().describe("An external link, e.g. https://www.example.com")
|
|
61657
62138
|
])
|
|
61658
62139
|
});
|
|
61659
62140
|
var headerSpacerSchema = zod_default.object({
|
|
61660
|
-
type: zod_default.literal("spacer")
|
|
62141
|
+
type: zod_default.literal("spacer").describe("Deprecated: use the align option instead")
|
|
61661
62142
|
});
|
|
61662
62143
|
var headerVersionSelectorSchema = zod_default.object({
|
|
61663
|
-
type: zod_default.literal("version-selector").describe("Renders the version selector dropdown at this position in the header")
|
|
62144
|
+
type: zod_default.literal("version-selector").describe("Renders the version selector dropdown at this position in the header"),
|
|
62145
|
+
align: headerAlignSchema.optional()
|
|
61664
62146
|
});
|
|
61665
62147
|
var headerItem = zod_default.discriminatedUnion("type", [
|
|
61666
62148
|
linkSchema,
|
|
@@ -61670,6 +62152,7 @@ var headerGroupSchema = zod_default.object({
|
|
|
61670
62152
|
type: zod_default.literal("group"),
|
|
61671
62153
|
title: zod_default.string(),
|
|
61672
62154
|
icon: iconSchema.optional(),
|
|
62155
|
+
align: headerAlignSchema.optional(),
|
|
61673
62156
|
children: headerItem.array()
|
|
61674
62157
|
});
|
|
61675
62158
|
var headerItemSchema = zod_default.discriminatedUnion("type", [
|
|
@@ -61739,7 +62222,15 @@ var scopedApiConfigSchema = external_exports.object({
|
|
|
61739
62222
|
var openapiNavigationEntryBase = external_exports.object({
|
|
61740
62223
|
title: titleSchema.optional(),
|
|
61741
62224
|
description: external_exports.string().optional(),
|
|
61742
|
-
|
|
62225
|
+
/**
|
|
62226
|
+
* `asyncapi` is a friendly alias for `openapi`. An API reference entry is a
|
|
62227
|
+
* folder of operations/channels plus models regardless of the document
|
|
62228
|
+
* format, and the format (OpenAPI vs AsyncAPI) is detected from the file
|
|
62229
|
+
* content downstream. So we accept either value for readability and fold it
|
|
62230
|
+
* to the single internal `openapi` reference kind, which keeps every consumer
|
|
62231
|
+
* that switches on `type === 'openapi'` working unchanged.
|
|
62232
|
+
*/
|
|
62233
|
+
type: external_exports.enum(["openapi", "asyncapi"]).describe("Marks an API reference entry. Use `openapi` or `asyncapi` \u2014 both behave identically; the document format is detected automatically from the file.").transform((value) => value === "asyncapi" ? "openapi" : value),
|
|
61743
62234
|
icon: iconSchema.optional(),
|
|
61744
62235
|
/** Optional mode to show the group in. Nested mode shows a sub-sidebar with breadcrumbs. Flat mode shows a single level of links with a section title. Folder mode shows a single level of links with a folder icon. */
|
|
61745
62236
|
mode: external_exports.enum(["nested", "flat", "folder"]).optional().default("folder").describe("The mode to show the group in. Nested mode shows a sub-sidebar with breadcrumbs. Flat mode shows a single level of links with a section title. Folder mode shows a single level of links with a folder icon."),
|
|
@@ -61755,17 +62246,17 @@ var openapiNavigationEntryPathBase = openapiNavigationEntryBase.extend({
|
|
|
61755
62246
|
filepath: external_exports.string().optional().describe("Relative path to the OpenAPI file with respect to the configuration root."),
|
|
61756
62247
|
slug: external_exports.string().optional().describe("The slug of the OpenAPI file in the registry."),
|
|
61757
62248
|
namespace: external_exports.string().optional().describe("The namespace of the OpenAPI file in the registry."),
|
|
61758
|
-
version: external_exports.string().optional().describe(
|
|
62249
|
+
version: external_exports.string().optional().describe('The version of the OpenAPI file in the registry. Defaults to "latest" when omitted.'),
|
|
61759
62250
|
disableSync: external_exports.boolean().optional().describe("When `filepath` is set, skip auto-publishing the spec to the Registry on docs publish."),
|
|
61760
62251
|
ruleset: rulesetConfigSchema.optional().describe("Spectral ruleset and publish policy for this route. Overrides the project-level ruleset on a per-key basis.")
|
|
61761
62252
|
});
|
|
61762
|
-
var hasOpenapiSource = (data) => !!data.filepath || !!data.slug && !!data.namespace
|
|
62253
|
+
var hasOpenapiSource = (data) => !!data.filepath || !!data.slug && !!data.namespace;
|
|
61763
62254
|
var openapiNavigationEntryPathSchema = openapiNavigationEntryPathBase.refine(hasOpenapiSource, {
|
|
61764
|
-
message: "OpenAPI route must have either `filepath`, or
|
|
62255
|
+
message: "OpenAPI route must have either `filepath`, or both `namespace` and `slug`."
|
|
61765
62256
|
}).describe("Local OpenAPI file with optional Registry coordinates for auto-publish.");
|
|
61766
62257
|
var openapiNavigationEntryLiveLinkSchema = openapiNavigationEntryBase.extend({
|
|
61767
62258
|
url: external_exports.string()
|
|
61768
|
-
}).describe("
|
|
62259
|
+
}).describe("OpenAPI document read from a URL. Fetched when the docs are built, not on page load, so changes to it appear on the next deployment.");
|
|
61769
62260
|
var openapiNavigationEntrySchema = external_exports.union([
|
|
61770
62261
|
openapiNavigationEntryPathSchema,
|
|
61771
62262
|
openapiNavigationEntryLiveLinkSchema
|
|
@@ -61800,9 +62291,22 @@ var internalOpenApiNavigationEntrySchema = external_exports.union([
|
|
|
61800
62291
|
|
|
61801
62292
|
// ../../packages/scalar-config/dist/schema/head.js
|
|
61802
62293
|
var tagPositionSchema = zod_default.enum(["head", "bodyClose", "bodyOpen"]).default("head");
|
|
62294
|
+
var scriptAttributes = {
|
|
62295
|
+
async: zod_default.boolean().optional().describe("Load the script without blocking the parser, running it as soon as it arrives."),
|
|
62296
|
+
defer: zod_default.boolean().optional().describe("Load the script without blocking the parser, running it after parsing in document order."),
|
|
62297
|
+
type: zod_default.string().optional().describe('The script type attribute, for example "module".')
|
|
62298
|
+
};
|
|
61803
62299
|
var loadableContentSchema = zod_default.union([
|
|
61804
|
-
zod_default.object({
|
|
61805
|
-
|
|
62300
|
+
zod_default.object({
|
|
62301
|
+
path: zod_default.string(),
|
|
62302
|
+
tagPosition: tagPositionSchema.optional(),
|
|
62303
|
+
...scriptAttributes
|
|
62304
|
+
}),
|
|
62305
|
+
zod_default.object({
|
|
62306
|
+
url: zod_default.string(),
|
|
62307
|
+
tagPosition: tagPositionSchema.optional(),
|
|
62308
|
+
...scriptAttributes
|
|
62309
|
+
})
|
|
61806
62310
|
]);
|
|
61807
62311
|
var headSchema = zod_default.object({
|
|
61808
62312
|
title: zod_default.string().optional().describe("The page title"),
|
|
@@ -61851,7 +62355,17 @@ var pageFrontmatterSchema = external_exports.object({
|
|
|
61851
62355
|
/** Optional head options (meta, scripts, etc-). */
|
|
61852
62356
|
head: headSchema.optional(),
|
|
61853
62357
|
/** Cover photo URL rendered as a banner above the page content. */
|
|
61854
|
-
backgroundImage: external_exports.string().optional().describe("Cover photo URL rendered as a banner above the page content.")
|
|
62358
|
+
backgroundImage: external_exports.string().optional().describe("Cover photo URL rendered as a banner above the page content."),
|
|
62359
|
+
/**
|
|
62360
|
+
* Publish date (`YYYY-MM-DD`), used as the entry date in a page-mode RSS feed.
|
|
62361
|
+
* Markdown frontmatter is read with the YAML 1.1 schema minus its timestamp
|
|
62362
|
+
* tag, so an unquoted `date: 2026-08-16` stays a string rather than being
|
|
62363
|
+
* coerced to a `Date` and shifted across timezones; `parseFrontmatter` also
|
|
62364
|
+
* trims a full ISO timestamp (`2026-08-16T01:00:00+09:00`) down to its
|
|
62365
|
+
* calendar date. A date set on a config page entry is expected to already be
|
|
62366
|
+
* a plain `YYYY-MM-DD` string.
|
|
62367
|
+
*/
|
|
62368
|
+
date: external_exports.string().optional().describe("Publish date (YYYY-MM-DD). Used as the entry date in a page-mode RSS feed.")
|
|
61855
62369
|
});
|
|
61856
62370
|
var basePageNavigationEntrySchema = pageFrontmatterSchema.extend({
|
|
61857
62371
|
type: external_exports.literal("page"),
|
|
@@ -61998,7 +62512,7 @@ var normalizeNavigationLink = (input) => {
|
|
|
61998
62512
|
}
|
|
61999
62513
|
return obj;
|
|
62000
62514
|
};
|
|
62001
|
-
var
|
|
62515
|
+
var navigationItemObjectSchema = external_exports.object({
|
|
62002
62516
|
title: external_exports.string(),
|
|
62003
62517
|
icon: iconSchema.optional(),
|
|
62004
62518
|
to: external_exports.union([
|
|
@@ -62006,12 +62520,16 @@ var navigationItemSchema = external_exports.preprocess(normalizeNavigationLink,
|
|
|
62006
62520
|
external_exports.url().describe("An external link, e.g. https://www.example.com")
|
|
62007
62521
|
]),
|
|
62008
62522
|
newTab: external_exports.boolean().default(true)
|
|
62523
|
+
});
|
|
62524
|
+
var navigationItemSchema = external_exports.preprocess(normalizeNavigationLink, navigationItemObjectSchema);
|
|
62525
|
+
var navigationTabLinkSchema = external_exports.preprocess(normalizeNavigationLink, navigationItemObjectSchema.extend({
|
|
62526
|
+
section: linkSectionSchema.optional()
|
|
62009
62527
|
}));
|
|
62010
62528
|
var navigationTabGroupSchema = external_exports.object({
|
|
62011
62529
|
type: external_exports.literal("group"),
|
|
62012
62530
|
title: external_exports.string(),
|
|
62013
62531
|
icon: iconSchema.optional(),
|
|
62014
|
-
children:
|
|
62532
|
+
children: navigationTabLinkSchema.array()
|
|
62015
62533
|
});
|
|
62016
62534
|
var navigationTabItemSchema = external_exports.preprocess((input) => {
|
|
62017
62535
|
if (typeof input !== "object" || input === null)
|
|
@@ -62051,20 +62569,8 @@ var internalNavigationConfigSchema = baseNavigationConfigSchema.extend({
|
|
|
62051
62569
|
routes: internalNavigationRoutesSchema
|
|
62052
62570
|
});
|
|
62053
62571
|
|
|
62054
|
-
// ../../packages/scalar-config/dist/
|
|
62055
|
-
var
|
|
62056
|
-
title: external_exports.string().optional().describe("Display name for the SDK."),
|
|
62057
|
-
description: external_exports.string().optional().describe("Description of the SDK."),
|
|
62058
|
-
slug: external_exports.string().optional().describe("Slug of the SDK in the team registry."),
|
|
62059
|
-
namespace: external_exports.string().optional().describe("Namespace of the SDK in the team registry."),
|
|
62060
|
-
api: external_exports.object({
|
|
62061
|
-
namespace: external_exports.string().optional().describe("Namespace of the source API in the registry."),
|
|
62062
|
-
slug: external_exports.string().describe("Slug of the source API. Matches an OpenAPI route in the project."),
|
|
62063
|
-
version: external_exports.string().optional().describe("Version of the source API.")
|
|
62064
|
-
}).describe("The project API this SDK is generated from."),
|
|
62065
|
-
config: scalarSdkConfigSchema.optional().describe("The SDK code generation config, inline as an object."),
|
|
62066
|
-
disableSync: external_exports.boolean().optional().describe("Skip auto-publishing this SDK config to the team registry on publish.")
|
|
62067
|
-
});
|
|
62572
|
+
// ../../packages/scalar-config/dist/helpers/rss.js
|
|
62573
|
+
var normalizeFeedPath = (feedPath) => feedPath.replace(/\/+$/, "") || "/";
|
|
62068
62574
|
|
|
62069
62575
|
// ../../packages/scalar-config/dist/schema/site-config.js
|
|
62070
62576
|
var redirectSchema = external_exports.object({
|
|
@@ -62080,6 +62586,18 @@ var logoSchema = external_exports.union([
|
|
|
62080
62586
|
external_exports.string(),
|
|
62081
62587
|
external_exports.object({ darkMode: external_exports.string(), lightMode: external_exports.string() })
|
|
62082
62588
|
]);
|
|
62589
|
+
var rssFeedSchema = external_exports.object({
|
|
62590
|
+
path: pathSchema.refine((value) => !value.split("/").includes(".."), 'Path must not contain ".." segments').describe('Route of the changelog, e.g. /changelog. Every heading carrying an ISO date on the page at this route, or on any page beneath it, becomes a feed item \u2014 e.g. `## 1.1.11 (2026-06-26)`. Headings without a date are part of the entry above them. Must be a plain site route with no ".." segments.'),
|
|
62591
|
+
title: external_exports.string().optional().describe('Feed title. Defaults to the site title followed by "Changelog".'),
|
|
62592
|
+
description: external_exports.string().optional().describe("Feed description."),
|
|
62593
|
+
entries: external_exports.enum(["headings", "pages"]).optional().describe("How feed items are found under `path`. 'headings' (default): each heading carrying an ISO date, e.g. `## 1.1.11 (2026-06-26)`, is an item \u2014 one page, many releases. 'pages': each page under `path` with a frontmatter `date` is one item \u2014 one page per post; pages without a `date` are skipped.")
|
|
62594
|
+
});
|
|
62595
|
+
var hasUniqueFeedPaths = (rss) => {
|
|
62596
|
+
if (!Array.isArray(rss))
|
|
62597
|
+
return true;
|
|
62598
|
+
const paths = rss.map((feed) => normalizeFeedPath(feed.path));
|
|
62599
|
+
return new Set(paths).size === paths.length;
|
|
62600
|
+
};
|
|
62083
62601
|
var siteConfigSchema = external_exports.object({
|
|
62084
62602
|
/** The custom domain of the site. This must have appropriate CNAME records set up as per dashboard.scalar.com instructions. */
|
|
62085
62603
|
customDomain: external_exports.string().optional().describe("The custom domain of the site"),
|
|
@@ -62120,11 +62638,7 @@ var siteConfigSchema = external_exports.object({
|
|
|
62120
62638
|
/** Head options for the site (meta, scripts, etc-) */
|
|
62121
62639
|
head: headSchema.optional(),
|
|
62122
62640
|
/** RSS feed configuration for changelog-style content */
|
|
62123
|
-
rss: external_exports.
|
|
62124
|
-
path: pathSchema.refine((value) => !value.split("/").includes(".."), 'Path must not contain ".." segments').describe('Route of the changelog, e.g. /changelog. Every heading carrying an ISO date on the page at this route, or on any page beneath it, becomes a feed item \u2014 e.g. `## 1.1.11 (2026-06-26)`. Headings without a date are part of the entry above them. Must be a plain site route with no ".." segments.'),
|
|
62125
|
-
title: external_exports.string().optional().describe('Feed title. Defaults to the site title followed by "Changelog".'),
|
|
62126
|
-
description: external_exports.string().optional().describe("Feed description.")
|
|
62127
|
-
}).optional().describe("Generate an RSS feed at <path>/rss.xml from the changelog at a path."),
|
|
62641
|
+
rss: external_exports.union([rssFeedSchema, external_exports.array(rssFeedSchema)]).refine(hasUniqueFeedPaths, "Each RSS feed must have a unique path.").optional().describe("Generate an RSS feed at <path>/rss.xml from a changelog. Pass one feed, or a list of feeds to publish several from different paths."),
|
|
62128
62642
|
/** Color scheme toggle configuration */
|
|
62129
62643
|
colorScheme: external_exports.object({
|
|
62130
62644
|
default: external_exports.enum(["light", "dark", "system"]).optional().describe("Default color scheme on page load."),
|
|
@@ -62135,15 +62649,28 @@ var siteConfigSchema = external_exports.object({
|
|
|
62135
62649
|
enabled: external_exports.boolean().optional().describe("Whether the Ask AI button is shown on the site."),
|
|
62136
62650
|
buttonText: external_exports.string().optional().describe('Label shown on the Ask AI button. Defaults to "Ask AI".'),
|
|
62137
62651
|
sidebarPosition: external_exports.enum(["below-search", "default"]).optional().describe('Placement of the Ask AI button in the sidebar. "default" renders it next to the search bar; "below-search" renders it on its own row beneath the search bar.'),
|
|
62652
|
+
position: external_exports.enum(["center", "right"]).optional().describe('Where the floating chat widget anchors at the bottom of the viewport: "center" (default) or "right".'),
|
|
62653
|
+
suggestions: external_exports.array(external_exports.string()).optional().describe("Suggested questions shown as pills above the chat input when it is focused. Two or three short questions work best."),
|
|
62138
62654
|
mcp: external_exports.object({
|
|
62655
|
+
url: external_exports.url({ protocol: /^https?$/ }).optional().describe("Absolute http(s) URL of a custom MCP server the docs install buttons point at. Overrides the site's own /mcp endpoint and the serverSlug/installationSlug binding. No auth header is sent, so protected servers must use client-side OAuth."),
|
|
62139
62656
|
serverSlug: slugSchema.optional().describe("Slug of the MCP server (scoped to the team)."),
|
|
62140
62657
|
installationSlug: slugSchema.optional().describe("Slug of the MCP installation (scoped to the MCP server).")
|
|
62141
|
-
}).optional().describe("
|
|
62658
|
+
}).optional().describe("Binds the docs project to an MCP: either a custom server URL, or an MCP server + installation referenced by slug (resolved on publish).")
|
|
62142
62659
|
}).optional().describe("Ask AI agent configuration"),
|
|
62143
62660
|
/** Analytics tracking preferences for the site */
|
|
62144
62661
|
analytics: external_exports.object({
|
|
62145
62662
|
cookieBanner: external_exports.boolean().optional().describe("Show an opt-in cookie consent banner before tracking. Required for GDPR-compliant deployments.")
|
|
62146
|
-
}).optional().describe("Analytics tracking preferences for the site")
|
|
62663
|
+
}).optional().describe("Analytics tracking preferences for the site"),
|
|
62664
|
+
/** AI and search content-usage preferences (Content Signals) */
|
|
62665
|
+
contentSignals: external_exports.union([
|
|
62666
|
+
external_exports.literal(false).describe("Set to false to omit the Content-Signal line from robots.txt entirely."),
|
|
62667
|
+
external_exports.object({
|
|
62668
|
+
enabled: external_exports.boolean().optional().describe("Master switch. Set to false to omit the Content-Signal line while keeping the per-signal preferences, so re-enabling restores them. Defaults to enabled."),
|
|
62669
|
+
search: external_exports.enum(["yes", "no"]).optional().describe("Allow building a search index and showing links plus short excerpts. Defaults to yes."),
|
|
62670
|
+
aiInput: external_exports.enum(["yes", "no"]).optional().describe("Allow feeding content to AI models for retrieval-augmented generation, grounding, or generative answers. Defaults to yes."),
|
|
62671
|
+
aiTrain: external_exports.enum(["yes", "no"]).optional().describe("Allow using content to train or fine-tune AI models. Defaults to yes.")
|
|
62672
|
+
})
|
|
62673
|
+
]).optional().describe("AI and search content-usage preferences, emitted as a Content-Signal line in the generated robots.txt. See https://contentsignals.org.")
|
|
62147
62674
|
}).default({});
|
|
62148
62675
|
|
|
62149
62676
|
// ../../packages/scalar-config/dist/schema/schema.js
|
|
@@ -62170,7 +62697,6 @@ var baseScalarConfigSchema = external_exports.object({
|
|
|
62170
62697
|
insertPageTitles: external_exports.boolean().optional().describe("Whether to insert an H1 with Title and Description at top of each guide page, or not. Deprecated. Write the title and description in the markdown instead."),
|
|
62171
62698
|
assetsDir: external_exports.string().optional().describe("Specify an assets folder to serve custom assets such as media files. These are served globally from the root path, e.g. /picture.png"),
|
|
62172
62699
|
ruleset: rulesetConfigSchema.optional().describe("Default Spectral ruleset and publish policy applied to every OpenAPI route. Per-route ruleset config overrides individual keys."),
|
|
62173
|
-
sdks: external_exports.record(external_exports.string(), sdkConfigSchema).optional().describe("Legacy, ignored: SDKs are platform-owned and managed on the dashboard. Kept so existing configs still parse."),
|
|
62174
62700
|
siteConfig: siteConfigSchema
|
|
62175
62701
|
});
|
|
62176
62702
|
var externalScalarConfigSchema = baseScalarConfigSchema.extend({
|
|
@@ -62495,6 +63021,8 @@ var legacyTo2_0_0 = (config) => {
|
|
|
62495
63021
|
root: config.root,
|
|
62496
63022
|
$schema: schemaCdn,
|
|
62497
63023
|
publishOnMerge: config.publishOnMerge,
|
|
63024
|
+
publishPreviews: config.publishPreviews,
|
|
63025
|
+
pullRequestComments: config.pullRequestComments,
|
|
62498
63026
|
assetsDir: config.assetsDir,
|
|
62499
63027
|
insertPageTitles: config.insertPageTitles,
|
|
62500
63028
|
info: {
|
|
@@ -62666,7 +63194,19 @@ function generateGuideItems({ children, items }) {
|
|
|
62666
63194
|
});
|
|
62667
63195
|
return routes;
|
|
62668
63196
|
}
|
|
62669
|
-
function
|
|
63197
|
+
function alignAroundSpacers(items) {
|
|
63198
|
+
const spacerIndex = items.findIndex((item) => item.type === "spacer");
|
|
63199
|
+
if (spacerIndex === -1) {
|
|
63200
|
+
return items;
|
|
63201
|
+
}
|
|
63202
|
+
return items.flatMap((item, index) => {
|
|
63203
|
+
if (item.type === "spacer") {
|
|
63204
|
+
return [];
|
|
63205
|
+
}
|
|
63206
|
+
return index > spacerIndex ? [{ ...item, align: "end" }] : [item];
|
|
63207
|
+
});
|
|
63208
|
+
}
|
|
63209
|
+
function generateGuideHeader({ header, guides, invalidRefs, references }) {
|
|
62670
63210
|
const headerItems = [];
|
|
62671
63211
|
header.forEach((item) => {
|
|
62672
63212
|
if (!item.show)
|
|
@@ -62679,8 +63219,7 @@ function generateGuideHeader({ header, guides, invalidRefs, references, isGroup
|
|
|
62679
63219
|
header: item.children,
|
|
62680
63220
|
guides,
|
|
62681
63221
|
invalidRefs,
|
|
62682
|
-
references
|
|
62683
|
-
isGroup: true
|
|
63222
|
+
references
|
|
62684
63223
|
}).filter((item2) => item2.type !== "group" && item2.type !== "version-selector")
|
|
62685
63224
|
});
|
|
62686
63225
|
}
|
|
@@ -62722,11 +63261,6 @@ function generateGuideHeader({ header, guides, invalidRefs, references, isGroup
|
|
|
62722
63261
|
});
|
|
62723
63262
|
}
|
|
62724
63263
|
});
|
|
62725
|
-
if (!isGroup && !headerItems.some((item) => item.type === "spacer")) {
|
|
62726
|
-
headerItems.push({
|
|
62727
|
-
type: "spacer"
|
|
62728
|
-
});
|
|
62729
|
-
}
|
|
62730
63264
|
return headerItems;
|
|
62731
63265
|
}
|
|
62732
63266
|
function getOrderedHeaderRefs(header) {
|
|
@@ -62848,12 +63382,12 @@ var wysiwygProjectToV2 = n.safeFn(({ project, invalidRefs, theme }) => {
|
|
|
62848
63382
|
const identifier = version.uid === activeVersion.uid ? "default" : slugify(version.name);
|
|
62849
63383
|
versions[identifier] = {
|
|
62850
63384
|
title: version.name,
|
|
62851
|
-
header: generateGuideHeader({
|
|
63385
|
+
header: alignAroundSpacers(generateGuideHeader({
|
|
62852
63386
|
header: version.header,
|
|
62853
63387
|
guides: version.guides,
|
|
62854
63388
|
references: version.references,
|
|
62855
63389
|
invalidRefs
|
|
62856
|
-
}),
|
|
63390
|
+
})),
|
|
62857
63391
|
routes: generateGuideRoutes({
|
|
62858
63392
|
guides: version.guides,
|
|
62859
63393
|
references: version.references,
|
|
@@ -63117,6 +63651,12 @@ var scalarConfigSchemaLegacy = external_exports.object({
|
|
|
63117
63651
|
/** Optional root directory specification relative to the config file. */
|
|
63118
63652
|
root: external_exports.string().optional(),
|
|
63119
63653
|
publishOnMerge: external_exports.boolean().optional(),
|
|
63654
|
+
// Declared here as well as in the V2 schema because the editor's settings
|
|
63655
|
+
// panels write these keys into whichever file the project has. A key the
|
|
63656
|
+
// schema does not declare is stripped on the next parse, so the write lands
|
|
63657
|
+
// in the file and the control springs back to its default.
|
|
63658
|
+
publishPreviews: external_exports.boolean().optional(),
|
|
63659
|
+
pullRequestComments: external_exports.boolean().optional(),
|
|
63120
63660
|
insertPageTitles: external_exports.boolean().default(true).describe("Whether to insert an H1 with Title and Description at top of each guide page, or not. Deprecated. Write the title and description in the markdown instead."),
|
|
63121
63661
|
subdomain: external_exports.preprocess((arg) => {
|
|
63122
63662
|
return typeof arg === "string" ? arg.split(".")[0] : arg;
|
|
@@ -63174,7 +63714,7 @@ function isConfigFileName(fileName) {
|
|
|
63174
63714
|
var import_gray_matter = __toESM(require_gray_matter(), 1);
|
|
63175
63715
|
|
|
63176
63716
|
// ../../packages/scalar-config/dist/legacy/resolvers/resolve-reference.js
|
|
63177
|
-
|
|
63717
|
+
import { normalize } from "@scalar/json-magic/helpers/normalize";
|
|
63178
63718
|
|
|
63179
63719
|
// ../../packages/scalar-config/dist/schema/postprocess/types.js
|
|
63180
63720
|
var llmPageSchema = zod_default.object({
|
|
@@ -63195,6 +63735,14 @@ function getConfigVersion(config) {
|
|
|
63195
63735
|
return ConfigVersion.V2;
|
|
63196
63736
|
return ConfigVersion.V1;
|
|
63197
63737
|
}
|
|
63738
|
+
function localizeValidationError(error, version, rawConfig) {
|
|
63739
|
+
if (version !== ConfigVersion.V2) {
|
|
63740
|
+
return error;
|
|
63741
|
+
}
|
|
63742
|
+
const branchSchema = "versions" in rawConfig ? scalarConfigMultiVersionSchema : scalarConfigSchemaSingleVersion;
|
|
63743
|
+
const branchResult = branchSchema.safeParse(rawConfig);
|
|
63744
|
+
return branchResult.success ? error : branchResult.error;
|
|
63745
|
+
}
|
|
63198
63746
|
function parseConfig(rawConfig) {
|
|
63199
63747
|
try {
|
|
63200
63748
|
const jsonConfigResult = parseAnything(rawConfig, zod_default.record(zod_default.string(), zod_default.unknown()));
|
|
@@ -63210,7 +63758,7 @@ function parseConfig(rawConfig) {
|
|
|
63210
63758
|
return {
|
|
63211
63759
|
success: false,
|
|
63212
63760
|
errorType: "validation",
|
|
63213
|
-
error,
|
|
63761
|
+
error: localizeValidationError(error, version, jsonConfigResult.data),
|
|
63214
63762
|
version
|
|
63215
63763
|
};
|
|
63216
63764
|
}
|
|
@@ -63229,8 +63777,9 @@ function parseConfig(rawConfig) {
|
|
|
63229
63777
|
// ../../packages/scalar-config/dist/resolvers/resolve-config.js
|
|
63230
63778
|
import { customAlphabet } from "nanoid";
|
|
63231
63779
|
var slugSafeNanoid = customAlphabet("0123456789abcdefghijklmnopqrstuvwxyz", 40);
|
|
63780
|
+
var DEFAULT_ASSETS_DIR = "assets";
|
|
63232
63781
|
|
|
63233
|
-
// ../../node_modules/.pnpm/vue@3.5.
|
|
63782
|
+
// ../../node_modules/.pnpm/vue@3.5.41_typescript@7.0.2/node_modules/vue/index.mjs
|
|
63234
63783
|
var vue_exports = {};
|
|
63235
63784
|
__reExport(vue_exports, __toESM(require_vue(), 1));
|
|
63236
63785
|
|
|
@@ -63278,6 +63827,7 @@ function searchInDirectory(directory) {
|
|
|
63278
63827
|
export {
|
|
63279
63828
|
scalarConfigSchema,
|
|
63280
63829
|
parseConfig,
|
|
63830
|
+
DEFAULT_ASSETS_DIR,
|
|
63281
63831
|
legacyTo2_0_0,
|
|
63282
63832
|
DEFAULT_MARKDOWN_FILE_NAME,
|
|
63283
63833
|
DEFAULT_OPENAPI_FILE_NAME,
|
|
@@ -63306,7 +63856,7 @@ strip-bom-string/index.js:
|
|
|
63306
63856
|
@vue/shared/dist/shared.cjs.prod.js:
|
|
63307
63857
|
@vue/shared/dist/shared.cjs.js:
|
|
63308
63858
|
(**
|
|
63309
|
-
* @vue/shared v3.5.
|
|
63859
|
+
* @vue/shared v3.5.41
|
|
63310
63860
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
63311
63861
|
* @license MIT
|
|
63312
63862
|
**)
|
|
@@ -63314,7 +63864,7 @@ strip-bom-string/index.js:
|
|
|
63314
63864
|
@vue/compiler-core/dist/compiler-core.cjs.prod.js:
|
|
63315
63865
|
@vue/compiler-core/dist/compiler-core.cjs.js:
|
|
63316
63866
|
(**
|
|
63317
|
-
* @vue/compiler-core v3.5.
|
|
63867
|
+
* @vue/compiler-core v3.5.41
|
|
63318
63868
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
63319
63869
|
* @license MIT
|
|
63320
63870
|
**)
|
|
@@ -63322,7 +63872,7 @@ strip-bom-string/index.js:
|
|
|
63322
63872
|
@vue/compiler-dom/dist/compiler-dom.cjs.prod.js:
|
|
63323
63873
|
@vue/compiler-dom/dist/compiler-dom.cjs.js:
|
|
63324
63874
|
(**
|
|
63325
|
-
* @vue/compiler-dom v3.5.
|
|
63875
|
+
* @vue/compiler-dom v3.5.41
|
|
63326
63876
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
63327
63877
|
* @license MIT
|
|
63328
63878
|
**)
|
|
@@ -63330,7 +63880,7 @@ strip-bom-string/index.js:
|
|
|
63330
63880
|
@vue/reactivity/dist/reactivity.cjs.prod.js:
|
|
63331
63881
|
@vue/reactivity/dist/reactivity.cjs.js:
|
|
63332
63882
|
(**
|
|
63333
|
-
* @vue/reactivity v3.5.
|
|
63883
|
+
* @vue/reactivity v3.5.41
|
|
63334
63884
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
63335
63885
|
* @license MIT
|
|
63336
63886
|
**)
|
|
@@ -63338,7 +63888,7 @@ strip-bom-string/index.js:
|
|
|
63338
63888
|
@vue/runtime-core/dist/runtime-core.cjs.prod.js:
|
|
63339
63889
|
@vue/runtime-core/dist/runtime-core.cjs.js:
|
|
63340
63890
|
(**
|
|
63341
|
-
* @vue/runtime-core v3.5.
|
|
63891
|
+
* @vue/runtime-core v3.5.41
|
|
63342
63892
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
63343
63893
|
* @license MIT
|
|
63344
63894
|
**)
|
|
@@ -63346,7 +63896,7 @@ strip-bom-string/index.js:
|
|
|
63346
63896
|
@vue/runtime-dom/dist/runtime-dom.cjs.prod.js:
|
|
63347
63897
|
@vue/runtime-dom/dist/runtime-dom.cjs.js:
|
|
63348
63898
|
(**
|
|
63349
|
-
* @vue/runtime-dom v3.5.
|
|
63899
|
+
* @vue/runtime-dom v3.5.41
|
|
63350
63900
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
63351
63901
|
* @license MIT
|
|
63352
63902
|
**)
|
|
@@ -63354,7 +63904,7 @@ strip-bom-string/index.js:
|
|
|
63354
63904
|
vue/dist/vue.cjs.prod.js:
|
|
63355
63905
|
vue/dist/vue.cjs.js:
|
|
63356
63906
|
(**
|
|
63357
|
-
* vue v3.5.
|
|
63907
|
+
* vue v3.5.41
|
|
63358
63908
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
63359
63909
|
* @license MIT
|
|
63360
63910
|
**)
|