@anyblock/any-block-core 3.4.6
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.
- package/ABAlias.ts +298 -0
- package/ABConvertEvent.ts +307 -0
- package/ABConvertManager.ts +266 -0
- package/ABSetting.ts +114 -0
- package/LICENSE +661 -0
- package/README.md +162 -0
- package/converter/ABConvert.ts +158 -0
- package/converter/GeneratorDataTable.ts +40 -0
- package/converter/abc_c2list.ts +497 -0
- package/converter/abc_code.ts +93 -0
- package/converter/abc_deco.ts +793 -0
- package/converter/abc_dir_tree.ts +467 -0
- package/converter/abc_echarts.ts +539 -0
- package/converter/abc_ex.ts +112 -0
- package/converter/abc_list.ts +650 -0
- package/converter/abc_markmap.ts +119 -0
- package/converter/abc_mdit_container.ts +161 -0
- package/converter/abc_mermaid.ts +343 -0
- package/converter/abc_plantuml.ts +109 -0
- package/converter/abc_plantuml_tools.ts +236 -0
- package/converter/abc_table.ts +242 -0
- package/converter/abc_text.ts +237 -0
- package/demo.ts +236 -0
- package/index.min.ts +26 -0
- package/index.ts +26 -0
- package/locales/en.ts +88 -0
- package/locales/helper.ts +27 -0
- package/locales/zh-cn.ts +88 -0
- package/package.json +22 -0
- package/setting.ts +0 -0
- package/style/styles.css +1218 -0
- package/style/styles.min.css +1 -0
- package/style/styles.scss +1244 -0
package/locales/zh-cn.ts
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
// commands (utils.ts)
|
|
3
|
+
'any-block-rebuild-view': '刷新/重建当前视图',
|
|
4
|
+
'any-block-rebuild-view-btn': '刷新视图',
|
|
5
|
+
|
|
6
|
+
'any-block-to-codeblock': '将 anyblock 区块转换为代码块格式',
|
|
7
|
+
'any-block-to-codeblock-success': '转换成功! 已生成到 ',
|
|
8
|
+
'any-block-to-codeblock-fail': '转换失败,请检查控制台以获取详细信息',
|
|
9
|
+
|
|
10
|
+
'any-block-delete-ab-header': '删除 AnyBlock 方括号头部',
|
|
11
|
+
'any-block-switch-disable': '切换 AnyBlock 启用/禁用',
|
|
12
|
+
|
|
13
|
+
// setting.ts
|
|
14
|
+
'Mini docs': `mini文档`,
|
|
15
|
+
'see website for detail': `查看
|
|
16
|
+
<a href="https://lincdocs.github.io/AnyBlock/README.show.html">website</a>
|
|
17
|
+
/
|
|
18
|
+
<a href="https://github.com/LincZero/obsidian-any-block">github</a>
|
|
19
|
+
文档以获取更多细节 | 作者: <a href="https://github.com/LincZero">LincZero</a>`,
|
|
20
|
+
'Mini docs menu': `如何可视化创建AnyBlock?`,
|
|
21
|
+
'Mini docs menu2': `推荐使用
|
|
22
|
+
<a href="https://github.com/any-menu/any-menu">AnyMenu</a>
|
|
23
|
+
插件 (同作者开发),以使用菜单面板或搜索框快速输入 AnyBlock 模板`,
|
|
24
|
+
|
|
25
|
+
'Selector manager': '选择器',
|
|
26
|
+
'Selector manager2': '这一部分仅供查询不可编辑',
|
|
27
|
+
|
|
28
|
+
'AliasSystem manager': '别名系统',
|
|
29
|
+
'AliasSystem manager2': '这部分内容可以使用 `[info_alias]` 处理器在主页面中查看',
|
|
30
|
+
'AliasSystem manager3': '这部分也可以打开插件文件夹中的 `data.json` 文件修改',
|
|
31
|
+
'AliasSystem manager4': '添加新的注册指令',
|
|
32
|
+
'AliasSystem manager5': '添加新的注册指令 - 旧版,将弃用',
|
|
33
|
+
|
|
34
|
+
'Convertor manager': '转换器/处理器',
|
|
35
|
+
'Convertor manager2': '这部分内容可以使用 `[info_converter]` 处理器在主页面中查看',
|
|
36
|
+
'Convertor manager3': '这一部分仅供查询不可编辑',
|
|
37
|
+
|
|
38
|
+
'Custom alias': '自定义别名',
|
|
39
|
+
'Custom alias2': '别名匹配规则',
|
|
40
|
+
'Custom alias3': '若用`/`包括起来则表示正则',
|
|
41
|
+
'Custom alias4': '别名替换为',
|
|
42
|
+
'Custom alias5': '暂不开放带参数的替换功能,如多人需要才开放',
|
|
43
|
+
|
|
44
|
+
'Custom processor': '自定义处理器 - 将废弃',
|
|
45
|
+
'Custom processor2': '处理器唯一id',
|
|
46
|
+
'Custom processor3': '不与其他处理器冲突即可',
|
|
47
|
+
'Custom processor4': '注册器名',
|
|
48
|
+
'Custom processor5': '可以随便填,给自己看的',
|
|
49
|
+
'Custom processor6': '注册器匹配名',
|
|
50
|
+
'Custom processor7': '用 `/` 包括起来则表示正则',
|
|
51
|
+
'Custom processor8': '注册器替换为',
|
|
52
|
+
'Custom processor9': '用 `/` 包括起来则表示正则',
|
|
53
|
+
|
|
54
|
+
'Pro': 'Pro',
|
|
55
|
+
'Pro2': 'Pro 版增强选项',
|
|
56
|
+
'Pro disable': '禁用 Pro 版功能',
|
|
57
|
+
'Pro disable2': '(修改后需要重启插件) \
|
|
58
|
+
禁用 Pro 版功能,开启后等同于非 Pro 版功能,便于调试 bug 或功能是否该模块产生的',
|
|
59
|
+
'Pro editableblock render': '可编辑块的默认渲染',
|
|
60
|
+
'Pro editableblock render2': '可编辑块的默认渲染模式',
|
|
61
|
+
'Pro editableblock render21': '- 阅读模式: 需要使用中键进入编辑,中键/Esc/光标外部聚焦完成编辑',
|
|
62
|
+
'Pro editableblock render22': '- 实时模式: 可直接编辑但会更吃性能',
|
|
63
|
+
'Pro editableblock render23': '- 简易文本框: 显示为纯文本,适合子块不包含复杂md的情况',
|
|
64
|
+
'Pro editableblock render24': '- 仅编辑时接管 (开发中): 不修改默认渲染逻辑,仅中键将其修改为可编辑状态',
|
|
65
|
+
'Pro editableblock render3': '阅读模式',
|
|
66
|
+
'Pro editableblock render4': '实时模式',
|
|
67
|
+
'Pro editableblock render5': '简易文本框',
|
|
68
|
+
'Pro alias override': 'Pro 别名覆盖',
|
|
69
|
+
'Pro alias override2': '(重启插件生效) \
|
|
70
|
+
将原处理器行为替换为 pro 对应处理器的行为。若关闭则可编辑版本与原版本分别使用不同的处理器名',
|
|
71
|
+
'Pro callout': 'Callout 选择器',
|
|
72
|
+
'Pro callout2': '使用 Callout 选择器,并启用可编辑 Callout',
|
|
73
|
+
|
|
74
|
+
'License': '许可证',
|
|
75
|
+
'License2': '这是Pro版的许可证,到期时间的显示需要重新打开设置面板来更新\n\
|
|
76
|
+
采用双许可证机制,每次更新都会给一定时长的默认免费许可证 (与用户许可证并存)',
|
|
77
|
+
'License key': '许可证密钥',
|
|
78
|
+
'License Expiry': '许可证到期时间,到期时间的显示需要重新打开设置面板来更新',
|
|
79
|
+
|
|
80
|
+
// General
|
|
81
|
+
'Submit': '提交',
|
|
82
|
+
'Edit': '编辑',
|
|
83
|
+
'Refresh': '刷新',
|
|
84
|
+
'Delete': '删除',
|
|
85
|
+
'Save': '保存',
|
|
86
|
+
'Cancel': '取消',
|
|
87
|
+
'Close': '关闭',
|
|
88
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@anyblock/any-block-core",
|
|
3
|
+
"version": "3.4.6",
|
|
4
|
+
"description": "You can flexibility to create a 'Block' by many means. It also provides many useful features, like `list to table`. (obsidian/markdown-it/vuepress plugin/app)",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
|
+
},
|
|
9
|
+
"author": "LincZero",
|
|
10
|
+
"license": "GNU Affero General Public License v3.0",
|
|
11
|
+
"dependencies": {
|
|
12
|
+
"dompurify": "^3.4.3",
|
|
13
|
+
"luxon": "^3.7.2",
|
|
14
|
+
"markmap-lib": "^0.17.2",
|
|
15
|
+
"plantuml-encoder": "^1.4.0"
|
|
16
|
+
},
|
|
17
|
+
"devDependencies": {
|
|
18
|
+
"@types/luxon": "^3.7.1",
|
|
19
|
+
"@types/plantuml-encoder": "^1.4.2",
|
|
20
|
+
"tslib": "^2.8.1"
|
|
21
|
+
}
|
|
22
|
+
}
|
package/setting.ts
ADDED
|
File without changes
|