lilact 0.31.12 → 0.31.14
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/lilact.development.js +48 -42
- package/dist/lilact.development.js.map +2 -2
- package/dist/lilact.development.min.js +31 -28
- package/dist/lilact.development.min.js.map +3 -3
- package/dist/lilact.production.min.js +31 -28
- package/docs/functions/run.lazy.html +1 -1
- package/docs/functions/run.require.html +1 -1
- package/docs/functions/run.run.html +1 -1
- package/docs/functions/run.runScripts.html +1 -1
- package/docs/static/lilact.development.js +48 -42
- package/docs/static/lilact.development.js.map +2 -2
- package/docs/static/lilact.development.min.js +31 -28
- package/docs/static/lilact.development.min.js.map +3 -3
- package/docs/static/lilact.production.min.js +31 -28
- package/examples/lilact.development.js +48 -42
- package/examples/lilact.development.js.map +2 -2
- package/examples/lilact.development.min.js +31 -28
- package/examples/lilact.development.min.js.map +3 -3
- package/examples/lilact.production.min.js +31 -28
- package/package.json +1 -1
- package/src/events.jsx +71 -76
- package/src/expscan.js +10 -9
- package/src/jsx.js +11 -1
- package/src/run.jsx +2 -3
|
@@ -7,4 +7,4 @@ promise, or thenable resolving to a component or module.</p>
|
|
|
7
7
|
</div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Function</span></h4><p>A component that renders the resolved component.</p>
|
|
8
8
|
<div class="tsd-comment tsd-typography"><div class="tsd-tag-throws"><h4 class="tsd-anchor-link" id="throws">Throws<a href="#throws" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>The pending promise or loading error while the component is
|
|
9
9
|
unresolved.</p>
|
|
10
|
-
</div></div><aside class="tsd-sources"><ul><li>Defined in run.jsx:
|
|
10
|
+
</div></div><aside class="tsd-sources"><ul><li>Defined in run.jsx:519</li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">Lilact</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
@@ -4,4 +4,4 @@ transpiled Lilact modules.</p>
|
|
|
4
4
|
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">path</span>: <span class="tsd-signature-type">string</span></span><div class="tsd-comment tsd-typography"><p>Module path or URL to load.</p>
|
|
5
5
|
</div></li><li><span><span class="tsd-signature-symbol">...</span><span class="tsd-kind-parameter">args</span>: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><p>The module exports, or a Promise for asynchronous modules.</p>
|
|
6
6
|
<div class="tsd-comment tsd-typography"><div class="tsd-tag-throws"><h4 class="tsd-anchor-link" id="throws">Throws<a href="#throws" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>If the module cannot be loaded or evaluated.</p>
|
|
7
|
-
</div></div><aside class="tsd-sources"><ul><li>Defined in run.jsx:
|
|
7
|
+
</div></div><aside class="tsd-sources"><ul><li>Defined in run.jsx:242</li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">Lilact</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
@@ -11,4 +11,4 @@ used for caching, diagnostics, and source mapping.</p>
|
|
|
11
11
|
to reload when they are required.</p>
|
|
12
12
|
</div></li></ul></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><p>The evaluated module exports.</p>
|
|
13
13
|
<div class="tsd-comment tsd-typography"><div class="tsd-tag-throws"><h4 class="tsd-anchor-link" id="throws">Throws<a href="#throws" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>If transpilation or runtime evaluation fails.</p>
|
|
14
|
-
</div></div><aside class="tsd-sources"><ul><li>Defined in run.jsx:
|
|
14
|
+
</div></div><aside class="tsd-sources"><ul><li>Defined in run.jsx:350</li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">Lilact</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
@@ -5,4 +5,4 @@ order.</p>
|
|
|
5
5
|
</div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><p>A promise that resolves after all scripts finish.</p>
|
|
6
6
|
<div class="tsd-comment tsd-typography"><div class="tsd-tag-throws"><h4 class="tsd-anchor-link" id="throws">Throws<a href="#throws" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>If an external or inline script cannot be loaded or
|
|
7
7
|
evaluated.</p>
|
|
8
|
-
</div></div><aside class="tsd-sources"><ul><li>Defined in run.jsx:
|
|
8
|
+
</div></div><aside class="tsd-sources"><ul><li>Defined in run.jsx:584</li></ul></aside></div></li></ul></section></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">Lilact</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
|
|
@@ -4385,53 +4385,51 @@ function TransitionGroup({ children }) {
|
|
|
4385
4385
|
// .tmp/src/events.jsx
|
|
4386
4386
|
var events_exports = {};
|
|
4387
4387
|
__export(events_exports, {
|
|
4388
|
+
SyntheticEvent: () => SyntheticEvent,
|
|
4388
4389
|
addWrappedEventListener: () => addWrappedEventListener,
|
|
4389
4390
|
createSyntheticEvent: () => createSyntheticEvent,
|
|
4390
4391
|
releaseSyntheticEvent: () => releaseSyntheticEvent,
|
|
4391
4392
|
wrapListener: () => wrapListener
|
|
4392
4393
|
});
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
nativeEvent
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
isDefaultPrevented()
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
isPropagationStopped() {
|
|
4406
|
-
return propagationStopped;
|
|
4407
|
-
},
|
|
4408
|
-
preventDefault() {
|
|
4394
|
+
var SyntheticEvent = class {
|
|
4395
|
+
constructor(nativeEvent, currentTarget) {
|
|
4396
|
+
this.nativeEvent = nativeEvent;
|
|
4397
|
+
this.type = nativeEvent.type;
|
|
4398
|
+
this.target = nativeEvent.target || nativeEvent.srcElement || null;
|
|
4399
|
+
this.currentTarget = currentTarget || nativeEvent.currentTarget || null;
|
|
4400
|
+
this.timeStamp = nativeEvent.timeStamp ?? Date.now();
|
|
4401
|
+
this.defaultPrevented = !!nativeEvent.defaultPrevented;
|
|
4402
|
+
let propagationStopped = false;
|
|
4403
|
+
this.isDefaultPrevented = () => this.defaultPrevented;
|
|
4404
|
+
this.isPropagationStopped = () => propagationStopped;
|
|
4405
|
+
this.preventDefault = () => {
|
|
4409
4406
|
nativeEvent.preventDefault?.();
|
|
4410
|
-
|
|
4411
|
-
}
|
|
4412
|
-
stopPropagation() {
|
|
4407
|
+
this.defaultPrevented = true;
|
|
4408
|
+
};
|
|
4409
|
+
this.stopPropagation = () => {
|
|
4413
4410
|
nativeEvent.stopPropagation?.();
|
|
4414
4411
|
propagationStopped = true;
|
|
4415
|
-
}
|
|
4416
|
-
|
|
4417
|
-
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4422
|
-
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
|
|
4412
|
+
};
|
|
4413
|
+
this.persist = () => {
|
|
4414
|
+
};
|
|
4415
|
+
this.isPersistent = () => true;
|
|
4416
|
+
for (let source = nativeEvent; source && source !== Object.prototype; source = Object.getPrototypeOf(source)) {
|
|
4417
|
+
for (const key of Object.getOwnPropertyNames(source)) {
|
|
4418
|
+
if (key === "constructor" || key in this) continue;
|
|
4419
|
+
Object.defineProperty(this, key, {
|
|
4420
|
+
configurable: true,
|
|
4421
|
+
enumerable: true,
|
|
4422
|
+
get() {
|
|
4423
|
+
const value = nativeEvent[key];
|
|
4424
|
+
return typeof value === "function" ? value.bind(nativeEvent) : value;
|
|
4425
|
+
}
|
|
4426
|
+
});
|
|
4427
4427
|
}
|
|
4428
|
-
const value = Reflect.get(nativeEvent, property, nativeEvent);
|
|
4429
|
-
return typeof value === "function" ? value.bind(nativeEvent) : value;
|
|
4430
|
-
},
|
|
4431
|
-
has(target, property) {
|
|
4432
|
-
return Reflect.has(target, property) || property in nativeEvent;
|
|
4433
4428
|
}
|
|
4434
|
-
}
|
|
4429
|
+
}
|
|
4430
|
+
};
|
|
4431
|
+
function createSyntheticEvent(nativeEvent, currentTarget) {
|
|
4432
|
+
return new SyntheticEvent(nativeEvent, currentTarget);
|
|
4435
4433
|
}
|
|
4436
4434
|
function releaseSyntheticEvent(event) {
|
|
4437
4435
|
if (event) event.currentTarget = null;
|
|
@@ -6083,12 +6081,13 @@ function processImportExports(node3, jsx2, meta) {
|
|
|
6083
6081
|
continue;
|
|
6084
6082
|
}
|
|
6085
6083
|
case "F": {
|
|
6086
|
-
const tp = node3.out[i2];
|
|
6087
|
-
node3.out[i2] = null;
|
|
6088
6084
|
i2++;
|
|
6089
|
-
|
|
6085
|
+
while (s[i2] === " " || s[i2] === "\n" || s[i2] === "C") {
|
|
6086
|
+
i2++;
|
|
6087
|
+
}
|
|
6090
6088
|
const name = node3.out[i2];
|
|
6091
|
-
node3.out[m.index].cjs =
|
|
6089
|
+
node3.out[m.index].cjs = "";
|
|
6090
|
+
node3.out[m.index].appendix_js = `module.exports.${name} = ${name};`;
|
|
6092
6091
|
continue;
|
|
6093
6092
|
}
|
|
6094
6093
|
case "*":
|
|
@@ -6900,6 +6899,7 @@ function transpileJSX(jsx2, {
|
|
|
6900
6899
|
} = {}) {
|
|
6901
6900
|
transpilerConfig.preprocessorDelimiter ?? (transpilerConfig.preprocessorDelimiter = "\u0294");
|
|
6902
6901
|
transpilerConfig.injectTraceLabels ?? (transpilerConfig.injectTraceLabels = injectTraceLabels);
|
|
6902
|
+
jsx2 += "\n";
|
|
6903
6903
|
const eols = scanEOLs(jsx2);
|
|
6904
6904
|
raiseError = ((eols2, msg, index2) => {
|
|
6905
6905
|
const rc = getRowCol(eols2, index2);
|
|
@@ -6965,6 +6965,7 @@ function transpileJSX(jsx2, {
|
|
|
6965
6965
|
prepare(json);
|
|
6966
6966
|
preprocessPragmas(json);
|
|
6967
6967
|
const flattened_nodes = [];
|
|
6968
|
+
let appendix_js = "\n";
|
|
6968
6969
|
const codify = (outlen, node3, is_attr = false, is_xml = false) => {
|
|
6969
6970
|
flattened_nodes.push(node3);
|
|
6970
6971
|
if (typeof node3 !== "object") return node3;
|
|
@@ -6972,7 +6973,10 @@ function transpileJSX(jsx2, {
|
|
|
6972
6973
|
node3.out_index = outlen;
|
|
6973
6974
|
if (node3.type === "string") return jsx2.substring(node3.begin, node3.end);
|
|
6974
6975
|
if (node3.type === "import") return node3.cjs;
|
|
6975
|
-
if (node3.type === "export")
|
|
6976
|
+
if (node3.type === "export") {
|
|
6977
|
+
if (node3.appendix_js) appendix_js += node3.appendix_js;
|
|
6978
|
+
return node3.cjs;
|
|
6979
|
+
}
|
|
6976
6980
|
if (node3.type === "regex") return jsx2.substring(node3.begin, node3.end);
|
|
6977
6981
|
if (node3.type === "comment") return discardComments || is_attr ? "" : jsx2.substring(node3.begin, node3.end);
|
|
6978
6982
|
if (node3.type === "directive") return node3.value;
|
|
@@ -7045,6 +7049,7 @@ function transpileJSX(jsx2, {
|
|
|
7045
7049
|
out = `/*LILACTBLOCK${++blocksInfo2.counter}:0,0:<EXEC>*/try{`;
|
|
7046
7050
|
}
|
|
7047
7051
|
out += codify(out.length, json);
|
|
7052
|
+
out += appendix_js.length > 1 ? appendix_js : "";
|
|
7048
7053
|
if (injectTraceLabels) {
|
|
7049
7054
|
if (transpilerConfig.enableLabelStack) {
|
|
7050
7055
|
out += `}catch(e){ if(typeof(e)!=='object') e=new Error(e);e.lilact_trace=[${blocksInfo2.counter},e.lilact_trace];throw e}`;
|
|
@@ -7152,6 +7157,7 @@ export {
|
|
|
7152
7157
|
SplitPane,
|
|
7153
7158
|
Suspense,
|
|
7154
7159
|
SwitchTransition,
|
|
7160
|
+
SyntheticEvent,
|
|
7155
7161
|
TEXT2 as TEXT,
|
|
7156
7162
|
Transition,
|
|
7157
7163
|
TransitionGroup,
|