@vtj/pro 0.13.37 → 0.13.39
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/dist/@vtj/materials/assets/antdv/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/charts/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/element/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/icons/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/ui/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/uni-h5/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/uni-ui/index.umd.js +2 -2
- package/dist/@vtj/materials/assets/vant/index.umd.js +2 -2
- package/dist/@vtj/materials/deps/@vtj/charts/index.umd.js +2 -2
- package/dist/@vtj/materials/deps/@vtj/icons/index.umd.js +2 -2
- package/dist/@vtj/materials/deps/@vtj/ui/index.umd.js +2 -2
- package/dist/@vtj/materials/deps/@vtj/utils/index.umd.js +2 -2
- package/dist/@vtj/materials/deps/element-plus/index.css +1 -1
- package/dist/@vtj/materials/deps/element-plus/index.full.min.js +29 -25
- package/dist/@vtj/materials/deps/element-plus/zh-cn.js +1 -1
- package/dist/@vtj/materials/deps/uni-h5/style.css +1 -1
- package/dist/@vtj/materials/deps/vant/index.css +1 -1
- package/dist/@vtj/materials/deps/vant/vant.min.js +3 -3
- package/dist/@vtj/materials/deps/vue/vue.global.js +314 -269
- package/dist/@vtj/materials/deps/vue/vue.global.prod.js +5 -5
- package/dist/@vtj/materials/deps/vue-router/vue-router.global.js +38 -55
- package/dist/@vtj/materials/deps/vue-router/vue-router.global.prod.js +2 -2
- package/dist/assets/{@element-plus-icons-vue-BKci8WR4.js → @element-plus-icons-vue-Cedkr9-t.js} +1 -1
- package/dist/assets/@vueuse-dfxA5MrB.js +1 -0
- package/dist/assets/{Editor-C188wTC2-CT2bNIwy.css → Editor-CB7H71mV-C0ROBped.css} +1 -1
- package/dist/assets/{Editor-C188wTC2-BOfmf5SQ.js → Editor-CB7H71mV-ZgvMz2MG.js} +115 -93
- package/dist/assets/auth-DnD_8cBd.js +1 -0
- package/dist/assets/element-plus-CTJx9qrF.js +12 -0
- package/dist/assets/element-plus-Cubt0wGL.css +1 -0
- package/dist/assets/index-CfEg0G4X.js +1 -0
- package/dist/assets/{index-BjHmKpJG.js → index-DRT_gnec.js} +2 -2
- package/dist/assets/{lodash-es-DyZ5XK_i.js → lodash-es-C_ofKwPd.js} +1 -1
- package/dist/assets/marked-Dt4xUbva.js +59 -0
- package/dist/assets/page-BoUPZL85.js +2 -0
- package/dist/assets/preview-6kb9FMSl.js +2 -0
- package/dist/assets/{uni-page-BA3KNMq4.js → uni-page-DhlBsrdh.js} +1 -1
- package/dist/assets/{utils-mR1S3rG4.js → utils-BRRyiuJG.js} +1 -1
- package/dist/assets/vue-DnlwaDgl.js +35 -0
- package/dist/assets/vue-router-C7QxHR5l.js +9 -0
- package/dist/assets/{vxe-CiIRgvGK.js → vxe-CV1GhgEu.js} +4 -4
- package/dist/index.html +10 -10
- package/dist/uni/assets/{@dcloudio-uni-h5-vue-8GkSpuEV.js → @dcloudio-uni-h5-vue-Dxv_ts1w.js} +1 -1
- package/dist/uni/assets/{index-CUMonOC2.js → index-BBaSDF4L.js} +19 -19
- package/dist/uni/assets/vue-router-C2iVG-hf.js +9 -0
- package/dist/uni/index.html +24 -3
- package/package.json +12 -12
- package/dist/assets/@vueuse-CFu7Lllw.js +0 -1
- package/dist/assets/auth-C3PaXnzI.js +0 -1
- package/dist/assets/element-plus-BCa6Zci8.js +0 -12
- package/dist/assets/element-plus-BZ_SBfk-.css +0 -1
- package/dist/assets/index-Cp7PhqpA.js +0 -1
- package/dist/assets/marked-BQZxLJfc.js +0 -56
- package/dist/assets/page-DZdkpbt3.js +0 -2
- package/dist/assets/preview-eqnT2qjR.js +0 -2
- package/dist/assets/vue-CAMRmZ-8.js +0 -35
- package/dist/assets/vue-router-CwSAuTE4.js +0 -9
- package/dist/uni/assets/vue-router-eQVOEjEf.js +0 -9
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* vue v3.5.
|
|
2
|
+
* vue v3.5.26
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -1005,13 +1005,13 @@ var Vue = (function (exports) {
|
|
|
1005
1005
|
}
|
|
1006
1006
|
}
|
|
1007
1007
|
const targetMap = /* @__PURE__ */ new WeakMap();
|
|
1008
|
-
const ITERATE_KEY = Symbol(
|
|
1008
|
+
const ITERATE_KEY = /* @__PURE__ */ Symbol(
|
|
1009
1009
|
"Object iterate"
|
|
1010
1010
|
);
|
|
1011
|
-
const MAP_KEY_ITERATE_KEY = Symbol(
|
|
1011
|
+
const MAP_KEY_ITERATE_KEY = /* @__PURE__ */ Symbol(
|
|
1012
1012
|
"Map keys iterate"
|
|
1013
1013
|
);
|
|
1014
|
-
const ARRAY_ITERATE_KEY = Symbol(
|
|
1014
|
+
const ARRAY_ITERATE_KEY = /* @__PURE__ */ Symbol(
|
|
1015
1015
|
"Array iterate"
|
|
1016
1016
|
);
|
|
1017
1017
|
function track(target, type, key) {
|
|
@@ -3060,7 +3060,152 @@ var Vue = (function (exports) {
|
|
|
3060
3060
|
}
|
|
3061
3061
|
}
|
|
3062
3062
|
|
|
3063
|
-
|
|
3063
|
+
function provide(key, value) {
|
|
3064
|
+
{
|
|
3065
|
+
if (!currentInstance || currentInstance.isMounted) {
|
|
3066
|
+
warn$1(`provide() can only be used inside setup().`);
|
|
3067
|
+
}
|
|
3068
|
+
}
|
|
3069
|
+
if (currentInstance) {
|
|
3070
|
+
let provides = currentInstance.provides;
|
|
3071
|
+
const parentProvides = currentInstance.parent && currentInstance.parent.provides;
|
|
3072
|
+
if (parentProvides === provides) {
|
|
3073
|
+
provides = currentInstance.provides = Object.create(parentProvides);
|
|
3074
|
+
}
|
|
3075
|
+
provides[key] = value;
|
|
3076
|
+
}
|
|
3077
|
+
}
|
|
3078
|
+
function inject(key, defaultValue, treatDefaultAsFactory = false) {
|
|
3079
|
+
const instance = getCurrentInstance();
|
|
3080
|
+
if (instance || currentApp) {
|
|
3081
|
+
let provides = currentApp ? currentApp._context.provides : instance ? instance.parent == null || instance.ce ? instance.vnode.appContext && instance.vnode.appContext.provides : instance.parent.provides : void 0;
|
|
3082
|
+
if (provides && key in provides) {
|
|
3083
|
+
return provides[key];
|
|
3084
|
+
} else if (arguments.length > 1) {
|
|
3085
|
+
return treatDefaultAsFactory && isFunction(defaultValue) ? defaultValue.call(instance && instance.proxy) : defaultValue;
|
|
3086
|
+
} else {
|
|
3087
|
+
warn$1(`injection "${String(key)}" not found.`);
|
|
3088
|
+
}
|
|
3089
|
+
} else {
|
|
3090
|
+
warn$1(`inject() can only be used inside setup() or functional components.`);
|
|
3091
|
+
}
|
|
3092
|
+
}
|
|
3093
|
+
function hasInjectionContext() {
|
|
3094
|
+
return !!(getCurrentInstance() || currentApp);
|
|
3095
|
+
}
|
|
3096
|
+
|
|
3097
|
+
const ssrContextKey = /* @__PURE__ */ Symbol.for("v-scx");
|
|
3098
|
+
const useSSRContext = () => {
|
|
3099
|
+
{
|
|
3100
|
+
warn$1(`useSSRContext() is not supported in the global build.`);
|
|
3101
|
+
}
|
|
3102
|
+
};
|
|
3103
|
+
|
|
3104
|
+
function watchEffect(effect, options) {
|
|
3105
|
+
return doWatch(effect, null, options);
|
|
3106
|
+
}
|
|
3107
|
+
function watchPostEffect(effect, options) {
|
|
3108
|
+
return doWatch(
|
|
3109
|
+
effect,
|
|
3110
|
+
null,
|
|
3111
|
+
extend({}, options, { flush: "post" })
|
|
3112
|
+
);
|
|
3113
|
+
}
|
|
3114
|
+
function watchSyncEffect(effect, options) {
|
|
3115
|
+
return doWatch(
|
|
3116
|
+
effect,
|
|
3117
|
+
null,
|
|
3118
|
+
extend({}, options, { flush: "sync" })
|
|
3119
|
+
);
|
|
3120
|
+
}
|
|
3121
|
+
function watch(source, cb, options) {
|
|
3122
|
+
if (!isFunction(cb)) {
|
|
3123
|
+
warn$1(
|
|
3124
|
+
`\`watch(fn, options?)\` signature has been moved to a separate API. Use \`watchEffect(fn, options?)\` instead. \`watch\` now only supports \`watch(source, cb, options?) signature.`
|
|
3125
|
+
);
|
|
3126
|
+
}
|
|
3127
|
+
return doWatch(source, cb, options);
|
|
3128
|
+
}
|
|
3129
|
+
function doWatch(source, cb, options = EMPTY_OBJ) {
|
|
3130
|
+
const { immediate, deep, flush, once } = options;
|
|
3131
|
+
if (!cb) {
|
|
3132
|
+
if (immediate !== void 0) {
|
|
3133
|
+
warn$1(
|
|
3134
|
+
`watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.`
|
|
3135
|
+
);
|
|
3136
|
+
}
|
|
3137
|
+
if (deep !== void 0) {
|
|
3138
|
+
warn$1(
|
|
3139
|
+
`watch() "deep" option is only respected when using the watch(source, callback, options?) signature.`
|
|
3140
|
+
);
|
|
3141
|
+
}
|
|
3142
|
+
if (once !== void 0) {
|
|
3143
|
+
warn$1(
|
|
3144
|
+
`watch() "once" option is only respected when using the watch(source, callback, options?) signature.`
|
|
3145
|
+
);
|
|
3146
|
+
}
|
|
3147
|
+
}
|
|
3148
|
+
const baseWatchOptions = extend({}, options);
|
|
3149
|
+
baseWatchOptions.onWarn = warn$1;
|
|
3150
|
+
const instance = currentInstance;
|
|
3151
|
+
baseWatchOptions.call = (fn, type, args) => callWithAsyncErrorHandling(fn, instance, type, args);
|
|
3152
|
+
let isPre = false;
|
|
3153
|
+
if (flush === "post") {
|
|
3154
|
+
baseWatchOptions.scheduler = (job) => {
|
|
3155
|
+
queuePostRenderEffect(job, instance && instance.suspense);
|
|
3156
|
+
};
|
|
3157
|
+
} else if (flush !== "sync") {
|
|
3158
|
+
isPre = true;
|
|
3159
|
+
baseWatchOptions.scheduler = (job, isFirstRun) => {
|
|
3160
|
+
if (isFirstRun) {
|
|
3161
|
+
job();
|
|
3162
|
+
} else {
|
|
3163
|
+
queueJob(job);
|
|
3164
|
+
}
|
|
3165
|
+
};
|
|
3166
|
+
}
|
|
3167
|
+
baseWatchOptions.augmentJob = (job) => {
|
|
3168
|
+
if (cb) {
|
|
3169
|
+
job.flags |= 4;
|
|
3170
|
+
}
|
|
3171
|
+
if (isPre) {
|
|
3172
|
+
job.flags |= 2;
|
|
3173
|
+
if (instance) {
|
|
3174
|
+
job.id = instance.uid;
|
|
3175
|
+
job.i = instance;
|
|
3176
|
+
}
|
|
3177
|
+
}
|
|
3178
|
+
};
|
|
3179
|
+
const watchHandle = watch$1(source, cb, baseWatchOptions);
|
|
3180
|
+
return watchHandle;
|
|
3181
|
+
}
|
|
3182
|
+
function instanceWatch(source, value, options) {
|
|
3183
|
+
const publicThis = this.proxy;
|
|
3184
|
+
const getter = isString(source) ? source.includes(".") ? createPathGetter(publicThis, source) : () => publicThis[source] : source.bind(publicThis, publicThis);
|
|
3185
|
+
let cb;
|
|
3186
|
+
if (isFunction(value)) {
|
|
3187
|
+
cb = value;
|
|
3188
|
+
} else {
|
|
3189
|
+
cb = value.handler;
|
|
3190
|
+
options = value;
|
|
3191
|
+
}
|
|
3192
|
+
const reset = setCurrentInstance(this);
|
|
3193
|
+
const res = doWatch(getter, cb.bind(publicThis), options);
|
|
3194
|
+
reset();
|
|
3195
|
+
return res;
|
|
3196
|
+
}
|
|
3197
|
+
function createPathGetter(ctx, path) {
|
|
3198
|
+
const segments = path.split(".");
|
|
3199
|
+
return () => {
|
|
3200
|
+
let cur = ctx;
|
|
3201
|
+
for (let i = 0; i < segments.length && cur; i++) {
|
|
3202
|
+
cur = cur[segments[i]];
|
|
3203
|
+
}
|
|
3204
|
+
return cur;
|
|
3205
|
+
};
|
|
3206
|
+
}
|
|
3207
|
+
|
|
3208
|
+
const TeleportEndKey = /* @__PURE__ */ Symbol("_vte");
|
|
3064
3209
|
const isTeleport = (type) => type.__isTeleport;
|
|
3065
3210
|
const isTeleportDisabled = (props) => props && (props.disabled || props.disabled === "");
|
|
3066
3211
|
const isTeleportDeferred = (props) => props && (props.defer || props.defer === "");
|
|
@@ -3420,8 +3565,8 @@ var Vue = (function (exports) {
|
|
|
3420
3565
|
return targetAnchor;
|
|
3421
3566
|
}
|
|
3422
3567
|
|
|
3423
|
-
const leaveCbKey = Symbol("_leaveCb");
|
|
3424
|
-
const enterCbKey$1 = Symbol("_enterCb");
|
|
3568
|
+
const leaveCbKey = /* @__PURE__ */ Symbol("_leaveCb");
|
|
3569
|
+
const enterCbKey$1 = /* @__PURE__ */ Symbol("_enterCb");
|
|
3425
3570
|
function useTransitionState() {
|
|
3426
3571
|
const state = {
|
|
3427
3572
|
isMounted: false,
|
|
@@ -4952,7 +5097,9 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
4952
5097
|
}
|
|
4953
5098
|
function pruneCache(filter) {
|
|
4954
5099
|
cache.forEach((vnode, key) => {
|
|
4955
|
-
const name = getComponentName(
|
|
5100
|
+
const name = getComponentName(
|
|
5101
|
+
isAsyncWrapper(vnode) ? vnode.type.__asyncResolved || {} : vnode.type
|
|
5102
|
+
);
|
|
4956
5103
|
if (name && !filter(name)) {
|
|
4957
5104
|
pruneCacheEntry(key);
|
|
4958
5105
|
}
|
|
@@ -5179,7 +5326,7 @@ Server rendered element contains fewer child nodes than client vdom.`
|
|
|
5179
5326
|
function resolveComponent(name, maybeSelfReference) {
|
|
5180
5327
|
return resolveAsset(COMPONENTS, name, true, maybeSelfReference) || name;
|
|
5181
5328
|
}
|
|
5182
|
-
const NULL_DYNAMIC_COMPONENT = Symbol.for("v-ndc");
|
|
5329
|
+
const NULL_DYNAMIC_COMPONENT = /* @__PURE__ */ Symbol.for("v-ndc");
|
|
5183
5330
|
function resolveDynamicComponent(component) {
|
|
5184
5331
|
if (isString(component)) {
|
|
5185
5332
|
return resolveAsset(COMPONENTS, component, false) || component;
|
|
@@ -6340,151 +6487,6 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
6340
6487
|
}
|
|
6341
6488
|
let currentApp = null;
|
|
6342
6489
|
|
|
6343
|
-
function provide(key, value) {
|
|
6344
|
-
{
|
|
6345
|
-
if (!currentInstance || currentInstance.isMounted) {
|
|
6346
|
-
warn$1(`provide() can only be used inside setup().`);
|
|
6347
|
-
}
|
|
6348
|
-
}
|
|
6349
|
-
if (currentInstance) {
|
|
6350
|
-
let provides = currentInstance.provides;
|
|
6351
|
-
const parentProvides = currentInstance.parent && currentInstance.parent.provides;
|
|
6352
|
-
if (parentProvides === provides) {
|
|
6353
|
-
provides = currentInstance.provides = Object.create(parentProvides);
|
|
6354
|
-
}
|
|
6355
|
-
provides[key] = value;
|
|
6356
|
-
}
|
|
6357
|
-
}
|
|
6358
|
-
function inject(key, defaultValue, treatDefaultAsFactory = false) {
|
|
6359
|
-
const instance = getCurrentInstance();
|
|
6360
|
-
if (instance || currentApp) {
|
|
6361
|
-
let provides = currentApp ? currentApp._context.provides : instance ? instance.parent == null || instance.ce ? instance.vnode.appContext && instance.vnode.appContext.provides : instance.parent.provides : void 0;
|
|
6362
|
-
if (provides && key in provides) {
|
|
6363
|
-
return provides[key];
|
|
6364
|
-
} else if (arguments.length > 1) {
|
|
6365
|
-
return treatDefaultAsFactory && isFunction(defaultValue) ? defaultValue.call(instance && instance.proxy) : defaultValue;
|
|
6366
|
-
} else {
|
|
6367
|
-
warn$1(`injection "${String(key)}" not found.`);
|
|
6368
|
-
}
|
|
6369
|
-
} else {
|
|
6370
|
-
warn$1(`inject() can only be used inside setup() or functional components.`);
|
|
6371
|
-
}
|
|
6372
|
-
}
|
|
6373
|
-
function hasInjectionContext() {
|
|
6374
|
-
return !!(getCurrentInstance() || currentApp);
|
|
6375
|
-
}
|
|
6376
|
-
|
|
6377
|
-
const ssrContextKey = Symbol.for("v-scx");
|
|
6378
|
-
const useSSRContext = () => {
|
|
6379
|
-
{
|
|
6380
|
-
warn$1(`useSSRContext() is not supported in the global build.`);
|
|
6381
|
-
}
|
|
6382
|
-
};
|
|
6383
|
-
|
|
6384
|
-
function watchEffect(effect, options) {
|
|
6385
|
-
return doWatch(effect, null, options);
|
|
6386
|
-
}
|
|
6387
|
-
function watchPostEffect(effect, options) {
|
|
6388
|
-
return doWatch(
|
|
6389
|
-
effect,
|
|
6390
|
-
null,
|
|
6391
|
-
extend({}, options, { flush: "post" })
|
|
6392
|
-
);
|
|
6393
|
-
}
|
|
6394
|
-
function watchSyncEffect(effect, options) {
|
|
6395
|
-
return doWatch(
|
|
6396
|
-
effect,
|
|
6397
|
-
null,
|
|
6398
|
-
extend({}, options, { flush: "sync" })
|
|
6399
|
-
);
|
|
6400
|
-
}
|
|
6401
|
-
function watch(source, cb, options) {
|
|
6402
|
-
if (!isFunction(cb)) {
|
|
6403
|
-
warn$1(
|
|
6404
|
-
`\`watch(fn, options?)\` signature has been moved to a separate API. Use \`watchEffect(fn, options?)\` instead. \`watch\` now only supports \`watch(source, cb, options?) signature.`
|
|
6405
|
-
);
|
|
6406
|
-
}
|
|
6407
|
-
return doWatch(source, cb, options);
|
|
6408
|
-
}
|
|
6409
|
-
function doWatch(source, cb, options = EMPTY_OBJ) {
|
|
6410
|
-
const { immediate, deep, flush, once } = options;
|
|
6411
|
-
if (!cb) {
|
|
6412
|
-
if (immediate !== void 0) {
|
|
6413
|
-
warn$1(
|
|
6414
|
-
`watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.`
|
|
6415
|
-
);
|
|
6416
|
-
}
|
|
6417
|
-
if (deep !== void 0) {
|
|
6418
|
-
warn$1(
|
|
6419
|
-
`watch() "deep" option is only respected when using the watch(source, callback, options?) signature.`
|
|
6420
|
-
);
|
|
6421
|
-
}
|
|
6422
|
-
if (once !== void 0) {
|
|
6423
|
-
warn$1(
|
|
6424
|
-
`watch() "once" option is only respected when using the watch(source, callback, options?) signature.`
|
|
6425
|
-
);
|
|
6426
|
-
}
|
|
6427
|
-
}
|
|
6428
|
-
const baseWatchOptions = extend({}, options);
|
|
6429
|
-
baseWatchOptions.onWarn = warn$1;
|
|
6430
|
-
const instance = currentInstance;
|
|
6431
|
-
baseWatchOptions.call = (fn, type, args) => callWithAsyncErrorHandling(fn, instance, type, args);
|
|
6432
|
-
let isPre = false;
|
|
6433
|
-
if (flush === "post") {
|
|
6434
|
-
baseWatchOptions.scheduler = (job) => {
|
|
6435
|
-
queuePostRenderEffect(job, instance && instance.suspense);
|
|
6436
|
-
};
|
|
6437
|
-
} else if (flush !== "sync") {
|
|
6438
|
-
isPre = true;
|
|
6439
|
-
baseWatchOptions.scheduler = (job, isFirstRun) => {
|
|
6440
|
-
if (isFirstRun) {
|
|
6441
|
-
job();
|
|
6442
|
-
} else {
|
|
6443
|
-
queueJob(job);
|
|
6444
|
-
}
|
|
6445
|
-
};
|
|
6446
|
-
}
|
|
6447
|
-
baseWatchOptions.augmentJob = (job) => {
|
|
6448
|
-
if (cb) {
|
|
6449
|
-
job.flags |= 4;
|
|
6450
|
-
}
|
|
6451
|
-
if (isPre) {
|
|
6452
|
-
job.flags |= 2;
|
|
6453
|
-
if (instance) {
|
|
6454
|
-
job.id = instance.uid;
|
|
6455
|
-
job.i = instance;
|
|
6456
|
-
}
|
|
6457
|
-
}
|
|
6458
|
-
};
|
|
6459
|
-
const watchHandle = watch$1(source, cb, baseWatchOptions);
|
|
6460
|
-
return watchHandle;
|
|
6461
|
-
}
|
|
6462
|
-
function instanceWatch(source, value, options) {
|
|
6463
|
-
const publicThis = this.proxy;
|
|
6464
|
-
const getter = isString(source) ? source.includes(".") ? createPathGetter(publicThis, source) : () => publicThis[source] : source.bind(publicThis, publicThis);
|
|
6465
|
-
let cb;
|
|
6466
|
-
if (isFunction(value)) {
|
|
6467
|
-
cb = value;
|
|
6468
|
-
} else {
|
|
6469
|
-
cb = value.handler;
|
|
6470
|
-
options = value;
|
|
6471
|
-
}
|
|
6472
|
-
const reset = setCurrentInstance(this);
|
|
6473
|
-
const res = doWatch(getter, cb.bind(publicThis), options);
|
|
6474
|
-
reset();
|
|
6475
|
-
return res;
|
|
6476
|
-
}
|
|
6477
|
-
function createPathGetter(ctx, path) {
|
|
6478
|
-
const segments = path.split(".");
|
|
6479
|
-
return () => {
|
|
6480
|
-
let cur = ctx;
|
|
6481
|
-
for (let i = 0; i < segments.length && cur; i++) {
|
|
6482
|
-
cur = cur[segments[i]];
|
|
6483
|
-
}
|
|
6484
|
-
return cur;
|
|
6485
|
-
};
|
|
6486
|
-
}
|
|
6487
|
-
|
|
6488
6490
|
function useModel(props, name, options = EMPTY_OBJ) {
|
|
6489
6491
|
const i = getCurrentInstance();
|
|
6490
6492
|
if (!i) {
|
|
@@ -7667,7 +7669,15 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
7667
7669
|
} else {
|
|
7668
7670
|
const el = n2.el = n1.el;
|
|
7669
7671
|
if (n2.children !== n1.children) {
|
|
7670
|
-
|
|
7672
|
+
if (isHmrUpdating && n2.patchFlag === -1 && "__elIndex" in n1) {
|
|
7673
|
+
const childNodes = container.childNodes;
|
|
7674
|
+
const newChild = hostCreateText(n2.children);
|
|
7675
|
+
const oldChild = childNodes[n2.__elIndex = n1.__elIndex];
|
|
7676
|
+
hostInsert(newChild, container, oldChild);
|
|
7677
|
+
hostRemove(oldChild);
|
|
7678
|
+
} else {
|
|
7679
|
+
hostSetText(el, n2.children);
|
|
7680
|
+
}
|
|
7671
7681
|
}
|
|
7672
7682
|
}
|
|
7673
7683
|
};
|
|
@@ -8053,7 +8063,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
8053
8063
|
} else {
|
|
8054
8064
|
if (patchFlag > 0 && patchFlag & 64 && dynamicChildren && // #2715 the previous fragment could've been a BAILed one as a result
|
|
8055
8065
|
// of renderSlot() with no valid children
|
|
8056
|
-
n1.dynamicChildren) {
|
|
8066
|
+
n1.dynamicChildren && n1.dynamicChildren.length === dynamicChildren.length) {
|
|
8057
8067
|
patchBlockChildren(
|
|
8058
8068
|
n1.dynamicChildren,
|
|
8059
8069
|
dynamicChildren,
|
|
@@ -8642,8 +8652,8 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
8642
8652
|
const nextChild = c2[nextIndex];
|
|
8643
8653
|
const anchorVNode = c2[nextIndex + 1];
|
|
8644
8654
|
const anchor = nextIndex + 1 < l2 ? (
|
|
8645
|
-
// #13559, fallback to el placeholder for unresolved async component
|
|
8646
|
-
anchorVNode.el || anchorVNode
|
|
8655
|
+
// #13559, #14173 fallback to el placeholder for unresolved async component
|
|
8656
|
+
anchorVNode.el || resolveAsyncComponentPlaceholder(anchorVNode)
|
|
8647
8657
|
) : parentAnchor;
|
|
8648
8658
|
if (newIndexToOldIndexMap[i] === 0) {
|
|
8649
8659
|
patch(
|
|
@@ -8899,9 +8909,11 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
8899
8909
|
};
|
|
8900
8910
|
let isFlushing = false;
|
|
8901
8911
|
const render = (vnode, container, namespace) => {
|
|
8912
|
+
let instance;
|
|
8902
8913
|
if (vnode == null) {
|
|
8903
8914
|
if (container._vnode) {
|
|
8904
8915
|
unmount(container._vnode, null, null, true);
|
|
8916
|
+
instance = container._vnode.component;
|
|
8905
8917
|
}
|
|
8906
8918
|
} else {
|
|
8907
8919
|
patch(
|
|
@@ -8917,7 +8929,7 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
8917
8929
|
container._vnode = vnode;
|
|
8918
8930
|
if (!isFlushing) {
|
|
8919
8931
|
isFlushing = true;
|
|
8920
|
-
flushPreFlushCbs();
|
|
8932
|
+
flushPreFlushCbs(instance);
|
|
8921
8933
|
flushPostFlushCbs();
|
|
8922
8934
|
isFlushing = false;
|
|
8923
8935
|
}
|
|
@@ -8977,9 +8989,13 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
8977
8989
|
if (!shallow && c2.patchFlag !== -2)
|
|
8978
8990
|
traverseStaticChildren(c1, c2);
|
|
8979
8991
|
}
|
|
8980
|
-
if (c2.type === Text
|
|
8981
|
-
|
|
8982
|
-
|
|
8992
|
+
if (c2.type === Text) {
|
|
8993
|
+
if (c2.patchFlag !== -1) {
|
|
8994
|
+
c2.el = c1.el;
|
|
8995
|
+
} else {
|
|
8996
|
+
c2.__elIndex = i + // take fragment start anchor into account
|
|
8997
|
+
(n1.type === Fragment ? 1 : 0);
|
|
8998
|
+
}
|
|
8983
8999
|
}
|
|
8984
9000
|
if (c2.type === Comment && !c2.el) {
|
|
8985
9001
|
c2.el = c1.el;
|
|
@@ -9046,6 +9062,16 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
9046
9062
|
hooks[i].flags |= 8;
|
|
9047
9063
|
}
|
|
9048
9064
|
}
|
|
9065
|
+
function resolveAsyncComponentPlaceholder(anchorVnode) {
|
|
9066
|
+
if (anchorVnode.placeholder) {
|
|
9067
|
+
return anchorVnode.placeholder;
|
|
9068
|
+
}
|
|
9069
|
+
const instance = anchorVnode.component;
|
|
9070
|
+
if (instance) {
|
|
9071
|
+
return resolveAsyncComponentPlaceholder(instance.subTree);
|
|
9072
|
+
}
|
|
9073
|
+
return null;
|
|
9074
|
+
}
|
|
9049
9075
|
|
|
9050
9076
|
const isSuspense = (type) => type.__isSuspense;
|
|
9051
9077
|
let suspenseId = 0;
|
|
@@ -9648,10 +9674,10 @@ If you want to remount the same app, move your app creation logic into a factory
|
|
|
9648
9674
|
return suspensible != null && suspensible !== false;
|
|
9649
9675
|
}
|
|
9650
9676
|
|
|
9651
|
-
const Fragment = Symbol.for("v-fgt");
|
|
9652
|
-
const Text = Symbol.for("v-txt");
|
|
9653
|
-
const Comment = Symbol.for("v-cmt");
|
|
9654
|
-
const Static = Symbol.for("v-stc");
|
|
9677
|
+
const Fragment = /* @__PURE__ */ Symbol.for("v-fgt");
|
|
9678
|
+
const Text = /* @__PURE__ */ Symbol.for("v-txt");
|
|
9679
|
+
const Comment = /* @__PURE__ */ Symbol.for("v-cmt");
|
|
9680
|
+
const Static = /* @__PURE__ */ Symbol.for("v-stc");
|
|
9655
9681
|
const blockStack = [];
|
|
9656
9682
|
let currentBlock = null;
|
|
9657
9683
|
function openBlock(disableTracking = false) {
|
|
@@ -10681,7 +10707,7 @@ Component that was made reactive: `,
|
|
|
10681
10707
|
return true;
|
|
10682
10708
|
}
|
|
10683
10709
|
|
|
10684
|
-
const version = "3.5.
|
|
10710
|
+
const version = "3.5.26";
|
|
10685
10711
|
const warn = warn$1 ;
|
|
10686
10712
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
10687
10713
|
const devtools = devtools$1 ;
|
|
@@ -10774,7 +10800,7 @@ Component that was made reactive: `,
|
|
|
10774
10800
|
|
|
10775
10801
|
const TRANSITION$1 = "transition";
|
|
10776
10802
|
const ANIMATION = "animation";
|
|
10777
|
-
const vtcKey = Symbol("_vtc");
|
|
10803
|
+
const vtcKey = /* @__PURE__ */ Symbol("_vtc");
|
|
10778
10804
|
const DOMTransitionPropsValidators = {
|
|
10779
10805
|
name: String,
|
|
10780
10806
|
type: String,
|
|
@@ -11067,8 +11093,8 @@ Component that was made reactive: `,
|
|
|
11067
11093
|
}
|
|
11068
11094
|
}
|
|
11069
11095
|
|
|
11070
|
-
const vShowOriginalDisplay = Symbol("_vod");
|
|
11071
|
-
const vShowHidden = Symbol("_vsh");
|
|
11096
|
+
const vShowOriginalDisplay = /* @__PURE__ */ Symbol("_vod");
|
|
11097
|
+
const vShowHidden = /* @__PURE__ */ Symbol("_vsh");
|
|
11072
11098
|
const vShow = {
|
|
11073
11099
|
// used for prop mismatch check during hydration
|
|
11074
11100
|
name: "show",
|
|
@@ -11110,7 +11136,7 @@ Component that was made reactive: `,
|
|
|
11110
11136
|
el[vShowHidden] = !value;
|
|
11111
11137
|
}
|
|
11112
11138
|
|
|
11113
|
-
const CSS_VAR_TEXT = Symbol("CSS_VAR_TEXT" );
|
|
11139
|
+
const CSS_VAR_TEXT = /* @__PURE__ */ Symbol("CSS_VAR_TEXT" );
|
|
11114
11140
|
function useCssVars(getter) {
|
|
11115
11141
|
const instance = getCurrentInstance();
|
|
11116
11142
|
if (!instance) {
|
|
@@ -11360,7 +11386,7 @@ Component that was made reactive: `,
|
|
|
11360
11386
|
function removeEventListener(el, event, handler, options) {
|
|
11361
11387
|
el.removeEventListener(event, handler, options);
|
|
11362
11388
|
}
|
|
11363
|
-
const veiKey = Symbol("_vei");
|
|
11389
|
+
const veiKey = /* @__PURE__ */ Symbol("_vei");
|
|
11364
11390
|
function patchEvent(el, rawName, prevValue, nextValue, instance = null) {
|
|
11365
11391
|
const invokers = el[veiKey] || (el[veiKey] = {});
|
|
11366
11392
|
const existingInvoker = invokers[rawName];
|
|
@@ -11986,8 +12012,8 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
|
11986
12012
|
|
|
11987
12013
|
const positionMap = /* @__PURE__ */ new WeakMap();
|
|
11988
12014
|
const newPositionMap = /* @__PURE__ */ new WeakMap();
|
|
11989
|
-
const moveCbKey = Symbol("_moveCb");
|
|
11990
|
-
const enterCbKey = Symbol("_enterCb");
|
|
12015
|
+
const moveCbKey = /* @__PURE__ */ Symbol("_moveCb");
|
|
12016
|
+
const enterCbKey = /* @__PURE__ */ Symbol("_enterCb");
|
|
11991
12017
|
const decorate = (t) => {
|
|
11992
12018
|
delete t.props.mode;
|
|
11993
12019
|
return t;
|
|
@@ -12140,7 +12166,7 @@ Expected function or array of functions, received type ${typeof value}.`
|
|
|
12140
12166
|
target.dispatchEvent(new Event("input"));
|
|
12141
12167
|
}
|
|
12142
12168
|
}
|
|
12143
|
-
const assignKey = Symbol("_assign");
|
|
12169
|
+
const assignKey = /* @__PURE__ */ Symbol("_assign");
|
|
12144
12170
|
function castValue(value, trim, number) {
|
|
12145
12171
|
if (trim) value = value.trim();
|
|
12146
12172
|
if (number) value = looseToNumber(value);
|
|
@@ -12552,81 +12578,81 @@ Make sure to use the production build (*.prod.js) when deploying for production.
|
|
|
12552
12578
|
}
|
|
12553
12579
|
}
|
|
12554
12580
|
|
|
12555
|
-
const FRAGMENT = Symbol(`Fragment` );
|
|
12556
|
-
const TELEPORT = Symbol(`Teleport` );
|
|
12557
|
-
const SUSPENSE = Symbol(`Suspense` );
|
|
12558
|
-
const KEEP_ALIVE = Symbol(`KeepAlive` );
|
|
12559
|
-
const BASE_TRANSITION = Symbol(
|
|
12581
|
+
const FRAGMENT = /* @__PURE__ */ Symbol(`Fragment` );
|
|
12582
|
+
const TELEPORT = /* @__PURE__ */ Symbol(`Teleport` );
|
|
12583
|
+
const SUSPENSE = /* @__PURE__ */ Symbol(`Suspense` );
|
|
12584
|
+
const KEEP_ALIVE = /* @__PURE__ */ Symbol(`KeepAlive` );
|
|
12585
|
+
const BASE_TRANSITION = /* @__PURE__ */ Symbol(
|
|
12560
12586
|
`BaseTransition`
|
|
12561
12587
|
);
|
|
12562
|
-
const OPEN_BLOCK = Symbol(`openBlock` );
|
|
12563
|
-
const CREATE_BLOCK = Symbol(`createBlock` );
|
|
12564
|
-
const CREATE_ELEMENT_BLOCK = Symbol(
|
|
12588
|
+
const OPEN_BLOCK = /* @__PURE__ */ Symbol(`openBlock` );
|
|
12589
|
+
const CREATE_BLOCK = /* @__PURE__ */ Symbol(`createBlock` );
|
|
12590
|
+
const CREATE_ELEMENT_BLOCK = /* @__PURE__ */ Symbol(
|
|
12565
12591
|
`createElementBlock`
|
|
12566
12592
|
);
|
|
12567
|
-
const CREATE_VNODE = Symbol(`createVNode` );
|
|
12568
|
-
const CREATE_ELEMENT_VNODE = Symbol(
|
|
12593
|
+
const CREATE_VNODE = /* @__PURE__ */ Symbol(`createVNode` );
|
|
12594
|
+
const CREATE_ELEMENT_VNODE = /* @__PURE__ */ Symbol(
|
|
12569
12595
|
`createElementVNode`
|
|
12570
12596
|
);
|
|
12571
|
-
const CREATE_COMMENT = Symbol(
|
|
12597
|
+
const CREATE_COMMENT = /* @__PURE__ */ Symbol(
|
|
12572
12598
|
`createCommentVNode`
|
|
12573
12599
|
);
|
|
12574
|
-
const CREATE_TEXT = Symbol(
|
|
12600
|
+
const CREATE_TEXT = /* @__PURE__ */ Symbol(
|
|
12575
12601
|
`createTextVNode`
|
|
12576
12602
|
);
|
|
12577
|
-
const CREATE_STATIC = Symbol(
|
|
12603
|
+
const CREATE_STATIC = /* @__PURE__ */ Symbol(
|
|
12578
12604
|
`createStaticVNode`
|
|
12579
12605
|
);
|
|
12580
|
-
const RESOLVE_COMPONENT = Symbol(
|
|
12606
|
+
const RESOLVE_COMPONENT = /* @__PURE__ */ Symbol(
|
|
12581
12607
|
`resolveComponent`
|
|
12582
12608
|
);
|
|
12583
|
-
const RESOLVE_DYNAMIC_COMPONENT = Symbol(
|
|
12609
|
+
const RESOLVE_DYNAMIC_COMPONENT = /* @__PURE__ */ Symbol(
|
|
12584
12610
|
`resolveDynamicComponent`
|
|
12585
12611
|
);
|
|
12586
|
-
const RESOLVE_DIRECTIVE = Symbol(
|
|
12612
|
+
const RESOLVE_DIRECTIVE = /* @__PURE__ */ Symbol(
|
|
12587
12613
|
`resolveDirective`
|
|
12588
12614
|
);
|
|
12589
|
-
const RESOLVE_FILTER = Symbol(
|
|
12615
|
+
const RESOLVE_FILTER = /* @__PURE__ */ Symbol(
|
|
12590
12616
|
`resolveFilter`
|
|
12591
12617
|
);
|
|
12592
|
-
const WITH_DIRECTIVES = Symbol(
|
|
12618
|
+
const WITH_DIRECTIVES = /* @__PURE__ */ Symbol(
|
|
12593
12619
|
`withDirectives`
|
|
12594
12620
|
);
|
|
12595
|
-
const RENDER_LIST = Symbol(`renderList` );
|
|
12596
|
-
const RENDER_SLOT = Symbol(`renderSlot` );
|
|
12597
|
-
const CREATE_SLOTS = Symbol(`createSlots` );
|
|
12598
|
-
const TO_DISPLAY_STRING = Symbol(
|
|
12621
|
+
const RENDER_LIST = /* @__PURE__ */ Symbol(`renderList` );
|
|
12622
|
+
const RENDER_SLOT = /* @__PURE__ */ Symbol(`renderSlot` );
|
|
12623
|
+
const CREATE_SLOTS = /* @__PURE__ */ Symbol(`createSlots` );
|
|
12624
|
+
const TO_DISPLAY_STRING = /* @__PURE__ */ Symbol(
|
|
12599
12625
|
`toDisplayString`
|
|
12600
12626
|
);
|
|
12601
|
-
const MERGE_PROPS = Symbol(`mergeProps` );
|
|
12602
|
-
const NORMALIZE_CLASS = Symbol(
|
|
12627
|
+
const MERGE_PROPS = /* @__PURE__ */ Symbol(`mergeProps` );
|
|
12628
|
+
const NORMALIZE_CLASS = /* @__PURE__ */ Symbol(
|
|
12603
12629
|
`normalizeClass`
|
|
12604
12630
|
);
|
|
12605
|
-
const NORMALIZE_STYLE = Symbol(
|
|
12631
|
+
const NORMALIZE_STYLE = /* @__PURE__ */ Symbol(
|
|
12606
12632
|
`normalizeStyle`
|
|
12607
12633
|
);
|
|
12608
|
-
const NORMALIZE_PROPS = Symbol(
|
|
12634
|
+
const NORMALIZE_PROPS = /* @__PURE__ */ Symbol(
|
|
12609
12635
|
`normalizeProps`
|
|
12610
12636
|
);
|
|
12611
|
-
const GUARD_REACTIVE_PROPS = Symbol(
|
|
12637
|
+
const GUARD_REACTIVE_PROPS = /* @__PURE__ */ Symbol(
|
|
12612
12638
|
`guardReactiveProps`
|
|
12613
12639
|
);
|
|
12614
|
-
const TO_HANDLERS = Symbol(`toHandlers` );
|
|
12615
|
-
const CAMELIZE = Symbol(`camelize` );
|
|
12616
|
-
const CAPITALIZE = Symbol(`capitalize` );
|
|
12617
|
-
const TO_HANDLER_KEY = Symbol(
|
|
12640
|
+
const TO_HANDLERS = /* @__PURE__ */ Symbol(`toHandlers` );
|
|
12641
|
+
const CAMELIZE = /* @__PURE__ */ Symbol(`camelize` );
|
|
12642
|
+
const CAPITALIZE = /* @__PURE__ */ Symbol(`capitalize` );
|
|
12643
|
+
const TO_HANDLER_KEY = /* @__PURE__ */ Symbol(
|
|
12618
12644
|
`toHandlerKey`
|
|
12619
12645
|
);
|
|
12620
|
-
const SET_BLOCK_TRACKING = Symbol(
|
|
12646
|
+
const SET_BLOCK_TRACKING = /* @__PURE__ */ Symbol(
|
|
12621
12647
|
`setBlockTracking`
|
|
12622
12648
|
);
|
|
12623
|
-
const PUSH_SCOPE_ID = Symbol(`pushScopeId` );
|
|
12624
|
-
const POP_SCOPE_ID = Symbol(`popScopeId` );
|
|
12625
|
-
const WITH_CTX = Symbol(`withCtx` );
|
|
12626
|
-
const UNREF = Symbol(`unref` );
|
|
12627
|
-
const IS_REF = Symbol(`isRef` );
|
|
12628
|
-
const WITH_MEMO = Symbol(`withMemo` );
|
|
12629
|
-
const IS_MEMO_SAME = Symbol(`isMemoSame` );
|
|
12649
|
+
const PUSH_SCOPE_ID = /* @__PURE__ */ Symbol(`pushScopeId` );
|
|
12650
|
+
const POP_SCOPE_ID = /* @__PURE__ */ Symbol(`popScopeId` );
|
|
12651
|
+
const WITH_CTX = /* @__PURE__ */ Symbol(`withCtx` );
|
|
12652
|
+
const UNREF = /* @__PURE__ */ Symbol(`unref` );
|
|
12653
|
+
const IS_REF = /* @__PURE__ */ Symbol(`isRef` );
|
|
12654
|
+
const WITH_MEMO = /* @__PURE__ */ Symbol(`withMemo` );
|
|
12655
|
+
const IS_MEMO_SAME = /* @__PURE__ */ Symbol(`isMemoSame` );
|
|
12630
12656
|
const helperNameMap = {
|
|
12631
12657
|
[FRAGMENT]: `Fragment`,
|
|
12632
12658
|
[TELEPORT]: `Teleport`,
|
|
@@ -12921,14 +12947,28 @@ Make sure to use the production build (*.prod.js) when deploying for production.
|
|
|
12921
12947
|
getPos(index) {
|
|
12922
12948
|
let line = 1;
|
|
12923
12949
|
let column = index + 1;
|
|
12924
|
-
|
|
12925
|
-
|
|
12926
|
-
|
|
12927
|
-
|
|
12928
|
-
|
|
12929
|
-
|
|
12950
|
+
const length = this.newlines.length;
|
|
12951
|
+
let j = -1;
|
|
12952
|
+
if (length > 100) {
|
|
12953
|
+
let l = -1;
|
|
12954
|
+
let r = length;
|
|
12955
|
+
while (l + 1 < r) {
|
|
12956
|
+
const m = l + r >>> 1;
|
|
12957
|
+
this.newlines[m] < index ? l = m : r = m;
|
|
12958
|
+
}
|
|
12959
|
+
j = l;
|
|
12960
|
+
} else {
|
|
12961
|
+
for (let i = length - 1; i >= 0; i--) {
|
|
12962
|
+
if (index > this.newlines[i]) {
|
|
12963
|
+
j = i;
|
|
12964
|
+
break;
|
|
12965
|
+
}
|
|
12930
12966
|
}
|
|
12931
12967
|
}
|
|
12968
|
+
if (j >= 0) {
|
|
12969
|
+
line = j + 2;
|
|
12970
|
+
column = index - this.newlines[j];
|
|
12971
|
+
}
|
|
12932
12972
|
return {
|
|
12933
12973
|
column,
|
|
12934
12974
|
line,
|
|
@@ -13676,7 +13716,7 @@ Make sure to use the production build (*.prod.js) when deploying for production.
|
|
|
13676
13716
|
[32]: `v-for has invalid expression.`,
|
|
13677
13717
|
[33]: `<template v-for> key should be placed on the <template> tag.`,
|
|
13678
13718
|
[34]: `v-bind is missing expression.`,
|
|
13679
|
-
[
|
|
13719
|
+
[53]: `v-bind with same-name shorthand only allows static argument.`,
|
|
13680
13720
|
[35]: `v-on is missing expression.`,
|
|
13681
13721
|
[36]: `Unexpected custom directive on <slot> outlet.`,
|
|
13682
13722
|
[37]: `Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.`,
|
|
@@ -13688,16 +13728,17 @@ Make sure to use the production build (*.prod.js) when deploying for production.
|
|
|
13688
13728
|
[43]: `v-model cannot be used on v-for or v-slot scope variables because they are not writable.`,
|
|
13689
13729
|
[44]: `v-model cannot be used on a prop, because local prop bindings are not writable.
|
|
13690
13730
|
Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,
|
|
13691
|
-
[45]: `
|
|
13692
|
-
[46]:
|
|
13693
|
-
[
|
|
13731
|
+
[45]: `v-model cannot be used on a const binding because it is not writable.`,
|
|
13732
|
+
[46]: `Error parsing JavaScript expression: `,
|
|
13733
|
+
[47]: `<KeepAlive> expects exactly one child component.`,
|
|
13734
|
+
[52]: `@vnode-* hooks in templates are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in 3.4.`,
|
|
13694
13735
|
// generic errors
|
|
13695
|
-
[
|
|
13696
|
-
[
|
|
13697
|
-
[
|
|
13698
|
-
[
|
|
13736
|
+
[48]: `"prefixIdentifiers" option is not supported in this build of compiler.`,
|
|
13737
|
+
[49]: `ES module mode is not supported in this build of compiler.`,
|
|
13738
|
+
[50]: `"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.`,
|
|
13739
|
+
[51]: `"scopeId" option is only supported in module mode.`,
|
|
13699
13740
|
// just to fulfill types
|
|
13700
|
-
[
|
|
13741
|
+
[54]: ``
|
|
13701
13742
|
};
|
|
13702
13743
|
|
|
13703
13744
|
const isStaticExp = (p) => p.type === 4 && p.isStatic;
|
|
@@ -15786,7 +15827,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
15786
15827
|
}
|
|
15787
15828
|
context.onError(
|
|
15788
15829
|
createCompilerError(
|
|
15789
|
-
|
|
15830
|
+
46,
|
|
15790
15831
|
node.loc,
|
|
15791
15832
|
void 0,
|
|
15792
15833
|
message
|
|
@@ -16549,7 +16590,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
16549
16590
|
patchFlag |= 1024;
|
|
16550
16591
|
if (node.children.length > 1) {
|
|
16551
16592
|
context.onError(
|
|
16552
|
-
createCompilerError(
|
|
16593
|
+
createCompilerError(47, {
|
|
16553
16594
|
start: node.children[0].loc.start,
|
|
16554
16595
|
end: node.children[node.children.length - 1].loc.end,
|
|
16555
16596
|
source: ""
|
|
@@ -17096,7 +17137,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
17096
17137
|
if (arg.isStatic) {
|
|
17097
17138
|
let rawName = arg.content;
|
|
17098
17139
|
if (rawName.startsWith("vnode")) {
|
|
17099
|
-
context.onError(createCompilerError(
|
|
17140
|
+
context.onError(createCompilerError(52, arg.loc));
|
|
17100
17141
|
}
|
|
17101
17142
|
if (rawName.startsWith("vue:")) {
|
|
17102
17143
|
rawName = `vnode-${rawName.slice(4)}`;
|
|
@@ -17329,6 +17370,10 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
17329
17370
|
context.onError(createCompilerError(44, exp.loc));
|
|
17330
17371
|
return createTransformProps();
|
|
17331
17372
|
}
|
|
17373
|
+
if (bindingType === "literal-const" || bindingType === "setup-const") {
|
|
17374
|
+
context.onError(createCompilerError(45, exp.loc));
|
|
17375
|
+
return createTransformProps();
|
|
17376
|
+
}
|
|
17332
17377
|
if (!expString.trim() || !isMemberExpression(exp) && true) {
|
|
17333
17378
|
context.onError(
|
|
17334
17379
|
createCompilerError(42, exp.loc)
|
|
@@ -17408,7 +17453,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
17408
17453
|
if (arg.type !== 4 || !arg.isStatic) {
|
|
17409
17454
|
context.onError(
|
|
17410
17455
|
createCompilerError(
|
|
17411
|
-
|
|
17456
|
+
53,
|
|
17412
17457
|
arg.loc
|
|
17413
17458
|
)
|
|
17414
17459
|
);
|
|
@@ -17452,17 +17497,17 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
17452
17497
|
const isModuleMode = options.mode === "module";
|
|
17453
17498
|
{
|
|
17454
17499
|
if (options.prefixIdentifiers === true) {
|
|
17455
|
-
onError(createCompilerError(47));
|
|
17456
|
-
} else if (isModuleMode) {
|
|
17457
17500
|
onError(createCompilerError(48));
|
|
17501
|
+
} else if (isModuleMode) {
|
|
17502
|
+
onError(createCompilerError(49));
|
|
17458
17503
|
}
|
|
17459
17504
|
}
|
|
17460
17505
|
const prefixIdentifiers = false;
|
|
17461
17506
|
if (options.cacheHandlers) {
|
|
17462
|
-
onError(createCompilerError(
|
|
17507
|
+
onError(createCompilerError(50));
|
|
17463
17508
|
}
|
|
17464
17509
|
if (options.scopeId && !isModuleMode) {
|
|
17465
|
-
onError(createCompilerError(
|
|
17510
|
+
onError(createCompilerError(51));
|
|
17466
17511
|
}
|
|
17467
17512
|
const resolvedOptions = extend({}, options, {
|
|
17468
17513
|
prefixIdentifiers
|
|
@@ -17490,26 +17535,26 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
17490
17535
|
|
|
17491
17536
|
const noopDirectiveTransform = () => ({ props: [] });
|
|
17492
17537
|
|
|
17493
|
-
const V_MODEL_RADIO = Symbol(`vModelRadio` );
|
|
17494
|
-
const V_MODEL_CHECKBOX = Symbol(
|
|
17538
|
+
const V_MODEL_RADIO = /* @__PURE__ */ Symbol(`vModelRadio` );
|
|
17539
|
+
const V_MODEL_CHECKBOX = /* @__PURE__ */ Symbol(
|
|
17495
17540
|
`vModelCheckbox`
|
|
17496
17541
|
);
|
|
17497
|
-
const V_MODEL_TEXT = Symbol(`vModelText` );
|
|
17498
|
-
const V_MODEL_SELECT = Symbol(
|
|
17542
|
+
const V_MODEL_TEXT = /* @__PURE__ */ Symbol(`vModelText` );
|
|
17543
|
+
const V_MODEL_SELECT = /* @__PURE__ */ Symbol(
|
|
17499
17544
|
`vModelSelect`
|
|
17500
17545
|
);
|
|
17501
|
-
const V_MODEL_DYNAMIC = Symbol(
|
|
17546
|
+
const V_MODEL_DYNAMIC = /* @__PURE__ */ Symbol(
|
|
17502
17547
|
`vModelDynamic`
|
|
17503
17548
|
);
|
|
17504
|
-
const V_ON_WITH_MODIFIERS = Symbol(
|
|
17549
|
+
const V_ON_WITH_MODIFIERS = /* @__PURE__ */ Symbol(
|
|
17505
17550
|
`vOnModifiersGuard`
|
|
17506
17551
|
);
|
|
17507
|
-
const V_ON_WITH_KEYS = Symbol(
|
|
17552
|
+
const V_ON_WITH_KEYS = /* @__PURE__ */ Symbol(
|
|
17508
17553
|
`vOnKeysGuard`
|
|
17509
17554
|
);
|
|
17510
|
-
const V_SHOW = Symbol(`vShow` );
|
|
17511
|
-
const TRANSITION = Symbol(`Transition` );
|
|
17512
|
-
const TRANSITION_GROUP = Symbol(
|
|
17555
|
+
const V_SHOW = /* @__PURE__ */ Symbol(`vShow` );
|
|
17556
|
+
const TRANSITION = /* @__PURE__ */ Symbol(`Transition` );
|
|
17557
|
+
const TRANSITION_GROUP = /* @__PURE__ */ Symbol(
|
|
17513
17558
|
`TransitionGroup`
|
|
17514
17559
|
);
|
|
17515
17560
|
registerRuntimeHelpers({
|
|
@@ -17620,29 +17665,29 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
17620
17665
|
);
|
|
17621
17666
|
}
|
|
17622
17667
|
const DOMErrorMessages = {
|
|
17623
|
-
[
|
|
17624
|
-
[
|
|
17625
|
-
[
|
|
17626
|
-
[
|
|
17627
|
-
[
|
|
17628
|
-
[
|
|
17629
|
-
[
|
|
17630
|
-
[
|
|
17631
|
-
[
|
|
17632
|
-
[
|
|
17633
|
-
[
|
|
17668
|
+
[54]: `v-html is missing expression.`,
|
|
17669
|
+
[55]: `v-html will override element children.`,
|
|
17670
|
+
[56]: `v-text is missing expression.`,
|
|
17671
|
+
[57]: `v-text will override element children.`,
|
|
17672
|
+
[58]: `v-model can only be used on <input>, <textarea> and <select> elements.`,
|
|
17673
|
+
[59]: `v-model argument is not supported on plain elements.`,
|
|
17674
|
+
[60]: `v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.`,
|
|
17675
|
+
[61]: `Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.`,
|
|
17676
|
+
[62]: `v-show is missing expression.`,
|
|
17677
|
+
[63]: `<Transition> expects exactly one child element or component.`,
|
|
17678
|
+
[64]: `Tags with side effect (<script> and <style>) are ignored in client component templates.`
|
|
17634
17679
|
};
|
|
17635
17680
|
|
|
17636
17681
|
const transformVHtml = (dir, node, context) => {
|
|
17637
17682
|
const { exp, loc } = dir;
|
|
17638
17683
|
if (!exp) {
|
|
17639
17684
|
context.onError(
|
|
17640
|
-
createDOMCompilerError(
|
|
17685
|
+
createDOMCompilerError(54, loc)
|
|
17641
17686
|
);
|
|
17642
17687
|
}
|
|
17643
17688
|
if (node.children.length) {
|
|
17644
17689
|
context.onError(
|
|
17645
|
-
createDOMCompilerError(
|
|
17690
|
+
createDOMCompilerError(55, loc)
|
|
17646
17691
|
);
|
|
17647
17692
|
node.children.length = 0;
|
|
17648
17693
|
}
|
|
@@ -17660,12 +17705,12 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
17660
17705
|
const { exp, loc } = dir;
|
|
17661
17706
|
if (!exp) {
|
|
17662
17707
|
context.onError(
|
|
17663
|
-
createDOMCompilerError(
|
|
17708
|
+
createDOMCompilerError(56, loc)
|
|
17664
17709
|
);
|
|
17665
17710
|
}
|
|
17666
17711
|
if (node.children.length) {
|
|
17667
17712
|
context.onError(
|
|
17668
|
-
createDOMCompilerError(
|
|
17713
|
+
createDOMCompilerError(57, loc)
|
|
17669
17714
|
);
|
|
17670
17715
|
node.children.length = 0;
|
|
17671
17716
|
}
|
|
@@ -17691,7 +17736,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
17691
17736
|
if (dir.arg) {
|
|
17692
17737
|
context.onError(
|
|
17693
17738
|
createDOMCompilerError(
|
|
17694
|
-
|
|
17739
|
+
59,
|
|
17695
17740
|
dir.arg.loc
|
|
17696
17741
|
)
|
|
17697
17742
|
);
|
|
@@ -17701,7 +17746,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
17701
17746
|
if (value && isStaticArgOf(value.arg, "value")) {
|
|
17702
17747
|
context.onError(
|
|
17703
17748
|
createDOMCompilerError(
|
|
17704
|
-
|
|
17749
|
+
61,
|
|
17705
17750
|
value.loc
|
|
17706
17751
|
)
|
|
17707
17752
|
);
|
|
@@ -17729,7 +17774,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
17729
17774
|
isInvalidType = true;
|
|
17730
17775
|
context.onError(
|
|
17731
17776
|
createDOMCompilerError(
|
|
17732
|
-
|
|
17777
|
+
60,
|
|
17733
17778
|
dir.loc
|
|
17734
17779
|
)
|
|
17735
17780
|
);
|
|
@@ -17755,7 +17800,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
17755
17800
|
} else {
|
|
17756
17801
|
context.onError(
|
|
17757
17802
|
createDOMCompilerError(
|
|
17758
|
-
|
|
17803
|
+
58,
|
|
17759
17804
|
dir.loc
|
|
17760
17805
|
)
|
|
17761
17806
|
);
|
|
@@ -17857,7 +17902,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
17857
17902
|
const { exp, loc } = dir;
|
|
17858
17903
|
if (!exp) {
|
|
17859
17904
|
context.onError(
|
|
17860
|
-
createDOMCompilerError(
|
|
17905
|
+
createDOMCompilerError(62, loc)
|
|
17861
17906
|
);
|
|
17862
17907
|
}
|
|
17863
17908
|
return {
|
|
@@ -17877,7 +17922,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
17877
17922
|
if (hasMultipleChildren(node)) {
|
|
17878
17923
|
context.onError(
|
|
17879
17924
|
createDOMCompilerError(
|
|
17880
|
-
|
|
17925
|
+
63,
|
|
17881
17926
|
{
|
|
17882
17927
|
start: node.children[0].loc.start,
|
|
17883
17928
|
end: node.children[node.children.length - 1].loc.end,
|
|
@@ -17916,7 +17961,7 @@ Use a v-bind binding combined with a v-on listener that emits update:x event ins
|
|
|
17916
17961
|
if (node.type === 1 && node.tagType === 0 && (node.tag === "script" || node.tag === "style")) {
|
|
17917
17962
|
context.onError(
|
|
17918
17963
|
createDOMCompilerError(
|
|
17919
|
-
|
|
17964
|
+
64,
|
|
17920
17965
|
node.loc
|
|
17921
17966
|
)
|
|
17922
17967
|
);
|