@jbpark/live-editor 1.9.0 → 1.11.0

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.
@@ -1,4 +1,4 @@
1
- import { a as getSections, i as generateSectionPreviews, n as generateDocumentCode, o as parseDocument, r as generateSectionPreview, s as replaceDocumentSections, t as clearDocumentParseCache } from "../../document-DJDRM79h.mjs";
2
- import { _ as parseArrayExpression, a as bulkUpdate, c as extract, d as getCurrentValue, f as parseBinding, g as extractObjectProperties, h as extractNodeValue, i as replaceIds, m as createNodeFromValue, n as clone, o as update, p as arrayExpressionToCode, r as fillIds, s as clearExtractCache, t as validateBindingValue, u as findEditableChildren, v as parseValue, y as generateCode } from "../../ast-DiVN0l7x.mjs";
1
+ import { a as generateSectionPreviews, c as replaceDocumentSections, i as generateSectionPreview, n as createSectionPreviewCache, o as getSections, r as generateDocumentCode, s as parseDocument, t as clearDocumentParseCache } from "../../document-CBw2uF_P.mjs";
2
+ import { _ as parseArrayExpression, a as bulkUpdate, c as extract, d as getCurrentValue, f as parseBinding, g as extractObjectProperties, h as extractNodeValue, i as replaceIds, m as createNodeFromValue, n as clone, o as update, p as arrayExpressionToCode, r as fillIds, s as clearExtractCache, t as validateBindingValue, u as findEditableChildren, v as parseValue, y as generateCode } from "../../ast-C0FNDLFQ.mjs";
3
3
 
4
- export { arrayExpressionToCode, bulkUpdate, clearDocumentParseCache, clearExtractCache, clone, createNodeFromValue, extract, extractNodeValue, extractObjectProperties, fillIds, findEditableChildren, generateCode, generateDocumentCode, generateSectionPreview, generateSectionPreviews, getCurrentValue, getSections, parseArrayExpression, parseBinding, parseDocument, parseValue, replaceDocumentSections, replaceIds, update, validateBindingValue };
4
+ export { arrayExpressionToCode, bulkUpdate, clearDocumentParseCache, clearExtractCache, clone, createNodeFromValue, createSectionPreviewCache, extract, extractNodeValue, extractObjectProperties, fillIds, findEditableChildren, generateCode, generateDocumentCode, generateSectionPreview, generateSectionPreviews, getCurrentValue, getSections, parseArrayExpression, parseBinding, parseDocument, parseValue, replaceDocumentSections, replaceIds, update, validateBindingValue };
@@ -1,4 +1,5 @@
1
1
  import { n as Section, t as Module } from "../index-DdSjzvA3.mjs";
2
+ import { i as createSectionPreviewCache, n as SectionPreviewCache } from "../document-DqLm4Vqi.mjs";
2
3
  import * as ui from "@jbpark/ui-kit";
3
4
  import * as utils from "@jbpark/ui-kit/utils";
4
5
 
@@ -24,5 +25,5 @@ declare const generateSections: (codes: string[], fullCode: string) => string[];
24
25
  declare const getCachedScriptBlob: (src: string) => Promise<string>;
25
26
  declare const preloadScripts: (scripts: string[]) => void;
26
27
  //#endregion
27
- export { baseModules, clearCompilationCache, cn, compile, detectTypeScript, extractSections, generateSection, generateSections, getCachedScriptBlob, preloadScripts, replaceSections, transformCode };
28
+ export { type SectionPreviewCache, baseModules, clearCompilationCache, cn, compile, createSectionPreviewCache, detectTypeScript, extractSections, generateSection, generateSections, getCachedScriptBlob, preloadScripts, replaceSections, transformCode };
28
29
  //# sourceMappingURL=index.d.mts.map
@@ -1,4 +1,4 @@
1
- import "../document-DJDRM79h.mjs";
2
- import { a as detectTypeScript, c as generateSections, d as replaceSections, f as transformCode, i as compile, l as getCachedScriptBlob, n as clearCompilationCache, o as extractSections, r as cn, s as generateSection, t as baseModules, u as preloadScripts } from "../utils-D1tlgtgj.mjs";
1
+ import { n as createSectionPreviewCache } from "../document-CBw2uF_P.mjs";
2
+ import { a as detectTypeScript, c as generateSections, d as replaceSections, f as transformCode, i as compile, l as getCachedScriptBlob, n as clearCompilationCache, o as extractSections, r as cn, s as generateSection, t as baseModules, u as preloadScripts } from "../utils-BjYg1Sh8.mjs";
3
3
 
4
- export { baseModules, clearCompilationCache, cn, compile, detectTypeScript, extractSections, generateSection, generateSections, getCachedScriptBlob, preloadScripts, replaceSections, transformCode };
4
+ export { baseModules, clearCompilationCache, cn, compile, createSectionPreviewCache, detectTypeScript, extractSections, generateSection, generateSections, getCachedScriptBlob, preloadScripts, replaceSections, transformCode };
@@ -1,4 +1,4 @@
1
- import { a as getSections, c as createBoundedCache, i as generateSectionPreviews, m as CONFIG, o as parseDocument, r as generateSectionPreview, s as replaceDocumentSections, v as REGEX, y as TS_PATTERNS } from "./document-DJDRM79h.mjs";
1
+ import { a as generateSectionPreviews, b as TS_PATTERNS, c as replaceDocumentSections, h as CONFIG, i as generateSectionPreview, l as createBoundedCache, o as getSections, s as parseDocument, y as REGEX } from "./document-CBw2uF_P.mjs";
2
2
  import React from "react";
3
3
  import * as Babel from "@babel/standalone";
4
4
  import * as ui from "@jbpark/ui-kit";
@@ -2033,4 +2033,4 @@ const preloadScripts = (scripts) => {
2033
2033
 
2034
2034
  //#endregion
2035
2035
  export { detectTypeScript as a, generateSections as c, replaceSections as d, transformCode as f, compile as i, getCachedScriptBlob as l, clearCompilationCache as n, extractSections as o, cn as r, generateSection as s, baseModules as t, preloadScripts as u };
2036
- //# sourceMappingURL=utils-D1tlgtgj.mjs.map
2036
+ //# sourceMappingURL=utils-BjYg1Sh8.mjs.map