@aiao/code-editor 0.0.8 → 0.0.9

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.
Files changed (27) hide show
  1. package/dist/{index-qH2lMs0G.js → index-4oLq9F9B.js} +4 -4
  2. package/dist/{index-CpRVx97-.js → index-9NH8hlZ-.js} +2 -2
  3. package/dist/{index-DEB5VK0f.js → index-BFXNCCbG.js} +23 -22
  4. package/dist/{index-D0BZOY-S.js → index-BLHYcXXK.js} +4 -4
  5. package/dist/{index-Bg1KDWyt.js → index-BQU3Rb2C.js} +3 -3
  6. package/dist/{index-CrbQBmWq.js → index-Bg18ePld.js} +2 -2
  7. package/dist/{index-D0svJS59.js → index-Bp5lqnbN.js} +3 -3
  8. package/dist/{index-srIksFxX.js → index-Bqzq8A1N.js} +2 -2
  9. package/dist/{index-Dy-OpkyQ.js → index-Bx-s4g99.js} +2 -2
  10. package/dist/{index-C71CZfUx.js → index-BxX25QmV.js} +19 -18
  11. package/dist/{index-Ds4AioqO.js → index-CFCzgc33.js} +3 -3
  12. package/dist/{index-D93XVMi1.js → index-CL7JTU9M.js} +3 -3
  13. package/dist/{index-DIaXGPFp.js → index-CZGsg2Zk.js} +73 -64
  14. package/dist/{index-ZJkjD9tT.js → index-CipmEceX.js} +4 -4
  15. package/dist/{index-BuVm7ZG6.js → index-Cv4vvpa2.js} +1 -1
  16. package/dist/index-D4hhdPbZ.js +6153 -0
  17. package/dist/{index-CqvQj6d-.js → index-DhNQ8g9I.js} +3 -3
  18. package/dist/{index-BNuasEBW.js → index-Djp53tAP.js} +2 -2
  19. package/dist/{index-CQ6JWNwi.js → index-KlsAFhIj.js} +3 -3
  20. package/dist/{index-BMiCCEB1.js → index-OntZqtu6.js} +2 -2
  21. package/dist/{index-CzovO10m.js → index-PGnZjMCR.js} +3 -3
  22. package/dist/{index-BvS1cnHq.js → index-TyYoYgss.js} +3 -3
  23. package/dist/{index-Dp8osI_J.js → index-oMSPmlXA.js} +2 -2
  24. package/dist/{index-C44L0DmY.js → index-rQC6Gbk0.js} +2 -2
  25. package/dist/index.js +11 -11
  26. package/package.json +4 -1
  27. package/dist/index-Dyi9rNIT.js +0 -391
@@ -11767,7 +11767,7 @@ function y(s) {
11767
11767
  return new xh(Zn.define(s));
11768
11768
  }
11769
11769
  function Ht(s) {
11770
- return import("./index-CQ6JWNwi.js").then((t) => t.sql({ dialect: t[s] }));
11770
+ return import("./index-KlsAFhIj.js").then((t) => t.sql({ dialect: t[s] }));
11771
11771
  }
11772
11772
  const Dh = [
11773
11773
  // New-style language modes
@@ -11775,7 +11775,7 @@ const Dh = [
11775
11775
  name: "C",
11776
11776
  extensions: ["c", "h", "ino"],
11777
11777
  load() {
11778
- return import("./index-C44L0DmY.js").then((s) => s.cpp());
11778
+ return import("./index-rQC6Gbk0.js").then((s) => s.cpp());
11779
11779
  }
11780
11780
  }),
