lone-format 0.15.0 → 0.16.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 { J as f } from "../../_chunks/index-AlOFzpXl.js";
1
+ import { J as f } from "../../_chunks/index-BqjA0ynE.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -11,6 +11,10 @@ export declare const githubDarkTheme: ThemeConfig;
11
11
  * Min Light 主题配置 - 极简浅色主题
12
12
  */
13
13
  export declare const minLightTheme: ThemeConfig;
14
+ /**
15
+ * Min Dark 主题配置 - 极简暗色主题
16
+ */
17
+ export declare const minDarkTheme: ThemeConfig;
14
18
  /**
15
19
  * Slack Ochin 主题配置 - 温暖橙色主题
16
20
  */
@@ -5,7 +5,7 @@ export type FilterType = 'jsonpath' | 'js';
5
5
  /**
6
6
  * 主题类型枚举
7
7
  */
8
- export type ThemeType = 'github-light' | 'github-dark' | 'min-light' | 'slack-ochin';
8
+ export type ThemeType = 'github-light' | 'github-dark' | 'min-light' | 'min-dark' | 'slack-ochin';
9
9
  /**
10
10
  * Filter 配置接口
11
11
  */
@@ -1,4 +1,4 @@
1
- import { S as o } from "../../_chunks/index-Deb34Mk7.js";
1
+ import { S as o } from "../../_chunks/index-Bc-10qZH.js";
2
2
  export {
3
3
  o as SqlFormat,
4
4
  o as default
@@ -11,6 +11,10 @@ declare const githubDark: ThemeConfig;
11
11
  * Min Light 主题 - 与 JsonFormat 保持一致
12
12
  */
13
13
  declare const minLight: ThemeConfig;
14
+ /**
15
+ * Min Dark 主题 - 与 JsonFormat 保持一致
16
+ */
17
+ declare const minDark: ThemeConfig;
14
18
  /**
15
19
  * Slack Ochin 主题
16
20
  */
@@ -30,4 +34,4 @@ export declare const getThemeNames: () => ThemeType[];
30
34
  /**
31
35
  * 导出所有主题
32
36
  */
33
- export { githubLight, githubDark, minLight, slackOchin, themes };
37
+ export { githubLight, githubDark, minLight, minDark, slackOchin, themes };
@@ -3,7 +3,7 @@ export type SqlDialect = SqlLanguage;
3
3
  /**
4
4
  * 主题类型枚举(复用现有主题)
5
5
  */
6
- export type ThemeType = 'github-light' | 'github-dark' | 'min-light' | 'slack-ochin';
6
+ export type ThemeType = 'github-light' | 'github-dark' | 'min-light' | 'min-dark' | 'slack-ochin';
7
7
  /**
8
8
  * SQL 子句类型
9
9
  */
@@ -1,27 +1,28 @@
1
- import { X as s } from "../../_chunks/index-BAEkF-Fh.js";
2
- import { a as o, o as m, d as l, r, e as i, i as g, k as n, q as d, f as h, h as X, l as f, g as u, c as b, b as c, j as p, n as x, m as N, p as k, s as A, t as C, v as T } from "../../_chunks/index-BAEkF-Fh.js";
1
+ import { X as s } from "../../_chunks/index-Du4VL__q.js";
2
+ import { a as m, q as o, e as r, u as l, f as i, j as n, l as g, r as d, h, i as u, n as X, g as f, c as b, b as c, k as p, o as x, d as N, m as k, p as A, s as C, t as T, v } from "../../_chunks/index-Du4VL__q.js";
3
3
  export {
4
4
  s as XmlFormat,
5
- o as XmlNode,
6
- m as annotateSelfClosingInfo,
7
- l as buildXml,
8
- r as buildXmlFromArray,
5
+ m as XmlNode,
6
+ o as annotateSelfClosingInfo,
7
+ r as buildXml,
8
+ l as buildXmlFromArray,
9
9
  i as compressXml,
10
- g as countNodes,
10
+ n as countNodes,
11
11
  s as default,
12
- n as extractAttributes,
12
+ g as extractAttributes,
13
13
  d as extractSelfClosingTags,
14
14
  h as formatXml,
15
- X as getRootNodeName,
16
- f as getTextContent,
17
- u as getTheme,
15
+ u as getRootNodeName,
16
+ X as getTextContent,
17
+ f as getTheme,
18
18
  b as githubDark,
19
19
  c as githubLight,
20
20
  p as hasAttributes,
21
21
  x as isEmptyNode,
22
- N as minLight,
23
- k as parseXml,
24
- A as slackOchin,
25
- C as themes,
26
- T as validateXml
22
+ N as minDark,
23
+ k as minLight,
24
+ A as parseXml,
25
+ C as slackOchin,
26
+ T as themes,
27
+ v as validateXml
27
28
  };
@@ -11,6 +11,10 @@ declare const githubDark: ThemeConfig;
11
11
  * Minimal Light 主题
12
12
  */
13
13
  declare const minLight: ThemeConfig;
14
+ /**
15
+ * Minimal Dark 主题
16
+ */
17
+ declare const minDark: ThemeConfig;
14
18
  /**
15
19
  * Slack Ochin 主题
16
20
  */
@@ -26,4 +30,4 @@ export declare const getTheme: (themeName: ThemeType) => ThemeConfig;
26
30
  /**
27
31
  * 导出所有主题
28
32
  */
29
- export { githubLight, githubDark, minLight, slackOchin, themes };
33
+ export { githubLight, githubDark, minLight, minDark, slackOchin, themes };
@@ -5,7 +5,7 @@ export type XmlNodeType = 'element' | 'text' | 'comment' | 'cdata' | 'declaratio
5
5
  /**
6
6
  * 主题类型枚举(复用 JSON 的主题)
7
7
  */
8
- export type ThemeType = 'github-light' | 'github-dark' | 'min-light' | 'slack-ochin';
8
+ export type ThemeType = 'github-light' | 'github-dark' | 'min-light' | 'min-dark' | 'slack-ochin';
9
9
  /**
10
10
  * 过滤器类型枚举(仅支持 XPath)
11
11
  */
@@ -1,6 +1,6 @@
1
- import { J as a } from "./_chunks/index-AlOFzpXl.js";
2
- import { X as l } from "./_chunks/index-BAEkF-Fh.js";
3
- import { S as x } from "./_chunks/index-Deb34Mk7.js";
1
+ import { J as a } from "./_chunks/index-BqjA0ynE.js";
2
+ import { X as l } from "./_chunks/index-Du4VL__q.js";
3
+ import { S as x } from "./_chunks/index-Bc-10qZH.js";
4
4
  const m = [a], r = (n) => {
5
5
  m.forEach((o) => {
6
6
  const t = o.name || o.__name || "UnknownComponent";