@hia-doc/renderer-html 0.1.8 → 1.0.0-rc.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.
Files changed (45) hide show
  1. package/README.md +243 -0
  2. package/dist/index.d.ts +1623 -126
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +829 -159
  5. package/dist/index.js.map +1 -1
  6. package/dist/information-architecture.d.ts +284 -20
  7. package/dist/information-architecture.d.ts.map +1 -1
  8. package/dist/information-architecture.js +42 -15
  9. package/dist/information-architecture.js.map +1 -1
  10. package/dist/portal-ui-locale.d.ts +108 -20
  11. package/dist/portal-ui-locale.d.ts.map +1 -1
  12. package/dist/portal-ui-locale.js +103 -27
  13. package/dist/portal-ui-locale.js.map +1 -1
  14. package/dist/presentation-profile.d.ts +176 -16
  15. package/dist/presentation-profile.d.ts.map +1 -1
  16. package/dist/presentation-profile.js +40 -14
  17. package/dist/presentation-profile.js.map +1 -1
  18. package/dist/route-history.d.ts +193 -0
  19. package/dist/route-history.d.ts.map +1 -0
  20. package/dist/route-history.js +246 -0
  21. package/dist/route-history.js.map +1 -0
  22. package/dist/site-chrome.d.ts +173 -0
  23. package/dist/site-chrome.d.ts.map +1 -0
  24. package/dist/site-chrome.js +187 -0
  25. package/dist/site-chrome.js.map +1 -0
  26. package/dist/site-navigation-chrome.d.ts +36 -0
  27. package/dist/site-navigation-chrome.d.ts.map +1 -0
  28. package/dist/site-navigation-chrome.js +430 -0
  29. package/dist/site-navigation-chrome.js.map +1 -0
  30. package/dist/site-navigation.d.ts +175 -0
  31. package/dist/site-navigation.d.ts.map +1 -0
  32. package/dist/site-navigation.js +176 -0
  33. package/dist/site-navigation.js.map +1 -0
  34. package/dist/site-reading.d.ts +171 -0
  35. package/dist/site-reading.d.ts.map +1 -0
  36. package/dist/site-reading.js +534 -0
  37. package/dist/site-reading.js.map +1 -0
  38. package/dist/source-lines.d.ts +2 -1
  39. package/dist/source-lines.d.ts.map +1 -1
  40. package/dist/source-lines.js +11 -7
  41. package/dist/source-lines.js.map +1 -1
  42. package/dist/theme-assets.d.ts +12 -3
  43. package/dist/theme-assets.d.ts.map +1 -1
  44. package/dist/theme-assets.js.map +1 -1
  45. package/package.json +10 -5
