@wulechuan/css-stylus-markdown-themes 7.4.2 → 7.5.0
Sign up to get free protection for your applications and to get access to all the features.
- package/ReadMe.md +7 -3
- package/package.json +1 -1
- package//346/272/220/344/273/243/347/240/201//345/217/221/345/270/203/347/232/204/346/272/220/344/273/243/347/240/201//346/234/254/345/267/245/345/205/267/344/275/234/344/270/272/345/205/266/344/273/226-javascript-/345/267/245/345/205/267/344/271/213/344/276/235/350/265/226/346/250/241/345/235/227/346/227/266/347/232/204/344/273/243/347/240/201/index.d.ts +35 -35
package/ReadMe.md
CHANGED
@@ -131,7 +131,7 @@
|
|
131
131
|
|
132
132
|
以程序化之方式调用本工具之方法见下例。
|
133
133
|
|
134
|
-
>
|
134
|
+
> 下例中代码之主体节选自本项目的<br>《`测试集/用于测试本项目之-javascript-接口的测试代码集.js`》。
|
135
135
|
|
136
136
|
```js
|
137
137
|
const {
|
@@ -229,7 +229,7 @@ const 这还是目前唯一的Javascript文件之内容全文 = 获取某一已
|
|
229
229
|
其 TypeScript 类型定义如下:
|
230
230
|
|
231
231
|
```typescript
|
232
|
-
declare type
|
232
|
+
declare type 范_吴乐川用于美化文章的层叠样式表集_文件简易描述项 = {
|
233
233
|
文件名称: string;
|
234
234
|
文件之相对路径: string;
|
235
235
|
文件之绝对路径: string;
|
@@ -264,7 +264,7 @@ declare type 吴乐川用于美化文章的层叠样式表集之数据类型之
|
|
264
264
|
上述【配置项集】之 TypeScript 类型定义如下:
|
265
265
|
|
266
266
|
```typescript
|
267
|
-
declare type
|
267
|
+
declare type 范_吴乐川用于美化文章的层叠样式表集_拾取默认Javascript文件之函数之第二参数 = {
|
268
268
|
/**
|
269
269
|
* 注意:
|
270
270
|
* 【展开文章纲要列表面板】与【展开文章纲要列表的某一条目】不是一回事。
|
@@ -283,6 +283,10 @@ declare type 吴乐川用于美化文章的层叠样式表集之数据类型之
|
|
283
283
|
```
|
284
284
|
|
285
285
|
|
286
|
+
#### 接口重大变更记录
|
287
|
+
|
288
|
+
- 2022 年 04 月 27 日,本工具之版本从 `v7.4.2` 升迁至 `v7.5.0` 时, JavaScript 代码没有任何变动。**但针对 TypeScript 的类型定义全部更名。** 由原来的以“`类型定义之`”开头,统一变更为以“`范_`”开头。故而有此版本变动。
|
289
|
+
|
286
290
|
-----
|
287
291
|
|
288
292
|
|
package/package.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"name": "@wulechuan/css-stylus-markdown-themes",
|
3
3
|
"author": "吴乐川 <wulechuan@live.com>",
|
4
4
|
"license": "WTFPL",
|
5
|
-
"version": "7.
|
5
|
+
"version": "7.5.0",
|
6
6
|
"description": "此为吴乐川的《HTML 文章排版与配色之方案集与相关制作工具》。本工具可用于构建一组层叠样式表(即 CSS )文件,本工具亦提供了一组现成的层叠样式表文件。凡这些样式表,均可用于美化采用超文本标记语言(即 HTML )格式存储的文章。且不必同时取用多个样式表文件,仅取其一足矣。",
|
7
7
|
"directories": {
|
8
8
|
"source": "源代码/原始的源代码",
|
@@ -1,8 +1,8 @@
|
|
1
|
-
declare const
|
2
|
-
export =
|
1
|
+
declare const _本工具默认导出之内容_临时名称: _本工具默认导出之内容_临时名称.范_本模块之总接口;
|
2
|
+
export = _本工具默认导出之内容_临时名称;
|
3
3
|
|
4
|
-
declare namespace
|
5
|
-
export type
|
4
|
+
declare namespace _本工具默认导出之内容_临时名称 {
|
5
|
+
export type 范_内建之层叠样式表文件之名称之凡不含文章目录者 = (
|
6
6
|
| 'wulechuan-styles-for-html-via-markdown--typora.default.css'
|
7
7
|
| 'wulechuan-styles-for-html-via-markdown--vscode.default.min.css'
|
8
8
|
|
@@ -20,7 +20,7 @@ declare namespace 默认导出之内容 {
|
|
20
20
|
| 'wulechuan-styles-for-html-via-markdown.generic-default-light--atom-one-dark--wrapped--no-toc.min.css'
|
21
21
|
)
|
22
22
|
|
23
|
-
export type
|
23
|
+
export type 范_内建之层叠样式表文件之名称之凡含有文章目录者 = (
|
24
24
|
| 'wulechuan-styles-for-html-via-markdown--firefox-addon.default.css'
|
25
25
|
|
26
26
|
| 'wulechuan-styles-for-html-via-markdown.default--with-toc.css'
|
@@ -37,33 +37,33 @@ declare namespace 默认导出之内容 {
|
|
37
37
|
| 'wulechuan-styles-for-html-via-markdown.generic-default-light--atom-one-dark--wrapped--with-toc.min.css'
|
38
38
|
)
|
39
39
|
|
40
|
-
export type
|
41
|
-
|
|
42
|
-
|
|
40
|
+
export type 范_内建之层叠样式表文件之名称 = (
|
41
|
+
| 范_内建之层叠样式表文件之名称之凡不含文章目录者
|
42
|
+
| 范_内建之层叠样式表文件之名称之凡含有文章目录者
|
43
43
|
);
|
44
44
|
|
45
|
-
export type
|
46
|
-
文件名称:
|
45
|
+
export type 范_文件简易描述项 = {
|
46
|
+
文件名称: 范_内建之层叠样式表文件之名称;
|
47
47
|
文件之相对路径: string;
|
48
48
|
文件之绝对路径: string;
|
49
49
|
文件内容全文: string;
|
50
50
|
} & {
|
51
51
|
// 以下为陈旧的采用外国字命名之诸接口。
|
52
52
|
|
53
|
-
fileName:
|
53
|
+
fileName: 范_内建之层叠样式表文件之名称;
|
54
54
|
fileRelativePath: string;
|
55
55
|
fileAbsolutePath: string;
|
56
56
|
fileContent: string;
|
57
57
|
};
|
58
58
|
|
59
|
-
// export type
|
60
|
-
// [文件名称: string]:
|
59
|
+
// export type 范_文件简易描述项字典 = {
|
60
|
+
// [文件名称: string]: 范_文件简易描述项;
|
61
61
|
// };
|
62
|
-
export type
|
63
|
-
|
62
|
+
export type 范_文件简易描述项字典 = Record<
|
63
|
+
范_内建之层叠样式表文件之名称, 范_文件简易描述项
|
64
64
|
>;
|
65
65
|
|
66
|
-
export type
|
66
|
+
export type 范_定制默认Javascript文件之选项集 = {
|
67
67
|
/**
|
68
68
|
* 注意:
|
69
69
|
* 【展开文章纲要列表面板】与【展开文章纲要列表的某一条目】不是一回事。
|
@@ -84,46 +84,46 @@ declare namespace 默认导出之内容 {
|
|
84
84
|
|
85
85
|
|
86
86
|
|
87
|
-
export type
|
88
|
-
文件描述项或文件名称:
|
87
|
+
export type 范_获取某特定文件之完整内容字符串之函数 = (
|
88
|
+
文件描述项或文件名称: 范_文件简易描述项 | 范_文件简易描述项['文件名称'],
|
89
89
|
不应采用已经缓存的旧内容?: boolean,
|
90
90
|
|
91
91
|
// 实际上目前仅包含针对 JavaScript 内容定制之选项。对层叠样式表之内容无任何作用。
|
92
|
-
配置项集?:
|
92
|
+
配置项集?: 范_定制默认Javascript文件之选项集
|
93
93
|
) => string;
|
94
94
|
|
95
|
-
export type
|
95
|
+
export type 范_获取所谓默认层叠样式表文件之完整内容字符串之函数 = (
|
96
96
|
不应采用已经缓存的旧内容?: boolean
|
97
97
|
) => string;
|
98
98
|
|
99
|
-
export type
|
99
|
+
export type 范_获取所谓默认Javacript文件之完整内容字符串之函数 = (
|
100
100
|
不应采用已经缓存的旧内容?: boolean,
|
101
|
-
本函数之配置项集?:
|
101
|
+
本函数之配置项集?: 范_定制默认Javascript文件之选项集
|
102
102
|
) => string;
|
103
103
|
|
104
104
|
|
105
105
|
|
106
106
|
|
107
107
|
|
108
|
-
export type 本模块之总接口 = {
|
109
|
-
所有层叠样式表文件之简易描述项之集: Array
|
110
|
-
所有Javascript文件之简易描述项之集: Array
|
108
|
+
export type 范_本模块之总接口 = {
|
109
|
+
所有层叠样式表文件之简易描述项之集: Array<范_文件简易描述项>;
|
110
|
+
所有Javascript文件之简易描述项之集: Array<范_文件简易描述项>;
|
111
111
|
|
112
|
-
以文件名称为索引之所有文件简易描述项之字典:
|
112
|
+
以文件名称为索引之所有文件简易描述项之字典: 范_文件简易描述项字典;
|
113
113
|
|
114
|
-
获取某一已发布之文件之完整内容字符串:
|
115
|
-
获取本项目官方选定之所谓默认层叠样式表之完整内容字符串:
|
116
|
-
获取本项目官方选定之所谓默认Javascript之完整内容字符串:
|
114
|
+
获取某一已发布之文件之完整内容字符串: 范_获取某特定文件之完整内容字符串之函数;
|
115
|
+
获取本项目官方选定之所谓默认层叠样式表之完整内容字符串: 范_获取所谓默认层叠样式表文件之完整内容字符串之函数;
|
116
|
+
获取本项目官方选定之所谓默认Javascript之完整内容字符串: 范_获取所谓默认Javacript文件之完整内容字符串之函数;
|
117
117
|
} & {
|
118
118
|
// 以下为陈旧的采用外国字命名之诸接口。
|
119
119
|
|
120
|
-
cssFileEntries: Array
|
121
|
-
jsFileEntries: Array
|
120
|
+
cssFileEntries: Array<范_文件简易描述项>;
|
121
|
+
jsFileEntries: Array<范_文件简易描述项>;
|
122
122
|
|
123
|
-
allFileEntriesKeyingByFileNames:
|
123
|
+
allFileEntriesKeyingByFileNames: 范_文件简易描述项字典;
|
124
124
|
|
125
|
-
syncGetContentStringOfOneFileEntry:
|
126
|
-
syncGetContentStringOfDefaultCSS:
|
127
|
-
syncGetContentStringOfDefaultTOCJavascript:
|
125
|
+
syncGetContentStringOfOneFileEntry: 范_获取某特定文件之完整内容字符串之函数;
|
126
|
+
syncGetContentStringOfDefaultCSS: 范_获取所谓默认层叠样式表文件之完整内容字符串之函数;
|
127
|
+
syncGetContentStringOfDefaultTOCJavascript: 范_获取所谓默认Javacript文件之完整内容字符串之函数;
|
128
128
|
};
|
129
129
|
}
|