11781
11781
  /* @__PURE__ */ g.of({
@@ -11783,7 +11783,7 @@ const Dh = [
11783
11783
  alias: ["cpp"],
11784
11784
  extensions: ["cpp", "c++", "cc", "cxx", "hpp", "h++", "hh", "hxx"],
11785
11785
  load() {
11786
- return import("./index-C44L0DmY.js").then((s) => s.cpp());
11786
+ return import("./index-rQC6Gbk0.js").then((s) => s.cpp());
11787
11787
  }
11788
11788
  }),
11789
11789
  /* @__PURE__ */ g.of({
@@ -11798,14 +11798,14 @@ const Dh = [
11798
11798
  name: "CSS",
11799
11799
  extensions: ["css"],
11800
11800
  load() {
11801
- return import("./index-Dp8osI_J.js").then((s) => s.css());
11801
+ return import("./index-oMSPmlXA.js").then((s) => s.css());
11802
11802
  }
11803
11803
  }),
11804
11804
  /* @__PURE__ */ g.of({
11805
11805
  name: "Go",
11806
11806
  extensions: ["go"],
11807
11807
  load() {
11808
- return import("./index-Bg1KDWyt.js").then((s) => s.go());
11808
+ return import("./index-BQU3Rb2C.js").then((s) => s.go());
11809
11809
  }
11810
11810
  }),
11811
11811
  /* @__PURE__ */ g.of({
@@ -11813,14 +11813,14 @@ const Dh = [
11813
11813
  alias: ["xhtml"],
11814
11814
  extensions: ["html", "htm", "handlebars", "hbs"],
11815
11815
  load() {
11816
- return import("./index-qH2lMs0G.js").then((s) => s.html());
11816
+ return import("./index-4oLq9F9B.js").then((s) => s.html());
11817
11817
  }
11818
11818
  }),
11819
11819
  /* @__PURE__ */ g.of({
11820
11820
  name: "Java",
11821
11821
  extensions: ["java"],
11822
11822
  load() {
11823
- return import("./index-BNuasEBW.js").then((s) => s.java());
11823
+ return import("./index-Djp53tAP.js").then((s) => s.java());
11824
11824
  }
11825
11825
  }),
11826
11826
  /* @__PURE__ */ g.of({
@@ -11828,14 +11828,14 @@ const Dh = [
11828
11828
  alias: ["ecmascript", "js", "node"],
11829
11829
  extensions: ["js", "mjs", "cjs"],
11830
11830
  load() {
11831
- return import("./index-D0svJS59.js").then((s) => s.javascript());
11831
+ return import("./index-Bp5lqnbN.js").then((s) => s.javascript());
11832
11832
  }
11833
11833
  }),
11834
11834
  /* @__PURE__ */ g.of({
11835
11835
  name: "Jinja",
11836
11836
  extensions: ["j2", "jinja", "jinja2"],
11837
11837
  load() {
11838
- return import("./index-C71CZfUx.js").then((s) => s.jinja());
11838
+ return import("./index-BxX25QmV.js").then((s) => s.jinja());
11839
11839
  }
11840
11840
  }),
11841
11841
  /* @__PURE__ */ g.of({
@@ -11843,28 +11843,28 @@ const Dh = [
11843
11843
  alias: ["json5"],
11844
11844
  extensions: ["json", "map"],
11845
11845
  load() {
11846
- return import("./index-Dy-OpkyQ.js").then((s) => s.json());
11846
+ return import("./index-Bx-s4g99.js").then((s) => s.json());
11847
11847
  }
11848
11848
  }),
11849
11849
  /* @__PURE__ */ g.of({
11850
11850
  name: "JSX",
11851
11851
  extensions: ["jsx"],
11852
11852
  load() {
11853
- return import("./index-D0svJS59.js").then((s) => s.javascript({ jsx: !0 }));
11853
+ return import("./index-Bp5lqnbN.js").then((s) => s.javascript({ jsx: !0 }));
11854
11854
  }
11855
11855
  }),
11856
11856
  /* @__PURE__ */ g.of({
11857
11857
  name: "LESS",
11858
11858
  extensions: ["less"],
11859
11859
  load() {
11860
- return import("./index-D93XVMi1.js").then((s) => s.less());
11860
+ return import("./index-CL7JTU9M.js").then((s) => s.less());
11861
11861
  }
11862
11862
  }),
11863
11863
  /* @__PURE__ */ g.of({
11864
11864
  name: "Liquid",
11865
11865
  extensions: ["liquid"],
11866
11866
  load() {
11867
- return import("./index-DEB5VK0f.js").then((s) => s.liquid());
11867
+ return import("./index-BFXNCCbG.js").then((s) => s.liquid());
11868
11868
  }
11869
11869
  }),
11870
11870
  /* @__PURE__ */ g.of({
@@ -11877,7 +11877,7 @@ const Dh = [
11877
11877
  name: "Markdown",
11878
11878
  extensions: ["md", "markdown", "mkd"],
11879
11879
  load() {
11880
- return import("./index-Ds4AioqO.js").then((s) => s.markdown());
11880
+ return import("./index-CFCzgc33.js").then((s) => s.markdown());
11881
11881
  }
11882
11882
  }),
11883
11883
  /* @__PURE__ */ g.of({
@@ -11896,7 +11896,7 @@ const Dh = [
11896
11896
  name: "PHP",
11897
11897
  extensions: ["php", "php3", "php4", "php5", "php7", "phtml"],
11898
11898
  load() {
11899
- return import("./index-CzovO10m.js").then((s) => s.php());
11899
+ return import("./index-PGnZjMCR.js").then((s) => s.php());
11900
11900
  }
11901
11901
  }),
11902
11902
  /* @__PURE__ */ g.of({
@@ -11917,28 +11917,28 @@ const Dh = [
11917
11917
  extensions: ["BUILD", "bzl", "py", "pyw"],
11918
11918
  filename: /^(BUCK|BUILD)$/,
11919
11919
  load() {
11920
- return import("./index-BvS1cnHq.js").then((s) => s.python());
11920
+ return import("./index-TyYoYgss.js").then((s) => s.python());
11921
11921
  }
11922
11922
  }),
11923
11923
  /* @__PURE__ */ g.of({
11924
11924
  name: "Rust",
11925
11925
  extensions: ["rs"],
11926
11926
  load() {
11927
- return import("./index-CrbQBmWq.js").then((s) => s.rust());
11927
+ return import("./index-Bg18ePld.js").then((s) => s.rust());
11928
11928
  }
11929
11929
  }),
11930
11930
  /* @__PURE__ */ g.of({
11931
11931
  name: "Sass",
11932
11932
  extensions: ["sass"],
11933
11933
  load() {
11934
- return import("./index-CqvQj6d-.js").then((s) => s.sass({ indented: !0 }));
11934
+ return import("./index-DhNQ8g9I.js").then((s) => s.sass({ indented: !0 }));
11935
11935
  }
11936
11936
  }),
11937
11937
  /* @__PURE__ */ g.of({
11938
11938
  name: "SCSS",
11939
11939
  extensions: ["scss"],
11940
11940
  load() {
11941
- return import("./index-CqvQj6d-.js").then((s) => s.sass());
11941
+ return import("./index-DhNQ8g9I.js").then((s) => s.sass());
11942
11942
  }
11943
11943
  }),
11944
11944
  /* @__PURE__ */ g.of({
@@ -11958,7 +11958,7 @@ const Dh = [
11958
11958
  name: "TSX",
11959
11959
  extensions: ["tsx"],
11960
11960
  load() {
11961
- return import("./index-D0svJS59.js").then((s) => s.javascript({ jsx: !0, typescript: !0 }));
11961
+ return import("./index-Bp5lqnbN.js").then((s) => s.javascript({ jsx: !0, typescript: !0 }));
11962
11962
  }
11963
11963
  }),
11964
11964
  /* @__PURE__ */ g.of({
@@ -11966,14 +11966,14 @@ const Dh = [
11966
11966
  alias: ["ts"],
11967
11967
  extensions: ["ts", "mts", "cts"],
11968
11968
  load() {
11969
- return import("./index-D0svJS59.js").then((s) => s.javascript({ typescript: !0 }));
11969
+ return import("./index-Bp5lqnbN.js").then((s) => s.javascript({ typescript: !0 }));
11970
11970
  }
11971
11971
  }),
11972
11972
  /* @__PURE__ */ g.of({
11973
11973
  name: "WebAssembly",
11974
11974
  extensions: ["wat", "wast"],
11975
11975
  load() {
11976
- return import("./index-srIksFxX.js").then((s) => s.wast());
11976
+ return import("./index-Bqzq8A1N.js").then((s) => s.wast());
11977
11977
  }
11978
11978
  }),
11979
11979
  /* @__PURE__ */ g.of({
@@ -11981,7 +11981,7 @@ const Dh = [
11981
11981
  alias: ["rss", "wsdl", "xsd"],
11982
11982
  extensions: ["xml", "xsl", "xsd", "svg"],
11983
11983
  load() {
11984
- return import("./index-BMiCCEB1.js").then((s) => s.xml());
11984
+ return import("./index-OntZqtu6.js").then((s) => s.xml());
11985
11985
  }
11986
11986
  }),
11987
11987
  /* @__PURE__ */ g.of({
@@ -11989,7 +11989,7 @@ const Dh = [
11989
11989
  alias: ["yml"],
11990
11990
  extensions: ["yaml", "yml"],
11991
11991
  load() {
11992
- return import("./index-CpRVx97-.js").then((s) => s.yaml());
11992
+ return import("./index-9NH8hlZ-.js").then((s) => s.yaml());
11993
11993
  }
11994
11994
  }),
11995
11995
  // Legacy modes ported from CodeMirror 5
@@ -12778,19 +12778,19 @@ const Dh = [
12778
12778
  name: "Vue",
12779
12779
  extensions: ["vue"],
12780
12780
  load() {
12781
- return import("./index-ZJkjD9tT.js").then((s) => s.vue());
12781
+ return import("./index-CipmEceX.js").then((s) => s.vue());
12782
12782
  }
12783
12783
  }),
12784
12784
  /* @__PURE__ */ g.of({
12785
12785
  name: "Angular Template",
12786
12786
  load() {
12787
- return import("./index-D0BZOY-S.js").then((s) => s.angular());
12787
+ return import("./index-BLHYcXXK.js").then((s) => s.angular());
12788
12788
  }
12789
12789
  })
12790
- ], is = (s) => import("./index-CQ6JWNwi.js").then((t) => t.sql({ dialect: t[s] })), Ph = g.of({
12790
+ ], is = (s) => import("./index-KlsAFhIj.js").then((t) => t.sql({ dialect: t[s] })), Ph = g.of({
12791
12791
  name: "CSS",
12792
12792
  extensions: ["css"],
12793
- load: () => import("./index-Dp8osI_J.js").then((s) => s.css())
12793
+ load: () => import("./index-oMSPmlXA.js").then((s) => s.css())
12794
12794
  }), Bh = g.of({
12795
12795
  name: "SQLite",
12796
12796
  load: () => is("SQLite")
@@ -12805,53 +12805,53 @@ const Dh = [
12805
12805
  name: "JSON",
12806
12806
  alias: ["json5"],
12807
12807
  extensions: ["json", "map"],
12808
- load: () => import("./index-Dy-OpkyQ.js").then((s) => s.json())
12808
+ load: () => import("./index-Bx-s4g99.js").then((s) => s.json())
12809
12809
  }), Ih = g.of({
12810
12810
  name: "SCSS",
12811
12811
  extensions: ["scss"],
12812
- load: () => import("./index-CqvQj6d-.js").then((s) => s.sass())
12812
+ load: () => import("./index-DhNQ8g9I.js").then((s) => s.sass())
12813
12813
  }), Nh = g.of({
12814
12814
  name: "Sass",
12815
12815
  extensions: ["sass"],
12816
- load: () => import("./index-CqvQj6d-.js").then((s) => s.sass({ indented: !0 }))
12816
+ load: () => import("./index-DhNQ8g9I.js").then((s) => s.sass({ indented: !0 }))
12817
12817
  }), Wh = g.of({
12818
12818
  name: "TypeScript",
12819
12819
  alias: ["ts"],
12820
12820
  extensions: ["ts", "mts", "cts"],
12821
- load: () => import("./index-D0svJS59.js").then((s) => s.javascript({ typescript: !0 }))
12821
+ load: () => import("./index-Bp5lqnbN.js").then((s) => s.javascript({ typescript: !0 }))
12822
12822
  }), Fh = g.of({
12823
12823
  name: "JavaScript",
12824
12824
  alias: ["ecmascript", "js", "node"],
12825
12825
  extensions: ["js", "mjs", "cjs"],
12826
- load: () => import("./index-D0svJS59.js").then((s) => s.javascript())
12826
+ load: () => import("./index-Bp5lqnbN.js").then((s) => s.javascript())
12827
12827
  }), Hh = g.of({
12828
12828
  name: "JSX",
12829
12829
  extensions: ["jsx"],
12830
- load: () => import("./index-D0svJS59.js").then((s) => s.javascript({ jsx: !0 }))
12830
+ load: () => import("./index-Bp5lqnbN.js").then((s) => s.javascript({ jsx: !0 }))
12831
12831
  }), Vh = g.of({
12832
12832
  name: "TSX",
12833
12833
  extensions: ["tsx"],
12834
- load: () => import("./index-D0svJS59.js").then(
12834
+ load: () => import("./index-Bp5lqnbN.js").then(
12835
12835
  (s) => s.javascript({ typescript: !0, jsx: !0 })
12836
12836
  )
12837
12837
  }), zh = g.of({
12838
12838
  name: "HTML",
12839
12839
  extensions: ["html", "htm"],
12840
- load: () => import("./index-qH2lMs0G.js").then((s) => s.html())
12840
+ load: () => import("./index-4oLq9F9B.js").then((s) => s.html())
12841
12841
  }), jh = g.of({
12842
12842
  name: "XML",
12843
12843
  extensions: ["xml"],
12844
- load: () => import("./index-BMiCCEB1.js").then((s) => s.xml())
12844
+ load: () => import("./index-OntZqtu6.js").then((s) => s.xml())
12845
12845
  }), qh = g.of({
12846
12846
  name: "Python",
12847
12847
  alias: ["py"],
12848
12848
  extensions: ["py", "pyw"],
12849
- load: () => import("./index-BvS1cnHq.js").then((s) => s.python())
12849
+ load: () => import("./index-TyYoYgss.js").then((s) => s.python())
12850
12850
  }), Kh = g.of({
12851
12851
  name: "Markdown",
12852
12852
  alias: ["md"],
12853
12853
  extensions: ["md", "markdown"],
12854
- load: () => import("./index-Ds4AioqO.js").then((s) => s.markdown())
12854
+ load: () => import("./index-CFCzgc33.js").then((s) => s.markdown())
12855
12855
  }), of = [
12856
12856
  ...Dh,
12857
12857
  Ph,
@@ -12871,43 +12871,52 @@ const Dh = [
12871
12871
  Eh
12872
12872
  ];
12873
12873
  export {
12874
- Wh as $,
12874
+ re as $,
12875
12875
  ke as A,
12876
12876
  Zh as B,
12877
- Ce as C,
12877
+ it as C,
12878
12878
  $h as D,
12879
12879
  R as E,
12880
- it as F,
12881
- I as G,
12882
- re as H,
12880
+ O as F,
12881
+ Ce as G,
12882
+ ge as H,
12883
12883
  H as I,
12884
- st as J,
12885
- O as K,
12884
+ W as J,
12885
+ I as K,
12886
12886
  xh as L,
12887
- ft as M,
12887
+ Q as M,
12888
12888
  Gh as N,
12889
- ph as O,
12889
+ ft as O,
12890
12890
  ur as P,
12891
- Ph as Q,
12891
+ pt as Q,
12892
12892
  ee as R,
12893
12893
  X as S,
12894
12894
  ct as T,
12895
- Bh as U,
12896
- Lh as V,
12897
- Ii as W,
12898
- Eh as X,
12899
- Rh as Y,
12900
- Ih as Z,
12901
- Nh as _,
12895
+ cl as U,
12896
+ ml as V,
12897
+ Yo as W,
12898
+ Zo as X,
12899
+ Ut as Y,
12900
+ ze as Z,
12901
+ Et as _,
12902
12902
  En as a,
12903
- Fh as a0,
12904
- Hh as a1,
12905
- Vh as a2,
12906
- zh as a3,
12907
- jh as a4,
12908
- qh as a5,
12909
- Kh as a6,
12910
- of as a7,
12903
+ ph as a0,
12904
+ Ph as a1,
12905
+ Bh as a2,
12906
+ Lh as a3,
12907
+ Eh as a4,
12908
+ Rh as a5,
12909
+ Ih as a6,
12910
+ Nh as a7,
12911
+ Wh as a8,
12912
+ Fh as a9,
12913
+ Hh as aa,
12914
+ Vh as ab,
12915
+ zh as ac,
12916
+ jh as ad,
12917
+ qh as ae,
12918
+ Kh as af,
12919
+ of as ag,
12911
12920
  Rn as b,
12912
12921
  tf as c,
12913
12922
  sf as d,
@@ -1,7 +1,7 @@
1
- import { a as p, L as u, p as n, s as l, t as e } from "./index-DIaXGPFp.js";
2
- import { html as m } from "./index-qH2lMs0G.js";
3
- import { javascriptLanguage as b } from "./index-D0svJS59.js";
4
- import { L as S, a as r } from "./index-BuVm7ZG6.js";
1
+ import { a as p, L as u, p as n, s as l, t as e } from "./index-CZGsg2Zk.js";
2
+ import { html as m } from "./index-4oLq9F9B.js";
3
+ import { javascriptLanguage as b } from "./index-Bp5lqnbN.js";
4
+ import { L as S, a as r } from "./index-Cv4vvpa2.js";
5
5
  const c = /* @__PURE__ */ S.deserialize({
6
6
  version: 14,
7
7
  states: "%pOVOWOOObQPOOOpOSO'#C_OOOO'#Cp'#CpQVOWOOQxQPOOO!TQQOOQ!YQPOOOOOO,58y,58yO!_OSO,58yOOOO-E6n-E6nO!dQQO'#CqQ{QPOOO!iQPOOQ{QPOOO!qQPOOOOOO1G.e1G.eOOQO,59],59]OOQO-E6o-E6oO!yOpO'#CiO#RO`O'#CiQOQPOOO#ZO#tO'#CmO#fO!bO'#CmOOQO,59T,59TO#qOpO,59TO#vO`O,59TOOOO'#Cr'#CrO#{O#tO,59XOOQO,59X,59XOOOO'#Cs'#CsO$WO!bO,59XOOQO1G.o1G.oOOOO-E6p-E6pOOQO1G.s1G.sOOOO-E6q-E6q",
@@ -1,4 +1,4 @@
1
- import { P as L, l as M, j as $, D as E, k as y, m as S, I as j } from "./index-DIaXGPFp.js";
1
+ import { P as L, l as M, j as $, D as E, k as y, m as S, I as j } from "./index-CZGsg2Zk.js";
2
2
  class v {
3
3
  /**
4
4
  @internal