mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-30 12:01:20 -08:00
V5 (#509)
* update artplayer.d.ts * update variables.less * update artplayerPluginControl * build:all * update docs * update docs * update docs * Update layers.md * update index.js * update docs * update docs
This commit is contained in:
1 parent
c8c08137c4
commit
ee49a0435e
202 files changed
+5293
-3466
No files matched your search
@@ -1,32 +1,32 @@
|
||||
// node_modules/vitepress/dist/client/theme-default/index.js
|
||||
import "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/styles/fonts.css";
|
||||
import "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/styles/vars.css";
|
||||
import "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/styles/base.css";
|
||||
import "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/styles/utils.css";
|
||||
import "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/styles/components/custom-block.css";
|
||||
import "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/styles/components/vp-code.css";
|
||||
import "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/styles/components/vp-code-group.css";
|
||||
import "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/styles/components/vp-doc.css";
|
||||
import "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/styles/components/vp-sponsor.css";
|
||||
import VPBadge from "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/components/VPBadge.vue";
|
||||
import Layout from "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/Layout.vue";
|
||||
import NotFound from "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/NotFound.vue";
|
||||
import { default as default2 } from "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/components/VPHomeHero.vue";
|
||||
import { default as default3 } from "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/components/VPHomeFeatures.vue";
|
||||
import { default as default4 } from "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/components/VPHomeSponsors.vue";
|
||||
import { default as default5 } from "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/components/VPDocAsideSponsors.vue";
|
||||
import { default as default6 } from "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/components/VPTeamPage.vue";
|
||||
import { default as default7 } from "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/components/VPTeamPageTitle.vue";
|
||||
import { default as default8 } from "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/components/VPTeamPageSection.vue";
|
||||
import { default as default9 } from "/Users/zhaohaiwei/Desktop/github/ArtPlayer/packages/artplayer-vitepress/node_modules/vitepress/dist/client/theme-default/components/VPTeamMembers.vue";
|
||||
// ../../node_modules/vitepress/dist/client/theme-default/index.js
|
||||
import "/Users/zhaohaiwei/Desktop/github/ArtPlayer/node_modules/vitepress/dist/client/theme-default/styles/fonts.css";
|
||||
|
||||
// ../../node_modules/vitepress/dist/client/theme-default/without-fonts.js
|
||||
import "/Users/zhaohaiwei/Desktop/github/ArtPlayer/node_modules/vitepress/dist/client/theme-default/styles/vars.css";
|
||||
import "/Users/zhaohaiwei/Desktop/github/ArtPlayer/node_modules/vitepress/dist/client/theme-default/styles/base.css";
|
||||
import "/Users/zhaohaiwei/Desktop/github/ArtPlayer/node_modules/vitepress/dist/client/theme-default/styles/utils.css";
|
||||
import "/Users/zhaohaiwei/Desktop/github/ArtPlayer/node_modules/vitepress/dist/client/theme-default/styles/components/custom-block.css";
|
||||
import "/Users/zhaohaiwei/Desktop/github/ArtPlayer/node_modules/vitepress/dist/client/theme-default/styles/components/vp-code.css";
|
||||
import "/Users/zhaohaiwei/Desktop/github/ArtPlayer/node_modules/vitepress/dist/client/theme-default/styles/components/vp-code-group.css";
|
||||
import "/Users/zhaohaiwei/Desktop/github/ArtPlayer/node_modules/vitepress/dist/client/theme-default/styles/components/vp-doc.css";
|
||||
import "/Users/zhaohaiwei/Desktop/github/ArtPlayer/node_modules/vitepress/dist/client/theme-default/styles/components/vp-sponsor.css";
|
||||
import VPBadge from "/Users/zhaohaiwei/Desktop/github/ArtPlayer/node_modules/vitepress/dist/client/theme-default/components/VPBadge.vue";
|
||||
import Layout from "/Users/zhaohaiwei/Desktop/github/ArtPlayer/node_modules/vitepress/dist/client/theme-default/Layout.vue";
|
||||
import { default as default2 } from "/Users/zhaohaiwei/Desktop/github/ArtPlayer/node_modules/vitepress/dist/client/theme-default/components/VPHomeHero.vue";
|
||||
import { default as default3 } from "/Users/zhaohaiwei/Desktop/github/ArtPlayer/node_modules/vitepress/dist/client/theme-default/components/VPHomeFeatures.vue";
|
||||
import { default as default4 } from "/Users/zhaohaiwei/Desktop/github/ArtPlayer/node_modules/vitepress/dist/client/theme-default/components/VPHomeSponsors.vue";
|
||||
import { default as default5 } from "/Users/zhaohaiwei/Desktop/github/ArtPlayer/node_modules/vitepress/dist/client/theme-default/components/VPDocAsideSponsors.vue";
|
||||
import { default as default6 } from "/Users/zhaohaiwei/Desktop/github/ArtPlayer/node_modules/vitepress/dist/client/theme-default/components/VPTeamPage.vue";
|
||||
import { default as default7 } from "/Users/zhaohaiwei/Desktop/github/ArtPlayer/node_modules/vitepress/dist/client/theme-default/components/VPTeamPageTitle.vue";
|
||||
import { default as default8 } from "/Users/zhaohaiwei/Desktop/github/ArtPlayer/node_modules/vitepress/dist/client/theme-default/components/VPTeamPageSection.vue";
|
||||
import { default as default9 } from "/Users/zhaohaiwei/Desktop/github/ArtPlayer/node_modules/vitepress/dist/client/theme-default/components/VPTeamMembers.vue";
|
||||
var theme = {
|
||||
Layout,
|
||||
NotFound,
|
||||
enhanceApp: ({ app }) => {
|
||||
app.component("Badge", VPBadge);
|
||||
}
|
||||
};
|
||||
var theme_default_default = theme;
|
||||
var without_fonts_default = theme;
|
||||
export {
|
||||
default5 as VPDocAsideSponsors,
|
||||
default3 as VPHomeFeatures,
|
||||
@@ -36,6 +36,6 @@ export {
|
||||
default6 as VPTeamPage,
|
||||
default8 as VPTeamPageSection,
|
||||
default7 as VPTeamPageTitle,
|
||||
theme_default_default as default
|
||||
without_fonts_default as default
|
||||
};
|
||||
//# sourceMappingURL=@theme_index.js.map
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../../../node_modules/vitepress/dist/client/theme-default/index.js"],
|
||||
"sourcesContent": ["import './styles/fonts.css';\r\nimport './styles/vars.css';\r\nimport './styles/base.css';\r\nimport './styles/utils.css';\r\nimport './styles/components/custom-block.css';\r\nimport './styles/components/vp-code.css';\r\nimport './styles/components/vp-code-group.css';\r\nimport './styles/components/vp-doc.css';\r\nimport './styles/components/vp-sponsor.css';\r\nimport VPBadge from './components/VPBadge.vue';\r\nimport Layout from './Layout.vue';\r\nimport NotFound from './NotFound.vue';\r\nexport { default as VPHomeHero } from './components/VPHomeHero.vue';\r\nexport { default as VPHomeFeatures } from './components/VPHomeFeatures.vue';\r\nexport { default as VPHomeSponsors } from './components/VPHomeSponsors.vue';\r\nexport { default as VPDocAsideSponsors } from './components/VPDocAsideSponsors.vue';\r\nexport { default as VPTeamPage } from './components/VPTeamPage.vue';\r\nexport { default as VPTeamPageTitle } from './components/VPTeamPageTitle.vue';\r\nexport { default as VPTeamPageSection } from './components/VPTeamPageSection.vue';\r\nexport { default as VPTeamMembers } from './components/VPTeamMembers.vue';\r\nconst theme = {\r\n Layout,\r\n NotFound,\r\n enhanceApp: ({ app }) => {\r\n app.component('Badge', VPBadge);\r\n }\r\n};\r\nexport default theme;\r\n"],
|
||||
"mappings": ";AAAA,OAAO;AACP,OAAO;AACP,OAAO;AACP,OAAO;AACP,OAAO;AACP,OAAO;AACP,OAAO;AACP,OAAO;AACP,OAAO;AACP,OAAO,aAAa;AACpB,OAAO,YAAY;AACnB,OAAO,cAAc;AACrB,SAAoB,WAAXA,gBAA6B;AACtC,SAAoB,WAAXA,gBAAiC;AAC1C,SAAoB,WAAXA,gBAAiC;AAC1C,SAAoB,WAAXA,gBAAqC;AAC9C,SAAoB,WAAXA,gBAA6B;AACtC,SAAoB,WAAXA,gBAAkC;AAC3C,SAAoB,WAAXA,gBAAoC;AAC7C,SAAoB,WAAXA,gBAAgC;AACzC,IAAM,QAAQ;AAAA,EACV;AAAA,EACA;AAAA,EACA,YAAY,CAAC,EAAE,IAAI,MAAM;AACrB,QAAI,UAAU,SAAS,OAAO;AAAA,EAClC;AACJ;AACA,IAAO,wBAAQ;",
|
||||
"sources": ["../../../../../../node_modules/vitepress/dist/client/theme-default/index.js", "../../../../../../node_modules/vitepress/dist/client/theme-default/without-fonts.js"],
|
||||
"sourcesContent": ["import './styles/fonts.css';\nexport * from './without-fonts';\nexport { default as default } from './without-fonts';\n", "import './styles/vars.css';\nimport './styles/base.css';\nimport './styles/utils.css';\nimport './styles/components/custom-block.css';\nimport './styles/components/vp-code.css';\nimport './styles/components/vp-code-group.css';\nimport './styles/components/vp-doc.css';\nimport './styles/components/vp-sponsor.css';\nimport VPBadge from './components/VPBadge.vue';\nimport Layout from './Layout.vue';\n// Note: if we add more optional components here, i.e. components that are not\n// used in the theme by default unless the user imports them, make sure to update\n// the `lazyDefaultThemeComponentsRE` regex in src/node/build/bundle.ts.\nexport { default as VPHomeHero } from './components/VPHomeHero.vue';\nexport { default as VPHomeFeatures } from './components/VPHomeFeatures.vue';\nexport { default as VPHomeSponsors } from './components/VPHomeSponsors.vue';\nexport { default as VPDocAsideSponsors } from './components/VPDocAsideSponsors.vue';\nexport { default as VPTeamPage } from './components/VPTeamPage.vue';\nexport { default as VPTeamPageTitle } from './components/VPTeamPageTitle.vue';\nexport { default as VPTeamPageSection } from './components/VPTeamPageSection.vue';\nexport { default as VPTeamMembers } from './components/VPTeamMembers.vue';\nconst theme = {\n Layout,\n enhanceApp: ({ app }) => {\n app.component('Badge', VPBadge);\n }\n};\nexport default theme;\n"],
|
||||
"mappings": ";AAAA,OAAO;;;ACAP,OAAO;AACP,OAAO;AACP,OAAO;AACP,OAAO;AACP,OAAO;AACP,OAAO;AACP,OAAO;AACP,OAAO;AACP,OAAO,aAAa;AACpB,OAAO,YAAY;AAInB,SAAoB,WAAXA,gBAA6B;AACtC,SAAoB,WAAXA,gBAAiC;AAC1C,SAAoB,WAAXA,gBAAiC;AAC1C,SAAoB,WAAXA,gBAAqC;AAC9C,SAAoB,WAAXA,gBAA6B;AACtC,SAAoB,WAAXA,gBAAkC;AAC3C,SAAoB,WAAXA,gBAAoC;AAC7C,SAAoB,WAAXA,gBAAgC;AACzC,IAAM,QAAQ;AAAA,EACV;AAAA,EACA,YAAY,CAAC,EAAE,IAAI,MAAM;AACrB,QAAI,UAAU,SAAS,OAAO;AAAA,EAClC;AACJ;AACA,IAAO,wBAAQ;",
|
||||
"names": ["default"]
|
||||
}
|
||||
@@ -1,17 +1,17 @@
|
||||
{
|
||||
"hash": "88983794",
|
||||
"browserHash": "db84c00b",
|
||||
"hash": "7f5afb63",
|
||||
"browserHash": "3f04eb69",
|
||||
"optimized": {
|
||||
"vue": {
|
||||
"src": "../../../../node_modules/vue/dist/vue.runtime.esm-bundler.js",
|
||||
"src": "../../../../../../node_modules/vue/dist/vue.runtime.esm-bundler.js",
|
||||
"file": "vue.js",
|
||||
"fileHash": "b317fa7b",
|
||||
"fileHash": "9eb1e3e4",
|
||||
"needsInterop": false
|
||||
},
|
||||
"@theme/index": {
|
||||
"src": "../../../../node_modules/vitepress/dist/client/theme-default/index.js",
|
||||
"src": "../../../../../../node_modules/vitepress/dist/client/theme-default/index.js",
|
||||
"file": "@theme_index.js",
|
||||
"fileHash": "027e158b",
|
||||
"fileHash": "87f468d1",
|
||||
"needsInterop": false
|
||||
}
|
||||
},
|
||||
|
||||
+196
-108
@@ -1,4 +1,4 @@
|
||||
// node_modules/@vue/shared/dist/shared.esm-bundler.js
|
||||
// ../../node_modules/@vue/shared/dist/shared.esm-bundler.js
|
||||
function makeMap(str, expectsLowerCase) {
|
||||
const map2 = /* @__PURE__ */ Object.create(null);
|
||||
const list = str.split(",");
|
||||
@@ -73,8 +73,8 @@ function normalizeProps(props) {
|
||||
}
|
||||
return props;
|
||||
}
|
||||
var HTML_TAGS = "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot";
|
||||
var SVG_TAGS = "svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view";
|
||||
var HTML_TAGS = "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot";
|
||||
var SVG_TAGS = "svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view";
|
||||
var VOID_TAGS = "area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr";
|
||||
var isHTMLTag = makeMap(HTML_TAGS);
|
||||
var isSVGTag = makeMap(SVG_TAGS);
|
||||
@@ -181,6 +181,7 @@ var isArray = Array.isArray;
|
||||
var isMap = (val) => toTypeString(val) === "[object Map]";
|
||||
var isSet = (val) => toTypeString(val) === "[object Set]";
|
||||
var isDate = (val) => toTypeString(val) === "[object Date]";
|
||||
var isRegExp = (val) => toTypeString(val) === "[object RegExp]";
|
||||
var isFunction = (val) => typeof val === "function";
|
||||
var isString = (val) => typeof val === "string";
|
||||
var isSymbol = (val) => typeof val === "symbol";
|
||||
@@ -228,16 +229,20 @@ var def = (obj, key, value) => {
|
||||
value
|
||||
});
|
||||
};
|
||||
var toNumber = (val) => {
|
||||
var looseToNumber = (val) => {
|
||||
const n = parseFloat(val);
|
||||
return isNaN(n) ? val : n;
|
||||
};
|
||||
var toNumber = (val) => {
|
||||
const n = isString(val) ? Number(val) : NaN;
|
||||
return isNaN(n) ? val : n;
|
||||
};
|
||||
var _globalThis;
|
||||
var getGlobalThis = () => {
|
||||
return _globalThis || (_globalThis = typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : {});
|
||||
};
|
||||
|
||||
// node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js
|
||||
// ../../node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js
|
||||
function warn(msg, ...args) {
|
||||
console.warn(`[Vue warn] ${msg}`, ...args);
|
||||
}
|
||||
@@ -245,7 +250,7 @@ var activeEffectScope;
|
||||
var EffectScope = class {
|
||||
constructor(detached = false) {
|
||||
this.detached = detached;
|
||||
this.active = true;
|
||||
this._active = true;
|
||||
this.effects = [];
|
||||
this.cleanups = [];
|
||||
this.parent = activeEffectScope;
|
||||
@@ -253,8 +258,11 @@ var EffectScope = class {
|
||||
this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(this) - 1;
|
||||
}
|
||||
}
|
||||
get active() {
|
||||
return this._active;
|
||||
}
|
||||
run(fn) {
|
||||
if (this.active) {
|
||||
if (this._active) {
|
||||
const currentEffectScope = activeEffectScope;
|
||||
try {
|
||||
activeEffectScope = this;
|
||||
@@ -281,7 +289,7 @@ var EffectScope = class {
|
||||
activeEffectScope = this.parent;
|
||||
}
|
||||
stop(fromParent) {
|
||||
if (this.active) {
|
||||
if (this._active) {
|
||||
let i, l;
|
||||
for (i = 0, l = this.effects.length; i < l; i++) {
|
||||
this.effects[i].stop();
|
||||
@@ -302,7 +310,7 @@ var EffectScope = class {
|
||||
}
|
||||
}
|
||||
this.parent = void 0;
|
||||
this.active = false;
|
||||
this._active = false;
|
||||
}
|
||||
}
|
||||
};
|
||||
@@ -500,7 +508,7 @@ function trigger(target, type, key, newValue, oldValue, oldTarget) {
|
||||
if (type === "clear") {
|
||||
deps = [...depsMap.values()];
|
||||
} else if (key === "length" && isArray(target)) {
|
||||
const newLength = toNumber(newValue);
|
||||
const newLength = Number(newValue);
|
||||
depsMap.forEach((dep, key2) => {
|
||||
if (key2 === "length" || key2 >= newLength) {
|
||||
deps.push(dep);
|
||||
@@ -584,11 +592,15 @@ function triggerEffect(effect2, debuggerEventExtraInfo) {
|
||||
}
|
||||
}
|
||||
}
|
||||
function getDepFromReactive(object, key) {
|
||||
var _a2;
|
||||
return (_a2 = targetMap.get(object)) === null || _a2 === void 0 ? void 0 : _a2.get(key);
|
||||
}
|
||||
var isNonTrackableKeys = makeMap(`__proto__,__v_isRef,__isVue`);
|
||||
var builtInSymbols = new Set(
|
||||
Object.getOwnPropertyNames(Symbol).filter((key) => key !== "arguments" && key !== "caller").map((key) => Symbol[key]).filter(isSymbol)
|
||||
);
|
||||
var get = createGetter();
|
||||
var get$1 = createGetter();
|
||||
var shallowGet = createGetter(false, true);
|
||||
var readonlyGet = createGetter(true);
|
||||
var shallowReadonlyGet = createGetter(true, true);
|
||||
@@ -619,6 +631,11 @@ function createArrayInstrumentations() {
|
||||
});
|
||||
return instrumentations;
|
||||
}
|
||||
function hasOwnProperty2(key) {
|
||||
const obj = toRaw(this);
|
||||
track(obj, "has", key);
|
||||
return obj.hasOwnProperty(key);
|
||||
}
|
||||
function createGetter(isReadonly2 = false, shallow = false) {
|
||||
return function get2(target, key, receiver) {
|
||||
if (key === "__v_isReactive") {
|
||||
@@ -631,8 +648,13 @@ function createGetter(isReadonly2 = false, shallow = false) {
|
||||
return target;
|
||||
}
|
||||
const targetIsArray = isArray(target);
|
||||
if (!isReadonly2 && targetIsArray && hasOwn(arrayInstrumentations, key)) {
|
||||
return Reflect.get(arrayInstrumentations, key, receiver);
|
||||
if (!isReadonly2) {
|
||||
if (targetIsArray && hasOwn(arrayInstrumentations, key)) {
|
||||
return Reflect.get(arrayInstrumentations, key, receiver);
|
||||
}
|
||||
if (key === "hasOwnProperty") {
|
||||
return hasOwnProperty2;
|
||||
}
|
||||
}
|
||||
const res = Reflect.get(target, key, receiver);
|
||||
if (isSymbol(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) {
|
||||
@@ -653,7 +675,7 @@ function createGetter(isReadonly2 = false, shallow = false) {
|
||||
return res;
|
||||
};
|
||||
}
|
||||
var set = createSetter();
|
||||
var set$1 = createSetter();
|
||||
var shallowSet = createSetter(true);
|
||||
function createSetter(shallow = false) {
|
||||
return function set2(target, key, value, receiver) {
|
||||
@@ -692,7 +714,7 @@ function deleteProperty(target, key) {
|
||||
}
|
||||
return result;
|
||||
}
|
||||
function has(target, key) {
|
||||
function has$1(target, key) {
|
||||
const result = Reflect.has(target, key);
|
||||
if (!isSymbol(key) || !builtInSymbols.has(key)) {
|
||||
track(target, "has", key);
|
||||
@@ -704,10 +726,10 @@ function ownKeys(target) {
|
||||
return Reflect.ownKeys(target);
|
||||
}
|
||||
var mutableHandlers = {
|
||||
get,
|
||||
set,
|
||||
get: get$1,
|
||||
set: set$1,
|
||||
deleteProperty,
|
||||
has,
|
||||
has: has$1,
|
||||
ownKeys
|
||||
};
|
||||
var readonlyHandlers = {
|
||||
@@ -734,7 +756,7 @@ var shallowReadonlyHandlers = extend({}, readonlyHandlers, {
|
||||
});
|
||||
var toShallow = (value) => value;
|
||||
var getProto = (v) => Reflect.getPrototypeOf(v);
|
||||
function get$1(target, key, isReadonly2 = false, isShallow3 = false) {
|
||||
function get(target, key, isReadonly2 = false, isShallow3 = false) {
|
||||
target = target[
|
||||
"__v_raw"
|
||||
/* ReactiveFlags.RAW */
|
||||
@@ -757,7 +779,7 @@ function get$1(target, key, isReadonly2 = false, isShallow3 = false) {
|
||||
target.get(key);
|
||||
}
|
||||
}
|
||||
function has$1(key, isReadonly2 = false) {
|
||||
function has(key, isReadonly2 = false) {
|
||||
const target = this[
|
||||
"__v_raw"
|
||||
/* ReactiveFlags.RAW */
|
||||
@@ -791,7 +813,7 @@ function add(value) {
|
||||
}
|
||||
return this;
|
||||
}
|
||||
function set$1(key, value) {
|
||||
function set(key, value) {
|
||||
value = toRaw(value);
|
||||
const target = toRaw(this);
|
||||
const { has: has2, get: get2 } = getProto(target);
|
||||
@@ -894,41 +916,41 @@ function createReadonlyMethod(type) {
|
||||
function createInstrumentations() {
|
||||
const mutableInstrumentations2 = {
|
||||
get(key) {
|
||||
return get$1(this, key);
|
||||
return get(this, key);
|
||||
},
|
||||
get size() {
|
||||
return size(this);
|
||||
},
|
||||
has: has$1,
|
||||
has,
|
||||
add,
|
||||
set: set$1,
|
||||
set,
|
||||
delete: deleteEntry,
|
||||
clear,
|
||||
forEach: createForEach(false, false)
|
||||
};
|
||||
const shallowInstrumentations2 = {
|
||||
get(key) {
|
||||
return get$1(this, key, false, true);
|
||||
return get(this, key, false, true);
|
||||
},
|
||||
get size() {
|
||||
return size(this);
|
||||
},
|
||||
has: has$1,
|
||||
has,
|
||||
add,
|
||||
set: set$1,
|
||||
set,
|
||||
delete: deleteEntry,
|
||||
clear,
|
||||
forEach: createForEach(false, true)
|
||||
};
|
||||
const readonlyInstrumentations2 = {
|
||||
get(key) {
|
||||
return get$1(this, key, true);
|
||||
return get(this, key, true);
|
||||
},
|
||||
get size() {
|
||||
return size(this, true);
|
||||
},
|
||||
has(key) {
|
||||
return has$1.call(this, key, true);
|
||||
return has.call(this, key, true);
|
||||
},
|
||||
add: createReadonlyMethod(
|
||||
"add"
|
||||
@@ -950,13 +972,13 @@ function createInstrumentations() {
|
||||
};
|
||||
const shallowReadonlyInstrumentations2 = {
|
||||
get(key) {
|
||||
return get$1(this, key, true, true);
|
||||
return get(this, key, true, true);
|
||||
},
|
||||
get size() {
|
||||
return size(this, true);
|
||||
},
|
||||
has(key) {
|
||||
return has$1.call(this, key, true);
|
||||
return has.call(this, key, true);
|
||||
},
|
||||
add: createReadonlyMethod(
|
||||
"add"
|
||||
@@ -1146,16 +1168,17 @@ function trackRefValue(ref2) {
|
||||
}
|
||||
function triggerRefValue(ref2, newVal) {
|
||||
ref2 = toRaw(ref2);
|
||||
if (ref2.dep) {
|
||||
const dep = ref2.dep;
|
||||
if (dep) {
|
||||
if (true) {
|
||||
triggerEffects(ref2.dep, {
|
||||
triggerEffects(dep, {
|
||||
target: ref2,
|
||||
type: "set",
|
||||
key: "value",
|
||||
newValue: newVal
|
||||
});
|
||||
} else {
|
||||
triggerEffects(ref2.dep);
|
||||
triggerEffects(dep);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1259,18 +1282,21 @@ var ObjectRefImpl = class {
|
||||
set value(newVal) {
|
||||
this._object[this._key] = newVal;
|
||||
}
|
||||
get dep() {
|
||||
return getDepFromReactive(toRaw(this._object), this._key);
|
||||
}
|
||||
};
|
||||
function toRef(object, key, defaultValue) {
|
||||
const val = object[key];
|
||||
return isRef(val) ? val : new ObjectRefImpl(object, key, defaultValue);
|
||||
}
|
||||
var _a;
|
||||
var _a$1;
|
||||
var ComputedRefImpl = class {
|
||||
constructor(getter, _setter, isReadonly2, isSSR) {
|
||||
this._setter = _setter;
|
||||
this.dep = void 0;
|
||||
this.__v_isRef = true;
|
||||
this[_a] = false;
|
||||
this[_a$1] = false;
|
||||
this._dirty = true;
|
||||
this.effect = new ReactiveEffect(getter, () => {
|
||||
if (!this._dirty) {
|
||||
@@ -1298,7 +1324,7 @@ var ComputedRefImpl = class {
|
||||
this._setter(newValue);
|
||||
}
|
||||
};
|
||||
_a = "__v_isReadonly";
|
||||
_a$1 = "__v_isReadonly";
|
||||
function computed(getterOrOptions, debugOptions, isSSR = false) {
|
||||
let getter;
|
||||
let setter;
|
||||
@@ -1319,11 +1345,11 @@ function computed(getterOrOptions, debugOptions, isSSR = false) {
|
||||
}
|
||||
return cRef;
|
||||
}
|
||||
var _a$1;
|
||||
var _a;
|
||||
var tick = Promise.resolve();
|
||||
_a$1 = "__v_isReadonly";
|
||||
_a = "__v_isReadonly";
|
||||
|
||||
// node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js
|
||||
// ../../node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js
|
||||
var stack = [];
|
||||
function pushWarningContext(vnode) {
|
||||
stack.push(vnode);
|
||||
@@ -1419,6 +1445,17 @@ function formatProp(key, value, raw) {
|
||||
return raw ? value : [`${key}=`, value];
|
||||
}
|
||||
}
|
||||
function assertNumber(val, type) {
|
||||
if (false)
|
||||
return;
|
||||
if (val === void 0) {
|
||||
return;
|
||||
} else if (typeof val !== "number") {
|
||||
warn2(`${type} is not a valid number - got ${JSON.stringify(val)}.`);
|
||||
} else if (isNaN(val)) {
|
||||
warn2(`${type} is NaN - the duration expression might be incorrect.`);
|
||||
}
|
||||
}
|
||||
var ErrorTypeStrings = {
|
||||
[
|
||||
"sp"
|
||||
@@ -1870,7 +1907,7 @@ function tryWrap(fn) {
|
||||
var devtools;
|
||||
var buffer = [];
|
||||
var devtoolsNotInstalled = false;
|
||||
function emit(event, ...args) {
|
||||
function emit$1(event, ...args) {
|
||||
if (devtools) {
|
||||
devtools.emit(event, ...args);
|
||||
} else if (!devtoolsNotInstalled) {
|
||||
@@ -1884,12 +1921,14 @@ function setDevtoolsHook(hook, target) {
|
||||
devtools.enabled = true;
|
||||
buffer.forEach(({ event, args }) => devtools.emit(event, ...args));
|
||||
buffer = [];
|
||||
} else if (// handle late devtools injection - only do this if we are in an actual
|
||||
// browser environment to avoid the timer handle stalling test runner exit
|
||||
// (#4815)
|
||||
typeof window !== "undefined" && // some envs mock window but not fully
|
||||
window.HTMLElement && // also exclude jsdom
|
||||
!((_b = (_a2 = window.navigator) === null || _a2 === void 0 ? void 0 : _a2.userAgent) === null || _b === void 0 ? void 0 : _b.includes("jsdom"))) {
|
||||
} else if (
|
||||
// handle late devtools injection - only do this if we are in an actual
|
||||
// browser environment to avoid the timer handle stalling test runner exit
|
||||
// (#4815)
|
||||
typeof window !== "undefined" && // some envs mock window but not fully
|
||||
window.HTMLElement && // also exclude jsdom
|
||||
!((_b = (_a2 = window.navigator) === null || _a2 === void 0 ? void 0 : _a2.userAgent) === null || _b === void 0 ? void 0 : _b.includes("jsdom"))
|
||||
) {
|
||||
const replay = target.__VUE_DEVTOOLS_HOOK_REPLAY__ = target.__VUE_DEVTOOLS_HOOK_REPLAY__ || [];
|
||||
replay.push((newHook) => {
|
||||
setDevtoolsHook(newHook, target);
|
||||
@@ -1907,7 +1946,7 @@ function setDevtoolsHook(hook, target) {
|
||||
}
|
||||
}
|
||||
function devtoolsInitApp(app, version2) {
|
||||
emit("app:init", app, version2, {
|
||||
emit$1("app:init", app, version2, {
|
||||
Fragment,
|
||||
Text,
|
||||
Comment,
|
||||
@@ -1915,7 +1954,7 @@ function devtoolsInitApp(app, version2) {
|
||||
});
|
||||
}
|
||||
function devtoolsUnmountApp(app) {
|
||||
emit("app:unmount", app);
|
||||
emit$1("app:unmount", app);
|
||||
}
|
||||
var devtoolsComponentAdded = createDevtoolsComponentHook(
|
||||
"component:added"
|
||||
@@ -1937,7 +1976,7 @@ var devtoolsComponentRemoved = (component) => {
|
||||
};
|
||||
function createDevtoolsComponentHook(hook) {
|
||||
return (component) => {
|
||||
emit(hook, component.appContext.app, component.uid, component.parent ? component.parent.uid : void 0, component);
|
||||
emit$1(hook, component.appContext.app, component.uid, component.parent ? component.parent.uid : void 0, component);
|
||||
};
|
||||
}
|
||||
var devtoolsPerfStart = createDevtoolsPerformanceHook(
|
||||
@@ -1950,13 +1989,13 @@ var devtoolsPerfEnd = createDevtoolsPerformanceHook(
|
||||
);
|
||||
function createDevtoolsPerformanceHook(hook) {
|
||||
return (component, type, time) => {
|
||||
emit(hook, component.appContext.app, component.uid, component, type, time);
|
||||
emit$1(hook, component.appContext.app, component.uid, component, type, time);
|
||||
};
|
||||
}
|
||||
function devtoolsComponentEmit(component, event, params) {
|
||||
emit("component:emit", component.appContext.app, component, event, params);
|
||||
emit$1("component:emit", component.appContext.app, component, event, params);
|
||||
}
|
||||
function emit$1(instance, event, ...rawArgs) {
|
||||
function emit(instance, event, ...rawArgs) {
|
||||
if (instance.isUnmounted)
|
||||
return;
|
||||
const props = instance.vnode.props || EMPTY_OBJ;
|
||||
@@ -1988,7 +2027,7 @@ function emit$1(instance, event, ...rawArgs) {
|
||||
args = rawArgs.map((a) => isString(a) ? a.trim() : a);
|
||||
}
|
||||
if (number) {
|
||||
args = rawArgs.map(toNumber);
|
||||
args = rawArgs.map(looseToNumber);
|
||||
}
|
||||
}
|
||||
if (true) {
|
||||
@@ -2496,7 +2535,10 @@ function createSuspenseBoundary(vnode, parent, parentComponent, container, hidde
|
||||
console[console.info ? "info" : "log"](`<Suspense> is an experimental feature and its API will likely change.`);
|
||||
}
|
||||
const { p: patch, m: move, um: unmount, n: next, o: { parentNode, remove: remove2 } } = rendererInternals;
|
||||
const timeout = toNumber(vnode.props && vnode.props.timeout);
|
||||
const timeout = vnode.props ? toNumber(vnode.props.timeout) : void 0;
|
||||
if (true) {
|
||||
assertNumber(timeout, `Suspense timeout`);
|
||||
}
|
||||
const suspense = {
|
||||
vnode,
|
||||
parent,
|
||||
@@ -2821,7 +2863,7 @@ function doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EM
|
||||
const warnInvalidSource = (s) => {
|
||||
warn2(`Invalid watch source: `, s, `A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.`);
|
||||
};
|
||||
const instance = currentInstance;
|
||||
const instance = getCurrentScope() === (currentInstance === null || currentInstance === void 0 ? void 0 : currentInstance.scope) ? currentInstance : null;
|
||||
let getter;
|
||||
let forceTrigger = false;
|
||||
let isMultiSource = false;
|
||||
@@ -3527,7 +3569,7 @@ var KeepAliveImpl = {
|
||||
}
|
||||
function pruneCacheEntry(key) {
|
||||
const cached = cache.get(key);
|
||||
if (!current || cached.type !== current.type) {
|
||||
if (!current || !isSameVNodeType(cached, current)) {
|
||||
unmount(cached);
|
||||
} else if (current) {
|
||||
resetShapeFlag(current);
|
||||
@@ -3556,7 +3598,7 @@ var KeepAliveImpl = {
|
||||
cache.forEach((cached) => {
|
||||
const { subTree, suspense } = instance;
|
||||
const vnode = getInnerChild(subTree);
|
||||
if (cached.type === vnode.type) {
|
||||
if (cached.type === vnode.type && cached.key === vnode.key) {
|
||||
resetShapeFlag(vnode);
|
||||
const da = vnode.component.da;
|
||||
da && queuePostRenderEffect(da, suspense);
|
||||
@@ -3626,7 +3668,7 @@ function matches(pattern, name) {
|
||||
return pattern.some((p2) => matches(p2, name));
|
||||
} else if (isString(pattern)) {
|
||||
return pattern.split(",").includes(name);
|
||||
} else if (pattern.test) {
|
||||
} else if (isRegExp(pattern)) {
|
||||
return pattern.test(name);
|
||||
}
|
||||
return false;
|
||||
@@ -3703,7 +3745,10 @@ function injectHook(type, hook, target = currentInstance, prepend = false) {
|
||||
warn2(`${apiName} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`);
|
||||
}
|
||||
}
|
||||
var createHook = (lifecycle) => (hook, target = currentInstance) => (!isInSSRComponentSetup || lifecycle === "sp") && injectHook(lifecycle, (...args) => hook(...args), target);
|
||||
var createHook = (lifecycle) => (hook, target = currentInstance) => (
|
||||
// post-create lifecycle registrations are noops during SSR (except for serverPrefetch)
|
||||
(!isInSSRComponentSetup || lifecycle === "sp") && injectHook(lifecycle, (...args) => hook(...args), target)
|
||||
);
|
||||
var onBeforeMount = createHook(
|
||||
"bm"
|
||||
/* LifecycleHooks.BEFORE_MOUNT */
|
||||
@@ -3925,7 +3970,9 @@ function renderSlot(slots, name, props = {}, fallback, noSlotted) {
|
||||
const rendered = createBlock(
|
||||
Fragment,
|
||||
{
|
||||
key: props.key || validSlotContent && validSlotContent.key || `_${name}`
|
||||
key: props.key || // slot content array of a dynamic conditional slot may have a branch
|
||||
// key attached in the `createSlots` helper, respect that
|
||||
validSlotContent && validSlotContent.key || `_${name}`
|
||||
},
|
||||
validSlotContent || (fallback ? fallback() : []),
|
||||
validSlotContent && slots._ === 1 ? 64 : -2
|
||||
@@ -4016,7 +4063,11 @@ var PublicInstanceProxyHandlers = {
|
||||
} else if (data !== EMPTY_OBJ && hasOwn(data, key)) {
|
||||
accessCache[key] = 2;
|
||||
return data[key];
|
||||
} else if ((normalizedProps = instance.propsOptions[0]) && hasOwn(normalizedProps, key)) {
|
||||
} else if (
|
||||
// only cache other properties when instance has declared (thus stable)
|
||||
// props
|
||||
(normalizedProps = instance.propsOptions[0]) && hasOwn(normalizedProps, key)
|
||||
) {
|
||||
accessCache[key] = 3;
|
||||
return props[key];
|
||||
} else if (ctx !== EMPTY_OBJ && hasOwn(ctx, key)) {
|
||||
@@ -4034,12 +4085,18 @@ var PublicInstanceProxyHandlers = {
|
||||
markAttrsAccessed();
|
||||
}
|
||||
return publicGetter(instance);
|
||||
} else if ((cssModule = type.__cssModules) && (cssModule = cssModule[key])) {
|
||||
} else if (
|
||||
// css module (injected by vue-loader)
|
||||
(cssModule = type.__cssModules) && (cssModule = cssModule[key])
|
||||
) {
|
||||
return cssModule;
|
||||
} else if (ctx !== EMPTY_OBJ && hasOwn(ctx, key)) {
|
||||
accessCache[key] = 4;
|
||||
return ctx[key];
|
||||
} else if (globalProperties = appContext.config.globalProperties, hasOwn(globalProperties, key)) {
|
||||
} else if (
|
||||
// global properties
|
||||
globalProperties = appContext.config.globalProperties, hasOwn(globalProperties, key)
|
||||
) {
|
||||
{
|
||||
return globalProperties[key];
|
||||
}
|
||||
@@ -4596,10 +4653,12 @@ function updateProps(instance, rawProps, rawPrevProps, optimized) {
|
||||
const rawCurrentProps = toRaw(props);
|
||||
const [options] = instance.propsOptions;
|
||||
let hasAttrsChanged = false;
|
||||
if (// always force full diff in dev
|
||||
// - #1942 if hmr is enabled with sfc component
|
||||
// - vite#872 non-sfc component used by sfc component
|
||||
!isInHmrContext(instance) && (optimized || patchFlag > 0) && !(patchFlag & 16)) {
|
||||
if (
|
||||
// always force full diff in dev
|
||||
// - #1942 if hmr is enabled with sfc component
|
||||
// - vite#872 non-sfc component used by sfc component
|
||||
!isInHmrContext(instance) && (optimized || patchFlag > 0) && !(patchFlag & 16)
|
||||
) {
|
||||
if (patchFlag & 8) {
|
||||
const propsToUpdate = instance.vnode.dynamicProps;
|
||||
for (let i = 0; i < propsToUpdate.length; i++) {
|
||||
@@ -4640,9 +4699,13 @@ function updateProps(instance, rawProps, rawPrevProps, optimized) {
|
||||
}
|
||||
let kebabKey;
|
||||
for (const key in rawCurrentProps) {
|
||||
if (!rawProps || !hasOwn(rawProps, key) && ((kebabKey = hyphenate(key)) === key || !hasOwn(rawProps, kebabKey))) {
|
||||
if (!rawProps || // for camelCase
|
||||
!hasOwn(rawProps, key) && // it's possible the original props was passed in as kebab-case
|
||||
// and converted to camelCase (#955)
|
||||
((kebabKey = hyphenate(key)) === key || !hasOwn(rawProps, kebabKey))) {
|
||||
if (options) {
|
||||
if (rawPrevProps && (rawPrevProps[key] !== void 0 || // for kebab-case
|
||||
if (rawPrevProps && // for camelCase
|
||||
(rawPrevProps[key] !== void 0 || // for kebab-case
|
||||
rawPrevProps[kebabKey] !== void 0)) {
|
||||
props[key] = resolvePropValue(
|
||||
options,
|
||||
@@ -4831,8 +4894,8 @@ function validatePropName(key) {
|
||||
return false;
|
||||
}
|
||||
function getType(ctor) {
|
||||
const match = ctor && ctor.toString().match(/^\s*function (\w+)/);
|
||||
return match ? match[1] : ctor === null ? "null" : "";
|
||||
const match = ctor && ctor.toString().match(/^\s*(function|class) (\w+)/);
|
||||
return match ? match[2] : ctor === null ? "null" : "";
|
||||
}
|
||||
function isSameType(a, b) {
|
||||
return getType(a) === getType(b);
|
||||
@@ -5048,7 +5111,7 @@ function createAppContext() {
|
||||
emitsCache: /* @__PURE__ */ new WeakMap()
|
||||
};
|
||||
}
|
||||
var uid = 0;
|
||||
var uid$1 = 0;
|
||||
function createAppAPI(render2, hydrate2) {
|
||||
return function createApp2(rootComponent, rootProps = null) {
|
||||
if (!isFunction(rootComponent)) {
|
||||
@@ -5062,7 +5125,7 @@ function createAppAPI(render2, hydrate2) {
|
||||
const installedPlugins = /* @__PURE__ */ new Set();
|
||||
let isMounted = false;
|
||||
const app = context.app = {
|
||||
_uid: uid++,
|
||||
_uid: uid$1++,
|
||||
_component: rootComponent,
|
||||
_props: rootProps,
|
||||
_container: null,
|
||||
@@ -5716,6 +5779,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
||||
if (dirs) {
|
||||
invokeDirectiveHook(vnode, null, parentComponent, "created");
|
||||
}
|
||||
setScopeId(el, vnode, vnode.scopeId, slotScopeIds, parentComponent);
|
||||
if (props) {
|
||||
for (const key in props) {
|
||||
if (key !== "value" && !isReservedProp(key)) {
|
||||
@@ -5729,7 +5793,6 @@ function baseCreateRenderer(options, createHydrationFns) {
|
||||
invokeVNodeHook(vnodeHook, parentComponent, vnode);
|
||||
}
|
||||
}
|
||||
setScopeId(el, vnode, vnode.scopeId, slotScopeIds, parentComponent);
|
||||
if (true) {
|
||||
Object.defineProperty(el, "__vnode", {
|
||||
value: vnode,
|
||||
@@ -5857,7 +5920,9 @@ function baseCreateRenderer(options, createHydrationFns) {
|
||||
const container = (
|
||||
// oldVNode may be an errored async setup() component inside Suspense
|
||||
// which will not have a mounted element
|
||||
oldVNode.el && (oldVNode.type === Fragment || // - In the case of different nodes, there is going to be a replacement
|
||||
oldVNode.el && // - In the case of a Fragment, we need to provide the actual parent
|
||||
// of the Fragment itself so it can move its children.
|
||||
(oldVNode.type === Fragment || // - In the case of different nodes, there is going to be a replacement
|
||||
// which also requires the correct parent container
|
||||
!isSameVNodeType(oldVNode, newVNode) || // - In the case of a component, it could contain anything.
|
||||
oldVNode.shapeFlag & (6 | 64)) ? hostParentNode(oldVNode.el) : (
|
||||
@@ -5896,7 +5961,10 @@ function baseCreateRenderer(options, createHydrationFns) {
|
||||
const fragmentStartAnchor = n2.el = n1 ? n1.el : hostCreateText("");
|
||||
const fragmentEndAnchor = n2.anchor = n1 ? n1.anchor : hostCreateText("");
|
||||
let { patchFlag, dynamicChildren, slotScopeIds: fragmentSlotScopeIds } = n2;
|
||||
if (isHmrUpdating || patchFlag & 2048) {
|
||||
if (
|
||||
// #5523 dev root fragment may inherit directives
|
||||
isHmrUpdating || patchFlag & 2048
|
||||
) {
|
||||
patchFlag = 0;
|
||||
optimized = false;
|
||||
dynamicChildren = null;
|
||||
@@ -5915,11 +5983,13 @@ function baseCreateRenderer(options, createHydrationFns) {
|
||||
patchBlockChildren(n1.dynamicChildren, dynamicChildren, container, parentComponent, parentSuspense, isSVG, slotScopeIds);
|
||||
if (parentComponent && parentComponent.type.__hmrId) {
|
||||
traverseStaticChildren(n1, n2);
|
||||
} else if (// #2080 if the stable fragment has a key, it's a <template v-for> that may
|
||||
// get moved around. Make sure all root level vnodes inherit el.
|
||||
// #2134 or if it's a component root, it may also get moved around
|
||||
// as the component is being moved.
|
||||
n2.key != null || parentComponent && n2 === parentComponent.subTree) {
|
||||
} else if (
|
||||
// #2080 if the stable fragment has a key, it's a <template v-for> that may
|
||||
// get moved around. Make sure all root level vnodes inherit el.
|
||||
// #2134 or if it's a component root, it may also get moved around
|
||||
// as the component is being moved.
|
||||
n2.key != null || parentComponent && n2 === parentComponent.subTree
|
||||
) {
|
||||
traverseStaticChildren(
|
||||
n1,
|
||||
n2,
|
||||
@@ -6416,7 +6486,8 @@ function baseCreateRenderer(options, createHydrationFns) {
|
||||
}
|
||||
if (shapeFlag & 64) {
|
||||
vnode.type.remove(vnode, parentComponent, parentSuspense, optimized, internals, doRemove);
|
||||
} else if (dynamicChildren && (type !== Fragment || patchFlag > 0 && patchFlag & 64)) {
|
||||
} else if (dynamicChildren && // #1153: fast path should not be taken for non-stable (v-for) fragments
|
||||
(type !== Fragment || patchFlag > 0 && patchFlag & 64)) {
|
||||
unmountChildren(dynamicChildren, parentComponent, parentSuspense, false, true);
|
||||
} else if (type === Fragment && patchFlag & (128 | 256) || !optimized && shapeFlag & 16) {
|
||||
unmountChildren(children, parentComponent, parentSuspense);
|
||||
@@ -6931,7 +7002,11 @@ function createBaseVNode(type, props = null, children = null, patchFlag = 0, dyn
|
||||
}
|
||||
if (isBlockTreeEnabled > 0 && // avoid a block node from tracking itself
|
||||
!isBlockNode && // has current parent block
|
||||
currentBlock && (vnode.patchFlag > 0 || shapeFlag & 6) && // the EVENTS flag is only for hydration and if it is the only flag, the
|
||||
currentBlock && // presence of a patch flag indicates this node needs patching on updates.
|
||||
// component nodes also should always be patched, because even if the
|
||||
// component doesn't need to update, it needs to persist the instance on to
|
||||
// the next vnode so that it can be properly unmounted later.
|
||||
(vnode.patchFlag > 0 || shapeFlag & 6) && // the EVENTS flag is only for hydration and if it is the only flag, the
|
||||
// vnode should not be considered dynamic due to handler caching.
|
||||
vnode.patchFlag !== 32) {
|
||||
currentBlock.push(vnode);
|
||||
@@ -7037,7 +7112,8 @@ function cloneVNode(vnode, extraProps, mergeRef = false) {
|
||||
ssFallback: vnode.ssFallback && cloneVNode(vnode.ssFallback),
|
||||
el: vnode.el,
|
||||
anchor: vnode.anchor,
|
||||
ctx: vnode.ctx
|
||||
ctx: vnode.ctx,
|
||||
ce: vnode.ce
|
||||
};
|
||||
return cloned;
|
||||
}
|
||||
@@ -7154,12 +7230,12 @@ function invokeVNodeHook(hook, instance, vnode, prevVNode = null) {
|
||||
]);
|
||||
}
|
||||
var emptyAppContext = createAppContext();
|
||||
var uid$1 = 0;
|
||||
var uid = 0;
|
||||
function createComponentInstance(vnode, parent, suspense) {
|
||||
const type = vnode.type;
|
||||
const appContext = (parent ? parent.appContext : vnode.appContext) || emptyAppContext;
|
||||
const instance = {
|
||||
uid: uid$1++,
|
||||
uid: uid++,
|
||||
vnode,
|
||||
type,
|
||||
parent,
|
||||
@@ -7234,7 +7310,7 @@ function createComponentInstance(vnode, parent, suspense) {
|
||||
instance.ctx = { _: instance };
|
||||
}
|
||||
instance.root = parent ? parent.root : instance;
|
||||
instance.emit = emit$1.bind(null, instance);
|
||||
instance.emit = emit.bind(null, instance);
|
||||
if (vnode.ce) {
|
||||
vnode.ce(instance);
|
||||
}
|
||||
@@ -7436,8 +7512,23 @@ function createAttrsProxy(instance) {
|
||||
}
|
||||
function createSetupContext(instance) {
|
||||
const expose = (exposed) => {
|
||||
if (instance.exposed) {
|
||||
warn2(`expose() should be called only once per setup().`);
|
||||
if (true) {
|
||||
if (instance.exposed) {
|
||||
warn2(`expose() should be called only once per setup().`);
|
||||
}
|
||||
if (exposed != null) {
|
||||
let exposedType = typeof exposed;
|
||||
if (exposedType === "object") {
|
||||
if (isArray(exposed)) {
|
||||
exposedType = "array";
|
||||
} else if (isRef(exposed)) {
|
||||
exposedType = "ref";
|
||||
}
|
||||
}
|
||||
if (exposedType !== "object") {
|
||||
warn2(`expose() should be passed a plain object, received ${exposedType}.`);
|
||||
}
|
||||
}
|
||||
}
|
||||
instance.exposed = exposed || {};
|
||||
};
|
||||
@@ -7830,7 +7921,7 @@ function isMemoSame(cached, memo) {
|
||||
}
|
||||
return true;
|
||||
}
|
||||
var version = "3.2.45";
|
||||
var version = "3.2.47";
|
||||
var _ssrUtils = {
|
||||
createComponentInstance,
|
||||
setupComponent,
|
||||
@@ -7843,7 +7934,7 @@ var ssrUtils = _ssrUtils;
|
||||
var resolveFilter = null;
|
||||
var compatUtils = null;
|
||||
|
||||
// node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js
|
||||
// ../../node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js
|
||||
var svgNS = "http://www.w3.org/2000/svg";
|
||||
var doc = typeof document !== "undefined" ? document : null;
|
||||
var templateContainer = doc && doc.createElement("template");
|
||||
@@ -7927,9 +8018,6 @@ function patchStyle(el, prev, next) {
|
||||
const style = el.style;
|
||||
const isCssString = isString(next);
|
||||
if (next && !isCssString) {
|
||||
for (const key in next) {
|
||||
setStyle(style, key, next[key]);
|
||||
}
|
||||
if (prev && !isString(prev)) {
|
||||
for (const key in prev) {
|
||||
if (next[key] == null) {
|
||||
@@ -7937,6 +8025,9 @@ function patchStyle(el, prev, next) {
|
||||
}
|
||||
}
|
||||
}
|
||||
for (const key in next) {
|
||||
setStyle(style, key, next[key]);
|
||||
}
|
||||
} else {
|
||||
const currentDisplay = style.display;
|
||||
if (isCssString) {
|
||||
@@ -8582,16 +8673,10 @@ function normalizeDuration(duration) {
|
||||
}
|
||||
function NumberOf(val) {
|
||||
const res = toNumber(val);
|
||||
if (true)
|
||||
validateDuration(res);
|
||||
return res;
|
||||
}
|
||||
function validateDuration(val) {
|
||||
if (typeof val !== "number") {
|
||||
warn2(`<transition> explicit duration is not a valid number - got ${JSON.stringify(val)}.`);
|
||||
} else if (isNaN(val)) {
|
||||
warn2(`<transition> explicit duration is NaN - the duration expression might be incorrect.`);
|
||||
if (true) {
|
||||
assertNumber(res, "<transition> explicit duration");
|
||||
}
|
||||
return res;
|
||||
}
|
||||
function addTransitionClass(el, cls) {
|
||||
cls.split(/\s+/).forEach((c) => c && el.classList.add(c));
|
||||
@@ -8762,6 +8847,8 @@ var TransitionGroupImpl = {
|
||||
};
|
||||
}
|
||||
};
|
||||
var removeMode = (props) => delete props.mode;
|
||||
removeMode(TransitionGroupImpl.props);
|
||||
var TransitionGroup = TransitionGroupImpl;
|
||||
function callPendingCbs(c) {
|
||||
const el = c.el;
|
||||
@@ -8828,7 +8915,7 @@ var vModelText = {
|
||||
domValue = domValue.trim();
|
||||
}
|
||||
if (castToNumber) {
|
||||
domValue = toNumber(domValue);
|
||||
domValue = looseToNumber(domValue);
|
||||
}
|
||||
el._assign(domValue);
|
||||
});
|
||||
@@ -8858,7 +8945,7 @@ var vModelText = {
|
||||
if (trim && el.value.trim() === value) {
|
||||
return;
|
||||
}
|
||||
if ((number || el.type === "number") && toNumber(el.value) === value) {
|
||||
if ((number || el.type === "number") && looseToNumber(el.value) === value) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -8939,7 +9026,7 @@ var vModelSelect = {
|
||||
created(el, { value, modifiers: { number } }, vnode) {
|
||||
const isSetModel = isSet(value);
|
||||
addEventListener(el, "change", () => {
|
||||
const selectedVal = Array.prototype.filter.call(el.options, (o) => o.selected).map((o) => number ? toNumber(getValue(o)) : getValue(o));
|
||||
const selectedVal = Array.prototype.filter.call(el.options, (o) => o.selected).map((o) => number ? looseToNumber(getValue(o)) : getValue(o));
|
||||
el._assign(el.multiple ? isSetModel ? new Set(selectedVal) : selectedVal : selectedVal[0]);
|
||||
});
|
||||
el._assign = getModelAssigner(vnode);
|
||||
@@ -9261,7 +9348,7 @@ var initDirectivesForSSR = () => {
|
||||
}
|
||||
};
|
||||
|
||||
// node_modules/vue/dist/vue.runtime.esm-bundler.js
|
||||
// ../../node_modules/vue/dist/vue.runtime.esm-bundler.js
|
||||
function initDev() {
|
||||
{
|
||||
initCustomFormatter();
|
||||
@@ -9292,6 +9379,7 @@ export {
|
||||
Transition,
|
||||
TransitionGroup,
|
||||
VueElement,
|
||||
assertNumber,
|
||||
callWithAsyncErrorHandling,
|
||||
callWithErrorHandling,
|
||||
camelize,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["../../../../node_modules/@vue/shared/dist/shared.esm-bundler.js", "../../../../node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js", "../../../../node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js", "../../../../node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js", "../../../../node_modules/vue/dist/vue.runtime.esm-bundler.js"],
|
||||
"sourcesContent": ["/**\n * Make a map and return a function for checking if a key\n * is in that map.\n * IMPORTANT: all calls of this function must be prefixed with\n * \\/\\*#\\_\\_PURE\\_\\_\\*\\/\n * So that rollup can tree-shake them if necessary.\n */\nfunction makeMap(str, expectsLowerCase) {\n const map = Object.create(null);\n const list = str.split(',');\n for (let i = 0; i < list.length; i++) {\n map[list[i]] = true;\n }\n return expectsLowerCase ? val => !!map[val.toLowerCase()] : val => !!map[val];\n}\n\n/**\n * dev only flag -> name mapping\n */\nconst PatchFlagNames = {\n [1 /* PatchFlags.TEXT */]: `TEXT`,\n [2 /* PatchFlags.CLASS */]: `CLASS`,\n [4 /* PatchFlags.STYLE */]: `STYLE`,\n [8 /* PatchFlags.PROPS */]: `PROPS`,\n [16 /* PatchFlags.FULL_PROPS */]: `FULL_PROPS`,\n [32 /* PatchFlags.HYDRATE_EVENTS */]: `HYDRATE_EVENTS`,\n [64 /* PatchFlags.STABLE_FRAGMENT */]: `STABLE_FRAGMENT`,\n [128 /* PatchFlags.KEYED_FRAGMENT */]: `KEYED_FRAGMENT`,\n [256 /* PatchFlags.UNKEYED_FRAGMENT */]: `UNKEYED_FRAGMENT`,\n [512 /* PatchFlags.NEED_PATCH */]: `NEED_PATCH`,\n [1024 /* PatchFlags.DYNAMIC_SLOTS */]: `DYNAMIC_SLOTS`,\n [2048 /* PatchFlags.DEV_ROOT_FRAGMENT */]: `DEV_ROOT_FRAGMENT`,\n [-1 /* PatchFlags.HOISTED */]: `HOISTED`,\n [-2 /* PatchFlags.BAIL */]: `BAIL`\n};\n\n/**\n * Dev only\n */\nconst slotFlagsText = {\n [1 /* SlotFlags.STABLE */]: 'STABLE',\n [2 /* SlotFlags.DYNAMIC */]: 'DYNAMIC',\n [3 /* SlotFlags.FORWARDED */]: 'FORWARDED'\n};\n\nconst GLOBALS_WHITE_LISTED = 'Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,' +\n 'decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,' +\n 'Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt';\nconst isGloballyWhitelisted = /*#__PURE__*/ makeMap(GLOBALS_WHITE_LISTED);\n\nconst range = 2;\nfunction generateCodeFrame(source, start = 0, end = source.length) {\n // Split the content into individual lines but capture the newline sequence\n // that separated each line. This is important because the actual sequence is\n // needed to properly take into account the full line length for offset\n // comparison\n let lines = source.split(/(\\r?\\n)/);\n // Separate the lines and newline sequences into separate arrays for easier referencing\n const newlineSequences = lines.filter((_, idx) => idx % 2 === 1);\n lines = lines.filter((_, idx) => idx % 2 === 0);\n let count = 0;\n const res = [];\n for (let i = 0; i < lines.length; i++) {\n count +=\n lines[i].length +\n ((newlineSequences[i] && newlineSequences[i].length) || 0);\n if (count >= start) {\n for (let j = i - range; j <= i + range || end > count; j++) {\n if (j < 0 || j >= lines.length)\n continue;\n const line = j + 1;\n res.push(`${line}${' '.repeat(Math.max(3 - String(line).length, 0))}| ${lines[j]}`);\n const lineLength = lines[j].length;\n const newLineSeqLength = (newlineSequences[j] && newlineSequences[j].length) || 0;\n if (j === i) {\n // push underline\n const pad = start - (count - (lineLength + newLineSeqLength));\n const length = Math.max(1, end > count ? lineLength - pad : end - start);\n res.push(` | ` + ' '.repeat(pad) + '^'.repeat(length));\n }\n else if (j > i) {\n if (end > count) {\n const length = Math.max(Math.min(end - count, lineLength), 1);\n res.push(` | ` + '^'.repeat(length));\n }\n count += lineLength + newLineSeqLength;\n }\n }\n break;\n }\n }\n return res.join('\\n');\n}\n\nfunction normalizeStyle(value) {\n if (isArray(value)) {\n const res = {};\n for (let i = 0; i < value.length; i++) {\n const item = value[i];\n const normalized = isString(item)\n ? parseStringStyle(item)\n : normalizeStyle(item);\n if (normalized) {\n for (const key in normalized) {\n res[key] = normalized[key];\n }\n }\n }\n return res;\n }\n else if (isString(value)) {\n return value;\n }\n else if (isObject(value)) {\n return value;\n }\n}\nconst listDelimiterRE = /;(?![^(]*\\))/g;\nconst propertyDelimiterRE = /:([^]+)/;\nconst styleCommentRE = /\\/\\*.*?\\*\\//gs;\nfunction parseStringStyle(cssText) {\n const ret = {};\n cssText\n .replace(styleCommentRE, '')\n .split(listDelimiterRE)\n .forEach(item => {\n if (item) {\n const tmp = item.split(propertyDelimiterRE);\n tmp.length > 1 && (ret[tmpLine truncated
|
||||
"mappings": ";AAOA,SAAS,QAAQ,KAAK,kBAAkB;AACpC,QAAMA,OAAM,uBAAO,OAAO,IAAI;AAC9B,QAAM,OAAO,IAAI,MAAM,GAAG;AAC1B,WAAS,IAAI,GAAG,IAAI,KAAK,QAAQ,KAAK;AAClC,IAAAA,KAAI,KAAK,CAAC,CAAC,IAAI;AAAA,EACnB;AACA,SAAO,mBAAmB,SAAO,CAAC,CAACA,KAAI,IAAI,YAAY,CAAC,IAAI,SAAO,CAAC,CAACA,KAAI,GAAG;AAChF;AA+BA,IAAM,uBAAuB;AAG7B,IAAM,wBAAsC,QAAQ,oBAAoB;AA8CxE,SAAS,eAAe,OAAO;AAC3B,MAAI,QAAQ,KAAK,GAAG;AAChB,UAAM,MAAM,CAAC;AACb,aAAS,IAAI,GAAG,IAAI,MAAM,QAAQ,KAAK;AACnC,YAAM,OAAO,MAAM,CAAC;AACpB,YAAM,aAAa,SAAS,IAAI,IAC1B,iBAAiB,IAAI,IACrB,eAAe,IAAI;AACzB,UAAI,YAAY;AACZ,mBAAW,OAAO,YAAY;AAC1B,cAAI,GAAG,IAAI,WAAW,GAAG;AAAA,QAC7B;AAAA,MACJ;AAAA,IACJ;AACA,WAAO;AAAA,EACX,WACS,SAAS,KAAK,GAAG;AACtB,WAAO;AAAA,EACX,WACS,SAAS,KAAK,GAAG;AACtB,WAAO;AAAA,EACX;AACJ;AACA,IAAM,kBAAkB;AACxB,IAAM,sBAAsB;AAC5B,IAAM,iBAAiB;AACvB,SAAS,iBAAiB,SAAS;AAC/B,QAAM,MAAM,CAAC;AACb,UACK,QAAQ,gBAAgB,EAAE,EAC1B,MAAM,eAAe,EACrB,QAAQ,UAAQ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"has", "mutableInstrumentations", "shallowInstrumentations", "readonlyInstrumentations", "shallowReadonlyInstrumentations", "ref", "self", "warn", "p", "_a", "version", "isModelListener", "raw", "emit", "render", "remove", "vnode", "parentComponent", "container", "anchor", "parent", "isSVG", "effect", "callHook", "hook", "key", "resolve", "ref", "instance", "has", "get", "set", "computed", "h", "hydrate", "createApp", "patchProp", "hasWarned", "next", "isShallow", "warn", "isBoolean", "e", "hydrate", "resolve", "def", "callHook", "h", "compile", "warn"]
|
||||
"sources": ["../../../../../../node_modules/@vue/shared/dist/shared.esm-bundler.js", "../../../../../../node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js", "../../../../../../node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js", "../../../../../../node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js", "../../../../../../node_modules/vue/dist/vue.runtime.esm-bundler.js"],
|
||||
"sourcesContent": ["/**\n * Make a map and return a function for checking if a key\n * is in that map.\n * IMPORTANT: all calls of this function must be prefixed with\n * \\/\\*#\\_\\_PURE\\_\\_\\*\\/\n * So that rollup can tree-shake them if necessary.\n */\nfunction makeMap(str, expectsLowerCase) {\n const map = Object.create(null);\n const list = str.split(',');\n for (let i = 0; i < list.length; i++) {\n map[list[i]] = true;\n }\n return expectsLowerCase ? val => !!map[val.toLowerCase()] : val => !!map[val];\n}\n\n/**\n * dev only flag -> name mapping\n */\nconst PatchFlagNames = {\n [1 /* PatchFlags.TEXT */]: `TEXT`,\n [2 /* PatchFlags.CLASS */]: `CLASS`,\n [4 /* PatchFlags.STYLE */]: `STYLE`,\n [8 /* PatchFlags.PROPS */]: `PROPS`,\n [16 /* PatchFlags.FULL_PROPS */]: `FULL_PROPS`,\n [32 /* PatchFlags.HYDRATE_EVENTS */]: `HYDRATE_EVENTS`,\n [64 /* PatchFlags.STABLE_FRAGMENT */]: `STABLE_FRAGMENT`,\n [128 /* PatchFlags.KEYED_FRAGMENT */]: `KEYED_FRAGMENT`,\n [256 /* PatchFlags.UNKEYED_FRAGMENT */]: `UNKEYED_FRAGMENT`,\n [512 /* PatchFlags.NEED_PATCH */]: `NEED_PATCH`,\n [1024 /* PatchFlags.DYNAMIC_SLOTS */]: `DYNAMIC_SLOTS`,\n [2048 /* PatchFlags.DEV_ROOT_FRAGMENT */]: `DEV_ROOT_FRAGMENT`,\n [-1 /* PatchFlags.HOISTED */]: `HOISTED`,\n [-2 /* PatchFlags.BAIL */]: `BAIL`\n};\n\n/**\n * Dev only\n */\nconst slotFlagsText = {\n [1 /* SlotFlags.STABLE */]: 'STABLE',\n [2 /* SlotFlags.DYNAMIC */]: 'DYNAMIC',\n [3 /* SlotFlags.FORWARDED */]: 'FORWARDED'\n};\n\nconst GLOBALS_WHITE_LISTED = 'Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,' +\n 'decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,' +\n 'Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt';\nconst isGloballyWhitelisted = /*#__PURE__*/ makeMap(GLOBALS_WHITE_LISTED);\n\nconst range = 2;\nfunction generateCodeFrame(source, start = 0, end = source.length) {\n // Split the content into individual lines but capture the newline sequence\n // that separated each line. This is important because the actual sequence is\n // needed to properly take into account the full line length for offset\n // comparison\n let lines = source.split(/(\\r?\\n)/);\n // Separate the lines and newline sequences into separate arrays for easier referencing\n const newlineSequences = lines.filter((_, idx) => idx % 2 === 1);\n lines = lines.filter((_, idx) => idx % 2 === 0);\n let count = 0;\n const res = [];\n for (let i = 0; i < lines.length; i++) {\n count +=\n lines[i].length +\n ((newlineSequences[i] && newlineSequences[i].length) || 0);\n if (count >= start) {\n for (let j = i - range; j <= i + range || end > count; j++) {\n if (j < 0 || j >= lines.length)\n continue;\n const line = j + 1;\n res.push(`${line}${' '.repeat(Math.max(3 - String(line).length, 0))}| ${lines[j]}`);\n const lineLength = lines[j].length;\n const newLineSeqLength = (newlineSequences[j] && newlineSequences[j].length) || 0;\n if (j === i) {\n // push underline\n const pad = start - (count - (lineLength + newLineSeqLength));\n const length = Math.max(1, end > count ? lineLength - pad : end - start);\n res.push(` | ` + ' '.repeat(pad) + '^'.repeat(length));\n }\n else if (j > i) {\n if (end > count) {\n const length = Math.max(Math.min(end - count, lineLength), 1);\n res.push(` | ` + '^'.repeat(length));\n }\n count += lineLength + newLineSeqLength;\n }\n }\n break;\n }\n }\n return res.join('\\n');\n}\n\nfunction normalizeStyle(value) {\n if (isArray(value)) {\n const res = {};\n for (let i = 0; i < value.length; i++) {\n const item = value[i];\n const normalized = isString(item)\n ? parseStringStyle(item)\n : normalizeStyle(item);\n if (normalized) {\n for (const key in normalized) {\n res[key] = normalized[key];\n }\n }\n }\n return res;\n }\n else if (isString(value)) {\n return value;\n }\n else if (isObject(value)) {\n return value;\n }\n}\nconst listDelimiterRE = /;(?![^(]*\\))/g;\nconst propertyDelimiterRE = /:([^]+)/;\nconst styleCommentRE = /\\/\\*.*?\\*\\//gs;\nfunction parseStringStyle(cssText) {\n const ret = {};\n cssText\n .replace(styleCommentRE, '')\n .split(listDelimiterRE)\n .forEach(item => {\n if (item) {\n const tmp = item.split(propertyDelimiterRE);\n tmp.length > 1 && (ret[tmpLine truncated
|
||||
"mappings": ";AAOA,SAAS,QAAQ,KAAK,kBAAkB;AACpC,QAAMA,OAAM,uBAAO,OAAO,IAAI;AAC9B,QAAM,OAAO,IAAI,MAAM,GAAG;AAC1B,WAAS,IAAI,GAAG,IAAI,KAAK,QAAQ,KAAK;AAClC,IAAAA,KAAI,KAAK,CAAC,CAAC,IAAI;AAAA,EACnB;AACA,SAAO,mBAAmB,SAAO,CAAC,CAACA,KAAI,IAAI,YAAY,CAAC,IAAI,SAAO,CAAC,CAACA,KAAI,GAAG;AAChF;AA+BA,IAAM,uBAAuB;AAG7B,IAAM,wBAAsC,QAAQ,oBAAoB;AA8CxE,SAAS,eAAe,OAAO;AAC3B,MAAI,QAAQ,KAAK,GAAG;AAChB,UAAM,MAAM,CAAC;AACb,aAAS,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IAAM,WAAW,CAAC,QAAQ,OAAO,QAAQ;AACzC,IAAM,WAAW,CAAC,QAAQ,QAAQ,QAAQ,OAAO,QAAQ;AACzD,IAAM,YAAY,CAAC,QAAQ;AACvB,SAAO,SAAS,GAAG,KAAK,WAAW,IAAI,IAAI,KAAK,WAAW,IAAI,KAAK;AACxE;AACA,IAAM,iBAAiB,OAAO,UAAU;AACxC,IAAM,eAAe,CAAC,UAAU,eAAe,KAAK,KAAK;AACzD,IAAM,YAAY,CAAC,UAAU;AAEzB,SAAO,aAAa,KAAK,EAAE,MAAM,GAAG,EAAE;AAC1C;AACA,IAAM,gBAAgB,CAAC,QAAQ,aAAa,GAAG,MAAM;AACrD,IAAM,eAAe,CAAC,QAAQ,SAAS,GAAG,KACtC,QAAQ,SACR,IALine truncated
|
||||
"names": ["map", "val", "effect", "shouldTrack", "key", "effect", "_a", "hasOwnProperty", "isReadonly", "get", "set", "isShallow", "has", "mutableInstrumentations", "shallowInstrumentations", "readonlyInstrumentations", "shallowReadonlyInstrumentations", "ref", "self", "warn", "p", "_a", "version", "isModelListener", "raw", "emit", "render", "remove", "vnode", "parentComponent", "container", "anchor", "parent", "isSVG", "effect", "callHook", "hook", "key", "resolve", "ref", "instance", "has", "get", "set", "computed", "h", "hydrate", "createApp", "patchProp", "hasWarned", "next", "isShallow", "warn", "isBoolean", "e", "hydrate", "resolve", "def", "callHook", "h", "compile", "warn"]
|
||||
}
|
||||
@@ -16,7 +16,7 @@ const config = {
|
||||
{ text: 'English', link: '/en/', activeMatch: '/en/' },
|
||||
{ text: 'Online Editor', link: 'https://artplayer.org' },
|
||||
{
|
||||
text: '4.6.x',
|
||||
text: '5.0.x',
|
||||
items: [
|
||||
{ text: 'Changelog', link: 'https://github.com/zhw2590582/ArtPlayer/blob/master/CHANGELOG_CN.md' },
|
||||
{ text: 'Donation', link: 'https://github.com/zhw2590582/ArtPlayer#donations' },
|
||||
@@ -35,8 +35,16 @@ const config = {
|
||||
items: [
|
||||
{ text: '安装使用', link: '/' },
|
||||
{ text: '基础选项', link: '/start/option' },
|
||||
{ text: '组件配置', link: '/start/component' },
|
||||
{ text: '设置面板', link: '/start/setting' },
|
||||
]
|
||||
},
|
||||
{
|
||||
text: '组件',
|
||||
collapsible: true,
|
||||
items: [
|
||||
{ text: '业务层', link: '/component/layers' },
|
||||
{ text: '控制器', link: '/component/controls' },
|
||||
{ text: '右键菜单', link: '/component/contextmenu' },
|
||||
{ text: '设置面板', link: '/component/setting' },
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -69,7 +77,6 @@ const config = {
|
||||
{ text: 'hls.js', link: '/library/hls' },
|
||||
{ text: 'flv.js', link: '/library/flv' },
|
||||
{ text: 'dash.js', link: '/library/dash' },
|
||||
{ text: 'webtorrent.js', link: '/library/webtorrent' },
|
||||
]
|
||||
},
|
||||
],
|
||||
@@ -80,8 +87,16 @@ const config = {
|
||||
items: [
|
||||
{ text: 'Install', link: '/en/' },
|
||||
{ text: 'Option', link: '/en/start/option' },
|
||||
{ text: 'Component', link: '/en/start/component' },
|
||||
{ text: 'Setting', link: '/en/start/setting' },
|
||||
]
|
||||
},
|
||||
{
|
||||
text: 'Component',
|
||||
collapsible: true,
|
||||
items: [
|
||||
{ text: 'Layers', link: '/en/component/layers' },
|
||||
{ text: 'Controls', link: '/en/component/controls' },
|
||||
{ text: 'Contextmenu', link: '/en/component/contextmenu' },
|
||||
{ text: 'Setting', link: '/en/component/setting' },
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -113,7 +128,6 @@ const config = {
|
||||
{ text: 'hls.js', link: '/en/library/hls' },
|
||||
{ text: 'flv.js', link: '/en/library/flv' },
|
||||
{ text: 'dash.js', link: '/en/library/dash' },
|
||||
{ text: 'webtorrent.js', link: '/en/library/webtorrent' },
|
||||
]
|
||||
},
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user