@@ -0,0 +1,175 @@
1
+ /**
2
+ * @file
3
+ * @lang zh-CN 独立站点导航草案的纯数据边界。宿主声明品牌、真实版本与部署内路由,不读取文件或扩大源码权限。
4
+ * @lang en Pure-data boundary for the independent site-navigation draft. Hosts declare branding, actual versions, and deployment-local routes without file reads or additional source authority.
5
+ */
6
+ /**
7
+ * @lang zh-CN 独立导航契约身份。
8
+ * @lang en Independent navigation contract identity.
9
+ */
10
+ export declare const DOCUMENTATION_SITE_NAVIGATION_CONTRACT = "documentation-site-navigation";
11
+ /**
12
+ * @lang zh-CN 首个导航草案,禁止将其它版本隐式重标。
13
+ * @lang en First navigation draft, without implicit relabeling of other versions.
14
+ */
15
+ export declare const DOCUMENTATION_SITE_NAVIGATION_CONTRACT_VERSION = "0.1.0-draft";
16
+ /**
17
+ * @lang zh-CN 本草案支持的两种界面语言均须显式给值。
18
+ * @lang en Both UI locales supported by this draft require explicit values.
19
+ */
20
+ export type DocumentationSiteNavigationLocalizedText = Record<"zh-CN" | "en", string>;
21
+ /**
22
+ * @lang zh-CN 宿主声明的一个纯文本导航项。
23
+ * @lang en One host-declared plain-text navigation item.
24
+ */
25
+ export interface DocumentationSiteNavigationLink {
26
+ /**
27
+ * @lang zh-CN 稳定的小写字母数字身份,同组唯一。
28
+ * @lang en Stable lowercase alphanumeric identity, unique within its group.
29
+ */
30
+ id: string;
31
+ /**
32
+ * @lang zh-CN 两语言纯文本标签,不接受HTML。
33
+ * @lang en Plain-text labels in both locales, never interpreted as HTML.
34
+ */
35
+ labelByLocale: DocumentationSiteNavigationLocalizedText;
36
+ /**
37
+ * @lang zh-CN 两语言的部署内站点绝对路径,可含显式锚点。
38
+ * @lang en Site-absolute deployment-local paths in both locales, optionally with explicit anchors.
39
+ */
40
+ hrefByLocale: DocumentationSiteNavigationLocalizedText;
41
+ }
42
+ /**
43
+ * @lang zh-CN 一个实际文档版本的宿主声明,不由包版本推导。
44
+ * @lang en Host declaration of one actual documentation version, never inferred from package versions.
45
+ */
46
+ export interface DocumentationSiteNavigationVersion {
47
+ /**
48
+ * @lang zh-CN 实际文档的完整三段版本号。
49
+ * @lang en Full three-component version of the actual documentation.
50
+ */
51
+ version: string;
52
+ /**
53
+ * @lang zh-CN 由宿主明确区分预览、稳定与历史封版。
54
+ * @lang en Host-explicit preview, stable, or archived status.
55
+ */
56
+ status: "preview" | "stable" | "archive";
57
+ /**
58
+ * @lang zh-CN 该实际版本两语言的真实入口。
59
+ * @lang en Real entry targets for this actual version in both locales.
60
+ */
61
+ hrefByLocale: DocumentationSiteNavigationLocalizedText;
62
+ }
63
+ /**
64
+ * @lang zh-CN 可选导航输入0.1.0-draft;两种界面语言必需,最多16个主项、16个栏目、64个真实版本。只允许部署内站点路径,不授予文件/网络读取权限。
65
+ * @lang en Optional 0.1.0-draft navigation input requiring both UI locales, at most 16 primary items, 16 tabs, and 64 actual versions. Deployment-local site paths grant no file or network read authority.
66
+ */
67
+ export interface DocumentationSiteNavigation {
68
+ /**
69
+ * @lang zh-CN 精确契约身份。
70
+ * @lang en Exact contract identity.
71
+ */
72
+ contract: typeof DOCUMENTATION_SITE_NAVIGATION_CONTRACT;
73
+ /**
74
+ * @lang zh-CN 精确草案版本。
75
+ * @lang en Exact draft version.
76
+ */
77
+ contractVersion: typeof DOCUMENTATION_SITE_NAVIGATION_CONTRACT_VERSION;
78
+ /**
79
+ * @lang zh-CN 站点绝对部署根,必须以斜杠开始及结束。
80
+ * @lang en Site-absolute deployment root, beginning and ending with a slash.
81
+ */
82
+ deploymentBase: string;
83
+ /**
84
+ * @lang zh-CN 宿主公开品牌及两语言首页,不影响项目元数据。
85
+ * @lang en Public host brand and bilingual home targets, independent of project metadata.
86
+ */
87
+ brand: {
88
+ /**
89
+ * @lang zh-CN 公开全称,最多128字符。
90
+ * @lang en Full public name, at most 128 characters.
91
+ */
92
+ title: string;
93
+ /**
94
+ * @lang zh-CN 两语言品牌副标题,最多256字符。
95
+ * @lang en Bilingual brand captions, at most 256 characters.
96
+ */
97
+ captionByLocale: DocumentationSiteNavigationLocalizedText;
98
+ /**
99
+ * @lang zh-CN 两语言真实首页目标。
100
+ * @lang en Actual home targets in both locales.
101
+ */
102
+ homeByLocale: DocumentationSiteNavigationLocalizedText;
103
+ };
104
+ /**
105
+ * @lang zh-CN 有序顶部主导航。
106
+ * @lang en Ordered primary header navigation.
107
+ */
108
+ primaryNavigation: DocumentationSiteNavigationLink[];
109
+ /**
110
+ * @lang zh-CN 有序文档栏目。
111
+ * @lang en Ordered documentation tabs.
112
+ */
113
+ documentationTabs: DocumentationSiteNavigationLink[];
114
+ /**
115
+ * @lang zh-CN 主导航选中身份,必须存在。
116
+ * @lang en Selected primary identity, which must exist.
117
+ */
118
+ activePrimaryId: string;
119
+ /**
120
+ * @lang zh-CN 栏目选中身份,必须存在。
121
+ * @lang en Selected tab identity, which must exist.
122
+ */
123
+ activeTabId: string;
124
+ /**
125
+ * @lang zh-CN 当前文档身份、真实菜单和历史总入口。
126
+ * @lang en Current documentation identity, actual menu, and archive-directory entry.
127
+ */
128
+ documentationVersion: {
129
+ /**
130
+ * @lang zh-CN 当前文档完整三段版本。
131
+ * @lang en Full three-component current documentation version.
132
+ */
133
+ version: string;
134
+ /**
135
+ * @lang zh-CN 当前文档的显式状态。
136
+ * @lang en Explicit current-documentation status.
137
+ */
138
+ status: DocumentationSiteNavigationVersion["status"];
139
+ /**
140
+ * @lang zh-CN 至少含一个当前版本,身份不可重复。
141
+ * @lang en Includes the current version exactly once, with no duplicate versions.
142
+ */
143
+ entries: DocumentationSiteNavigationVersion[];
144
+ /**
145
+ * @lang zh-CN 历史总页的标签和真实目标,不制造不存在的历史版本。
146
+ * @lang en Archive-directory labels and real targets, without fabricating historical versions.
147
+ */
148
+ history: {
149
+ /**
150
+ * @lang zh-CN 两语言纯文本历史入口标签。
151
+ * @lang en Plain-text archive-entry labels in both locales.
152
+ */
153
+ labelByLocale: DocumentationSiteNavigationLocalizedText;
154
+ /**
155
+ * @lang zh-CN 两语言的历史总页。
156
+ * @lang en Archive-directory targets in both locales.
157
+ */
158
+ hrefByLocale: DocumentationSiteNavigationLocalizedText;
159
+ };
160
+ };
161
+ /**
162
+ * @lang zh-CN 宿主显式提供的跨语言对应入口,不根据当前URL猜测。
163
+ * @lang en Explicit host-provided counterpart entry targets, never guessed from the current URL.
164
+ */
165
+ localeTargets: DocumentationSiteNavigationLocalizedText;
166
+ }
167
+ /**
168
+ * @lang zh-CN 在输出前严格校验版本、闭集字段、资源上限、两语言与部署内路径;不读文件,不检查目标是否已部署。
169
+ * @lang en Strictly validates version, closed fields, resource bounds, both locales, and deployment-local paths before output, without file reads or checking deployment existence.
170
+ * @param value <lang><zh-CN>不受信任的JSON形状导航输入。</zh-CN><en>Untrusted JSON-shaped navigation input.</en></lang>
171
+ * @returns <lang><zh-CN>成功时无返回并收窄类型,不修改输入。</zh-CN><en>Returns nothing on success and narrows the type without modifying input.</en></lang>
172
+ * @throws {TypeError} <lang><zh-CN>含稳定HIA_SITE_NAVIGATION_INVALID码及字段位置,不回显私有值。</zh-CN><en>Uses the stable HIA_SITE_NAVIGATION_INVALID code and field location, without echoing private values.</en></lang>
173
+ */
174
+ export declare function assertDocumentationSiteNavigation(value: unknown): asserts value is DocumentationSiteNavigation;
175
+ //# sourceMappingURL=site-navigation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"site-navigation.d.ts","sourceRoot":"","sources":["../src/site-navigation.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;;GAGG;AACH,eAAO,MAAM,sCAAsC,kCAAkC,CAAC;AACtF;;;GAGG;AACH,eAAO,MAAM,8CAA8C,gBAAgB,CAAC;AAE5E;;;GAGG;AACH,MAAM,MAAM,wCAAwC,GAAG,MAAM,CAAC,OAAO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AE,wCAAwC,CAAC;YACxD;;;eAGG;YACH,YAAY,EAAE,wCAAwC,CAAC;SACxD,CAAC;KACH,CAAC;IACF;;;OAGG;IACH,aAAa,EAAE,wCAAwC,CAAC;CACzD;AAED;;;;;;GAMG;AACH,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC,KAAK,IAAI,2BAA2B,CAgC9G"}
@@ -0,0 +1,176 @@
1
+ /**
2
+ * @file
3
+ * @lang zh-CN 独立站点导航草案的纯数据边界。宿主声明品牌、真实版本与部署内路由,不读取文件或扩大源码权限。
4
+ * @lang en Pure-data boundary for the independent site-navigation draft. Hosts declare branding, actual versions, and deployment-local routes without file reads or additional source authority.
5
+ */
6
+ /**
7
+ * @lang zh-CN 独立导航契约身份。
8
+ * @lang en Independent navigation contract identity.
9
+ */
10
+ export const DOCUMENTATION_SITE_NAVIGATION_CONTRACT = "documentation-site-navigation";
11
+ /**
12
+ * @lang zh-CN 首个导航草案,禁止将其它版本隐式重标。
13
+ * @lang en First navigation draft, without implicit relabeling of other versions.
14
+ */
15
+ export const DOCUMENTATION_SITE_NAVIGATION_CONTRACT_VERSION = "0.1.0-draft";
16
+ /**
17
+ * @lang zh-CN 在输出前严格校验版本、闭集字段、资源上限、两语言与部署内路径;不读文件,不检查目标是否已部署。
18
+ * @lang en Strictly validates version, closed fields, resource bounds, both locales, and deployment-local paths before output, without file reads or checking deployment existence.
19
+ * @param value <lang><zh-CN>不受信任的JSON形状导航输入。</zh-CN><en>Untrusted JSON-shaped navigation input.</en></lang>
20
+ * @returns <lang><zh-CN>成功时无返回并收窄类型,不修改输入。</zh-CN><en>Returns nothing on success and narrows the type without modifying input.</en></lang>
21
+ * @throws {TypeError} <lang><zh-CN>含稳定HIA_SITE_NAVIGATION_INVALID码及字段位置,不回显私有值。</zh-CN><en>Uses the stable HIA_SITE_NAVIGATION_INVALID code and field location, without echoing private values.</en></lang>
22
+ */
23
+ export function assertDocumentationSiteNavigation(value) {
24
+ // <lang><zh-CN>字段采用闭集,避免把源码授权或其它版本选项悄悄当作有效输入。</zh-CN><en>Closed fields prevent silently accepting source authority or options from another version.</en></lang>
25
+ const root = object(value, ["contract", "contractVersion", "deploymentBase", "brand", "primaryNavigation", "documentationTabs", "activePrimaryId", "activeTabId", "documentationVersion", "localeTargets"], "navigation");
26
+ if (root.contract !== DOCUMENTATION_SITE_NAVIGATION_CONTRACT || root.contractVersion !== DOCUMENTATION_SITE_NAVIGATION_CONTRACT_VERSION)
27
+ invalid("contract");
28
+ // <lang><zh-CN>根目录与目标使用同一URL语法,边界斜杠防止product-other前缀混淆。</zh-CN><en>Root and targets share URL syntax, with boundary slashes preventing product-other prefix confusion.</en></lang>
29
+ const base = target(root.deploymentBase, "/", "deploymentBase");
30
+ if (!base.endsWith("/") || base.includes("#"))
31
+ invalid("deploymentBase");
32
+ const brand = object(root.brand, ["title", "captionByLocale", "homeByLocale"], "brand");
33
+ label(brand.title, 128, "brand.title");
34
+ localized(brand.captionByLocale, "brand.captionByLocale");
35
+ localized(brand.homeByLocale, "brand.homeByLocale", base);
36
+ // <lang><zh-CN>两个导航组独立约束有序身份和选中项,不从URL或文案猜测选中态。</zh-CN><en>Both ordered groups constrain identities and selected entries independently, without inferring selection from URLs or labels.</en></lang>
37
+ links(root.primaryNavigation, root.activePrimaryId, base, "primaryNavigation");
38
+ links(root.documentationTabs, root.activeTabId, base, "documentationTabs");
39
+ localized(root.localeTargets, "localeTargets", base);
40
+ const versions = object(root.documentationVersion, ["version", "status", "entries", "history"], "documentationVersion");
41
+ version(versions, "documentationVersion");
42
+ const entries = array(versions.entries, 64, "documentationVersion.entries");
43
+ const identities = new Set();
44
+ let currentCount = 0;
45
+ for (const entry of entries) {
46
+ const record = object(entry, ["version", "status", "hrefByLocale"], "documentationVersion.entries");
47
+ version(record, "documentationVersion.entries");
48
+ localized(record.hrefByLocale, "documentationVersion.entries.hrefByLocale", base);
49
+ if (identities.has(record.version))
50
+ invalid("documentationVersion.entries.version");
51
+ identities.add(record.version);
52
+ if (record.version === versions.version && record.status === versions.status)
53
+ currentCount += 1;
54
+ }
55
+ if (currentCount !== 1)
56
+ invalid("documentationVersion.entries.current");
57
+ const history = object(versions.history, ["labelByLocale", "hrefByLocale"], "documentationVersion.history");
58
+ localized(history.labelByLocale, "documentationVersion.history.labelByLocale");
59
+ localized(history.hrefByLocale, "documentationVersion.history.hrefByLocale", base);
60
+ }
61
+ /**
62
+ * @lang zh-CN 拒绝额外/缺失字段及非JSON记录,不输出输入内容。
63
+ * @lang en Rejects additional/missing fields and non-JSON records without printing input content.
64
+ */
65
+ function object(value, keys, location) {
66
+ if (!value || typeof value !== "object" || Array.isArray(value) || ![Object.prototype, null].includes(Object.getPrototypeOf(value)))
67
+ invalid(location);
68
+ const record = value;
69
+ // <lang><zh-CN>只接受可枚举数据属性,读取前拒绝getter、隐藏字段和symbol,避免验证/快照之间执行或丢失字段。</zh-CN><en>Accept enumerable data properties only, refusing getters, hidden fields, and symbols before reading to prevent execution or field loss between validation and snapshotting.</en></lang>
70
+ const descriptors = Object.getOwnPropertyDescriptors(record);
71
+ if (Reflect.ownKeys(record).length !== keys.length || keys.some(key => !descriptors[key]?.enumerable || !Object.hasOwn(descriptors[key], "value")))
72
+ invalid(location);
73
+ return record;
74
+ }
75
+ /**
76
+ * @lang zh-CN 纯文本必须非空有界且不含控制符;HTML由呈现层转义。
77
+ * @lang en Plain text must be bounded, nonblank, and control-free; presentation escapes HTML.
78
+ */
79
+ function text(value, limit, location) {
80
+ if (typeof value !== "string" || !value.trim() || value.length > limit || /[\u0000-\u001f\u007f]/u.test(value))
81
+ invalid(location);
82
+ }
83
+ /**
84
+ * @lang zh-CN 限定两语言,路径值额外核部署根。
85
+ * @lang en Restricts values to both locales and additionally checks deployment boundaries for paths.
86
+ */
87
+ function localized(value, location, base) {
88
+ const record = object(value, ["zh-CN", "en"], location);
89
+ for (const locale of ["zh-CN", "en"]) {
90
+ if (base === undefined)
91
+ label(record[locale], 256, `${location}.${locale}`);
92
+ else
93
+ target(record[locale], base, `${location}.${locale}`);
94
+ }
95
+ }
96
+ /**
97
+ * @lang zh-CN 复用UI词条的纯文本与无占位符边界,拒绝尖括号及模板花括号。
98
+ * @lang en Matches the UI catalog's plain-text and placeholder-free boundary, rejecting angle brackets and template braces.
99
+ */
100
+ function label(value, limit, location) {
101
+ text(value, limit, location);
102
+ if (/[<>{}]/u.test(value))
103
+ invalid(location);
104
+ }
105
+ /**
106
+ * @lang zh-CN 接受无编码路径和显式锚点,拒绝归一化绕根、代码协议及本机地址;百分号只允许锚点中的有效编码。
107
+ * @lang en Accepts unencoded paths and explicit anchors, rejecting normalized root escapes, code schemes, and local addresses; percent encoding is allowed only in valid anchors.
108
+ */
109
+ function target(value, base, location) {
110
+ text(value, 2048, location);
111
+ // <lang><zh-CN>保守草案路径语法让浏览器和部署服务器不需要多层解码,锚点仍可表示本地化标题。</zh-CN><en>The conservative draft path grammar avoids layered browser/server decoding while anchors can still represent localized headings.</en></lang>
112
+ const pathname = value.split("#")[0];
113
+ if (!value.startsWith(base) || value.startsWith("//") || /[\s\\<>"'`?]/u.test(value) || /[%:&]/u.test(pathname) || pathname.includes("//") || pathname.split("/").some(part => part === "." || part === ".."))
114
+ invalid(location);
115
+ try {
116
+ const parsed = new URL(value, "https://hia.invalid");
117
+ if (parsed.origin !== "https://hia.invalid" || parsed.pathname !== pathname || parsed.search)
118
+ invalid(location);
119
+ decodeURIComponent(parsed.hash);
120
+ }
121
+ catch {
122
+ invalid(location);
123
+ }
124
+ return value;
125
+ }
126
+ /**
127
+ * @lang zh-CN 以有限非空数组约束导航与版本资源量。
128
+ * @lang en Bounds navigation and version resources with finite nonempty arrays.
129
+ */
130
+ function array(value, limit, location) {
131
+ if (!Array.isArray(value) || value.length < 1 || value.length > limit)
132
+ invalid(location);
133
+ // <lang><zh-CN>数组同样必须是稠密JSON数据,拒绝索引getter和自定义迭代器,循环不触发调用方代码。</zh-CN><en>Arrays must likewise be dense JSON data, refusing indexed getters and custom iterators so loops do not invoke caller code.</en></lang>
134
+ const descriptors = Object.getOwnPropertyDescriptors(value);
135
+ if (Object.getPrototypeOf(value) !== Array.prototype || Reflect.ownKeys(value).length !== value.length + 1)
136
+ invalid(location);
137
+ for (let index = 0; index < value.length; index += 1) {
138
+ if (!descriptors[index]?.enumerable || !Object.hasOwn(descriptors[index], "value"))
139
+ invalid(location);
140
+ }
141
+ return value;
142
+ }
143
+ /**
144
+ * @lang zh-CN 组内身份唯一且选中身份真实存在。
145
+ * @lang en Group identities are unique and the selected identity must exist.
146
+ */
147
+ function links(value, selected, base, location) {
148
+ const records = array(value, 16, location);
149
+ const identities = new Set();
150
+ for (const item of records) {
151
+ const record = object(item, ["id", "labelByLocale", "hrefByLocale"], location);
152
+ if (typeof record.id !== "string" || !/^[a-z][a-z0-9]{0,31}$/u.test(record.id) || identities.has(record.id))
153
+ invalid(`${location}.id`);
154
+ identities.add(record.id);
155
+ localized(record.labelByLocale, `${location}.labelByLocale`);
156
+ localized(record.hrefByLocale, `${location}.hrefByLocale`, base);
157
+ }
158
+ if (typeof selected !== "string" || !identities.has(selected))
159
+ invalid(`${location}.selected`);
160
+ }
161
+ /**
162
+ * @lang zh-CN 版本完整且状态显式,禁止使用浮动别名或包版本推断。
163
+ * @lang en Versions are complete and statuses explicit, without floating aliases or package-version inference.
164
+ */
165
+ function version(record, location) {
166
+ if (typeof record.version !== "string" || record.version.length > 64 || !/^(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)$/u.test(record.version) || !["preview", "stable", "archive"].includes(record.status))
167
+ invalid(location);
168
+ }
169
+ /**
170
+ * @lang zh-CN 所有输入拒绝共享公开错误码,字段位置由实现固定。
171
+ * @lang en All input refusals share a public error code with implementation-fixed field locations.
172
+ */
173
+ function invalid(location) {
174
+ throw new TypeError(`HIA_SITE_NAVIGATION_INVALID: Invalid navigation field ${location}.`);
175
+ }
176
+ //# sourceMappingURL=site-navigation.js.map
@@ -0,0 +1 @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CAAC;QAAE,OAAO,CAAC,GAAG,QAAQ,WAAW,CAAC,CAAC;AACjG,CAAC;AAED;;;GAGG;AACH,SAAS,OAAO,CAAC,MAA+B,EAAE,QAAgB;IAChE,IAAI,OAAO,MAAM,CAAC,OAAO,KAAK,QAAQ,IAAI,MAAM,CAAC,OAAO,CAAC,MAAM,GAAG,EAAE,IAAI,CAAC,sDAAsD,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAgB,CAAC;QAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;AACjP,CAAC;AAED;;;GAGG;AACH,SAAS,OAAO,CAAC,QAAgB;IAC/B,MAAM,IAAI,SAAS,CAAC,yDAAyD,QAAQ,GAAG,CAAC,CAAC;AAC5F,CAAC"}
@@ -0,0 +1,171 @@
1
+ /**
2
+ * @file
3
+ * @lang zh-CN 已确认站点导航下的阅读框架、真实小节目录与渐进增强,保持源码查看页无脚本。
4
+ * @lang en Reading frame, actual-section outlines and progressive enhancement under confirmed site navigation, keeping source viewers script-free.
5
+ */
6
+ import type { DocumentationPortalUiLocale } from "./information-architecture.js";
7
+ /**
8
+ * @lang zh-CN 来自同一次渲染的公开条目上下文,不授予来源读取权限。
9
+ * @lang en Public entry context from the same render, granting no source-reading authority.
10
+ */
11
+ export interface SiteReadingEntry {
12
+ /**
13
+ * @lang zh-CN 原条目稳定身份。
14
+ * @lang en Original stable entry identity.
15
+ */
16
+ id: string;
17
+ /**
18
+ * @lang zh-CN 原条目名称。
19
+ * @lang en Original entry name.
20
+ */
21
+ name: string;
22
+ /**
23
+ * @lang zh-CN 已生成的本地化静态条目路径。
24
+ * @lang en Generated localized static entry path.
25
+ */
26
+ page: string;
27
+ /**
28
+ * @lang zh-CN 已存在的静态界面语言入口。
29
+ * @lang en Existing static UI-locale entries.
30
+ */
31
+ localePages?: Record<DocumentationPortalUiLocale, string>;
32
+ /**
33
+ * @lang zh-CN 原公开来源查看页地址。
34
+ * @lang en Original public source-viewer address.
35
+ */
36
+ sourceUrl?: string;
37
+ }
38
+ /**
39
+ * @lang zh-CN 仅在导航采用页面实际使用的双语阅读消息,供owner完整性评估共享。
40
+ * @lang en Bilingual reading messages actually used by navigation-adopted pages, shared with owner completeness evaluation.
41
+ */
42
+ export declare const SITE_READING_MESSAGES: {
43
+ readonly "site.reading.directory": readonly ["文档目录", "Documentation directory"];
44
+ readonly "site.reading.api": readonly ["接口参考", "API reference"];
45
+ readonly "site.reading.outline": readonly ["本页内容", "On this page"];
46
+ readonly "site.reading.search": readonly ["搜索文档", "Search documentation"];
47
+ readonly "site.reading.settings": readonly ["阅读设置", "Reading settings"];
48
+ readonly "site.reading.close": readonly ["关闭", "Close"];
49
+ readonly "site.reading.scheme": readonly ["外观", "Appearance"];
50
+ readonly "site.reading.light": readonly ["浅色", "Light"];
51
+ readonly "site.reading.dark": readonly ["深色", "Dark"];
52
+ readonly "site.reading.system": readonly ["跟随系统", "System"];
53
+ readonly "site.reading.wrap": readonly ["代码长行", "Long code lines"];
54
+ readonly "site.reading.scroll": readonly ["块内滚动", "Scroll inside blocks"];
55
+ readonly "site.reading.wrapped": readonly ["自动换行", "Wrap lines"];
56
+ readonly "site.reading.lines": readonly ["源码行号", "Source line numbers"];
57
+ readonly "site.reading.show": readonly ["显示", "Show"];
58
+ readonly "site.reading.hide": readonly ["隐藏", "Hide"];
59
+ readonly "site.reading.scope": readonly ["设置仅影响当前页面,不保存偏好。", "Settings affect this page only and are not saved."];
60
+ readonly "site.reading.searchscope": readonly ["仅检索当前生成参考站,不向外发送查询。", "Search only this generated reference site, without sending queries elsewhere."];
61
+ readonly "site.reading.loading": readonly ["正在准备检索索引…", "Preparing the search index…"];
62
+ readonly "site.reading.empty": readonly ["没有匹配内容,请换一个关键词或从文档目录继续。", "No matches. Try another term or continue from the directory."];
63
+ readonly "site.reading.error": readonly ["检索索引暂不可用,请从文档目录继续。", "The search index is unavailable. Continue from the directory."];
64
+ readonly "site.reading.source": readonly ["源码阅读", "Source reading"];
65
+ readonly "site.reading.boundary": readonly ["公开源码片段,定位精度以来源证据为准。", "Public source excerpt. Position precision depends on the source evidence."];
66
+ readonly "site.reading.return": readonly ["返回接口", "Return to the API"];
67
+ readonly "site.reading.snippet": readonly ["源码片段", "Source excerpt"];
68
+ readonly "site.reading.copy": readonly ["复制", "Copy"];
69
+ readonly "site.reading.copied": readonly ["已复制", "Copied"];
70
+ readonly "site.reading.manualcopy": readonly ["请手动选择复制", "Select and copy manually"];
71
+ readonly "site.reading.host": readonly ["需要支持文件定位的集成宿主", "Requires an integration host that supports file navigation"];
72
+ readonly "site.field.remarks": readonly ["备注", "Remarks"];
73
+ readonly "site.field.parameters": readonly ["参数", "Parameters"];
74
+ readonly "site.field.typeparameters": readonly ["类型参数", "Type parameters"];
75
+ readonly "site.field.returns": readonly ["返回值", "Returns"];
76
+ readonly "site.field.exceptions": readonly ["异常", "Exceptions"];
77
+ readonly "site.field.name": readonly ["名称", "Name"];
78
+ readonly "site.field.description": readonly ["说明", "Description"];
79
+ readonly "site.field.command.summary": readonly ["用途摘要", "Purpose summary"];
80
+ readonly "site.field.command.purpose": readonly ["用途", "Purpose"];
81
+ readonly "site.field.command.paths": readonly ["路径基准", "Path bases"];
82
+ readonly "site.field.command.effects": readonly ["输出与副作用", "Outputs and effects"];
83
+ readonly "site.field.command.offline": readonly ["离线说明", "Offline reference"];
84
+ readonly "site.field.command.parsing": readonly ["参数解析规则", "Argument parsing rules"];
85
+ readonly "site.field.command.configusage": readonly ["配置文件用法", "Configuration usage"];
86
+ readonly "site.field.command.configoverrides": readonly ["配置覆盖规则", "Configuration overrides"];
87
+ readonly "site.field.command.directonly": readonly ["直接输入模式", "Direct-input mode"];
88
+ readonly "site.field.command.versionidentity": readonly ["版本输出身份", "Version output identity"];
89
+ readonly "site.field.command.displayversion": readonly ["输出版本值", "Displayed version value"];
90
+ readonly "site.field.command.defaults": readonly ["默认行为", "Default behavior"];
91
+ readonly "site.field.command.metavar": readonly ["参数值占位符", "Parameter value placeholder"];
92
+ readonly "site.field.command.package": readonly ["所属文档包", "Owning documentation package"];
93
+ readonly "site.field.command.packageversion": readonly ["文档包版本", "Documentation package version"];
94
+ readonly "site.field.command.aliases": readonly ["命令别名", "Command aliases"];
95
+ readonly "site.field.command.helporder": readonly ["帮助处理顺序", "Help precedence"];
96
+ readonly "site.field.command.unknownoptions": readonly ["未知选项处理", "Unknown-option handling"];
97
+ readonly "site.field.command.filesystem": readonly ["文件系统操作", "Filesystem effects"];
98
+ readonly "site.field.command.network": readonly ["网络访问", "Network access"];
99
+ readonly "site.field.command.examples": readonly ["调用示例", "Invocation example"];
100
+ readonly "site.field.command.exitcode": readonly ["退出码", "Exit code"];
101
+ readonly "site.field.command.exitsummary": readonly ["退出结果摘要", "Exit-result summary"];
102
+ readonly "site.field.command.exitdescription": readonly ["退出结果说明", "Exit-result description"];
103
+ readonly "site.field.command.choices": readonly ["允许值", "Allowed value"];
104
+ readonly "site.field.command.defaultconditions": readonly ["默认值适用条件", "Default-value condition"];
105
+ readonly "site.field.command.defaultkind": readonly ["默认值规则类型", "Default-rule kind"];
106
+ readonly "site.field.command.defaultvalue": readonly ["默认值", "Default value"];
107
+ readonly "site.field.command.multiple": readonly ["多值规则", "Multiple-value rule"];
108
+ readonly "site.field.command.parametername": readonly ["参数名称", "Parameter name"];
109
+ readonly "site.field.command.required": readonly ["必填规则", "Requiredness"];
110
+ readonly "site.field.command.short": readonly ["短选项名称", "Short-option name"];
111
+ readonly "site.field.command.valuetype": readonly ["参数值类型", "Parameter value type"];
112
+ readonly "site.field.command.prerequisites": readonly ["运行前置条件", "Runtime prerequisites"];
113
+ readonly "site.field.command.section": readonly ["所属章节", "Reference section"];
114
+ readonly "site.kind.command": readonly ["命令", "Command"];
115
+ readonly "site.kind.command.group": readonly ["命令组", "Command group"];
116
+ readonly "site.kind.command.option": readonly ["命名选项", "Named option"];
117
+ readonly "site.kind.command.argument": readonly ["位置参数", "Positional argument"];
118
+ readonly "site.kind.constant": readonly ["常量", "Constant"];
119
+ readonly "site.kind.function": readonly ["函数", "Function"];
120
+ readonly "site.kind.member": readonly ["成员", "Member"];
121
+ readonly "site.kind.file": readonly ["文件", "File"];
122
+ readonly "site.kind.dotnet.method": readonly ["方法", "Method"];
123
+ readonly "site.kind.dotnet.type": readonly ["类型", "Type"];
124
+ readonly "site.kind.css.component.style": readonly ["组件样式", "Component style"];
125
+ readonly "site.kind.css.custom.property": readonly ["自定义属性", "Custom property"];
126
+ readonly "site.kind.css.layer": readonly ["级联层", "Cascade layer"];
127
+ readonly "site.kind.css.modifier": readonly ["样式修饰", "Style modifier"];
128
+ readonly "site.kind.css.selector": readonly ["选择器", "Selector"];
129
+ readonly "site.kind.design.token": readonly ["设计令牌", "Design token"];
130
+ readonly "site.kind.html.attribute": readonly ["属性", "Attribute"];
131
+ readonly "site.kind.html.component": readonly ["组件", "Component"];
132
+ readonly "site.kind.html.event": readonly ["事件", "Event"];
133
+ readonly "site.kind.html.slot": readonly ["插槽", "Slot"];
134
+ readonly "site.kind.html.style.hook": readonly ["样式钩子", "Style hook"];
135
+ readonly "site.kind.pug.mixin": readonly ["混入", "Mixin"];
136
+ readonly "site.kind.vue.exposed.api": readonly ["公开接口", "Exposed API"];
137
+ };
138
+ /**
139
+ * @lang zh-CN 为owner生成的完整HTML附加阅读布局,不读取文件,不改写来源字节或片段。
140
+ * @lang en Adds reading layout to owner-generated complete HTML without reading files or rewriting source bytes or fragments.
141
+ * @param contents - 本次生成的完整HTML。 Complete HTML from this generation.
142
+ * @param file - owner生成的相对输出路径。 Owner-generated relative output path.
143
+ * @param locale - 已确认的界面语言,不改变正文语言。 Confirmed UI locale, independent of prose locale.
144
+ * @param interactive - 生成器已确认此页承载运行时交互。 The generator identified this page as the interactive runtime host.
145
+ * @param entries - 同次渲染公开条目,默认空上下文。 Public entries from the same render, defaulting to no context.
146
+ * @param customTokens - 主题owner已验证的显式颜色键,默认无覆写。 Explicit color keys validated by the theme owner, with no overrides by default.
147
+ * @param compactStaticText <lang><zh-CN>省略生成器自有静态消息包装,默认关闭。</zh-CN><en>Omit generator-owned static message wrappers, disabled by default.</en></lang>
148
+ * @returns 带阅读框架的HTML,不执行脚本或文件访问。 Reading-framed HTML, without script execution or file access.
149
+ */
150
+ export declare function renderSiteReading(contents: string, file: string, locale: DocumentationPortalUiLocale, interactive: boolean, entries?: SiteReadingEntry[], customTokens?: readonly string[], compactStaticText?: boolean): string;
151
+ /**
152
+
153
+ * @lang zh-CN 生成已确认的原生模态与封闭设置选项。
154
+
155
+ * @lang en Generates confirmed native dialogs and closed setting choices.
156
+ * @param text <lang><zh-CN>只接受已知消息身份的可信标签工厂。</zh-CN><en>Trusted label factory accepting known message identities only.</en></lang>
157
+ * @returns <lang><zh-CN>两个原生dialog的完整HTML。</zh-CN><en>Complete HTML for two native dialogs.</en></lang>
158
+
159
+ */
160
+ export declare function renderSiteReadingDialogs(text: (id: keyof typeof SITE_READING_MESSAGES) => string): string;
161
+ /**
162
+ * @lang zh-CN 导航采用页面的纯阅读增强;原生dialog约束焦点,查询本地索引,设置不持久化。
163
+ * @lang en Read-only enhancement for navigation-adopted pages, using native modal focus, local-index search and nonpersistent settings.
164
+ */
165
+ export declare const SITE_READING_SCRIPT: string;
166
+ /**
167
+ * @lang zh-CN 仅在站点导航明确启用时采用的确认稿阅读样式,旧调用与演示基线不受此选择影响。
168
+ * @lang en Confirmed reading styles selected only by explicit site navigation, keeping legacy calls and demonstration baselines outside this selection.
169
+ */
170
+ export declare const SITE_READING_STYLE = "\n:root[data-hia-site-navigation][data-hia-scheme] {--hia-bg:#f6f8fc;--hia-surface:#fff;--hia-text:#17253a;--hia-muted:#526177;--hia-border:#dce4ef;--hia-site-soft:#edf3ff;--hia-accent-soft:var(--hia-site-soft);--hia-site-brand-contrast:#fff;color-scheme:light}\n:root[data-hia-site-navigation][data-hia-scheme=\"dark\"] {--hia-bg:#0c1525;--hia-surface:#142138;--hia-text:#e8effa;--hia-muted:#b2c1d6;--hia-border:#34445c;--hia-site-soft:#1c3050;--hia-accent:#93c5fd;color-scheme:dark}\n@media(prefers-color-scheme:dark){:root[data-hia-site-navigation][data-hia-scheme=\"system\"]{--hia-bg:#0c1525;--hia-surface:#142138;--hia-text:#e8effa;--hia-muted:#b2c1d6;--hia-border:#34445c;--hia-site-soft:#1c3050;--hia-accent:#93c5fd;color-scheme:dark}}\n[data-hia-site-navigation] body{font:16px/1.75 \"Segoe UI\",\"Microsoft YaHei\",system-ui,sans-serif;background:var(--hia-bg);color:var(--hia-text)}\n[data-hia-site-navigation] .hia-shell{width:min(1240px,calc(100% - 64px));margin:auto;grid-template-columns:232px minmax(0,1fr) 170px;gap:36px;align-items:start;padding:30px 0 60px;min-height:0}\n[data-hia-site-navigation] .hia-sidebar{position:static;height:auto;padding:0 20px 0 0;background:transparent;border-right:1px solid var(--hia-border);font-size:.83rem}\n[data-hia-site-navigation] .hia-project-split-site .hia-sidebar{height:auto;max-height:none;overflow:visible;position:static;top:auto}\n[data-hia-site-navigation] .hia-site-mark{background:var(--hia-color-accent,#0047ab);color:var(--hia-site-brand-contrast)}\n[data-hia-site-navigation] .hia-project-view-button[aria-pressed=\"true\"]{background:var(--hia-color-accent,#0047ab);color:var(--hia-site-brand-contrast)}\n.hia-site-directory{position:sticky;top:calc(var(--hia-site-header) + var(--hia-site-tabs) + 30px);max-height:calc(100dvh - var(--hia-site-header) - var(--hia-site-tabs) - 50px);overflow:auto;min-width:0}\n.hia-site-directory>summary{display:none}.hia-site-directory h1{font-size:.9rem}.hia-site-directory .hia-theme-switch{display:none}\n[data-hia-site-navigation] .hia-main{padding:7px 0;min-width:0;max-width:none;margin:0;border:0;border-radius:0;background:transparent}\n[data-hia-site-navigation] .hia-project-entry{border:0;border-radius:0;background:transparent;padding:0;margin:0}\n[data-hia-site-navigation] .hia-project-topic-header :is(h1,h2){font:700 2.35rem/1.25 Consolas,monospace;letter-spacing:-.045em;min-width:0;overflow-wrap:break-word;margin:16px 0 24px}\n.hia-site-project-name{font-size:.9rem;font-weight:700}.hia-site-api-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:18px}\n.hia-site-breadcrumbs{font-size:.75rem;color:var(--hia-muted);margin:0 0 28px;overflow-wrap:break-word}.hia-site-eyebrow{font-size:.76rem;letter-spacing:.13em;color:var(--hia-muted);font-weight:750;text-transform:uppercase;margin:0 0 20px}\n[data-hia-site-navigation] .hia-kind{font-size:.75rem;border-radius:20px;border-color:var(--hia-border);padding:4px 10px;margin:0 6px 18px 0}\n[data-hia-site-navigation] .hia-project-topic-section{border:0;border-radius:0;border-top:1px solid var(--hia-border);margin:18px 0;padding:22px 0;background:transparent}\n[data-hia-site-navigation] .hia-project-topic-section>summary{padding:0;background:transparent;font-size:1.05rem}\n[data-hia-site-navigation] .hia-project-topic-section-body{padding:16px 0 0}\n[data-hia-site-navigation] .hia-project-topic-section[data-hia-topic-section=\"summary\"]{border:0;padding:0}\n[data-hia-site-navigation] .hia-project-topic-section[data-hia-topic-section=\"summary\"]>h3{display:none}\n[data-hia-site-navigation] .hia-signature{border:1px solid var(--hia-border);border-radius:10px;padding:17px 20px;background:var(--hia-surface);overflow:auto;max-width:100%;white-space:pre;font:13px/1.9 Consolas,monospace}\n[data-hia-site-navigation] .hia-site-field{border-top:1px solid var(--hia-border);padding:22px 0;margin:18px 0}\n[data-hia-site-navigation] .hia-site-field h3{font-size:1.14rem;margin:0 0 12px}\n[data-hia-site-navigation] .hia-site-field code{font:13px Consolas,monospace}\n/* <lang><zh-CN>\u6E90\u7801\u6298\u53E0\u6807\u9898\u590D\u7528\u786E\u8BA4\u7A3F\u8DEF\u5F84\u5B57\u4F53\uFF0C\u907F\u514D\u57FA\u7840\u4E3B\u9898\u5B57\u4F53\u56DE\u9000\u5F15\u53D1\u957F\u5E03\u5C40\u3002</zh-CN><en>Source-disclosure headings reuse confirmed path typography to avoid costly base-theme font fallback.</en></lang> */\n[data-hia-site-navigation] :is(.hia-source-preview,.hia-source-fragment) summary{font-family:Consolas,monospace}\n.hia-site-field-table{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;border:1px solid var(--hia-border);border-radius:10px;overflow:hidden;background:var(--hia-surface);font-size:.9rem}.hia-site-field-table th,.hia-site-field-table td{padding:13px 16px;vertical-align:top;text-align:left;border-bottom:1px solid var(--hia-border);overflow-wrap:break-word}.hia-site-field-table th{background:var(--hia-site-soft);font-weight:600}.hia-site-field-table th:first-child{width:27%}.hia-site-field-table tr:last-child td{border-bottom:0}.hia-site-field-table p{margin:0}\n.hia-site-toc{position:sticky;top:calc(var(--hia-site-header) + var(--hia-site-tabs) + 30px);max-height:calc(100dvh - 180px);overflow:auto;border-left:1px solid var(--hia-border);padding-left:16px;font-size:.78rem;min-width:0}\n.hia-site-toc strong{font-size:.7rem;color:var(--hia-muted)}[data-hia-reading-outline] a{display:block;padding:7px 0;color:var(--hia-muted);overflow-wrap:break-word}\n.hia-site-mobile-outline,.hia-site-source-mobile-directory{display:none}.hia-site-source-shell h1{font-size:2.35rem}.hia-site-source-path{overflow-wrap:break-word;font:13px Consolas,monospace}\n.hia-site-notice{padding:16px 18px;border:1px solid #ead8a8;border-left-width:3px;border-radius:7px;background:#fffbeb;color:#713f12;margin:24px 0;font-size:.87rem}\n[data-hia-site-navigation] [data-hia-source-fetch-status]:not([hidden]),[data-hia-site-navigation] .hia-project-load-error{padding:16px 18px;background:var(--hia-site-soft);border:1px solid var(--hia-border);border-left:3px solid var(--hia-accent);border-radius:7px;margin:24px 0;font-size:.87rem}\n[data-hia-site-navigation] [data-hia-source-state=\"denied\"] [data-hia-source-fetch-status],[data-hia-site-navigation] [data-hia-source-state=\"aborted\"] [data-hia-source-fetch-status]{background:#fffbeb;border-color:#ead8a8;color:#713f12}\n[data-hia-site-navigation] :is([data-hia-source-state=\"integrity-error\"],[data-hia-source-state=\"network-error\"],[data-hia-source-state=\"not-found\"]) [data-hia-source-fetch-status],[data-hia-site-navigation] .hia-project-load-error{background:#fff1f2;border-color:#f0bac2;color:#9f1239}\n[data-hia-site-navigation] [data-hia-source-state=\"ready\"] [data-hia-source-fetch-status]{background:#f0fdf4;border-color:#c6e7cf;color:#166534}\n[data-hia-site-navigation] [data-hia-source-state]:not([data-hia-source-state=\"ready\"]) .hia-source-code{display:none}\n[data-hia-site-navigation] [data-hia-open-request]:disabled{opacity:.5;cursor:not-allowed}\n.hia-site-source-shell .hia-source-code{border:1px solid var(--hia-border);border-radius:10px;background:var(--hia-surface);color:var(--hia-text);overflow:auto;max-width:100%;padding:14px 18px;font:13px/1.95 Consolas,monospace}\n.hia-site-source-shell .hia-source-line-number{color:var(--hia-muted)}\n.hia-site-source-shell .hia-sidebar a{display:block;padding:8px 10px;overflow-wrap:break-word}\n/* <lang><zh-CN>\u589E\u5F3A\u63A7\u4EF6\u5728\u9996\u7ED8\u4FDD\u7559\u6700\u7EC8\u5C3A\u5BF8\uFF0C\u7ED1\u5B9A\u5B8C\u6210\u524D\u4E0D\u53EF\u89C1\u4E14\u4E0D\u53EF\u805A\u7126\uFF0C\u907F\u514D\u9876\u90E8\u5DE5\u5177\u6324\u52A8\u6B63\u6587\u3002</zh-CN><en>Reserve final control dimensions at first paint, keeping controls invisible and unfocusable until bound so header tools do not move prose.</en></lang> */\n.hia-site-reading-trigger{visibility:hidden;display:inline-flex;align-items:center;gap:10px;border:1px solid var(--hia-border);background:var(--hia-surface);color:var(--hia-text);border-radius:8px;padding:6px 11px;font:inherit;font-size:.79rem;min-height:36px;cursor:pointer}.hia-site-static-search{display:inline-flex}\n[data-hia-reading-ready] .hia-site-reading-trigger{visibility:visible}\n/* <lang><zh-CN>\u771F\u6B63\u7981\u811A\u672C\u65F6\u65E0\u589E\u5F3A\u5F85\u7ED1\u5B9A\uFF0C\u6CBF\u539F\u751F\u5BFC\u822A\u5E03\u5C40\u79FB\u9664\u7A7A\u63A7\u4EF6\u4F4D\u7F6E\u3002</zh-CN><en>With scripting disabled there is no pending enhancement, so retain native navigation geometry without empty control slots.</en></lang> */\n@media(scripting:none){.hia-site-reading-trigger{display:none}}\n[data-hia-site-navigation] dialog{width:min(650px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--hia-border);border-radius:16px;background:var(--hia-surface);color:var(--hia-text);box-shadow:0 25px 90px #00132d44}\n[data-hia-site-navigation] dialog::backdrop{background:#0c1c3680}[data-hia-site-navigation] dialog header{display:flex;justify-content:space-between;align-items:center;padding:20px 22px;border-bottom:1px solid var(--hia-border);gap:12px}\n[data-hia-site-navigation] dialog h2{margin:0;font-size:1rem}.hia-site-dialog-body{padding:22px}.hia-site-dialog-body label{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:14px 0;border-bottom:1px solid var(--hia-border)}\n.hia-site-dialog-body select,.hia-site-dialog-body input{font:inherit;color:inherit;border:1px solid var(--hia-border);border-radius:6px;background:var(--hia-surface);padding:8px;min-width:0}.hia-site-dialog-body input{width:100%;margin:14px 0}\n[data-hia-reading-results]{max-height:45dvh;overflow:auto}[data-hia-reading-results] a{display:block;padding:12px;border-bottom:1px solid var(--hia-border);overflow-wrap:break-word}\n[data-hia-reading-close],[data-hia-reading-copy]{border:1px solid var(--hia-border);border-radius:5px;background:var(--hia-surface);color:var(--hia-text);padding:5px 8px;cursor:pointer}\n[data-hia-reading-copy]{float:right;font-size:.7rem}[data-hia-reading-wrap=\"wrap\"] .hia-signature,[data-hia-reading-wrap=\"wrap\"] .hia-source-code-line{white-space:pre-wrap!important;overflow-wrap:anywhere;min-width:0!important}\n/* <lang><zh-CN>\u884C\u53F7\u94FE\u63A5\u627F\u63A5\u539F\u951A\u70B9\uFF0C\u6574\u884C\u4ECD\u5448\u73B0\u5F53\u524D\u76EE\u6807\uFF0C\u8986\u76D6\u539F\u751F\u8F93\u51FA\u548C\u9759\u6001\u9605\u8BFB\u3002</zh-CN><en>Line-number links own existing anchors while the full row retains target styling for native output and static reading.</en></lang> */\n.hia-source-code-line:target,.hia-source-code-line:has(>.hia-source-line-number:target){background:var(--hia-accent-soft)}\n[data-hia-site-navigation] [data-hia-topic-section=\"declaration\"]{position:relative;border:0;padding:0}\n[data-hia-site-navigation] [data-hia-topic-section=\"declaration\"]>h3{border:1px solid var(--hia-border);border-bottom:0;border-radius:10px 10px 0 0;background:var(--hia-surface);font-size:.7rem;font-weight:400;margin:0;padding:9px 16px}\n[data-hia-site-navigation] [data-hia-topic-section=\"declaration\"]>.hia-signature{border-radius:0 0 10px 10px;margin:0}\n[data-hia-site-navigation] [data-hia-topic-section=\"declaration\"]>[data-hia-reading-copy]{position:absolute;float:none;right:10px;top:5px}\n[data-hia-reading-lines=\"hide\"] .hia-source-line-number{display:none!important}\n[data-hia-site-navigation] [id]{scroll-margin-top:16px}\n@media(max-width:1150px){[data-hia-site-navigation] .hia-shell{grid-template-columns:210px minmax(0,1fr);gap:28px}.hia-site-toc{display:none}.hia-site-mobile-outline{display:block;border:1px solid var(--hia-border);border-radius:8px;background:var(--hia-surface);margin-bottom:14px}.hia-site-mobile-outline>summary{padding:11px 13px;font-size:.83rem}.hia-site-mobile-outline nav{padding:0 13px 12px}.hia-site-search-trigger kbd{display:none}}\n@media(max-width:800px){[data-hia-site-navigation] .hia-shell{display:block;width:calc(100% - 36px);padding-top:18px}.hia-site-directory{position:static;max-height:none;margin-bottom:14px;border:1px solid var(--hia-border);border-radius:8px;background:var(--hia-surface)}.hia-site-directory>summary{display:block;padding:11px 13px;font-weight:600;font-size:.83rem}.hia-site-directory>summary:before{content:'\u25B8 ';}.hia-site-directory[open]>summary:before{content:'\u25BE ';}[data-hia-site-navigation] .hia-sidebar{padding:13px;border:0;max-height:55dvh;overflow:auto}.hia-site-search-trigger{display:none}[data-hia-site-navigation] .hia-project-topic-header :is(h1,h2){font-size:1.6rem;overflow-wrap:anywhere}.hia-site-source-shell h1{font-size:1.9rem}.hia-site-reading-trigger{padding:5px 8px;min-height:34px;font-size:.72rem}}\n@media(max-width:370px){[data-hia-site-navigation] .hia-shell{width:calc(100% - 32px)}.hia-site-reading-trigger{padding:4px 6px}}\n@media(max-width:800px){.hia-site-source-shell>.hia-site-directory{display:none}.hia-site-source-mobile-directory{display:block;border:1px solid var(--hia-border);border-radius:8px;background:var(--hia-surface);margin-bottom:14px}.hia-site-source-mobile-directory>summary{padding:11px 13px;font-size:.83rem;font-weight:600}.hia-site-source-mobile-directory .hia-sidebar{max-height:none}}\n@media print{[data-hia-site-navigation] .hia-shell{display:block;width:100%;padding:0}.hia-site-directory,.hia-site-toc,.hia-site-mobile-outline,.hia-site-source-mobile-directory,[data-hia-site-navigation] dialog,[data-hia-reading-copy]{display:none!important}[data-hia-site-navigation] .hia-main{width:100%}}\n@media(forced-colors:active){.hia-site-directory,.hia-site-notice,[data-hia-site-navigation] dialog{border:1px solid CanvasText}[data-hia-site-navigation] a{color:LinkText}[data-hia-site-navigation] .hia-site-mark{background:Highlight;color:HighlightText}.hia-source-code-line:target,.hia-source-code-line:has(>.hia-source-line-number:target){outline:2px solid Highlight}}\n";
171
+ //# sourceMappingURL=site-reading.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"site-reading.d.ts","sourceRoot":"","sources":["../src/site-reading.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAEjF;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,2BAA2B,EAAE,MAAM,CAAC,CAAC;IAC1D;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+FxB,CAAC;AAEX;;;;;;;;;;;GAWG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,2BAA2B,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,GAAE,gBAAgB,EAAO,EAAE,YAAY,GAAE,SAAS,MAAM,EAAO,EAAE,iBAAiB,UAAQ,GAAG,MAAM,CAiEtO;AAED;;;;;;;;GAQG;AACH,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,MAAM,OAAO,qBAAqB,KAAK,MAAM,GAAG,MAAM,CAIzG;AAaD;;;GAGG;AACH,eAAO,MAAM,mBAAmB,QAuP1B,CAAC;AAEP;;;GAGG;AACH,eAAO,MAAM,kBAAkB,0obAqE9B,CAAC"}