@rindo/core 1.17.4 → 2.5.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/LICENSE.md +27 -27
- package/bin/cli.ts +20 -0
- package/bin/rindo +51 -56
- package/cli/index.cjs +1263 -0
- package/cli/index.d.ts +1 -1
- package/cli/index.js +1232 -495
- package/cli/package.json +9 -4
- package/compiler/lib.d.ts +24 -0
- package/compiler/lib.dom.d.ts +20230 -0
- package/compiler/lib.dom.iterable.d.ts +351 -0
- package/compiler/lib.es2015.collection.d.ts +89 -0
- package/compiler/lib.es2015.core.d.ts +517 -0
- package/compiler/lib.es2015.d.ts +30 -0
- package/compiler/lib.es2015.generator.d.ts +79 -0
- package/compiler/lib.es2015.iterable.d.ts +505 -0
- package/compiler/lib.es2015.promise.d.ts +150 -0
- package/compiler/lib.es2015.proxy.d.ts +41 -0
- package/compiler/lib.es2015.reflect.d.ts +123 -0
- package/compiler/lib.es2015.symbol.d.ts +48 -0
- package/compiler/lib.es2015.symbol.wellknown.d.ts +324 -0
- package/compiler/lib.es2016.array.include.d.ts +118 -0
- package/compiler/lib.es2016.d.ts +22 -0
- package/compiler/lib.es2016.full.d.ts +25 -0
- package/compiler/lib.es2017.d.ts +26 -0
- package/compiler/lib.es2017.full.d.ts +25 -0
- package/compiler/lib.es2017.intl.d.ts +32 -0
- package/compiler/lib.es2017.object.d.ts +51 -0
- package/compiler/lib.es2017.sharedmemory.d.ts +137 -0
- package/compiler/lib.es2017.string.d.ts +47 -0
- package/compiler/lib.es2017.typedarrays.d.ts +55 -0
- package/compiler/lib.es2018.asyncgenerator.d.ts +79 -0
- package/compiler/lib.es2018.asynciterable.d.ts +45 -0
- package/compiler/lib.es2018.d.ts +26 -0
- package/compiler/lib.es2018.full.d.ts +25 -0
- package/compiler/lib.es2018.intl.d.ts +61 -0
- package/compiler/lib.es2018.promise.d.ts +32 -0
- package/compiler/lib.es2018.regexp.d.ts +39 -0
- package/compiler/lib.es2019.array.d.ts +85 -0
- package/compiler/lib.es2019.d.ts +25 -0
- package/compiler/lib.es2019.full.d.ts +25 -0
- package/compiler/lib.es2019.object.d.ts +35 -0
- package/compiler/lib.es2019.string.d.ts +33 -0
- package/compiler/lib.es2019.symbol.d.ts +26 -0
- package/compiler/lib.es2020.bigint.d.ts +728 -0
- package/compiler/lib.es2020.d.ts +27 -0
- package/compiler/lib.es2020.full.d.ts +25 -0
- package/compiler/lib.es2020.intl.d.ts +310 -0
- package/compiler/lib.es2020.promise.d.ts +50 -0
- package/compiler/lib.es2020.sharedmemory.d.ts +99 -0
- package/compiler/lib.es2020.string.d.ts +30 -0
- package/compiler/lib.es2020.symbol.wellknown.d.ts +39 -0
- package/compiler/lib.es5.d.ts +4435 -0
- package/compiler/lib.es6.d.ts +25 -0
- package/compiler/lib.esnext.d.ts +25 -0
- package/compiler/lib.esnext.full.d.ts +25 -0
- package/compiler/lib.esnext.intl.d.ts +32 -0
- package/compiler/lib.esnext.promise.d.ts +43 -0
- package/compiler/lib.esnext.string.d.ts +35 -0
- package/compiler/lib.esnext.weakref.d.ts +75 -0
- package/compiler/lib.scripthost.d.ts +327 -0
- package/compiler/lib.webworker.d.ts +6042 -0
- package/compiler/lib.webworker.importscripts.d.ts +26 -0
- package/compiler/lib.webworker.iterable.d.ts +166 -0
- package/compiler/package.json +3 -3
- package/compiler/rindo.d.ts +0 -16
- package/compiler/rindo.js +42738 -40541
- package/compiler/rindo.min.js +2 -15
- package/dependencies.json +73 -50
- package/dev-server/client/index.js +33 -10
- package/dev-server/client/package.json +3 -3
- package/dev-server/connector.html +3 -3
- package/dev-server/index.d.ts +3 -6
- package/dev-server/index.js +256 -252
- package/dev-server/package.json +3 -3
- package/dev-server/server-process.js +1738 -0
- package/dev-server/server-worker-thread.js +39 -0
- package/dev-server/templates/initial-load.html +160 -160
- package/dev-server/ws.js +1 -1
- package/internal/app-data/{index.cjs.js → index.cjs} +7 -5
- package/internal/app-data/index.d.ts +1 -0
- package/internal/app-data/index.js +7 -6
- package/internal/app-data/package.json +11 -5
- package/internal/client/css-shim.js +2 -2
- package/internal/client/dom.js +1 -1
- package/internal/client/index.js +193 -119
- package/internal/client/package.json +4 -3
- package/internal/client/{patch.js → patch-browser.js} +8 -24
- package/internal/client/patch-esm.js +23 -0
- package/internal/client/polyfills/css-shim.js +1 -1
- package/internal/client/polyfills/index.js +34 -34
- package/internal/client/shadow-css.js +9 -3
- package/internal/hydrate/index.js +305 -281
- package/internal/hydrate/package.json +2 -2
- package/internal/hydrate/runner.d.ts +24 -12
- package/internal/hydrate/runner.js +153 -124
- package/internal/hydrate/shadow-css.js +24 -24
- package/internal/package.json +5 -4
- package/internal/rindo-core/index.cjs +1 -0
- package/internal/rindo-core/index.d.ts +51 -2
- package/internal/rindo-core/index.js +15 -1
- package/internal/rindo-ext-modules.d.ts +41 -39
- package/internal/rindo-private.d.ts +93 -148
- package/internal/rindo-public-compiler.d.ts +231 -155
- package/internal/rindo-public-runtime.d.ts +42 -39
- package/internal/testing/index.js +144 -121
- package/internal/testing/package.json +2 -2
- package/internal/testing/shadow-css.js +24 -24
- package/mock-doc/index.cjs +4610 -0
- package/mock-doc/index.d.ts +12 -1
- package/mock-doc/index.js +177 -67
- package/mock-doc/package.json +11 -5
- package/package.json +132 -133
- package/readme.md +21 -95
- package/screenshot/compare/build/app.js +33 -33
- package/screenshot/compare/build/p-f4745c2f.entry.js +1 -1
- package/screenshot/connector-base.d.ts +1 -1
- package/screenshot/connector-local.d.ts +1 -1
- package/screenshot/index.js +63 -46
- package/screenshot/package.json +10 -3
- package/screenshot/pixel-match.js +54 -57
- package/screenshot/screenshot-compare.d.ts +1 -1
- package/screenshot/screenshot-fs.d.ts +1 -1
- package/sys/deno/index.js +1785 -0
- package/sys/deno/node-compat.js +2654 -0
- package/sys/deno/worker.js +44 -0
- package/sys/node/autoprefixer.js +8 -1
- package/sys/node/glob.js +1 -1
- package/sys/node/graceful-fs.js +1 -1
- package/sys/node/index.d.ts +1 -1
- package/sys/node/index.js +689 -705
- package/sys/node/node-fetch.js +1 -1
- package/sys/node/package.json +3 -3
- package/sys/node/prompts.js +1 -1
- package/sys/node/worker.js +38 -19
- package/testing/index.d.ts +3 -3
- package/testing/index.js +863 -749
- package/testing/jest/jest-config.d.ts +2 -89
- package/testing/jest/jest-environment.d.ts +1 -1
- package/testing/jest/jest-runner.d.ts +1 -1
- package/testing/jest/jest-screenshot.d.ts +1 -1
- package/testing/jest-preset.js +32 -32
- package/testing/matchers/events.d.ts +1 -1
- package/testing/matchers/screenshot.d.ts +1 -1
- package/testing/mock-fetch.d.ts +1 -1
- package/testing/mocks.d.ts +1 -1
- package/testing/package.json +3 -3
- package/testing/puppeteer/index.d.ts +1 -1
- package/testing/puppeteer/puppeteer-browser.d.ts +2 -2
- package/testing/puppeteer/puppeteer-declarations.d.ts +11 -11
- package/testing/puppeteer/puppeteer-element.d.ts +3 -3
- package/testing/puppeteer/puppeteer-emulate.d.ts +1 -1
- package/testing/puppeteer/puppeteer-events.d.ts +3 -3
- package/testing/puppeteer/puppeteer-page.d.ts +1 -1
- package/testing/puppeteer/puppeteer-screenshot.d.ts +2 -2
- package/testing/reset-build-conditionals.d.ts +1 -1
- package/testing/spec-page.d.ts +1 -1
- package/testing/test-transpile.d.ts +1 -1
- package/testing/testing-logger.d.ts +1 -1
- package/testing/testing-utils.d.ts +1 -1
- package/testing/testing.d.ts +1 -1
- package/cli/index.cjs.js +0 -524
- package/dev-server/content-type-db.json +0 -1
- package/dev-server/server-worker.js +0 -1570
- package/mock-doc/index.cjs.js +0 -4500
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const _parenSuffix = ")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)", _cssColonHostRe = new RegExp("(-shadowcsshost" + _parenSuffix, "gim"), _cssColonHostContextRe = new RegExp("(-shadowcsscontext" + _parenSuffix, "gim"), _cssColonSlottedRe = new RegExp("(-shadowcssslotted" + _parenSuffix, "gim"), _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\s]*)/, _shadowDOMSelectorsRe = [ /::shadow/g, /::content/g ], _polyfillHostRe = /-shadowcsshost/gim, _colonHostRe = /:host/gim, _colonSlottedRe = /::slotted/gim, _colonHostContextRe = /:host-context/gim, _commentRe = /\/\*\s*[\s\S]*?\*\//g, _commentWithHashRe = /\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g, _ruleRe = /(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g, _curlyRe = /([{}])/g, processRules = (e, t) => {
|
|
2
2
|
const s = escapeBlocks(e);
|
|
3
3
|
let o = 0;
|
|
4
|
-
return s.escapedString.replace(_ruleRe, (...e) => {
|
|
4
|
+
return s.escapedString.replace(_ruleRe, ((...e) => {
|
|
5
5
|
const c = e[2];
|
|
6
6
|
let r = "", n = e[4], l = "";
|
|
7
7
|
n && n.startsWith("{%BLOCK%") && (r = s.blocks[o++], n = n.substring("%BLOCK%".length + 1),
|
|
@@ -11,7 +11,7 @@ const _parenSuffix = ")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)", _cssColo
|
|
|
11
11
|
content: r
|
|
12
12
|
});
|
|
13
13
|
return `${e[1]}${a.selector}${e[3]}${l}${a.content}${n}`;
|
|
14
|
-
});
|
|
14
|
+
}));
|
|
15
15
|
}, escapeBlocks = e => {
|
|
16
16
|
const t = e.split(_curlyRe), s = [], o = [];
|
|
17
17
|
let c = 0, r = [];
|
|
@@ -24,7 +24,7 @@ const _parenSuffix = ")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)", _cssColo
|
|
|
24
24
|
escapedString: s.join(""),
|
|
25
25
|
blocks: o
|
|
26
26
|
};
|
|
27
|
-
}, convertColonRule = (e, t, s) => e.replace(t, (...e) => {
|
|
27
|
+
}, convertColonRule = (e, t, s) => e.replace(t, ((...e) => {
|
|
28
28
|
if (e[2]) {
|
|
29
29
|
const t = e[2].split(","), o = [];
|
|
30
30
|
for (let c = 0; c < t.length; c++) {
|
|
@@ -35,17 +35,17 @@ const _parenSuffix = ")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)", _cssColo
|
|
|
35
35
|
return o.join(",");
|
|
36
36
|
}
|
|
37
37
|
return "-shadowcsshost-no-combinator" + e[3];
|
|
38
|
-
}), colonHostPartReplacer = (e, t, s) => e + t.replace("-shadowcsshost", "") + s, colonHostContextPartReplacer = (e, t, s) => t.indexOf("-shadowcsshost") > -1 ? colonHostPartReplacer(e, t, s) : e + t + s + ", " + t + " " + e + s, scopeSelectors = (e, t, s, o, c) => processRules(e, e => {
|
|
38
|
+
})), colonHostPartReplacer = (e, t, s) => e + t.replace("-shadowcsshost", "") + s, colonHostContextPartReplacer = (e, t, s) => t.indexOf("-shadowcsshost") > -1 ? colonHostPartReplacer(e, t, s) : e + t + s + ", " + t + " " + e + s, scopeSelectors = (e, t, s, o, c) => processRules(e, (e => {
|
|
39
39
|
let c = e.selector, r = e.content;
|
|
40
|
-
return "@" !== e.selector[0] ? c = ((e, t, s, o) => e.split(",").map(e => o && e.indexOf("." + o) > -1 ? e.trim() : ((e, t) => !(e => (e = e.replace(/\[/g, "\\[").replace(/\]/g, "\\]"),
|
|
40
|
+
return "@" !== e.selector[0] ? c = ((e, t, s, o) => e.split(",").map((e => o && e.indexOf("." + o) > -1 ? e.trim() : ((e, t) => !(e => (e = e.replace(/\[/g, "\\[").replace(/\]/g, "\\]"),
|
|
41
41
|
new RegExp("^(" + e + ")([>\\s~+[.,{:][\\s\\S]*)?$", "m")))(t).test(e))(e, t) ? ((e, t, s) => {
|
|
42
|
-
const o = "." + (t = t.replace(/\[is=([^\]]*)\]/g, (e, ...t) => t[0])), c = e => {
|
|
42
|
+
const o = "." + (t = t.replace(/\[is=([^\]]*)\]/g, ((e, ...t) => t[0]))), c = e => {
|
|
43
43
|
let c = e.trim();
|
|
44
44
|
if (!c) return "";
|
|
45
45
|
if (e.indexOf("-shadowcsshost-no-combinator") > -1) c = ((e, t, s) => {
|
|
46
46
|
if (_polyfillHostRe.lastIndex = 0, _polyfillHostRe.test(e)) {
|
|
47
|
-
const t =
|
|
48
|
-
return e.replace(_polyfillHostNoCombinatorRe, (e, s) => s.replace(/([^:]*)(:*)(.*)/, (e, s, o, c) => s + t + o + c)).replace(_polyfillHostRe, t + " ");
|
|
47
|
+
const t = `.${s}`;
|
|
48
|
+
return e.replace(_polyfillHostNoCombinatorRe, ((e, s) => s.replace(/([^:]*)(:*)(.*)/, ((e, s, o, c) => s + t + o + c)))).replace(_polyfillHostRe, t + " ");
|
|
49
49
|
}
|
|
50
50
|
return t + " " + e;
|
|
51
51
|
})(e, t, s); else {
|
|
@@ -59,13 +59,13 @@ const _parenSuffix = ")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)", _cssColo
|
|
|
59
59
|
}, r = (e => {
|
|
60
60
|
const t = [];
|
|
61
61
|
let s, o = 0;
|
|
62
|
-
return s = (e = e.replace(/(\[[^\]]*\])/g, (e, s) => {
|
|
62
|
+
return s = (e = e.replace(/(\[[^\]]*\])/g, ((e, s) => {
|
|
63
63
|
const c = `__ph-${o}__`;
|
|
64
64
|
return t.push(s), o++, c;
|
|
65
|
-
})).replace(/(:nth-[-\w]+)(\([^)]+\))/g, (e, s, c) => {
|
|
65
|
+
}))).replace(/(:nth-[-\w]+)(\([^)]+\))/g, ((e, s, c) => {
|
|
66
66
|
const r = `__ph-${o}__`;
|
|
67
67
|
return t.push(c), o++, s + r;
|
|
68
|
-
}), {
|
|
68
|
+
})), {
|
|
69
69
|
content: s,
|
|
70
70
|
placeholders: t
|
|
71
71
|
};
|
|
@@ -80,16 +80,16 @@ const _parenSuffix = ")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)", _cssColo
|
|
|
80
80
|
}
|
|
81
81
|
const h = e.substring(a);
|
|
82
82
|
return i = i || h.indexOf("-shadowcsshost-no-combinator") > -1, l += i ? c(h) : h,
|
|
83
|
-
u = r.placeholders, l.replace(/__ph-(\d+)__/g, (e, t) => u[+t]);
|
|
83
|
+
u = r.placeholders, l.replace(/__ph-(\d+)__/g, ((e, t) => u[+t]));
|
|
84
84
|
var u;
|
|
85
|
-
})(e, t, s).trim() : e.trim()).join(", "))(e.selector, t, s, o) : (e.selector.startsWith("@media") || e.selector.startsWith("@supports") || e.selector.startsWith("@page") || e.selector.startsWith("@document")) && (r = scopeSelectors(e.content, t, s, o)),
|
|
85
|
+
})(e, t, s).trim() : e.trim())).join(", "))(e.selector, t, s, o) : (e.selector.startsWith("@media") || e.selector.startsWith("@supports") || e.selector.startsWith("@page") || e.selector.startsWith("@document")) && (r = scopeSelectors(e.content, t, s, o)),
|
|
86
86
|
{
|
|
87
87
|
selector: c.replace(/\s{2,}/g, " ").trim(),
|
|
88
88
|
content: r
|
|
89
89
|
};
|
|
90
|
-
}), scopeCss = (e, t, s) => {
|
|
90
|
+
})), scopeCss = (e, t, s) => {
|
|
91
91
|
const o = t + "-h", c = t + "-s", r = e.match(_commentWithHashRe) || [];
|
|
92
|
-
e =
|
|
92
|
+
e = e.replace(_commentRe, "");
|
|
93
93
|
const n = [];
|
|
94
94
|
if (s) {
|
|
95
95
|
const t = e => {
|
|
@@ -99,13 +99,13 @@ const _parenSuffix = ")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)", _cssColo
|
|
|
99
99
|
comment: s
|
|
100
100
|
}), e.selector = t + e.selector, e;
|
|
101
101
|
};
|
|
102
|
-
e = processRules(e, e => "@" !== e.selector[0] ? t(e) : e.selector.startsWith("@media") || e.selector.startsWith("@supports") || e.selector.startsWith("@page") || e.selector.startsWith("@document") ? (e.content = processRules(e.content, t),
|
|
103
|
-
e) : e);
|
|
102
|
+
e = processRules(e, (e => "@" !== e.selector[0] ? t(e) : e.selector.startsWith("@media") || e.selector.startsWith("@supports") || e.selector.startsWith("@page") || e.selector.startsWith("@document") ? (e.content = processRules(e.content, t),
|
|
103
|
+
e) : e));
|
|
104
104
|
}
|
|
105
105
|
const l = ((e, t, s, o, c) => {
|
|
106
106
|
const r = ((e, t) => {
|
|
107
107
|
const s = "." + t + " > ", o = [];
|
|
108
|
-
return e = e.replace(_cssColonSlottedRe, (...e) => {
|
|
108
|
+
return e = e.replace(_cssColonSlottedRe, ((...e) => {
|
|
109
109
|
if (e[2]) {
|
|
110
110
|
const t = e[2].trim(), c = e[3], r = s + t + c;
|
|
111
111
|
let n = "";
|
|
@@ -125,22 +125,22 @@ const _parenSuffix = ")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)", _cssColo
|
|
|
125
125
|
return r;
|
|
126
126
|
}
|
|
127
127
|
return "-shadowcsshost-no-combinator" + e[3];
|
|
128
|
-
}), {
|
|
128
|
+
})), {
|
|
129
129
|
selectors: o,
|
|
130
130
|
cssText: e
|
|
131
131
|
};
|
|
132
132
|
})(e = (e => convertColonRule(e, _cssColonHostContextRe, colonHostContextPartReplacer))(e = (e => convertColonRule(e, _cssColonHostRe, colonHostPartReplacer))(e = e.replace(_colonHostContextRe, "-shadowcsscontext").replace(_colonHostRe, "-shadowcsshost").replace(_colonSlottedRe, "-shadowcssslotted"))), o);
|
|
133
|
-
return e = (e => _shadowDOMSelectorsRe.reduce((e, t) => e.replace(t, " "), e))(e = r.cssText),
|
|
133
|
+
return e = (e => _shadowDOMSelectorsRe.reduce(((e, t) => e.replace(t, " ")), e))(e = r.cssText),
|
|
134
134
|
t && (e = scopeSelectors(e, t, s, o)), {
|
|
135
|
-
cssText: (e = (e = e.replace(/-shadowcsshost-no-combinator/g,
|
|
135
|
+
cssText: (e = (e = e.replace(/-shadowcsshost-no-combinator/g, `.${s}`)).replace(/>\s*\*\s+([^{, ]+)/gm, " $1 ")).trim(),
|
|
136
136
|
slottedSelectors: r.selectors
|
|
137
137
|
};
|
|
138
138
|
})(e, t, o, c);
|
|
139
|
-
return e = [ l.cssText, ...r ].join("\n"), s && n.forEach(({placeholder: t, comment: s}) => {
|
|
139
|
+
return e = [ l.cssText, ...r ].join("\n"), s && n.forEach((({placeholder: t, comment: s}) => {
|
|
140
140
|
e = e.replace(t, s);
|
|
141
|
-
}), l.slottedSelectors.forEach(t => {
|
|
141
|
+
})), l.slottedSelectors.forEach((t => {
|
|
142
142
|
e = e.replace(t.orgSelector, t.updatedSelector);
|
|
143
|
-
}), e;
|
|
143
|
+
})), e;
|
|
144
144
|
};
|
|
145
145
|
|
|
146
146
|
export { scopeCss };
|
package/internal/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rindo/core/internal",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.5.2",
|
|
4
4
|
"description": "Rindo internals only to be imported by the Rindo Compiler. Breaking changes can and will happen at any time.",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"types": "index.d.ts",
|
|
7
|
-
"private": true
|
|
5
|
+
"main": "./index.js",
|
|
6
|
+
"types": "./index.d.ts",
|
|
7
|
+
"private": true,
|
|
8
|
+
"sideEffects": false
|
|
8
9
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
exports.h = function () {};
|
|
@@ -1,2 +1,51 @@
|
|
|
1
|
-
export {
|
|
2
|
-
|
|
1
|
+
export type {
|
|
2
|
+
ChildNode,
|
|
3
|
+
ComponentOptions,
|
|
4
|
+
ComponentDidLoad,
|
|
5
|
+
ComponentDidUpdate,
|
|
6
|
+
ComponentInterface,
|
|
7
|
+
ComponentWillLoad,
|
|
8
|
+
ComponentWillUpdate,
|
|
9
|
+
EventEmitter,
|
|
10
|
+
EventOptions,
|
|
11
|
+
FunctionalComponent,
|
|
12
|
+
FunctionalUtilities,
|
|
13
|
+
JSX,
|
|
14
|
+
MethodOptions,
|
|
15
|
+
ModeStyles,
|
|
16
|
+
ListenOptions,
|
|
17
|
+
ListenTargetOptions,
|
|
18
|
+
PropOptions,
|
|
19
|
+
QueueApi,
|
|
20
|
+
RafCallback,
|
|
21
|
+
VNode,
|
|
22
|
+
VNodeData,
|
|
23
|
+
} from '../rindo-public-runtime';
|
|
24
|
+
|
|
25
|
+
export {
|
|
26
|
+
Build,
|
|
27
|
+
Component,
|
|
28
|
+
Element,
|
|
29
|
+
Event,
|
|
30
|
+
getAssetPath,
|
|
31
|
+
getElement,
|
|
32
|
+
getMode,
|
|
33
|
+
getRenderingRef,
|
|
34
|
+
Fragment,
|
|
35
|
+
forceUpdate,
|
|
36
|
+
h,
|
|
37
|
+
Host,
|
|
38
|
+
Env,
|
|
39
|
+
Listen,
|
|
40
|
+
Method,
|
|
41
|
+
Prop,
|
|
42
|
+
readTask,
|
|
43
|
+
setAssetPath,
|
|
44
|
+
setMode,
|
|
45
|
+
State,
|
|
46
|
+
Watch,
|
|
47
|
+
writeTask,
|
|
48
|
+
setErrorHandler,
|
|
49
|
+
} from '../rindo-public-runtime';
|
|
50
|
+
|
|
51
|
+
export type { RindoConfig as Config, PrerenderConfig } from '../rindo-public-compiler';
|
|
@@ -1,39 +1,41 @@
|
|
|
1
|
-
declare module '*.css' {
|
|
2
|
-
const src: string;
|
|
3
|
-
export default src;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
declare module '*.svg' {
|
|
7
|
-
const src: string;
|
|
8
|
-
export default src;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
declare module '*.txt' {
|
|
12
|
-
const src: string;
|
|
13
|
-
export default src;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
declare module '*.frag' {
|
|
17
|
-
const src: string;
|
|
18
|
-
export default src;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
declare module '*.vert' {
|
|
22
|
-
const src: string;
|
|
23
|
-
export default src;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
declare module '*?worker' {
|
|
27
|
-
export const worker: Worker;
|
|
28
|
-
export const
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
1
|
+
declare module '*.css' {
|
|
2
|
+
const src: string;
|
|
3
|
+
export default src;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
declare module '*.svg' {
|
|
7
|
+
const src: string;
|
|
8
|
+
export default src;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
declare module '*.txt' {
|
|
12
|
+
const src: string;
|
|
13
|
+
export default src;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
declare module '*.frag' {
|
|
17
|
+
const src: string;
|
|
18
|
+
export default src;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
declare module '*.vert' {
|
|
22
|
+
const src: string;
|
|
23
|
+
export default src;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
declare module '*?worker' {
|
|
27
|
+
export const worker: Worker;
|
|
28
|
+
export const workerMsgId: string;
|
|
29
|
+
export const workerName: string;
|
|
30
|
+
export const workerPath: string;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
declare module '*?format=url' {
|
|
34
|
+
const src: string;
|
|
35
|
+
export default src;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
declare module '*?format=text' {
|
|
39
|
+
const content: string;
|
|
40
|
+
export default content;
|
|
41
|
+
}
|