@valaxyjs/devtools 0.19.1 → 0.19.2
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/client/assets/_plugin-vue_export-helper-DgDhiqFL.js +11 -0
- package/dist/client/assets/about-CDoBExGt.js +12 -0
- package/dist/client/assets/categories-D7hL1LTr.js +12 -0
- package/dist/client/assets/{index-Ychcb-KI.js → index-BIvNeJFh.js} +226 -2
- package/dist/client/assets/index-Ba7KgSIG.js +4918 -0
- package/dist/client/assets/{index-DIHmqMB6.css → index-CIq_dmzy.css} +1 -1
- package/dist/client/assets/index-DF84L4of.css +61 -0
- package/dist/client/assets/tags-C4xkAAO1.js +12 -0
- package/dist/client/index.html +2 -2
- package/package.json +1 -1
- package/src/client/main.ts +2 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { _ as _export_sfc } from './_plugin-vue_export-helper-DgDhiqFL.js';
|
|
2
|
+
import { o as openBlock, a as createElementBlock } from './index-BIvNeJFh.js';
|
|
3
|
+
|
|
4
|
+
/* unplugin-vue-components disabled */const _sfc_main = {};
|
|
5
|
+
|
|
6
|
+
function _sfc_render(_ctx, _cache) {
|
|
7
|
+
return (openBlock(), createElementBlock("div", null, " About "))
|
|
8
|
+
}
|
|
9
|
+
const about = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render]]);
|
|
10
|
+
/* Injected with object hook! */
|
|
11
|
+
|
|
12
|
+
export { about as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { _ as _export_sfc } from './_plugin-vue_export-helper-DgDhiqFL.js';
|
|
2
|
+
import { o as openBlock, a as createElementBlock } from './index-BIvNeJFh.js';
|
|
3
|
+
|
|
4
|
+
/* unplugin-vue-components disabled */const _sfc_main = {};
|
|
5
|
+
|
|
6
|
+
function _sfc_render(_ctx, _cache) {
|
|
7
|
+
return (openBlock(), createElementBlock("div", null, " Categories "))
|
|
8
|
+
}
|
|
9
|
+
const categories = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render]]);
|
|
10
|
+
/* Injected with object hook! */
|
|
11
|
+
|
|
12
|
+
export { categories as default };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-Ba7KgSIG.js","./_plugin-vue_export-helper-DgDhiqFL.js","./index-DF84L4of.css","./about-CDoBExGt.js","./categories-D7hL1LTr.js","./tags-C4xkAAO1.js"])))=>i.map(i=>d[i]);
|
|
1
2
|
true&&(function polyfill() {
|
|
2
3
|
const relList = document.createElement("link").relList;
|
|
3
4
|
if (relList && relList.supports && relList.supports("modulepreload")) {
|
|
@@ -185,6 +186,44 @@ const isSpecialBooleanAttr = /* @__PURE__ */ makeMap(specialBooleanAttrs);
|
|
|
185
186
|
function includeBooleanAttr(value) {
|
|
186
187
|
return !!value || value === "";
|
|
187
188
|
}
|
|
189
|
+
const isRef$1 = (val) => {
|
|
190
|
+
return !!(val && val.__v_isRef === true);
|
|
191
|
+
};
|
|
192
|
+
const toDisplayString = (val) => {
|
|
193
|
+
return isString(val) ? val : val == null ? "" : isArray$1(val) || isObject(val) && (val.toString === objectToString || !isFunction(val.toString)) ? isRef$1(val) ? toDisplayString(val.value) : JSON.stringify(val, replacer, 2) : String(val);
|
|
194
|
+
};
|
|
195
|
+
const replacer = (_key, val) => {
|
|
196
|
+
if (isRef$1(val)) {
|
|
197
|
+
return replacer(_key, val.value);
|
|
198
|
+
} else if (isMap(val)) {
|
|
199
|
+
return {
|
|
200
|
+
[`Map(${val.size})`]: [...val.entries()].reduce(
|
|
201
|
+
(entries, [key, val2], i) => {
|
|
202
|
+
entries[stringifySymbol(key, i) + " =>"] = val2;
|
|
203
|
+
return entries;
|
|
204
|
+
},
|
|
205
|
+
{}
|
|
206
|
+
)
|
|
207
|
+
};
|
|
208
|
+
} else if (isSet(val)) {
|
|
209
|
+
return {
|
|
210
|
+
[`Set(${val.size})`]: [...val.values()].map((v) => stringifySymbol(v))
|
|
211
|
+
};
|
|
212
|
+
} else if (isSymbol(val)) {
|
|
213
|
+
return stringifySymbol(val);
|
|
214
|
+
} else if (isObject(val) && !isArray$1(val) && !isPlainObject(val)) {
|
|
215
|
+
return String(val);
|
|
216
|
+
}
|
|
217
|
+
return val;
|
|
218
|
+
};
|
|
219
|
+
const stringifySymbol = (v, i = "") => {
|
|
220
|
+
var _a;
|
|
221
|
+
return (
|
|
222
|
+
// Symbol.description in es2019+ so we need to cast here to pass
|
|
223
|
+
// the lib: es2016 check
|
|
224
|
+
isSymbol(v) ? `Symbol(${(_a = v.description) != null ? _a : i})` : v
|
|
225
|
+
);
|
|
226
|
+
};
|
|
188
227
|
|
|
189
228
|
/* Injected with object hook! */
|
|
190
229
|
|
|
@@ -1885,6 +1924,38 @@ function invokeDirectiveHook(vnode, prevVNode, instance, name) {
|
|
|
1885
1924
|
}
|
|
1886
1925
|
}
|
|
1887
1926
|
}
|
|
1927
|
+
function renderList(source, renderItem, cache, index) {
|
|
1928
|
+
let ret;
|
|
1929
|
+
const cached = cache ;
|
|
1930
|
+
if (isArray$1(source) || isString(source)) {
|
|
1931
|
+
ret = new Array(source.length);
|
|
1932
|
+
for (let i = 0, l = source.length; i < l; i++) {
|
|
1933
|
+
ret[i] = renderItem(source[i], i, void 0, cached );
|
|
1934
|
+
}
|
|
1935
|
+
} else if (typeof source === "number") {
|
|
1936
|
+
ret = new Array(source);
|
|
1937
|
+
for (let i = 0; i < source; i++) {
|
|
1938
|
+
ret[i] = renderItem(i + 1, i, void 0, cached );
|
|
1939
|
+
}
|
|
1940
|
+
} else if (isObject(source)) {
|
|
1941
|
+
if (source[Symbol.iterator]) {
|
|
1942
|
+
ret = Array.from(
|
|
1943
|
+
source,
|
|
1944
|
+
(item, i) => renderItem(item, i, void 0, cached )
|
|
1945
|
+
);
|
|
1946
|
+
} else {
|
|
1947
|
+
const keys = Object.keys(source);
|
|
1948
|
+
ret = new Array(keys.length);
|
|
1949
|
+
for (let i = 0, l = keys.length; i < l; i++) {
|
|
1950
|
+
const key = keys[i];
|
|
1951
|
+
ret[i] = renderItem(source[key], key, i, cached );
|
|
1952
|
+
}
|
|
1953
|
+
}
|
|
1954
|
+
} else {
|
|
1955
|
+
ret = [];
|
|
1956
|
+
}
|
|
1957
|
+
return ret;
|
|
1958
|
+
}
|
|
1888
1959
|
/*! #__NO_SIDE_EFFECTS__ */
|
|
1889
1960
|
// @__NO_SIDE_EFFECTS__
|
|
1890
1961
|
function defineComponent(options, extraOptions) {
|
|
@@ -1895,6 +1966,44 @@ function defineComponent(options, extraOptions) {
|
|
|
1895
1966
|
) : options;
|
|
1896
1967
|
}
|
|
1897
1968
|
const isAsyncWrapper = (i) => !!i.type.__asyncLoader;
|
|
1969
|
+
function renderSlot(slots, name, props = {}, fallback, noSlotted) {
|
|
1970
|
+
if (currentRenderingInstance.isCE || currentRenderingInstance.parent && isAsyncWrapper(currentRenderingInstance.parent) && currentRenderingInstance.parent.isCE) {
|
|
1971
|
+
if (name !== "default") props.name = name;
|
|
1972
|
+
return createVNode("slot", props, fallback );
|
|
1973
|
+
}
|
|
1974
|
+
let slot = slots[name];
|
|
1975
|
+
if (slot && slot._c) {
|
|
1976
|
+
slot._d = false;
|
|
1977
|
+
}
|
|
1978
|
+
openBlock();
|
|
1979
|
+
const validSlotContent = slot && ensureValidVNode(slot(props));
|
|
1980
|
+
const rendered = createBlock(
|
|
1981
|
+
Fragment,
|
|
1982
|
+
{
|
|
1983
|
+
key: props.key || // slot content array of a dynamic conditional slot may have a branch
|
|
1984
|
+
// key attached in the `createSlots` helper, respect that
|
|
1985
|
+
validSlotContent && validSlotContent.key || `_${name}`
|
|
1986
|
+
},
|
|
1987
|
+
validSlotContent || ([]),
|
|
1988
|
+
validSlotContent && slots._ === 1 ? 64 : -2
|
|
1989
|
+
);
|
|
1990
|
+
if (rendered.scopeId) {
|
|
1991
|
+
rendered.slotScopeIds = [rendered.scopeId + "-s"];
|
|
1992
|
+
}
|
|
1993
|
+
if (slot && slot._c) {
|
|
1994
|
+
slot._d = true;
|
|
1995
|
+
}
|
|
1996
|
+
return rendered;
|
|
1997
|
+
}
|
|
1998
|
+
function ensureValidVNode(vnodes) {
|
|
1999
|
+
return vnodes.some((child) => {
|
|
2000
|
+
if (!isVNode(child)) return true;
|
|
2001
|
+
if (child.type === Comment) return false;
|
|
2002
|
+
if (child.type === Fragment && !ensureValidVNode(child.children))
|
|
2003
|
+
return false;
|
|
2004
|
+
return true;
|
|
2005
|
+
}) ? vnodes : null;
|
|
2006
|
+
}
|
|
1898
2007
|
const getPublicInstance = (i) => {
|
|
1899
2008
|
if (!i) return null;
|
|
1900
2009
|
if (isStatefulComponent(i)) return getComponentPublicInstance(i);
|
|
@@ -4621,6 +4730,19 @@ function setupBlock(vnode) {
|
|
|
4621
4730
|
}
|
|
4622
4731
|
return vnode;
|
|
4623
4732
|
}
|
|
4733
|
+
function createElementBlock(type, props, children, patchFlag, dynamicProps, shapeFlag) {
|
|
4734
|
+
return setupBlock(
|
|
4735
|
+
createBaseVNode(
|
|
4736
|
+
type,
|
|
4737
|
+
props,
|
|
4738
|
+
children,
|
|
4739
|
+
patchFlag,
|
|
4740
|
+
dynamicProps,
|
|
4741
|
+
shapeFlag,
|
|
4742
|
+
true
|
|
4743
|
+
)
|
|
4744
|
+
);
|
|
4745
|
+
}
|
|
4624
4746
|
function createBlock(type, props, children, patchFlag, dynamicProps) {
|
|
4625
4747
|
return setupBlock(
|
|
4626
4748
|
createVNode(
|
|
@@ -4813,6 +4935,9 @@ function cloneVNode(vnode, extraProps, mergeRef = false, cloneTransition = false
|
|
|
4813
4935
|
function createTextVNode(text = " ", flag = 0) {
|
|
4814
4936
|
return createVNode(Text, null, text, flag);
|
|
4815
4937
|
}
|
|
4938
|
+
function createCommentVNode(text = "", asBlock = false) {
|
|
4939
|
+
return asBlock ? (openBlock(), createBlock(Comment, null, text)) : createVNode(Comment, null, text);
|
|
4940
|
+
}
|
|
4816
4941
|
function normalizeVNode(child) {
|
|
4817
4942
|
if (child == null || typeof child === "boolean") {
|
|
4818
4943
|
return createVNode(Comment);
|
|
@@ -7511,6 +7636,95 @@ function createRouter(options) {
|
|
|
7511
7636
|
|
|
7512
7637
|
/* Injected with object hook! */
|
|
7513
7638
|
|
|
7639
|
+
const scriptRel = 'modulepreload';const assetsURL = function(dep, importerUrl) { return new URL(dep, importerUrl).href };const seen = {};const __vitePreload = function preload(baseModule, deps, importerUrl) {
|
|
7640
|
+
let promise = Promise.resolve();
|
|
7641
|
+
if (true && deps && deps.length > 0) {
|
|
7642
|
+
const links = document.getElementsByTagName("link");
|
|
7643
|
+
const cspNonceMeta = document.querySelector(
|
|
7644
|
+
"meta[property=csp-nonce]"
|
|
7645
|
+
);
|
|
7646
|
+
const cspNonce = cspNonceMeta?.nonce || cspNonceMeta?.getAttribute("nonce");
|
|
7647
|
+
promise = Promise.all(
|
|
7648
|
+
deps.map((dep) => {
|
|
7649
|
+
dep = assetsURL(dep, importerUrl);
|
|
7650
|
+
if (dep in seen) return;
|
|
7651
|
+
seen[dep] = true;
|
|
7652
|
+
const isCss = dep.endsWith(".css");
|
|
7653
|
+
const cssSelector = isCss ? '[rel="stylesheet"]' : "";
|
|
7654
|
+
const isBaseRelative = !!importerUrl;
|
|
7655
|
+
if (isBaseRelative) {
|
|
7656
|
+
for (let i = links.length - 1; i >= 0; i--) {
|
|
7657
|
+
const link2 = links[i];
|
|
7658
|
+
if (link2.href === dep && (!isCss || link2.rel === "stylesheet")) {
|
|
7659
|
+
return;
|
|
7660
|
+
}
|
|
7661
|
+
}
|
|
7662
|
+
} else if (document.querySelector(`link[href="${dep}"]${cssSelector}`)) {
|
|
7663
|
+
return;
|
|
7664
|
+
}
|
|
7665
|
+
const link = document.createElement("link");
|
|
7666
|
+
link.rel = isCss ? "stylesheet" : scriptRel;
|
|
7667
|
+
if (!isCss) {
|
|
7668
|
+
link.as = "script";
|
|
7669
|
+
link.crossOrigin = "";
|
|
7670
|
+
}
|
|
7671
|
+
link.href = dep;
|
|
7672
|
+
if (cspNonce) {
|
|
7673
|
+
link.setAttribute("nonce", cspNonce);
|
|
7674
|
+
}
|
|
7675
|
+
document.head.appendChild(link);
|
|
7676
|
+
if (isCss) {
|
|
7677
|
+
return new Promise((res, rej) => {
|
|
7678
|
+
link.addEventListener("load", res);
|
|
7679
|
+
link.addEventListener(
|
|
7680
|
+
"error",
|
|
7681
|
+
() => rej(new Error(`Unable to preload CSS for ${dep}`))
|
|
7682
|
+
);
|
|
7683
|
+
});
|
|
7684
|
+
}
|
|
7685
|
+
})
|
|
7686
|
+
);
|
|
7687
|
+
}
|
|
7688
|
+
return promise.then(() => baseModule()).catch((err) => {
|
|
7689
|
+
const e = new Event("vite:preloadError", { cancelable: true });
|
|
7690
|
+
e.payload = err;
|
|
7691
|
+
window.dispatchEvent(e);
|
|
7692
|
+
if (!e.defaultPrevented) {
|
|
7693
|
+
throw err;
|
|
7694
|
+
}
|
|
7695
|
+
});
|
|
7696
|
+
};
|
|
7697
|
+
/* Injected with object hook! */
|
|
7698
|
+
|
|
7699
|
+
const routes = [
|
|
7700
|
+
{
|
|
7701
|
+
path: "/",
|
|
7702
|
+
name: "/",
|
|
7703
|
+
component: () => __vitePreload(() => import('./index-Ba7KgSIG.js'),true?__vite__mapDeps([0,1,2]):void 0,import.meta.url)
|
|
7704
|
+
/* no children */
|
|
7705
|
+
},
|
|
7706
|
+
{
|
|
7707
|
+
path: "/about",
|
|
7708
|
+
name: "/about",
|
|
7709
|
+
component: () => __vitePreload(() => import('./about-CDoBExGt.js'),true?__vite__mapDeps([3,1]):void 0,import.meta.url)
|
|
7710
|
+
/* no children */
|
|
7711
|
+
},
|
|
7712
|
+
{
|
|
7713
|
+
path: "/categories",
|
|
7714
|
+
name: "/categories",
|
|
7715
|
+
component: () => __vitePreload(() => import('./categories-D7hL1LTr.js'),true?__vite__mapDeps([4,1]):void 0,import.meta.url)
|
|
7716
|
+
/* no children */
|
|
7717
|
+
},
|
|
7718
|
+
{
|
|
7719
|
+
path: "/tags",
|
|
7720
|
+
name: "/tags",
|
|
7721
|
+
component: () => __vitePreload(() => import('./tags-C4xkAAO1.js'),true?__vite__mapDeps([5,1]):void 0,import.meta.url)
|
|
7722
|
+
/* no children */
|
|
7723
|
+
}
|
|
7724
|
+
];
|
|
7725
|
+
|
|
7726
|
+
/* Injected with object hook! */
|
|
7727
|
+
|
|
7514
7728
|
const devtoolsRouter = ref();
|
|
7515
7729
|
const activePath = ref("");
|
|
7516
7730
|
const frontmatter = ref();
|
|
@@ -7518,9 +7732,16 @@ const pageData = ref();
|
|
|
7518
7732
|
|
|
7519
7733
|
/* Injected with object hook! */
|
|
7520
7734
|
|
|
7735
|
+
function getAppWindow() {
|
|
7736
|
+
return window.parent.parent;
|
|
7737
|
+
}
|
|
7521
7738
|
function getWindowProperty(property) {
|
|
7522
7739
|
return window.parent.parent[property];
|
|
7523
7740
|
}
|
|
7741
|
+
function getGlobalValaxyProperty(property) {
|
|
7742
|
+
const $valaxy = window.parent.parent.$valaxy;
|
|
7743
|
+
return $valaxy[property];
|
|
7744
|
+
}
|
|
7524
7745
|
|
|
7525
7746
|
/* Injected with object hook! */
|
|
7526
7747
|
|
|
@@ -7544,7 +7765,7 @@ function initDevtoolsClient() {
|
|
|
7544
7765
|
|
|
7545
7766
|
/* Injected with object hook! */
|
|
7546
7767
|
|
|
7547
|
-
document.body.getAttribute("data-valaxy-devtools-mode") === "BUILD";
|
|
7768
|
+
const isStaticMode = document.body.getAttribute("data-valaxy-devtools-mode") === "BUILD";
|
|
7548
7769
|
|
|
7549
7770
|
/* Injected with object hook! */
|
|
7550
7771
|
|
|
@@ -7573,7 +7794,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
7573
7794
|
|
|
7574
7795
|
const app = createApp(_sfc_main);
|
|
7575
7796
|
const router = createRouter({
|
|
7576
|
-
history: createWebHashHistory()
|
|
7797
|
+
history: createWebHashHistory(),
|
|
7798
|
+
routes
|
|
7577
7799
|
});
|
|
7578
7800
|
app.use(router);
|
|
7579
7801
|
app.mount("#app");
|
|
@@ -7581,3 +7803,5 @@ app.mount("#app");
|
|
|
7581
7803
|
/* Injected with object hook! */
|
|
7582
7804
|
|
|
7583
7805
|
/* Injected with object hook! */
|
|
7806
|
+
|
|
7807
|
+
export { h as A, normalizeStyle as B, isStaticMode as C, Fragment as F, createElementBlock as a, createCommentVNode as b, computed as c, defineComponent as d, ref as e, onMounted as f, getAppWindow as g, createBaseVNode as h, resolveComponent as i, createBlock as j, renderList as k, createTextVNode as l, createVNode as m, normalizeClass as n, openBlock as o, pageData as p, toRaw as q, renderSlot as r, frontmatter as s, toDisplayString as t, unref as u, getWindowProperty as v, withCtx as w, getGlobalValaxyProperty as x, activePath as y, devtoolsRouter as z };
|