feat: v3.0.2
This commit is contained in:
parent
01ca66ef8c
commit
7ed2b5199e
|
@ -4,4 +4,6 @@ src_import_version
|
|||
# package-lock.json
|
||||
vuepress/.vuepress/secret.js
|
||||
helper/local
|
||||
coverage
|
||||
coverage
|
||||
npm
|
||||
npm2
|
138
README.md
138
README.md
|
@ -44,75 +44,75 @@
|
|||
|
||||
<!-- toc -->
|
||||
|
||||
- [前言](#前言)
|
||||
- [0.快速使用](#0快速使用)
|
||||
- [1.功能](#1功能)
|
||||
- [2.概览](#2概览)
|
||||
- [3.安装](#3安装)
|
||||
- [3.1 使用 npm 安装](#31-使用-npm-安装)
|
||||
- [3.2 cdn 引入](#32-cdn-引入)
|
||||
- [4.使用](#4使用)
|
||||
- [4.1 webpack浏览器环境(有window对象)](#41-webpack浏览器环境有window对象)
|
||||
- [4.2 nodejs 等非浏览器环境](#42-nodejs-等非浏览器环境)
|
||||
- [4.3 原生浏览器环境](#43-原生浏览器环境)
|
||||
- [前言](#%E5%89%8D%E8%A8%80)
|
||||
- [0.快速使用](#0%E5%BF%AB%E9%80%9F%E4%BD%BF%E7%94%A8)
|
||||
- [1.功能](#1%E5%8A%9F%E8%83%BD)
|
||||
- [2.概览](#2%E6%A6%82%E8%A7%88)
|
||||
- [3.安装](#3%E5%AE%89%E8%A3%85)
|
||||
* [3.1 使用 npm 安装](#31-%E4%BD%BF%E7%94%A8-npm-%E5%AE%89%E8%A3%85)
|
||||
* [3.2 cdn 引入](#32-cdn-%E5%BC%95%E5%85%A5)
|
||||
- [4.使用](#4%E4%BD%BF%E7%94%A8)
|
||||
* [4.1 webpack浏览器环境(有window对象)](#41-webpack%E6%B5%8F%E8%A7%88%E5%99%A8%E7%8E%AF%E5%A2%83%E6%9C%89window%E5%AF%B9%E8%B1%A1)
|
||||
* [4.2 nodejs 等非浏览器环境](#42-nodejs-%E7%AD%89%E9%9D%9E%E6%B5%8F%E8%A7%88%E5%99%A8%E7%8E%AF%E5%A2%83)
|
||||
* [4.3 原生浏览器环境](#43-%E5%8E%9F%E7%94%9F%E6%B5%8F%E8%A7%88%E5%99%A8%E7%8E%AF%E5%A2%83)
|
||||
- [5.API](#5api)
|
||||
- [5.1 拼音笔画基础 API: spell & stroke](#51-拼音笔画基础-api-spell--stroke)
|
||||
- [5.2 可视化绘制汉字: draw](#52-可视化绘制汉字-draw)
|
||||
- [5.2.1 使用](#521-使用)
|
||||
- [5.2.2 参数](#522-参数)
|
||||
- [5.2.3 微信小程序中使用](#523-微信小程序中使用)
|
||||
- [5.3 繁体、简体、火星文互转: convert](#53-繁体简体火星文互转-convert)
|
||||
- [5.4 笔画序列推出原汉字: orderToWord](#54-笔画序列推出原汉字-ordertoword)
|
||||
- [5.5 通过拼音查询原汉字: spellToWord](#55-通过拼音查询原汉字-spelltoword)
|
||||
- [5.6 通过笔画数查询原汉字: strokeToWord](#56-通过笔画数查询原汉字-stroketoword)
|
||||
- [5.7 成语功能](#57-成语功能)
|
||||
- [5.8 歇后语功能](#58-歇后语功能)
|
||||
- [5.9 偏旁部首功能](#59-偏旁部首功能)
|
||||
- [5.10 汉字、拼音工具方法](#510-汉字拼音工具方法)
|
||||
- [5.10.1 查询拼音详细信息: spellInfo](#5101-查询拼音详细信息-spellinfo)
|
||||
- [5.10.2 拼音音调操作: transformTone](#5102-拼音音调操作-transformtone)
|
||||
- [5.10.3 是否是汉字: isCnChar](#5103-是否是汉字-iscnchar)
|
||||
- [5.10.4 是否是多音字: isPolyWord](#5104-是否是多音字-ispolyword)
|
||||
- [5.10.5 比较拼音(汉字)大小: compareSpell](#5105-比较拼音汉字大小-comparespell)
|
||||
- [5.10.6 比较汉字笔画数大小: compareStroke](#5106-比较汉字笔画数大小-comparestroke)
|
||||
- [5.10.7 根据拼音排序: sortSpell](#5107-根据拼音排序-sortspell)
|
||||
- [5.10.8 根据笔画数排序: sortStroke](#5108-根据笔画数排序-sortstroke)
|
||||
- [5.10.9 将数字表示的声调转为拼音声调: shapeSpell](#5109-将数字表示的声调转为拼音声调-shapespell)
|
||||
- [5.11 自定义数据](#511-自定义数据)
|
||||
- [5.11.1 setSpell](#5111-setspell)
|
||||
- [5.11.2 setSpellDefault](#5112-setspelldefault)
|
||||
- [5.11.3 setStrokeCount](#5113-setstrokecount)
|
||||
- [5.11.4 setPolyPhrase](#5114-setpolyphrase)
|
||||
- [5.11.5 setOrder](#5115-setorder)
|
||||
- [5.11.6 setRadical](#5116-setradical)
|
||||
- [5.11.7 addXhy](#5117-addxhy)
|
||||
- [5.12 其他 api](#512-其他-api)
|
||||
- [5.12.1 .use()](#5121-use)
|
||||
- [5.12.2 .type](#5122-type)
|
||||
- [5.12.3 .check](#5123-check)
|
||||
- [5.12.4 .version](#5124-version)
|
||||
- [5.12.5 .plugins](#5125-plugins)
|
||||
- [6.参数介绍](#6参数介绍)
|
||||
- [6.1 spell 参数](#61-spell-参数)
|
||||
- [6.2 stroke 参数](#62-stroke-参数)
|
||||
- [6.3 orderToWord 参数](#63-ordertoword-参数)
|
||||
- [6.4 spellToWord 参数](#64-spelltoword-参数)
|
||||
- [6.5 strokeToWord 参数](#65-stroketoword-参数)
|
||||
- [6.6 idiom 参数](#66-idiom-参数)
|
||||
- [6.7 xhy 参数](#67-xhy-参数)
|
||||
- [6.8 radical 参数](#68-radical-参数)
|
||||
- [6.9 使用实例大全:](#69-使用实例大全)
|
||||
- [6.9.0 安装使用](#690-安装使用)
|
||||
- [6.9.1 cnchar 基础库功能](#691-cnchar-基础库功能)
|
||||
- [6.9.2 cnchar-poly 库功能](#692-cnchar-poly-库功能)
|
||||
- [6.9.3 cnchar-order 库功能](#693-cnchar-order-库功能)
|
||||
- [6.9.4 cnchar-trad 库功能](#694-cnchar-trad-库功能)
|
||||
- [6.9.4.1 convert 字体转换](#6941-convert-字体转换)
|
||||
- [6.9.4.2 spell 和 stroke 方法](#6942-spell-和-stroke-方法)
|
||||
- [6.9.5 cnchar-idiom 库功能](#695-cnchar-idiom-库功能)
|
||||
- [6.9.6 cnchar-xhy 库功能](#696-cnchar-xhy-库功能)
|
||||
- [6.9.7 cnchar-radical 库功能](#697-cnchar-radical-库功能)
|
||||
- [6.9.8 工具方法](#698-工具方法)
|
||||
* [5.1 拼音笔画基础 API: spell & stroke](#51-%E6%8B%BC%E9%9F%B3%E7%AC%94%E7%94%BB%E5%9F%BA%E7%A1%80-api-spell--stroke)
|
||||
* [5.2 可视化绘制汉字: draw](#52-%E5%8F%AF%E8%A7%86%E5%8C%96%E7%BB%98%E5%88%B6%E6%B1%89%E5%AD%97-draw)
|
||||
+ [5.2.1 使用](#521-%E4%BD%BF%E7%94%A8)
|
||||
+ [5.2.2 参数](#522-%E5%8F%82%E6%95%B0)
|
||||
+ [5.2.3 微信小程序中使用](#523-%E5%BE%AE%E4%BF%A1%E5%B0%8F%E7%A8%8B%E5%BA%8F%E4%B8%AD%E4%BD%BF%E7%94%A8)
|
||||
* [5.3 繁体、简体、火星文互转: convert](#53-%E7%B9%81%E4%BD%93%E7%AE%80%E4%BD%93%E7%81%AB%E6%98%9F%E6%96%87%E4%BA%92%E8%BD%AC-convert)
|
||||
* [5.4 笔画序列推出原汉字: orderToWord](#54-%E7%AC%94%E7%94%BB%E5%BA%8F%E5%88%97%E6%8E%A8%E5%87%BA%E5%8E%9F%E6%B1%89%E5%AD%97-ordertoword)
|
||||
* [5.5 通过拼音查询原汉字: spellToWord](#55-%E9%80%9A%E8%BF%87%E6%8B%BC%E9%9F%B3%E6%9F%A5%E8%AF%A2%E5%8E%9F%E6%B1%89%E5%AD%97-spelltoword)
|
||||
* [5.6 通过笔画数查询原汉字: strokeToWord](#56-%E9%80%9A%E8%BF%87%E7%AC%94%E7%94%BB%E6%95%B0%E6%9F%A5%E8%AF%A2%E5%8E%9F%E6%B1%89%E5%AD%97-stroketoword)
|
||||
* [5.7 成语功能](#57-%E6%88%90%E8%AF%AD%E5%8A%9F%E8%83%BD)
|
||||
* [5.8 歇后语功能](#58-%E6%AD%87%E5%90%8E%E8%AF%AD%E5%8A%9F%E8%83%BD)
|
||||
* [5.9 偏旁部首功能](#59-%E5%81%8F%E6%97%81%E9%83%A8%E9%A6%96%E5%8A%9F%E8%83%BD)
|
||||
* [5.10 汉字、拼音工具方法](#510-%E6%B1%89%E5%AD%97%E6%8B%BC%E9%9F%B3%E5%B7%A5%E5%85%B7%E6%96%B9%E6%B3%95)
|
||||
+ [5.10.1 查询拼音详细信息: spellInfo](#5101-%E6%9F%A5%E8%AF%A2%E6%8B%BC%E9%9F%B3%E8%AF%A6%E7%BB%86%E4%BF%A1%E6%81%AF-spellinfo)
|
||||
+ [5.10.2 拼音音调操作: transformTone](#5102-%E6%8B%BC%E9%9F%B3%E9%9F%B3%E8%B0%83%E6%93%8D%E4%BD%9C-transformtone)
|
||||
+ [5.10.3 是否是汉字: isCnChar](#5103-%E6%98%AF%E5%90%A6%E6%98%AF%E6%B1%89%E5%AD%97-iscnchar)
|
||||
+ [5.10.4 是否是多音字: isPolyWord](#5104-%E6%98%AF%E5%90%A6%E6%98%AF%E5%A4%9A%E9%9F%B3%E5%AD%97-ispolyword)
|
||||
+ [5.10.5 比较拼音(汉字)大小: compareSpell](#5105-%E6%AF%94%E8%BE%83%E6%8B%BC%E9%9F%B3%E6%B1%89%E5%AD%97%E5%A4%A7%E5%B0%8F-comparespell)
|
||||
+ [5.10.6 比较汉字笔画数大小: compareStroke](#5106-%E6%AF%94%E8%BE%83%E6%B1%89%E5%AD%97%E7%AC%94%E7%94%BB%E6%95%B0%E5%A4%A7%E5%B0%8F-comparestroke)
|
||||
+ [5.10.7 根据拼音排序: sortSpell](#5107-%E6%A0%B9%E6%8D%AE%E6%8B%BC%E9%9F%B3%E6%8E%92%E5%BA%8F-sortspell)
|
||||
+ [5.10.8 根据笔画数排序: sortStroke](#5108-%E6%A0%B9%E6%8D%AE%E7%AC%94%E7%94%BB%E6%95%B0%E6%8E%92%E5%BA%8F-sortstroke)
|
||||
+ [5.10.9 将数字表示的声调转为拼音声调: shapeSpell](#5109-%E5%B0%86%E6%95%B0%E5%AD%97%E8%A1%A8%E7%A4%BA%E7%9A%84%E5%A3%B0%E8%B0%83%E8%BD%AC%E4%B8%BA%E6%8B%BC%E9%9F%B3%E5%A3%B0%E8%B0%83-shapespell)
|
||||
* [5.11 自定义数据](#511-%E8%87%AA%E5%AE%9A%E4%B9%89%E6%95%B0%E6%8D%AE)
|
||||
+ [5.11.1 setSpell](#5111-setspell)
|
||||
+ [5.11.2 setSpellDefault](#5112-setspelldefault)
|
||||
+ [5.11.3 setStrokeCount](#5113-setstrokecount)
|
||||
+ [5.11.4 setPolyPhrase](#5114-setpolyphrase)
|
||||
+ [5.11.5 setOrder](#5115-setorder)
|
||||
+ [5.11.6 setRadical](#5116-setradical)
|
||||
+ [5.11.7 addXhy](#5117-addxhy)
|
||||
* [5.12 其他 api](#512-%E5%85%B6%E4%BB%96-api)
|
||||
+ [5.12.1 .use()](#5121-use)
|
||||
+ [5.12.2 .type](#5122-type)
|
||||
+ [5.12.3 .check](#5123-check)
|
||||
+ [5.12.4 .version](#5124-version)
|
||||
+ [5.12.5 .plugins](#5125-plugins)
|
||||
- [6.参数介绍](#6%E5%8F%82%E6%95%B0%E4%BB%8B%E7%BB%8D)
|
||||
* [6.1 spell 参数](#61-spell-%E5%8F%82%E6%95%B0)
|
||||
* [6.2 stroke 参数](#62-stroke-%E5%8F%82%E6%95%B0)
|
||||
* [6.3 orderToWord 参数](#63-ordertoword-%E5%8F%82%E6%95%B0)
|
||||
* [6.4 spellToWord 参数](#64-spelltoword-%E5%8F%82%E6%95%B0)
|
||||
* [6.5 strokeToWord 参数](#65-stroketoword-%E5%8F%82%E6%95%B0)
|
||||
* [6.6 idiom 参数](#66-idiom-%E5%8F%82%E6%95%B0)
|
||||
* [6.7 xhy 参数](#67-xhy-%E5%8F%82%E6%95%B0)
|
||||
* [6.8 radical 参数](#68-radical-%E5%8F%82%E6%95%B0)
|
||||
* [6.9 使用实例大全:](#69-%E4%BD%BF%E7%94%A8%E5%AE%9E%E4%BE%8B%E5%A4%A7%E5%85%A8)
|
||||
+ [6.9.0 安装使用](#690-%E5%AE%89%E8%A3%85%E4%BD%BF%E7%94%A8)
|
||||
+ [6.9.1 cnchar 基础库功能](#691-cnchar-%E5%9F%BA%E7%A1%80%E5%BA%93%E5%8A%9F%E8%83%BD)
|
||||
+ [6.9.2 cnchar-poly 库功能](#692-cnchar-poly-%E5%BA%93%E5%8A%9F%E8%83%BD)
|
||||
+ [6.9.3 cnchar-order 库功能](#693-cnchar-order-%E5%BA%93%E5%8A%9F%E8%83%BD)
|
||||
+ [6.9.4 cnchar-trad 库功能](#694-cnchar-trad-%E5%BA%93%E5%8A%9F%E8%83%BD)
|
||||
- [6.9.4.1 convert 字体转换](#6941-convert-%E5%AD%97%E4%BD%93%E8%BD%AC%E6%8D%A2)
|
||||
- [6.9.4.2 spell 和 stroke 方法](#6942-spell-%E5%92%8C-stroke-%E6%96%B9%E6%B3%95)
|
||||
+ [6.9.5 cnchar-idiom 库功能](#695-cnchar-idiom-%E5%BA%93%E5%8A%9F%E8%83%BD)
|
||||
+ [6.9.6 cnchar-xhy 库功能](#696-cnchar-xhy-%E5%BA%93%E5%8A%9F%E8%83%BD)
|
||||
+ [6.9.7 cnchar-radical 库功能](#697-cnchar-radical-%E5%BA%93%E5%8A%9F%E8%83%BD)
|
||||
+ [6.9.8 工具方法](#698-%E5%B7%A5%E5%85%B7%E6%96%B9%E6%B3%95)
|
||||
- [6.9.8.1 spellInfo](#6981-spellinfo)
|
||||
- [6.9.8.2 isCnChar](#6982-iscnchar)
|
||||
- [6.9.8.3 transformTone](#6983-transformtone)
|
||||
|
@ -129,7 +129,7 @@
|
|||
- [6.9.8.14 setPolyPhrase](#69814-setpolyphrase)
|
||||
- [6.9.8.15 setRadical](#69815-setradical)
|
||||
- [6.9.8.16 addXhy](#69816-addxhy)
|
||||
- [7.应用例子](#7应用例子)
|
||||
- [7.应用例子](#7%E5%BA%94%E7%94%A8%E4%BE%8B%E5%AD%90)
|
||||
|
||||
<!-- tocstop -->
|
||||
|
||||
|
|
|
@ -131,4 +131,13 @@
|
|||
3. 增加 重来 词组
|
||||
|
||||
## 3.0.1
|
||||
1. 打包配置修改 tsconfig.json
|
||||
1. 打包配置修改 tsconfig.json
|
||||
|
||||
## 3.0.2
|
||||
1. 修正 归 字默认读音
|
||||
2. 宝盖头 的第二笔名称由 撇点 修改为 点2
|
||||
3. 增加 order 方法detail 返回 letter属性
|
||||
4. 增加 难民 逃难 多音词
|
||||
5. 修改一些笔画foldCount和type错误
|
||||
6. 增加单元测试
|
||||
7. 代码仓库移除npm文件夹
|
|
@ -1,11 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
</head>
|
||||
<body>
|
||||
<script src="./packages/cnchar/cnchar.min.js"></script>
|
||||
</body>
|
||||
</html>
|
|
@ -1,11 +0,0 @@
|
|||
{
|
||||
"name": "cnchar-npm",
|
||||
"version": "2.2.8-beta3",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
"cnchar-types": {
|
||||
"version": "2.2.8-beta3"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,32 +0,0 @@
|
|||
{
|
||||
"name": "cnchar-npm",
|
||||
"version": "2.2.8-beta3",
|
||||
"description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文",
|
||||
"main": "cnchar.min.js",
|
||||
"scripts": {},
|
||||
"unpkg": "cnchar.min.js",
|
||||
"jsdelivr": "cnchar.min.js",
|
||||
"typings": "index.d.ts",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/theajack/cnchar.git"
|
||||
},
|
||||
"keywords": [
|
||||
"汉字拼音",
|
||||
"汉字笔画数",
|
||||
"汉字笔画顺序",
|
||||
"繁体字",
|
||||
"火星文",
|
||||
"js库",
|
||||
"theajack"
|
||||
],
|
||||
"author": "theajack",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/theajack/cnchar/issues"
|
||||
},
|
||||
"homepage": "https://www.theajack.com/cnchar/",
|
||||
"dependencies": {
|
||||
"cnchar-types": "2.2.8-beta3"
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2017 - present theajack <contact@theajack.com>
|
||||
|
||||
All rights reserved.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -1,5 +0,0 @@
|
|||
import {ICnChar} from 'cnchar-types/main/index';
|
||||
|
||||
declare const cnchar: ICnChar;
|
||||
|
||||
export default cnchar;
|
|
@ -1,32 +0,0 @@
|
|||
{
|
||||
"name": "cnchar-all",
|
||||
"version": "3.0.1",
|
||||
"description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文",
|
||||
"main": "cnchar.all.min.js",
|
||||
"unpkg": "cnchar.all.min.js",
|
||||
"jsdelivr": "cnchar.all.min.js",
|
||||
"typings": "index.d.ts",
|
||||
"scripts": {},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/theajack/cnchar.git"
|
||||
},
|
||||
"keywords": [
|
||||
"汉字拼音",
|
||||
"汉字笔画数",
|
||||
"汉字笔画顺序",
|
||||
"繁体字",
|
||||
"火星文",
|
||||
"js库",
|
||||
"theajack"
|
||||
],
|
||||
"author": "theajack",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/theajack/cnchar/issues"
|
||||
},
|
||||
"homepage": "https://www.theajack.com/cnchar/",
|
||||
"dependencies": {
|
||||
"cnchar-types": "^3.0.1"
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2017 - present theajack <contact@theajack.com>
|
||||
|
||||
All rights reserved.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -1,5 +0,0 @@
|
|||
import {ICnChar} from 'cnchar-types/main/index';
|
||||
|
||||
declare const cnchar: ICnChar;
|
||||
|
||||
export default cnchar;
|
|
@ -1,32 +0,0 @@
|
|||
{
|
||||
"name": "cnchar",
|
||||
"version": "3.0.1",
|
||||
"description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文",
|
||||
"main": "cnchar.min.js",
|
||||
"scripts": {},
|
||||
"unpkg": "cnchar.min.js",
|
||||
"jsdelivr": "cnchar.min.js",
|
||||
"typings": "index.d.ts",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/theajack/cnchar.git"
|
||||
},
|
||||
"keywords": [
|
||||
"汉字拼音",
|
||||
"汉字笔画数",
|
||||
"汉字笔画顺序",
|
||||
"繁体字",
|
||||
"火星文",
|
||||
"js库",
|
||||
"theajack"
|
||||
],
|
||||
"author": "theajack",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/theajack/cnchar/issues"
|
||||
},
|
||||
"homepage": "https://www.theajack.com/cnchar/",
|
||||
"dependencies": {
|
||||
"cnchar-types": "^3.0.1"
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2017 - present theajack <contact@theajack.com>
|
||||
|
||||
All rights reserved.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -1,5 +0,0 @@
|
|||
import {IDraw} from 'cnchar-types/plugin/draw/common';
|
||||
|
||||
declare const draw: IDraw;
|
||||
|
||||
export default draw;
|
|
@ -1,32 +0,0 @@
|
|||
{
|
||||
"name": "cnchar-draw",
|
||||
"version": "3.0.1",
|
||||
"description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文",
|
||||
"main": "cnchar.draw.min.js",
|
||||
"unpkg": "cnchar.draw.min.js",
|
||||
"jsdelivr": "cnchar.draw.min.js",
|
||||
"typings": "index.d.ts",
|
||||
"scripts": {},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/theajack/cnchar.git"
|
||||
},
|
||||
"keywords": [
|
||||
"汉字拼音",
|
||||
"汉字笔画数",
|
||||
"汉字笔画顺序",
|
||||
"繁体字",
|
||||
"火星文",
|
||||
"js库",
|
||||
"theajack"
|
||||
],
|
||||
"author": "theajack",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/theajack/cnchar/issues"
|
||||
},
|
||||
"homepage": "https://www.theajack.com/cnchar/",
|
||||
"dependencies": {
|
||||
"cnchar-types": "^3.0.1"
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2017 - present theajack <contact@theajack.com>
|
||||
|
||||
All rights reserved.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -1,5 +0,0 @@
|
|||
import {ICnChar} from 'cnchar-types/main/index';
|
||||
|
||||
declare const cnchar: ICnChar;
|
||||
|
||||
export default cnchar;
|
|
@ -1,32 +0,0 @@
|
|||
{
|
||||
"name": "hanzi-util-base",
|
||||
"version": "3.0.1",
|
||||
"description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文",
|
||||
"main": "hanzi.base.min.js",
|
||||
"unpkg": "hanzi.base.min.js",
|
||||
"jsdelivr": "hanzi.base.min.js",
|
||||
"typings": "index.d.ts",
|
||||
"scripts": {},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/theajack/cnchar.git"
|
||||
},
|
||||
"keywords": [
|
||||
"汉字拼音",
|
||||
"汉字笔画数",
|
||||
"汉字笔画顺序",
|
||||
"繁体字",
|
||||
"火星文",
|
||||
"js库",
|
||||
"theajack"
|
||||
],
|
||||
"author": "theajack",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/theajack/cnchar/issues"
|
||||
},
|
||||
"homepage": "https://www.theajack.com/cnchar/",
|
||||
"dependencies": {
|
||||
"cnchar-types": "^3.0.1"
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2017 - present theajack <contact@theajack.com>
|
||||
|
||||
All rights reserved.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -1,5 +0,0 @@
|
|||
import {ICnChar} from 'cnchar-types/main/index';
|
||||
|
||||
declare const cnchar: ICnChar;
|
||||
|
||||
export default cnchar;
|
|
@ -1,32 +0,0 @@
|
|||
{
|
||||
"name": "hanzi-util",
|
||||
"version": "3.0.1",
|
||||
"description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文",
|
||||
"main": "hanzi.util.min.js",
|
||||
"unpkg": "hanzi.util.min.js",
|
||||
"jsdelivr": "hanzi.util.min.js",
|
||||
"typings": "index.d.ts",
|
||||
"scripts": {},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/theajack/cnchar.git"
|
||||
},
|
||||
"keywords": [
|
||||
"汉字拼音",
|
||||
"汉字笔画数",
|
||||
"汉字笔画顺序",
|
||||
"繁体字",
|
||||
"火星文",
|
||||
"js库",
|
||||
"theajack"
|
||||
],
|
||||
"author": "theajack",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/theajack/cnchar/issues"
|
||||
},
|
||||
"homepage": "https://www.theajack.com/cnchar/",
|
||||
"dependencies": {
|
||||
"cnchar-types": "^3.0.1"
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2017 - present theajack <contact@theajack.com>
|
||||
|
||||
All rights reserved.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -1,4 +0,0 @@
|
|||
import {IIdiom} from 'cnchar-types/plugin/idiom';
|
||||
declare const idiom: IIdiom;
|
||||
|
||||
export default idiom;
|
|
@ -1,32 +0,0 @@
|
|||
{
|
||||
"name": "cnchar-idiom",
|
||||
"version": "3.0.1",
|
||||
"description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文",
|
||||
"main": "cnchar.idiom.min.js",
|
||||
"unpkg": "cnchar.idiom.min.js",
|
||||
"jsdelivr": "cnchar.idiom.min.js",
|
||||
"typings": "index.d.ts",
|
||||
"scripts": {},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/theajack/cnchar.git"
|
||||
},
|
||||
"keywords": [
|
||||
"汉字拼音",
|
||||
"汉字笔画数",
|
||||
"汉字笔画顺序",
|
||||
"繁体字",
|
||||
"火星文",
|
||||
"js库",
|
||||
"theajack"
|
||||
],
|
||||
"author": "theajack",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/theajack/cnchar/issues"
|
||||
},
|
||||
"homepage": "https://www.theajack.com/cnchar/",
|
||||
"dependencies": {
|
||||
"cnchar-types": "^3.0.1"
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2017 - present theajack <contact@theajack.com>
|
||||
|
||||
All rights reserved.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -1,5 +0,0 @@
|
|||
import {IInitOrder} from 'cnchar-types/plugin/order';
|
||||
|
||||
declare const order: IInitOrder;
|
||||
|
||||
export default order;
|
|
@ -1,32 +0,0 @@
|
|||
{
|
||||
"name": "cnchar-order",
|
||||
"version": "3.0.1",
|
||||
"description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文",
|
||||
"main": "cnchar.order.min.js",
|
||||
"unpkg": "cnchar.order.min.js",
|
||||
"jsdelivr": "cnchar.order.min.js",
|
||||
"typings": "index.d.ts",
|
||||
"scripts": {},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/theajack/cnchar.git"
|
||||
},
|
||||
"keywords": [
|
||||
"汉字拼音",
|
||||
"汉字笔画数",
|
||||
"汉字笔画顺序",
|
||||
"繁体字",
|
||||
"火星文",
|
||||
"js库",
|
||||
"theajack"
|
||||
],
|
||||
"author": "theajack",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/theajack/cnchar/issues"
|
||||
},
|
||||
"homepage": "https://www.theajack.com/cnchar/",
|
||||
"dependencies": {
|
||||
"cnchar-types": "^3.0.1"
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2017 - present theajack <contact@theajack.com>
|
||||
|
||||
All rights reserved.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -1,6 +0,0 @@
|
|||
|
||||
import {IInitPoly} from 'cnchar-types/plugin/poly';
|
||||
|
||||
declare const poly: IInitPoly;
|
||||
|
||||
export default poly;
|
|
@ -1,32 +0,0 @@
|
|||
{
|
||||
"name": "cnchar-poly",
|
||||
"version": "3.0.1",
|
||||
"description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文",
|
||||
"main": "cnchar.poly.min.js",
|
||||
"unpkg": "cnchar.poly.min.js",
|
||||
"jsdelivr": "cnchar.poly.min.js",
|
||||
"typings": "index.d.ts",
|
||||
"scripts": {},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/theajack/cnchar.git"
|
||||
},
|
||||
"keywords": [
|
||||
"汉字拼音",
|
||||
"汉字笔画数",
|
||||
"汉字笔画顺序",
|
||||
"繁体字",
|
||||
"火星文",
|
||||
"js库",
|
||||
"theajack"
|
||||
],
|
||||
"author": "theajack",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/theajack/cnchar/issues"
|
||||
},
|
||||
"homepage": "https://www.theajack.com/cnchar/",
|
||||
"dependencies": {
|
||||
"cnchar-types": "^3.0.1"
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2017 - present theajack <contact@theajack.com>
|
||||
|
||||
All rights reserved.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -1,5 +0,0 @@
|
|||
import {IRadical} from 'cnchar-types/plugin/radical';
|
||||
|
||||
declare const radical: IRadical;
|
||||
|
||||
export default radical;
|
|
@ -1,32 +0,0 @@
|
|||
{
|
||||
"name": "cnchar-radical",
|
||||
"version": "3.0.1",
|
||||
"description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文",
|
||||
"main": "cnchar.radical.min.js",
|
||||
"unpkg": "cnchar.radical.min.js",
|
||||
"jsdelivr": "cnchar.radical.min.js",
|
||||
"typings": "index.d.ts",
|
||||
"scripts": {},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/theajack/cnchar.git"
|
||||
},
|
||||
"keywords": [
|
||||
"汉字拼音",
|
||||
"汉字笔画数",
|
||||
"汉字笔画顺序",
|
||||
"繁体字",
|
||||
"火星文",
|
||||
"js库",
|
||||
"theajack"
|
||||
],
|
||||
"author": "theajack",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/theajack/cnchar/issues"
|
||||
},
|
||||
"homepage": "https://www.theajack.com/cnchar/",
|
||||
"dependencies": {
|
||||
"cnchar-types": "^3.0.1"
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2017 - present theajack <contact@theajack.com>
|
||||
|
||||
All rights reserved.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -1,6 +0,0 @@
|
|||
import 'cnchar-types/plugin/trad/extend';
|
||||
import {IInitTrad} from 'cnchar-types/plugin/trad';
|
||||
|
||||
declare const trad: IInitTrad;
|
||||
|
||||
export default trad;
|
|
@ -1,32 +0,0 @@
|
|||
{
|
||||
"name": "cnchar-trad",
|
||||
"version": "3.0.1",
|
||||
"description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文",
|
||||
"main": "cnchar.trad.min.js",
|
||||
"unpkg": "cnchar.trad.min.js",
|
||||
"jsdelivr": "cnchar.trad.min.js",
|
||||
"typings": "index.d.ts",
|
||||
"scripts": {},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/theajack/cnchar.git"
|
||||
},
|
||||
"keywords": [
|
||||
"汉字拼音",
|
||||
"汉字笔画数",
|
||||
"汉字笔画顺序",
|
||||
"繁体字",
|
||||
"火星文",
|
||||
"js库",
|
||||
"theajack"
|
||||
],
|
||||
"author": "theajack",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/theajack/cnchar/issues"
|
||||
},
|
||||
"homepage": "https://www.theajack.com/cnchar/",
|
||||
"dependencies": {
|
||||
"cnchar-types": "^3.0.1"
|
||||
}
|
||||
}
|
|
@ -1,23 +0,0 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2017 - present theajack <contact@theajack.com>
|
||||
|
||||
All rights reserved.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -1,5 +0,0 @@
|
|||
import {IXHY} from 'cnchar-types/plugin/xhy';
|
||||
|
||||
declare const xhy: IXHY;
|
||||
|
||||
export default xhy;
|
|
@ -1,32 +0,0 @@
|
|||
{
|
||||
"name": "cnchar-xhy",
|
||||
"version": "3.0.1",
|
||||
"description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文",
|
||||
"main": "cnchar.xhy.min.js",
|
||||
"unpkg": "cnchar.xhy.min.js",
|
||||
"jsdelivr": "cnchar.xhy.min.js",
|
||||
"typings": "index.d.ts",
|
||||
"scripts": {},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/theajack/cnchar.git"
|
||||
},
|
||||
"keywords": [
|
||||
"汉字拼音",
|
||||
"汉字笔画数",
|
||||
"汉字笔画顺序",
|
||||
"繁体字",
|
||||
"火星文",
|
||||
"js库",
|
||||
"theajack"
|
||||
],
|
||||
"author": "theajack",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/theajack/cnchar/issues"
|
||||
},
|
||||
"homepage": "https://www.theajack.com/cnchar/",
|
||||
"dependencies": {
|
||||
"cnchar-types": "^3.0.1"
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "cnchar",
|
||||
"version": "3.0.1",
|
||||
"version": "3.0.2",
|
||||
"description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文",
|
||||
"main": "index.html",
|
||||
"author": "theajack <contact@theajack.com>",
|
||||
|
@ -34,7 +34,7 @@
|
|||
"@babel/preset-env": "^7.5.5",
|
||||
"@commitlint/cli": "^8.2.0",
|
||||
"@commitlint/config-conventional": "^8.2.0",
|
||||
"@types/jest": "^24.0.11",
|
||||
"@types/jest": "^24.9.1",
|
||||
"@typescript-eslint/eslint-plugin": "^2.14.0",
|
||||
"@typescript-eslint/parser": "^2.14.0",
|
||||
"@vuepress/plugin-back-to-top": "^1.0.0-rc.1",
|
||||
|
@ -46,7 +46,7 @@
|
|||
"eslint": "^6.7.2",
|
||||
"eslint-loader": "^3.0.3",
|
||||
"eslint-plugin-html": "^6.0.0",
|
||||
"eslint-plugin-jest": "^24.1.3",
|
||||
"eslint-plugin-jest": "^24.4.0",
|
||||
"eslint-plugin-vue": "^7.2.0",
|
||||
"gulp": "^4.0.2",
|
||||
"gulp-babel": "^8.0.0",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "cnchar-types",
|
||||
"version": "3.0.1",
|
||||
"version": "3.0.2",
|
||||
"description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文",
|
||||
"main": "index.js",
|
||||
"scripts": {},
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "cnchar-all",
|
||||
"version": "3.0.1",
|
||||
"version": "3.0.2",
|
||||
"description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文",
|
||||
"main": "cnchar.all.min.js",
|
||||
"unpkg": "cnchar.all.min.js",
|
||||
|
@ -27,6 +27,6 @@
|
|||
},
|
||||
"homepage": "https://www.theajack.com/cnchar/",
|
||||
"dependencies": {
|
||||
"cnchar-types": "^3.0.1"
|
||||
"cnchar-types": "^3.0.2"
|
||||
}
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hanzi-util-base",
|
||||
"version": "3.0.1",
|
||||
"version": "3.0.2",
|
||||
"description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文",
|
||||
"main": "hanzi.base.min.js",
|
||||
"unpkg": "hanzi.base.min.js",
|
||||
|
@ -27,6 +27,6 @@
|
|||
},
|
||||
"homepage": "https://www.theajack.com/cnchar/",
|
||||
"dependencies": {
|
||||
"cnchar-types": "^3.0.1"
|
||||
"cnchar-types": "^3.0.2"
|
||||
}
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hanzi-util",
|
||||
"version": "3.0.1",
|
||||
"version": "3.0.2",
|
||||
"description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文",
|
||||
"main": "hanzi.util.min.js",
|
||||
"unpkg": "hanzi.util.min.js",
|
||||
|
@ -27,6 +27,6 @@
|
|||
},
|
||||
"homepage": "https://www.theajack.com/cnchar/",
|
||||
"dependencies": {
|
||||
"cnchar-types": "^3.0.1"
|
||||
"cnchar-types": "^3.0.2"
|
||||
}
|
||||
}
|
|
@ -44,5 +44,6 @@
|
|||
"倘": "tǎng",
|
||||
"张": "zhāng",
|
||||
"哦": "ó",
|
||||
"若": "ruò"
|
||||
"若": "ruò",
|
||||
"归": "guī"
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "cnchar",
|
||||
"version": "3.0.1",
|
||||
"version": "3.0.2",
|
||||
"description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文",
|
||||
"main": "cnchar.min.js",
|
||||
"scripts": {},
|
||||
|
@ -27,6 +27,6 @@
|
|||
},
|
||||
"homepage": "https://www.theajack.com/cnchar/",
|
||||
"dependencies": {
|
||||
"cnchar-types": "^3.0.1"
|
||||
"cnchar-types": "^3.0.2"
|
||||
}
|
||||
}
|
|
@ -1 +1 @@
|
|||
export default '3.0.1';
|
||||
export default '3.0.2';
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "cnchar-draw",
|
||||
"version": "3.0.1",
|
||||
"version": "3.0.2",
|
||||
"description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文",
|
||||
"main": "cnchar.draw.min.js",
|
||||
"unpkg": "cnchar.draw.min.js",
|
||||
|
@ -27,6 +27,6 @@
|
|||
},
|
||||
"homepage": "https://www.theajack.com/cnchar/",
|
||||
"dependencies": {
|
||||
"cnchar-types": "^3.0.1"
|
||||
"cnchar-types": "^3.0.2"
|
||||
}
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "cnchar-idiom",
|
||||
"version": "3.0.1",
|
||||
"version": "3.0.2",
|
||||
"description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文",
|
||||
"main": "cnchar.idiom.min.js",
|
||||
"unpkg": "cnchar.idiom.min.js",
|
||||
|
@ -27,6 +27,6 @@
|
|||
},
|
||||
"homepage": "https://www.theajack.com/cnchar/",
|
||||
"dependencies": {
|
||||
"cnchar-types": "^3.0.1"
|
||||
"cnchar-types": "^3.0.2"
|
||||
}
|
||||
}
|
|
@ -4,4 +4,8 @@ import originOrders from './dict/stroke-order-jian.json';
|
|||
import originStrokeTable from './dict/stroke-table.json';
|
||||
|
||||
export const orders = originOrders as Json;
|
||||
export const strokeTable = originStrokeTable as Json;
|
||||
export const strokeTable = originStrokeTable as Json;
|
||||
|
||||
for(let k in strokeTable){
|
||||
strokeTable[k].letter = k;
|
||||
}
|
|
@ -20,8 +20,8 @@
|
|||
"d": {
|
||||
"shape": "㇀",
|
||||
"type": "平笔",
|
||||
"foldCount": "1",
|
||||
"name": "撇点"
|
||||
"foldCount": "0",
|
||||
"name": "点2"
|
||||
},
|
||||
"o": {
|
||||
"shape": "⺄",
|
||||
|
@ -55,8 +55,8 @@
|
|||
},
|
||||
"g": {
|
||||
"shape": "亅",
|
||||
"type": "平笔",
|
||||
"foldCount": "0",
|
||||
"type": "折笔",
|
||||
"foldCount": "1",
|
||||
"name": "竖钩"
|
||||
},
|
||||
"k": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "cnchar-order",
|
||||
"version": "3.0.1",
|
||||
"version": "3.0.2",
|
||||
"description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文",
|
||||
"main": "cnchar.order.min.js",
|
||||
"unpkg": "cnchar.order.min.js",
|
||||
|
@ -27,6 +27,6 @@
|
|||
},
|
||||
"homepage": "https://www.theajack.com/cnchar/",
|
||||
"dependencies": {
|
||||
"cnchar-types": "^3.0.1"
|
||||
"cnchar-types": "^3.0.2"
|
||||
}
|
||||
}
|
|
@ -1,4 +1,6 @@
|
|||
{
|
||||
"逃难": "táo nàn",
|
||||
"难民": "nàn mín",
|
||||
"目的": "mù dì",
|
||||
"有的放矢": "yǒu dì fàng shǐ",
|
||||
"哀号": "āi háo",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "cnchar-poly",
|
||||
"version": "3.0.1",
|
||||
"version": "3.0.2",
|
||||
"description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文",
|
||||
"main": "cnchar.poly.min.js",
|
||||
"unpkg": "cnchar.poly.min.js",
|
||||
|
@ -27,6 +27,6 @@
|
|||
},
|
||||
"homepage": "https://www.theajack.com/cnchar/",
|
||||
"dependencies": {
|
||||
"cnchar-types": "^3.0.1"
|
||||
"cnchar-types": "^3.0.2"
|
||||
}
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "cnchar-radical",
|
||||
"version": "3.0.1",
|
||||
"version": "3.0.2",
|
||||
"description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文",
|
||||
"main": "cnchar.radical.min.js",
|
||||
"unpkg": "cnchar.radical.min.js",
|
||||
|
@ -27,6 +27,6 @@
|
|||
},
|
||||
"homepage": "https://www.theajack.com/cnchar/",
|
||||
"dependencies": {
|
||||
"cnchar-types": "^3.0.1"
|
||||
"cnchar-types": "^3.0.2"
|
||||
}
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "cnchar-trad",
|
||||
"version": "3.0.1",
|
||||
"version": "3.0.2",
|
||||
"description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文",
|
||||
"main": "cnchar.trad.min.js",
|
||||
"unpkg": "cnchar.trad.min.js",
|
||||
|
@ -27,6 +27,6 @@
|
|||
},
|
||||
"homepage": "https://www.theajack.com/cnchar/",
|
||||
"dependencies": {
|
||||
"cnchar-types": "^3.0.1"
|
||||
"cnchar-types": "^3.0.2"
|
||||
}
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "cnchar-xhy",
|
||||
"version": "3.0.1",
|
||||
"version": "3.0.2",
|
||||
"description": "功能全面、多端支持的汉字拼音笔画js库,支持多音字、繁体字、火星文",
|
||||
"main": "cnchar.xhy.min.js",
|
||||
"unpkg": "cnchar.xhy.min.js",
|
||||
|
@ -27,6 +27,6 @@
|
|||
},
|
||||
"homepage": "https://www.theajack.com/cnchar/",
|
||||
"dependencies": {
|
||||
"cnchar-types": "^3.0.1"
|
||||
"cnchar-types": "^3.0.2"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue